aboutsummaryrefslogtreecommitdiff
path: root/tests/nbody-java/org_apache_harmony_luni_util_NumberConverter.c
blob: 6f49e4c06780cd100b6ffa72951942115612f596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
#include "xmlvm.h"
#include "java_lang_Double.h"
#include "java_lang_Float.h"
#include "java_lang_Integer.h"
#include "java_lang_Math.h"
#include "java_lang_String.h"
#include "java_lang_StringBuilder.h"

#include "org_apache_harmony_luni_util_NumberConverter.h"

#define XMLVM_CURRENT_CLASS_NAME NumberConverter
#define XMLVM_CURRENT_PKG_CLASS_NAME org_apache_harmony_luni_util_NumberConverter

__TIB_DEFINITION_org_apache_harmony_luni_util_NumberConverter __TIB_org_apache_harmony_luni_util_NumberConverter = {
    0, // classInitializationBegan
    0, // classInitialized
    -1, // initializerThreadId
    __INIT_org_apache_harmony_luni_util_NumberConverter, // classInitializer
    "org.apache.harmony.luni.util.NumberConverter", // className
    "org.apache.harmony.luni.util", // package
    JAVA_NULL, // enclosingClassName
    JAVA_NULL, // enclosingMethodName
    JAVA_NULL, // signature
    (__TIB_DEFINITION_TEMPLATE*) &__TIB_java_lang_Object, // extends
    sizeof(org_apache_harmony_luni_util_NumberConverter), // sizeInstance
    XMLVM_TYPE_CLASS};

JAVA_OBJECT __CLASS_org_apache_harmony_luni_util_NumberConverter;
JAVA_OBJECT __CLASS_org_apache_harmony_luni_util_NumberConverter_1ARRAY;
JAVA_OBJECT __CLASS_org_apache_harmony_luni_util_NumberConverter_2ARRAY;
JAVA_OBJECT __CLASS_org_apache_harmony_luni_util_NumberConverter_3ARRAY;
//XMLVM_BEGIN_IMPLEMENTATION
//XMLVM_END_IMPLEMENTATION

static JAVA_DOUBLE _STATIC_org_apache_harmony_luni_util_NumberConverter_invLogOfTenBaseTwo;
static JAVA_OBJECT _STATIC_org_apache_harmony_luni_util_NumberConverter_TEN_TO_THE;

#include "xmlvm-reflection.h"

static XMLVM_FIELD_REFLECTION_DATA __field_reflection_data[] = {
};

static XMLVM_CONSTRUCTOR_REFLECTION_DATA __constructor_reflection_data[] = {
};

static JAVA_OBJECT constructor_dispatcher(JAVA_OBJECT constructor, JAVA_OBJECT arguments)
{
    XMLVM_NOT_IMPLEMENTED();
}

static XMLVM_METHOD_REFLECTION_DATA __method_reflection_data[] = {
};

static JAVA_OBJECT method_dispatcher(JAVA_OBJECT method, JAVA_OBJECT receiver, JAVA_OBJECT arguments)
{
    XMLVM_NOT_IMPLEMENTED();
}

void __INIT_org_apache_harmony_luni_util_NumberConverter()
{
    staticInitializerLock(&__TIB_org_apache_harmony_luni_util_NumberConverter);

    // While the static initializer mutex is locked, locally store the value of
    // whether class initialization began or not
    int initBegan = __TIB_org_apache_harmony_luni_util_NumberConverter.classInitializationBegan;

    // Whether or not class initialization had already began, it has begun now
    __TIB_org_apache_harmony_luni_util_NumberConverter.classInitializationBegan = 1;

    staticInitializerUnlock(&__TIB_org_apache_harmony_luni_util_NumberConverter);

    JAVA_LONG curThreadId = (JAVA_LONG)pthread_self();
    if (initBegan) {
        if (__TIB_org_apache_harmony_luni_util_NumberConverter.initializerThreadId != curThreadId) {
            // Busy wait until the other thread finishes initializing this class
            while (!__TIB_org_apache_harmony_luni_util_NumberConverter.classInitialized) {
                // do nothing
            }
        }
    } else {
        __TIB_org_apache_harmony_luni_util_NumberConverter.initializerThreadId = curThreadId;
        XMLVM_CLASS_USED("org.apache.harmony.luni.util.NumberConverter")
        __INIT_IMPL_org_apache_harmony_luni_util_NumberConverter();
    }
}

void __INIT_IMPL_org_apache_harmony_luni_util_NumberConverter()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_org_apache_harmony_luni_util_NumberConverter.newInstanceFunc = __NEW_INSTANCE_org_apache_harmony_luni_util_NumberConverter;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_apache_harmony_luni_util_NumberConverter.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_org_apache_harmony_luni_util_NumberConverter.numImplementedInterfaces = 0;
    __TIB_org_apache_harmony_luni_util_NumberConverter.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces
    _STATIC_org_apache_harmony_luni_util_NumberConverter_invLogOfTenBaseTwo = 0;
    _STATIC_org_apache_harmony_luni_util_NumberConverter_TEN_TO_THE = (org_xmlvm_runtime_XMLVMArray*) JAVA_NULL;

    __TIB_org_apache_harmony_luni_util_NumberConverter.declaredFields = &__field_reflection_data[0];
    __TIB_org_apache_harmony_luni_util_NumberConverter.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_apache_harmony_luni_util_NumberConverter.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_apache_harmony_luni_util_NumberConverter.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_apache_harmony_luni_util_NumberConverter.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_apache_harmony_luni_util_NumberConverter.methodDispatcherFunc = method_dispatcher;
    __TIB_org_apache_harmony_luni_util_NumberConverter.declaredMethods = &__method_reflection_data[0];
    __TIB_org_apache_harmony_luni_util_NumberConverter.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_apache_harmony_luni_util_NumberConverter = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_apache_harmony_luni_util_NumberConverter);
    __TIB_org_apache_harmony_luni_util_NumberConverter.clazz = __CLASS_org_apache_harmony_luni_util_NumberConverter;
    __TIB_org_apache_harmony_luni_util_NumberConverter.baseType = JAVA_NULL;
    __CLASS_org_apache_harmony_luni_util_NumberConverter_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_util_NumberConverter);
    __CLASS_org_apache_harmony_luni_util_NumberConverter_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_util_NumberConverter_1ARRAY);
    __CLASS_org_apache_harmony_luni_util_NumberConverter_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_util_NumberConverter_2ARRAY);
    org_apache_harmony_luni_util_NumberConverter___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_org_apache_harmony_luni_util_NumberConverter]
    //XMLVM_END_WRAPPER

    __TIB_org_apache_harmony_luni_util_NumberConverter.classInitialized = 1;
}

