summaryrefslogtreecommitdiff
path: root/asm/MSL_C.PPCEABI.bare.H/printf.s
blob: d6540b7105308a91202bc6339da90abc2d7179c7 (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
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
.include "macros.inc"

.section .text, "ax"  # 0x80005600 - 0x8036FBA0
.global sprintf
sprintf:
/* 80083FF0 00080F30  7C 08 02 A6 */	mflr r0
/* 80083FF4 00080F34  90 01 00 04 */	stw r0, 4(r1)
/* 80083FF8 00080F38  94 21 FF 70 */	stwu r1, -0x90(r1)
/* 80083FFC 00080F3C  93 E1 00 8C */	stw r31, 0x8c(r1)
/* 80084000 00080F40  93 C1 00 88 */	stw r30, 0x88(r1)
/* 80084004 00080F44  40 86 00 24 */	bne cr1, lbl_80084028
/* 80084008 00080F48  D8 21 00 28 */	stfd f1, 0x28(r1)
/* 8008400C 00080F4C  D8 41 00 30 */	stfd f2, 0x30(r1)
/* 80084010 00080F50  D8 61 00 38 */	stfd f3, 0x38(r1)
/* 80084014 00080F54  D8 81 00 40 */	stfd f4, 0x40(r1)
/* 80084018 00080F58  D8 A1 00 48 */	stfd f5, 0x48(r1)
/* 8008401C 00080F5C  D8 C1 00 50 */	stfd f6, 0x50(r1)
/* 80084020 00080F60  D8 E1 00 58 */	stfd f7, 0x58(r1)
/* 80084024 00080F64  D9 01 00 60 */	stfd f8, 0x60(r1)
lbl_80084028:
/* 80084028 00080F68  90 61 00 08 */	stw r3, 8(r1)
/* 8008402C 00080F6C  3C 00 02 00 */	lis r0, 0x200
/* 80084030 00080F70  3B C3 00 00 */	addi r30, r3, 0
/* 80084034 00080F74  90 81 00 0C */	stw r4, 0xc(r1)
/* 80084038 00080F78  3B E0 FF FF */	li r31, -1
/* 8008403C 00080F7C  90 A1 00 10 */	stw r5, 0x10(r1)
/* 80084040 00080F80  3C A0 80 08 */	lis r5, __StringWrite@ha
/* 80084044 00080F84  38 65 42 80 */	addi r3, r5, __StringWrite@l
/* 80084048 00080F88  90 C1 00 14 */	stw r6, 0x14(r1)
/* 8008404C 00080F8C  38 A4 00 00 */	addi r5, r4, 0
/* 80084050 00080F90  38 C1 00 7C */	addi r6, r1, 0x7c
/* 80084054 00080F94  90 E1 00 18 */	stw r7, 0x18(r1)
/* 80084058 00080F98  38 81 00 70 */	addi r4, r1, 0x70
/* 8008405C 00080F9C  91 01 00 1C */	stw r8, 0x1c(r1)
/* 80084060 00080FA0  91 21 00 20 */	stw r9, 0x20(r1)
/* 80084064 00080FA4  91 41 00 24 */	stw r10, 0x24(r1)
/* 80084068 00080FA8  90 01 00 7C */	stw r0, 0x7c(r1)
/* 8008406C 00080FAC  38 01 00 98 */	addi r0, r1, 0x98
/* 80084070 00080FB0  90 01 00 80 */	stw r0, 0x80(r1)
/* 80084074 00080FB4  38 01 00 08 */	addi r0, r1, 8
/* 80084078 00080FB8  90 01 00 84 */	stw r0, 0x84(r1)
/* 8008407C 00080FBC  38 00 00 00 */	li r0, 0
/* 80084080 00080FC0  93 C1 00 70 */	stw r30, 0x70(r1)
/* 80084084 00080FC4  93 E1 00 74 */	stw r31, 0x74(r1)
/* 80084088 00080FC8  90 01 00 78 */	stw r0, 0x78(r1)
/* 8008408C 00080FCC  48 00 02 B9 */	bl __pformatter
/* 80084090 00080FD0  7C 03 F8 40 */	cmplw r3, r31
/* 80084094 00080FD4  40 80 00 0C */	bge lbl_800840A0
/* 80084098 00080FD8  7C 64 1B 78 */	mr r4, r3
/* 8008409C 00080FDC  48 00 00 08 */	b lbl_800840A4
lbl_800840A0:
/* 800840A0 00080FE0  38 80 FF FE */	li r4, -2
lbl_800840A4:
/* 800840A4 00080FE4  38 00 00 00 */	li r0, 0
/* 800840A8 00080FE8  7C 1E 21 AE */	stbx r0, r30, r4
/* 800840AC 00080FEC  80 01 00 94 */	lwz r0, 0x94(r1)
/* 800840B0 00080FF0  83 E1 00 8C */	lwz r31, 0x8c(r1)
/* 800840B4 00080FF4  83 C1 00 88 */	lwz r30, 0x88(r1)
/* 800840B8 00080FF8  7C 08 03 A6 */	mtlr r0
/* 800840BC 00080FFC  38 21 00 90 */	addi r1, r1, 0x90
/* 800840C0 00081000  4E 80 00 20 */	blr 

.global snprintf
snprintf:
/* 800840C4 00081004  7C 08 02 A6 */	mflr r0
/* 800840C8 00081008  90 01 00 04 */	stw r0, 4(r1)
/* 800840CC 0008100C  94 21 FF 68 */	stwu r1, -0x98(r1)
/* 800840D0 00081010  93 E1 00 94 */	stw r31, 0x94(r1)
/* 800840D4 00081014  93 C1 00 90 */	stw r30, 0x90(r1)
/* 800840D8 00081018  40 86 00 24 */	bne cr1, lbl_800840FC
/* 800840DC 0008101C  D8 21 00 28 */	stfd f1, 0x28(r1)
/* 800840E0 00081020  D8 41 00 30 */	stfd f2, 0x30(r1)
/* 800840E4 00081024  D8 61 00 38 */	stfd f3, 0x38(r1)
/* 800840E8 00081028  D8 81 00 40 */	stfd f4, 0x40(r1)
/* 800840EC 0008102C  D8 A1 00 48 */	stfd f5, 0x48(r1)
/* 800840F0 00081030  D8 C1 00 50 */	stfd f6, 0x50(r1)
/* 800840F4 00081034  D8 E1 00 58 */	stfd f7, 0x58(r1)
/* 800840F8 00081038  D9 01 00 60 */	stfd f8, 0x60(r1)
lbl_800840FC:
/* 800840FC 0008103C  90 61 00 08 */	stw r3, 8(r1)
/* 80084100 00081040  3C 00 03 00 */	lis r0, 0x300
/* 80084104 00081044  7C 7E 1B 78 */	mr r30, r3
/* 80084108 00081048  90 81 00 0C */	stw r4, 0xc(r1)
/* 8008410C 0008104C  3B E4 00 00 */	addi r31, r4, 0
/* 80084110 00081050  3C 80 80 08 */	lis r4, __StringWrite@ha
/* 80084114 00081054  90 A1 00 10 */	stw r5, 0x10(r1)
/* 80084118 00081058  38 64 42 80 */	addi r3, r4, __StringWrite@l
/* 8008411C 0008105C  38 81 00 74 */	addi r4, r1, 0x74
/* 80084120 00081060  90 C1 00 14 */	stw r6, 0x14(r1)
/* 80084124 00081064  38 C1 00 80 */	addi r6, r1, 0x80
/* 80084128 00081068  90 E1 00 18 */	stw r7, 0x18(r1)
/* 8008412C 0008106C  91 01 00 1C */	stw r8, 0x1c(r1)
/* 80084130 00081070  91 21 00 20 */	stw r9, 0x20(r1)
/* 80084134 00081074  91 41 00 24 */	stw r10, 0x24(r1)
/* 80084138 00081078  90 01 00 80 */	stw r0, 0x80(r1)
/* 8008413C 0008107C  38 01 00 A0 */	addi r0, r1, 0xa0
/* 80084140 00081080  90 01 00 84 */	stw r0, 0x84(r1)
/* 80084144 00081084  38 01 00 08 */	addi r0, r1, 8
/* 80084148 00081088  90 01 00 88 */	stw r0, 0x88(r1)
/* 8008414C 0008108C  38 00 00 00 */	li r0, 0
/* 80084150 00081090  93 C1 00 74 */	stw r30, 0x74(r1)
/* 80084154 00081094  93 E1 00 78 */	stw r31, 0x78(r1)
/* 80084158 00081098  90 01 00 7C */	stw r0, 0x7c(r1)
/* 8008415C 0008109C  48 00 01 E9 */	bl __pformatter
/* 80084160 000810A0  7C 03 F8 40 */	cmplw r3, r31
/* 80084164 000810A4  40 80 00 0C */	bge lbl_80084170
/* 80084168 000810A8  7C 64 1B 78 */	mr r4, r3
/* 8008416C 000810AC  48 00 00 08 */	b lbl_80084174
lbl_80084170:
/* 80084170 000810B0  38 9F FF FF */	addi r4, r31, -1
lbl_80084174:
/* 80084174 000810B4  38 00 00 00 */	li r0, 0
/* 80084178 000810B8  7C 1E 21 AE */	stbx r0, r30, r4
/* 8008417C 000810BC  80 01 00 9C */	lwz r0, 0x9c(r1)
/* 80084180 000810C0  83 E1 00 94 */	lwz r31, 0x94(r1)
/* 80084184 000810C4  83 C1 00 90 */	lwz r30, 0x90(r1)
/* 80084188 000810C8  7C 08 03 A6 */	mtlr r0
/* 8008418C 000810CC  38 21 00 98 */	addi r1, r1, 0x98
/* 80084190 000810D0  4E 80 00 20 */	blr 

.global vsnprintf
vsnprintf:
/* 80084194 000810D4  7C 08 02 A6 */	mflr r0
/* 80084198 000810D8  90 01 00 04 */	stw r0, 4(r1)
/* 8008419C 000810DC  38 00 00 00 */	li r0, 0
/* 800841A0 000810E0  94 21 FF D0 */	stwu r1, -0x30(r1)
/* 800841A4 000810E4  93 E1 00 2C */	stw r31, 0x2c(r1)
/* 800841A8 000810E8  3B E4 00 00 */	addi r31, r4, 0
/* 800841AC 000810EC  38 81 00 18 */	addi r4, r1, 0x18
/* 800841B0 000810F0  93 C1 00 28 */	stw r30, 0x28(r1)
/* 800841B4 000810F4  7C 7E 1B 78 */	mr r30, r3
/* 800841B8 000810F8  3C 60 80 08 */	lis r3, __StringWrite@ha
/* 800841BC 000810FC  93 C1 00 18 */	stw r30, 0x18(r1)
/* 800841C0 00081100  38 63 42 80 */	addi r3, r3, __StringWrite@l
/* 800841C4 00081104  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 800841C8 00081108  90 01 00 20 */	stw r0, 0x20(r1)
/* 800841CC 0008110C  48 00 01 79 */	bl __pformatter
/* 800841D0 00081110  7C 03 F8 40 */	cmplw r3, r31
/* 800841D4 00081114  40 80 00 0C */	bge lbl_800841E0
/* 800841D8 00081118  7C 64 1B 78 */	mr r4, r3
/* 800841DC 0008111C  48 00 00 08 */	b lbl_800841E4
lbl_800841E0:
/* 800841E0 00081120  38 9F FF FF */	addi r4, r31, -1
lbl_800841E4:
/* 800841E4 00081124  38 00 00 00 */	li r0, 0
/* 800841E8 00081128  7C 1E 21 AE */	stbx r0, r30, r4
/* 800841EC 0008112C  80 01 00 34 */	lwz r0, 0x34(r1)
/* 800841F0 00081130  83 E1 00 2C */	lwz r31, 0x2c(r1)
/* 800841F4 00081134  83 C1 00 28 */	lwz r30, 0x28(r1)
/* 800841F8 00081138  7C 08 03 A6 */	mtlr r0
/* 800841FC 0008113C  38 21 00 30 */	addi r1, r1, 0x30
/* 80084200 00081140  4E 80 00 20 */	blr 

.global vprintf
vprintf:
/* 80084204 00081144  7C 08 02 A6 */	mflr r0
/* 80084208 00081148  3C A0 80 3B */	lis r5, __files@ha
/* 8008420C 0008114C  90 01 00 04 */	stw r0, 4(r1)
/* 80084210 00081150  38 A5 EC 00 */	addi r5, r5, __files@l
/* 80084214 00081154  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 80084218 00081158  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 8008421C 0008115C  3B E5 00 48 */	addi r31, r5, 0x48
/* 80084220 00081160  93 C1 00 18 */	stw r30, 0x18(r1)
/* 80084224 00081164  3B C4 00 00 */	addi r30, r4, 0
/* 80084228 00081168  38 80 FF FF */	li r4, -1
/* 8008422C 0008116C  93 A1 00 14 */	stw r29, 0x14(r1)
/* 80084230 00081170  3B A3 00 00 */	addi r29, r3, 0
/* 80084234 00081174  38 7F 00 00 */	addi r3, r31, 0
/* 80084238 00081178  48 00 22 F1 */	bl fwide
/* 8008423C 0008117C  2C 03 00 00 */	cmpwi r3, 0
/* 80084240 00081180  41 80 00 0C */	blt lbl_8008424C
/* 80084244 00081184  38 60 FF FF */	li r3, -1
/* 80084248 00081188  48 00 00 1C */	b lbl_80084264
lbl_8008424C:
/* 8008424C 0008118C  3C 60 80 08 */	lis r3, __FileWrite@ha
/* 80084250 00081190  38 63 42 EC */	addi r3, r3, __FileWrite@l
/* 80084254 00081194  38 9F 00 00 */	addi r4, r31, 0
/* 80084258 00081198  38 BD 00 00 */	addi r5, r29, 0
/* 8008425C 0008119C  38 DE 00 00 */	addi r6, r30, 0
/* 80084260 000811A0  48 00 00 E5 */	bl __pformatter
lbl_80084264:
/* 80084264 000811A4  80 01 00 24 */	lwz r0, 0x24(r1)
/* 80084268 000811A8  83 E1 00 1C */	lwz r31, 0x1c(r1)
/* 8008426C 000811AC  83 C1 00 18 */	lwz r30, 0x18(r1)
/* 80084270 000811B0  7C 08 03 A6 */	mtlr r0
/* 80084274 000811B4  83 A1 00 14 */	lwz r29, 0x14(r1)
/* 80084278 000811B8  38 21 00 20 */	addi r1, r1, 0x20
/* 8008427C 000811BC  4E 80 00 20 */	blr 

.global __StringWrite
__StringWrite:
/* 80084280 000811C0  7C 08 02 A6 */	mflr r0
/* 80084284 000811C4  90 01 00 04 */	stw r0, 4(r1)
/* 80084288 000811C8  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 8008428C 000811CC  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 80084290 000811D0  93 C1 00 18 */	stw r30, 0x18(r1)
/* 80084294 000811D4  7C 7E 1B 78 */	mr r30, r3
/* 80084298 000811D8  80 63 00 08 */	lwz r3, 8(r3)
/* 8008429C 000811DC  80 DE 00 04 */	lwz r6, 4(r30)
/* 800842A0 000811E0  7C 03 2A 14 */	add r0, r3, r5
/* 800842A4 000811E4  7C 00 30 40 */	cmplw r0, r6
/* 800842A8 000811E8  41 81 00 0C */	bgt lbl_800842B4
/* 800842AC 000811EC  7C BF 2B 78 */	mr r31, r5
/* 800842B0 000811F0  48 00 00 08 */	b lbl_800842B8
lbl_800842B4:
/* 800842B4 000811F4  7F E3 30 50 */	subf r31, r3, r6
lbl_800842B8:
/* 800842B8 000811F8  80 1E 00 00 */	lwz r0, 0(r30)
/* 800842BC 000811FC  38 BF 00 00 */	addi r5, r31, 0
/* 800842C0 00081200  7C 60 1A 14 */	add r3, r0, r3
/* 800842C4 00081204  4B F7 EF 31 */	bl memcpy
/* 800842C8 00081208  80 1E 00 08 */	lwz r0, 8(r30)
/* 800842CC 0008120C  7C 00 FA 14 */	add r0, r0, r31
/* 800842D0 00081210  90 1E 00 08 */	stw r0, 8(r30)
/* 800842D4 00081214  80 01 00 24 */	lwz r0, 0x24(r1)
/* 800842D8 00081218  83 E1 00 1C */	lwz r31, 0x1c(r1)
/* 800842DC 0008121C  83 C1 00 18 */	lwz r30, 0x18(r1)
/* 800842E0 00081220  7C 08 03 A6 */	mtlr r0
/* 800842E4 00081224  38 21 00 20 */	addi r1, r1, 0x20
/* 800842E8 00081228  4E 80 00 20 */	blr 

.global __FileWrite
__FileWrite:
/* 800842EC 0008122C  7C 08 02 A6 */	mflr r0
/* 800842F0 00081230  90 01 00 04 */	stw r0, 4(r1)
/* 800842F4 00081234  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 800842F8 00081238  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 800842FC 0008123C  3B E5 00 00 */	addi r31, r5, 0
/* 80084300 00081240  93 C1 00 18 */	stw r30, 0x18(r1)
/* 80084304 00081244  3B C3 00 00 */	addi r30, r3, 0
/* 80084308 00081248  38 64 00 00 */	addi r3, r4, 0
/* 8008430C 0008124C  38 DE 00 00 */	addi r6, r30, 0
/* 80084310 00081250  38 80 00 01 */	li r4, 1
/* 80084314 00081254  4B FF F5 99 */	bl fwrite
/* 80084318 00081258  7C 1F 18 40 */	cmplw r31, r3
/* 8008431C 0008125C  40 82 00 0C */	bne lbl_80084328
/* 80084320 00081260  7F C3 F3 78 */	mr r3, r30
/* 80084324 00081264  48 00 00 08 */	b lbl_8008432C
lbl_80084328:
/* 80084328 00081268  38 60 00 00 */	li r3, 0
lbl_8008432C:
/* 8008432C 0008126C  80 01 00 24 */	lwz r0, 0x24(r1)
/* 80084330 00081270  83 E1 00 1C */	lwz r31, 0x1c(r1)
/* 80084334 00081274  83 C1 00 18 */	lwz r30, 0x18(r1)
/* 80084338 00081278  7C 08 03 A6 */	mtlr r0
/* 8008433C 0008127C  38 21 00 20 */	addi r1, r1, 0x20
/* 80084340 00081280  4E 80 00 20 */	blr 

.global __pformatter
__pformatter:
/* 80084344 00081284  7C 08 02 A6 */	mflr r0
/* 80084348 00081288  3C E0 80 37 */	lis r7, "@stringBase0"@ha
/* 8008434C 0008128C  90 01 00 04 */	stw r0, 4(r1)
/* 80084350 00081290  38 00 00 20 */	li r0, 0x20
/* 80084354 00081294  94 21 FD 98 */	stwu r1, -0x268(r1)
/* 80084358 00081298  BE 41 02 30 */	stmw r18, 0x230(r1)
/* 8008435C 0008129C  3B E3 00 00 */	addi r31, r3, 0
/* 80084360 000812A0  3B C4 00 00 */	addi r30, r4, 0
/* 80084364 000812A4  3B 86 00 00 */	addi r28, r6, 0
/* 80084368 000812A8  3B 25 00 00 */	addi r25, r5, 0
/* 8008436C 000812AC  3B 41 02 1C */	addi r26, r1, 0x21c
/* 80084370 000812B0  3A E1 02 1B */	addi r23, r1, 0x21b
/* 80084374 000812B4  3A 87 19 20 */	addi r20, r7, "@stringBase0"@l
/* 80084378 000812B8  3B 60 00 00 */	li r27, 0
/* 8008437C 000812BC  98 01 00 19 */	stb r0, 0x19(r1)
/* 80084380 000812C0  48 00 05 D0 */	b lbl_80084950
lbl_80084384:
/* 80084384 000812C4  38 79 00 00 */	addi r3, r25, 0
/* 80084388 000812C8  38 80 00 25 */	li r4, 0x25
/* 8008438C 000812CC  48 00 18 A1 */	bl strchr
/* 80084390 000812D0  7C 78 1B 79 */	or. r24, r3, r3
/* 80084394 000812D4  40 82 00 3C */	bne lbl_800843D0
/* 80084398 000812D8  7F 23 CB 78 */	mr r3, r25
/* 8008439C 000812DC  48 00 1B 09 */	bl strlen
/* 800843A0 000812E0  7C 65 1B 79 */	or. r5, r3, r3
/* 800843A4 000812E4  7F 7B 2A 14 */	add r27, r27, r5
/* 800843A8 000812E8  41 82 05 B4 */	beq lbl_8008495C
/* 800843AC 000812EC  39 9F 00 00 */	addi r12, r31, 0
/* 800843B0 000812F0  7D 88 03 A6 */	mtlr r12
/* 800843B4 000812F4  38 7E 00 00 */	addi r3, r30, 0
/* 800843B8 000812F8  38 99 00 00 */	addi r4, r25, 0
/* 800843BC 000812FC  4E 80 00 21 */	blrl 
/* 800843C0 00081300  28 03 00 00 */	cmplwi r3, 0
/* 800843C4 00081304  40 82 05 98 */	bne lbl_8008495C
/* 800843C8 00081308  38 60 FF FF */	li r3, -1
/* 800843CC 0008130C  48 00 05 94 */	b lbl_80084960
lbl_800843D0:
/* 800843D0 00081310  7C B9 C0 51 */	subf. r5, r25, r24
/* 800843D4 00081314  7F 7B 2A 14 */	add r27, r27, r5
/* 800843D8 00081318  41 82 00 28 */	beq lbl_80084400
/* 800843DC 0008131C  39 9F 00 00 */	addi r12, r31, 0
/* 800843E0 00081320  7D 88 03 A6 */	mtlr r12
/* 800843E4 00081324  38 7E 00 00 */	addi r3, r30, 0
/* 800843E8 00081328  38 99 00 00 */	addi r4, r25, 0
/* 800843EC 0008132C  4E 80 00 21 */	blrl 
/* 800843F0 00081330  28 03 00 00 */	cmplwi r3, 0
/* 800843F4 00081334  40 82 00 0C */	bne lbl_80084400
/* 800843F8 00081338  38 60 FF FF */	li r3, -1
/* 800843FC 0008133C  48 00 05 64 */	b lbl_80084960
lbl_80084400:
/* 80084400 00081340  38 78 00 00 */	addi r3, r24, 0
/* 80084404 00081344  38 9C 00 00 */	addi r4, r28, 0
/* 80084408 00081348  38 A1 02 1C */	addi r5, r1, 0x21c
/* 8008440C 0008134C  48 00 11 D9 */	bl parse_format
/* 80084410 00081350  88 01 02 21 */	lbz r0, 0x221(r1)
/* 80084414 00081354  3B 23 00 00 */	addi r25, r3, 0
/* 80084418 00081358  2C 00 00 69 */	cmpwi r0, 0x69
/* 8008441C 0008135C  41 82 00 A4 */	beq lbl_800844C0
/* 80084420 00081360  40 80 00 58 */	bge lbl_80084478
/* 80084424 00081364  2C 00 00 58 */	cmpwi r0, 0x58
/* 80084428 00081368  41 82 01 54 */	beq lbl_8008457C
/* 8008442C 0008136C  40 80 00 28 */	bge lbl_80084454
/* 80084430 00081370  2C 00 00 45 */	cmpwi r0, 0x45
/* 80084434 00081374  41 82 02 04 */	beq lbl_80084638
/* 80084438 00081378  40 80 00 10 */	bge lbl_80084448
/* 8008443C 0008137C  2C 00 00 25 */	cmpwi r0, 0x25
/* 80084440 00081380  41 82 03 7C */	beq lbl_800847BC
/* 80084444 00081384  48 00 03 8C */	b lbl_800847D0
lbl_80084448:
/* 80084448 00081388  2C 00 00 47 */	cmpwi r0, 0x47
/* 8008444C 0008138C  41 82 01 EC */	beq lbl_80084638
/* 80084450 00081390  48 00 03 80 */	b lbl_800847D0
lbl_80084454:
/* 80084454 00081394  2C 00 00 64 */	cmpwi r0, 0x64
/* 80084458 00081398  41 82 00 68 */	beq lbl_800844C0
/* 8008445C 0008139C  40 80 00 10 */	bge lbl_8008446C
/* 80084460 000813A0  2C 00 00 63 */	cmpwi r0, 0x63
/* 80084464 000813A4  40 80 03 34 */	bge lbl_80084798
/* 80084468 000813A8  48 00 03 68 */	b lbl_800847D0
lbl_8008446C:
/* 8008446C 000813AC  2C 00 00 68 */	cmpwi r0, 0x68
/* 80084470 000813B0  40 80 03 60 */	bge lbl_800847D0
/* 80084474 000813B4  48 00 01 C4 */	b lbl_80084638
lbl_80084478:
/* 80084478 000813B8  2C 00 00 75 */	cmpwi r0, 0x75
/* 8008447C 000813BC  41 82 01 00 */	beq lbl_8008457C
/* 80084480 000813C0  40 80 00 28 */	bge lbl_800844A8
/* 80084484 000813C4  2C 00 00 6F */	cmpwi r0, 0x6f
/* 80084488 000813C8  41 82 00 F4 */	beq lbl_8008457C
/* 8008448C 000813CC  40 80 00 10 */	bge lbl_8008449C
/* 80084490 000813D0  2C 00 00 6E */	cmpwi r0, 0x6e
/* 80084494 000813D4  40 80 02 9C */	bge lbl_80084730
/* 80084498 000813D8  48 00 03 38 */	b lbl_800847D0
lbl_8008449C:
/* 8008449C 000813DC  2C 00 00 73 */	cmpwi r0, 0x73
/* 800844A0 000813E0  41 82 01 BC */	beq lbl_8008465C
/* 800844A4 000813E4  48 00 03 2C */	b lbl_800847D0
lbl_800844A8:
/* 800844A8 000813E8  2C 00 00 FF */	cmpwi r0, 0xff
/* 800844AC 000813EC  41 82 03 24 */	beq lbl_800847D0
/* 800844B0 000813F0  40 80 03 20 */	bge lbl_800847D0
/* 800844B4 000813F4  2C 00 00 78 */	cmpwi r0, 0x78
/* 800844B8 000813F8  41 82 00 C4 */	beq lbl_8008457C
/* 800844BC 000813FC  48 00 03 14 */	b lbl_800847D0
lbl_800844C0:
/* 800844C0 00081400  88 01 02 20 */	lbz r0, 0x220(r1)
/* 800844C4 00081404  28 00 00 03 */	cmplwi r0, 3
/* 800844C8 00081408  40 82 00 18 */	bne lbl_800844E0
/* 800844CC 0008140C  38 7C 00 00 */	addi r3, r28, 0
/* 800844D0 00081410  38 80 00 01 */	li r4, 1
/* 800844D4 00081414  4B FF E1 19 */	bl __va_arg
/* 800844D8 00081418  83 A3 00 00 */	lwz r29, 0(r3)
/* 800844DC 0008141C  48 00 00 34 */	b lbl_80084510
lbl_800844E0:
/* 800844E0 00081420  28 00 00 04 */	cmplwi r0, 4
/* 800844E4 00081424  40 82 00 1C */	bne lbl_80084500
/* 800844E8 00081428  38 7C 00 00 */	addi r3, r28, 0
/* 800844EC 0008142C  38 80 00 02 */	li r4, 2
/* 800844F0 00081430  4B FF E0 FD */	bl __va_arg
/* 800844F4 00081434  82 A3 00 00 */	lwz r21, 0(r3)
/* 800844F8 00081438  82 C3 00 04 */	lwz r22, 4(r3)
/* 800844FC 0008143C  48 00 00 14 */	b lbl_80084510
lbl_80084500:
/* 80084500 00081440  38 7C 00 00 */	addi r3, r28, 0
/* 80084504 00081444  38 80 00 01 */	li r4, 1
/* 80084508 00081448  4B FF E0 E5 */	bl __va_arg
/* 8008450C 0008144C  83 A3 00 00 */	lwz r29, 0(r3)
lbl_80084510:
/* 80084510 00081450  88 61 02 20 */	lbz r3, 0x220(r1)
/* 80084514 00081454  28 03 00 02 */	cmplwi r3, 2
/* 80084518 00081458  40 82 00 0C */	bne lbl_80084524
/* 8008451C 0008145C  7F A0 07 34 */	extsh r0, r29
/* 80084520 00081460  7C 1D 03 78 */	mr r29, r0
lbl_80084524:
/* 80084524 00081464  28 03 00 01 */	cmplwi r3, 1
/* 80084528 00081468  40 82 00 0C */	bne lbl_80084534
/* 8008452C 0008146C  7F A0 07 74 */	extsb r0, r29
/* 80084530 00081470  7C 1D 03 78 */	mr r29, r0
lbl_80084534:
/* 80084534 00081474  28 03 00 04 */	cmplwi r3, 4
/* 80084538 00081478  40 82 00 24 */	bne lbl_8008455C
/* 8008453C 0008147C  38 96 00 00 */	addi r4, r22, 0
/* 80084540 00081480  38 75 00 00 */	addi r3, r21, 0
/* 80084544 00081484  38 BA 00 00 */	addi r5, r26, 0
/* 80084548 00081488  38 C1 02 1C */	addi r6, r1, 0x21c
/* 8008454C 0008148C  48 00 0B 95 */	bl longlong2str
/* 80084550 00081490  7C 73 1B 79 */	or. r19, r3, r3
/* 80084554 00081494  41 82 02 7C */	beq lbl_800847D0
/* 80084558 00081498  48 00 00 1C */	b lbl_80084574
lbl_8008455C:
/* 8008455C 0008149C  38 7D 00 00 */	addi r3, r29, 0
/* 80084560 000814A0  38 9A 00 00 */	addi r4, r26, 0
/* 80084564 000814A4  38 A1 02 1C */	addi r5, r1, 0x21c
/* 80084568 000814A8  48 00 0E 59 */	bl long2str
/* 8008456C 000814AC  7C 73 1B 79 */	or. r19, r3, r3
/* 80084570 000814B0  41 82 02 60 */	beq lbl_800847D0
lbl_80084574:
/* 80084574 000814B4  7F 13 B8 50 */	subf r24, r19, r23
/* 80084578 000814B8  48 00 02 98 */	b lbl_80084810
lbl_8008457C:
/* 8008457C 000814BC  88 01 02 20 */	lbz r0, 0x220(r1)
/* 80084580 000814C0  28 00 00 03 */	cmplwi r0, 3
/* 80084584 000814C4  40 82 00 18 */	bne lbl_8008459C
/* 80084588 000814C8  38 7C 00 00 */	addi r3, r28, 0
/* 8008458C 000814CC  38 80 00 01 */	li r4, 1
/* 80084590 000814D0  4B FF E0 5D */	bl __va_arg
/* 80084594 000814D4  83 A3 00 00 */	lwz r29, 0(r3)
/* 80084598 000814D8  48 00 00 34 */	b lbl_800845CC
lbl_8008459C:
/* 8008459C 000814DC  28 00 00 04 */	cmplwi r0, 4
/* 800845A0 000814E0  40 82 00 1C */	bne lbl_800845BC
/* 800845A4 000814E4  38 7C 00 00 */	addi r3, r28, 0
/* 800845A8 000814E8  38 80 00 02 */	li r4, 2
/* 800845AC 000814EC  4B FF E0 41 */	bl __va_arg
/* 800845B0 000814F0  82 A3 00 00 */	lwz r21, 0(r3)
/* 800845B4 000814F4  82 C3 00 04 */	lwz r22, 4(r3)
/* 800845B8 000814F8  48 00 00 14 */	b lbl_800845CC
lbl_800845BC:
/* 800845BC 000814FC  38 7C 00 00 */	addi r3, r28, 0
/* 800845C0 00081500  38 80 00 01 */	li r4, 1
/* 800845C4 00081504  4B FF E0 29 */	bl __va_arg
/* 800845C8 00081508  83 A3 00 00 */	lwz r29, 0(r3)
lbl_800845CC:
/* 800845CC 0008150C  88 61 02 20 */	lbz r3, 0x220(r1)
/* 800845D0 00081510  28 03 00 02 */	cmplwi r3, 2
/* 800845D4 00081514  40 82 00 0C */	bne lbl_800845E0
/* 800845D8 00081518  57 A0 04 3E */	clrlwi r0, r29, 0x10
/* 800845DC 0008151C  7C 1D 03 78 */	mr r29, r0
lbl_800845E0:
/* 800845E0 00081520  28 03 00 01 */	cmplwi r3, 1
/* 800845E4 00081524  40 82 00 0C */	bne lbl_800845F0
/* 800845E8 00081528  57 A0 06 3E */	clrlwi r0, r29, 0x18
/* 800845EC 0008152C  7C 1D 03 78 */	mr r29, r0
lbl_800845F0:
/* 800845F0 00081530  28 03 00 04 */	cmplwi r3, 4
/* 800845F4 00081534  40 82 00 24 */	bne lbl_80084618
/* 800845F8 00081538  38 96 00 00 */	addi r4, r22, 0
/* 800845FC 0008153C  38 75 00 00 */	addi r3, r21, 0
/* 80084600 00081540  38 BA 00 00 */	addi r5, r26, 0
/* 80084604 00081544  38 C1 02 1C */	addi r6, r1, 0x21c
/* 80084608 00081548  48 00 0A D9 */	bl longlong2str
/* 8008460C 0008154C  7C 73 1B 79 */	or. r19, r3, r3
/* 80084610 00081550  41 82 01 C0 */	beq lbl_800847D0
/* 80084614 00081554  48 00 00 1C */	b lbl_80084630
lbl_80084618:
/* 80084618 00081558  38 7D 00 00 */	addi r3, r29, 0
/* 8008461C 0008155C  38 9A 00 00 */	addi r4, r26, 0
/* 80084620 00081560  38 A1 02 1C */	addi r5, r1, 0x21c
/* 80084624 00081564  48 00 0D 9D */	bl long2str
/* 80084628 00081568  7C 73 1B 79 */	or. r19, r3, r3
/* 8008462C 0008156C  41 82 01 A4 */	beq lbl_800847D0
lbl_80084630:
/* 80084630 00081570  7F 13 B8 50 */	subf r24, r19, r23
/* 80084634 00081574  48 00 01 DC */	b lbl_80084810
lbl_80084638:
/* 80084638 00081578  38 7C 00 00 */	addi r3, r28, 0
/* 8008463C 0008157C  38 9A 00 00 */	addi r4, r26, 0
/* 80084640 00081580  38 A1 02 1C */	addi r5, r1, 0x21c
/* 80084644 00081584  38 C0 00 00 */	li r6, 0
/* 80084648 00081588  48 00 03 2D */	bl float2str
/* 8008464C 0008158C  7C 73 1B 79 */	or. r19, r3, r3
/* 80084650 00081590  41 82 01 80 */	beq lbl_800847D0
/* 80084654 00081594  7F 13 B8 50 */	subf r24, r19, r23
/* 80084658 00081598  48 00 01 B8 */	b lbl_80084810
lbl_8008465C:
/* 8008465C 0008159C  88 01 02 20 */	lbz r0, 0x220(r1)
/* 80084660 000815A0  28 00 00 06 */	cmplwi r0, 6
/* 80084664 000815A4  40 82 00 3C */	bne lbl_800846A0
/* 80084668 000815A8  38 7C 00 00 */	addi r3, r28, 0
/* 8008466C 000815AC  38 80 00 01 */	li r4, 1
/* 80084670 000815B0  4B FF DF 7D */	bl __va_arg
/* 80084674 000815B4  80 83 00 00 */	lwz r4, 0(r3)
/* 80084678 000815B8  28 04 00 00 */	cmplwi r4, 0
/* 8008467C 000815BC  40 82 00 08 */	bne lbl_80084684
/* 80084680 000815C0  38 8D 82 28 */	addi r4, r13, "@wstringBase0"@sda21
lbl_80084684:
/* 80084684 000815C4  38 61 00 1C */	addi r3, r1, 0x1c
/* 80084688 000815C8  38 A0 02 00 */	li r5, 0x200
/* 8008468C 000815CC  4B FF F4 FD */	bl wcstombs
/* 80084690 000815D0  2C 03 00 00 */	cmpwi r3, 0
/* 80084694 000815D4  41 80 01 3C */	blt lbl_800847D0
/* 80084698 000815D8  3A 61 00 1C */	addi r19, r1, 0x1c
/* 8008469C 000815DC  48 00 00 14 */	b lbl_800846B0
lbl_800846A0:
/* 800846A0 000815E0  38 7C 00 00 */	addi r3, r28, 0
/* 800846A4 000815E4  38 80 00 01 */	li r4, 1
/* 800846A8 000815E8  4B FF DF 45 */	bl __va_arg
/* 800846AC 000815EC  82 63 00 00 */	lwz r19, 0(r3)
lbl_800846B0:
/* 800846B0 000815F0  28 13 00 00 */	cmplwi r19, 0
/* 800846B4 000815F4  40 82 00 08 */	bne lbl_800846BC
/* 800846B8 000815F8  7E 93 A3 78 */	mr r19, r20
lbl_800846BC:
/* 800846BC 000815FC  88 01 02 1F */	lbz r0, 0x21f(r1)
/* 800846C0 00081600  28 00 00 00 */	cmplwi r0, 0
/* 800846C4 00081604  41 82 00 2C */	beq lbl_800846F0
/* 800846C8 00081608  88 01 02 1E */	lbz r0, 0x21e(r1)
/* 800846CC 0008160C  8B 13 00 00 */	lbz r24, 0(r19)
/* 800846D0 00081610  3A 73 00 01 */	addi r19, r19, 1
/* 800846D4 00081614  28 00 00 00 */	cmplwi r0, 0
/* 800846D8 00081618  41 82 01 38 */	beq lbl_80084810
/* 800846DC 0008161C  80 01 02 28 */	lwz r0, 0x228(r1)
/* 800846E0 00081620  7C 18 00 00 */	cmpw r24, r0
/* 800846E4 00081624  40 81 01 2C */	ble lbl_80084810
/* 800846E8 00081628  7C 18 03 78 */	mr r24, r0
/* 800846EC 0008162C  48 00 01 24 */	b lbl_80084810
lbl_800846F0:
/* 800846F0 00081630  88 01 02 1E */	lbz r0, 0x21e(r1)
/* 800846F4 00081634  28 00 00 00 */	cmplwi r0, 0
/* 800846F8 00081638  41 82 00 28 */	beq lbl_80084720
/* 800846FC 0008163C  83 01 02 28 */	lwz r24, 0x228(r1)
/* 80084700 00081640  38 73 00 00 */	addi r3, r19, 0
/* 80084704 00081644  38 80 00 00 */	li r4, 0
/* 80084708 00081648  38 B8 00 00 */	addi r5, r24, 0
/* 8008470C 0008164C  4B FF F4 FD */	bl memchr
/* 80084710 00081650  28 03 00 00 */	cmplwi r3, 0
/* 80084714 00081654  41 82 00 FC */	beq lbl_80084810
/* 80084718 00081658  7F 13 18 50 */	subf r24, r19, r3
/* 8008471C 0008165C  48 00 00 F4 */	b lbl_80084810
lbl_80084720:
/* 80084720 00081660  7E 63 9B 78 */	mr r3, r19
/* 80084724 00081664  48 00 17 81 */	bl strlen
/* 80084728 00081668  7C 78 1B 78 */	mr r24, r3
/* 8008472C 0008166C  48 00 00 E4 */	b lbl_80084810
lbl_80084730:
/* 80084730 00081670  38 7C 00 00 */	addi r3, r28, 0
/* 80084734 00081674  38 80 00 01 */	li r4, 1
/* 80084738 00081678  4B FF DE B5 */	bl __va_arg
/* 8008473C 0008167C  88 01 02 20 */	lbz r0, 0x220(r1)
/* 80084740 00081680  80 63 00 00 */	lwz r3, 0(r3)
/* 80084744 00081684  2C 00 00 02 */	cmpwi r0, 2
/* 80084748 00081688  41 82 00 2C */	beq lbl_80084774
/* 8008474C 0008168C  40 80 00 10 */	bge lbl_8008475C
/* 80084750 00081690  2C 00 00 00 */	cmpwi r0, 0
/* 80084754 00081694  41 82 00 18 */	beq lbl_8008476C
/* 80084758 00081698  48 00 01 F8 */	b lbl_80084950
lbl_8008475C:
/* 8008475C 0008169C  2C 00 00 04 */	cmpwi r0, 4
/* 80084760 000816A0  41 82 00 28 */	beq lbl_80084788
/* 80084764 000816A4  40 80 01 EC */	bge lbl_80084950
/* 80084768 000816A8  48 00 00 18 */	b lbl_80084780
lbl_8008476C:
/* 8008476C 000816AC  93 63 00 00 */	stw r27, 0(r3)
/* 80084770 000816B0  48 00 01 E0 */	b lbl_80084950
lbl_80084774:
/* 80084774 000816B4  7F 60 07 34 */	extsh r0, r27
/* 80084778 000816B8  B0 03 00 00 */	sth r0, 0(r3)
/* 8008477C 000816BC  48 00 01 D4 */	b lbl_80084950
lbl_80084780:
/* 80084780 000816C0  93 63 00 00 */	stw r27, 0(r3)
/* 80084784 000816C4  48 00 01 CC */	b lbl_80084950
lbl_80084788:
/* 80084788 000816C8  93 63 00 04 */	stw r27, 4(r3)
/* 8008478C 000816CC  7F 60 FE 70 */	srawi r0, r27, 0x1f
/* 80084790 000816D0  90 03 00 00 */	stw r0, 0(r3)
/* 80084794 000816D4  48 00 01 BC */	b lbl_80084950
lbl_80084798:
/* 80084798 000816D8  38 7C 00 00 */	addi r3, r28, 0
/* 8008479C 000816DC  3A 61 00 1C */	addi r19, r1, 0x1c
/* 800847A0 000816E0  38 80 00 01 */	li r4, 1
/* 800847A4 000816E4  4B FF DE 49 */	bl __va_arg
/* 800847A8 000816E8  80 03 00 00 */	lwz r0, 0(r3)
/* 800847AC 000816EC  3B 00 00 01 */	li r24, 1
/* 800847B0 000816F0  7C 00 07 74 */	extsb r0, r0
/* 800847B4 000816F4  98 01 00 1C */	stb r0, 0x1c(r1)
/* 800847B8 000816F8  48 00 00 58 */	b lbl_80084810
lbl_800847BC:
/* 800847BC 000816FC  38 00 00 25 */	li r0, 0x25
/* 800847C0 00081700  98 01 00 1C */	stb r0, 0x1c(r1)
/* 800847C4 00081704  3A 61 00 1C */	addi r19, r1, 0x1c
/* 800847C8 00081708  3B 00 00 01 */	li r24, 1
/* 800847CC 0008170C  48 00 00 44 */	b lbl_80084810
lbl_800847D0:
/* 800847D0 00081710  7F 03 C3 78 */	mr r3, r24
/* 800847D4 00081714  48 00 16 D1 */	bl strlen
/* 800847D8 00081718  7C 65 1B 79 */	or. r5, r3, r3
/* 800847DC 0008171C  7F 7B 2A 14 */	add r27, r27, r5
/* 800847E0 00081720  41 82 00 28 */	beq lbl_80084808
/* 800847E4 00081724  39 9F 00 00 */	addi r12, r31, 0
/* 800847E8 00081728  7D 88 03 A6 */	mtlr r12
/* 800847EC 0008172C  38 7E 00 00 */	addi r3, r30, 0
/* 800847F0 00081730  38 98 00 00 */	addi r4, r24, 0
/* 800847F4 00081734  4E 80 00 21 */	blrl 
/* 800847F8 00081738  28 03 00 00 */	cmplwi r3, 0
/* 800847FC 0008173C  40 82 00 0C */	bne lbl_80084808
/* 80084800 00081740  38 60 FF FF */	li r3, -1
/* 80084804 00081744  48 00 01 5C */	b lbl_80084960
lbl_80084808:
/* 80084808 00081748  7F 63 DB 78 */	mr r3, r27
/* 8008480C 0008174C  48 00 01 54 */	b lbl_80084960
lbl_80084810:
/* 80084810 00081750  88 01 02 1C */	lbz r0, 0x21c(r1)
/* 80084814 00081754  3A 58 00 00 */	addi r18, r24, 0
/* 80084818 00081758  28 00 00 00 */	cmplwi r0, 0
/* 8008481C 0008175C  41 82 00 B0 */	beq lbl_800848CC
/* 80084820 00081760  28 00 00 02 */	cmplwi r0, 2
/* 80084824 00081764  40 82 00 0C */	bne lbl_80084830
/* 80084828 00081768  38 00 00 30 */	li r0, 0x30
/* 8008482C 0008176C  48 00 00 08 */	b lbl_80084834
lbl_80084830:
/* 80084830 00081770  38 00 00 20 */	li r0, 0x20
lbl_80084834:
/* 80084834 00081774  7C 00 07 74 */	extsb r0, r0
/* 80084838 00081778  98 01 00 19 */	stb r0, 0x19(r1)
/* 8008483C 0008177C  88 13 00 00 */	lbz r0, 0(r19)
/* 80084840 00081780  7C 00 07 74 */	extsb r0, r0
/* 80084844 00081784  2C 00 00 2B */	cmpwi r0, 0x2b
/* 80084848 00081788  41 82 00 0C */	beq lbl_80084854
/* 8008484C 0008178C  2C 00 00 2D */	cmpwi r0, 0x2d
/* 80084850 00081790  40 82 00 70 */	bne lbl_800848C0
lbl_80084854:
/* 80084854 00081794  88 01 00 19 */	lbz r0, 0x19(r1)
/* 80084858 00081798  2C 00 00 30 */	cmpwi r0, 0x30
/* 8008485C 0008179C  40 82 00 64 */	bne lbl_800848C0
/* 80084860 000817A0  39 9F 00 00 */	addi r12, r31, 0
/* 80084864 000817A4  7D 88 03 A6 */	mtlr r12
/* 80084868 000817A8  38 7E 00 00 */	addi r3, r30, 0
/* 8008486C 000817AC  38 93 00 00 */	addi r4, r19, 0
/* 80084870 000817B0  38 A0 00 01 */	li r5, 1
/* 80084874 000817B4  4E 80 00 21 */	blrl 
/* 80084878 000817B8  28 03 00 00 */	cmplwi r3, 0
/* 8008487C 000817BC  40 82 00 0C */	bne lbl_80084888
/* 80084880 000817C0  38 60 FF FF */	li r3, -1
/* 80084884 000817C4  48 00 00 DC */	b lbl_80084960
lbl_80084888:
/* 80084888 000817C8  3A 73 00 01 */	addi r19, r19, 1
/* 8008488C 000817CC  3B 18 FF FF */	addi r24, r24, -1
/* 80084890 000817D0  48 00 00 30 */	b lbl_800848C0
lbl_80084894:
/* 80084894 000817D4  39 9F 00 00 */	addi r12, r31, 0
/* 80084898 000817D8  7D 88 03 A6 */	mtlr r12
/* 8008489C 000817DC  38 7E 00 00 */	addi r3, r30, 0
/* 800848A0 000817E0  38 81 00 19 */	addi r4, r1, 0x19
/* 800848A4 000817E4  38 A0 00 01 */	li r5, 1
/* 800848A8 000817E8  4E 80 00 21 */	blrl 
/* 800848AC 000817EC  28 03 00 00 */	cmplwi r3, 0
/* 800848B0 000817F0  40 82 00 0C */	bne lbl_800848BC
/* 800848B4 000817F4  38 60 FF FF */	li r3, -1
/* 800848B8 000817F8  48 00 00 A8 */	b lbl_80084960
lbl_800848BC:
/* 800848BC 000817FC  3A 52 00 01 */	addi r18, r18, 1
lbl_800848C0:
/* 800848C0 00081800  80 01 02 24 */	lwz r0, 0x224(r1)
/* 800848C4 00081804  7C 12 00 00 */	cmpw r18, r0
/* 800848C8 00081808  41 80 FF CC */	blt lbl_80084894
lbl_800848CC:
/* 800848CC 0008180C  2C 18 00 00 */	cmpwi r24, 0
/* 800848D0 00081810  41 82 00 2C */	beq lbl_800848FC
/* 800848D4 00081814  39 9F 00 00 */	addi r12, r31, 0
/* 800848D8 00081818  7D 88 03 A6 */	mtlr r12
/* 800848DC 0008181C  38 7E 00 00 */	addi r3, r30, 0
/* 800848E0 00081820  38 93 00 00 */	addi r4, r19, 0
/* 800848E4 00081824  38 B8 00 00 */	addi r5, r24, 0
/* 800848E8 00081828  4E 80 00 21 */	blrl 
/* 800848EC 0008182C  28 03 00 00 */	cmplwi r3, 0
/* 800848F0 00081830  40 82 00 0C */	bne lbl_800848FC
/* 800848F4 00081834  38 60 FF FF */	li r3, -1
/* 800848F8 00081838  48 00 00 68 */	b lbl_80084960
lbl_800848FC:
/* 800848FC 0008183C  88 01 02 1C */	lbz r0, 0x21c(r1)
/* 80084900 00081840  28 00 00 00 */	cmplwi r0, 0
/* 80084904 00081844  40 82 00 48 */	bne lbl_8008494C
/* 80084908 00081848  3A 60 00 20 */	li r19, 0x20
/* 8008490C 0008184C  48 00 00 34 */	b lbl_80084940
lbl_80084910:
/* 80084910 00081850  7F EC FB 78 */	mr r12, r31
/* 80084914 00081854  9A 61 00 18 */	stb r19, 0x18(r1)
/* 80084918 00081858  7D 88 03 A6 */	mtlr r12
/* 8008491C 0008185C  38 7E 00 00 */	addi r3, r30, 0
/* 80084920 00081860  38 81 00 18 */	addi r4, r1, 0x18
/* 80084924 00081864  38 A0 00 01 */	li r5, 1
/* 80084928 00081868  4E 80 00 21 */	blrl 
/* 8008492C 0008186C  28 03 00 00 */	cmplwi r3, 0
/* 80084930 00081870  40 82 00 0C */	bne lbl_8008493C
/* 80084934 00081874  38 60 FF FF */	li r3, -1
/* 80084938 00081878  48 00 00 28 */	b lbl_80084960
lbl_8008493C:
/* 8008493C 0008187C  3A 52 00 01 */	addi r18, r18, 1
lbl_80084940:
/* 80084940 00081880  80 01 02 24 */	lwz r0, 0x224(r1)
/* 80084944 00081884  7C 12 00 00 */	cmpw r18, r0
/* 80084948 00081888  41 80 FF C8 */	blt lbl_80084910
lbl_8008494C:
/* 8008494C 0008188C  7F 7B 92 14 */	add r27, r27, r18
lbl_80084950:
/* 80084950 00081890  88 19 00 00 */	lbz r0, 0(r25)
/* 80084954 00081894  7C 00 07 75 */	extsb. r0, r0
/* 80084958 00081898  40 82 FA 2C */	bne lbl_80084384
lbl_8008495C:
/* 8008495C 0008189C  7F 63 DB 78 */	mr r3, r27
lbl_80084960:
/* 80084960 000818A0  BA 41 02 30 */	lmw r18, 0x230(r1)
/* 80084964 000818A4  80 01 02 6C */	lwz r0, 0x26c(r1)
/* 80084968 000818A8  38 21 02 68 */	addi r1, r1, 0x268
/* 8008496C 000818AC  7C 08 03 A6 */	mtlr r0
/* 80084970 000818B0  4E 80 00 20 */	blr 

.global float2str
float2str:
/* 80084974 000818B4  7C 08 02 A6 */	mflr r0
/* 80084978 000818B8  90 01 00 04 */	stw r0, 4(r1)
/* 8008497C 000818BC  94 21 FF A0 */	stwu r1, -0x60(r1)
/* 80084980 000818C0  DB E1 00 58 */	stfd f31, 0x58(r1)
/* 80084984 000818C4  93 E1 00 54 */	stw r31, 0x54(r1)
/* 80084988 000818C8  93 C1 00 50 */	stw r30, 0x50(r1)
/* 8008498C 000818CC  93 A1 00 4C */	stw r29, 0x4c(r1)
/* 80084990 000818D0  7C BD 2B 78 */	mr r29, r5
/* 80084994 000818D4  93 81 00 48 */	stw r28, 0x48(r1)
/* 80084998 000818D8  3B 84 00 00 */	addi r28, r4, 0
/* 8008499C 000818DC  88 05 00 04 */	lbz r0, 4(r5)
/* 800849A0 000818E0  28 00 00 05 */	cmplwi r0, 5
/* 800849A4 000818E4  40 82 00 14 */	bne lbl_800849B8
/* 800849A8 000818E8  38 80 00 03 */	li r4, 3
/* 800849AC 000818EC  4B FF DC 41 */	bl __va_arg
/* 800849B0 000818F0  CB E3 00 00 */	lfd f31, 0(r3)
/* 800849B4 000818F4  48 00 00 10 */	b lbl_800849C4
lbl_800849B8:
/* 800849B8 000818F8  38 80 00 03 */	li r4, 3
/* 800849BC 000818FC  4B FF DC 31 */	bl __va_arg
/* 800849C0 00081900  CB E3 00 00 */	lfd f31, 0(r3)
lbl_800849C4:
/* 800849C4 00081904  80 1D 00 0C */	lwz r0, 0xc(r29)
/* 800849C8 00081908  2C 00 01 FD */	cmpwi r0, 0x1fd
/* 800849CC 0008190C  40 81 00 0C */	ble lbl_800849D8
/* 800849D0 00081910  38 60 00 00 */	li r3, 0
/* 800849D4 00081914  48 00 05 B4 */	b lbl_80084F88
lbl_800849D8:
/* 800849D8 00081918  38 00 00 00 */	li r0, 0
/* 800849DC 0008191C  FC 20 F8 90 */	fmr f1, f31
/* 800849E0 00081920  98 01 00 18 */	stb r0, 0x18(r1)
/* 800849E4 00081924  38 00 00 20 */	li r0, 0x20
/* 800849E8 00081928  38 61 00 18 */	addi r3, r1, 0x18
/* 800849EC 0008192C  B0 01 00 1A */	sth r0, 0x1a(r1)
/* 800849F0 00081930  38 81 00 1C */	addi r4, r1, 0x1c
/* 800849F4 00081934  4B FF E9 B1 */	bl __num2dec
/* 800849F8 00081938  88 01 00 20 */	lbz r0, 0x20(r1)
/* 800849FC 0008193C  3B E1 00 21 */	addi r31, r1, 0x21
/* 80084A00 00081940  7C 9F 02 14 */	add r4, r31, r0
/* 80084A04 00081944  48 00 00 1C */	b lbl_80084A20
lbl_80084A08:
/* 80084A08 00081948  88 61 00 20 */	lbz r3, 0x20(r1)
/* 80084A0C 0008194C  38 03 FF FF */	addi r0, r3, -1
/* 80084A10 00081950  98 01 00 20 */	stb r0, 0x20(r1)
/* 80084A14 00081954  A8 61 00 1E */	lha r3, 0x1e(r1)
/* 80084A18 00081958  38 03 00 01 */	addi r0, r3, 1
/* 80084A1C 0008195C  B0 01 00 1E */	sth r0, 0x1e(r1)
lbl_80084A20:
/* 80084A20 00081960  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084A24 00081964  28 00 00 01 */	cmplwi r0, 1
/* 80084A28 00081968  40 81 00 10 */	ble lbl_80084A38
/* 80084A2C 0008196C  8C 04 FF FF */	lbzu r0, -1(r4)
/* 80084A30 00081970  2C 00 00 30 */	cmpwi r0, 0x30
/* 80084A34 00081974  41 82 FF D4 */	beq lbl_80084A08
lbl_80084A38:
/* 80084A38 00081978  88 01 00 21 */	lbz r0, 0x21(r1)
/* 80084A3C 0008197C  2C 00 00 49 */	cmpwi r0, 0x49
/* 80084A40 00081980  41 82 00 2C */	beq lbl_80084A6C
/* 80084A44 00081984  40 80 00 10 */	bge lbl_80084A54
/* 80084A48 00081988  2C 00 00 30 */	cmpwi r0, 0x30
/* 80084A4C 0008198C  41 82 00 14 */	beq lbl_80084A60
/* 80084A50 00081990  48 00 00 84 */	b lbl_80084AD4
lbl_80084A54:
/* 80084A54 00081994  2C 00 00 4E */	cmpwi r0, 0x4e
/* 80084A58 00081998  41 82 00 5C */	beq lbl_80084AB4
/* 80084A5C 0008199C  48 00 00 78 */	b lbl_80084AD4
lbl_80084A60:
/* 80084A60 000819A0  38 00 00 00 */	li r0, 0
/* 80084A64 000819A4  B0 01 00 1E */	sth r0, 0x1e(r1)
/* 80084A68 000819A8  48 00 00 6C */	b lbl_80084AD4
lbl_80084A6C:
/* 80084A6C 000819AC  C8 02 89 80 */	lfd f0, "@919"@sda21(r2)
/* 80084A70 000819B0  FC 1F 00 40 */	fcmpo cr0, f31, f0
/* 80084A74 000819B4  40 80 00 20 */	bge lbl_80084A94
/* 80084A78 000819B8  3C 60 80 37 */	lis r3, "@stringBase0"@ha
/* 80084A7C 000819BC  3B 9C FF FB */	addi r28, r28, -5
/* 80084A80 000819C0  38 83 19 20 */	addi r4, r3, "@stringBase0"@l
/* 80084A84 000819C4  38 7C 00 00 */	addi r3, r28, 0
/* 80084A88 000819C8  38 84 00 01 */	addi r4, r4, 1
/* 80084A8C 000819CC  48 00 13 65 */	bl strcpy
/* 80084A90 000819D0  48 00 00 1C */	b lbl_80084AAC
lbl_80084A94:
/* 80084A94 000819D4  3C 60 80 37 */	lis r3, "@stringBase0"@ha
/* 80084A98 000819D8  3B 9C FF FC */	addi r28, r28, -4
/* 80084A9C 000819DC  38 83 19 20 */	addi r4, r3, "@stringBase0"@l
/* 80084AA0 000819E0  38 7C 00 00 */	addi r3, r28, 0
/* 80084AA4 000819E4  38 84 00 06 */	addi r4, r4, 6
/* 80084AA8 000819E8  48 00 13 49 */	bl strcpy
lbl_80084AAC:
/* 80084AAC 000819EC  7F 83 E3 78 */	mr r3, r28
/* 80084AB0 000819F0  48 00 04 D8 */	b lbl_80084F88
lbl_80084AB4:
/* 80084AB4 000819F4  3C 60 80 37 */	lis r3, "@stringBase0"@ha
/* 80084AB8 000819F8  3B 9C FF FC */	addi r28, r28, -4
/* 80084ABC 000819FC  38 83 19 20 */	addi r4, r3, "@stringBase0"@l
/* 80084AC0 00081A00  38 7C 00 00 */	addi r3, r28, 0
/* 80084AC4 00081A04  38 84 00 0A */	addi r4, r4, 0xa
/* 80084AC8 00081A08  48 00 13 29 */	bl strcpy
/* 80084ACC 00081A0C  7F 83 E3 78 */	mr r3, r28
/* 80084AD0 00081A10  48 00 04 B8 */	b lbl_80084F88
lbl_80084AD4:
/* 80084AD4 00081A14  A8 81 00 1E */	lha r4, 0x1e(r1)
/* 80084AD8 00081A18  38 00 00 00 */	li r0, 0
/* 80084ADC 00081A1C  88 61 00 20 */	lbz r3, 0x20(r1)
/* 80084AE0 00081A20  3B DC FF FF */	addi r30, r28, -1
/* 80084AE4 00081A24  7C 63 22 14 */	add r3, r3, r4
/* 80084AE8 00081A28  38 63 FF FF */	addi r3, r3, -1
/* 80084AEC 00081A2C  B0 61 00 1E */	sth r3, 0x1e(r1)
/* 80084AF0 00081A30  98 1C FF FF */	stb r0, -1(r28)
/* 80084AF4 00081A34  88 1D 00 05 */	lbz r0, 5(r29)
/* 80084AF8 00081A38  2C 00 00 65 */	cmpwi r0, 0x65
/* 80084AFC 00081A3C  41 82 00 F4 */	beq lbl_80084BF0
/* 80084B00 00081A40  40 80 00 28 */	bge lbl_80084B28
/* 80084B04 00081A44  2C 00 00 46 */	cmpwi r0, 0x46
/* 80084B08 00081A48  41 82 04 7C */	beq lbl_80084F84
/* 80084B0C 00081A4C  40 80 00 10 */	bge lbl_80084B1C
/* 80084B10 00081A50  2C 00 00 45 */	cmpwi r0, 0x45
/* 80084B14 00081A54  40 80 00 DC */	bge lbl_80084BF0
/* 80084B18 00081A58  48 00 04 6C */	b lbl_80084F84
lbl_80084B1C:
/* 80084B1C 00081A5C  2C 00 00 48 */	cmpwi r0, 0x48
/* 80084B20 00081A60  40 80 04 64 */	bge lbl_80084F84
/* 80084B24 00081A64  48 00 00 14 */	b lbl_80084B38
lbl_80084B28:
/* 80084B28 00081A68  2C 00 00 67 */	cmpwi r0, 0x67
/* 80084B2C 00081A6C  41 82 00 0C */	beq lbl_80084B38
/* 80084B30 00081A70  40 80 04 54 */	bge lbl_80084F84
/* 80084B34 00081A74  48 00 02 2C */	b lbl_80084D60
lbl_80084B38:
/* 80084B38 00081A78  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084B3C 00081A7C  80 9D 00 0C */	lwz r4, 0xc(r29)
/* 80084B40 00081A80  7C 00 20 00 */	cmpw r0, r4
/* 80084B44 00081A84  40 81 00 0C */	ble lbl_80084B50
/* 80084B48 00081A88  38 61 00 1C */	addi r3, r1, 0x1c
/* 80084B4C 00081A8C  48 00 04 61 */	bl round_decimal
lbl_80084B50:
/* 80084B50 00081A90  A8 81 00 1E */	lha r4, 0x1e(r1)
/* 80084B54 00081A94  2C 04 FF FC */	cmpwi r4, -4
/* 80084B58 00081A98  41 80 00 10 */	blt lbl_80084B68
/* 80084B5C 00081A9C  80 7D 00 0C */	lwz r3, 0xc(r29)
/* 80084B60 00081AA0  7C 04 18 00 */	cmpw r4, r3
/* 80084B64 00081AA4  41 80 00 50 */	blt lbl_80084BB4
lbl_80084B68:
/* 80084B68 00081AA8  88 1D 00 03 */	lbz r0, 3(r29)
/* 80084B6C 00081AAC  28 00 00 00 */	cmplwi r0, 0
/* 80084B70 00081AB0  41 82 00 14 */	beq lbl_80084B84
/* 80084B74 00081AB4  80 7D 00 0C */	lwz r3, 0xc(r29)
/* 80084B78 00081AB8  38 03 FF FF */	addi r0, r3, -1
/* 80084B7C 00081ABC  90 1D 00 0C */	stw r0, 0xc(r29)
/* 80084B80 00081AC0  48 00 00 10 */	b lbl_80084B90
lbl_80084B84:
/* 80084B84 00081AC4  88 61 00 20 */	lbz r3, 0x20(r1)
/* 80084B88 00081AC8  38 03 FF FF */	addi r0, r3, -1
/* 80084B8C 00081ACC  90 1D 00 0C */	stw r0, 0xc(r29)
lbl_80084B90:
/* 80084B90 00081AD0  88 1D 00 05 */	lbz r0, 5(r29)
/* 80084B94 00081AD4  28 00 00 67 */	cmplwi r0, 0x67
/* 80084B98 00081AD8  40 82 00 10 */	bne lbl_80084BA8
/* 80084B9C 00081ADC  38 00 00 65 */	li r0, 0x65
/* 80084BA0 00081AE0  98 1D 00 05 */	stb r0, 5(r29)
/* 80084BA4 00081AE4  48 00 00 4C */	b lbl_80084BF0
lbl_80084BA8:
/* 80084BA8 00081AE8  38 00 00 45 */	li r0, 0x45
/* 80084BAC 00081AEC  98 1D 00 05 */	stb r0, 5(r29)
/* 80084BB0 00081AF0  48 00 00 40 */	b lbl_80084BF0
lbl_80084BB4:
/* 80084BB4 00081AF4  88 1D 00 03 */	lbz r0, 3(r29)
/* 80084BB8 00081AF8  28 00 00 00 */	cmplwi r0, 0
/* 80084BBC 00081AFC  41 82 00 14 */	beq lbl_80084BD0
/* 80084BC0 00081B00  38 04 00 01 */	addi r0, r4, 1
/* 80084BC4 00081B04  7C 00 18 50 */	subf r0, r0, r3
/* 80084BC8 00081B08  90 1D 00 0C */	stw r0, 0xc(r29)
/* 80084BCC 00081B0C  48 00 01 94 */	b lbl_80084D60
lbl_80084BD0:
/* 80084BD0 00081B10  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084BD4 00081B14  38 64 00 01 */	addi r3, r4, 1
/* 80084BD8 00081B18  7C 03 00 51 */	subf. r0, r3, r0
/* 80084BDC 00081B1C  90 1D 00 0C */	stw r0, 0xc(r29)
/* 80084BE0 00081B20  40 80 01 80 */	bge lbl_80084D60
/* 80084BE4 00081B24  38 00 00 00 */	li r0, 0
/* 80084BE8 00081B28  90 1D 00 0C */	stw r0, 0xc(r29)
/* 80084BEC 00081B2C  48 00 01 74 */	b lbl_80084D60
lbl_80084BF0:
/* 80084BF0 00081B30  80 7D 00 0C */	lwz r3, 0xc(r29)
/* 80084BF4 00081B34  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084BF8 00081B38  38 83 00 01 */	addi r4, r3, 1
/* 80084BFC 00081B3C  7C 00 20 00 */	cmpw r0, r4
/* 80084C00 00081B40  40 81 00 0C */	ble lbl_80084C0C
/* 80084C04 00081B44  38 61 00 1C */	addi r3, r1, 0x1c
/* 80084C08 00081B48  48 00 03 A5 */	bl round_decimal
lbl_80084C0C:
/* 80084C0C 00081B4C  A8 01 00 1E */	lha r0, 0x1e(r1)
/* 80084C10 00081B50  39 00 00 2B */	li r8, 0x2b
/* 80084C14 00081B54  2C 00 00 00 */	cmpwi r0, 0
/* 80084C18 00081B58  7C 04 03 78 */	mr r4, r0
/* 80084C1C 00081B5C  40 80 00 0C */	bge lbl_80084C28
/* 80084C20 00081B60  7C 84 00 D0 */	neg r4, r4
/* 80084C24 00081B64  39 00 00 2D */	li r8, 0x2d
lbl_80084C28:
/* 80084C28 00081B68  3C 60 66 66 */	lis r3, 0x66666667@ha
/* 80084C2C 00081B6C  38 A3 66 67 */	addi r5, r3, 0x66666667@l
/* 80084C30 00081B70  38 E0 00 00 */	li r7, 0
/* 80084C34 00081B74  48 00 00 38 */	b lbl_80084C6C
lbl_80084C38:
/* 80084C38 00081B78  7C C5 20 96 */	mulhw r6, r5, r4
/* 80084C3C 00081B7C  7C C0 16 70 */	srawi r0, r6, 2
/* 80084C40 00081B80  54 03 0F FE */	srwi r3, r0, 0x1f
/* 80084C44 00081B84  7C 00 1A 14 */	add r0, r0, r3
/* 80084C48 00081B88  1C 00 00 0A */	mulli r0, r0, 0xa
/* 80084C4C 00081B8C  7C 80 20 50 */	subf r4, r0, r4
/* 80084C50 00081B90  7C C0 16 70 */	srawi r0, r6, 2
/* 80084C54 00081B94  38 84 00 30 */	addi r4, r4, 0x30
/* 80084C58 00081B98  98 9E FF FF */	stb r4, -1(r30)
/* 80084C5C 00081B9C  54 03 0F FE */	srwi r3, r0, 0x1f
/* 80084C60 00081BA0  7C 80 1A 14 */	add r4, r0, r3
/* 80084C64 00081BA4  38 E7 00 01 */	addi r7, r7, 1
/* 80084C68 00081BA8  3B DE FF FF */	addi r30, r30, -1
lbl_80084C6C:
/* 80084C6C 00081BAC  2C 04 00 00 */	cmpwi r4, 0
/* 80084C70 00081BB0  40 82 FF C8 */	bne lbl_80084C38
/* 80084C74 00081BB4  2C 07 00 02 */	cmpwi r7, 2
/* 80084C78 00081BB8  41 80 FF C0 */	blt lbl_80084C38
/* 80084C7C 00081BBC  7D 00 07 74 */	extsb r0, r8
/* 80084C80 00081BC0  98 1E FF FF */	stb r0, -1(r30)
/* 80084C84 00081BC4  3B DE FF FE */	addi r30, r30, -2
/* 80084C88 00081BC8  7C 1E E0 50 */	subf r0, r30, r28
/* 80084C8C 00081BCC  88 7D 00 05 */	lbz r3, 5(r29)
/* 80084C90 00081BD0  98 7E 00 00 */	stb r3, 0(r30)
/* 80084C94 00081BD4  80 7D 00 0C */	lwz r3, 0xc(r29)
/* 80084C98 00081BD8  7C 03 02 14 */	add r0, r3, r0
/* 80084C9C 00081BDC  2C 00 01 FD */	cmpwi r0, 0x1fd
/* 80084CA0 00081BE0  40 81 00 0C */	ble lbl_80084CAC
/* 80084CA4 00081BE4  38 60 00 00 */	li r3, 0
/* 80084CA8 00081BE8  48 00 02 E0 */	b lbl_80084F88
lbl_80084CAC:
/* 80084CAC 00081BEC  88 81 00 20 */	lbz r4, 0x20(r1)
/* 80084CB0 00081BF0  38 03 00 01 */	addi r0, r3, 1
/* 80084CB4 00081BF4  7C 04 00 00 */	cmpw r4, r0
/* 80084CB8 00081BF8  40 80 00 20 */	bge lbl_80084CD8
/* 80084CBC 00081BFC  38 03 00 02 */	addi r0, r3, 2
/* 80084CC0 00081C00  7C 64 00 50 */	subf r3, r4, r0
/* 80084CC4 00081C04  38 00 00 30 */	li r0, 0x30
/* 80084CC8 00081C08  48 00 00 08 */	b lbl_80084CD0
lbl_80084CCC:
/* 80084CCC 00081C0C  9C 1E FF FF */	stbu r0, -1(r30)
lbl_80084CD0:
/* 80084CD0 00081C10  34 63 FF FF */	addic. r3, r3, -1
/* 80084CD4 00081C14  40 82 FF F8 */	bne lbl_80084CCC
lbl_80084CD8:
/* 80084CD8 00081C18  88 61 00 20 */	lbz r3, 0x20(r1)
/* 80084CDC 00081C1C  7C 9F 1A 14 */	add r4, r31, r3
/* 80084CE0 00081C20  48 00 00 0C */	b lbl_80084CEC
lbl_80084CE4:
/* 80084CE4 00081C24  8C 04 FF FF */	lbzu r0, -1(r4)
/* 80084CE8 00081C28  9C 1E FF FF */	stbu r0, -1(r30)
lbl_80084CEC:
/* 80084CEC 00081C2C  34 63 FF FF */	addic. r3, r3, -1
/* 80084CF0 00081C30  40 82 FF F4 */	bne lbl_80084CE4
/* 80084CF4 00081C34  80 1D 00 0C */	lwz r0, 0xc(r29)
/* 80084CF8 00081C38  2C 00 00 00 */	cmpwi r0, 0
/* 80084CFC 00081C3C  40 82 00 10 */	bne lbl_80084D0C
/* 80084D00 00081C40  88 1D 00 03 */	lbz r0, 3(r29)
/* 80084D04 00081C44  28 00 00 00 */	cmplwi r0, 0
/* 80084D08 00081C48  41 82 00 0C */	beq lbl_80084D14
lbl_80084D0C:
/* 80084D0C 00081C4C  38 00 00 2E */	li r0, 0x2e
/* 80084D10 00081C50  9C 1E FF FF */	stbu r0, -1(r30)
lbl_80084D14:
/* 80084D14 00081C54  88 01 00 21 */	lbz r0, 0x21(r1)
/* 80084D18 00081C58  9C 1E FF FF */	stbu r0, -1(r30)
/* 80084D1C 00081C5C  88 01 00 1C */	lbz r0, 0x1c(r1)
/* 80084D20 00081C60  7C 00 07 75 */	extsb. r0, r0
/* 80084D24 00081C64  41 82 00 10 */	beq lbl_80084D34
/* 80084D28 00081C68  38 00 00 2D */	li r0, 0x2d
/* 80084D2C 00081C6C  9C 1E FF FF */	stbu r0, -1(r30)
/* 80084D30 00081C70  48 00 02 54 */	b lbl_80084F84
lbl_80084D34:
/* 80084D34 00081C74  88 1D 00 01 */	lbz r0, 1(r29)
/* 80084D38 00081C78  28 00 00 01 */	cmplwi r0, 1
/* 80084D3C 00081C7C  40 82 00 10 */	bne lbl_80084D4C
/* 80084D40 00081C80  38 00 00 2B */	li r0, 0x2b
/* 80084D44 00081C84  9C 1E FF FF */	stbu r0, -1(r30)
/* 80084D48 00081C88  48 00 02 3C */	b lbl_80084F84
lbl_80084D4C:
/* 80084D4C 00081C8C  28 00 00 02 */	cmplwi r0, 2
/* 80084D50 00081C90  40 82 02 34 */	bne lbl_80084F84
/* 80084D54 00081C94  38 00 00 20 */	li r0, 0x20
/* 80084D58 00081C98  9C 1E FF FF */	stbu r0, -1(r30)
/* 80084D5C 00081C9C  48 00 02 28 */	b lbl_80084F84
lbl_80084D60:
/* 80084D60 00081CA0  A8 01 00 1E */	lha r0, 0x1e(r1)
/* 80084D64 00081CA4  88 81 00 20 */	lbz r4, 0x20(r1)
/* 80084D68 00081CA8  7C 00 20 50 */	subf r0, r0, r4
/* 80084D6C 00081CAC  34 E0 FF FF */	addic. r7, r0, -1
/* 80084D70 00081CB0  40 80 00 08 */	bge lbl_80084D78
/* 80084D74 00081CB4  38 E0 00 00 */	li r7, 0
lbl_80084D78:
/* 80084D78 00081CB8  80 1D 00 0C */	lwz r0, 0xc(r29)
/* 80084D7C 00081CBC  7C 07 00 00 */	cmpw r7, r0
/* 80084D80 00081CC0  40 81 00 2C */	ble lbl_80084DAC
/* 80084D84 00081CC4  7C 00 38 50 */	subf r0, r0, r7
/* 80084D88 00081CC8  38 61 00 1C */	addi r3, r1, 0x1c
/* 80084D8C 00081CCC  7C 80 20 50 */	subf r4, r0, r4
/* 80084D90 00081CD0  48 00 02 1D */	bl round_decimal
/* 80084D94 00081CD4  A8 61 00 1E */	lha r3, 0x1e(r1)
/* 80084D98 00081CD8  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084D9C 00081CDC  7C 03 00 50 */	subf r0, r3, r0
/* 80084DA0 00081CE0  34 E0 FF FF */	addic. r7, r0, -1
/* 80084DA4 00081CE4  40 80 00 08 */	bge lbl_80084DAC
/* 80084DA8 00081CE8  38 E0 00 00 */	li r7, 0
lbl_80084DAC:
/* 80084DAC 00081CEC  A8 01 00 1E */	lha r0, 0x1e(r1)
/* 80084DB0 00081CF0  34 C0 00 01 */	addic. r6, r0, 1
/* 80084DB4 00081CF4  40 80 00 08 */	bge lbl_80084DBC
/* 80084DB8 00081CF8  38 C0 00 00 */	li r6, 0
lbl_80084DBC:
/* 80084DBC 00081CFC  7C 06 3A 14 */	add r0, r6, r7
/* 80084DC0 00081D00  2C 00 01 FD */	cmpwi r0, 0x1fd
/* 80084DC4 00081D04  40 81 00 0C */	ble lbl_80084DD0
/* 80084DC8 00081D08  38 60 00 00 */	li r3, 0
/* 80084DCC 00081D0C  48 00 01 BC */	b lbl_80084F88
lbl_80084DD0:
/* 80084DD0 00081D10  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084DD4 00081D14  38 80 00 00 */	li r4, 0
/* 80084DD8 00081D18  38 60 00 30 */	li r3, 0x30
/* 80084DDC 00081D1C  7C BF 02 14 */	add r5, r31, r0
/* 80084DE0 00081D20  48 00 00 0C */	b lbl_80084DEC
lbl_80084DE4:
/* 80084DE4 00081D24  9C 7E FF FF */	stbu r3, -1(r30)
/* 80084DE8 00081D28  38 84 00 01 */	addi r4, r4, 1
lbl_80084DEC:
/* 80084DEC 00081D2C  80 1D 00 0C */	lwz r0, 0xc(r29)
/* 80084DF0 00081D30  7C 07 00 50 */	subf r0, r7, r0
/* 80084DF4 00081D34  7C 04 00 00 */	cmpw r4, r0
/* 80084DF8 00081D38  41 80 FF EC */	blt lbl_80084DE4
/* 80084DFC 00081D3C  38 60 00 00 */	li r3, 0
/* 80084E00 00081D40  48 00 00 10 */	b lbl_80084E10
lbl_80084E04:
/* 80084E04 00081D44  8C 05 FF FF */	lbzu r0, -1(r5)
/* 80084E08 00081D48  38 63 00 01 */	addi r3, r3, 1
/* 80084E0C 00081D4C  9C 1E FF FF */	stbu r0, -1(r30)
lbl_80084E10:
/* 80084E10 00081D50  7C 03 38 00 */	cmpw r3, r7
/* 80084E14 00081D54  40 80 00 10 */	bge lbl_80084E24
/* 80084E18 00081D58  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084E1C 00081D5C  7C 03 00 00 */	cmpw r3, r0
/* 80084E20 00081D60  41 80 FF E4 */	blt lbl_80084E04
lbl_80084E24:
/* 80084E24 00081D64  7C 03 38 00 */	cmpw r3, r7
/* 80084E28 00081D68  7C 63 38 50 */	subf r3, r3, r7
/* 80084E2C 00081D6C  38 80 00 30 */	li r4, 0x30
/* 80084E30 00081D70  40 80 00 48 */	bge lbl_80084E78
/* 80084E34 00081D74  54 60 E8 FF */	rlwinm. r0, r3, 0x1d, 3, 0x1f
/* 80084E38 00081D78  7C 09 03 A6 */	mtctr r0
/* 80084E3C 00081D7C  41 82 00 30 */	beq lbl_80084E6C
lbl_80084E40:
/* 80084E40 00081D80  98 9E FF FF */	stb r4, -1(r30)
/* 80084E44 00081D84  98 9E FF FE */	stb r4, -2(r30)
/* 80084E48 00081D88  98 9E FF FD */	stb r4, -3(r30)
/* 80084E4C 00081D8C  98 9E FF FC */	stb r4, -4(r30)
/* 80084E50 00081D90  98 9E FF FB */	stb r4, -5(r30)
/* 80084E54 00081D94  98 9E FF FA */	stb r4, -6(r30)
/* 80084E58 00081D98  98 9E FF F9 */	stb r4, -7(r30)
/* 80084E5C 00081D9C  9C 9E FF F8 */	stbu r4, -8(r30)
/* 80084E60 00081DA0  42 00 FF E0 */	bdnz lbl_80084E40
/* 80084E64 00081DA4  70 63 00 07 */	andi. r3, r3, 7
/* 80084E68 00081DA8  41 82 00 10 */	beq lbl_80084E78
lbl_80084E6C:
/* 80084E6C 00081DAC  7C 69 03 A6 */	mtctr r3
lbl_80084E70:
/* 80084E70 00081DB0  9C 9E FF FF */	stbu r4, -1(r30)
/* 80084E74 00081DB4  42 00 FF FC */	bdnz lbl_80084E70
lbl_80084E78:
/* 80084E78 00081DB8  80 1D 00 0C */	lwz r0, 0xc(r29)
/* 80084E7C 00081DBC  2C 00 00 00 */	cmpwi r0, 0
/* 80084E80 00081DC0  40 82 00 10 */	bne lbl_80084E90
/* 80084E84 00081DC4  88 1D 00 03 */	lbz r0, 3(r29)
/* 80084E88 00081DC8  28 00 00 00 */	cmplwi r0, 0
/* 80084E8C 00081DCC  41 82 00 0C */	beq lbl_80084E98
lbl_80084E90:
/* 80084E90 00081DD0  38 00 00 2E */	li r0, 0x2e
/* 80084E94 00081DD4  9C 1E FF FF */	stbu r0, -1(r30)
lbl_80084E98:
/* 80084E98 00081DD8  2C 06 00 00 */	cmpwi r6, 0
/* 80084E9C 00081DDC  41 82 00 A0 */	beq lbl_80084F3C
/* 80084EA0 00081DE0  38 80 00 00 */	li r4, 0
/* 80084EA4 00081DE4  38 60 00 30 */	li r3, 0x30
/* 80084EA8 00081DE8  48 00 00 0C */	b lbl_80084EB4
lbl_80084EAC:
/* 80084EAC 00081DEC  9C 7E FF FF */	stbu r3, -1(r30)
/* 80084EB0 00081DF0  38 84 00 01 */	addi r4, r4, 1
lbl_80084EB4:
/* 80084EB4 00081DF4  88 01 00 20 */	lbz r0, 0x20(r1)
/* 80084EB8 00081DF8  7C 00 30 50 */	subf r0, r0, r6
/* 80084EBC 00081DFC  7C 04 00 00 */	cmpw r4, r0
/* 80084EC0 00081E00  41 80 FF EC */	blt lbl_80084EAC
/* 80084EC4 00081E04  7C 04 30 00 */	cmpw r4, r6
/* 80084EC8 00081E08  7C 64 30 50 */	subf r3, r4, r6
/* 80084ECC 00081E0C  40 80 00 78 */	bge lbl_80084F44
/* 80084ED0 00081E10  54 60 E8 FF */	rlwinm. r0, r3, 0x1d, 3, 0x1f
/* 80084ED4 00081E14  7C 09 03 A6 */	mtctr r0
/* 80084ED8 00081E18  41 82 00 50 */	beq lbl_80084F28
lbl_80084EDC:
/* 80084EDC 00081E1C  88 05 FF FF */	lbz r0, -1(r5)
/* 80084EE0 00081E20  98 1E FF FF */	stb r0, -1(r30)
/* 80084EE4 00081E24  88 05 FF FE */	lbz r0, -2(r5)
/* 80084EE8 00081E28  98 1E FF FE */	stb r0, -2(r30)
/* 80084EEC 00081E2C  88 05 FF FD */	lbz r0, -3(r5)
/* 80084EF0 00081E30  98 1E FF FD */	stb r0, -3(r30)
/* 80084EF4 00081E34  88 05 FF FC */	lbz r0, -4(r5)
/* 80084EF8 00081E38  98 1E FF FC */	stb r0, -4(r30)
/* 80084EFC 00081E3C  88 05 FF FB */	lbz r0, -5(r5)
/* 80084F00 00081E40  98 1E FF FB */	stb r0, -5(r30)
/* 80084F04 00081E44  88 05 FF FA */	lbz r0, -6(r5)
/* 80084F08 00081E48  98 1E FF FA */	stb r0, -6(r30)
/* 80084F0C 00081E4C  88 05 FF F9 */	lbz r0, -7(r5)
/* 80084F10 00081E50  98 1E FF F9 */	stb r0, -7(r30)
/* 80084F14 00081E54  8C 05 FF F8 */	lbzu r0, -8(r5)
/* 80084F18 00081E58  9C 1E FF F8 */	stbu r0, -8(r30)
/* 80084F1C 00081E5C  42 00 FF C0 */	bdnz lbl_80084EDC
/* 80084F20 00081E60  70 63 00 07 */	andi. r3, r3, 7
/* 80084F24 00081E64  41 82 00 20 */	beq lbl_80084F44
lbl_80084F28:
/* 80084F28 00081E68  7C 69 03 A6 */	mtctr r3
lbl_80084F2C:
/* 80084F2C 00081E6C  8C 05 FF FF */	lbzu r0, -1(r5)
/* 80084F30 00081E70  9C 1E FF FF */	stbu r0, -1(r30)
/* 80084F34 00081E74  42 00 FF F8 */	bdnz lbl_80084F2C
/* 80084F38 00081E78  48 00 00 0C */	b lbl_80084F44
lbl_80084F3C:
/* 80084F3C 00081E7C  38 00 00 30 */	li r0, 0x30
/* 80084F40 00081E80  9C 1E FF FF */	stbu r0, -1(r30)
lbl_80084F44:
/* 80084F44 00081E84  88 01 00 1C */	lbz r0, 0x1c(r1)
/* 80084F48 00081E88  7C 00 07 75 */	extsb. r0, r0
/* 80084F4C 00081E8C  41 82 00 10 */	beq lbl_80084F5C
/* 80084F50 00081E90  38 00 00 2D */	li r0, 0x2d
/* 80084F54 00081E94  9C 1E FF FF */	stbu r0, -1(r30)
/* 80084F58 00081E98  48 00 00 2C */	b lbl_80084F84
lbl_80084F5C:
/* 80084F5C 00081E9C  88 1D 00 01 */	lbz r0, 1(r29)
/* 80084F60 00081EA0  28 00 00 01 */	cmplwi r0, 1
/* 80084F64 00081EA4  40 82 00 10 */	bne lbl_80084F74
/* 80084F68 00081EA8  38 00 00 2B */	li r0, 0x2b
/* 80084F6C 00081EAC  9C 1E FF FF */	stbu r0, -1(r30)
/* 80084F70 00081EB0  48 00 00 14 */	b lbl_80084F84
lbl_80084F74:
/* 80084F74 00081EB4  28 00 00 02 */	cmplwi r0, 2
/* 80084F78 00081EB8  40 82 00 0C */	bne lbl_80084F84
/* 80084F7C 00081EBC  38 00 00 20 */	li r0, 0x20
/* 80084F80 00081EC0  9C 1E FF FF */	stbu r0, -1(r30)
lbl_80084F84:
/* 80084F84 00081EC4  7F C3 F3 78 */	mr r3, r30
lbl_80084F88:
/* 80084F88 00081EC8  80 01 00 64 */	lwz r0, 0x64(r1)
/* 80084F8C 00081ECC  CB E1 00 58 */	lfd f31, 0x58(r1)
/* 80084F90 00081ED0  83 E1 00 54 */	lwz r31, 0x54(r1)
/* 80084F94 00081ED4  7C 08 03 A6 */	mtlr r0
/* 80084F98 00081ED8  83 C1 00 50 */	lwz r30, 0x50(r1)
/* 80084F9C 00081EDC  83 A1 00 4C */	lwz r29, 0x4c(r1)
/* 80084FA0 00081EE0  83 81 00 48 */	lwz r28, 0x48(r1)
/* 80084FA4 00081EE4  38 21 00 60 */	addi r1, r1, 0x60
/* 80084FA8 00081EE8  4E 80 00 20 */	blr 

.global round_decimal
round_decimal:
/* 80084FAC 00081EEC  2C 04 00 00 */	cmpwi r4, 0
/* 80084FB0 00081EF0  40 80 00 24 */	bge lbl_80084FD4
lbl_80084FB4:
/* 80084FB4 00081EF4  38 A0 00 00 */	li r5, 0
/* 80084FB8 00081EF8  98 A3 00 00 */	stb r5, 0(r3)
/* 80084FBC 00081EFC  38 80 00 01 */	li r4, 1
/* 80084FC0 00081F00  38 00 00 30 */	li r0, 0x30
/* 80084FC4 00081F04  B0 A3 00 02 */	sth r5, 2(r3)
/* 80084FC8 00081F08  98 83 00 04 */	stb r4, 4(r3)
/* 80084FCC 00081F0C  98 03 00 05 */	stb r0, 5(r3)
/* 80084FD0 00081F10  4E 80 00 20 */	blr 
lbl_80084FD4:
/* 80084FD4 00081F14  88 03 00 04 */	lbz r0, 4(r3)
/* 80084FD8 00081F18  7C 04 00 00 */	cmpw r4, r0
/* 80084FDC 00081F1C  4C 80 00 20 */	bgelr 
/* 80084FE0 00081F20  7C A3 22 14 */	add r5, r3, r4
/* 80084FE4 00081F24  39 05 00 06 */	addi r8, r5, 6
/* 80084FE8 00081F28  8C A8 FF FF */	lbzu r5, -1(r8)
/* 80084FEC 00081F2C  38 A5 FF D0 */	addi r5, r5, -48
/* 80084FF0 00081F30  7C A6 07 74 */	extsb r6, r5
/* 80084FF4 00081F34  2C 06 00 05 */	cmpwi r6, 5
/* 80084FF8 00081F38  40 82 00 44 */	bne lbl_8008503C
/* 80084FFC 00081F3C  7C A3 02 14 */	add r5, r3, r0
/* 80085000 00081F40  38 A5 00 05 */	addi r5, r5, 5
lbl_80085004:
/* 80085004 00081F44  38 A5 FF FF */	addi r5, r5, -1
/* 80085008 00081F48  7C 05 40 40 */	cmplw r5, r8
/* 8008500C 00081F4C  40 81 00 10 */	ble lbl_8008501C
/* 80085010 00081F50  88 05 00 00 */	lbz r0, 0(r5)
/* 80085014 00081F54  2C 00 00 30 */	cmpwi r0, 0x30
/* 80085018 00081F58  41 82 FF EC */	beq lbl_80085004
lbl_8008501C:
/* 8008501C 00081F5C  7C 05 40 40 */	cmplw r5, r8
/* 80085020 00081F60  40 82 00 10 */	bne lbl_80085030
/* 80085024 00081F64  88 08 FF FF */	lbz r0, -1(r8)
/* 80085028 00081F68  54 00 07 FE */	clrlwi r0, r0, 0x1f
/* 8008502C 00081F6C  48 00 00 08 */	b lbl_80085034
lbl_80085030:
/* 80085030 00081F70  38 00 00 01 */	li r0, 1
lbl_80085034:
/* 80085034 00081F74  7C 05 03 78 */	mr r5, r0
/* 80085038 00081F78  48 00 00 64 */	b lbl_8008509C
lbl_8008503C:
/* 8008503C 00081F7C  38 A0 00 05 */	li r5, 5
/* 80085040 00081F80  7C C0 2A 38 */	eqv r0, r6, r5
/* 80085044 00081F84  7C A6 28 10 */	subfc r5, r6, r5
/* 80085048 00081F88  54 00 0F FE */	srwi r0, r0, 0x1f
/* 8008504C 00081F8C  7C A0 01 94 */	addze r5, r0
/* 80085050 00081F90  54 A5 07 FE */	clrlwi r5, r5, 0x1f
/* 80085054 00081F94  48 00 00 48 */	b lbl_8008509C
lbl_80085058:
/* 80085058 00081F98  8C 08 FF FF */	lbzu r0, -1(r8)
/* 8008505C 00081F9C  7C E0 2A 14 */	add r7, r0, r5
/* 80085060 00081FA0  38 E7 FF D0 */	addi r7, r7, -48
/* 80085064 00081FA4  7C E5 07 74 */	extsb r5, r7
/* 80085068 00081FA8  7C A0 32 38 */	eqv r0, r5, r6
/* 8008506C 00081FAC  7C A5 30 10 */	subfc r5, r5, r6
/* 80085070 00081FB0  54 00 0F FE */	srwi r0, r0, 0x1f
/* 80085074 00081FB4  7C A0 01 94 */	addze r5, r0
/* 80085078 00081FB8  54 A5 07 FF */	clrlwi. r5, r5, 0x1f
/* 8008507C 00081FBC  40 82 00 0C */	bne lbl_80085088
/* 80085080 00081FC0  7C E0 07 75 */	extsb. r0, r7
/* 80085084 00081FC4  40 82 00 0C */	bne lbl_80085090
lbl_80085088:
/* 80085088 00081FC8  38 84 FF FF */	addi r4, r4, -1
/* 8008508C 00081FCC  48 00 00 14 */	b lbl_800850A0
lbl_80085090:
/* 80085090 00081FD0  38 07 00 30 */	addi r0, r7, 0x30
/* 80085094 00081FD4  98 08 00 00 */	stb r0, 0(r8)
/* 80085098 00081FD8  48 00 00 10 */	b lbl_800850A8
lbl_8008509C:
/* 8008509C 00081FDC  38 C0 00 09 */	li r6, 9
lbl_800850A0:
/* 800850A0 00081FE0  2C 04 00 00 */	cmpwi r4, 0
/* 800850A4 00081FE4  40 82 FF B4 */	bne lbl_80085058
lbl_800850A8:
/* 800850A8 00081FE8  2C 05 00 00 */	cmpwi r5, 0
/* 800850AC 00081FEC  41 82 00 24 */	beq lbl_800850D0
/* 800850B0 00081FF0  A8 A3 00 02 */	lha r5, 2(r3)
/* 800850B4 00081FF4  38 80 00 01 */	li r4, 1
/* 800850B8 00081FF8  38 00 00 31 */	li r0, 0x31
/* 800850BC 00081FFC  38 A5 00 01 */	addi r5, r5, 1
/* 800850C0 00082000  B0 A3 00 02 */	sth r5, 2(r3)
/* 800850C4 00082004  98 83 00 04 */	stb r4, 4(r3)
/* 800850C8 00082008  98 03 00 05 */	stb r0, 5(r3)
/* 800850CC 0008200C  4E 80 00 20 */	blr 
lbl_800850D0:
/* 800850D0 00082010  2C 04 00 00 */	cmpwi r4, 0
/* 800850D4 00082014  41 82 FE E0 */	beq lbl_80084FB4
/* 800850D8 00082018  98 83 00 04 */	stb r4, 4(r3)
/* 800850DC 0008201C  4E 80 00 20 */	blr 

.global longlong2str
longlong2str:
/* 800850E0 00082020  7C 08 02 A6 */	mflr r0
/* 800850E4 00082024  90 01 00 04 */	stw r0, 4(r1)
/* 800850E8 00082028  38 00 00 00 */	li r0, 0
/* 800850EC 0008202C  94 21 FF C0 */	stwu r1, -0x40(r1)
/* 800850F0 00082030  BE C1 00 18 */	stmw r22, 0x18(r1)
/* 800850F4 00082034  3A E5 00 00 */	addi r23, r5, 0
/* 800850F8 00082038  7C 85 02 78 */	xor r5, r4, r0
/* 800850FC 0008203C  3B 77 FF FF */	addi r27, r23, -1
/* 80085100 00082040  3B 06 00 00 */	addi r24, r6, 0
/* 80085104 00082044  3B C4 00 00 */	addi r30, r4, 0
/* 80085108 00082048  3B E3 00 00 */	addi r31, r3, 0
/* 8008510C 0008204C  3B 20 00 00 */	li r25, 0
/* 80085110 00082050  3B 40 00 00 */	li r26, 0
/* 80085114 00082054  98 17 FF FF */	stb r0, -1(r23)
/* 80085118 00082058  7C 60 02 78 */	xor r0, r3, r0
/* 8008511C 0008205C  7C A0 03 79 */	or. r0, r5, r0
/* 80085120 00082060  40 82 00 30 */	bne lbl_80085150
/* 80085124 00082064  80 18 00 0C */	lwz r0, 0xc(r24)
/* 80085128 00082068  2C 00 00 00 */	cmpwi r0, 0
/* 8008512C 0008206C  40 82 00 24 */	bne lbl_80085150
/* 80085130 00082070  88 18 00 03 */	lbz r0, 3(r24)
/* 80085134 00082074  28 00 00 00 */	cmplwi r0, 0
/* 80085138 00082078  41 82 00 10 */	beq lbl_80085148
/* 8008513C 0008207C  88 18 00 05 */	lbz r0, 5(r24)
/* 80085140 00082080  28 00 00 6F */	cmplwi r0, 0x6f
/* 80085144 00082084  41 82 00 0C */	beq lbl_80085150
lbl_80085148:
/* 80085148 00082088  7F 63 DB 78 */	mr r3, r27
/* 8008514C 0008208C  48 00 02 60 */	b lbl_800853AC
lbl_80085150:
/* 80085150 00082090  88 B8 00 05 */	lbz r5, 5(r24)
/* 80085154 00082094  38 05 FF A8 */	addi r0, r5, -88
/* 80085158 00082098  28 00 00 20 */	cmplwi r0, 0x20
/* 8008515C 0008209C  41 81 00 8C */	bgt lbl_800851E8
/* 80085160 000820A0  3C A0 80 3B */	lis r5, "@1009"@ha
/* 80085164 000820A4  38 A5 EC D8 */	addi r5, r5, "@1009"@l
/* 80085168 000820A8  54 00 10 3A */	slwi r0, r0, 2
/* 8008516C 000820AC  7C 05 00 2E */	lwzx r0, r5, r0
/* 80085170 000820B0  7C 09 03 A6 */	mtctr r0
/* 80085174 000820B4  4E 80 04 20 */	bctr 
lbl_80085178:
/* 80085178 000820B8  38 00 00 00 */	li r0, 0
/* 8008517C 000820BC  6C 65 80 00 */	xoris r5, r3, 0x8000
/* 80085180 000820C0  6C 03 80 00 */	xoris r3, r0, 0x8000
/* 80085184 000820C4  7C 00 20 10 */	subfc r0, r0, r4
/* 80085188 000820C8  7C 63 29 10 */	subfe r3, r3, r5
/* 8008518C 000820CC  7C 65 29 10 */	subfe r3, r5, r5
/* 80085190 000820D0  7C 63 00 D1 */	neg. r3, r3
/* 80085194 000820D4  3B 80 00 0A */	li r28, 0xa
/* 80085198 000820D8  3B A0 00 00 */	li r29, 0
/* 8008519C 000820DC  41 82 00 4C */	beq lbl_800851E8
/* 800851A0 000820E0  23 DE 00 00 */	subfic r30, r30, 0
/* 800851A4 000820E4  7F FF 01 90 */	subfze r31, r31
/* 800851A8 000820E8  3B 20 00 01 */	li r25, 1
/* 800851AC 000820EC  48 00 00 3C */	b lbl_800851E8
lbl_800851B0:
/* 800851B0 000820F0  38 00 00 00 */	li r0, 0
/* 800851B4 000820F4  98 18 00 01 */	stb r0, 1(r24)
/* 800851B8 000820F8  3B 80 00 08 */	li r28, 8
/* 800851BC 000820FC  3B A0 00 00 */	li r29, 0
/* 800851C0 00082100  48 00 00 28 */	b lbl_800851E8
lbl_800851C4:
/* 800851C4 00082104  38 00 00 00 */	li r0, 0
/* 800851C8 00082108  98 18 00 01 */	stb r0, 1(r24)
/* 800851CC 0008210C  3B 80 00 0A */	li r28, 0xa
/* 800851D0 00082110  3B A0 00 00 */	li r29, 0
/* 800851D4 00082114  48 00 00 14 */	b lbl_800851E8
lbl_800851D8:
/* 800851D8 00082118  38 00 00 00 */	li r0, 0
/* 800851DC 0008211C  98 18 00 01 */	stb r0, 1(r24)
/* 800851E0 00082120  3B 80 00 10 */	li r28, 0x10
/* 800851E4 00082124  3B A0 00 00 */	li r29, 0
lbl_800851E8:
/* 800851E8 00082128  38 7F 00 00 */	addi r3, r31, 0
/* 800851EC 0008212C  38 9E 00 00 */	addi r4, r30, 0
/* 800851F0 00082130  38 BD 00 00 */	addi r5, r29, 0
/* 800851F4 00082134  38 DC 00 00 */	addi r6, r28, 0
/* 800851F8 00082138  4B FF DC 45 */	bl __mod2u
/* 800851FC 0008213C  3A C4 00 00 */	addi r22, r4, 0
/* 80085200 00082140  38 7F 00 00 */	addi r3, r31, 0
/* 80085204 00082144  38 9E 00 00 */	addi r4, r30, 0
/* 80085208 00082148  38 BD 00 00 */	addi r5, r29, 0
/* 8008520C 0008214C  38 DC 00 00 */	addi r6, r28, 0
/* 80085210 00082150  4B FF DA 09 */	bl __div2u
/* 80085214 00082154  2C 16 00 0A */	cmpwi r22, 0xa
/* 80085218 00082158  3B C4 00 00 */	addi r30, r4, 0
/* 8008521C 0008215C  3B E3 00 00 */	addi r31, r3, 0
/* 80085220 00082160  40 80 00 0C */	bge lbl_8008522C
/* 80085224 00082164  38 B6 00 30 */	addi r5, r22, 0x30
/* 80085228 00082168  48 00 00 1C */	b lbl_80085244
lbl_8008522C:
/* 8008522C 0008216C  88 18 00 05 */	lbz r0, 5(r24)
/* 80085230 00082170  28 00 00 78 */	cmplwi r0, 0x78
/* 80085234 00082174  40 82 00 0C */	bne lbl_80085240
/* 80085238 00082178  38 B6 00 57 */	addi r5, r22, 0x57
/* 8008523C 0008217C  48 00 00 08 */	b lbl_80085244
lbl_80085240:
/* 80085240 00082180  38 B6 00 37 */	addi r5, r22, 0x37
lbl_80085244:
/* 80085244 00082184  38 80 00 00 */	li r4, 0
/* 80085248 00082188  7F C3 22 78 */	xor r3, r30, r4
/* 8008524C 0008218C  7F E0 22 78 */	xor r0, r31, r4
/* 80085250 00082190  7C 60 03 79 */	or. r0, r3, r0
/* 80085254 00082194  7C A0 07 74 */	extsb r0, r5
/* 80085258 00082198  3B 5A 00 01 */	addi r26, r26, 1
/* 8008525C 0008219C  9C 1B FF FF */	stbu r0, -1(r27)
/* 80085260 000821A0  40 82 FF 88 */	bne lbl_800851E8
/* 80085264 000821A4  38 00 00 08 */	li r0, 8
/* 80085268 000821A8  7F 83 02 78 */	xor r3, r28, r0
/* 8008526C 000821AC  7F A0 22 78 */	xor r0, r29, r4
/* 80085270 000821B0  7C 60 03 79 */	or. r0, r3, r0
/* 80085274 000821B4  40 82 00 28 */	bne lbl_8008529C
/* 80085278 000821B8  88 18 00 03 */	lbz r0, 3(r24)
/* 8008527C 000821BC  28 00 00 00 */	cmplwi r0, 0
/* 80085280 000821C0  41 82 00 1C */	beq lbl_8008529C
/* 80085284 000821C4  88 1B 00 00 */	lbz r0, 0(r27)
/* 80085288 000821C8  2C 00 00 30 */	cmpwi r0, 0x30
/* 8008528C 000821CC  41 82 00 10 */	beq lbl_8008529C
/* 80085290 000821D0  38 00 00 30 */	li r0, 0x30
/* 80085294 000821D4  9C 1B FF FF */	stbu r0, -1(r27)
/* 80085298 000821D8  3B 5A 00 01 */	addi r26, r26, 1
lbl_8008529C:
/* 8008529C 000821DC  88 18 00 00 */	lbz r0, 0(r24)
/* 800852A0 000821E0  28 00 00 02 */	cmplwi r0, 2
/* 800852A4 000821E4  40 82 00 5C */	bne lbl_80085300
/* 800852A8 000821E8  80 18 00 08 */	lwz r0, 8(r24)
/* 800852AC 000821EC  2C 19 00 00 */	cmpwi r25, 0
/* 800852B0 000821F0  90 18 00 0C */	stw r0, 0xc(r24)
/* 800852B4 000821F4  40 82 00 10 */	bne lbl_800852C4
/* 800852B8 000821F8  88 18 00 01 */	lbz r0, 1(r24)
/* 800852BC 000821FC  28 00 00 00 */	cmplwi r0, 0
/* 800852C0 00082200  41 82 00 10 */	beq lbl_800852D0
lbl_800852C4:
/* 800852C4 00082204  80 78 00 0C */	lwz r3, 0xc(r24)
/* 800852C8 00082208  38 03 FF FF */	addi r0, r3, -1
/* 800852CC 0008220C  90 18 00 0C */	stw r0, 0xc(r24)
lbl_800852D0:
/* 800852D0 00082210  38 60 00 10 */	li r3, 0x10
/* 800852D4 00082214  38 00 00 00 */	li r0, 0
/* 800852D8 00082218  7F 83 1A 78 */	xor r3, r28, r3
/* 800852DC 0008221C  7F A0 02 78 */	xor r0, r29, r0
/* 800852E0 00082220  7C 60 03 79 */	or. r0, r3, r0
/* 800852E4 00082224  40 82 00 1C */	bne lbl_80085300
/* 800852E8 00082228  88 18 00 03 */	lbz r0, 3(r24)
/* 800852EC 0008222C  28 00 00 00 */	cmplwi r0, 0
/* 800852F0 00082230  41 82 00 10 */	beq lbl_80085300
/* 800852F4 00082234  80 78 00 0C */	lwz r3, 0xc(r24)
/* 800852F8 00082238  38 03 FF FE */	addi r0, r3, -2
/* 800852FC 0008223C  90 18 00 0C */	stw r0, 0xc(r24)
lbl_80085300:
/* 80085300 00082240  80 78 00 0C */	lwz r3, 0xc(r24)
/* 80085304 00082244  7C 1B B8 50 */	subf r0, r27, r23
/* 80085308 00082248  7C 03 02 14 */	add r0, r3, r0
/* 8008530C 0008224C  2C 00 01 FD */	cmpwi r0, 0x1fd
/* 80085310 00082250  40 81 00 0C */	ble lbl_8008531C
/* 80085314 00082254  38 60 00 00 */	li r3, 0
/* 80085318 00082258  48 00 00 94 */	b lbl_800853AC
lbl_8008531C:
/* 8008531C 0008225C  38 60 00 30 */	li r3, 0x30
/* 80085320 00082260  48 00 00 0C */	b lbl_8008532C
lbl_80085324:
/* 80085324 00082264  9C 7B FF FF */	stbu r3, -1(r27)
/* 80085328 00082268  3B 5A 00 01 */	addi r26, r26, 1
lbl_8008532C:
/* 8008532C 0008226C  80 18 00 0C */	lwz r0, 0xc(r24)
/* 80085330 00082270  7C 1A 00 00 */	cmpw r26, r0
/* 80085334 00082274  41 80 FF F0 */	blt lbl_80085324
/* 80085338 00082278  38 60 00 10 */	li r3, 0x10
/* 8008533C 0008227C  38 00 00 00 */	li r0, 0
/* 80085340 00082280  7F 83 1A 78 */	xor r3, r28, r3
/* 80085344 00082284  7F A0 02 78 */	xor r0, r29, r0
/* 80085348 00082288  7C 60 03 79 */	or. r0, r3, r0
/* 8008534C 0008228C  40 82 00 20 */	bne lbl_8008536C
/* 80085350 00082290  88 18 00 03 */	lbz r0, 3(r24)
/* 80085354 00082294  28 00 00 00 */	cmplwi r0, 0
/* 80085358 00082298  41 82 00 14 */	beq lbl_8008536C
/* 8008535C 0008229C  88 78 00 05 */	lbz r3, 5(r24)
/* 80085360 000822A0  38 00 00 30 */	li r0, 0x30
/* 80085364 000822A4  98 7B FF FF */	stb r3, -1(r27)
/* 80085368 000822A8  9C 1B FF FE */	stbu r0, -2(r27)
lbl_8008536C:
/* 8008536C 000822AC  2C 19 00 00 */	cmpwi r25, 0
/* 80085370 000822B0  41 82 00 10 */	beq lbl_80085380
/* 80085374 000822B4  38 00 00 2D */	li r0, 0x2d
/* 80085378 000822B8  9C 1B FF FF */	stbu r0, -1(r27)
/* 8008537C 000822BC  48 00 00 2C */	b lbl_800853A8
lbl_80085380:
/* 80085380 000822C0  88 18 00 01 */	lbz r0, 1(r24)
/* 80085384 000822C4  28 00 00 01 */	cmplwi r0, 1
/* 80085388 000822C8  40 82 00 10 */	bne lbl_80085398
/* 8008538C 000822CC  38 00 00 2B */	li r0, 0x2b
/* 80085390 000822D0  9C 1B FF FF */	stbu r0, -1(r27)
/* 80085394 000822D4  48 00 00 14 */	b lbl_800853A8
lbl_80085398:
/* 80085398 000822D8  28 00 00 02 */	cmplwi r0, 2
/* 8008539C 000822DC  40 82 00 0C */	bne lbl_800853A8
/* 800853A0 000822E0  38 00 00 20 */	li r0, 0x20
/* 800853A4 000822E4  9C 1B FF FF */	stbu r0, -1(r27)
lbl_800853A8:
/* 800853A8 000822E8  7F 63 DB 78 */	mr r3, r27
lbl_800853AC:
/* 800853AC 000822EC  BA C1 00 18 */	lmw r22, 0x18(r1)
/* 800853B0 000822F0  80 01 00 44 */	lwz r0, 0x44(r1)
/* 800853B4 000822F4  38 21 00 40 */	addi r1, r1, 0x40
/* 800853B8 000822F8  7C 08 03 A6 */	mtlr r0
/* 800853BC 000822FC  4E 80 00 20 */	blr 

.global long2str
long2str:
/* 800853C0 00082300  38 E0 00 00 */	li r7, 0
/* 800853C4 00082304  98 E4 FF FF */	stb r7, -1(r4)
/* 800853C8 00082308  2C 03 00 00 */	cmpwi r3, 0
/* 800853CC 0008230C  38 C4 FF FF */	addi r6, r4, -1
/* 800853D0 00082310  39 00 00 00 */	li r8, 0
/* 800853D4 00082314  38 E0 00 00 */	li r7, 0
/* 800853D8 00082318  40 82 00 30 */	bne lbl_80085408
/* 800853DC 0008231C  81 25 00 0C */	lwz r9, 0xc(r5)
/* 800853E0 00082320  2C 09 00 00 */	cmpwi r9, 0
/* 800853E4 00082324  40 82 00 24 */	bne lbl_80085408
/* 800853E8 00082328  89 25 00 03 */	lbz r9, 3(r5)
/* 800853EC 0008232C  28 09 00 00 */	cmplwi r9, 0
/* 800853F0 00082330  41 82 00 10 */	beq lbl_80085400
/* 800853F4 00082334  89 25 00 05 */	lbz r9, 5(r5)
/* 800853F8 00082338  28 09 00 6F */	cmplwi r9, 0x6f
/* 800853FC 0008233C  41 82 00 0C */	beq lbl_80085408
lbl_80085400:
/* 80085400 00082340  7C C3 33 78 */	mr r3, r6
/* 80085404 00082344  4E 80 00 20 */	blr 
lbl_80085408:
/* 80085408 00082348  89 25 00 05 */	lbz r9, 5(r5)
/* 8008540C 0008234C  39 49 FF A8 */	addi r10, r9, -88
/* 80085410 00082350  28 0A 00 20 */	cmplwi r10, 0x20
/* 80085414 00082354  41 81 00 60 */	bgt lbl_80085474
/* 80085418 00082358  3D 20 80 3B */	lis r9, "@1066"@ha
/* 8008541C 0008235C  39 29 ED 5C */	addi r9, r9, "@1066"@l
/* 80085420 00082360  55 4A 10 3A */	slwi r10, r10, 2
/* 80085424 00082364  7D 29 50 2E */	lwzx r9, r9, r10
/* 80085428 00082368  7D 29 03 A6 */	mtctr r9
/* 8008542C 0008236C  4E 80 04 20 */	bctr 
lbl_80085430:
/* 80085430 00082370  2C 03 00 00 */	cmpwi r3, 0
/* 80085434 00082374  38 00 00 0A */	li r0, 0xa
/* 80085438 00082378  40 80 00 3C */	bge lbl_80085474
/* 8008543C 0008237C  7C 63 00 D0 */	neg r3, r3
/* 80085440 00082380  39 00 00 01 */	li r8, 1
/* 80085444 00082384  48 00 00 30 */	b lbl_80085474
lbl_80085448:
/* 80085448 00082388  38 00 00 00 */	li r0, 0
/* 8008544C 0008238C  98 05 00 01 */	stb r0, 1(r5)
/* 80085450 00082390  38 00 00 08 */	li r0, 8
/* 80085454 00082394  48 00 00 20 */	b lbl_80085474
lbl_80085458:
/* 80085458 00082398  38 00 00 00 */	li r0, 0
/* 8008545C 0008239C  98 05 00 01 */	stb r0, 1(r5)
/* 80085460 000823A0  38 00 00 0A */	li r0, 0xa
/* 80085464 000823A4  48 00 00 10 */	b lbl_80085474
lbl_80085468:
/* 80085468 000823A8  38 00 00 00 */	li r0, 0
/* 8008546C 000823AC  98 05 00 01 */	stb r0, 1(r5)
/* 80085470 000823B0  38 00 00 10 */	li r0, 0x10
lbl_80085474:
/* 80085474 000823B4  7D 23 03 96 */	divwu r9, r3, r0
/* 80085478 000823B8  7D 29 01 D6 */	mullw r9, r9, r0
/* 8008547C 000823BC  7D 49 18 50 */	subf r10, r9, r3
/* 80085480 000823C0  7C 63 03 96 */	divwu r3, r3, r0
/* 80085484 000823C4  2C 0A 00 0A */	cmpwi r10, 0xa
/* 80085488 000823C8  40 80 00 0C */	bge lbl_80085494
/* 8008548C 000823CC  39 4A 00 30 */	addi r10, r10, 0x30
/* 80085490 000823D0  48 00 00 1C */	b lbl_800854AC
lbl_80085494:
/* 80085494 000823D4  89 25 00 05 */	lbz r9, 5(r5)
/* 80085498 000823D8  28 09 00 78 */	cmplwi r9, 0x78
/* 8008549C 000823DC  40 82 00 0C */	bne lbl_800854A8
/* 800854A0 000823E0  39 4A 00 57 */	addi r10, r10, 0x57
/* 800854A4 000823E4  48 00 00 08 */	b lbl_800854AC
lbl_800854A8:
/* 800854A8 000823E8  39 4A 00 37 */	addi r10, r10, 0x37
lbl_800854AC:
/* 800854AC 000823EC  7D 49 07 74 */	extsb r9, r10
/* 800854B0 000823F0  99 26 FF FF */	stb r9, -1(r6)
/* 800854B4 000823F4  28 03 00 00 */	cmplwi r3, 0
/* 800854B8 000823F8  38 C6 FF FF */	addi r6, r6, -1
/* 800854BC 000823FC  38 E7 00 01 */	addi r7, r7, 1
/* 800854C0 00082400  40 82 FF B4 */	bne lbl_80085474
/* 800854C4 00082404  28 00 00 08 */	cmplwi r0, 8
/* 800854C8 00082408  40 82 00 28 */	bne lbl_800854F0
/* 800854CC 0008240C  88 65 00 03 */	lbz r3, 3(r5)
/* 800854D0 00082410  28 03 00 00 */	cmplwi r3, 0
/* 800854D4 00082414  41 82 00 1C */	beq lbl_800854F0
/* 800854D8 00082418  88 66 00 00 */	lbz r3, 0(r6)
/* 800854DC 0008241C  2C 03 00 30 */	cmpwi r3, 0x30
/* 800854E0 00082420  41 82 00 10 */	beq lbl_800854F0
/* 800854E4 00082424  38 60 00 30 */	li r3, 0x30
/* 800854E8 00082428  9C 66 FF FF */	stbu r3, -1(r6)
/* 800854EC 0008242C  38 E7 00 01 */	addi r7, r7, 1
lbl_800854F0:
/* 800854F0 00082430  88 65 00 00 */	lbz r3, 0(r5)
/* 800854F4 00082434  28 03 00 02 */	cmplwi r3, 2
/* 800854F8 00082438  40 82 00 4C */	bne lbl_80085544
/* 800854FC 0008243C  80 65 00 08 */	lwz r3, 8(r5)
/* 80085500 00082440  2C 08 00 00 */	cmpwi r8, 0
/* 80085504 00082444  90 65 00 0C */	stw r3, 0xc(r5)
/* 80085508 00082448  40 82 00 10 */	bne lbl_80085518
/* 8008550C 0008244C  88 65 00 01 */	lbz r3, 1(r5)
/* 80085510 00082450  28 03 00 00 */	cmplwi r3, 0
/* 80085514 00082454  41 82 00 10 */	beq lbl_80085524
lbl_80085518:
/* 80085518 00082458  80 65 00 0C */	lwz r3, 0xc(r5)
/* 8008551C 0008245C  38 63 FF FF */	addi r3, r3, -1
/* 80085520 00082460  90 65 00 0C */	stw r3, 0xc(r5)
lbl_80085524:
/* 80085524 00082464  28 00 00 10 */	cmplwi r0, 0x10
/* 80085528 00082468  40 82 00 1C */	bne lbl_80085544
/* 8008552C 0008246C  88 65 00 03 */	lbz r3, 3(r5)
/* 80085530 00082470  28 03 00 00 */	cmplwi r3, 0
/* 80085534 00082474  41 82 00 10 */	beq lbl_80085544
/* 80085538 00082478  80 65 00 0C */	lwz r3, 0xc(r5)
/* 8008553C 0008247C  38 63 FF FE */	addi r3, r3, -2
/* 80085540 00082480  90 65 00 0C */	stw r3, 0xc(r5)
lbl_80085544:
/* 80085544 00082484  81 25 00 0C */	lwz r9, 0xc(r5)
/* 80085548 00082488  7C 66 20 50 */	subf r3, r6, r4
/* 8008554C 0008248C  7C 69 1A 14 */	add r3, r9, r3
/* 80085550 00082490  2C 03 01 FD */	cmpwi r3, 0x1fd
/* 80085554 00082494  40 81 00 0C */	ble lbl_80085560
/* 80085558 00082498  38 60 00 00 */	li r3, 0
/* 8008555C 0008249C  4E 80 00 20 */	blr 
lbl_80085560:
/* 80085560 000824A0  38 80 00 30 */	li r4, 0x30
/* 80085564 000824A4  48 00 00 0C */	b lbl_80085570
lbl_80085568:
/* 80085568 000824A8  9C 86 FF FF */	stbu r4, -1(r6)
/* 8008556C 000824AC  38 E7 00 01 */	addi r7, r7, 1
lbl_80085570:
/* 80085570 000824B0  80 65 00 0C */	lwz r3, 0xc(r5)
/* 80085574 000824B4  7C 07 18 00 */	cmpw r7, r3
/* 80085578 000824B8  41 80 FF F0 */	blt lbl_80085568
/* 8008557C 000824BC  28 00 00 10 */	cmplwi r0, 0x10
/* 80085580 000824C0  40 82 00 20 */	bne lbl_800855A0
/* 80085584 000824C4  88 05 00 03 */	lbz r0, 3(r5)
/* 80085588 000824C8  28 00 00 00 */	cmplwi r0, 0
/* 8008558C 000824CC  41 82 00 14 */	beq lbl_800855A0
/* 80085590 000824D0  88 65 00 05 */	lbz r3, 5(r5)
/* 80085594 000824D4  38 00 00 30 */	li r0, 0x30
/* 80085598 000824D8  98 66 FF FF */	stb r3, -1(r6)
/* 8008559C 000824DC  9C 06 FF FE */	stbu r0, -2(r6)
lbl_800855A0:
/* 800855A0 000824E0  2C 08 00 00 */	cmpwi r8, 0
/* 800855A4 000824E4  41 82 00 10 */	beq lbl_800855B4
/* 800855A8 000824E8  38 00 00 2D */	li r0, 0x2d
/* 800855AC 000824EC  9C 06 FF FF */	stbu r0, -1(r6)
/* 800855B0 000824F0  48 00 00 2C */	b lbl_800855DC
lbl_800855B4:
/* 800855B4 000824F4  88 05 00 01 */	lbz r0, 1(r5)
/* 800855B8 000824F8  28 00 00 01 */	cmplwi r0, 1
/* 800855BC 000824FC  40 82 00 10 */	bne lbl_800855CC
/* 800855C0 00082500  38 00 00 2B */	li r0, 0x2b
/* 800855C4 00082504  9C 06 FF FF */	stbu r0, -1(r6)
/* 800855C8 00082508  48 00 00 14 */	b lbl_800855DC
lbl_800855CC:
/* 800855CC 0008250C  28 00 00 02 */	cmplwi r0, 2
/* 800855D0 00082510  40 82 00 0C */	bne lbl_800855DC
/* 800855D4 00082514  38 00 00 20 */	li r0, 0x20
/* 800855D8 00082518  9C 06 FF FF */	stbu r0, -1(r6)
lbl_800855DC:
/* 800855DC 0008251C  7C C3 33 78 */	mr r3, r6
/* 800855E0 00082520  4E 80 00 20 */	blr 

.global parse_format
parse_format:
/* 800855E4 00082524  7C 08 02 A6 */	mflr r0
/* 800855E8 00082528  90 01 00 04 */	stw r0, 4(r1)
/* 800855EC 0008252C  38 00 00 01 */	li r0, 1
/* 800855F0 00082530  94 21 FF C8 */	stwu r1, -0x38(r1)
/* 800855F4 00082534  93 E1 00 34 */	stw r31, 0x34(r1)
/* 800855F8 00082538  3B E3 00 01 */	addi r31, r3, 1
/* 800855FC 0008253C  93 C1 00 30 */	stw r30, 0x30(r1)
/* 80085600 00082540  3B C5 00 00 */	addi r30, r5, 0
/* 80085604 00082544  93 A1 00 2C */	stw r29, 0x2c(r1)
/* 80085608 00082548  3B A4 00 00 */	addi r29, r4, 0
/* 8008560C 0008254C  98 01 00 14 */	stb r0, 0x14(r1)
/* 80085610 00082550  38 00 00 00 */	li r0, 0
/* 80085614 00082554  98 01 00 15 */	stb r0, 0x15(r1)
/* 80085618 00082558  98 01 00 16 */	stb r0, 0x16(r1)
/* 8008561C 0008255C  98 01 00 17 */	stb r0, 0x17(r1)
/* 80085620 00082560  98 01 00 18 */	stb r0, 0x18(r1)
/* 80085624 00082564  90 01 00 1C */	stw r0, 0x1c(r1)
/* 80085628 00082568  90 01 00 20 */	stw r0, 0x20(r1)
/* 8008562C 0008256C  88 63 00 01 */	lbz r3, 1(r3)
/* 80085630 00082570  7C 63 07 74 */	extsb r3, r3
/* 80085634 00082574  2C 03 00 25 */	cmpwi r3, 0x25
/* 80085638 00082578  40 82 00 30 */	bne lbl_80085668
/* 8008563C 0008257C  98 61 00 19 */	stb r3, 0x19(r1)
/* 80085640 00082580  38 7F 00 01 */	addi r3, r31, 1
/* 80085644 00082584  80 81 00 14 */	lwz r4, 0x14(r1)
/* 80085648 00082588  80 01 00 18 */	lwz r0, 0x18(r1)
/* 8008564C 0008258C  90 9E 00 00 */	stw r4, 0(r30)
/* 80085650 00082590  90 1E 00 04 */	stw r0, 4(r30)
/* 80085654 00082594  80 81 00 1C */	lwz r4, 0x1c(r1)
/* 80085658 00082598  80 01 00 20 */	lwz r0, 0x20(r1)
/* 8008565C 0008259C  90 9E 00 08 */	stw r4, 8(r30)
/* 80085660 000825A0  90 1E 00 0C */	stw r0, 0xc(r30)
/* 80085664 000825A4  48 00 04 3C */	b lbl_80085AA0
lbl_80085668:
/* 80085668 000825A8  3C 80 80 3B */	lis r4, "@1185"@ha
/* 8008566C 000825AC  38 84 EE B0 */	addi r4, r4, "@1185"@l
lbl_80085670:
/* 80085670 000825B0  38 03 FF E0 */	addi r0, r3, -32
/* 80085674 000825B4  28 00 00 10 */	cmplwi r0, 0x10
/* 80085678 000825B8  38 A0 00 01 */	li r5, 1
/* 8008567C 000825BC  41 81 00 68 */	bgt lbl_800856E4
/* 80085680 000825C0  54 00 10 3A */	slwi r0, r0, 2
/* 80085684 000825C4  7C 04 00 2E */	lwzx r0, r4, r0
/* 80085688 000825C8  7C 09 03 A6 */	mtctr r0
/* 8008568C 000825CC  4E 80 04 20 */	bctr 
lbl_80085690:
/* 80085690 000825D0  38 00 00 00 */	li r0, 0
/* 80085694 000825D4  98 01 00 14 */	stb r0, 0x14(r1)
/* 80085698 000825D8  48 00 00 50 */	b lbl_800856E8
lbl_8008569C:
/* 8008569C 000825DC  38 00 00 01 */	li r0, 1
/* 800856A0 000825E0  98 01 00 15 */	stb r0, 0x15(r1)
/* 800856A4 000825E4  48 00 00 44 */	b lbl_800856E8
lbl_800856A8:
/* 800856A8 000825E8  88 01 00 15 */	lbz r0, 0x15(r1)
/* 800856AC 000825EC  28 00 00 01 */	cmplwi r0, 1
/* 800856B0 000825F0  41 82 00 38 */	beq lbl_800856E8
/* 800856B4 000825F4  38 00 00 02 */	li r0, 2
/* 800856B8 000825F8  98 01 00 15 */	stb r0, 0x15(r1)
/* 800856BC 000825FC  48 00 00 2C */	b lbl_800856E8
lbl_800856C0:
/* 800856C0 00082600  38 00 00 01 */	li r0, 1
/* 800856C4 00082604  98 01 00 17 */	stb r0, 0x17(r1)
/* 800856C8 00082608  48 00 00 20 */	b lbl_800856E8
lbl_800856CC:
/* 800856CC 0008260C  88 01 00 14 */	lbz r0, 0x14(r1)
/* 800856D0 00082610  28 00 00 00 */	cmplwi r0, 0
/* 800856D4 00082614  41 82 00 14 */	beq lbl_800856E8
/* 800856D8 00082618  38 00 00 02 */	li r0, 2
/* 800856DC 0008261C  98 01 00 14 */	stb r0, 0x14(r1)
/* 800856E0 00082620  48 00 00 08 */	b lbl_800856E8
lbl_800856E4:
/* 800856E4 00082624  38 A0 00 00 */	li r5, 0
lbl_800856E8:
/* 800856E8 00082628  2C 05 00 00 */	cmpwi r5, 0
/* 800856EC 0008262C  41 82 00 10 */	beq lbl_800856FC
/* 800856F0 00082630  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 800856F4 00082634  7C 63 07 74 */	extsb r3, r3
/* 800856F8 00082638  4B FF FF 78 */	b lbl_80085670
lbl_800856FC:
/* 800856FC 0008263C  2C 03 00 2A */	cmpwi r3, 0x2a
/* 80085700 00082640  40 82 00 40 */	bne lbl_80085740
/* 80085704 00082644  38 7D 00 00 */	addi r3, r29, 0
/* 80085708 00082648  38 80 00 01 */	li r4, 1
/* 8008570C 0008264C  4B FF CE E1 */	bl __va_arg
/* 80085710 00082650  80 03 00 00 */	lwz r0, 0(r3)
/* 80085714 00082654  2C 00 00 00 */	cmpwi r0, 0
/* 80085718 00082658  90 01 00 1C */	stw r0, 0x1c(r1)
/* 8008571C 0008265C  40 80 00 18 */	bge lbl_80085734
/* 80085720 00082660  38 00 00 00 */	li r0, 0
/* 80085724 00082664  98 01 00 14 */	stb r0, 0x14(r1)
/* 80085728 00082668  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 8008572C 0008266C  7C 00 00 D0 */	neg r0, r0
/* 80085730 00082670  90 01 00 1C */	stw r0, 0x1c(r1)
lbl_80085734:
/* 80085734 00082674  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 80085738 00082678  7C 63 07 74 */	extsb r3, r3
/* 8008573C 0008267C  48 00 00 40 */	b lbl_8008577C
lbl_80085740:
/* 80085740 00082680  3C 80 80 37 */	lis r4, __ctype_map@ha
/* 80085744 00082684  38 A4 16 20 */	addi r5, r4, __ctype_map@l
/* 80085748 00082688  48 00 00 20 */	b lbl_80085768
lbl_8008574C:
/* 8008574C 0008268C  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 80085750 00082690  1C 00 00 0A */	mulli r0, r0, 0xa
/* 80085754 00082694  7C 63 02 14 */	add r3, r3, r0
/* 80085758 00082698  38 03 FF D0 */	addi r0, r3, -48
/* 8008575C 0008269C  90 01 00 1C */	stw r0, 0x1c(r1)
/* 80085760 000826A0  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 80085764 000826A4  7C 63 07 74 */	extsb r3, r3
lbl_80085768:
/* 80085768 000826A8  54 60 06 3E */	clrlwi r0, r3, 0x18
/* 8008576C 000826AC  7C 85 02 14 */	add r4, r5, r0
/* 80085770 000826B0  88 04 00 00 */	lbz r0, 0(r4)
/* 80085774 000826B4  54 00 06 F7 */	rlwinm. r0, r0, 0, 0x1b, 0x1b
/* 80085778 000826B8  40 82 FF D4 */	bne lbl_8008574C
lbl_8008577C:
/* 8008577C 000826BC  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 80085780 000826C0  2C 00 01 FD */	cmpwi r0, 0x1fd
/* 80085784 000826C4  40 81 00 34 */	ble lbl_800857B8
/* 80085788 000826C8  38 00 00 FF */	li r0, 0xff
/* 8008578C 000826CC  98 01 00 19 */	stb r0, 0x19(r1)
/* 80085790 000826D0  38 7F 00 01 */	addi r3, r31, 1
/* 80085794 000826D4  80 81 00 14 */	lwz r4, 0x14(r1)
/* 80085798 000826D8  80 01 00 18 */	lwz r0, 0x18(r1)
/* 8008579C 000826DC  90 9E 00 00 */	stw r4, 0(r30)
/* 800857A0 000826E0  90 1E 00 04 */	stw r0, 4(r30)
/* 800857A4 000826E4  80 81 00 1C */	lwz r4, 0x1c(r1)
/* 800857A8 000826E8  80 01 00 20 */	lwz r0, 0x20(r1)
/* 800857AC 000826EC  90 9E 00 08 */	stw r4, 8(r30)
/* 800857B0 000826F0  90 1E 00 0C */	stw r0, 0xc(r30)
/* 800857B4 000826F4  48 00 02 EC */	b lbl_80085AA0
lbl_800857B8:
/* 800857B8 000826F8  2C 03 00 2E */	cmpwi r3, 0x2e
/* 800857BC 000826FC  40 82 00 88 */	bne lbl_80085844
/* 800857C0 00082700  38 00 00 01 */	li r0, 1
/* 800857C4 00082704  98 01 00 16 */	stb r0, 0x16(r1)
/* 800857C8 00082708  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 800857CC 0008270C  7C 63 07 74 */	extsb r3, r3
/* 800857D0 00082710  2C 03 00 2A */	cmpwi r3, 0x2a
/* 800857D4 00082714  40 82 00 34 */	bne lbl_80085808
/* 800857D8 00082718  38 7D 00 00 */	addi r3, r29, 0
/* 800857DC 0008271C  38 80 00 01 */	li r4, 1
/* 800857E0 00082720  4B FF CE 0D */	bl __va_arg
/* 800857E4 00082724  80 03 00 00 */	lwz r0, 0(r3)
/* 800857E8 00082728  2C 00 00 00 */	cmpwi r0, 0
/* 800857EC 0008272C  90 01 00 20 */	stw r0, 0x20(r1)
/* 800857F0 00082730  40 80 00 0C */	bge lbl_800857FC
/* 800857F4 00082734  38 00 00 00 */	li r0, 0
/* 800857F8 00082738  98 01 00 16 */	stb r0, 0x16(r1)
lbl_800857FC:
/* 800857FC 0008273C  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 80085800 00082740  7C 63 07 74 */	extsb r3, r3
/* 80085804 00082744  48 00 00 40 */	b lbl_80085844
lbl_80085808:
/* 80085808 00082748  3C 80 80 37 */	lis r4, __ctype_map@ha
/* 8008580C 0008274C  38 A4 16 20 */	addi r5, r4, __ctype_map@l
/* 80085810 00082750  48 00 00 20 */	b lbl_80085830
lbl_80085814:
/* 80085814 00082754  80 01 00 20 */	lwz r0, 0x20(r1)
/* 80085818 00082758  1C 00 00 0A */	mulli r0, r0, 0xa
/* 8008581C 0008275C  7C 63 02 14 */	add r3, r3, r0
/* 80085820 00082760  38 03 FF D0 */	addi r0, r3, -48
/* 80085824 00082764  90 01 00 20 */	stw r0, 0x20(r1)
/* 80085828 00082768  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 8008582C 0008276C  7C 63 07 74 */	extsb r3, r3
lbl_80085830:
/* 80085830 00082770  54 60 06 3E */	clrlwi r0, r3, 0x18
/* 80085834 00082774  7C 85 02 14 */	add r4, r5, r0
/* 80085838 00082778  88 04 00 00 */	lbz r0, 0(r4)
/* 8008583C 0008277C  54 00 06 F7 */	rlwinm. r0, r0, 0, 0x1b, 0x1b
/* 80085840 00082780  40 82 FF D4 */	bne lbl_80085814
lbl_80085844:
/* 80085844 00082784  2C 03 00 68 */	cmpwi r3, 0x68
/* 80085848 00082788  38 80 00 01 */	li r4, 1
/* 8008584C 0008278C  41 82 00 20 */	beq lbl_8008586C
/* 80085850 00082790  40 80 00 10 */	bge lbl_80085860
/* 80085854 00082794  2C 03 00 4C */	cmpwi r3, 0x4c
/* 80085858 00082798  41 82 00 60 */	beq lbl_800858B8
/* 8008585C 0008279C  48 00 00 68 */	b lbl_800858C4
lbl_80085860:
/* 80085860 000827A0  2C 03 00 6C */	cmpwi r3, 0x6c
/* 80085864 000827A4  41 82 00 2C */	beq lbl_80085890
/* 80085868 000827A8  48 00 00 5C */	b lbl_800858C4
lbl_8008586C:
/* 8008586C 000827AC  38 00 00 02 */	li r0, 2
/* 80085870 000827B0  98 01 00 18 */	stb r0, 0x18(r1)
/* 80085874 000827B4  88 1F 00 01 */	lbz r0, 1(r31)
/* 80085878 000827B8  2C 00 00 68 */	cmpwi r0, 0x68
/* 8008587C 000827BC  40 82 00 4C */	bne lbl_800858C8
/* 80085880 000827C0  98 81 00 18 */	stb r4, 0x18(r1)
/* 80085884 000827C4  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 80085888 000827C8  7C 63 07 74 */	extsb r3, r3
/* 8008588C 000827CC  48 00 00 3C */	b lbl_800858C8
lbl_80085890:
/* 80085890 000827D0  38 00 00 03 */	li r0, 3
/* 80085894 000827D4  98 01 00 18 */	stb r0, 0x18(r1)
/* 80085898 000827D8  88 1F 00 01 */	lbz r0, 1(r31)
/* 8008589C 000827DC  2C 00 00 6C */	cmpwi r0, 0x6c
/* 800858A0 000827E0  40 82 00 28 */	bne lbl_800858C8
/* 800858A4 000827E4  38 00 00 04 */	li r0, 4
/* 800858A8 000827E8  98 01 00 18 */	stb r0, 0x18(r1)
/* 800858AC 000827EC  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 800858B0 000827F0  7C 63 07 74 */	extsb r3, r3
/* 800858B4 000827F4  48 00 00 14 */	b lbl_800858C8
lbl_800858B8:
/* 800858B8 000827F8  38 00 00 05 */	li r0, 5
/* 800858BC 000827FC  98 01 00 18 */	stb r0, 0x18(r1)
/* 800858C0 00082800  48 00 00 08 */	b lbl_800858C8
lbl_800858C4:
/* 800858C4 00082804  38 80 00 00 */	li r4, 0
lbl_800858C8:
/* 800858C8 00082808  2C 04 00 00 */	cmpwi r4, 0
/* 800858CC 0008280C  41 82 00 0C */	beq lbl_800858D8
/* 800858D0 00082810  8C 7F 00 01 */	lbzu r3, 1(r31)
/* 800858D4 00082814  7C 63 07 74 */	extsb r3, r3
lbl_800858D8:
/* 800858D8 00082818  38 03 FF BB */	addi r0, r3, -69
/* 800858DC 0008281C  98 61 00 19 */	stb r3, 0x19(r1)
/* 800858E0 00082820  28 00 00 33 */	cmplwi r0, 0x33
/* 800858E4 00082824  41 81 01 90 */	bgt lbl_80085A74
/* 800858E8 00082828  3C 60 80 3B */	lis r3, "@1186"@ha
/* 800858EC 0008282C  38 63 ED E0 */	addi r3, r3, "@1186"@l
/* 800858F0 00082830  54 00 10 3A */	slwi r0, r0, 2
/* 800858F4 00082834  7C 03 00 2E */	lwzx r0, r3, r0
/* 800858F8 00082838  7C 09 03 A6 */	mtctr r0
/* 800858FC 0008283C  4E 80 04 20 */	bctr 
lbl_80085900:
/* 80085900 00082840  88 01 00 18 */	lbz r0, 0x18(r1)
/* 80085904 00082844  28 00 00 05 */	cmplwi r0, 5
/* 80085908 00082848  40 82 00 10 */	bne lbl_80085918
/* 8008590C 0008284C  38 00 00 FF */	li r0, 0xff
/* 80085910 00082850  98 01 00 19 */	stb r0, 0x19(r1)
/* 80085914 00082854  48 00 01 68 */	b lbl_80085A7C
lbl_80085918:
/* 80085918 00082858  88 01 00 16 */	lbz r0, 0x16(r1)
/* 8008591C 0008285C  28 00 00 00 */	cmplwi r0, 0
/* 80085920 00082860  40 82 00 10 */	bne lbl_80085930
/* 80085924 00082864  38 00 00 01 */	li r0, 1
/* 80085928 00082868  90 01 00 20 */	stw r0, 0x20(r1)
/* 8008592C 0008286C  48 00 01 50 */	b lbl_80085A7C
lbl_80085930:
/* 80085930 00082870  88 01 00 14 */	lbz r0, 0x14(r1)
/* 80085934 00082874  28 00 00 02 */	cmplwi r0, 2
/* 80085938 00082878  40 82 01 44 */	bne lbl_80085A7C
/* 8008593C 0008287C  38 00 00 01 */	li r0, 1
/* 80085940 00082880  98 01 00 14 */	stb r0, 0x14(r1)
/* 80085944 00082884  48 00 01 38 */	b lbl_80085A7C
lbl_80085948:
/* 80085948 00082888  88 01 00 18 */	lbz r0, 0x18(r1)
/* 8008594C 0008288C  28 00 00 02 */	cmplwi r0, 2
/* 80085950 00082890  41 82 00 0C */	beq lbl_8008595C
/* 80085954 00082894  28 00 00 04 */	cmplwi r0, 4
/* 80085958 00082898  40 82 00 10 */	bne lbl_80085968
lbl_8008595C:
/* 8008595C 0008289C  38 00 00 FF */	li r0, 0xff
/* 80085960 000828A0  98 01 00 19 */	stb r0, 0x19(r1)
/* 80085964 000828A4  48 00 01 18 */	b lbl_80085A7C
lbl_80085968:
/* 80085968 000828A8  88 01 00 16 */	lbz r0, 0x16(r1)
/* 8008596C 000828AC  28 00 00 00 */	cmplwi r0, 0
/* 80085970 000828B0  40 82 01 0C */	bne lbl_80085A7C
/* 80085974 000828B4  38 00 00 06 */	li r0, 6
/* 80085978 000828B8  90 01 00 20 */	stw r0, 0x20(r1)
/* 8008597C 000828BC  48 00 01 00 */	b lbl_80085A7C
lbl_80085980:
/* 80085980 000828C0  80 01 00 20 */	lwz r0, 0x20(r1)
/* 80085984 000828C4  2C 00 00 00 */	cmpwi r0, 0
/* 80085988 000828C8  40 82 00 0C */	bne lbl_80085994
/* 8008598C 000828CC  38 00 00 01 */	li r0, 1
/* 80085990 000828D0  90 01 00 20 */	stw r0, 0x20(r1)
lbl_80085994:
/* 80085994 000828D4  88 01 00 18 */	lbz r0, 0x18(r1)
/* 80085998 000828D8  28 00 00 02 */	cmplwi r0, 2
/* 8008599C 000828DC  41 82 00 14 */	beq lbl_800859B0
/* 800859A0 000828E0  28 00 00 04 */	cmplwi r0, 4
/* 800859A4 000828E4  41 82 00 0C */	beq lbl_800859B0
/* 800859A8 000828E8  28 00 00 01 */	cmplwi r0, 1
/* 800859AC 000828EC  40 82 00 10 */	bne lbl_800859BC
lbl_800859B0:
/* 800859B0 000828F0  38 00 00 FF */	li r0, 0xff
/* 800859B4 000828F4  98 01 00 19 */	stb r0, 0x19(r1)
/* 800859B8 000828F8  48 00 00 C4 */	b lbl_80085A7C
lbl_800859BC:
/* 800859BC 000828FC  88 01 00 16 */	lbz r0, 0x16(r1)
/* 800859C0 00082900  28 00 00 00 */	cmplwi r0, 0
/* 800859C4 00082904  40 82 00 B8 */	bne lbl_80085A7C
/* 800859C8 00082908  38 00 00 06 */	li r0, 6
/* 800859CC 0008290C  90 01 00 20 */	stw r0, 0x20(r1)
/* 800859D0 00082910  48 00 00 AC */	b lbl_80085A7C
lbl_800859D4:
/* 800859D4 00082914  38 00 00 78 */	li r0, 0x78
/* 800859D8 00082918  98 01 00 19 */	stb r0, 0x19(r1)
/* 800859DC 0008291C  38 00 00 01 */	li r0, 1
/* 800859E0 00082920  38 60 00 03 */	li r3, 3
/* 800859E4 00082924  98 01 00 17 */	stb r0, 0x17(r1)
/* 800859E8 00082928  38 00 00 08 */	li r0, 8
/* 800859EC 0008292C  98 61 00 18 */	stb r3, 0x18(r1)
/* 800859F0 00082930  90 01 00 20 */	stw r0, 0x20(r1)
/* 800859F4 00082934  48 00 00 88 */	b lbl_80085A7C
lbl_800859F8:
/* 800859F8 00082938  88 61 00 18 */	lbz r3, 0x18(r1)
/* 800859FC 0008293C  28 03 00 03 */	cmplwi r3, 3
/* 80085A00 00082940  40 82 00 10 */	bne lbl_80085A10
/* 80085A04 00082944  38 00 00 06 */	li r0, 6
/* 80085A08 00082948  98 01 00 18 */	stb r0, 0x18(r1)
/* 80085A0C 0008294C  48 00 00 70 */	b lbl_80085A7C
lbl_80085A10:
/* 80085A10 00082950  88 01 00 16 */	lbz r0, 0x16(r1)
/* 80085A14 00082954  28 00 00 00 */	cmplwi r0, 0
/* 80085A18 00082958  40 82 00 0C */	bne lbl_80085A24
/* 80085A1C 0008295C  28 03 00 00 */	cmplwi r3, 0
/* 80085A20 00082960  41 82 00 5C */	beq lbl_80085A7C
lbl_80085A24:
/* 80085A24 00082964  38 00 00 FF */	li r0, 0xff
/* 80085A28 00082968  98 01 00 19 */	stb r0, 0x19(r1)
/* 80085A2C 0008296C  48 00 00 50 */	b lbl_80085A7C
lbl_80085A30:
/* 80085A30 00082970  88 01 00 18 */	lbz r0, 0x18(r1)
/* 80085A34 00082974  28 00 00 03 */	cmplwi r0, 3
/* 80085A38 00082978  40 82 00 10 */	bne lbl_80085A48
/* 80085A3C 0008297C  38 00 00 06 */	li r0, 6
/* 80085A40 00082980  98 01 00 18 */	stb r0, 0x18(r1)
/* 80085A44 00082984  48 00 00 38 */	b lbl_80085A7C
lbl_80085A48:
/* 80085A48 00082988  28 00 00 00 */	cmplwi r0, 0
/* 80085A4C 0008298C  41 82 00 30 */	beq lbl_80085A7C
/* 80085A50 00082990  38 00 00 FF */	li r0, 0xff
/* 80085A54 00082994  98 01 00 19 */	stb r0, 0x19(r1)
/* 80085A58 00082998  48 00 00 24 */	b lbl_80085A7C
lbl_80085A5C:
/* 80085A5C 0008299C  88 01 00 18 */	lbz r0, 0x18(r1)
/* 80085A60 000829A0  28 00 00 05 */	cmplwi r0, 5
/* 80085A64 000829A4  40 82 00 18 */	bne lbl_80085A7C
/* 80085A68 000829A8  38 00 00 FF */	li r0, 0xff
/* 80085A6C 000829AC  98 01 00 19 */	stb r0, 0x19(r1)
/* 80085A70 000829B0  48 00 00 0C */	b lbl_80085A7C
lbl_80085A74:
/* 80085A74 000829B4  38 00 00 FF */	li r0, 0xff
/* 80085A78 000829B8  98 01 00 19 */	stb r0, 0x19(r1)
lbl_80085A7C:
/* 80085A7C 000829BC  80 81 00 14 */	lwz r4, 0x14(r1)
/* 80085A80 000829C0  38 7F 00 01 */	addi r3, r31, 1
/* 80085A84 000829C4  80 01 00 18 */	lwz r0, 0x18(r1)
/* 80085A88 000829C8  90 9E 00 00 */	stw r4, 0(r30)
/* 80085A8C 000829CC  90 1E 00 04 */	stw r0, 4(r30)
/* 80085A90 000829D0  80 81 00 1C */	lwz r4, 0x1c(r1)
/* 80085A94 000829D4  80 01 00 20 */	lwz r0, 0x20(r1)
/* 80085A98 000829D8  90 9E 00 08 */	stw r4, 8(r30)
/* 80085A9C 000829DC  90 1E 00 0C */	stw r0, 0xc(r30)
lbl_80085AA0:
/* 80085AA0 000829E0  80 01 00 3C */	lwz r0, 0x3c(r1)
/* 80085AA4 000829E4  83 E1 00 34 */	lwz r31, 0x34(r1)
/* 80085AA8 000829E8  83 C1 00 30 */	lwz r30, 0x30(r1)
/* 80085AAC 000829EC  7C 08 03 A6 */	mtlr r0
/* 80085AB0 000829F0  83 A1 00 2C */	lwz r29, 0x2c(r1)
/* 80085AB4 000829F4  38 21 00 38 */	addi r1, r1, 0x38
/* 80085AB8 000829F8  4E 80 00 20 */	blr 

.section .rodata, "a"  # 0x8036FFA0 - 0x803A8380
.balign 8
"@stringBase0":
	.4byte 0x002D496E
	.4byte 0x6600496E
	.4byte 0x66004E61
	.4byte 0x4E000000

.section .data, "wa"  # 0x803A8380 - 0x803E6000
"@1009":
    .4byte lbl_800851D8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_80085178
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_80085178
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851B0
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851C4
    .4byte lbl_800851E8
    .4byte lbl_800851E8
    .4byte lbl_800851D8
"@1066":
    .4byte lbl_80085468
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085430
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085430
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085448
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085458
    .4byte lbl_80085474
    .4byte lbl_80085474
    .4byte lbl_80085468
"@1186":
    .4byte lbl_80085994
    .4byte lbl_80085A74
    .4byte lbl_80085980
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085900
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_800859F8
    .4byte lbl_80085900
    .4byte lbl_80085994
    .4byte lbl_80085948
    .4byte lbl_80085980
    .4byte lbl_80085A74
    .4byte lbl_80085900
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A5C
    .4byte lbl_80085900
    .4byte lbl_800859D4
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085A30
    .4byte lbl_80085A74
    .4byte lbl_80085900
    .4byte lbl_80085A74
    .4byte lbl_80085A74
    .4byte lbl_80085900
"@1185":
    .4byte lbl_800856A8
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_800856C0
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_8008569C
    .4byte lbl_800856E4
    .4byte lbl_80085690
    .4byte lbl_800856E4
    .4byte lbl_800856E4
    .4byte lbl_800856CC
.section .sdata, "wa"  # 0x80408AC0 - 0x804097C0
"@wstringBase0":
  .4byte 0
  .4byte 0

.section .sdata2, "a"  # 0x8040B460 - 0x80414020
.balign 8
"@919":
  .4byte 0
  .4byte 0