papermario/asm/nonmatchings/code_102610_len_2330/func_802E17A8.s
2020-11-29 02:13:07 -05:00

468 lines
24 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E17A8
/* 103028 802E17A8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 10302C 802E17AC AFB10014 */ sw $s1, 0x14($sp)
/* 103030 802E17B0 0080882D */ daddu $s1, $a0, $zero
/* 103034 802E17B4 AFBF001C */ sw $ra, 0x1c($sp)
/* 103038 802E17B8 AFB20018 */ sw $s2, 0x18($sp)
/* 10303C 802E17BC AFB00010 */ sw $s0, 0x10($sp)
/* 103040 802E17C0 8E300040 */ lw $s0, 0x40($s1)
/* 103044 802E17C4 82030010 */ lb $v1, 0x10($s0)
/* 103048 802E17C8 2C620006 */ sltiu $v0, $v1, 6
/* 10304C 802E17CC 104000D3 */ beqz $v0, .L802E1B1C
/* 103050 802E17D0 0000902D */ daddu $s2, $zero, $zero
/* 103054 802E17D4 00031080 */ sll $v0, $v1, 2
/* 103058 802E17D8 3C01802F */ lui $at, %hi(D_802EB010)
/* 10305C 802E17DC 00220821 */ addu $at, $at, $v0
/* 103060 802E17E0 8C22B010 */ lw $v0, %lo(D_802EB010)($at)
/* 103064 802E17E4 00400008 */ jr $v0
/* 103068 802E17E8 00000000 */ nop
/* 10306C 802E17EC C602001C */ lwc1 $f2, 0x1c($s0)
/* 103070 802E17F0 3C01802F */ lui $at, %hi(D_802EB028)
/* 103074 802E17F4 D420B028 */ ldc1 $f0, %lo(D_802EB028)($at)
/* 103078 802E17F8 460010A1 */ cvt.d.s $f2, $f2
/* 10307C 802E17FC 46201082 */ mul.d $f2, $f2, $f0
/* 103080 802E1800 00000000 */ nop
/* 103084 802E1804 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103088 802E1808 462011A0 */ cvt.s.d $f6, $f2
/* 10308C 802E180C 46060000 */ add.s $f0, $f0, $f6
/* 103090 802E1810 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103094 802E1814 46020001 */ sub.s $f0, $f0, $f2
/* 103098 802E1818 3C013FD0 */ lui $at, 0x3fd0
/* 10309C 802E181C 44811800 */ mtc1 $at, $f3
/* 1030A0 802E1820 44801000 */ mtc1 $zero, $f2
/* 1030A4 802E1824 46000021 */ cvt.d.s $f0, $f0
/* 1030A8 802E1828 46220002 */ mul.d $f0, $f0, $f2
/* 1030AC 802E182C 00000000 */ nop
/* 1030B0 802E1830 3C01802F */ lui $at, %hi(D_802EB030)
/* 1030B4 802E1834 D422B030 */ ldc1 $f2, %lo(D_802EB030)($at)
/* 1030B8 802E1838 46200120 */ cvt.s.d $f4, $f0
/* 1030BC 802E183C 46002021 */ cvt.d.s $f0, $f4
/* 1030C0 802E1840 4622003C */ c.lt.d $f0, $f2
/* 1030C4 802E1844 00000000 */ nop
/* 1030C8 802E1848 45000004 */ bc1f .L802E185C
/* 1030CC 802E184C 00000000 */ nop
/* 1030D0 802E1850 3C013C23 */ lui $at, 0x3c23
/* 1030D4 802E1854 3421D70A */ ori $at, $at, 0xd70a
/* 1030D8 802E1858 44812000 */ mtc1 $at, $f4
.L802E185C:
/* 1030DC 802E185C C6000004 */ lwc1 $f0, 4($s0)
/* 1030E0 802E1860 46040000 */ add.s $f0, $f0, $f4
/* 1030E4 802E1864 E6000004 */ swc1 $f0, 4($s0)
/* 1030E8 802E1868 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1030EC 802E186C 46001080 */ add.s $f2, $f2, $f0
/* 1030F0 802E1870 E6220054 */ swc1 $f2, 0x54($s1)
/* 1030F4 802E1874 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1030F8 802E1878 46060000 */ add.s $f0, $f0, $f6
/* 1030FC 802E187C 4602003E */ c.le.s $f0, $f2
/* 103100 802E1880 00000000 */ nop
/* 103104 802E1884 450000A5 */ bc1f .L802E1B1C
/* 103108 802E1888 00000000 */ nop
/* 10310C 802E188C 080B86C1 */ j .L802E1B04
/* 103110 802E1890 00000000 */ nop
/* 103114 802E1894 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103118 802E1898 3C01802F */ lui $at, %hi(D_802EB038)
/* 10311C 802E189C D420B038 */ ldc1 $f0, %lo(D_802EB038)($at)
/* 103120 802E18A0 460010A1 */ cvt.d.s $f2, $f2
/* 103124 802E18A4 46201082 */ mul.d $f2, $f2, $f0
/* 103128 802E18A8 00000000 */ nop
/* 10312C 802E18AC C6000014 */ lwc1 $f0, 0x14($s0)
/* 103130 802E18B0 462011A0 */ cvt.s.d $f6, $f2
/* 103134 802E18B4 46060000 */ add.s $f0, $f0, $f6
/* 103138 802E18B8 C6220054 */ lwc1 $f2, 0x54($s1)
/* 10313C 802E18BC 46020001 */ sub.s $f0, $f0, $f2
/* 103140 802E18C0 3C014018 */ lui $at, 0x4018
/* 103144 802E18C4 44811800 */ mtc1 $at, $f3
/* 103148 802E18C8 44801000 */ mtc1 $zero, $f2
/* 10314C 802E18CC 46000021 */ cvt.d.s $f0, $f0
/* 103150 802E18D0 46220003 */ div.d $f0, $f0, $f2
/* 103154 802E18D4 46200120 */ cvt.s.d $f4, $f0
/* 103158 802E18D8 3C01802F */ lui $at, %hi(D_802EB040)
/* 10315C 802E18DC D422B040 */ ldc1 $f2, %lo(D_802EB040)($at)
/* 103160 802E18E0 46002021 */ cvt.d.s $f0, $f4
/* 103164 802E18E4 4620103C */ c.lt.d $f2, $f0
/* 103168 802E18E8 00000000 */ nop
/* 10316C 802E18EC 45000004 */ bc1f .L802E1900
/* 103170 802E18F0 00000000 */ nop
/* 103174 802E18F4 3C01BC23 */ lui $at, 0xbc23
/* 103178 802E18F8 3421D70A */ ori $at, $at, 0xd70a
/* 10317C 802E18FC 44812000 */ mtc1 $at, $f4
.L802E1900:
/* 103180 802E1900 C6000004 */ lwc1 $f0, 4($s0)
/* 103184 802E1904 46040000 */ add.s $f0, $f0, $f4
/* 103188 802E1908 E6000004 */ swc1 $f0, 4($s0)
/* 10318C 802E190C C6220054 */ lwc1 $f2, 0x54($s1)
/* 103190 802E1910 46001080 */ add.s $f2, $f2, $f0
/* 103194 802E1914 E6220054 */ swc1 $f2, 0x54($s1)
/* 103198 802E1918 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10319C 802E191C 46060000 */ add.s $f0, $f0, $f6
/* 1031A0 802E1920 4600103E */ c.le.s $f2, $f0
/* 1031A4 802E1924 00000000 */ nop
/* 1031A8 802E1928 4500007C */ bc1f .L802E1B1C
/* 1031AC 802E192C 00000000 */ nop
/* 1031B0 802E1930 080B86C1 */ j .L802E1B04
/* 1031B4 802E1934 00000000 */ nop
/* 1031B8 802E1938 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1031BC 802E193C 3C01802F */ lui $at, %hi(D_802EB048)
/* 1031C0 802E1940 D420B048 */ ldc1 $f0, %lo(D_802EB048)($at)
/* 1031C4 802E1944 460010A1 */ cvt.d.s $f2, $f2
/* 1031C8 802E1948 46201082 */ mul.d $f2, $f2, $f0
/* 1031CC 802E194C 00000000 */ nop
/* 1031D0 802E1950 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1031D4 802E1954 462011A0 */ cvt.s.d $f6, $f2
/* 1031D8 802E1958 46060000 */ add.s $f0, $f0, $f6
/* 1031DC 802E195C C6220054 */ lwc1 $f2, 0x54($s1)
/* 1031E0 802E1960 46020001 */ sub.s $f0, $f0, $f2
/* 1031E4 802E1964 3C013FD0 */ lui $at, 0x3fd0
/* 1031E8 802E1968 44811800 */ mtc1 $at, $f3
/* 1031EC 802E196C 44801000 */ mtc1 $zero, $f2
/* 1031F0 802E1970 46000021 */ cvt.d.s $f0, $f0
/* 1031F4 802E1974 46220002 */ mul.d $f0, $f0, $f2
/* 1031F8 802E1978 00000000 */ nop
/* 1031FC 802E197C 3C01802F */ lui $at, %hi(D_802EB050)
/* 103200 802E1980 D422B050 */ ldc1 $f2, %lo(D_802EB050)($at)
/* 103204 802E1984 46200120 */ cvt.s.d $f4, $f0
/* 103208 802E1988 46002021 */ cvt.d.s $f0, $f4
/* 10320C 802E198C 4622003C */ c.lt.d $f0, $f2
/* 103210 802E1990 00000000 */ nop
/* 103214 802E1994 45000004 */ bc1f .L802E19A8
/* 103218 802E1998 00000000 */ nop
/* 10321C 802E199C 3C013C23 */ lui $at, 0x3c23
/* 103220 802E19A0 3421D70A */ ori $at, $at, 0xd70a
/* 103224 802E19A4 44812000 */ mtc1 $at, $f4
.L802E19A8:
/* 103228 802E19A8 C6000004 */ lwc1 $f0, 4($s0)
/* 10322C 802E19AC 46040000 */ add.s $f0, $f0, $f4
/* 103230 802E19B0 E6000004 */ swc1 $f0, 4($s0)
/* 103234 802E19B4 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103238 802E19B8 46001080 */ add.s $f2, $f2, $f0
/* 10323C 802E19BC E6220054 */ swc1 $f2, 0x54($s1)
/* 103240 802E19C0 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103244 802E19C4 46060000 */ add.s $f0, $f0, $f6
/* 103248 802E19C8 4602003E */ c.le.s $f0, $f2
/* 10324C 802E19CC 00000000 */ nop
/* 103250 802E19D0 45000052 */ bc1f .L802E1B1C
/* 103254 802E19D4 00000000 */ nop
/* 103258 802E19D8 080B86C1 */ j .L802E1B04
/* 10325C 802E19DC 00000000 */ nop
/* 103260 802E19E0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103264 802E19E4 3C01802F */ lui $at, %hi(D_802EB058)
/* 103268 802E19E8 D420B058 */ ldc1 $f0, %lo(D_802EB058)($at)
/* 10326C 802E19EC 460010A1 */ cvt.d.s $f2, $f2
/* 103270 802E19F0 46201082 */ mul.d $f2, $f2, $f0
/* 103274 802E19F4 00000000 */ nop
/* 103278 802E19F8 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10327C 802E19FC 462011A0 */ cvt.s.d $f6, $f2
/* 103280 802E1A00 46060000 */ add.s $f0, $f0, $f6
/* 103284 802E1A04 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103288 802E1A08 46020001 */ sub.s $f0, $f0, $f2
/* 10328C 802E1A0C 3C014018 */ lui $at, 0x4018
/* 103290 802E1A10 44811800 */ mtc1 $at, $f3
/* 103294 802E1A14 44801000 */ mtc1 $zero, $f2
/* 103298 802E1A18 46000021 */ cvt.d.s $f0, $f0
/* 10329C 802E1A1C 46220003 */ div.d $f0, $f0, $f2
/* 1032A0 802E1A20 46200120 */ cvt.s.d $f4, $f0
/* 1032A4 802E1A24 3C01802F */ lui $at, %hi(D_802EB060)
/* 1032A8 802E1A28 D422B060 */ ldc1 $f2, %lo(D_802EB060)($at)
/* 1032AC 802E1A2C 46002021 */ cvt.d.s $f0, $f4
/* 1032B0 802E1A30 4620103C */ c.lt.d $f2, $f0
/* 1032B4 802E1A34 00000000 */ nop
/* 1032B8 802E1A38 45000004 */ bc1f .L802E1A4C
/* 1032BC 802E1A3C 00000000 */ nop
/* 1032C0 802E1A40 3C01BC23 */ lui $at, 0xbc23
/* 1032C4 802E1A44 3421D70A */ ori $at, $at, 0xd70a
/* 1032C8 802E1A48 44812000 */ mtc1 $at, $f4
.L802E1A4C:
/* 1032CC 802E1A4C C6000004 */ lwc1 $f0, 4($s0)
/* 1032D0 802E1A50 46040000 */ add.s $f0, $f0, $f4
/* 1032D4 802E1A54 E6000004 */ swc1 $f0, 4($s0)
/* 1032D8 802E1A58 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1032DC 802E1A5C 46001080 */ add.s $f2, $f2, $f0
/* 1032E0 802E1A60 E6220054 */ swc1 $f2, 0x54($s1)
/* 1032E4 802E1A64 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1032E8 802E1A68 46060000 */ add.s $f0, $f0, $f6
/* 1032EC 802E1A6C 4600103E */ c.le.s $f2, $f0
/* 1032F0 802E1A70 00000000 */ nop
/* 1032F4 802E1A74 45000029 */ bc1f .L802E1B1C
/* 1032F8 802E1A78 00000000 */ nop
/* 1032FC 802E1A7C 080B86C1 */ j .L802E1B04
/* 103300 802E1A80 00000000 */ nop
/* 103304 802E1A84 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103308 802E1A88 C6220054 */ lwc1 $f2, 0x54($s1)
/* 10330C 802E1A8C 46020001 */ sub.s $f0, $f0, $f2
/* 103310 802E1A90 3C013FD0 */ lui $at, 0x3fd0
/* 103314 802E1A94 44811800 */ mtc1 $at, $f3
/* 103318 802E1A98 44801000 */ mtc1 $zero, $f2
/* 10331C 802E1A9C 46000021 */ cvt.d.s $f0, $f0
/* 103320 802E1AA0 46220002 */ mul.d $f0, $f0, $f2
/* 103324 802E1AA4 00000000 */ nop
/* 103328 802E1AA8 3C01802F */ lui $at, %hi(D_802EB068)
/* 10332C 802E1AAC D422B068 */ ldc1 $f2, %lo(D_802EB068)($at)
/* 103330 802E1AB0 46200120 */ cvt.s.d $f4, $f0
/* 103334 802E1AB4 46002021 */ cvt.d.s $f0, $f4
/* 103338 802E1AB8 4622003C */ c.lt.d $f0, $f2
/* 10333C 802E1ABC 00000000 */ nop
/* 103340 802E1AC0 45000004 */ bc1f .L802E1AD4
/* 103344 802E1AC4 00000000 */ nop
/* 103348 802E1AC8 3C013C23 */ lui $at, 0x3c23
/* 10334C 802E1ACC 3421D70A */ ori $at, $at, 0xd70a
/* 103350 802E1AD0 44812000 */ mtc1 $at, $f4
.L802E1AD4:
/* 103354 802E1AD4 C6000004 */ lwc1 $f0, 4($s0)
/* 103358 802E1AD8 46040000 */ add.s $f0, $f0, $f4
/* 10335C 802E1ADC E6000004 */ swc1 $f0, 4($s0)
/* 103360 802E1AE0 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103364 802E1AE4 46001080 */ add.s $f2, $f2, $f0
/* 103368 802E1AE8 E6220054 */ swc1 $f2, 0x54($s1)
/* 10336C 802E1AEC C6000014 */ lwc1 $f0, 0x14($s0)
/* 103370 802E1AF0 4602003E */ c.le.s $f0, $f2
/* 103374 802E1AF4 00000000 */ nop
/* 103378 802E1AF8 45000008 */ bc1f .L802E1B1C
/* 10337C 802E1AFC 00000000 */ nop
/* 103380 802E1B00 E6200054 */ swc1 $f0, 0x54($s1)
.L802E1B04:
/* 103384 802E1B04 92020010 */ lbu $v0, 0x10($s0)
/* 103388 802E1B08 AE000004 */ sw $zero, 4($s0)
/* 10338C 802E1B0C 24420001 */ addiu $v0, $v0, 1
/* 103390 802E1B10 080B86C7 */ j .L802E1B1C
/* 103394 802E1B14 A2020010 */ sb $v0, 0x10($s0)
/* 103398 802E1B18 26520001 */ addiu $s2, $s2, 1
.L802E1B1C:
/* 10339C 802E1B1C C6200054 */ lwc1 $f0, 0x54($s1)
/* 1033A0 802E1B20 E620005C */ swc1 $f0, 0x5c($s1)
/* 1033A4 802E1B24 82030011 */ lb $v1, 0x11($s0)
/* 1033A8 802E1B28 2C620006 */ sltiu $v0, $v1, 6
/* 1033AC 802E1B2C 104000D0 */ beqz $v0, .L802E1E70
/* 1033B0 802E1B30 00031080 */ sll $v0, $v1, 2
/* 1033B4 802E1B34 3C01802F */ lui $at, %hi(D_802EB070)
/* 1033B8 802E1B38 00220821 */ addu $at, $at, $v0
/* 1033BC 802E1B3C 8C22B070 */ lw $v0, %lo(D_802EB070)($at)
/* 1033C0 802E1B40 00400008 */ jr $v0
/* 1033C4 802E1B44 00000000 */ nop
/* 1033C8 802E1B48 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1033CC 802E1B4C 3C01BFE0 */ lui $at, 0xbfe0
/* 1033D0 802E1B50 44810800 */ mtc1 $at, $f1
/* 1033D4 802E1B54 44800000 */ mtc1 $zero, $f0
/* 1033D8 802E1B58 460010A1 */ cvt.d.s $f2, $f2
/* 1033DC 802E1B5C 46201082 */ mul.d $f2, $f2, $f0
/* 1033E0 802E1B60 00000000 */ nop
/* 1033E4 802E1B64 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1033E8 802E1B68 462011A0 */ cvt.s.d $f6, $f2
/* 1033EC 802E1B6C 46060000 */ add.s $f0, $f0, $f6
/* 1033F0 802E1B70 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1033F4 802E1B74 46020001 */ sub.s $f0, $f0, $f2
/* 1033F8 802E1B78 3C014014 */ lui $at, 0x4014
/* 1033FC 802E1B7C 44811800 */ mtc1 $at, $f3
/* 103400 802E1B80 44801000 */ mtc1 $zero, $f2
/* 103404 802E1B84 46000021 */ cvt.d.s $f0, $f0
/* 103408 802E1B88 46220003 */ div.d $f0, $f0, $f2
/* 10340C 802E1B8C 46200120 */ cvt.s.d $f4, $f0
/* 103410 802E1B90 3C01802F */ lui $at, %hi(D_802EB088)
/* 103414 802E1B94 D422B088 */ ldc1 $f2, %lo(D_802EB088)($at)
/* 103418 802E1B98 46002021 */ cvt.d.s $f0, $f4
/* 10341C 802E1B9C 4620103C */ c.lt.d $f2, $f0
/* 103420 802E1BA0 00000000 */ nop
/* 103424 802E1BA4 45000004 */ bc1f .L802E1BB8
/* 103428 802E1BA8 00000000 */ nop
/* 10342C 802E1BAC 3C01BC23 */ lui $at, 0xbc23
/* 103430 802E1BB0 3421D70A */ ori $at, $at, 0xd70a
/* 103434 802E1BB4 44812000 */ mtc1 $at, $f4
.L802E1BB8:
/* 103438 802E1BB8 C6000008 */ lwc1 $f0, 8($s0)
/* 10343C 802E1BBC 46040000 */ add.s $f0, $f0, $f4
/* 103440 802E1BC0 E6000008 */ swc1 $f0, 8($s0)
/* 103444 802E1BC4 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103448 802E1BC8 46001080 */ add.s $f2, $f2, $f0
/* 10344C 802E1BCC E6220058 */ swc1 $f2, 0x58($s1)
/* 103450 802E1BD0 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103454 802E1BD4 46060000 */ add.s $f0, $f0, $f6
/* 103458 802E1BD8 4600103E */ c.le.s $f2, $f0
/* 10345C 802E1BDC 00000000 */ nop
/* 103460 802E1BE0 450000A3 */ bc1f .L802E1E70
/* 103464 802E1BE4 00000000 */ nop
/* 103468 802E1BE8 080B8796 */ j .L802E1E58
/* 10346C 802E1BEC 00000000 */ nop
/* 103470 802E1BF0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103474 802E1BF4 3C01802F */ lui $at, %hi(D_802EB090)
/* 103478 802E1BF8 D420B090 */ ldc1 $f0, %lo(D_802EB090)($at)
/* 10347C 802E1BFC 460010A1 */ cvt.d.s $f2, $f2
/* 103480 802E1C00 46201082 */ mul.d $f2, $f2, $f0
/* 103484 802E1C04 00000000 */ nop
/* 103488 802E1C08 C6000018 */ lwc1 $f0, 0x18($s0)
/* 10348C 802E1C0C 462011A0 */ cvt.s.d $f6, $f2
/* 103490 802E1C10 46060000 */ add.s $f0, $f0, $f6
/* 103494 802E1C14 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103498 802E1C18 46020001 */ sub.s $f0, $f0, $f2
/* 10349C 802E1C1C 3C014024 */ lui $at, 0x4024
/* 1034A0 802E1C20 44811800 */ mtc1 $at, $f3
/* 1034A4 802E1C24 44801000 */ mtc1 $zero, $f2
/* 1034A8 802E1C28 46000021 */ cvt.d.s $f0, $f0
/* 1034AC 802E1C2C 46220003 */ div.d $f0, $f0, $f2
/* 1034B0 802E1C30 46200120 */ cvt.s.d $f4, $f0
/* 1034B4 802E1C34 3C01802F */ lui $at, %hi(D_802EB098)
/* 1034B8 802E1C38 D422B098 */ ldc1 $f2, %lo(D_802EB098)($at)
/* 1034BC 802E1C3C 46002021 */ cvt.d.s $f0, $f4
/* 1034C0 802E1C40 4622003C */ c.lt.d $f0, $f2
/* 1034C4 802E1C44 00000000 */ nop
/* 1034C8 802E1C48 45000004 */ bc1f .L802E1C5C
/* 1034CC 802E1C4C 00000000 */ nop
/* 1034D0 802E1C50 3C013C23 */ lui $at, 0x3c23
/* 1034D4 802E1C54 3421D70A */ ori $at, $at, 0xd70a
/* 1034D8 802E1C58 44812000 */ mtc1 $at, $f4
.L802E1C5C:
/* 1034DC 802E1C5C C6000008 */ lwc1 $f0, 8($s0)
/* 1034E0 802E1C60 46040000 */ add.s $f0, $f0, $f4
/* 1034E4 802E1C64 E6000008 */ swc1 $f0, 8($s0)
/* 1034E8 802E1C68 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1034EC 802E1C6C 46001080 */ add.s $f2, $f2, $f0
/* 1034F0 802E1C70 E6220058 */ swc1 $f2, 0x58($s1)
/* 1034F4 802E1C74 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1034F8 802E1C78 46060000 */ add.s $f0, $f0, $f6
/* 1034FC 802E1C7C 4602003E */ c.le.s $f0, $f2
/* 103500 802E1C80 00000000 */ nop
/* 103504 802E1C84 4500007A */ bc1f .L802E1E70
/* 103508 802E1C88 00000000 */ nop
/* 10350C 802E1C8C 080B8796 */ j .L802E1E58
/* 103510 802E1C90 00000000 */ nop
/* 103514 802E1C94 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103518 802E1C98 3C01802F */ lui $at, %hi(D_802EB0A0)
/* 10351C 802E1C9C D420B0A0 */ ldc1 $f0, %lo(D_802EB0A0)($at)
/* 103520 802E1CA0 460010A1 */ cvt.d.s $f2, $f2
/* 103524 802E1CA4 46201082 */ mul.d $f2, $f2, $f0
/* 103528 802E1CA8 00000000 */ nop
/* 10352C 802E1CAC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103530 802E1CB0 462011A0 */ cvt.s.d $f6, $f2
/* 103534 802E1CB4 46060000 */ add.s $f0, $f0, $f6
/* 103538 802E1CB8 C6220058 */ lwc1 $f2, 0x58($s1)
/* 10353C 802E1CBC 46020001 */ sub.s $f0, $f0, $f2
/* 103540 802E1CC0 3C014014 */ lui $at, 0x4014
/* 103544 802E1CC4 44811800 */ mtc1 $at, $f3
/* 103548 802E1CC8 44801000 */ mtc1 $zero, $f2
/* 10354C 802E1CCC 46000021 */ cvt.d.s $f0, $f0
/* 103550 802E1CD0 46220003 */ div.d $f0, $f0, $f2
/* 103554 802E1CD4 46200120 */ cvt.s.d $f4, $f0
/* 103558 802E1CD8 3C01802F */ lui $at, %hi(D_802EB0A8)
/* 10355C 802E1CDC D422B0A8 */ ldc1 $f2, %lo(D_802EB0A8)($at)
/* 103560 802E1CE0 46002021 */ cvt.d.s $f0, $f4
/* 103564 802E1CE4 4620103C */ c.lt.d $f2, $f0
/* 103568 802E1CE8 00000000 */ nop
/* 10356C 802E1CEC 45000004 */ bc1f .L802E1D00
/* 103570 802E1CF0 00000000 */ nop
/* 103574 802E1CF4 3C01BC23 */ lui $at, 0xbc23
/* 103578 802E1CF8 3421D70A */ ori $at, $at, 0xd70a
/* 10357C 802E1CFC 44812000 */ mtc1 $at, $f4
.L802E1D00:
/* 103580 802E1D00 C6000008 */ lwc1 $f0, 8($s0)
/* 103584 802E1D04 46040000 */ add.s $f0, $f0, $f4
/* 103588 802E1D08 E6000008 */ swc1 $f0, 8($s0)
/* 10358C 802E1D0C C6220058 */ lwc1 $f2, 0x58($s1)
/* 103590 802E1D10 46001080 */ add.s $f2, $f2, $f0
/* 103594 802E1D14 E6220058 */ swc1 $f2, 0x58($s1)
/* 103598 802E1D18 C6000018 */ lwc1 $f0, 0x18($s0)
/* 10359C 802E1D1C 46060000 */ add.s $f0, $f0, $f6
/* 1035A0 802E1D20 4600103E */ c.le.s $f2, $f0
/* 1035A4 802E1D24 00000000 */ nop
/* 1035A8 802E1D28 45000051 */ bc1f .L802E1E70
/* 1035AC 802E1D2C 00000000 */ nop
/* 1035B0 802E1D30 080B8796 */ j .L802E1E58
/* 1035B4 802E1D34 00000000 */ nop
/* 1035B8 802E1D38 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1035BC 802E1D3C 44800000 */ mtc1 $zero, $f0
/* 1035C0 802E1D40 44800800 */ mtc1 $zero, $f1
/* 1035C4 802E1D44 460010A1 */ cvt.d.s $f2, $f2
/* 1035C8 802E1D48 46201082 */ mul.d $f2, $f2, $f0
/* 1035CC 802E1D4C 00000000 */ nop
/* 1035D0 802E1D50 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1035D4 802E1D54 462011A0 */ cvt.s.d $f6, $f2
/* 1035D8 802E1D58 46060000 */ add.s $f0, $f0, $f6
/* 1035DC 802E1D5C C6220058 */ lwc1 $f2, 0x58($s1)
/* 1035E0 802E1D60 46020001 */ sub.s $f0, $f0, $f2
/* 1035E4 802E1D64 3C014024 */ lui $at, 0x4024
/* 1035E8 802E1D68 44811800 */ mtc1 $at, $f3
/* 1035EC 802E1D6C 44801000 */ mtc1 $zero, $f2
/* 1035F0 802E1D70 46000021 */ cvt.d.s $f0, $f0
/* 1035F4 802E1D74 46220003 */ div.d $f0, $f0, $f2
/* 1035F8 802E1D78 46200120 */ cvt.s.d $f4, $f0
/* 1035FC 802E1D7C 3C01802F */ lui $at, %hi(D_802EB0B0)
/* 103600 802E1D80 D422B0B0 */ ldc1 $f2, %lo(D_802EB0B0)($at)
/* 103604 802E1D84 46002021 */ cvt.d.s $f0, $f4
/* 103608 802E1D88 4622003C */ c.lt.d $f0, $f2
/* 10360C 802E1D8C 00000000 */ nop
/* 103610 802E1D90 45000004 */ bc1f .L802E1DA4
/* 103614 802E1D94 00000000 */ nop
/* 103618 802E1D98 3C013C23 */ lui $at, 0x3c23
/* 10361C 802E1D9C 3421D70A */ ori $at, $at, 0xd70a
/* 103620 802E1DA0 44812000 */ mtc1 $at, $f4
.L802E1DA4:
/* 103624 802E1DA4 C6000008 */ lwc1 $f0, 8($s0)
/* 103628 802E1DA8 46040000 */ add.s $f0, $f0, $f4
/* 10362C 802E1DAC E6000008 */ swc1 $f0, 8($s0)
/* 103630 802E1DB0 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103634 802E1DB4 46001080 */ add.s $f2, $f2, $f0
/* 103638 802E1DB8 E6220058 */ swc1 $f2, 0x58($s1)
/* 10363C 802E1DBC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103640 802E1DC0 46060000 */ add.s $f0, $f0, $f6
/* 103644 802E1DC4 4602003E */ c.le.s $f0, $f2
/* 103648 802E1DC8 00000000 */ nop
/* 10364C 802E1DCC 45000028 */ bc1f .L802E1E70
/* 103650 802E1DD0 00000000 */ nop
/* 103654 802E1DD4 080B8796 */ j .L802E1E58
/* 103658 802E1DD8 00000000 */ nop
/* 10365C 802E1DDC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103660 802E1DE0 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103664 802E1DE4 46020001 */ sub.s $f0, $f0, $f2
/* 103668 802E1DE8 3C014014 */ lui $at, 0x4014
/* 10366C 802E1DEC 44811800 */ mtc1 $at, $f3
/* 103670 802E1DF0 44801000 */ mtc1 $zero, $f2
/* 103674 802E1DF4 46000021 */ cvt.d.s $f0, $f0
/* 103678 802E1DF8 46220003 */ div.d $f0, $f0, $f2
/* 10367C 802E1DFC 46200120 */ cvt.s.d $f4, $f0
/* 103680 802E1E00 3C01802F */ lui $at, %hi(D_802EB0B8)
/* 103684 802E1E04 D422B0B8 */ ldc1 $f2, %lo(D_802EB0B8)($at)
/* 103688 802E1E08 46002021 */ cvt.d.s $f0, $f4
/* 10368C 802E1E0C 4620103C */ c.lt.d $f2, $f0
/* 103690 802E1E10 00000000 */ nop
/* 103694 802E1E14 45000004 */ bc1f .L802E1E28
/* 103698 802E1E18 00000000 */ nop
/* 10369C 802E1E1C 3C01BC23 */ lui $at, 0xbc23
/* 1036A0 802E1E20 3421D70A */ ori $at, $at, 0xd70a
/* 1036A4 802E1E24 44812000 */ mtc1 $at, $f4
.L802E1E28:
/* 1036A8 802E1E28 C6000008 */ lwc1 $f0, 8($s0)
/* 1036AC 802E1E2C 46040000 */ add.s $f0, $f0, $f4
/* 1036B0 802E1E30 E6000008 */ swc1 $f0, 8($s0)
/* 1036B4 802E1E34 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1036B8 802E1E38 46001080 */ add.s $f2, $f2, $f0
/* 1036BC 802E1E3C E6220058 */ swc1 $f2, 0x58($s1)
/* 1036C0 802E1E40 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1036C4 802E1E44 4600103E */ c.le.s $f2, $f0
/* 1036C8 802E1E48 00000000 */ nop
/* 1036CC 802E1E4C 45000008 */ bc1f .L802E1E70
/* 1036D0 802E1E50 00000000 */ nop
/* 1036D4 802E1E54 E6200058 */ swc1 $f0, 0x58($s1)
.L802E1E58:
/* 1036D8 802E1E58 92020011 */ lbu $v0, 0x11($s0)
/* 1036DC 802E1E5C AE000008 */ sw $zero, 8($s0)
/* 1036E0 802E1E60 24420001 */ addiu $v0, $v0, 1
/* 1036E4 802E1E64 080B879C */ j .L802E1E70
/* 1036E8 802E1E68 A2020011 */ sb $v0, 0x11($s0)
/* 1036EC 802E1E6C 26520001 */ addiu $s2, $s2, 1
.L802E1E70:
/* 1036F0 802E1E70 0C0B854F */ jal func_802E153C
/* 1036F4 802E1E74 0220202D */ daddu $a0, $s1, $zero
/* 1036F8 802E1E78 24020002 */ addiu $v0, $zero, 2
/* 1036FC 802E1E7C 16420004 */ bne $s2, $v0, .L802E1E90
/* 103700 802E1E80 0220202D */ daddu $a0, $s1, $zero
/* 103704 802E1E84 A2000010 */ sb $zero, 0x10($s0)
/* 103708 802E1E88 0C043F5A */ jal func_8010FD68
/* 10370C 802E1E8C A2000011 */ sb $zero, 0x11($s0)
.L802E1E90:
/* 103710 802E1E90 8FBF001C */ lw $ra, 0x1c($sp)
/* 103714 802E1E94 8FB20018 */ lw $s2, 0x18($sp)
/* 103718 802E1E98 8FB10014 */ lw $s1, 0x14($sp)
/* 10371C 802E1E9C 8FB00010 */ lw $s0, 0x10($sp)
/* 103720 802E1EA0 03E00008 */ jr $ra
/* 103724 802E1EA4 27BD0020 */ addiu $sp, $sp, 0x20