void __DELETE_org_apache_harmony_luni_util_NumberConverter(void* me, void* client_data)
{
    //XMLVM_BEGIN_WRAPPER[__DELETE_org_apache_harmony_luni_util_NumberConverter]
    //XMLVM_END_WRAPPER
}

void __INIT_INSTANCE_MEMBERS_org_apache_harmony_luni_util_NumberConverter(JAVA_OBJECT me, int derivedClassWillRegisterFinalizer)
{
    __INIT_INSTANCE_MEMBERS_java_lang_Object(me, 0 || derivedClassWillRegisterFinalizer);
    ((org_apache_harmony_luni_util_NumberConverter*) me)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_ = 0;
    ((org_apache_harmony_luni_util_NumberConverter*) me)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_ = 0;
    ((org_apache_harmony_luni_util_NumberConverter*) me)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_ = (org_xmlvm_runtime_XMLVMArray*) JAVA_NULL;
    ((org_apache_harmony_luni_util_NumberConverter*) me)->fields.org_apache_harmony_luni_util_NumberConverter.firstK_ = 0;
    //XMLVM_BEGIN_WRAPPER[__INIT_INSTANCE_MEMBERS_org_apache_harmony_luni_util_NumberConverter]
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT __NEW_org_apache_harmony_luni_util_NumberConverter()
{    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
org_apache_harmony_luni_util_NumberConverter* me = (org_apache_harmony_luni_util_NumberConverter*) XMLVM_MALLOC(sizeof(org_apache_harmony_luni_util_NumberConverter));
    me->tib = &__TIB_org_apache_harmony_luni_util_NumberConverter;
    __INIT_INSTANCE_MEMBERS_org_apache_harmony_luni_util_NumberConverter(me, 0);
    //XMLVM_BEGIN_WRAPPER[__NEW_org_apache_harmony_luni_util_NumberConverter]
    //XMLVM_END_WRAPPER
    return me;
}

JAVA_OBJECT __NEW_INSTANCE_org_apache_harmony_luni_util_NumberConverter()
{
    JAVA_OBJECT me = JAVA_NULL;
    me = __NEW_org_apache_harmony_luni_util_NumberConverter();
    org_apache_harmony_luni_util_NumberConverter___INIT___(me);
    return me;
}

JAVA_DOUBLE org_apache_harmony_luni_util_NumberConverter_GET_invLogOfTenBaseTwo()
{
    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
    return _STATIC_org_apache_harmony_luni_util_NumberConverter_invLogOfTenBaseTwo;
}

void org_apache_harmony_luni_util_NumberConverter_PUT_invLogOfTenBaseTwo(JAVA_DOUBLE v)
{
    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
_STATIC_org_apache_harmony_luni_util_NumberConverter_invLogOfTenBaseTwo = v;
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_GET_TEN_TO_THE()
{
    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
    return _STATIC_org_apache_harmony_luni_util_NumberConverter_TEN_TO_THE;
}

void org_apache_harmony_luni_util_NumberConverter_PUT_TEN_TO_THE(JAVA_OBJECT v)
{
    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
_STATIC_org_apache_harmony_luni_util_NumberConverter_TEN_TO_THE = v;
}

void org_apache_harmony_luni_util_NumberConverter___CLINIT_()
{
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter___CLINIT___]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "<clinit>", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    XMLVMElem _r3;
    XMLVMElem _r4;
    XMLVMElem _r5;
    XMLVMElem _r6;
    XMLVMElem _r7;
    _r7.i = 1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 31)
    _r0.d = 2.0;
    _r0.d = java_lang_Math_log___double(_r0.d);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 32)
    _r2.d = 10.0;
    _r2.d = java_lang_Math_log___double(_r2.d);
    _r0.d = _r0.d / _r2.d;
    org_apache_harmony_luni_util_NumberConverter_PUT_invLogOfTenBaseTwo( _r0.d);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 34)
    _r0.i = 20;
    XMLVM_CLASS_INIT(long)
    _r0.o = XMLVMArray_createSingleDimension(__CLASS_long, _r0.i);
    org_apache_harmony_luni_util_NumberConverter_PUT_TEN_TO_THE( _r0.o);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 37)
    _r0.o = org_apache_harmony_luni_util_NumberConverter_GET_TEN_TO_THE();
    _r1.i = 0;
    _r2.l = 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r2.l;
    _r0 = _r7;
    label30:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 38)
    _r1.o = org_apache_harmony_luni_util_NumberConverter_GET_TEN_TO_THE();
    _r1.i = XMLVMArray_count(((org_xmlvm_runtime_XMLVMArray*) _r1.o));
    if (_r0.i < _r1.i) goto label36;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 21)
    XMLVM_EXIT_METHOD()
    return;
    label36:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 39)
    _r1.o = org_apache_harmony_luni_util_NumberConverter_GET_TEN_TO_THE();
    _r2.i = _r0.i - _r7.i;
    XMLVM_CHECK_NPE(1)
    XMLVM_CHECK_ARRAY_BOUNDS(_r1.o, _r2.i);
    _r1.l = ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r1.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r2.i];
    XMLVM_SOURCE_POSITION("NumberConverter.java", 40)
    _r3.o = org_apache_harmony_luni_util_NumberConverter_GET_TEN_TO_THE();
    _r4.l = _r1.l << (0x3f & _r7.l);
    _r6.i = 3;
    _r1.l = _r1.l << (0x3f & _r6.l);
    _r1.l = _r1.l + _r4.l;
    XMLVM_CHECK_NPE(3)
    XMLVM_CHECK_ARRAY_BOUNDS(_r3.o, _r0.i);
    ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r3.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r0.i] = _r1.l;
    _r0.i = _r0.i + 1;
    goto label30;
    //XMLVM_END_WRAPPER
}

void org_apache_harmony_luni_util_NumberConverter___INIT___(JAVA_OBJECT me)
{
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter___INIT___]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "<init>", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    _r1.o = me;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 21)
    XMLVM_CHECK_NPE(1)
    java_lang_Object___INIT___(_r1.o);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 27)
    _r0.i = 64;
    XMLVM_CLASS_INIT(int)
    _r0.o = XMLVMArray_createSingleDimension(__CLASS_int, _r0.i);
    XMLVM_CHECK_NPE(1)
    ((org_apache_harmony_luni_util_NumberConverter*) _r1.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_ = _r0.o;
    XMLVM_EXIT_METHOD()
    return;
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_getConverter__()
{
    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_getConverter__]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "getConverter", "?")
    XMLVMElem _r0;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 45)
    _r0.o = __NEW_org_apache_harmony_luni_util_NumberConverter();
    XMLVM_CHECK_NPE(0)
    org_apache_harmony_luni_util_NumberConverter___INIT___(_r0.o);
    XMLVM_EXIT_METHOD()
    return _r0.o;
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_convert___double(JAVA_DOUBLE n1)
{
    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_convert___double]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "convert", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    _r1.d = n1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 49)
    _r0.o = org_apache_harmony_luni_util_NumberConverter_getConverter__();
    XMLVM_CHECK_NPE(0)
    _r0.o = org_apache_harmony_luni_util_NumberConverter_convertD___double(_r0.o, _r1.d);
    XMLVM_EXIT_METHOD()
    return _r0.o;
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_convert___float(JAVA_FLOAT n1)
{
    XMLVM_CLASS_INIT(org_apache_harmony_luni_util_NumberConverter)
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_convert___float]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "convert", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    _r1.f = n1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 53)
    _r0.o = org_apache_harmony_luni_util_NumberConverter_getConverter__();
    XMLVM_CHECK_NPE(0)
    _r0.o = org_apache_harmony_luni_util_NumberConverter_convertF___float(_r0.o, _r1.f);
    XMLVM_EXIT_METHOD()
    return _r0.o;
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_convertD___double(JAVA_OBJECT me, JAVA_DOUBLE n1)
{
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_convertD___double]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "convertD", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    XMLVMElem _r3;
    XMLVMElem _r4;
    XMLVMElem _r5;
    XMLVMElem _r6;
    XMLVMElem _r7;
    XMLVMElem _r8;
    XMLVMElem _r9;
    XMLVMElem _r10;
    XMLVMElem _r11;
    XMLVMElem _r12;
    XMLVMElem _r13;
    XMLVMElem _r14;
    XMLVMElem _r15;
    XMLVMElem _r16;
    _r14.o = me;
    _r15.d = n1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 57)
    _r0.i = 1075;
    _r1.l = -9223372036854775808;
    _r3.l = 9218868437227405312;
    _r5.l = 4503599627370495;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 64)
    _r7.l = java_lang_Double_doubleToLongBits___double(_r15.d);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 66)
    _r1.l = _r1.l & _r7.l;
    _r9.l = 0;
    _r1.i = _r1.l > _r9.l ? 1 : (_r1.l == _r9.l ? 0 : -1);
    if (_r1.i != 0) goto label69;
    // ""
    _r1.o = xmlvm_create_java_string_from_pool(21);
    _r9 = _r1;
    label25:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 68)
    _r1.l = _r7.l & _r3.l;
    _r3.i = 52;
    _r1.l = _r1.l >> (0x3f & _r3.l);
    _r4.i = (JAVA_INT) _r1.l;
    _r1.l = _r7.l & _r5.l;
    _r5.l = 0;
    _r3.i = _r1.l > _r5.l ? 1 : (_r1.l == _r5.l ? 0 : -1);
    if (_r3.i != 0) goto label73;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 71)
    _r3.i = 1;
    _r5 = _r3;
    label41:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 72)
    _r3.i = 52;
    _r6.i = 2047;
    if (_r4.i != _r6.i) goto label79;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 74)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 75)
    if (_r5.i == 0) goto label76;
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r9.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    // "Infinity"
    _r1.o = xmlvm_create_java_string_from_pool(9);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    label68:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 106)
    XMLVM_EXIT_METHOD()
    return _r0.o;
    label69:;
    // "-"
    _r1.o = xmlvm_create_java_string_from_pool(92);
    _r9 = _r1;
    goto label25;
    label73:;
    _r3.i = 0;
    _r5 = _r3;
    goto label41;
    label76:;
    // "NaN"
    _r0.o = xmlvm_create_java_string_from_pool(8);
    goto label68;
    label79:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 76)
    if (_r4.i != 0) goto label229;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 77)
    if (_r5.i == 0) goto label103;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 78)
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r9.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    // "0.0"
    _r1.o = xmlvm_create_java_string_from_pool(93);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    goto label68;
    label103:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 79)
    _r6.l = 1;
    _r6.i = _r1.l > _r6.l ? 1 : (_r1.l == _r6.l ? 0 : -1);
    if (_r6.i != 0) goto label129;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 82)
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r9.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    // "4.9E-324"
    _r1.o = xmlvm_create_java_string_from_pool(94);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    goto label68;
    label129:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 83)
    _r6.i = 1;
    _r0.i = _r6.i - _r0.i;
    _r6 = _r1;
    label133:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 85)
    _r10.l = 4503599627370496;
    _r10.l = _r10.l & _r6.l;
    _r12.l = 0;
    _r8.i = _r10.l > _r12.l ? 1 : (_r10.l == _r12.l ? 0 : -1);
    if (_r8.i == 0) goto label224;
    _r6 = _r3;
    _r3 = _r0;
    label144:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 96)
    _r0.i = -59;
    if (_r0.i >= _r3.i) goto label151;
    _r0.i = 6;
    if (_r3.i < _r0.i) goto label157;
    label151:;
    _r0.i = -59;
    if (_r3.i != _r0.i) goto label240;
    if (_r5.i != 0) goto label240;
    label157:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 97)
    if (_r4.i != 0) goto label237;
    _r0.i = 1;
    _r4 = _r0;
    label161:;
    _r0 = _r14;
    XMLVM_CHECK_NPE(0)
    org_apache_harmony_luni_util_NumberConverter_longDigitGenerator___long_int_boolean_boolean_int(_r0.o, _r1.l, _r3.i, _r4.i, _r5.i, _r6.i);
    label165:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 102)
    _r0.d = 1.0E7;
    _r0.i = _r15.d > _r0.d ? 1 : (_r15.d == _r0.d ? 0 : -1);
    if (_r0.i >= 0) goto label201;
    _r0.d = -1.0E7;
    _r0.i = _r15.d > _r0.d ? 1 : (_r15.d == _r0.d ? 0 : -1);
    if (_r0.i <= 0) goto label201;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 103)
    _r0.d = -0.001;
    _r0.i = _r15.d > _r0.d ? 1 : (_r15.d == _r0.d ? 0 : -1);
    if (_r0.i <= 0) goto label252;
    _r0.d = 0.001;
    _r0.i = _r15.d > _r0.d ? 1 : (_r15.d == _r0.d ? 0 : -1);
    if (_r0.i >= 0) goto label252;
    label201:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 104)
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r9.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    XMLVM_CHECK_NPE(14)
    _r1.o = org_apache_harmony_luni_util_NumberConverter_freeFormatExponential__(_r14.o);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    goto label68;
    label224:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 86)
    _r8.i = 1;
    _r6.l = _r6.l << (0x3f & _r8.l);
    _r3.i = _r3.i + -1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 87)
    goto label133;
    label229:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 92)
    _r6.l = 4503599627370496;
    _r1.l = _r1.l | _r6.l;
    _r0.i = _r4.i - _r0.i;
    _r6 = _r3;
    _r3 = _r0;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 93)
    goto label144;
    label237:;
    _r0.i = 0;
    _r4 = _r0;
    goto label161;
    label240:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 99)
    if (_r4.i != 0) goto label249;
    _r0.i = 1;
    _r4 = _r0;
    label244:;
    _r0 = _r14;
    XMLVM_CHECK_NPE(0)
    org_apache_harmony_luni_util_NumberConverter_bigIntDigitGeneratorInstImpl___long_int_boolean_boolean_int(_r0.o, _r1.l, _r3.i, _r4.i, _r5.i, _r6.i);
    goto label165;
    label249:;
    _r0.i = 0;
    _r4 = _r0;
    goto label244;
    label252:;
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r9.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    XMLVM_CHECK_NPE(14)
    _r1.o = org_apache_harmony_luni_util_NumberConverter_freeFormat__(_r14.o);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    goto label68;
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_convertF___float(JAVA_OBJECT me, JAVA_FLOAT n1)
{
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_convertF___float]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "convertF", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    XMLVMElem _r3;
    XMLVMElem _r4;
    XMLVMElem _r5;
    XMLVMElem _r6;
    XMLVMElem _r7;
    XMLVMElem _r8;
    XMLVMElem _r9;
    XMLVMElem _r10;
    XMLVMElem _r11;
    XMLVMElem _r12;
    XMLVMElem _r13;
    _r12.o = me;
    _r13.f = n1;
    _r6.i = 8388608;
    _r11.i = -59;
    _r10.i = 0;
    _r9.i = 1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 110)
    _r0.i = 150;
    _r1.i = -2147483648;
    _r2.i = 2139095040;
    _r3.i = 8388607;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 115)
    _r4.i = java_lang_Float_floatToIntBits___float(_r13.f);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 117)
    _r1.i = _r1.i & _r4.i;
    if (_r1.i != 0) goto label62;
    // ""
    _r1.o = xmlvm_create_java_string_from_pool(21);
    _r7 = _r1;
    label25:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 119)
    _r1.i = _r4.i & _r2.i;
    _r8.i = _r1.i >> 23;
    _r1.i = _r4.i & _r3.i;
    if (_r1.i != 0) goto label66;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 122)
    _r5 = _r9;
    label34:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 123)
    _r2.i = 23;
    _r3.i = 255;
    if (_r8.i != _r3.i) goto label71;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 125)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 126)
    if (_r5.i == 0) goto label68;
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r7.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    // "Infinity"
    _r1.o = xmlvm_create_java_string_from_pool(9);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    label61:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 156)
    XMLVM_EXIT_METHOD()
    return _r0.o;
    label62:;
    // "-"
    _r1.o = xmlvm_create_java_string_from_pool(92);
    _r7 = _r1;
    goto label25;
    label66:;
    _r5 = _r10;
    goto label34;
    label68:;
    // "NaN"
    _r0.o = xmlvm_create_java_string_from_pool(8);
    goto label61;
    label71:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 127)
    if (_r8.i != 0) goto label187;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 128)
    if (_r5.i == 0) goto label95;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 129)
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r7.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    // "0.0"
    _r1.o = xmlvm_create_java_string_from_pool(93);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    goto label61;
    label95:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 130)
    _r0.i = _r9.i - _r0.i;
    _r3.i = 8;
    if (_r1.i >= _r3.i) goto label105;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 131)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 132)
    _r1.i = _r1.i << 2;
    _r0.i = _r0.i + -2;
    label105:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 133)
    _r3 = _r2;
    _r2 = _r1;
    label107:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 136)
    _r4.i = _r2.i & _r6.i;
    if (_r4.i == 0) goto label182;
    _r6 = _r3;
    _r3 = _r0;
    _r0 = _r1;
    label114:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 147)
    if (_r11.i >= _r3.i) goto label120;
    _r1.i = 35;
    if (_r3.i < _r1.i) goto label124;
    label120:;
    if (_r3.i != _r11.i) goto label196;
    if (_r5.i != 0) goto label196;
    label124:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 148)
    _r1.l = (JAVA_LONG) _r0.i;
    if (_r8.i != 0) goto label194;
    _r4 = _r9;
    label128:;
    _r0 = _r12;
    XMLVM_CHECK_NPE(0)
    org_apache_harmony_luni_util_NumberConverter_longDigitGenerator___long_int_boolean_boolean_int(_r0.o, _r1.l, _r3.i, _r4.i, _r5.i, _r6.i);
    label132:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 152)
    _r0.f = 1.0E7;
    _r0.i = _r13.f > _r0.f ? 1 : (_r13.f == _r0.f ? 0 : -1);
    if (_r0.i >= 0) goto label160;
    _r0.f = -1.0E7;
    _r0.i = _r13.f > _r0.f ? 1 : (_r13.f == _r0.f ? 0 : -1);
    if (_r0.i <= 0) goto label160;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 153)
    _r0.f = -0.001;
    _r0.i = _r13.f > _r0.f ? 1 : (_r13.f == _r0.f ? 0 : -1);
    if (_r0.i <= 0) goto label207;
    _r0.f = 0.001;
    _r0.i = _r13.f > _r0.f ? 1 : (_r13.f == _r0.f ? 0 : -1);
    if (_r0.i >= 0) goto label207;
    label160:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 154)
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r7.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    XMLVM_CHECK_NPE(12)
    _r1.o = org_apache_harmony_luni_util_NumberConverter_freeFormatExponential__(_r12.o);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    goto label61;
    label182:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 137)
    _r2.i = _r2.i << 1;
    _r3.i = _r3.i + -1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 138)
    goto label107;
    label187:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 143)
    _r1.i = _r1.i | _r6.i;
    _r0.i = _r8.i - _r0.i;
    _r6 = _r2;
    _r3 = _r0;
    _r0 = _r1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 144)
    goto label114;
    label194:;
    _r4 = _r10;
    goto label128;
    label196:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 150)
    _r1.l = (JAVA_LONG) _r0.i;
    if (_r8.i != 0) goto label205;
    _r4 = _r9;
    label200:;
    _r0 = _r12;
    XMLVM_CHECK_NPE(0)
    org_apache_harmony_luni_util_NumberConverter_bigIntDigitGeneratorInstImpl___long_int_boolean_boolean_int(_r0.o, _r1.l, _r3.i, _r4.i, _r5.i, _r6.i);
    goto label132;
    label205:;
    _r4 = _r10;
    goto label200;
    label207:;
    _r0.o = __NEW_java_lang_StringBuilder();
    _r1.o = java_lang_String_valueOf___java_lang_Object(_r7.o);
    XMLVM_CHECK_NPE(0)
    java_lang_StringBuilder___INIT____java_lang_String(_r0.o, _r1.o);
    XMLVM_CHECK_NPE(12)
    _r1.o = org_apache_harmony_luni_util_NumberConverter_freeFormat__(_r12.o);
    XMLVM_CHECK_NPE(0)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r0.o, _r1.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    goto label61;
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_freeFormatExponential__(JAVA_OBJECT me)
{
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_freeFormatExponential__]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "freeFormatExponential", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    XMLVMElem _r3;
    XMLVMElem _r4;
    XMLVMElem _r5;
    XMLVMElem _r6;
    XMLVMElem _r7;
    XMLVMElem _r8;
    XMLVMElem _r9;
    XMLVMElem _r10;
    _r10.o = me;
    _r9.i = 1;
    _r8.i = 0;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 161)
    _r0.i = 25;
    XMLVM_CLASS_INIT(char)
    _r0.o = XMLVMArray_createSingleDimension(__CLASS_char, _r0.i);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 162)
    XMLVM_CHECK_NPE(10)
    _r1.o = ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(10)
    _r2.i = ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_;
    _r3.i = _r2.i + 1;
    XMLVM_CHECK_NPE(10)
    ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_ = _r3.i;
    XMLVM_CHECK_NPE(1)
    XMLVM_CHECK_ARRAY_BOUNDS(_r1.o, _r2.i);
    _r1.i = ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r1.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r2.i];
    _r1.i = _r1.i + 48;
    _r1.i = _r1.i & 0xffff;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r8.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r8.i] = _r1.i;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 163)
    _r1.i = 46;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r9.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r9.i] = _r1.i;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 166)
    _r1.i = 2;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 168)
    XMLVM_CHECK_NPE(10)
    _r2.i = ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.firstK_;
    _r3 = _r1;
    _r1 = _r2;
    label30:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 169)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 171)
    _r1.i = _r1.i + -1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 172)
    XMLVM_CHECK_NPE(10)
    _r4.i = ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_;
    XMLVM_CHECK_NPE(10)
    _r5.i = ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_;
    if (_r4.i < _r5.i) goto label81;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 178)
    _r4.i = _r2.i - _r9.i;
    if (_r1.i != _r4.i) goto label100;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 179)
    _r1.i = _r3.i + 1;
    _r4.i = 48;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r3.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r3.i] = _r4.i;
    label48:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 180)
    _r3.i = _r1.i + 1;
    _r4.i = 69;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r4.i;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 181)
    _r1.o = __NEW_java_lang_StringBuilder();
    _r4.o = __NEW_java_lang_String();
    XMLVM_CHECK_NPE(4)
    java_lang_String___INIT____char_1ARRAY_int_int(_r4.o, _r0.o, _r8.i, _r3.i);
    _r0.o = java_lang_String_valueOf___java_lang_Object(_r4.o);
    XMLVM_CHECK_NPE(1)
    java_lang_StringBuilder___INIT____java_lang_String(_r1.o, _r0.o);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 182)
    _r0.o = java_lang_Integer_toString___int(_r2.i);
    XMLVM_CHECK_NPE(1)
    _r0.o = java_lang_StringBuilder_append___java_lang_String(_r1.o, _r0.o);
    //java_lang_StringBuilder_toString__[5]
    XMLVM_CHECK_NPE(0)
    _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r0.o)->tib->vtable[5])(_r0.o);
    XMLVM_EXIT_METHOD()
    return _r0.o;
    label81:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 175)
    _r4.i = _r3.i + 1;
    XMLVM_CHECK_NPE(10)
    _r5.o = ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(10)
    _r6.i = ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_;
    _r7.i = _r6.i + 1;
    XMLVM_CHECK_NPE(10)
    ((org_apache_harmony_luni_util_NumberConverter*) _r10.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_ = _r7.i;
    XMLVM_CHECK_NPE(5)
    XMLVM_CHECK_ARRAY_BOUNDS(_r5.o, _r6.i);
    _r5.i = ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r5.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r6.i];
    _r5.i = _r5.i + 48;
    _r5.i = _r5.i & 0xffff;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r3.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r3.i] = _r5.i;
    _r3 = _r4;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 170)
    goto label30;
    label100:;
    _r1 = _r3;
    goto label48;
    //XMLVM_END_WRAPPER
}

JAVA_OBJECT org_apache_harmony_luni_util_NumberConverter_freeFormat__(JAVA_OBJECT me)
{
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_freeFormat__]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "freeFormat", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    XMLVMElem _r3;
    XMLVMElem _r4;
    XMLVMElem _r5;
    XMLVMElem _r6;
    XMLVMElem _r7;
    XMLVMElem _r8;
    XMLVMElem _r9;
    XMLVMElem _r10;
    XMLVMElem _r11;
    _r11.o = me;
    _r9.i = 46;
    _r8.i = 48;
    _r7.i = 0;
    _r6.i = -1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 187)
    _r0.i = 25;
    XMLVM_CLASS_INIT(char)
    _r0.o = XMLVMArray_createSingleDimension(__CLASS_char, _r0.i);
    XMLVM_SOURCE_POSITION("NumberConverter.java", 191)
    XMLVM_CHECK_NPE(11)
    _r1.i = ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.firstK_;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 192)
    if (_r1.i >= 0) goto label111;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 193)
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r7.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r7.i] = _r8.i;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 194)
    _r2.i = 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r2.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r2.i] = _r9.i;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 195)
    _r2.i = _r7.i + 2;
    _r3.i = _r1.i + 1;
    _r10 = _r3;
    _r3 = _r2;
    _r2 = _r10;
    label26:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 196)
    if (_r2.i < 0) goto label88;
    _r2 = _r3;
    label29:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 200)
    XMLVM_CHECK_NPE(11)
    _r3.o = ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(11)
    _r4.i = ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_;
    _r5.i = _r4.i + 1;
    XMLVM_CHECK_NPE(11)
    ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_ = _r5.i;
    XMLVM_CHECK_NPE(3)
    XMLVM_CHECK_ARRAY_BOUNDS(_r3.o, _r4.i);
    _r3.i = ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r3.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r4.i];
    _r10 = _r3;
    _r3 = _r2;
    _r2 = _r1;
    _r1 = _r10;
    label43:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 202)
    if (_r1.i == _r6.i) goto label96;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 203)
    _r4.i = _r3.i + 1;
    _r1.i = _r1.i + 48;
    _r1.i = _r1.i & 0xffff;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r3.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r3.i] = _r1.i;
    _r1 = _r4;
    label53:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 207)
    if (_r2.i != 0) goto label60;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 208)
    _r3.i = _r1.i + 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r9.i;
    _r1 = _r3;
    label60:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 210)
    _r2.i = _r2.i + -1;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 211)
    XMLVM_CHECK_NPE(11)
    _r3.i = ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_;
    XMLVM_CHECK_NPE(11)
    _r4.i = ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_;
    if (_r3.i >= _r4.i) goto label103;
    XMLVM_CHECK_NPE(11)
    _r3.o = ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(11)
    _r4.i = ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_;
    _r5.i = _r4.i + 1;
    XMLVM_CHECK_NPE(11)
    ((org_apache_harmony_luni_util_NumberConverter*) _r11.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_ = _r5.i;
    XMLVM_CHECK_NPE(3)
    XMLVM_CHECK_ARRAY_BOUNDS(_r3.o, _r4.i);
    _r3.i = ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r3.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r4.i];
    label78:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 212)
    if (_r3.i != _r6.i) goto label105;
    if (_r2.i >= _r6.i) goto label105;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 213)
    _r2.o = __NEW_java_lang_String();
    XMLVM_CHECK_NPE(2)
    java_lang_String___INIT____char_1ARRAY_int_int(_r2.o, _r0.o, _r7.i, _r1.i);
    XMLVM_EXIT_METHOD()
    return _r2.o;
    label88:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 197)
    _r4.i = _r3.i + 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r3.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r3.i] = _r8.i;
    _r2.i = _r2.i + 1;
    _r3 = _r4;
    goto label26;
    label96:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 204)
    if (_r2.i < _r6.i) goto label109;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 205)
    _r1.i = _r3.i + 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r3.i);
    ((JAVA_ARRAY_CHAR*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r3.i] = _r8.i;
    goto label53;
    label103:;
    _r3 = _r6;
    goto label78;
    label105:;
    _r10 = _r3;
    _r3 = _r1;
    _r1 = _r10;
    goto label43;
    label109:;
    _r1 = _r3;
    goto label53;
    label111:;
    _r2 = _r7;
    goto label29;
    //XMLVM_END_WRAPPER
}

//XMLVM_NATIVE[void org_apache_harmony_luni_util_NumberConverter_bigIntDigitGeneratorInstImpl___long_int_boolean_boolean_int(JAVA_OBJECT me, JAVA_LONG n1, JAVA_INT n2, JAVA_BOOLEAN n3, JAVA_BOOLEAN n4, JAVA_INT n5)]

void org_apache_harmony_luni_util_NumberConverter_longDigitGenerator___long_int_boolean_boolean_int(JAVA_OBJECT me, JAVA_LONG n1, JAVA_INT n2, JAVA_BOOLEAN n3, JAVA_BOOLEAN n4, JAVA_INT n5)
{
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_util_NumberConverter_longDigitGenerator___long_int_boolean_boolean_int]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.util.NumberConverter", "longDigitGenerator", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    XMLVMElem _r3;
    XMLVMElem _r4;
    XMLVMElem _r5;
    XMLVMElem _r6;
    XMLVMElem _r7;
    XMLVMElem _r8;
    XMLVMElem _r9;
    XMLVMElem _r10;
    XMLVMElem _r11;
    XMLVMElem _r12;
    XMLVMElem _r13;
    XMLVMElem _r14;
    XMLVMElem _r15;
    XMLVMElem _r16;
    XMLVMElem _r17;
    XMLVMElem _r18;
    XMLVMElem _r19;
    XMLVMElem _r20;
    XMLVMElem _r21;
    _r15.o = me;
    _r16.l = n1;
    _r18.i = n2;
    _r19.i = n3;
    _r20.i = n4;
    _r21.i = n5;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 222)
    if (_r18.i < 0) goto label130;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 223)
    _r0.l = 1;
    _r0.l = _r0.l << (0x3f & _r18.l);
    if (_r20.i != 0) goto label120;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 224)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 225)
    _r2.i = _r18.i + 1;
    _r2.l = _r16.l << (0x3f & _r2.l);
    _r4.l = 2;
    _r13 = _r4;
    _r4 = _r2;
    _r2 = _r13;
    label17:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 226)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 242)
    _r6.i = _r18.i + _r21.i;
    _r7.i = 1;
    _r6.i = _r6.i - _r7.i;
    _r6.d = (JAVA_DOUBLE) _r6.i;
    _r8.d = org_apache_harmony_luni_util_NumberConverter_GET_invLogOfTenBaseTwo();
    _r6.d = _r6.d * _r8.d;
    _r8.d = 1.0E-10;
    _r6.d = _r6.d - _r8.d;
    _r6.d = java_lang_Math_ceil___double(_r6.d);
    _r6.i = (JAVA_INT) _r6.d;
    if (_r6.i <= 0) goto label164;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 244)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 245)
    _r7.o = org_apache_harmony_luni_util_NumberConverter_GET_TEN_TO_THE();
    XMLVM_CHECK_NPE(7)
    XMLVM_CHECK_ARRAY_BOUNDS(_r7.o, _r6.i);
    _r7.l = ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r7.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r6.i];
    _r2.l = _r2.l * _r7.l;
    label43:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 252)
    _r7.l = _r4.l + _r0.l;
    _r7.i = _r7.l > _r2.l ? 1 : (_r7.l == _r2.l ? 0 : -1);
    if (_r7.i <= 0) goto label184;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 253)
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.firstK_ = _r6.i;
    label51:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 260)
    _r6.i = 0;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_ = _r6.i;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.getCount_ = _r6.i;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 263)
    _r6.i = 4;
    XMLVM_CLASS_INIT(long)
    _r6.o = XMLVMArray_createSingleDimension(__CLASS_long, _r6.i);
    _r7.i = 0;
    XMLVM_CHECK_NPE(6)
    XMLVM_CHECK_ARRAY_BOUNDS(_r6.o, _r7.i);
    ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r6.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r7.i] = _r2.l;
    _r7.i = 1;
    _r8.i = 1;
    _r8.l = _r2.l << (0x3f & _r8.l);
    XMLVM_CHECK_NPE(6)
    XMLVM_CHECK_ARRAY_BOUNDS(_r6.o, _r7.i);
    ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r6.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r7.i] = _r8.l;
    _r7.i = 2;
    _r8.i = 2;
    _r8.l = _r2.l << (0x3f & _r8.l);
    XMLVM_CHECK_NPE(6)
    XMLVM_CHECK_ARRAY_BOUNDS(_r6.o, _r7.i);
    ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r6.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r7.i] = _r8.l;
    _r7.i = 3;
    _r8.i = 3;
    _r8.l = _r2.l << (0x3f & _r8.l);
    XMLVM_CHECK_NPE(6)
    XMLVM_CHECK_ARRAY_BOUNDS(_r6.o, _r7.i);
    ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r6.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r7.i] = _r8.l;
    label80:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 269)
    _r7.i = 0;
    _r8.i = 3;
    _r13 = _r8;
    _r14 = _r7;
    _r7 = _r4;
    _r4 = _r13;
    _r5 = _r14;
    label87:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 271)
    if (_r4.i >= 0) goto label196;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 279)
    _r4.i = _r7.l > _r0.l ? 1 : (_r7.l == _r0.l ? 0 : -1);
    if (_r4.i >= 0) goto label213;
    _r4.i = 1;
    label94:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 280)
    _r9.l = _r7.l + _r0.l;
    _r9.i = _r9.l > _r2.l ? 1 : (_r9.l == _r2.l ? 0 : -1);
    if (_r9.i <= 0) goto label215;
    _r9.i = 1;
    label101:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 282)
    if (_r4.i != 0) goto label105;
    if (_r9.i == 0) goto label217;
    label105:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 289)
    if (_r4.i == 0) goto label236;
    if (_r9.i != 0) goto label236;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 290)
    XMLVM_CHECK_NPE(15)
    _r0.o = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(15)
    _r1.i = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_;
    _r2.i = _r1.i + 1;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_ = _r2.i;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r5.i;
    label119:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 297)
    XMLVM_EXIT_METHOD()
    return;
    label120:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 228)
    _r2.i = _r18.i + 2;
    _r2.l = _r16.l << (0x3f & _r2.l);
    _r4.l = 4;
    _r13 = _r4;
    _r4 = _r2;
    _r2 = _r13;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 229)
    goto label17;
    label130:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 232)
    _r0.l = 1;
    if (_r19.i != 0) goto label136;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 233)
    if (_r20.i != 0) goto label150;
    label136:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 234)
    _r2.i = 1;
    _r2.l = _r16.l << (0x3f & _r2.l);
    _r4.l = 1;
    _r6.i = 1;
    _r6.i = _r6.i - _r18.i;
    _r4.l = _r4.l << (0x3f & _r6.l);
    _r13 = _r4;
    _r4 = _r2;
    _r2 = _r13;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 235)
    goto label17;
    label150:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 237)
    _r2.i = 2;
    _r2.l = _r16.l << (0x3f & _r2.l);
    _r4.l = 1;
    _r6.i = 2;
    _r6.i = _r6.i - _r18.i;
    _r4.l = _r4.l << (0x3f & _r6.l);
    _r13 = _r4;
    _r4 = _r2;
    _r2 = _r13;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 238)
    goto label17;
    label164:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 246)
    if (_r6.i >= 0) goto label43;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 247)
    _r7.o = org_apache_harmony_luni_util_NumberConverter_GET_TEN_TO_THE();
    _r8.i = -_r6.i;
    XMLVM_CHECK_NPE(7)
    XMLVM_CHECK_ARRAY_BOUNDS(_r7.o, _r8.i);
    _r7.l = ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r7.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r8.i];
    XMLVM_SOURCE_POSITION("NumberConverter.java", 248)
    _r4.l = _r4.l * _r7.l;
    _r9.l = 1;
    _r9.i = _r0.l > _r9.l ? 1 : (_r0.l == _r9.l ? 0 : -1);
    if (_r9.i != 0) goto label181;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 249)
    _r0 = _r7;
    goto label43;
    label181:;
    _r0.l = _r0.l * _r7.l;
    goto label43;
    label184:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 255)
    _r7.i = 1;
    _r6.i = _r6.i - _r7.i;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.firstK_ = _r6.i;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 256)
    _r6.l = 10;
    _r4.l = _r4.l * _r6.l;
    _r6.l = 10;
    _r0.l = _r0.l * _r6.l;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 257)
    goto label51;
    label196:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 272)
    XMLVM_CHECK_NPE(6)
    XMLVM_CHECK_ARRAY_BOUNDS(_r6.o, _r4.i);
    _r9.l = ((JAVA_ARRAY_LONG*) (((org_xmlvm_runtime_XMLVMArray*) _r6.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r4.i];
    _r9.l = _r7.l - _r9.l;
    _r11.l = 0;
    _r11.i = _r9.l > _r11.l ? 1 : (_r9.l == _r11.l ? 0 : -1);
    if (_r11.i < 0) goto label210;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 273)
    XMLVM_SOURCE_POSITION("NumberConverter.java", 275)
    _r7.i = 1;
    _r7.i = _r7.i << _r4.i;
    _r5.i = _r5.i + _r7.i;
    _r7 = _r9;
    label210:;
    _r4.i = _r4.i + -1;
    goto label87;
    label213:;
    _r4.i = 0;
    goto label94;
    label215:;
    _r9.i = 0;
    goto label101;
    label217:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 285)
    _r9.l = 10;
    _r7.l = _r7.l * _r9.l;
    _r9.l = 10;
    _r0.l = _r0.l * _r9.l;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 287)
    XMLVM_CHECK_NPE(15)
    _r4.o = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(15)
    _r9.i = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_;
    _r10.i = _r9.i + 1;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_ = _r10.i;
    XMLVM_CHECK_NPE(4)
    XMLVM_CHECK_ARRAY_BOUNDS(_r4.o, _r9.i);
    ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r4.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r9.i] = _r5.i;
    _r4 = _r7;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 264)
    goto label80;
    label236:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 291)
    if (_r9.i == 0) goto label254;
    if (_r4.i != 0) goto label254;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 292)
    XMLVM_CHECK_NPE(15)
    _r0.o = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(15)
    _r1.i = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_;
    _r2.i = _r1.i + 1;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_ = _r2.i;
    _r2.i = _r5.i + 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r2.i;
    goto label119;
    label254:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 293)
    _r0.i = 1;
    _r0.l = _r7.l << (0x3f & _r0.l);
    _r0.i = _r0.l > _r2.l ? 1 : (_r0.l == _r2.l ? 0 : -1);
    if (_r0.i >= 0) goto label273;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 294)
    XMLVM_CHECK_NPE(15)
    _r0.o = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(15)
    _r1.i = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_;
    _r2.i = _r1.i + 1;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_ = _r2.i;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r5.i;
    goto label119;
    label273:;
    XMLVM_SOURCE_POSITION("NumberConverter.java", 296)
    XMLVM_CHECK_NPE(15)
    _r0.o = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.uArray_;
    XMLVM_CHECK_NPE(15)
    _r1.i = ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_;
    _r2.i = _r1.i + 1;
    XMLVM_CHECK_NPE(15)
    ((org_apache_harmony_luni_util_NumberConverter*) _r15.o)->fields.org_apache_harmony_luni_util_NumberConverter.setCount_ = _r2.i;
    _r2.i = _r5.i + 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_INT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r2.i;
    goto label119;
    //XMLVM_END_WRAPPER
}