1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-01 15:26:01 +00:00
oot/asm/sys_math3d.s
2020-03-17 00:31:30 -04:00

6504 lines
313 KiB
ArmAsm

.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .text
.align 4
glabel func_800CA7D0
/* B41970 800CA7D0 27BDFFC0 */ addiu $sp, $sp, -0x40
/* B41974 800CA7D4 C7A40050 */ lwc1 $f4, 0x50($sp)
/* B41978 800CA7D8 C7A60054 */ lwc1 $f6, 0x54($sp)
/* B4197C 800CA7DC C7A80058 */ lwc1 $f8, 0x58($sp)
/* B41980 800CA7E0 C7AA005C */ lwc1 $f10, 0x5c($sp)
/* B41984 800CA7E4 3C0E8017 */ lui $t6, %hi(D_8016A5A0) # $t6, 0x8017
/* B41988 800CA7E8 AFBF002C */ sw $ra, 0x2c($sp)
/* B4198C 800CA7EC 25CEA5A0 */ addiu $t6, %lo(D_8016A5A0) # addiu $t6, $t6, -0x5a60
/* B41990 800CA7F0 AFA60048 */ sw $a2, 0x48($sp)
/* B41994 800CA7F4 AFA7004C */ sw $a3, 0x4c($sp)
/* B41998 800CA7F8 AFAE0020 */ sw $t6, 0x20($sp)
/* B4199C 800CA7FC E7A40010 */ swc1 $f4, 0x10($sp)
/* B419A0 800CA800 E7A60014 */ swc1 $f6, 0x14($sp)
/* B419A4 800CA804 E7A80018 */ swc1 $f8, 0x18($sp)
/* B419A8 800CA808 0C032B42 */ jal func_800CAD08
/* B419AC 800CA80C E7AA001C */ swc1 $f10, 0x1c($sp)
/* B419B0 800CA810 14400003 */ bnez $v0, .L800CA820
/* B419B4 800CA814 3C048017 */ lui $a0, %hi(D_8016A5B8) # $a0, 0x8017
/* B419B8 800CA818 1000002F */ b .L800CA8D8
/* B419BC 800CA81C 00001025 */ move $v0, $zero
.L800CA820:
/* B419C0 800CA820 3C058017 */ lui $a1, %hi(D_8016A5A0) # $a1, 0x8017
/* B419C4 800CA824 24A5A5A0 */ addiu $a1, %lo(D_8016A5A0) # addiu $a1, $a1, -0x5a60
/* B419C8 800CA828 0C01DF90 */ jal Math_Vec3f_Copy
/* B419CC 800CA82C 2484A5B8 */ addiu $a0, %lo(D_8016A5B8) # addiu $a0, $a0, -0x5a48
/* B419D0 800CA830 3C0142C8 */ li $at, 0x42C80000 # 0.000000
/* B419D4 800CA834 44810000 */ mtc1 $at, $f0
/* B419D8 800CA838 3C018017 */ lui $at, %hi(D_8016A5AC)
/* B419DC 800CA83C C430A5AC */ lwc1 $f16, %lo(D_8016A5AC)($at)
/* B419E0 800CA840 3C018017 */ lui $at, %hi(D_8016A5A0)
/* B419E4 800CA844 C424A5A0 */ lwc1 $f4, %lo(D_8016A5A0)($at)
/* B419E8 800CA848 46008482 */ mul.s $f18, $f16, $f0
/* B419EC 800CA84C 3C018017 */ lui $at, %hi(D_8016A5C4)
/* B419F0 800CA850 8FAF0068 */ lw $t7, 0x68($sp)
/* B419F4 800CA854 3C048017 */ lui $a0, %hi(D_8016A5B8) # $a0, 0x8017
/* B419F8 800CA858 3C058017 */ lui $a1, %hi(D_8016A5C4) # $a1, 0x8017
/* B419FC 800CA85C 27B80034 */ addiu $t8, $sp, 0x34
/* B41A00 800CA860 AFB80014 */ sw $t8, 0x14($sp)
/* B41A04 800CA864 46049180 */ add.s $f6, $f18, $f4
/* B41A08 800CA868 24A5A5C4 */ addiu $a1, %lo(D_8016A5C4) # addiu $a1, $a1, -0x5a3c
/* B41A0C 800CA86C 2484A5B8 */ addiu $a0, %lo(D_8016A5B8) # addiu $a0, $a0, -0x5a48
/* B41A10 800CA870 8FA60060 */ lw $a2, 0x60($sp)
/* B41A14 800CA874 E426A5C4 */ swc1 $f6, %lo(D_8016A5C4)($at)
/* B41A18 800CA878 3C018017 */ lui $at, %hi(D_8016A5B0)
/* B41A1C 800CA87C C428A5B0 */ lwc1 $f8, %lo(D_8016A5B0)($at)
/* B41A20 800CA880 3C018017 */ lui $at, %hi(D_8016A5A4)
/* B41A24 800CA884 C430A5A4 */ lwc1 $f16, %lo(D_8016A5A4)($at)
/* B41A28 800CA888 46004282 */ mul.s $f10, $f8, $f0
/* B41A2C 800CA88C 3C018017 */ lui $at, %hi(D_8016A5C8)
/* B41A30 800CA890 8FA70064 */ lw $a3, 0x64($sp)
/* B41A34 800CA894 AFAF0010 */ sw $t7, 0x10($sp)
/* B41A38 800CA898 46105480 */ add.s $f18, $f10, $f16
/* B41A3C 800CA89C E432A5C8 */ swc1 $f18, %lo(D_8016A5C8)($at)
/* B41A40 800CA8A0 3C018017 */ lui $at, %hi(D_8016A5B4)
/* B41A44 800CA8A4 C424A5B4 */ lwc1 $f4, %lo(D_8016A5B4)($at)
/* B41A48 800CA8A8 3C018017 */ lui $at, %hi(D_8016A5A8)
/* B41A4C 800CA8AC C428A5A8 */ lwc1 $f8, %lo(D_8016A5A8)($at)
/* B41A50 800CA8B0 46002182 */ mul.s $f6, $f4, $f0
/* B41A54 800CA8B4 3C018017 */ lui $at, %hi(D_8016A5CC)
/* B41A58 800CA8B8 46083280 */ add.s $f10, $f6, $f8
/* B41A5C 800CA8BC 0C032A3A */ jal func_800CA8E8
/* B41A60 800CA8C0 E42AA5CC */ swc1 $f10, %lo(D_8016A5CC)($at)
/* B41A64 800CA8C4 54400004 */ bnezl $v0, .L800CA8D8
/* B41A68 800CA8C8 24020001 */ li $v0, 1
/* B41A6C 800CA8CC 10000002 */ b .L800CA8D8
/* B41A70 800CA8D0 00001025 */ move $v0, $zero
/* B41A74 800CA8D4 24020001 */ li $v0, 1
.L800CA8D8:
/* B41A78 800CA8D8 8FBF002C */ lw $ra, 0x2c($sp)
/* B41A7C 800CA8DC 27BD0040 */ addiu $sp, $sp, 0x40
/* B41A80 800CA8E0 03E00008 */ jr $ra
/* B41A84 800CA8E4 00000000 */ nop
glabel func_800CA8E8
/* B41A88 800CA8E8 C4900000 */ lwc1 $f16, ($a0)
/* B41A8C 800CA8EC C4A40000 */ lwc1 $f4, ($a1)
/* B41A90 800CA8F0 27BDFF80 */ addiu $sp, $sp, -0x80
/* B41A94 800CA8F4 3C018014 */ lui $at, %hi(D_801464D4)
/* B41A98 800CA8F8 46102201 */ sub.s $f8, $f4, $f16
/* B41A9C 800CA8FC E7A80074 */ swc1 $f8, 0x74($sp)
/* B41AA0 800CA900 C4A60004 */ lwc1 $f6, 4($a1)
/* B41AA4 800CA904 C4920004 */ lwc1 $f18, 4($a0)
/* B41AA8 800CA908 46123281 */ sub.s $f10, $f6, $f18
/* B41AAC 800CA90C E7AA0070 */ swc1 $f10, 0x70($sp)
/* B41AB0 800CA910 C4840008 */ lwc1 $f4, 8($a0)
/* B41AB4 800CA914 E7A4002C */ swc1 $f4, 0x2c($sp)
/* B41AB8 800CA918 C7A6002C */ lwc1 $f6, 0x2c($sp)
/* B41ABC 800CA91C C4A80008 */ lwc1 $f8, 8($a1)
/* B41AC0 800CA920 46064281 */ sub.s $f10, $f8, $f6
/* B41AC4 800CA924 E7AA006C */ swc1 $f10, 0x6c($sp)
/* B41AC8 800CA928 C4C40000 */ lwc1 $f4, ($a2)
/* B41ACC 800CA92C E7A40028 */ swc1 $f4, 0x28($sp)
/* B41AD0 800CA930 C4CA0004 */ lwc1 $f10, 4($a2)
/* B41AD4 800CA934 C7A60028 */ lwc1 $f6, 0x28($sp)
/* B41AD8 800CA938 C4E80000 */ lwc1 $f8, ($a3)
/* B41ADC 800CA93C E7AA0024 */ swc1 $f10, 0x24($sp)
/* B41AE0 800CA940 C4E40004 */ lwc1 $f4, 4($a3)
/* B41AE4 800CA944 46064081 */ sub.s $f2, $f8, $f6
/* B41AE8 800CA948 C7A80024 */ lwc1 $f8, 0x24($sp)
/* B41AEC 800CA94C C4C60008 */ lwc1 $f6, 8($a2)
/* B41AF0 800CA950 46082301 */ sub.s $f12, $f4, $f8
/* B41AF4 800CA954 E7A60020 */ swc1 $f6, 0x20($sp)
/* B41AF8 800CA958 46021202 */ mul.s $f8, $f2, $f2
/* B41AFC 800CA95C C7A40020 */ lwc1 $f4, 0x20($sp)
/* B41B00 800CA960 C4EA0008 */ lwc1 $f10, 8($a3)
/* B41B04 800CA964 460C6182 */ mul.s $f6, $f12, $f12
/* B41B08 800CA968 E7B00034 */ swc1 $f16, 0x34($sp)
/* B41B0C 800CA96C 46045381 */ sub.s $f14, $f10, $f4
/* B41B10 800CA970 E7B20030 */ swc1 $f18, 0x30($sp)
/* B41B14 800CA974 460E7102 */ mul.s $f4, $f14, $f14
/* B41B18 800CA978 46064280 */ add.s $f10, $f8, $f6
/* B41B1C 800CA97C C42664D4 */ lwc1 $f6, %lo(D_801464D4)($at)
/* B41B20 800CA980 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B41B24 800CA984 46045200 */ add.s $f8, $f10, $f4
/* B41B28 800CA988 46004005 */ abs.s $f0, $f8
/* B41B2C 800CA98C E7A8001C */ swc1 $f8, 0x1c($sp)
/* B41B30 800CA990 4606003C */ c.lt.s $f0, $f6
/* B41B34 800CA994 C7A4001C */ lwc1 $f4, 0x1c($sp)
/* B41B38 800CA998 45020004 */ bc1fl .L800CA9AC
/* B41B3C 800CA99C 44815000 */ mtc1 $at, $f10
/* B41B40 800CA9A0 1000007A */ b .L800CAB8C
/* B41B44 800CA9A4 00001025 */ move $v0, $zero
/* B41B48 800CA9A8 44815000 */ mtc1 $at, $f10
.L800CA9AC:
/* B41B4C 800CA9AC C7A80074 */ lwc1 $f8, 0x74($sp)
/* B41B50 800CA9B0 3C018014 */ lui $at, %hi(D_801464D8)
/* B41B54 800CA9B4 46045403 */ div.s $f16, $f10, $f4
/* B41B58 800CA9B8 C7AA0070 */ lwc1 $f10, 0x70($sp)
/* B41B5C 800CA9BC E7A80000 */ swc1 $f8, ($sp)
/* B41B60 800CA9C0 46024182 */ mul.s $f6, $f8, $f2
/* B41B64 800CA9C4 E7AA0004 */ swc1 $f10, 4($sp)
/* B41B68 800CA9C8 460C5102 */ mul.s $f4, $f10, $f12
/* B41B6C 800CA9CC C7AA0024 */ lwc1 $f10, 0x24($sp)
/* B41B70 800CA9D0 46043180 */ add.s $f6, $f6, $f4
/* B41B74 800CA9D4 C7A4006C */ lwc1 $f4, 0x6c($sp)
/* B41B78 800CA9D8 460E2202 */ mul.s $f8, $f4, $f14
/* B41B7C 800CA9DC E7A40008 */ swc1 $f4, 8($sp)
/* B41B80 800CA9E0 C7A40020 */ lwc1 $f4, 0x20($sp)
/* B41B84 800CA9E4 46083180 */ add.s $f6, $f6, $f8
/* B41B88 800CA9E8 C7A80034 */ lwc1 $f8, 0x34($sp)
/* B41B8C 800CA9EC 46103002 */ mul.s $f0, $f6, $f16
/* B41B90 800CA9F0 C7A60028 */ lwc1 $f6, 0x28($sp)
/* B41B94 800CA9F4 46064201 */ sub.s $f8, $f8, $f6
/* B41B98 800CA9F8 C7A60030 */ lwc1 $f6, 0x30($sp)
/* B41B9C 800CA9FC E7A0005C */ swc1 $f0, 0x5c($sp)
/* B41BA0 800CAA00 460A3181 */ sub.s $f6, $f6, $f10
/* B41BA4 800CAA04 C7AA002C */ lwc1 $f10, 0x2c($sp)
/* B41BA8 800CAA08 E7A80018 */ swc1 $f8, 0x18($sp)
/* B41BAC 800CAA0C 46045281 */ sub.s $f10, $f10, $f4
/* B41BB0 800CAA10 46024102 */ mul.s $f4, $f8, $f2
/* B41BB4 800CAA14 E7A60014 */ swc1 $f6, 0x14($sp)
/* B41BB8 800CAA18 E7AA0010 */ swc1 $f10, 0x10($sp)
/* B41BBC 800CAA1C 46066282 */ mul.s $f10, $f12, $f6
/* B41BC0 800CAA20 C7A60010 */ lwc1 $f6, 0x10($sp)
/* B41BC4 800CAA24 460A2200 */ add.s $f8, $f4, $f10
/* B41BC8 800CAA28 46067102 */ mul.s $f4, $f14, $f6
/* B41BCC 800CAA2C C7A60000 */ lwc1 $f6, ($sp)
/* B41BD0 800CAA30 46044280 */ add.s $f10, $f8, $f4
/* B41BD4 800CAA34 46105482 */ mul.s $f18, $f10, $f16
/* B41BD8 800CAA38 C7AA0004 */ lwc1 $f10, 4($sp)
/* B41BDC 800CAA3C 46001202 */ mul.s $f8, $f2, $f0
/* B41BE0 800CAA40 46083101 */ sub.s $f4, $f6, $f8
/* B41BE4 800CAA44 46006182 */ mul.s $f6, $f12, $f0
/* B41BE8 800CAA48 E7A4004C */ swc1 $f4, 0x4c($sp)
/* B41BEC 800CAA4C C7A40008 */ lwc1 $f4, 8($sp)
/* B41BF0 800CAA50 46065201 */ sub.s $f8, $f10, $f6
/* B41BF4 800CAA54 C7AA005C */ lwc1 $f10, 0x5c($sp)
/* B41BF8 800CAA58 460A7182 */ mul.s $f6, $f14, $f10
/* B41BFC 800CAA5C E7A80050 */ swc1 $f8, 0x50($sp)
/* B41C00 800CAA60 C7AA004C */ lwc1 $f10, 0x4c($sp)
/* B41C04 800CAA64 46062201 */ sub.s $f8, $f4, $f6
/* B41C08 800CAA68 C7A4004C */ lwc1 $f4, 0x4c($sp)
/* B41C0C 800CAA6C 46045182 */ mul.s $f6, $f10, $f4
/* B41C10 800CAA70 C7A40050 */ lwc1 $f4, 0x50($sp)
/* B41C14 800CAA74 C7AA0050 */ lwc1 $f10, 0x50($sp)
/* B41C18 800CAA78 E7A80030 */ swc1 $f8, 0x30($sp)
/* B41C1C 800CAA7C 46045282 */ mul.s $f10, $f10, $f4
/* B41C20 800CAA80 460A3100 */ add.s $f4, $f6, $f10
/* B41C24 800CAA84 46084182 */ mul.s $f6, $f8, $f8
/* B41C28 800CAA88 C42A64D8 */ lwc1 $f10, %lo(D_801464D8)($at)
/* B41C2C 800CAA8C 46062400 */ add.s $f16, $f4, $f6
/* B41C30 800CAA90 46008005 */ abs.s $f0, $f16
/* B41C34 800CAA94 E7B0007C */ swc1 $f16, 0x7c($sp)
/* B41C38 800CAA98 460A003C */ c.lt.s $f0, $f10
/* B41C3C 800CAA9C 00000000 */ nop
/* B41C40 800CAAA0 45000003 */ bc1f .L800CAAB0
/* B41C44 800CAAA4 00000000 */ nop
/* B41C48 800CAAA8 10000038 */ b .L800CAB8C
/* B41C4C 800CAAAC 00001025 */ move $v0, $zero
.L800CAAB0:
/* B41C50 800CAAB0 46121102 */ mul.s $f4, $f2, $f18
/* B41C54 800CAAB4 C7A80018 */ lwc1 $f8, 0x18($sp)
/* B41C58 800CAAB8 C7A60014 */ lwc1 $f6, 0x14($sp)
/* B41C5C 800CAABC 46126282 */ mul.s $f10, $f12, $f18
/* B41C60 800CAAC0 8FA20090 */ lw $v0, 0x90($sp)
/* B41C64 800CAAC4 46044401 */ sub.s $f16, $f8, $f4
/* B41C68 800CAAC8 C7A40010 */ lwc1 $f4, 0x10($sp)
/* B41C6C 800CAACC 460A3201 */ sub.s $f8, $f6, $f10
/* B41C70 800CAAD0 46127182 */ mul.s $f6, $f14, $f18
/* B41C74 800CAAD4 E7A80044 */ swc1 $f8, 0x44($sp)
/* B41C78 800CAAD8 46062281 */ sub.s $f10, $f4, $f6
/* B41C7C 800CAADC C7A40050 */ lwc1 $f4, 0x50($sp)
/* B41C80 800CAAE0 46082182 */ mul.s $f6, $f4, $f8
/* B41C84 800CAAE4 C7A4004C */ lwc1 $f4, 0x4c($sp)
/* B41C88 800CAAE8 E7AA0048 */ swc1 $f10, 0x48($sp)
/* B41C8C 800CAAEC 46102202 */ mul.s $f8, $f4, $f16
/* B41C90 800CAAF0 46064100 */ add.s $f4, $f8, $f6
/* B41C94 800CAAF4 C7A80030 */ lwc1 $f8, 0x30($sp)
/* B41C98 800CAAF8 460A4182 */ mul.s $f6, $f8, $f10
/* B41C9C 800CAAFC 46062200 */ add.s $f8, $f4, $f6
/* B41CA0 800CAB00 C7A4007C */ lwc1 $f4, 0x7c($sp)
/* B41CA4 800CAB04 C7A60074 */ lwc1 $f6, 0x74($sp)
/* B41CA8 800CAB08 46004287 */ neg.s $f10, $f8
/* B41CAC 800CAB0C 46045003 */ div.s $f0, $f10, $f4
/* B41CB0 800CAB10 C7AA0034 */ lwc1 $f10, 0x34($sp)
/* B41CB4 800CAB14 46003202 */ mul.s $f8, $f6, $f0
/* B41CB8 800CAB18 460A4100 */ add.s $f4, $f8, $f10
/* B41CBC 800CAB1C E4440000 */ swc1 $f4, ($v0)
/* B41CC0 800CAB20 C7A60070 */ lwc1 $f6, 0x70($sp)
/* B41CC4 800CAB24 C48A0004 */ lwc1 $f10, 4($a0)
/* B41CC8 800CAB28 8FA30094 */ lw $v1, 0x94($sp)
/* B41CCC 800CAB2C 46003202 */ mul.s $f8, $f6, $f0
/* B41CD0 800CAB30 460A4100 */ add.s $f4, $f8, $f10
/* B41CD4 800CAB34 E4440004 */ swc1 $f4, 4($v0)
/* B41CD8 800CAB38 C7A6006C */ lwc1 $f6, 0x6c($sp)
/* B41CDC 800CAB3C C48A0008 */ lwc1 $f10, 8($a0)
/* B41CE0 800CAB40 46003202 */ mul.s $f8, $f6, $f0
/* B41CE4 800CAB44 460A4100 */ add.s $f4, $f8, $f10
/* B41CE8 800CAB48 E4440008 */ swc1 $f4, 8($v0)
/* B41CEC 800CAB4C C7A6005C */ lwc1 $f6, 0x5c($sp)
/* B41CF0 800CAB50 C4C40000 */ lwc1 $f4, ($a2)
/* B41CF4 800CAB54 24020001 */ li $v0, 1
/* B41CF8 800CAB58 46003202 */ mul.s $f8, $f6, $f0
/* B41CFC 800CAB5C 46124400 */ add.s $f16, $f8, $f18
/* B41D00 800CAB60 46101282 */ mul.s $f10, $f2, $f16
/* B41D04 800CAB64 46045180 */ add.s $f6, $f10, $f4
/* B41D08 800CAB68 46106202 */ mul.s $f8, $f12, $f16
/* B41D0C 800CAB6C E4660000 */ swc1 $f6, ($v1)
/* B41D10 800CAB70 C4CA0004 */ lwc1 $f10, 4($a2)
/* B41D14 800CAB74 46107182 */ mul.s $f6, $f14, $f16
/* B41D18 800CAB78 460A4100 */ add.s $f4, $f8, $f10
/* B41D1C 800CAB7C E4640004 */ swc1 $f4, 4($v1)
/* B41D20 800CAB80 C4C80008 */ lwc1 $f8, 8($a2)
/* B41D24 800CAB84 46083280 */ add.s $f10, $f6, $f8
/* B41D28 800CAB88 E46A0008 */ swc1 $f10, 8($v1)
.L800CAB8C:
/* B41D2C 800CAB8C 03E00008 */ jr $ra
/* B41D30 800CAB90 27BD0080 */ addiu $sp, $sp, 0x80
glabel func_800CAB94
/* B41D34 800CAB94 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B41D38 800CAB98 AFB00018 */ sw $s0, 0x18($sp)
/* B41D3C 800CAB9C 00808025 */ move $s0, $a0
/* B41D40 800CABA0 AFBF001C */ sw $ra, 0x1c($sp)
/* B41D44 800CABA4 AFA5002C */ sw $a1, 0x2c($sp)
/* B41D48 800CABA8 AFA60030 */ sw $a2, 0x30($sp)
/* B41D4C 800CABAC 0C032D80 */ jal func_800CB600
/* B41D50 800CABB0 2484000C */ addiu $a0, $a0, 0xc
/* B41D54 800CABB4 3C018014 */ lui $at, %hi(D_801464DC)
/* B41D58 800CABB8 C42464DC */ lwc1 $f4, %lo(D_801464DC)($at)
/* B41D5C 800CABBC E7A00024 */ swc1 $f0, 0x24($sp)
/* B41D60 800CABC0 46000005 */ abs.s $f0, $f0
/* B41D64 800CABC4 3C048014 */ lui $a0, %hi(D_801463D0) # $a0, 0x8014
/* B41D68 800CABC8 4604003C */ c.lt.s $f0, $f4
/* B41D6C 800CABCC 00000000 */ nop
/* B41D70 800CABD0 45020010 */ bc1fl .L800CAC14
/* B41D74 800CABD4 8FA3002C */ lw $v1, 0x2c($sp)
/* B41D78 800CABD8 0C00084C */ jal osSyncPrintf
/* B41D7C 800CABDC 248463D0 */ addiu $a0, %lo(D_801463D0) # addiu $a0, $a0, 0x63d0
/* B41D80 800CABE0 3C048014 */ lui $a0, %hi(D_801463DC) # $a0, 0x8014
/* B41D84 800CABE4 0C00084C */ jal osSyncPrintf
/* B41D88 800CABE8 248463DC */ addiu $a0, %lo(D_801463DC) # addiu $a0, $a0, 0x63dc
/* B41D8C 800CABEC 3C048014 */ lui $a0, %hi(D_80146414) # $a0, 0x8014
/* B41D90 800CABF0 0C00084C */ jal osSyncPrintf
/* B41D94 800CABF4 24846414 */ addiu $a0, %lo(D_80146414) # addiu $a0, $a0, 0x6414
/* B41D98 800CABF8 3C048014 */ lui $a0, %hi(D_80146430) # $a0, 0x8014
/* B41D9C 800CABFC 0C00084C */ jal osSyncPrintf
/* B41DA0 800CAC00 24846430 */ addiu $a0, %lo(D_80146430) # addiu $a0, $a0, 0x6430
/* B41DA4 800CAC04 8FA40030 */ lw $a0, 0x30($sp)
/* B41DA8 800CAC08 0C01DF90 */ jal Math_Vec3f_Copy
/* B41DAC 800CAC0C 8FA5002C */ lw $a1, 0x2c($sp)
/* B41DB0 800CAC10 8FA3002C */ lw $v1, 0x2c($sp)
.L800CAC14:
/* B41DB4 800CAC14 C6080004 */ lwc1 $f8, 4($s0)
/* B41DB8 800CAC18 C6020000 */ lwc1 $f2, ($s0)
/* B41DBC 800CAC1C C4660004 */ lwc1 $f6, 4($v1)
/* B41DC0 800CAC20 C4640000 */ lwc1 $f4, ($v1)
/* B41DC4 800CAC24 C6100010 */ lwc1 $f16, 0x10($s0)
/* B41DC8 800CAC28 46083281 */ sub.s $f10, $f6, $f8
/* B41DCC 800CAC2C C60C000C */ lwc1 $f12, 0xc($s0)
/* B41DD0 800CAC30 8FA20030 */ lw $v0, 0x30($sp)
/* B41DD4 800CAC34 46022181 */ sub.s $f6, $f4, $f2
/* B41DD8 800CAC38 46105482 */ mul.s $f18, $f10, $f16
/* B41DDC 800CAC3C C6040008 */ lwc1 $f4, 8($s0)
/* B41DE0 800CAC40 C4700008 */ lwc1 $f16, 8($v1)
/* B41DE4 800CAC44 460C3202 */ mul.s $f8, $f6, $f12
/* B41DE8 800CAC48 46048181 */ sub.s $f6, $f16, $f4
/* B41DEC 800CAC4C C7A40024 */ lwc1 $f4, 0x24($sp)
/* B41DF0 800CAC50 46124280 */ add.s $f10, $f8, $f18
/* B41DF4 800CAC54 C6080014 */ lwc1 $f8, 0x14($s0)
/* B41DF8 800CAC58 46083482 */ mul.s $f18, $f6, $f8
/* B41DFC 800CAC5C 46125400 */ add.s $f16, $f10, $f18
/* B41E00 800CAC60 46048003 */ div.s $f0, $f16, $f4
/* B41E04 800CAC64 46006182 */ mul.s $f6, $f12, $f0
/* B41E08 800CAC68 46023200 */ add.s $f8, $f6, $f2
/* B41E0C 800CAC6C E4480000 */ swc1 $f8, ($v0)
/* B41E10 800CAC70 C60A0010 */ lwc1 $f10, 0x10($s0)
/* B41E14 800CAC74 C6100004 */ lwc1 $f16, 4($s0)
/* B41E18 800CAC78 46005482 */ mul.s $f18, $f10, $f0
/* B41E1C 800CAC7C 46109100 */ add.s $f4, $f18, $f16
/* B41E20 800CAC80 E4440004 */ swc1 $f4, 4($v0)
/* B41E24 800CAC84 C6060014 */ lwc1 $f6, 0x14($s0)
/* B41E28 800CAC88 C60A0008 */ lwc1 $f10, 8($s0)
/* B41E2C 800CAC8C 46003202 */ mul.s $f8, $f6, $f0
/* B41E30 800CAC90 460A4480 */ add.s $f18, $f8, $f10
/* B41E34 800CAC94 E4520008 */ swc1 $f18, 8($v0)
/* B41E38 800CAC98 8FBF001C */ lw $ra, 0x1c($sp)
/* B41E3C 800CAC9C 8FB00018 */ lw $s0, 0x18($sp)
/* B41E40 800CACA0 27BD0028 */ addiu $sp, $sp, 0x28
/* B41E44 800CACA4 03E00008 */ jr $ra
/* B41E48 800CACA8 00000000 */ nop
glabel func_800CACAC
/* B41E4C 800CACAC AFA7000C */ sw $a3, 0xc($sp)
/* B41E50 800CACB0 C7A4000C */ lwc1 $f4, 0xc($sp)
/* B41E54 800CACB4 C7A60014 */ lwc1 $f6, 0x14($sp)
/* B41E58 800CACB8 C7AA0018 */ lwc1 $f10, 0x18($sp)
/* B41E5C 800CACBC 8FAE001C */ lw $t6, 0x1c($sp)
/* B41E60 800CACC0 46062202 */ mul.s $f8, $f4, $f6
/* B41E64 800CACC4 C7A40010 */ lwc1 $f4, 0x10($sp)
/* B41E68 800CACC8 AFA60008 */ sw $a2, 8($sp)
/* B41E6C 800CACCC 460A7402 */ mul.s $f16, $f14, $f10
/* B41E70 800CACD0 46088481 */ sub.s $f18, $f16, $f8
/* B41E74 800CACD4 46049183 */ div.s $f6, $f18, $f4
/* B41E78 800CACD8 E5C60000 */ swc1 $f6, ($t6)
/* B41E7C 800CACDC C7B00014 */ lwc1 $f16, 0x14($sp)
/* B41E80 800CACE0 C7AA0008 */ lwc1 $f10, 8($sp)
/* B41E84 800CACE4 C7B20018 */ lwc1 $f18, 0x18($sp)
/* B41E88 800CACE8 8FAF0020 */ lw $t7, 0x20($sp)
/* B41E8C 800CACEC 46105202 */ mul.s $f8, $f10, $f16
/* B41E90 800CACF0 C7AA0010 */ lwc1 $f10, 0x10($sp)
/* B41E94 800CACF4 46126102 */ mul.s $f4, $f12, $f18
/* B41E98 800CACF8 46044181 */ sub.s $f6, $f8, $f4
/* B41E9C 800CACFC 460A3403 */ div.s $f16, $f6, $f10
/* B41EA0 800CAD00 03E00008 */ jr $ra
/* B41EA4 800CAD04 E5F00000 */ swc1 $f16, ($t7)
glabel func_800CAD08
/* B41EA8 800CAD08 27BDFF90 */ addiu $sp, $sp, -0x70
/* B41EAC 800CAD0C E7AC0070 */ swc1 $f12, 0x70($sp)
/* B41EB0 800CAD10 E7AE0074 */ swc1 $f14, 0x74($sp)
/* B41EB4 800CAD14 C7A60074 */ lwc1 $f6, 0x74($sp)
/* B41EB8 800CAD18 C7A40070 */ lwc1 $f4, 0x70($sp)
/* B41EBC 800CAD1C AFB00030 */ sw $s0, 0x30($sp)
/* B41EC0 800CAD20 AFA60078 */ sw $a2, 0x78($sp)
/* B41EC4 800CAD24 E7A60064 */ swc1 $f6, 0x64($sp)
/* B41EC8 800CAD28 E7A40060 */ swc1 $f4, 0x60($sp)
/* B41ECC 800CAD2C 8FB00090 */ lw $s0, 0x90($sp)
/* B41ED0 800CAD30 C7A80078 */ lwc1 $f8, 0x78($sp)
/* B41ED4 800CAD34 C7A40084 */ lwc1 $f4, 0x84($sp)
/* B41ED8 800CAD38 C7A60088 */ lwc1 $f6, 0x88($sp)
/* B41EDC 800CAD3C C7AA0080 */ lwc1 $f10, 0x80($sp)
/* B41EE0 800CAD40 AFBF0034 */ sw $ra, 0x34($sp)
/* B41EE4 800CAD44 AFA7007C */ sw $a3, 0x7c($sp)
/* B41EE8 800CAD48 27A40060 */ addiu $a0, $sp, 0x60
/* B41EEC 800CAD4C 27A50054 */ addiu $a1, $sp, 0x54
/* B41EF0 800CAD50 2606000C */ addiu $a2, $s0, 0xc
/* B41EF4 800CAD54 E7A80068 */ swc1 $f8, 0x68($sp)
/* B41EF8 800CAD58 E7A40058 */ swc1 $f4, 0x58($sp)
/* B41EFC 800CAD5C E7A6005C */ swc1 $f6, 0x5c($sp)
/* B41F00 800CAD60 0C032DED */ jal func_800CB7B4
/* B41F04 800CAD64 E7AA0054 */ swc1 $f10, 0x54($sp)
/* B41F08 800CAD68 C608000C */ lwc1 $f8, 0xc($s0)
/* B41F0C 800CAD6C 3C018014 */ lui $at, %hi(D_801464E0)
/* B41F10 800CAD70 C42264E0 */ lwc1 $f2, %lo(D_801464E0)($at)
/* B41F14 800CAD74 E7A80044 */ swc1 $f8, 0x44($sp)
/* B41F18 800CAD78 C7AE0044 */ lwc1 $f14, 0x44($sp)
/* B41F1C 800CAD7C 46007385 */ abs.s $f14, $f14
/* B41F20 800CAD80 4602703C */ c.lt.s $f14, $f2
/* B41F24 800CAD84 00000000 */ nop
/* B41F28 800CAD88 45020010 */ bc1fl .L800CADCC
/* B41F2C 800CAD8C C6100010 */ lwc1 $f16, 0x10($s0)
/* B41F30 800CAD90 C6000010 */ lwc1 $f0, 0x10($s0)
/* B41F34 800CAD94 46000005 */ abs.s $f0, $f0
/* B41F38 800CAD98 4602003C */ c.lt.s $f0, $f2
/* B41F3C 800CAD9C 00000000 */ nop
/* B41F40 800CADA0 4502000A */ bc1fl .L800CADCC
/* B41F44 800CADA4 C6100010 */ lwc1 $f16, 0x10($s0)
/* B41F48 800CADA8 C6000014 */ lwc1 $f0, 0x14($s0)
/* B41F4C 800CADAC 46000005 */ abs.s $f0, $f0
/* B41F50 800CADB0 4602003C */ c.lt.s $f0, $f2
/* B41F54 800CADB4 00000000 */ nop
/* B41F58 800CADB8 45020004 */ bc1fl .L800CADCC
/* B41F5C 800CADBC C6100010 */ lwc1 $f16, 0x10($s0)
/* B41F60 800CADC0 10000044 */ b .L800CAED4
/* B41F64 800CADC4 00001025 */ move $v0, $zero
/* B41F68 800CADC8 C6100010 */ lwc1 $f16, 0x10($s0)
.L800CADCC:
/* B41F6C 800CADCC C6120014 */ lwc1 $f18, 0x14($s0)
/* B41F70 800CADD0 46007086 */ mov.s $f2, $f14
/* B41F74 800CADD4 46008305 */ abs.s $f12, $f16
/* B41F78 800CADD8 46009005 */ abs.s $f0, $f18
/* B41F7C 800CADDC 460E603E */ c.le.s $f12, $f14
/* B41F80 800CADE0 00000000 */ nop
/* B41F84 800CADE4 45020016 */ bc1fl .L800CAE40
/* B41F88 800CADE8 460C103E */ c.le.s $f2, $f12
/* B41F8C 800CADEC 460E003E */ c.le.s $f0, $f14
/* B41F90 800CADF0 C7AE0078 */ lwc1 $f14, 0x78($sp)
/* B41F94 800CADF4 8FA60084 */ lw $a2, 0x84($sp)
/* B41F98 800CADF8 8FA70088 */ lw $a3, 0x88($sp)
/* B41F9C 800CADFC 4500000F */ bc1f .L800CAE3C
/* B41FA0 800CAE00 C7AA0044 */ lwc1 $f10, 0x44($sp)
/* B41FA4 800CAE04 C7A4007C */ lwc1 $f4, 0x7c($sp)
/* B41FA8 800CAE08 C7A6008C */ lwc1 $f6, 0x8c($sp)
/* B41FAC 800CAE0C 260E0004 */ addiu $t6, $s0, 4
/* B41FB0 800CAE10 260F0008 */ addiu $t7, $s0, 8
/* B41FB4 800CAE14 AFAF0020 */ sw $t7, 0x20($sp)
/* B41FB8 800CAE18 AFAE001C */ sw $t6, 0x1c($sp)
/* B41FBC 800CAE1C C7AC0074 */ lwc1 $f12, 0x74($sp)
/* B41FC0 800CAE20 E7AA0010 */ swc1 $f10, 0x10($sp)
/* B41FC4 800CAE24 E7A40014 */ swc1 $f4, 0x14($sp)
/* B41FC8 800CAE28 0C032B2B */ jal func_800CACAC
/* B41FCC 800CAE2C E7A60018 */ swc1 $f6, 0x18($sp)
/* B41FD0 800CAE30 44804000 */ mtc1 $zero, $f8
/* B41FD4 800CAE34 10000026 */ b .L800CAED0
/* B41FD8 800CAE38 E6080000 */ swc1 $f8, ($s0)
.L800CAE3C:
/* B41FDC 800CAE3C 460C103E */ c.le.s $f2, $f12
.L800CAE40:
/* B41FE0 800CAE40 C7AE0074 */ lwc1 $f14, 0x74($sp)
/* B41FE4 800CAE44 8FA60080 */ lw $a2, 0x80($sp)
/* B41FE8 800CAE48 8FA70084 */ lw $a3, 0x84($sp)
/* B41FEC 800CAE4C 45000014 */ bc1f .L800CAEA0
/* B41FF0 800CAE50 26190004 */ addiu $t9, $s0, 4
/* B41FF4 800CAE54 460C003E */ c.le.s $f0, $f12
/* B41FF8 800CAE58 C7AC0078 */ lwc1 $f12, 0x78($sp)
/* B41FFC 800CAE5C 26180008 */ addiu $t8, $s0, 8
/* B42000 800CAE60 45020010 */ bc1fl .L800CAEA4
/* B42004 800CAE64 C7A8007C */ lwc1 $f8, 0x7c($sp)
/* B42008 800CAE68 C7AA007C */ lwc1 $f10, 0x7c($sp)
/* B4200C 800CAE6C C7A4008C */ lwc1 $f4, 0x8c($sp)
/* B42010 800CAE70 C7AE0070 */ lwc1 $f14, 0x70($sp)
/* B42014 800CAE74 8FA60088 */ lw $a2, 0x88($sp)
/* B42018 800CAE78 8FA70080 */ lw $a3, 0x80($sp)
/* B4201C 800CAE7C E7B00010 */ swc1 $f16, 0x10($sp)
/* B42020 800CAE80 AFB8001C */ sw $t8, 0x1c($sp)
/* B42024 800CAE84 AFB00020 */ sw $s0, 0x20($sp)
/* B42028 800CAE88 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B4202C 800CAE8C 0C032B2B */ jal func_800CACAC
/* B42030 800CAE90 E7A40018 */ swc1 $f4, 0x18($sp)
/* B42034 800CAE94 44803000 */ mtc1 $zero, $f6
/* B42038 800CAE98 1000000D */ b .L800CAED0
/* B4203C 800CAE9C E6060004 */ swc1 $f6, 4($s0)
.L800CAEA0:
/* B42040 800CAEA0 C7A8007C */ lwc1 $f8, 0x7c($sp)
.L800CAEA4:
/* B42044 800CAEA4 C7AA008C */ lwc1 $f10, 0x8c($sp)
/* B42048 800CAEA8 C7AC0070 */ lwc1 $f12, 0x70($sp)
/* B4204C 800CAEAC E7B20010 */ swc1 $f18, 0x10($sp)
/* B42050 800CAEB0 AFB0001C */ sw $s0, 0x1c($sp)
/* B42054 800CAEB4 AFB90020 */ sw $t9, 0x20($sp)
/* B42058 800CAEB8 E7A80014 */ swc1 $f8, 0x14($sp)
/* B4205C 800CAEBC 0C032B2B */ jal func_800CACAC
/* B42060 800CAEC0 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B42064 800CAEC4 44802000 */ mtc1 $zero, $f4
/* B42068 800CAEC8 00000000 */ nop
/* B4206C 800CAECC E6040008 */ swc1 $f4, 8($s0)
.L800CAED0:
/* B42070 800CAED0 24020001 */ li $v0, 1
.L800CAED4:
/* B42074 800CAED4 8FBF0034 */ lw $ra, 0x34($sp)
/* B42078 800CAED8 8FB00030 */ lw $s0, 0x30($sp)
/* B4207C 800CAEDC 27BD0070 */ addiu $sp, $sp, 0x70
/* B42080 800CAEE0 03E00008 */ jr $ra
/* B42084 800CAEE4 00000000 */ nop
glabel func_800CAEE8
/* B42088 800CAEE8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* B4208C 800CAEEC C7A40040 */ lwc1 $f4, 0x40($sp)
/* B42090 800CAEF0 C7A60044 */ lwc1 $f6, 0x44($sp)
/* B42094 800CAEF4 C7A80048 */ lwc1 $f8, 0x48($sp)
/* B42098 800CAEF8 C7AA004C */ lwc1 $f10, 0x4c($sp)
/* B4209C 800CAEFC 3C0E8017 */ lui $t6, %hi(D_8016A5D0) # $t6, 0x8017
/* B420A0 800CAF00 AFBF002C */ sw $ra, 0x2c($sp)
/* B420A4 800CAF04 25CEA5D0 */ addiu $t6, %lo(D_8016A5D0) # addiu $t6, $t6, -0x5a30
/* B420A8 800CAF08 AFA60038 */ sw $a2, 0x38($sp)
/* B420AC 800CAF0C AFA7003C */ sw $a3, 0x3c($sp)
/* B420B0 800CAF10 AFAE0020 */ sw $t6, 0x20($sp)
/* B420B4 800CAF14 E7A40010 */ swc1 $f4, 0x10($sp)
/* B420B8 800CAF18 E7A60014 */ swc1 $f6, 0x14($sp)
/* B420BC 800CAF1C E7A80018 */ swc1 $f8, 0x18($sp)
/* B420C0 800CAF20 0C032B42 */ jal func_800CAD08
/* B420C4 800CAF24 E7AA001C */ swc1 $f10, 0x1c($sp)
/* B420C8 800CAF28 14400003 */ bnez $v0, .L800CAF38
/* B420CC 800CAF2C 3C048017 */ lui $a0, %hi(D_8016A5D0) # $a0, 0x8017
/* B420D0 800CAF30 10000006 */ b .L800CAF4C
/* B420D4 800CAF34 00001025 */ move $v0, $zero
.L800CAF38:
/* B420D8 800CAF38 2484A5D0 */ addiu $a0, %lo(D_8016A5D0) # addiu $a0, $a0, -0x5a30
/* B420DC 800CAF3C 8FA50050 */ lw $a1, 0x50($sp)
/* B420E0 800CAF40 0C032AE5 */ jal func_800CAB94
/* B420E4 800CAF44 8FA60054 */ lw $a2, 0x54($sp)
/* B420E8 800CAF48 24020001 */ li $v0, 1
.L800CAF4C:
/* B420EC 800CAF4C 8FBF002C */ lw $ra, 0x2c($sp)
/* B420F0 800CAF50 27BD0030 */ addiu $sp, $sp, 0x30
/* B420F4 800CAF54 03E00008 */ jr $ra
/* B420F8 800CAF58 00000000 */ nop
glabel func_800CAF5C
/* B420FC 800CAF5C 44866000 */ mtc1 $a2, $f12
/* B42100 800CAF60 C4A40000 */ lwc1 $f4, ($a1)
/* B42104 800CAF64 C4880000 */ lwc1 $f8, ($a0)
/* B42108 800CAF68 460C2182 */ mul.s $f6, $f4, $f12
/* B4210C 800CAF6C 46083280 */ add.s $f10, $f6, $f8
/* B42110 800CAF70 E4EA0000 */ swc1 $f10, ($a3)
/* B42114 800CAF74 C4B00004 */ lwc1 $f16, 4($a1)
/* B42118 800CAF78 C4840004 */ lwc1 $f4, 4($a0)
/* B4211C 800CAF7C 460C8482 */ mul.s $f18, $f16, $f12
/* B42120 800CAF80 46049180 */ add.s $f6, $f18, $f4
/* B42124 800CAF84 E4E60004 */ swc1 $f6, 4($a3)
/* B42128 800CAF88 C4A80008 */ lwc1 $f8, 8($a1)
/* B4212C 800CAF8C C4900008 */ lwc1 $f16, 8($a0)
/* B42130 800CAF90 460C4282 */ mul.s $f10, $f8, $f12
/* B42134 800CAF94 46105480 */ add.s $f18, $f10, $f16
/* B42138 800CAF98 03E00008 */ jr $ra
/* B4213C 800CAF9C E4F20008 */ swc1 $f18, 8($a3)
glabel func_800CAFA0
/* B42140 800CAFA0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B42144 800CAFA4 AFA40028 */ sw $a0, 0x28($sp)
/* B42148 800CAFA8 AFBF0014 */ sw $ra, 0x14($sp)
/* B4214C 800CAFAC AFA5002C */ sw $a1, 0x2c($sp)
/* B42150 800CAFB0 AFA60030 */ sw $a2, 0x30($sp)
/* B42154 800CAFB4 00A02025 */ move $a0, $a1
/* B42158 800CAFB8 AFA70034 */ sw $a3, 0x34($sp)
/* B4215C 800CAFBC 8FA50028 */ lw $a1, 0x28($sp)
/* B42160 800CAFC0 0C01DFB4 */ jal Math_Vec3f_Diff
/* B42164 800CAFC4 27A6001C */ addiu $a2, $sp, 0x1c
/* B42168 800CAFC8 8FA40028 */ lw $a0, 0x28($sp)
/* B4216C 800CAFCC 27A5001C */ addiu $a1, $sp, 0x1c
/* B42170 800CAFD0 8FA60030 */ lw $a2, 0x30($sp)
/* B42174 800CAFD4 0C032BD7 */ jal func_800CAF5C
/* B42178 800CAFD8 8FA70034 */ lw $a3, 0x34($sp)
/* B4217C 800CAFDC 8FBF0014 */ lw $ra, 0x14($sp)
/* B42180 800CAFE0 27BD0028 */ addiu $sp, $sp, 0x28
/* B42184 800CAFE4 03E00008 */ jr $ra
/* B42188 800CAFE8 00000000 */ nop
glabel func_800CAFEC
/* B4218C 800CAFEC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B42190 800CAFF0 AFBF0014 */ sw $ra, 0x14($sp)
/* B42194 800CAFF4 0C032C04 */ jal func_800CB010
/* B42198 800CAFF8 27A6001C */ addiu $a2, $sp, 0x1c
/* B4219C 800CAFFC 8FBF0014 */ lw $ra, 0x14($sp)
/* B421A0 800CB000 C7A0001C */ lwc1 $f0, 0x1c($sp)
/* B421A4 800CB004 27BD0020 */ addiu $sp, $sp, 0x20
/* B421A8 800CB008 03E00008 */ jr $ra
/* B421AC 800CB00C 00000000 */ nop
glabel func_800CB010
/* B421B0 800CB010 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B421B4 800CB014 AFBF0014 */ sw $ra, 0x14($sp)
/* B421B8 800CB018 AFA50024 */ sw $a1, 0x24($sp)
/* B421BC 800CB01C AFA60028 */ sw $a2, 0x28($sp)
/* B421C0 800CB020 0C032D8A */ jal func_800CB628
/* B421C4 800CB024 AFA40020 */ sw $a0, 0x20($sp)
/* B421C8 800CB028 8FA40024 */ lw $a0, 0x24($sp)
/* B421CC 800CB02C 0C032D8A */ jal func_800CB628
/* B421D0 800CB030 E7A00018 */ swc1 $f0, 0x18($sp)
/* B421D4 800CB034 C7A40018 */ lwc1 $f4, 0x18($sp)
/* B421D8 800CB038 3C018014 */ lui $at, %hi(D_801464E4)
/* B421DC 800CB03C C42664E4 */ lwc1 $f6, %lo(D_801464E4)($at)
/* B421E0 800CB040 46040302 */ mul.s $f12, $f0, $f4
/* B421E4 800CB044 8FA40024 */ lw $a0, 0x24($sp)
/* B421E8 800CB048 8FA70020 */ lw $a3, 0x20($sp)
/* B421EC 800CB04C 8FAE0028 */ lw $t6, 0x28($sp)
/* B421F0 800CB050 46006005 */ abs.s $f0, $f12
/* B421F4 800CB054 4606003C */ c.lt.s $f0, $f6
/* B421F8 800CB058 00000000 */ nop
/* B421FC 800CB05C 45020006 */ bc1fl .L800CB078
/* B42200 800CB060 C4EA0000 */ lwc1 $f10, ($a3)
/* B42204 800CB064 44804000 */ mtc1 $zero, $f8
/* B42208 800CB068 24020001 */ li $v0, 1
/* B4220C 800CB06C 10000010 */ b .L800CB0B0
/* B42210 800CB070 E5C80000 */ swc1 $f8, ($t6)
/* B42214 800CB074 C4EA0000 */ lwc1 $f10, ($a3)
.L800CB078:
/* B42218 800CB078 C4900000 */ lwc1 $f16, ($a0)
/* B4221C 800CB07C C4E40004 */ lwc1 $f4, 4($a3)
/* B42220 800CB080 C4860004 */ lwc1 $f6, 4($a0)
/* B42224 800CB084 46105482 */ mul.s $f18, $f10, $f16
/* B42228 800CB088 C4F00008 */ lwc1 $f16, 8($a3)
/* B4222C 800CB08C 8FAF0028 */ lw $t7, 0x28($sp)
/* B42230 800CB090 46062202 */ mul.s $f8, $f4, $f6
/* B42234 800CB094 C4840008 */ lwc1 $f4, 8($a0)
/* B42238 800CB098 00001025 */ move $v0, $zero
/* B4223C 800CB09C 46048182 */ mul.s $f6, $f16, $f4
/* B42240 800CB0A0 46089280 */ add.s $f10, $f18, $f8
/* B42244 800CB0A4 46065480 */ add.s $f18, $f10, $f6
/* B42248 800CB0A8 460C9203 */ div.s $f8, $f18, $f12
/* B4224C 800CB0AC E5E80000 */ swc1 $f8, ($t7)
.L800CB0B0:
/* B42250 800CB0B0 8FBF0014 */ lw $ra, 0x14($sp)
/* B42254 800CB0B4 27BD0020 */ addiu $sp, $sp, 0x20
/* B42258 800CB0B8 03E00008 */ jr $ra
/* B4225C 800CB0BC 00000000 */ nop
glabel func_800CB0C0
/* B42260 800CB0C0 27BDFFC8 */ addiu $sp, $sp, -0x38
/* B42264 800CB0C4 AFBF0014 */ sw $ra, 0x14($sp)
/* B42268 800CB0C8 3C01BF80 */ li $at, 0xBF800000 # 0.000000
/* B4226C 800CB0CC 44810000 */ mtc1 $at, $f0
/* B42270 800CB0D0 C4840000 */ lwc1 $f4, ($a0)
/* B42274 800CB0D4 00803825 */ move $a3, $a0
/* B42278 800CB0D8 46002182 */ mul.s $f6, $f4, $f0
/* B4227C 800CB0DC E7A60028 */ swc1 $f6, 0x28($sp)
/* B42280 800CB0E0 C4880004 */ lwc1 $f8, 4($a0)
/* B42284 800CB0E4 46004282 */ mul.s $f10, $f8, $f0
/* B42288 800CB0E8 E7AA002C */ swc1 $f10, 0x2c($sp)
/* B4228C 800CB0EC C4840008 */ lwc1 $f4, 8($a0)
/* B42290 800CB0F0 AFA70038 */ sw $a3, 0x38($sp)
/* B42294 800CB0F4 AFA60040 */ sw $a2, 0x40($sp)
/* B42298 800CB0F8 46002182 */ mul.s $f6, $f4, $f0
/* B4229C 800CB0FC AFA5003C */ sw $a1, 0x3c($sp)
/* B422A0 800CB100 27A40028 */ addiu $a0, $sp, 0x28
/* B422A4 800CB104 0C032BFB */ jal func_800CAFEC
/* B422A8 800CB108 E7A60030 */ swc1 $f6, 0x30($sp)
/* B422AC 800CB10C 8FA5003C */ lw $a1, 0x3c($sp)
/* B422B0 800CB110 8FA70038 */ lw $a3, 0x38($sp)
/* B422B4 800CB114 8FA60040 */ lw $a2, 0x40($sp)
/* B422B8 800CB118 C4A80000 */ lwc1 $f8, ($a1)
/* B422BC 800CB11C C4AA0004 */ lwc1 $f10, 4($a1)
/* B422C0 800CB120 C4A40008 */ lwc1 $f4, 8($a1)
/* B422C4 800CB124 46004402 */ mul.s $f16, $f8, $f0
/* B422C8 800CB128 00000000 */ nop
/* B422CC 800CB12C 46005482 */ mul.s $f18, $f10, $f0
/* B422D0 800CB130 00000000 */ nop
/* B422D4 800CB134 46002182 */ mul.s $f6, $f4, $f0
/* B422D8 800CB138 C7A40028 */ lwc1 $f4, 0x28($sp)
/* B422DC 800CB13C E7A60024 */ swc1 $f6, 0x24($sp)
/* B422E0 800CB140 C4E80000 */ lwc1 $f8, ($a3)
/* B422E4 800CB144 46104080 */ add.s $f2, $f8, $f16
/* B422E8 800CB148 46021280 */ add.s $f10, $f2, $f2
/* B422EC 800CB14C 46045180 */ add.s $f6, $f10, $f4
/* B422F0 800CB150 E4C60000 */ swc1 $f6, ($a2)
/* B422F4 800CB154 C4E80004 */ lwc1 $f8, 4($a3)
/* B422F8 800CB158 C7A4002C */ lwc1 $f4, 0x2c($sp)
/* B422FC 800CB15C 46124300 */ add.s $f12, $f8, $f18
/* B42300 800CB160 460C6280 */ add.s $f10, $f12, $f12
/* B42304 800CB164 46045180 */ add.s $f6, $f10, $f4
/* B42308 800CB168 E4C60004 */ swc1 $f6, 4($a2)
/* B4230C 800CB16C C7AA0024 */ lwc1 $f10, 0x24($sp)
/* B42310 800CB170 C4E80008 */ lwc1 $f8, 8($a3)
/* B42314 800CB174 C7A60030 */ lwc1 $f6, 0x30($sp)
/* B42318 800CB178 460A4380 */ add.s $f14, $f8, $f10
/* B4231C 800CB17C 460E7100 */ add.s $f4, $f14, $f14
/* B42320 800CB180 46062200 */ add.s $f8, $f4, $f6
/* B42324 800CB184 E4C80008 */ swc1 $f8, 8($a2)
/* B42328 800CB188 8FBF0014 */ lw $ra, 0x14($sp)
/* B4232C 800CB18C 27BD0038 */ addiu $sp, $sp, 0x38
/* B42330 800CB190 03E00008 */ jr $ra
/* B42334 800CB194 00000000 */ nop
glabel func_800CB198
/* B42338 800CB198 C7A40010 */ lwc1 $f4, 0x10($sp)
/* B4233C 800CB19C AFA60008 */ sw $a2, 8($sp)
/* B42340 800CB1A0 AFA7000C */ sw $a3, 0xc($sp)
/* B42344 800CB1A4 4604603E */ c.le.s $f12, $f4
/* B42348 800CB1A8 00001025 */ move $v0, $zero
/* B4234C 800CB1AC 45000010 */ bc1f .L800CB1F0
/* B42350 800CB1B0 00000000 */ nop
/* B42354 800CB1B4 460E203E */ c.le.s $f4, $f14
/* B42358 800CB1B8 C7A00014 */ lwc1 $f0, 0x14($sp)
/* B4235C 800CB1BC C7A60008 */ lwc1 $f6, 8($sp)
/* B42360 800CB1C0 4500000B */ bc1f .L800CB1F0
/* B42364 800CB1C4 00000000 */ nop
/* B42368 800CB1C8 4600303E */ c.le.s $f6, $f0
/* B4236C 800CB1CC C7A8000C */ lwc1 $f8, 0xc($sp)
/* B42370 800CB1D0 45000007 */ bc1f .L800CB1F0
/* B42374 800CB1D4 00000000 */ nop
/* B42378 800CB1D8 4608003E */ c.le.s $f0, $f8
/* B4237C 800CB1DC 00000000 */ nop
/* B42380 800CB1E0 45000003 */ bc1f .L800CB1F0
/* B42384 800CB1E4 00000000 */ nop
/* B42388 800CB1E8 03E00008 */ jr $ra
/* B4238C 800CB1EC 24020001 */ li $v0, 1
.L800CB1F0:
/* B42390 800CB1F0 03E00008 */ jr $ra
/* B42394 800CB1F4 00000000 */ nop
glabel func_800CB1F8
/* B42398 800CB1F8 AFA60008 */ sw $a2, 8($sp)
/* B4239C 800CB1FC C7A40008 */ lwc1 $f4, 8($sp)
/* B423A0 800CB200 AFA7000C */ sw $a3, 0xc($sp)
/* B423A4 800CB204 46006406 */ mov.s $f16, $f12
/* B423A8 800CB208 460C203C */ c.lt.s $f4, $f12
/* B423AC 800CB20C 46006486 */ mov.s $f18, $f12
/* B423B0 800CB210 46007006 */ mov.s $f0, $f14
/* B423B4 800CB214 46007086 */ mov.s $f2, $f14
/* B423B8 800CB218 45000003 */ bc1f .L800CB228
/* B423BC 800CB21C C7A8000C */ lwc1 $f8, 0xc($sp)
/* B423C0 800CB220 10000007 */ b .L800CB240
/* B423C4 800CB224 46002486 */ mov.s $f18, $f4
.L800CB228:
/* B423C8 800CB228 C7A60008 */ lwc1 $f6, 8($sp)
/* B423CC 800CB22C 4606603C */ c.lt.s $f12, $f6
/* B423D0 800CB230 00000000 */ nop
/* B423D4 800CB234 45020003 */ bc1fl .L800CB244
/* B423D8 800CB238 460E403C */ c.lt.s $f8, $f14
/* B423DC 800CB23C 46003406 */ mov.s $f16, $f6
.L800CB240:
/* B423E0 800CB240 460E403C */ c.lt.s $f8, $f14
.L800CB244:
/* B423E4 800CB244 C7AA000C */ lwc1 $f10, 0xc($sp)
/* B423E8 800CB248 C7AC0010 */ lwc1 $f12, 0x10($sp)
/* B423EC 800CB24C 00001025 */ move $v0, $zero
/* B423F0 800CB250 45020004 */ bc1fl .L800CB264
/* B423F4 800CB254 460A703C */ c.lt.s $f14, $f10
/* B423F8 800CB258 10000006 */ b .L800CB274
/* B423FC 800CB25C 46004086 */ mov.s $f2, $f8
/* B42400 800CB260 460A703C */ c.lt.s $f14, $f10
.L800CB264:
/* B42404 800CB264 00000000 */ nop
/* B42408 800CB268 45020003 */ bc1fl .L800CB278
/* B4240C 800CB26C 4612603C */ c.lt.s $f12, $f18
/* B42410 800CB270 46005006 */ mov.s $f0, $f10
.L800CB274:
/* B42414 800CB274 4612603C */ c.lt.s $f12, $f18
.L800CB278:
/* B42418 800CB278 C7AE0020 */ lwc1 $f14, 0x20($sp)
/* B4241C 800CB27C 45020004 */ bc1fl .L800CB290
/* B42420 800CB280 460C803C */ c.lt.s $f16, $f12
/* B42424 800CB284 10000006 */ b .L800CB2A0
/* B42428 800CB288 46006486 */ mov.s $f18, $f12
/* B4242C 800CB28C 460C803C */ c.lt.s $f16, $f12
.L800CB290:
/* B42430 800CB290 00000000 */ nop
/* B42434 800CB294 45020003 */ bc1fl .L800CB2A4
/* B42438 800CB298 C7AC0014 */ lwc1 $f12, 0x14($sp)
/* B4243C 800CB29C 46006406 */ mov.s $f16, $f12
.L800CB2A0:
/* B42440 800CB2A0 C7AC0014 */ lwc1 $f12, 0x14($sp)
.L800CB2A4:
/* B42444 800CB2A4 4602603C */ c.lt.s $f12, $f2
/* B42448 800CB2A8 00000000 */ nop
/* B4244C 800CB2AC 45020004 */ bc1fl .L800CB2C0
/* B42450 800CB2B0 460C003C */ c.lt.s $f0, $f12
/* B42454 800CB2B4 10000006 */ b .L800CB2D0
/* B42458 800CB2B8 46006086 */ mov.s $f2, $f12
/* B4245C 800CB2BC 460C003C */ c.lt.s $f0, $f12
.L800CB2C0:
/* B42460 800CB2C0 00000000 */ nop
/* B42464 800CB2C4 45020003 */ bc1fl .L800CB2D4
/* B42468 800CB2C8 460E9101 */ sub.s $f4, $f18, $f14
/* B4246C 800CB2CC 46006006 */ mov.s $f0, $f12
.L800CB2D0:
/* B42470 800CB2D0 460E9101 */ sub.s $f4, $f18, $f14
.L800CB2D4:
/* B42474 800CB2D4 C7AC0018 */ lwc1 $f12, 0x18($sp)
/* B42478 800CB2D8 460C203E */ c.le.s $f4, $f12
/* B4247C 800CB2DC 00000000 */ nop
/* B42480 800CB2E0 45000013 */ bc1f .L800CB330
/* B42484 800CB2E4 00000000 */ nop
/* B42488 800CB2E8 460E8180 */ add.s $f6, $f16, $f14
/* B4248C 800CB2EC 4606603E */ c.le.s $f12, $f6
/* B42490 800CB2F0 00000000 */ nop
/* B42494 800CB2F4 4500000E */ bc1f .L800CB330
/* B42498 800CB2F8 00000000 */ nop
/* B4249C 800CB2FC 460E1201 */ sub.s $f8, $f2, $f14
/* B424A0 800CB300 C7AC001C */ lwc1 $f12, 0x1c($sp)
/* B424A4 800CB304 460C403E */ c.le.s $f8, $f12
/* B424A8 800CB308 00000000 */ nop
/* B424AC 800CB30C 45000008 */ bc1f .L800CB330
/* B424B0 800CB310 00000000 */ nop
/* B424B4 800CB314 460E0280 */ add.s $f10, $f0, $f14
/* B424B8 800CB318 460A603E */ c.le.s $f12, $f10
/* B424BC 800CB31C 00000000 */ nop
/* B424C0 800CB320 45000003 */ bc1f .L800CB330
/* B424C4 800CB324 00000000 */ nop
/* B424C8 800CB328 03E00008 */ jr $ra
/* B424CC 800CB32C 24020001 */ li $v0, 1
.L800CB330:
/* B424D0 800CB330 03E00008 */ jr $ra
/* B424D4 800CB334 00000000 */ nop
glabel func_800CB338
/* B424D8 800CB338 C4A40000 */ lwc1 $f4, ($a1)
/* B424DC 800CB33C C4800000 */ lwc1 $f0, ($a0)
/* B424E0 800CB340 C4820004 */ lwc1 $f2, 4($a0)
/* B424E4 800CB344 C48C0008 */ lwc1 $f12, 8($a0)
/* B424E8 800CB348 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B424EC 800CB34C E7A40004 */ swc1 $f4, 4($sp)
/* B424F0 800CB350 C7A60004 */ lwc1 $f6, 4($sp)
/* B424F4 800CB354 C7A80004 */ lwc1 $f8, 4($sp)
/* B424F8 800CB358 46000386 */ mov.s $f14, $f0
/* B424FC 800CB35C 4600303C */ c.lt.s $f6, $f0
/* B42500 800CB360 46001406 */ mov.s $f16, $f2
/* B42504 800CB364 46006486 */ mov.s $f18, $f12
/* B42508 800CB368 45020004 */ bc1fl .L800CB37C
/* B4250C 800CB36C 4608003C */ c.lt.s $f0, $f8
/* B42510 800CB370 10000006 */ b .L800CB38C
/* B42514 800CB374 46003386 */ mov.s $f14, $f6
/* B42518 800CB378 4608003C */ c.lt.s $f0, $f8
.L800CB37C:
/* B4251C 800CB37C 00000000 */ nop
/* B42520 800CB380 45020003 */ bc1fl .L800CB390
/* B42524 800CB384 C4AA0004 */ lwc1 $f10, 4($a1)
/* B42528 800CB388 46004006 */ mov.s $f0, $f8
.L800CB38C:
/* B4252C 800CB38C C4AA0004 */ lwc1 $f10, 4($a1)
.L800CB390:
/* B42530 800CB390 E7AA0004 */ swc1 $f10, 4($sp)
/* B42534 800CB394 C7A40004 */ lwc1 $f4, 4($sp)
/* B42538 800CB398 C7A60004 */ lwc1 $f6, 4($sp)
/* B4253C 800CB39C 4602203C */ c.lt.s $f4, $f2
/* B42540 800CB3A0 00000000 */ nop
/* B42544 800CB3A4 45020004 */ bc1fl .L800CB3B8
/* B42548 800CB3A8 4606103C */ c.lt.s $f2, $f6
/* B4254C 800CB3AC 10000006 */ b .L800CB3C8
/* B42550 800CB3B0 46002406 */ mov.s $f16, $f4
/* B42554 800CB3B4 4606103C */ c.lt.s $f2, $f6
.L800CB3B8:
/* B42558 800CB3B8 00000000 */ nop
/* B4255C 800CB3BC 45020003 */ bc1fl .L800CB3CC
/* B42560 800CB3C0 C4A80008 */ lwc1 $f8, 8($a1)
/* B42564 800CB3C4 46003086 */ mov.s $f2, $f6
.L800CB3C8:
/* B42568 800CB3C8 C4A80008 */ lwc1 $f8, 8($a1)
.L800CB3CC:
/* B4256C 800CB3CC E7A80004 */ swc1 $f8, 4($sp)
/* B42570 800CB3D0 C7AA0004 */ lwc1 $f10, 4($sp)
/* B42574 800CB3D4 C7A40004 */ lwc1 $f4, 4($sp)
/* B42578 800CB3D8 460C503C */ c.lt.s $f10, $f12
/* B4257C 800CB3DC 00000000 */ nop
/* B42580 800CB3E0 45020004 */ bc1fl .L800CB3F4
/* B42584 800CB3E4 4604603C */ c.lt.s $f12, $f4
/* B42588 800CB3E8 10000006 */ b .L800CB404
/* B4258C 800CB3EC 46005486 */ mov.s $f18, $f10
/* B42590 800CB3F0 4604603C */ c.lt.s $f12, $f4
.L800CB3F4:
/* B42594 800CB3F4 00000000 */ nop
/* B42598 800CB3F8 45020003 */ bc1fl .L800CB408
/* B4259C 800CB3FC C4C60000 */ lwc1 $f6, ($a2)
/* B425A0 800CB400 46002306 */ mov.s $f12, $f4
.L800CB404:
/* B425A4 800CB404 C4C60000 */ lwc1 $f6, ($a2)
.L800CB408:
/* B425A8 800CB408 E7A60004 */ swc1 $f6, 4($sp)
/* B425AC 800CB40C C7A80004 */ lwc1 $f8, 4($sp)
/* B425B0 800CB410 C7AA0004 */ lwc1 $f10, 4($sp)
/* B425B4 800CB414 460E403C */ c.lt.s $f8, $f14
/* B425B8 800CB418 00000000 */ nop
/* B425BC 800CB41C 45020004 */ bc1fl .L800CB430
/* B425C0 800CB420 460A003C */ c.lt.s $f0, $f10
/* B425C4 800CB424 10000006 */ b .L800CB440
/* B425C8 800CB428 46004386 */ mov.s $f14, $f8
/* B425CC 800CB42C 460A003C */ c.lt.s $f0, $f10
.L800CB430:
/* B425D0 800CB430 00000000 */ nop
/* B425D4 800CB434 45020003 */ bc1fl .L800CB444
/* B425D8 800CB438 C4C40004 */ lwc1 $f4, 4($a2)
/* B425DC 800CB43C 46005006 */ mov.s $f0, $f10
.L800CB440:
/* B425E0 800CB440 C4C40004 */ lwc1 $f4, 4($a2)
.L800CB444:
/* B425E4 800CB444 00001025 */ move $v0, $zero
/* B425E8 800CB448 E7A40004 */ swc1 $f4, 4($sp)
/* B425EC 800CB44C C7A60004 */ lwc1 $f6, 4($sp)
/* B425F0 800CB450 C7A80004 */ lwc1 $f8, 4($sp)
/* B425F4 800CB454 4610303C */ c.lt.s $f6, $f16
/* B425F8 800CB458 00000000 */ nop
/* B425FC 800CB45C 45020004 */ bc1fl .L800CB470
/* B42600 800CB460 4608103C */ c.lt.s $f2, $f8
/* B42604 800CB464 10000006 */ b .L800CB480
/* B42608 800CB468 46003406 */ mov.s $f16, $f6
/* B4260C 800CB46C 4608103C */ c.lt.s $f2, $f8
.L800CB470:
/* B42610 800CB470 00000000 */ nop
/* B42614 800CB474 45020003 */ bc1fl .L800CB484
/* B42618 800CB478 C4CA0008 */ lwc1 $f10, 8($a2)
/* B4261C 800CB47C 46004086 */ mov.s $f2, $f8
.L800CB480:
/* B42620 800CB480 C4CA0008 */ lwc1 $f10, 8($a2)
.L800CB484:
/* B42624 800CB484 E7AA0004 */ swc1 $f10, 4($sp)
/* B42628 800CB488 C7A40004 */ lwc1 $f4, 4($sp)
/* B4262C 800CB48C C7A60004 */ lwc1 $f6, 4($sp)
/* B42630 800CB490 4612203C */ c.lt.s $f4, $f18
/* B42634 800CB494 00000000 */ nop
/* B42638 800CB498 45020004 */ bc1fl .L800CB4AC
/* B4263C 800CB49C 4606603C */ c.lt.s $f12, $f6
/* B42640 800CB4A0 10000006 */ b .L800CB4BC
/* B42644 800CB4A4 46002486 */ mov.s $f18, $f4
/* B42648 800CB4A8 4606603C */ c.lt.s $f12, $f6
.L800CB4AC:
/* B4264C 800CB4AC 00000000 */ nop
/* B42650 800CB4B0 45020003 */ bc1fl .L800CB4C0
/* B42654 800CB4B4 C4E80000 */ lwc1 $f8, ($a3)
/* B42658 800CB4B8 46003306 */ mov.s $f12, $f6
.L800CB4BC:
/* B4265C 800CB4BC C4E80000 */ lwc1 $f8, ($a3)
.L800CB4C0:
/* B42660 800CB4C0 C7A40030 */ lwc1 $f4, 0x30($sp)
/* B42664 800CB4C4 E7A80004 */ swc1 $f8, 4($sp)
/* B42668 800CB4C8 46047181 */ sub.s $f6, $f14, $f4
/* B4266C 800CB4CC C7AA0004 */ lwc1 $f10, 4($sp)
/* B42670 800CB4D0 460A303E */ c.le.s $f6, $f10
/* B42674 800CB4D4 00000000 */ nop
/* B42678 800CB4D8 4500001E */ bc1f .L800CB554
/* B4267C 800CB4DC 00000000 */ nop
/* B42680 800CB4E0 46040200 */ add.s $f8, $f0, $f4
/* B42684 800CB4E4 4608503E */ c.le.s $f10, $f8
/* B42688 800CB4E8 00000000 */ nop
/* B4268C 800CB4EC 45000019 */ bc1f .L800CB554
/* B42690 800CB4F0 00000000 */ nop
/* B42694 800CB4F4 46048181 */ sub.s $f6, $f16, $f4
/* B42698 800CB4F8 C4E00004 */ lwc1 $f0, 4($a3)
/* B4269C 800CB4FC 4600303E */ c.le.s $f6, $f0
/* B426A0 800CB500 00000000 */ nop
/* B426A4 800CB504 45000013 */ bc1f .L800CB554
/* B426A8 800CB508 00000000 */ nop
/* B426AC 800CB50C 46041200 */ add.s $f8, $f2, $f4
/* B426B0 800CB510 4608003E */ c.le.s $f0, $f8
/* B426B4 800CB514 00000000 */ nop
/* B426B8 800CB518 4500000E */ bc1f .L800CB554
/* B426BC 800CB51C 00000000 */ nop
/* B426C0 800CB520 46049281 */ sub.s $f10, $f18, $f4
/* B426C4 800CB524 C4E00008 */ lwc1 $f0, 8($a3)
/* B426C8 800CB528 4600503E */ c.le.s $f10, $f0
/* B426CC 800CB52C 00000000 */ nop
/* B426D0 800CB530 45000008 */ bc1f .L800CB554
/* B426D4 800CB534 00000000 */ nop
/* B426D8 800CB538 46046180 */ add.s $f6, $f12, $f4
/* B426DC 800CB53C 4606003E */ c.le.s $f0, $f6
/* B426E0 800CB540 00000000 */ nop
/* B426E4 800CB544 45000003 */ bc1f .L800CB554
/* B426E8 800CB548 00000000 */ nop
/* B426EC 800CB54C 10000001 */ b .L800CB554
/* B426F0 800CB550 24020001 */ li $v0, 1
.L800CB554:
/* B426F4 800CB554 03E00008 */ jr $ra
/* B426F8 800CB558 27BD0020 */ addiu $sp, $sp, 0x20
glabel func_800CB55C
/* B426FC 800CB55C 460C6102 */ mul.s $f4, $f12, $f12
/* B42700 800CB560 00000000 */ nop
/* B42704 800CB564 460E7182 */ mul.s $f6, $f14, $f14
/* B42708 800CB568 03E00008 */ jr $ra
/* B4270C 800CB56C 46062000 */ add.s $f0, $f4, $f6
glabel func_800CB570
/* B42710 800CB570 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B42714 800CB574 AFBF0014 */ sw $ra, 0x14($sp)
/* B42718 800CB578 0C032D57 */ jal func_800CB55C
/* B4271C 800CB57C 00000000 */ nop
/* B42720 800CB580 8FBF0014 */ lw $ra, 0x14($sp)
/* B42724 800CB584 27BD0018 */ addiu $sp, $sp, 0x18
/* B42728 800CB588 46000004 */ sqrt.s $f0, $f0
/* B4272C 800CB58C 03E00008 */ jr $ra
/* B42730 800CB590 00000000 */ nop
glabel func_800CB594
/* B42734 800CB594 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B42738 800CB598 E7AC0018 */ swc1 $f12, 0x18($sp)
/* B4273C 800CB59C C7B20018 */ lwc1 $f18, 0x18($sp)
/* B42740 800CB5A0 E7AE001C */ swc1 $f14, 0x1c($sp)
/* B42744 800CB5A4 C7B0001C */ lwc1 $f16, 0x1c($sp)
/* B42748 800CB5A8 AFA60020 */ sw $a2, 0x20($sp)
/* B4274C 800CB5AC C7AA0020 */ lwc1 $f10, 0x20($sp)
/* B42750 800CB5B0 AFA70024 */ sw $a3, 0x24($sp)
/* B42754 800CB5B4 C7A80024 */ lwc1 $f8, 0x24($sp)
/* B42758 800CB5B8 460A9301 */ sub.s $f12, $f18, $f10
/* B4275C 800CB5BC AFBF0014 */ sw $ra, 0x14($sp)
/* B42760 800CB5C0 0C032D57 */ jal func_800CB55C
/* B42764 800CB5C4 46088381 */ sub.s $f14, $f16, $f8
/* B42768 800CB5C8 8FBF0014 */ lw $ra, 0x14($sp)
/* B4276C 800CB5CC 27BD0018 */ addiu $sp, $sp, 0x18
/* B42770 800CB5D0 03E00008 */ jr $ra
/* B42774 800CB5D4 00000000 */ nop
glabel func_800CB5D8
/* B42778 800CB5D8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B4277C 800CB5DC AFBF0014 */ sw $ra, 0x14($sp)
/* B42780 800CB5E0 AFA60020 */ sw $a2, 0x20($sp)
/* B42784 800CB5E4 0C032D65 */ jal func_800CB594
/* B42788 800CB5E8 AFA70024 */ sw $a3, 0x24($sp)
/* B4278C 800CB5EC 8FBF0014 */ lw $ra, 0x14($sp)
/* B42790 800CB5F0 27BD0018 */ addiu $sp, $sp, 0x18
/* B42794 800CB5F4 46000004 */ sqrt.s $f0, $f0
/* B42798 800CB5F8 03E00008 */ jr $ra
/* B4279C 800CB5FC 00000000 */ nop
glabel func_800CB600
/* B427A0 800CB600 C4820000 */ lwc1 $f2, ($a0)
/* B427A4 800CB604 C48C0004 */ lwc1 $f12, 4($a0)
/* B427A8 800CB608 C48E0008 */ lwc1 $f14, 8($a0)
/* B427AC 800CB60C 46021102 */ mul.s $f4, $f2, $f2
/* B427B0 800CB610 00000000 */ nop
/* B427B4 800CB614 460C6182 */ mul.s $f6, $f12, $f12
/* B427B8 800CB618 46062200 */ add.s $f8, $f4, $f6
/* B427BC 800CB61C 460E7282 */ mul.s $f10, $f14, $f14
/* B427C0 800CB620 03E00008 */ jr $ra
/* B427C4 800CB624 460A4000 */ add.s $f0, $f8, $f10
glabel func_800CB628
/* B427C8 800CB628 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B427CC 800CB62C AFBF0014 */ sw $ra, 0x14($sp)
/* B427D0 800CB630 0C032D80 */ jal func_800CB600
/* B427D4 800CB634 00000000 */ nop
/* B427D8 800CB638 46000021 */ cvt.d.s $f0, $f0
/* B427DC 800CB63C 8FBF0014 */ lw $ra, 0x14($sp)
/* B427E0 800CB640 46200004 */ sqrt.d $f0, $f0
/* B427E4 800CB644 27BD0018 */ addiu $sp, $sp, 0x18
/* B427E8 800CB648 03E00008 */ jr $ra
/* B427EC 800CB64C 46200020 */ cvt.s.d $f0, $f0
glabel func_800CB650
/* B427F0 800CB650 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B427F4 800CB654 AFBF0014 */ sw $ra, 0x14($sp)
/* B427F8 800CB658 0C01DFB4 */ jal Math_Vec3f_Diff
/* B427FC 800CB65C 27A6001C */ addiu $a2, $sp, 0x1c
/* B42800 800CB660 0C032D80 */ jal func_800CB600
/* B42804 800CB664 27A4001C */ addiu $a0, $sp, 0x1c
/* B42808 800CB668 8FBF0014 */ lw $ra, 0x14($sp)
/* B4280C 800CB66C 27BD0028 */ addiu $sp, $sp, 0x28
/* B42810 800CB670 03E00008 */ jr $ra
/* B42814 800CB674 00000000 */ nop
glabel func_800CB678
/* B42818 800CB678 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B4281C 800CB67C AFBF0014 */ sw $ra, 0x14($sp)
/* B42820 800CB680 0C01DFE4 */ jal Math_Vec3f_DistXYZ
/* B42824 800CB684 00000000 */ nop
/* B42828 800CB688 8FBF0014 */ lw $ra, 0x14($sp)
/* B4282C 800CB68C 27BD0018 */ addiu $sp, $sp, 0x18
/* B42830 800CB690 03E00008 */ jr $ra
/* B42834 800CB694 00000000 */ nop
glabel func_800CB698
/* B42838 800CB698 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B4283C 800CB69C AFBF0014 */ sw $ra, 0x14($sp)
/* B42840 800CB6A0 848E0000 */ lh $t6, ($a0)
/* B42844 800CB6A4 C4A80000 */ lwc1 $f8, ($a1)
/* B42848 800CB6A8 448E2000 */ mtc1 $t6, $f4
/* B4284C 800CB6AC 00000000 */ nop
/* B42850 800CB6B0 468021A0 */ cvt.s.w $f6, $f4
/* B42854 800CB6B4 46083281 */ sub.s $f10, $f6, $f8
/* B42858 800CB6B8 E7AA001C */ swc1 $f10, 0x1c($sp)
/* B4285C 800CB6BC 848F0002 */ lh $t7, 2($a0)
/* B42860 800CB6C0 C4A40004 */ lwc1 $f4, 4($a1)
/* B42864 800CB6C4 448F8000 */ mtc1 $t7, $f16
/* B42868 800CB6C8 00000000 */ nop
/* B4286C 800CB6CC 468084A0 */ cvt.s.w $f18, $f16
/* B42870 800CB6D0 46049181 */ sub.s $f6, $f18, $f4
/* B42874 800CB6D4 E7A60020 */ swc1 $f6, 0x20($sp)
/* B42878 800CB6D8 84980004 */ lh $t8, 4($a0)
/* B4287C 800CB6DC C4B00008 */ lwc1 $f16, 8($a1)
/* B42880 800CB6E0 27A4001C */ addiu $a0, $sp, 0x1c
/* B42884 800CB6E4 44984000 */ mtc1 $t8, $f8
/* B42888 800CB6E8 00000000 */ nop
/* B4288C 800CB6EC 468042A0 */ cvt.s.w $f10, $f8
/* B42890 800CB6F0 46105481 */ sub.s $f18, $f10, $f16
/* B42894 800CB6F4 0C032D8A */ jal func_800CB628
/* B42898 800CB6F8 E7B20024 */ swc1 $f18, 0x24($sp)
/* B4289C 800CB6FC 8FBF0014 */ lw $ra, 0x14($sp)
/* B428A0 800CB700 27BD0028 */ addiu $sp, $sp, 0x28
/* B428A4 800CB704 03E00008 */ jr $ra
/* B428A8 800CB708 00000000 */ nop
glabel func_800CB70C
/* B428AC 800CB70C 44866000 */ mtc1 $a2, $f12
/* B428B0 800CB710 44877000 */ mtc1 $a3, $f14
/* B428B4 800CB714 C4840000 */ lwc1 $f4, ($a0)
/* B428B8 800CB718 C4A80004 */ lwc1 $f8, 4($a1)
/* B428BC 800CB71C C4920004 */ lwc1 $f18, 4($a0)
/* B428C0 800CB720 460C2181 */ sub.s $f6, $f4, $f12
/* B428C4 800CB724 460E4281 */ sub.s $f10, $f8, $f14
/* B428C8 800CB728 C4A80000 */ lwc1 $f8, ($a1)
/* B428CC 800CB72C 460E9101 */ sub.s $f4, $f18, $f14
/* B428D0 800CB730 460A3402 */ mul.s $f16, $f6, $f10
/* B428D4 800CB734 460C4181 */ sub.s $f6, $f8, $f12
/* B428D8 800CB738 46062282 */ mul.s $f10, $f4, $f6
/* B428DC 800CB73C 03E00008 */ jr $ra
/* B428E0 800CB740 460A8001 */ sub.s $f0, $f16, $f10
glabel func_800CB744
/* B428E4 800CB744 44866000 */ mtc1 $a2, $f12
/* B428E8 800CB748 44877000 */ mtc1 $a3, $f14
/* B428EC 800CB74C C4840004 */ lwc1 $f4, 4($a0)
/* B428F0 800CB750 C4A80008 */ lwc1 $f8, 8($a1)
/* B428F4 800CB754 C4920008 */ lwc1 $f18, 8($a0)
/* B428F8 800CB758 460C2181 */ sub.s $f6, $f4, $f12
/* B428FC 800CB75C 460E4281 */ sub.s $f10, $f8, $f14
/* B42900 800CB760 C4A80004 */ lwc1 $f8, 4($a1)
/* B42904 800CB764 460E9101 */ sub.s $f4, $f18, $f14
/* B42908 800CB768 460A3402 */ mul.s $f16, $f6, $f10
/* B4290C 800CB76C 460C4181 */ sub.s $f6, $f8, $f12
/* B42910 800CB770 46062282 */ mul.s $f10, $f4, $f6
/* B42914 800CB774 03E00008 */ jr $ra
/* B42918 800CB778 460A8001 */ sub.s $f0, $f16, $f10
glabel func_800CB77C
/* B4291C 800CB77C 44866000 */ mtc1 $a2, $f12
/* B42920 800CB780 44877000 */ mtc1 $a3, $f14
/* B42924 800CB784 C4840008 */ lwc1 $f4, 8($a0)
/* B42928 800CB788 C4A80000 */ lwc1 $f8, ($a1)
/* B4292C 800CB78C C4920000 */ lwc1 $f18, ($a0)
/* B42930 800CB790 460C2181 */ sub.s $f6, $f4, $f12
/* B42934 800CB794 460E4281 */ sub.s $f10, $f8, $f14
/* B42938 800CB798 C4A80008 */ lwc1 $f8, 8($a1)
/* B4293C 800CB79C 460E9101 */ sub.s $f4, $f18, $f14
/* B42940 800CB7A0 460A3402 */ mul.s $f16, $f6, $f10
/* B42944 800CB7A4 460C4181 */ sub.s $f6, $f8, $f12
/* B42948 800CB7A8 46062282 */ mul.s $f10, $f4, $f6
/* B4294C 800CB7AC 03E00008 */ jr $ra
/* B42950 800CB7B0 460A8001 */ sub.s $f0, $f16, $f10
glabel func_800CB7B4
/* B42954 800CB7B4 C4840004 */ lwc1 $f4, 4($a0)
/* B42958 800CB7B8 C4A60008 */ lwc1 $f6, 8($a1)
/* B4295C 800CB7BC C48A0008 */ lwc1 $f10, 8($a0)
/* B42960 800CB7C0 C4B00004 */ lwc1 $f16, 4($a1)
/* B42964 800CB7C4 46062202 */ mul.s $f8, $f4, $f6
/* B42968 800CB7C8 00000000 */ nop
/* B4296C 800CB7CC 46105482 */ mul.s $f18, $f10, $f16
/* B42970 800CB7D0 46124101 */ sub.s $f4, $f8, $f18
/* B42974 800CB7D4 E4C40000 */ swc1 $f4, ($a2)
/* B42978 800CB7D8 C4AA0000 */ lwc1 $f10, ($a1)
/* B4297C 800CB7DC C4860008 */ lwc1 $f6, 8($a0)
/* B42980 800CB7E0 C4880000 */ lwc1 $f8, ($a0)
/* B42984 800CB7E4 C4B20008 */ lwc1 $f18, 8($a1)
/* B42988 800CB7E8 460A3402 */ mul.s $f16, $f6, $f10
/* B4298C 800CB7EC 00000000 */ nop
/* B42990 800CB7F0 46124102 */ mul.s $f4, $f8, $f18
/* B42994 800CB7F4 46048181 */ sub.s $f6, $f16, $f4
/* B42998 800CB7F8 E4C60004 */ swc1 $f6, 4($a2)
/* B4299C 800CB7FC C4A80004 */ lwc1 $f8, 4($a1)
/* B429A0 800CB800 C48A0000 */ lwc1 $f10, ($a0)
/* B429A4 800CB804 C4A40000 */ lwc1 $f4, ($a1)
/* B429A8 800CB808 C4900004 */ lwc1 $f16, 4($a0)
/* B429AC 800CB80C 46085482 */ mul.s $f18, $f10, $f8
/* B429B0 800CB810 00000000 */ nop
/* B429B4 800CB814 46048182 */ mul.s $f6, $f16, $f4
/* B429B8 800CB818 46069281 */ sub.s $f10, $f18, $f6
/* B429BC 800CB81C 03E00008 */ jr $ra
/* B429C0 800CB820 E4CA0008 */ swc1 $f10, 8($a2)
glabel func_800CB824
/* B429C4 800CB824 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B429C8 800CB828 AFA40018 */ sw $a0, 0x18($sp)
/* B429CC 800CB82C AFA60020 */ sw $a2, 0x20($sp)
/* B429D0 800CB830 AFBF0014 */ sw $ra, 0x14($sp)
/* B429D4 800CB834 AFA5001C */ sw $a1, 0x1c($sp)
/* B429D8 800CB838 3C068017 */ lui $a2, %hi(D_8016A5E8) # $a2, 0x8017
/* B429DC 800CB83C 00A02025 */ move $a0, $a1
/* B429E0 800CB840 AFA70024 */ sw $a3, 0x24($sp)
/* B429E4 800CB844 8FA50018 */ lw $a1, 0x18($sp)
/* B429E8 800CB848 0C01DFB4 */ jal Math_Vec3f_Diff
/* B429EC 800CB84C 24C6A5E8 */ addiu $a2, %lo(D_8016A5E8) # addiu $a2, $a2, -0x5a18
/* B429F0 800CB850 3C068017 */ lui $a2, %hi(D_8016A5F8) # $a2, 0x8017
/* B429F4 800CB854 24C6A5F8 */ addiu $a2, %lo(D_8016A5F8) # addiu $a2, $a2, -0x5a08
/* B429F8 800CB858 8FA40020 */ lw $a0, 0x20($sp)
/* B429FC 800CB85C 0C01DFB4 */ jal Math_Vec3f_Diff
/* B42A00 800CB860 8FA50018 */ lw $a1, 0x18($sp)
/* B42A04 800CB864 3C048017 */ lui $a0, %hi(D_8016A5E8) # $a0, 0x8017
/* B42A08 800CB868 3C058017 */ lui $a1, %hi(D_8016A5F8) # $a1, 0x8017
/* B42A0C 800CB86C 24A5A5F8 */ addiu $a1, %lo(D_8016A5F8) # addiu $a1, $a1, -0x5a08
/* B42A10 800CB870 2484A5E8 */ addiu $a0, %lo(D_8016A5E8) # addiu $a0, $a0, -0x5a18
/* B42A14 800CB874 0C032DED */ jal func_800CB7B4
/* B42A18 800CB878 8FA60024 */ lw $a2, 0x24($sp)
/* B42A1C 800CB87C 8FBF0014 */ lw $ra, 0x14($sp)
/* B42A20 800CB880 27BD0018 */ addiu $sp, $sp, 0x18
/* B42A24 800CB884 03E00008 */ jr $ra
/* B42A28 800CB888 00000000 */ nop
glabel func_800CB88C
/* B42A2C 800CB88C C4800000 */ lwc1 $f0, ($a0)
/* B42A30 800CB890 C4C40000 */ lwc1 $f4, ($a2)
/* B42A34 800CB894 00001825 */ move $v1, $zero
/* B42A38 800CB898 4600203C */ c.lt.s $f4, $f0
/* B42A3C 800CB89C 00000000 */ nop
/* B42A40 800CB8A0 45020003 */ bc1fl .L800CB8B0
/* B42A44 800CB8A4 C4A60000 */ lwc1 $f6, ($a1)
/* B42A48 800CB8A8 24030001 */ li $v1, 1
/* B42A4C 800CB8AC C4A60000 */ lwc1 $f6, ($a1)
.L800CB8B0:
/* B42A50 800CB8B0 4606003C */ c.lt.s $f0, $f6
/* B42A54 800CB8B4 00000000 */ nop
/* B42A58 800CB8B8 45020003 */ bc1fl .L800CB8C8
/* B42A5C 800CB8BC C4800004 */ lwc1 $f0, 4($a0)
/* B42A60 800CB8C0 34630002 */ ori $v1, $v1, 2
/* B42A64 800CB8C4 C4800004 */ lwc1 $f0, 4($a0)
.L800CB8C8:
/* B42A68 800CB8C8 C4C80004 */ lwc1 $f8, 4($a2)
/* B42A6C 800CB8CC 4600403C */ c.lt.s $f8, $f0
/* B42A70 800CB8D0 00000000 */ nop
/* B42A74 800CB8D4 45020003 */ bc1fl .L800CB8E4
/* B42A78 800CB8D8 C4AA0004 */ lwc1 $f10, 4($a1)
/* B42A7C 800CB8DC 34630004 */ ori $v1, $v1, 4
/* B42A80 800CB8E0 C4AA0004 */ lwc1 $f10, 4($a1)
.L800CB8E4:
/* B42A84 800CB8E4 460A003C */ c.lt.s $f0, $f10
/* B42A88 800CB8E8 00000000 */ nop
/* B42A8C 800CB8EC 45020003 */ bc1fl .L800CB8FC
/* B42A90 800CB8F0 C4800008 */ lwc1 $f0, 8($a0)
/* B42A94 800CB8F4 34630008 */ ori $v1, $v1, 8
/* B42A98 800CB8F8 C4800008 */ lwc1 $f0, 8($a0)
.L800CB8FC:
/* B42A9C 800CB8FC C4D00008 */ lwc1 $f16, 8($a2)
/* B42AA0 800CB900 4600803C */ c.lt.s $f16, $f0
/* B42AA4 800CB904 00000000 */ nop
/* B42AA8 800CB908 45020003 */ bc1fl .L800CB918
/* B42AAC 800CB90C C4B20008 */ lwc1 $f18, 8($a1)
/* B42AB0 800CB910 34630010 */ ori $v1, $v1, 0x10
/* B42AB4 800CB914 C4B20008 */ lwc1 $f18, 8($a1)
.L800CB918:
/* B42AB8 800CB918 4612003C */ c.lt.s $f0, $f18
/* B42ABC 800CB91C 00000000 */ nop
/* B42AC0 800CB920 45000002 */ bc1f .L800CB92C
/* B42AC4 800CB924 00000000 */ nop
/* B42AC8 800CB928 34630020 */ ori $v1, $v1, 0x20
.L800CB92C:
/* B42ACC 800CB92C 03E00008 */ jr $ra
/* B42AD0 800CB930 00601025 */ move $v0, $v1
glabel func_800CB934
/* B42AD4 800CB934 C4A40000 */ lwc1 $f4, ($a1)
/* B42AD8 800CB938 27BDFFC8 */ addiu $sp, $sp, -0x38
/* B42ADC 800CB93C 00001825 */ move $v1, $zero
/* B42AE0 800CB940 E7A40030 */ swc1 $f4, 0x30($sp)
/* B42AE4 800CB944 C4860000 */ lwc1 $f6, ($a0)
/* B42AE8 800CB948 C4C20004 */ lwc1 $f2, 4($a2)
/* B42AEC 800CB94C C7AA0030 */ lwc1 $f10, 0x30($sp)
/* B42AF0 800CB950 E7A60028 */ swc1 $f6, 0x28($sp)
/* B42AF4 800CB954 C7A80028 */ lwc1 $f8, 0x28($sp)
/* B42AF8 800CB958 C48C0004 */ lwc1 $f12, 4($a0)
/* B42AFC 800CB95C 460A1101 */ sub.s $f4, $f2, $f10
/* B42B00 800CB960 46086001 */ sub.s $f0, $f12, $f8
/* B42B04 800CB964 4600203C */ c.lt.s $f4, $f0
/* B42B08 800CB968 00000000 */ nop
/* B42B0C 800CB96C 45020003 */ bc1fl .L800CB97C
/* B42B10 800CB970 C4C60000 */ lwc1 $f6, ($a2)
/* B42B14 800CB974 24030001 */ li $v1, 1
/* B42B18 800CB978 C4C60000 */ lwc1 $f6, ($a2)
.L800CB97C:
/* B42B1C 800CB97C C7A40028 */ lwc1 $f4, 0x28($sp)
/* B42B20 800CB980 E7A6001C */ swc1 $f6, 0x1c($sp)
/* B42B24 800CB984 C7A8001C */ lwc1 $f8, 0x1c($sp)
/* B42B28 800CB988 C4AE0004 */ lwc1 $f14, 4($a1)
/* B42B2C 800CB98C C7A6001C */ lwc1 $f6, 0x1c($sp)
/* B42B30 800CB990 46087281 */ sub.s $f10, $f14, $f8
/* B42B34 800CB994 46023200 */ add.s $f8, $f6, $f2
/* B42B38 800CB998 460A003C */ c.lt.s $f0, $f10
/* B42B3C 800CB99C C7AA0030 */ lwc1 $f10, 0x30($sp)
/* B42B40 800CB9A0 460C2000 */ add.s $f0, $f4, $f12
/* B42B44 800CB9A4 45000002 */ bc1f .L800CB9B0
/* B42B48 800CB9A8 460E5100 */ add.s $f4, $f10, $f14
/* B42B4C 800CB9AC 34630002 */ ori $v1, $v1, 2
.L800CB9B0:
/* B42B50 800CB9B0 4600403C */ c.lt.s $f8, $f0
/* B42B54 800CB9B4 00000000 */ nop
/* B42B58 800CB9B8 45020003 */ bc1fl .L800CB9C8
/* B42B5C 800CB9BC 4604003C */ c.lt.s $f0, $f4
/* B42B60 800CB9C0 34630004 */ ori $v1, $v1, 4
/* B42B64 800CB9C4 4604003C */ c.lt.s $f0, $f4
.L800CB9C8:
/* B42B68 800CB9C8 00000000 */ nop
/* B42B6C 800CB9CC 45020003 */ bc1fl .L800CB9DC
/* B42B70 800CB9D0 C4A60008 */ lwc1 $f6, 8($a1)
/* B42B74 800CB9D4 34630008 */ ori $v1, $v1, 8
/* B42B78 800CB9D8 C4A60008 */ lwc1 $f6, 8($a1)
.L800CB9DC:
/* B42B7C 800CB9DC E7A60020 */ swc1 $f6, 0x20($sp)
/* B42B80 800CB9E0 C4920008 */ lwc1 $f18, 8($a0)
/* B42B84 800CB9E4 C7B00020 */ lwc1 $f16, 0x20($sp)
/* B42B88 800CB9E8 46009207 */ neg.s $f8, $f18
/* B42B8C 800CB9EC 46008407 */ neg.s $f16, $f16
/* B42B90 800CB9F0 E7A8000C */ swc1 $f8, 0xc($sp)
/* B42B94 800CB9F4 C7AA000C */ lwc1 $f10, 0xc($sp)
/* B42B98 800CB9F8 46028100 */ add.s $f4, $f16, $f2
/* B42B9C 800CB9FC 460C5000 */ add.s $f0, $f10, $f12
/* B42BA0 800CBA00 4600203C */ c.lt.s $f4, $f0
/* B42BA4 800CBA04 00000000 */ nop
/* B42BA8 800CBA08 45020003 */ bc1fl .L800CBA18
/* B42BAC 800CBA0C C4C60008 */ lwc1 $f6, 8($a2)
/* B42BB0 800CBA10 34630010 */ ori $v1, $v1, 0x10
/* B42BB4 800CBA14 C4C60008 */ lwc1 $f6, 8($a2)
.L800CBA18:
/* B42BB8 800CBA18 E7A60004 */ swc1 $f6, 4($sp)
/* B42BBC 800CBA1C C7A80004 */ lwc1 $f8, 4($sp)
/* B42BC0 800CBA20 C7A60004 */ lwc1 $f6, 4($sp)
/* B42BC4 800CBA24 46087101 */ sub.s $f4, $f14, $f8
/* B42BC8 800CBA28 46004287 */ neg.s $f10, $f8
/* B42BCC 800CBA2C 4604003C */ c.lt.s $f0, $f4
/* B42BD0 800CBA30 E7AA0000 */ swc1 $f10, ($sp)
/* B42BD4 800CBA34 46023280 */ add.s $f10, $f6, $f2
/* B42BD8 800CBA38 C7A20020 */ lwc1 $f2, 0x20($sp)
/* B42BDC 800CBA3C C7A4000C */ lwc1 $f4, 0xc($sp)
/* B42BE0 800CBA40 460C9000 */ add.s $f0, $f18, $f12
/* B42BE4 800CBA44 C7AC0028 */ lwc1 $f12, 0x28($sp)
/* B42BE8 800CBA48 45000002 */ bc1f .L800CBA54
/* B42BEC 800CBA4C 460E1200 */ add.s $f8, $f2, $f14
/* B42BF0 800CBA50 34630020 */ ori $v1, $v1, 0x20
.L800CBA54:
/* B42BF4 800CBA54 4600503C */ c.lt.s $f10, $f0
/* B42BF8 800CBA58 C7AE001C */ lwc1 $f14, 0x1c($sp)
/* B42BFC 800CBA5C C7AA0000 */ lwc1 $f10, ($sp)
/* B42C00 800CBA60 45000002 */ bc1f .L800CBA6C
/* B42C04 800CBA64 460E8180 */ add.s $f6, $f16, $f14
/* B42C08 800CBA68 34630040 */ ori $v1, $v1, 0x40
.L800CBA6C:
/* B42C0C 800CBA6C 4608003C */ c.lt.s $f0, $f8
/* B42C10 800CBA70 C7B00030 */ lwc1 $f16, 0x30($sp)
/* B42C14 800CBA74 460C2000 */ add.s $f0, $f4, $f12
/* B42C18 800CBA78 C7A40004 */ lwc1 $f4, 4($sp)
/* B42C1C 800CBA7C 45000002 */ bc1f .L800CBA88
/* B42C20 800CBA80 46105200 */ add.s $f8, $f10, $f16
/* B42C24 800CBA84 34630080 */ ori $v1, $v1, 0x80
.L800CBA88:
/* B42C28 800CBA88 4600303C */ c.lt.s $f6, $f0
/* B42C2C 800CBA8C 460E2180 */ add.s $f6, $f4, $f14
/* B42C30 800CBA90 45000002 */ bc1f .L800CBA9C
/* B42C34 800CBA94 46101280 */ add.s $f10, $f2, $f16
/* B42C38 800CBA98 34630100 */ ori $v1, $v1, 0x100
.L800CBA9C:
/* B42C3C 800CBA9C 4608003C */ c.lt.s $f0, $f8
/* B42C40 800CBAA0 460C9000 */ add.s $f0, $f18, $f12
/* B42C44 800CBAA4 45020003 */ bc1fl .L800CBAB4
/* B42C48 800CBAA8 4600303C */ c.lt.s $f6, $f0
/* B42C4C 800CBAAC 34630200 */ ori $v1, $v1, 0x200
/* B42C50 800CBAB0 4600303C */ c.lt.s $f6, $f0
.L800CBAB4:
/* B42C54 800CBAB4 00000000 */ nop
/* B42C58 800CBAB8 45020003 */ bc1fl .L800CBAC8
/* B42C5C 800CBABC 460A003C */ c.lt.s $f0, $f10
/* B42C60 800CBAC0 34630400 */ ori $v1, $v1, 0x400
/* B42C64 800CBAC4 460A003C */ c.lt.s $f0, $f10
.L800CBAC8:
/* B42C68 800CBAC8 00000000 */ nop
/* B42C6C 800CBACC 45020003 */ bc1fl .L800CBADC
/* B42C70 800CBAD0 00601025 */ move $v0, $v1
/* B42C74 800CBAD4 34630800 */ ori $v1, $v1, 0x800
/* B42C78 800CBAD8 00601025 */ move $v0, $v1
.L800CBADC:
/* B42C7C 800CBADC 03E00008 */ jr $ra
/* B42C80 800CBAE0 27BD0038 */ addiu $sp, $sp, 0x38
glabel func_800CBAE4
/* B42C84 800CBAE4 C4C40000 */ lwc1 $f4, ($a2)
/* B42C88 800CBAE8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* B42C8C 800CBAEC 00001825 */ move $v1, $zero
/* B42C90 800CBAF0 E7A40028 */ swc1 $f4, 0x28($sp)
/* B42C94 800CBAF4 C4C60004 */ lwc1 $f6, 4($a2)
/* B42C98 800CBAF8 C7A80028 */ lwc1 $f8, 0x28($sp)
/* B42C9C 800CBAFC E7A60024 */ swc1 $f6, 0x24($sp)
/* B42CA0 800CBB00 C7AA0024 */ lwc1 $f10, 0x24($sp)
/* B42CA4 800CBB04 460A4100 */ add.s $f4, $f8, $f10
/* B42CA8 800CBB08 E7A40020 */ swc1 $f4, 0x20($sp)
/* B42CAC 800CBB0C C4920004 */ lwc1 $f18, 4($a0)
/* B42CB0 800CBB10 C48E0000 */ lwc1 $f14, ($a0)
/* B42CB4 800CBB14 C4D00008 */ lwc1 $f16, 8($a2)
/* B42CB8 800CBB18 46127180 */ add.s $f6, $f14, $f18
/* B42CBC 800CBB1C 46102200 */ add.s $f8, $f4, $f16
/* B42CC0 800CBB20 E7A60010 */ swc1 $f6, 0x10($sp)
/* B42CC4 800CBB24 C7AA0010 */ lwc1 $f10, 0x10($sp)
/* B42CC8 800CBB28 C4800008 */ lwc1 $f0, 8($a0)
/* B42CCC 800CBB2C 46005180 */ add.s $f6, $f10, $f0
/* B42CD0 800CBB30 4606403C */ c.lt.s $f8, $f6
/* B42CD4 800CBB34 00000000 */ nop
/* B42CD8 800CBB38 45020003 */ bc1fl .L800CBB48
/* B42CDC 800CBB3C C4A40000 */ lwc1 $f4, ($a1)
/* B42CE0 800CBB40 24030001 */ li $v1, 1
/* B42CE4 800CBB44 C4A40000 */ lwc1 $f4, ($a1)
.L800CBB48:
/* B42CE8 800CBB48 C7A60024 */ lwc1 $f6, 0x24($sp)
/* B42CEC 800CBB4C 46002287 */ neg.s $f10, $f4
/* B42CF0 800CBB50 46007107 */ neg.s $f4, $f14
/* B42CF4 800CBB54 E7AA0008 */ swc1 $f10, 8($sp)
/* B42CF8 800CBB58 E7A40000 */ swc1 $f4, ($sp)
/* B42CFC 800CBB5C C7AA0000 */ lwc1 $f10, ($sp)
/* B42D00 800CBB60 C7A80008 */ lwc1 $f8, 8($sp)
/* B42D04 800CBB64 46125300 */ add.s $f12, $f10, $f18
/* B42D08 800CBB68 46064080 */ add.s $f2, $f8, $f6
/* B42D0C 800CBB6C 46006180 */ add.s $f6, $f12, $f0
/* B42D10 800CBB70 46101200 */ add.s $f8, $f2, $f16
/* B42D14 800CBB74 4606403C */ c.lt.s $f8, $f6
/* B42D18 800CBB78 00000000 */ nop
/* B42D1C 800CBB7C 45020003 */ bc1fl .L800CBB8C
/* B42D20 800CBB80 C4A40008 */ lwc1 $f4, 8($a1)
/* B42D24 800CBB84 34630002 */ ori $v1, $v1, 2
/* B42D28 800CBB88 C4A40008 */ lwc1 $f4, 8($a1)
.L800CBB8C:
/* B42D2C 800CBB8C 46006181 */ sub.s $f6, $f12, $f0
/* B42D30 800CBB90 E7A40024 */ swc1 $f4, 0x24($sp)
/* B42D34 800CBB94 C7AA0024 */ lwc1 $f10, 0x24($sp)
/* B42D38 800CBB98 C7A40020 */ lwc1 $f4, 0x20($sp)
/* B42D3C 800CBB9C 460A1201 */ sub.s $f8, $f2, $f10
/* B42D40 800CBBA0 C7AA0024 */ lwc1 $f10, 0x24($sp)
/* B42D44 800CBBA4 4606403C */ c.lt.s $f8, $f6
/* B42D48 800CBBA8 C7A60010 */ lwc1 $f6, 0x10($sp)
/* B42D4C 800CBBAC 460A2201 */ sub.s $f8, $f4, $f10
/* B42D50 800CBBB0 C7AA0028 */ lwc1 $f10, 0x28($sp)
/* B42D54 800CBBB4 45000002 */ bc1f .L800CBBC0
/* B42D58 800CBBB8 46003101 */ sub.s $f4, $f6, $f0
/* B42D5C 800CBBBC 34630004 */ ori $v1, $v1, 4
.L800CBBC0:
/* B42D60 800CBBC0 4604403C */ c.lt.s $f8, $f4
/* B42D64 800CBBC4 46127101 */ sub.s $f4, $f14, $f18
/* B42D68 800CBBC8 45020003 */ bc1fl .L800CBBD8
/* B42D6C 800CBBCC C4A20004 */ lwc1 $f2, 4($a1)
/* B42D70 800CBBD0 34630008 */ ori $v1, $v1, 8
/* B42D74 800CBBD4 C4A20004 */ lwc1 $f2, 4($a1)
.L800CBBD8:
/* B42D78 800CBBD8 46025181 */ sub.s $f6, $f10, $f2
/* B42D7C 800CBBDC 46002280 */ add.s $f10, $f4, $f0
/* B42D80 800CBBE0 C7A40000 */ lwc1 $f4, ($sp)
/* B42D84 800CBBE4 46103200 */ add.s $f8, $f6, $f16
/* B42D88 800CBBE8 C7A60008 */ lwc1 $f6, 8($sp)
/* B42D8C 800CBBEC 460A403C */ c.lt.s $f8, $f10
/* B42D90 800CBBF0 46122201 */ sub.s $f8, $f4, $f18
/* B42D94 800CBBF4 45000002 */ bc1f .L800CBC00
/* B42D98 800CBBF8 46023301 */ sub.s $f12, $f6, $f2
/* B42D9C 800CBBFC 34630010 */ ori $v1, $v1, 0x10
.L800CBC00:
/* B42DA0 800CBC00 46106380 */ add.s $f14, $f12, $f16
/* B42DA4 800CBC04 E7A80010 */ swc1 $f8, 0x10($sp)
/* B42DA8 800CBC08 C7A40024 */ lwc1 $f4, 0x24($sp)
/* B42DAC 800CBC0C 46004280 */ add.s $f10, $f8, $f0
/* B42DB0 800CBC10 460A703C */ c.lt.s $f14, $f10
/* B42DB4 800CBC14 E7AA0004 */ swc1 $f10, 4($sp)
/* B42DB8 800CBC18 C7A60004 */ lwc1 $f6, 4($sp)
/* B42DBC 800CBC1C C7AA0010 */ lwc1 $f10, 0x10($sp)
/* B42DC0 800CBC20 45020003 */ bc1fl .L800CBC30
/* B42DC4 800CBC24 4606703C */ c.lt.s $f14, $f6
/* B42DC8 800CBC28 34630020 */ ori $v1, $v1, 0x20
/* B42DCC 800CBC2C 4606703C */ c.lt.s $f14, $f6
.L800CBC30:
/* B42DD0 800CBC30 46005181 */ sub.s $f6, $f10, $f0
/* B42DD4 800CBC34 45000002 */ bc1f .L800CBC40
/* B42DD8 800CBC38 46046201 */ sub.s $f8, $f12, $f4
/* B42DDC 800CBC3C 34630040 */ ori $v1, $v1, 0x40
.L800CBC40:
/* B42DE0 800CBC40 4606403C */ c.lt.s $f8, $f6
/* B42DE4 800CBC44 00000000 */ nop
/* B42DE8 800CBC48 45020003 */ bc1fl .L800CBC58
/* B42DEC 800CBC4C 00601025 */ move $v0, $v1
/* B42DF0 800CBC50 34630080 */ ori $v1, $v1, 0x80
/* B42DF4 800CBC54 00601025 */ move $v0, $v1
.L800CBC58:
/* B42DF8 800CBC58 03E00008 */ jr $ra
/* B42DFC 800CBC5C 27BD0030 */ addiu $sp, $sp, 0x30
glabel func_800CBC60
/* B42E00 800CBC60 27BDFFA8 */ addiu $sp, $sp, -0x58
/* B42E04 800CBC64 AFB0003C */ sw $s0, 0x3c($sp)
/* B42E08 800CBC68 00808025 */ move $s0, $a0
/* B42E0C 800CBC6C AFB20044 */ sw $s2, 0x44($sp)
/* B42E10 800CBC70 AFB10040 */ sw $s1, 0x40($sp)
/* B42E14 800CBC74 00A08825 */ move $s1, $a1
/* B42E18 800CBC78 00C09025 */ move $s2, $a2
/* B42E1C 800CBC7C AFBF004C */ sw $ra, 0x4c($sp)
/* B42E20 800CBC80 AFB30048 */ sw $s3, 0x48($sp)
/* B42E24 800CBC84 00C02025 */ move $a0, $a2
/* B42E28 800CBC88 00E09825 */ move $s3, $a3
/* B42E2C 800CBC8C F7B40030 */ sdc1 $f20, 0x30($sp)
/* B42E30 800CBC90 AFA00050 */ sw $zero, 0x50($sp)
/* B42E34 800CBC94 02203025 */ move $a2, $s1
/* B42E38 800CBC98 02002825 */ move $a1, $s0
/* B42E3C 800CBC9C 0C032E23 */ jal func_800CB88C
/* B42E40 800CBCA0 AFA00054 */ sw $zero, 0x54($sp)
/* B42E44 800CBCA4 14400003 */ bnez $v0, .L800CBCB4
/* B42E48 800CBCA8 AFA20050 */ sw $v0, 0x50($sp)
/* B42E4C 800CBCAC 10000282 */ b .L800CC6B8
/* B42E50 800CBCB0 24020001 */ li $v0, 1
.L800CBCB4:
/* B42E54 800CBCB4 02602025 */ move $a0, $s3
/* B42E58 800CBCB8 02002825 */ move $a1, $s0
/* B42E5C 800CBCBC 0C032E23 */ jal func_800CB88C
/* B42E60 800CBCC0 02203025 */ move $a2, $s1
/* B42E64 800CBCC4 14400003 */ bnez $v0, .L800CBCD4
/* B42E68 800CBCC8 AFA20054 */ sw $v0, 0x54($sp)
/* B42E6C 800CBCCC 1000027A */ b .L800CC6B8
/* B42E70 800CBCD0 24020001 */ li $v0, 1
.L800CBCD4:
/* B42E74 800CBCD4 8FA70050 */ lw $a3, 0x50($sp)
/* B42E78 800CBCD8 02402025 */ move $a0, $s2
/* B42E7C 800CBCDC 02002825 */ move $a1, $s0
/* B42E80 800CBCE0 00477024 */ and $t6, $v0, $a3
/* B42E84 800CBCE4 11C00003 */ beqz $t6, .L800CBCF4
/* B42E88 800CBCE8 00000000 */ nop
/* B42E8C 800CBCEC 10000272 */ b .L800CC6B8
/* B42E90 800CBCF0 00001025 */ move $v0, $zero
.L800CBCF4:
/* B42E94 800CBCF4 0C032E4D */ jal func_800CB934
/* B42E98 800CBCF8 02203025 */ move $a2, $s1
/* B42E9C 800CBCFC 8FA70050 */ lw $a3, 0x50($sp)
/* B42EA0 800CBD00 00027A00 */ sll $t7, $v0, 8
/* B42EA4 800CBD04 02602025 */ move $a0, $s3
/* B42EA8 800CBD08 00EF3825 */ or $a3, $a3, $t7
/* B42EAC 800CBD0C AFA70050 */ sw $a3, 0x50($sp)
/* B42EB0 800CBD10 02002825 */ move $a1, $s0
/* B42EB4 800CBD14 0C032E4D */ jal func_800CB934
/* B42EB8 800CBD18 02203025 */ move $a2, $s1
/* B42EBC 800CBD1C 8FA30054 */ lw $v1, 0x54($sp)
/* B42EC0 800CBD20 8FA70050 */ lw $a3, 0x50($sp)
/* B42EC4 800CBD24 0002C200 */ sll $t8, $v0, 8
/* B42EC8 800CBD28 00781825 */ or $v1, $v1, $t8
/* B42ECC 800CBD2C 0067C824 */ and $t9, $v1, $a3
/* B42ED0 800CBD30 13200003 */ beqz $t9, .L800CBD40
/* B42ED4 800CBD34 AFA30054 */ sw $v1, 0x54($sp)
/* B42ED8 800CBD38 1000025F */ b .L800CC6B8
/* B42EDC 800CBD3C 00001025 */ move $v0, $zero
.L800CBD40:
/* B42EE0 800CBD40 02402025 */ move $a0, $s2
/* B42EE4 800CBD44 02002825 */ move $a1, $s0
/* B42EE8 800CBD48 0C032EB9 */ jal func_800CBAE4
/* B42EEC 800CBD4C 02203025 */ move $a2, $s1
/* B42EF0 800CBD50 8FA70050 */ lw $a3, 0x50($sp)
/* B42EF4 800CBD54 00024600 */ sll $t0, $v0, 0x18
/* B42EF8 800CBD58 02602025 */ move $a0, $s3
/* B42EFC 800CBD5C 00E83825 */ or $a3, $a3, $t0
/* B42F00 800CBD60 AFA70050 */ sw $a3, 0x50($sp)
/* B42F04 800CBD64 02002825 */ move $a1, $s0
/* B42F08 800CBD68 0C032EB9 */ jal func_800CBAE4
/* B42F0C 800CBD6C 02203025 */ move $a2, $s1
/* B42F10 800CBD70 8FA30054 */ lw $v1, 0x54($sp)
/* B42F14 800CBD74 8FA70050 */ lw $a3, 0x50($sp)
/* B42F18 800CBD78 00024E00 */ sll $t1, $v0, 0x18
/* B42F1C 800CBD7C 00691825 */ or $v1, $v1, $t1
/* B42F20 800CBD80 00675024 */ and $t2, $v1, $a3
/* B42F24 800CBD84 11400003 */ beqz $t2, .L800CBD94
/* B42F28 800CBD88 AFA30054 */ sw $v1, 0x54($sp)
/* B42F2C 800CBD8C 1000024A */ b .L800CC6B8
/* B42F30 800CBD90 00001025 */ move $v0, $zero
.L800CBD94:
/* B42F34 800CBD94 C6040000 */ lwc1 $f4, ($s0)
/* B42F38 800CBD98 3C018017 */ lui $at, %hi(D_8016A608)
/* B42F3C 800CBD9C 4480A000 */ mtc1 $zero, $f20
/* B42F40 800CBDA0 E424A608 */ swc1 $f4, %lo(D_8016A608)($at)
/* B42F44 800CBDA4 C6060004 */ lwc1 $f6, 4($s0)
/* B42F48 800CBDA8 3C0B8017 */ lui $t3, %hi(D_8016A638) # $t3, 0x8017
/* B42F4C 800CBDAC 256BA638 */ addiu $t3, %lo(D_8016A638) # addiu $t3, $t3, -0x59c8
/* B42F50 800CBDB0 E426A60C */ swc1 $f6, %lo(D_8016A60C)($at)
/* B42F54 800CBDB4 C6080008 */ lwc1 $f8, 8($s0)
/* B42F58 800CBDB8 3C018017 */ lui $at, %hi(D_8016A610)
/* B42F5C 800CBDBC 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B42F60 800CBDC0 E428A610 */ swc1 $f8, %lo(D_8016A610)($at)
/* B42F64 800CBDC4 C60A0000 */ lwc1 $f10, ($s0)
/* B42F68 800CBDC8 3C018017 */ lui $at, %hi(D_8016A618)
/* B42F6C 800CBDCC 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B42F70 800CBDD0 E42AA618 */ swc1 $f10, %lo(D_8016A618)($at)
/* B42F74 800CBDD4 C6100004 */ lwc1 $f16, 4($s0)
/* B42F78 800CBDD8 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B42F7C 800CBDDC 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B42F80 800CBDE0 E430A61C */ swc1 $f16, %lo(D_8016A61C)($at)
/* B42F84 800CBDE4 C6320008 */ lwc1 $f18, 8($s1)
/* B42F88 800CBDE8 3C018017 */ lui $at, %hi(D_8016A620)
/* B42F8C 800CBDEC 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B42F90 800CBDF0 E432A620 */ swc1 $f18, %lo(D_8016A620)($at)
/* B42F94 800CBDF4 C6040000 */ lwc1 $f4, ($s0)
/* B42F98 800CBDF8 3C018017 */ lui $at, %hi(D_8016A628)
/* B42F9C 800CBDFC 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B42FA0 800CBE00 E424A628 */ swc1 $f4, %lo(D_8016A628)($at)
/* B42FA4 800CBE04 C6260004 */ lwc1 $f6, 4($s1)
/* B42FA8 800CBE08 3C07BF80 */ lui $a3, 0xbf80
/* B42FAC 800CBE0C E426A62C */ swc1 $f6, %lo(D_8016A62C)($at)
/* B42FB0 800CBE10 C6280008 */ lwc1 $f8, 8($s1)
/* B42FB4 800CBE14 3C018017 */ lui $at, %hi(D_8016A630)
/* B42FB8 800CBE18 E7B40014 */ swc1 $f20, 0x14($sp)
/* B42FBC 800CBE1C E7B40010 */ swc1 $f20, 0x10($sp)
/* B42FC0 800CBE20 E428A630 */ swc1 $f8, %lo(D_8016A630)($at)
/* B42FC4 800CBE24 C60A0000 */ lwc1 $f10, ($s0)
/* B42FC8 800CBE28 AFA00028 */ sw $zero, 0x28($sp)
/* B42FCC 800CBE2C AFAB0024 */ sw $t3, 0x24($sp)
/* B42FD0 800CBE30 AFB30020 */ sw $s3, 0x20($sp)
/* B42FD4 800CBE34 AFB2001C */ sw $s2, 0x1c($sp)
/* B42FD8 800CBE38 0C033897 */ jal func_800CE25C
/* B42FDC 800CBE3C E7AA0018 */ swc1 $f10, 0x18($sp)
/* B42FE0 800CBE40 50400004 */ beql $v0, $zero, .L800CBE54
/* B42FE4 800CBE44 C6100000 */ lwc1 $f16, ($s0)
/* B42FE8 800CBE48 1000021B */ b .L800CC6B8
/* B42FEC 800CBE4C 24020001 */ li $v0, 1
/* B42FF0 800CBE50 C6100000 */ lwc1 $f16, ($s0)
.L800CBE54:
/* B42FF4 800CBE54 3C018017 */ lui $at, %hi(D_8016A608)
/* B42FF8 800CBE58 3C0C8017 */ lui $t4, %hi(D_8016A638) # $t4, 0x8017
/* B42FFC 800CBE5C E430A608 */ swc1 $f16, %lo(D_8016A608)($at)
/* B43000 800CBE60 C6120004 */ lwc1 $f18, 4($s0)
/* B43004 800CBE64 258CA638 */ addiu $t4, %lo(D_8016A638) # addiu $t4, $t4, -0x59c8
/* B43008 800CBE68 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B4300C 800CBE6C E432A60C */ swc1 $f18, %lo(D_8016A60C)($at)
/* B43010 800CBE70 C6040008 */ lwc1 $f4, 8($s0)
/* B43014 800CBE74 3C018017 */ lui $at, %hi(D_8016A610)
/* B43018 800CBE78 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B4301C 800CBE7C E424A610 */ swc1 $f4, %lo(D_8016A610)($at)
/* B43020 800CBE80 C6060000 */ lwc1 $f6, ($s0)
/* B43024 800CBE84 3C018017 */ lui $at, %hi(D_8016A618)
/* B43028 800CBE88 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B4302C 800CBE8C E426A618 */ swc1 $f6, %lo(D_8016A618)($at)
/* B43030 800CBE90 C6280004 */ lwc1 $f8, 4($s1)
/* B43034 800CBE94 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B43038 800CBE98 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B4303C 800CBE9C E428A61C */ swc1 $f8, %lo(D_8016A61C)($at)
/* B43040 800CBEA0 C62A0008 */ lwc1 $f10, 8($s1)
/* B43044 800CBEA4 3C018017 */ lui $at, %hi(D_8016A620)
/* B43048 800CBEA8 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B4304C 800CBEAC E42AA620 */ swc1 $f10, %lo(D_8016A620)($at)
/* B43050 800CBEB0 C6100000 */ lwc1 $f16, ($s0)
/* B43054 800CBEB4 3C018017 */ lui $at, %hi(D_8016A628)
/* B43058 800CBEB8 3C07BF80 */ lui $a3, 0xbf80
/* B4305C 800CBEBC E430A628 */ swc1 $f16, %lo(D_8016A628)($at)
/* B43060 800CBEC0 C6320004 */ lwc1 $f18, 4($s1)
/* B43064 800CBEC4 E432A62C */ swc1 $f18, %lo(D_8016A62C)($at)
/* B43068 800CBEC8 C6040008 */ lwc1 $f4, 8($s0)
/* B4306C 800CBECC 3C018017 */ lui $at, %hi(D_8016A630)
/* B43070 800CBED0 E7B40014 */ swc1 $f20, 0x14($sp)
/* B43074 800CBED4 E7B40010 */ swc1 $f20, 0x10($sp)
/* B43078 800CBED8 E424A630 */ swc1 $f4, %lo(D_8016A630)($at)
/* B4307C 800CBEDC C6060000 */ lwc1 $f6, ($s0)
/* B43080 800CBEE0 AFA00028 */ sw $zero, 0x28($sp)
/* B43084 800CBEE4 AFAC0024 */ sw $t4, 0x24($sp)
/* B43088 800CBEE8 AFB30020 */ sw $s3, 0x20($sp)
/* B4308C 800CBEEC AFB2001C */ sw $s2, 0x1c($sp)
/* B43090 800CBEF0 0C033897 */ jal func_800CE25C
/* B43094 800CBEF4 E7A60018 */ swc1 $f6, 0x18($sp)
/* B43098 800CBEF8 50400004 */ beql $v0, $zero, .L800CBF0C
/* B4309C 800CBEFC C6080000 */ lwc1 $f8, ($s0)
/* B430A0 800CBF00 100001ED */ b .L800CC6B8
/* B430A4 800CBF04 24020001 */ li $v0, 1
/* B430A8 800CBF08 C6080000 */ lwc1 $f8, ($s0)
.L800CBF0C:
/* B430AC 800CBF0C 3C018017 */ lui $at, %hi(D_8016A608)
/* B430B0 800CBF10 3C0D8017 */ lui $t5, %hi(D_8016A638) # $t5, 0x8017
/* B430B4 800CBF14 E428A608 */ swc1 $f8, %lo(D_8016A608)($at)
/* B430B8 800CBF18 C62A0004 */ lwc1 $f10, 4($s1)
/* B430BC 800CBF1C 25ADA638 */ addiu $t5, %lo(D_8016A638) # addiu $t5, $t5, -0x59c8
/* B430C0 800CBF20 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B430C4 800CBF24 E42AA60C */ swc1 $f10, %lo(D_8016A60C)($at)
/* B430C8 800CBF28 C6300008 */ lwc1 $f16, 8($s1)
/* B430CC 800CBF2C 3C018017 */ lui $at, %hi(D_8016A610)
/* B430D0 800CBF30 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B430D4 800CBF34 E430A610 */ swc1 $f16, %lo(D_8016A610)($at)
/* B430D8 800CBF38 C6120000 */ lwc1 $f18, ($s0)
/* B430DC 800CBF3C 3C018017 */ lui $at, %hi(D_8016A618)
/* B430E0 800CBF40 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B430E4 800CBF44 E432A618 */ swc1 $f18, %lo(D_8016A618)($at)
/* B430E8 800CBF48 C6040004 */ lwc1 $f4, 4($s0)
/* B430EC 800CBF4C 4407A000 */ mfc1 $a3, $f20
/* B430F0 800CBF50 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B430F4 800CBF54 E424A61C */ swc1 $f4, %lo(D_8016A61C)($at)
/* B430F8 800CBF58 C6260008 */ lwc1 $f6, 8($s1)
/* B430FC 800CBF5C 3C018017 */ lui $at, %hi(D_8016A620)
/* B43100 800CBF60 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B43104 800CBF64 E426A620 */ swc1 $f6, %lo(D_8016A620)($at)
/* B43108 800CBF68 C6280000 */ lwc1 $f8, ($s1)
/* B4310C 800CBF6C 3C018017 */ lui $at, %hi(D_8016A628)
/* B43110 800CBF70 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B43114 800CBF74 E428A628 */ swc1 $f8, %lo(D_8016A628)($at)
/* B43118 800CBF78 C62A0004 */ lwc1 $f10, 4($s1)
/* B4311C 800CBF7C E42AA62C */ swc1 $f10, %lo(D_8016A62C)($at)
/* B43120 800CBF80 C6300008 */ lwc1 $f16, 8($s1)
/* B43124 800CBF84 3C018017 */ lui $at, %hi(D_8016A630)
/* B43128 800CBF88 E7B40010 */ swc1 $f20, 0x10($sp)
/* B4312C 800CBF8C E430A630 */ swc1 $f16, %lo(D_8016A630)($at)
/* B43130 800CBF90 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B43134 800CBF94 44819000 */ mtc1 $at, $f18
/* B43138 800CBF98 00000000 */ nop
/* B4313C 800CBF9C E7B20014 */ swc1 $f18, 0x14($sp)
/* B43140 800CBFA0 C6240008 */ lwc1 $f4, 8($s1)
/* B43144 800CBFA4 AFA00028 */ sw $zero, 0x28($sp)
/* B43148 800CBFA8 AFAD0024 */ sw $t5, 0x24($sp)
/* B4314C 800CBFAC 46002187 */ neg.s $f6, $f4
/* B43150 800CBFB0 AFB30020 */ sw $s3, 0x20($sp)
/* B43154 800CBFB4 E7A60018 */ swc1 $f6, 0x18($sp)
/* B43158 800CBFB8 0C033897 */ jal func_800CE25C
/* B4315C 800CBFBC AFB2001C */ sw $s2, 0x1c($sp)
/* B43160 800CBFC0 50400004 */ beql $v0, $zero, .L800CBFD4
/* B43164 800CBFC4 C6280000 */ lwc1 $f8, ($s1)
/* B43168 800CBFC8 100001BB */ b .L800CC6B8
/* B4316C 800CBFCC 24020001 */ li $v0, 1
/* B43170 800CBFD0 C6280000 */ lwc1 $f8, ($s1)
.L800CBFD4:
/* B43174 800CBFD4 3C018017 */ lui $at, %hi(D_8016A608)
/* B43178 800CBFD8 3C0E8017 */ lui $t6, %hi(D_8016A638) # $t6, 0x8017
/* B4317C 800CBFDC E428A608 */ swc1 $f8, %lo(D_8016A608)($at)
/* B43180 800CBFE0 C62A0004 */ lwc1 $f10, 4($s1)
/* B43184 800CBFE4 25CEA638 */ addiu $t6, %lo(D_8016A638) # addiu $t6, $t6, -0x59c8
/* B43188 800CBFE8 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B4318C 800CBFEC E42AA60C */ swc1 $f10, %lo(D_8016A60C)($at)
/* B43190 800CBFF0 C6300008 */ lwc1 $f16, 8($s1)
/* B43194 800CBFF4 3C018017 */ lui $at, %hi(D_8016A610)
/* B43198 800CBFF8 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B4319C 800CBFFC E430A610 */ swc1 $f16, %lo(D_8016A610)($at)
/* B431A0 800CC000 C6120000 */ lwc1 $f18, ($s0)
/* B431A4 800CC004 3C018017 */ lui $at, %hi(D_8016A618)
/* B431A8 800CC008 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B431AC 800CC00C E432A618 */ swc1 $f18, %lo(D_8016A618)($at)
/* B431B0 800CC010 C6040004 */ lwc1 $f4, 4($s0)
/* B431B4 800CC014 4407A000 */ mfc1 $a3, $f20
/* B431B8 800CC018 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B431BC 800CC01C E424A61C */ swc1 $f4, %lo(D_8016A61C)($at)
/* B431C0 800CC020 C6260008 */ lwc1 $f6, 8($s1)
/* B431C4 800CC024 3C018017 */ lui $at, %hi(D_8016A620)
/* B431C8 800CC028 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B431CC 800CC02C E426A620 */ swc1 $f6, %lo(D_8016A620)($at)
/* B431D0 800CC030 C6280000 */ lwc1 $f8, ($s1)
/* B431D4 800CC034 3C018017 */ lui $at, %hi(D_8016A628)
/* B431D8 800CC038 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B431DC 800CC03C E428A628 */ swc1 $f8, %lo(D_8016A628)($at)
/* B431E0 800CC040 C60A0004 */ lwc1 $f10, 4($s0)
/* B431E4 800CC044 3C018017 */ lui $at, %hi(D_8016A61C)
/* B431E8 800CC048 E42AA61C */ swc1 $f10, %lo(D_8016A61C)($at)
/* B431EC 800CC04C C6300008 */ lwc1 $f16, 8($s1)
/* B431F0 800CC050 3C018017 */ lui $at, %hi(D_8016A630)
/* B431F4 800CC054 E7B40010 */ swc1 $f20, 0x10($sp)
/* B431F8 800CC058 E430A630 */ swc1 $f16, %lo(D_8016A630)($at)
/* B431FC 800CC05C 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B43200 800CC060 44819000 */ mtc1 $at, $f18
/* B43204 800CC064 00000000 */ nop
/* B43208 800CC068 E7B20014 */ swc1 $f18, 0x14($sp)
/* B4320C 800CC06C C6240008 */ lwc1 $f4, 8($s1)
/* B43210 800CC070 AFA00028 */ sw $zero, 0x28($sp)
/* B43214 800CC074 AFAE0024 */ sw $t6, 0x24($sp)
/* B43218 800CC078 46002187 */ neg.s $f6, $f4
/* B4321C 800CC07C AFB30020 */ sw $s3, 0x20($sp)
/* B43220 800CC080 E7A60018 */ swc1 $f6, 0x18($sp)
/* B43224 800CC084 0C033897 */ jal func_800CE25C
/* B43228 800CC088 AFB2001C */ sw $s2, 0x1c($sp)
/* B4322C 800CC08C 50400004 */ beql $v0, $zero, .L800CC0A0
/* B43230 800CC090 C6280000 */ lwc1 $f8, ($s1)
/* B43234 800CC094 10000188 */ b .L800CC6B8
/* B43238 800CC098 24020001 */ li $v0, 1
/* B4323C 800CC09C C6280000 */ lwc1 $f8, ($s1)
.L800CC0A0:
/* B43240 800CC0A0 3C018017 */ lui $at, %hi(D_8016A608)
/* B43244 800CC0A4 3C0F8017 */ lui $t7, %hi(D_8016A638) # $t7, 0x8017
/* B43248 800CC0A8 E428A608 */ swc1 $f8, %lo(D_8016A608)($at)
/* B4324C 800CC0AC C62A0004 */ lwc1 $f10, 4($s1)
/* B43250 800CC0B0 25EFA638 */ addiu $t7, %lo(D_8016A638) # addiu $t7, $t7, -0x59c8
/* B43254 800CC0B4 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B43258 800CC0B8 E42AA60C */ swc1 $f10, %lo(D_8016A60C)($at)
/* B4325C 800CC0BC C6300008 */ lwc1 $f16, 8($s1)
/* B43260 800CC0C0 3C018017 */ lui $at, %hi(D_8016A610)
/* B43264 800CC0C4 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B43268 800CC0C8 E430A610 */ swc1 $f16, %lo(D_8016A610)($at)
/* B4326C 800CC0CC C6120000 */ lwc1 $f18, ($s0)
/* B43270 800CC0D0 3C018017 */ lui $at, %hi(D_8016A618)
/* B43274 800CC0D4 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B43278 800CC0D8 E432A618 */ swc1 $f18, %lo(D_8016A618)($at)
/* B4327C 800CC0DC C6240004 */ lwc1 $f4, 4($s1)
/* B43280 800CC0E0 4407A000 */ mfc1 $a3, $f20
/* B43284 800CC0E4 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B43288 800CC0E8 E424A61C */ swc1 $f4, %lo(D_8016A61C)($at)
/* B4328C 800CC0EC C6060008 */ lwc1 $f6, 8($s0)
/* B43290 800CC0F0 3C018017 */ lui $at, %hi(D_8016A620)
/* B43294 800CC0F4 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B43298 800CC0F8 E426A620 */ swc1 $f6, %lo(D_8016A620)($at)
/* B4329C 800CC0FC C6080000 */ lwc1 $f8, ($s0)
/* B432A0 800CC100 3C018017 */ lui $at, %hi(D_8016A628)
/* B432A4 800CC104 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B432A8 800CC108 E428A628 */ swc1 $f8, %lo(D_8016A628)($at)
/* B432AC 800CC10C C62A0004 */ lwc1 $f10, 4($s1)
/* B432B0 800CC110 E42AA62C */ swc1 $f10, %lo(D_8016A62C)($at)
/* B432B4 800CC114 C6300008 */ lwc1 $f16, 8($s1)
/* B432B8 800CC118 3C018017 */ lui $at, %hi(D_8016A630)
/* B432BC 800CC11C E7B40014 */ swc1 $f20, 0x14($sp)
/* B432C0 800CC120 E430A630 */ swc1 $f16, %lo(D_8016A630)($at)
/* B432C4 800CC124 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B432C8 800CC128 44819000 */ mtc1 $at, $f18
/* B432CC 800CC12C 00000000 */ nop
/* B432D0 800CC130 E7B20010 */ swc1 $f18, 0x10($sp)
/* B432D4 800CC134 C6240004 */ lwc1 $f4, 4($s1)
/* B432D8 800CC138 AFA00028 */ sw $zero, 0x28($sp)
/* B432DC 800CC13C AFAF0024 */ sw $t7, 0x24($sp)
/* B432E0 800CC140 46002187 */ neg.s $f6, $f4
/* B432E4 800CC144 AFB30020 */ sw $s3, 0x20($sp)
/* B432E8 800CC148 E7A60018 */ swc1 $f6, 0x18($sp)
/* B432EC 800CC14C 0C033897 */ jal func_800CE25C
/* B432F0 800CC150 AFB2001C */ sw $s2, 0x1c($sp)
/* B432F4 800CC154 50400004 */ beql $v0, $zero, .L800CC168
/* B432F8 800CC158 C6280000 */ lwc1 $f8, ($s1)
/* B432FC 800CC15C 10000156 */ b .L800CC6B8
/* B43300 800CC160 24020001 */ li $v0, 1
/* B43304 800CC164 C6280000 */ lwc1 $f8, ($s1)
.L800CC168:
/* B43308 800CC168 3C018017 */ lui $at, %hi(D_8016A608)
/* B4330C 800CC16C 3C188017 */ lui $t8, %hi(D_8016A638) # $t8, 0x8017
/* B43310 800CC170 E428A608 */ swc1 $f8, %lo(D_8016A608)($at)
/* B43314 800CC174 C62A0004 */ lwc1 $f10, 4($s1)
/* B43318 800CC178 2718A638 */ addiu $t8, %lo(D_8016A638) # addiu $t8, $t8, -0x59c8
/* B4331C 800CC17C 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B43320 800CC180 E42AA60C */ swc1 $f10, %lo(D_8016A60C)($at)
/* B43324 800CC184 C6300008 */ lwc1 $f16, 8($s1)
/* B43328 800CC188 3C018017 */ lui $at, %hi(D_8016A610)
/* B4332C 800CC18C 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B43330 800CC190 E430A610 */ swc1 $f16, %lo(D_8016A610)($at)
/* B43334 800CC194 C6320000 */ lwc1 $f18, ($s1)
/* B43338 800CC198 3C018017 */ lui $at, %hi(D_8016A618)
/* B4333C 800CC19C 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B43340 800CC1A0 E432A618 */ swc1 $f18, %lo(D_8016A618)($at)
/* B43344 800CC1A4 C6240004 */ lwc1 $f4, 4($s1)
/* B43348 800CC1A8 4407A000 */ mfc1 $a3, $f20
/* B4334C 800CC1AC 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B43350 800CC1B0 E424A61C */ swc1 $f4, %lo(D_8016A61C)($at)
/* B43354 800CC1B4 C6060008 */ lwc1 $f6, 8($s0)
/* B43358 800CC1B8 3C018017 */ lui $at, %hi(D_8016A620)
/* B4335C 800CC1BC 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B43360 800CC1C0 E426A620 */ swc1 $f6, %lo(D_8016A620)($at)
/* B43364 800CC1C4 C6080000 */ lwc1 $f8, ($s0)
/* B43368 800CC1C8 3C018017 */ lui $at, %hi(D_8016A628)
/* B4336C 800CC1CC 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B43370 800CC1D0 E428A628 */ swc1 $f8, %lo(D_8016A628)($at)
/* B43374 800CC1D4 C62A0004 */ lwc1 $f10, 4($s1)
/* B43378 800CC1D8 E42AA62C */ swc1 $f10, %lo(D_8016A62C)($at)
/* B4337C 800CC1DC C6100008 */ lwc1 $f16, 8($s0)
/* B43380 800CC1E0 3C018017 */ lui $at, %hi(D_8016A630)
/* B43384 800CC1E4 E7B40014 */ swc1 $f20, 0x14($sp)
/* B43388 800CC1E8 E430A630 */ swc1 $f16, %lo(D_8016A630)($at)
/* B4338C 800CC1EC 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B43390 800CC1F0 44819000 */ mtc1 $at, $f18
/* B43394 800CC1F4 00000000 */ nop
/* B43398 800CC1F8 E7B20010 */ swc1 $f18, 0x10($sp)
/* B4339C 800CC1FC C6240004 */ lwc1 $f4, 4($s1)
/* B433A0 800CC200 AFA00028 */ sw $zero, 0x28($sp)
/* B433A4 800CC204 AFB80024 */ sw $t8, 0x24($sp)
/* B433A8 800CC208 46002187 */ neg.s $f6, $f4
/* B433AC 800CC20C AFB30020 */ sw $s3, 0x20($sp)
/* B433B0 800CC210 E7A60018 */ swc1 $f6, 0x18($sp)
/* B433B4 800CC214 0C033897 */ jal func_800CE25C
/* B433B8 800CC218 AFB2001C */ sw $s2, 0x1c($sp)
/* B433BC 800CC21C 50400004 */ beql $v0, $zero, .L800CC230
/* B433C0 800CC220 C6080000 */ lwc1 $f8, ($s0)
/* B433C4 800CC224 10000124 */ b .L800CC6B8
/* B433C8 800CC228 24020001 */ li $v0, 1
/* B433CC 800CC22C C6080000 */ lwc1 $f8, ($s0)
.L800CC230:
/* B433D0 800CC230 3C018017 */ lui $at, %hi(D_8016A608)
/* B433D4 800CC234 3C198017 */ lui $t9, %hi(D_8016A638) # $t9, 0x8017
/* B433D8 800CC238 E428A608 */ swc1 $f8, %lo(D_8016A608)($at)
/* B433DC 800CC23C C60A0004 */ lwc1 $f10, 4($s0)
/* B433E0 800CC240 2739A638 */ addiu $t9, %lo(D_8016A638) # addiu $t9, $t9, -0x59c8
/* B433E4 800CC244 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B433E8 800CC248 E42AA60C */ swc1 $f10, %lo(D_8016A60C)($at)
/* B433EC 800CC24C C6100008 */ lwc1 $f16, 8($s0)
/* B433F0 800CC250 3C018017 */ lui $at, %hi(D_8016A610)
/* B433F4 800CC254 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B433F8 800CC258 E430A610 */ swc1 $f16, %lo(D_8016A610)($at)
/* B433FC 800CC25C C6120000 */ lwc1 $f18, ($s0)
/* B43400 800CC260 3C018017 */ lui $at, %hi(D_8016A618)
/* B43404 800CC264 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B43408 800CC268 E432A618 */ swc1 $f18, %lo(D_8016A618)($at)
/* B4340C 800CC26C C6240004 */ lwc1 $f4, 4($s1)
/* B43410 800CC270 4407A000 */ mfc1 $a3, $f20
/* B43414 800CC274 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B43418 800CC278 E424A61C */ swc1 $f4, %lo(D_8016A61C)($at)
/* B4341C 800CC27C C6060008 */ lwc1 $f6, 8($s0)
/* B43420 800CC280 3C018017 */ lui $at, %hi(D_8016A620)
/* B43424 800CC284 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B43428 800CC288 E426A620 */ swc1 $f6, %lo(D_8016A620)($at)
/* B4342C 800CC28C C6280000 */ lwc1 $f8, ($s1)
/* B43430 800CC290 3C018017 */ lui $at, %hi(D_8016A628)
/* B43434 800CC294 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B43438 800CC298 E428A628 */ swc1 $f8, %lo(D_8016A628)($at)
/* B4343C 800CC29C C62A0004 */ lwc1 $f10, 4($s1)
/* B43440 800CC2A0 E42AA62C */ swc1 $f10, %lo(D_8016A62C)($at)
/* B43444 800CC2A4 C6100008 */ lwc1 $f16, 8($s0)
/* B43448 800CC2A8 3C018017 */ lui $at, %hi(D_8016A630)
/* B4344C 800CC2AC E7B40010 */ swc1 $f20, 0x10($sp)
/* B43450 800CC2B0 E430A630 */ swc1 $f16, %lo(D_8016A630)($at)
/* B43454 800CC2B4 3C01BF80 */ li $at, 0xBF800000 # 0.000000
/* B43458 800CC2B8 44819000 */ mtc1 $at, $f18
/* B4345C 800CC2BC 00000000 */ nop
/* B43460 800CC2C0 E7B20014 */ swc1 $f18, 0x14($sp)
/* B43464 800CC2C4 C6040008 */ lwc1 $f4, 8($s0)
/* B43468 800CC2C8 AFA00028 */ sw $zero, 0x28($sp)
/* B4346C 800CC2CC AFB90024 */ sw $t9, 0x24($sp)
/* B43470 800CC2D0 AFB30020 */ sw $s3, 0x20($sp)
/* B43474 800CC2D4 AFB2001C */ sw $s2, 0x1c($sp)
/* B43478 800CC2D8 0C033897 */ jal func_800CE25C
/* B4347C 800CC2DC E7A40018 */ swc1 $f4, 0x18($sp)
/* B43480 800CC2E0 50400004 */ beql $v0, $zero, .L800CC2F4
/* B43484 800CC2E4 C6060000 */ lwc1 $f6, ($s0)
/* B43488 800CC2E8 100000F3 */ b .L800CC6B8
/* B4348C 800CC2EC 24020001 */ li $v0, 1
/* B43490 800CC2F0 C6060000 */ lwc1 $f6, ($s0)
.L800CC2F4:
/* B43494 800CC2F4 3C018017 */ lui $at, %hi(D_8016A608)
/* B43498 800CC2F8 3C088017 */ lui $t0, %hi(D_8016A638) # $t0, 0x8017
/* B4349C 800CC2FC E426A608 */ swc1 $f6, %lo(D_8016A608)($at)
/* B434A0 800CC300 C6080004 */ lwc1 $f8, 4($s0)
/* B434A4 800CC304 2508A638 */ addiu $t0, %lo(D_8016A638) # addiu $t0, $t0, -0x59c8
/* B434A8 800CC308 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B434AC 800CC30C E428A60C */ swc1 $f8, %lo(D_8016A60C)($at)
/* B434B0 800CC310 C60A0008 */ lwc1 $f10, 8($s0)
/* B434B4 800CC314 3C018017 */ lui $at, %hi(D_8016A610)
/* B434B8 800CC318 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B434BC 800CC31C E42AA610 */ swc1 $f10, %lo(D_8016A610)($at)
/* B434C0 800CC320 C6300000 */ lwc1 $f16, ($s1)
/* B434C4 800CC324 3C018017 */ lui $at, %hi(D_8016A618)
/* B434C8 800CC328 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B434CC 800CC32C E430A618 */ swc1 $f16, %lo(D_8016A618)($at)
/* B434D0 800CC330 C6320004 */ lwc1 $f18, 4($s1)
/* B434D4 800CC334 4407A000 */ mfc1 $a3, $f20
/* B434D8 800CC338 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B434DC 800CC33C E432A61C */ swc1 $f18, %lo(D_8016A61C)($at)
/* B434E0 800CC340 C6040008 */ lwc1 $f4, 8($s0)
/* B434E4 800CC344 3C018017 */ lui $at, %hi(D_8016A620)
/* B434E8 800CC348 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B434EC 800CC34C E424A620 */ swc1 $f4, %lo(D_8016A620)($at)
/* B434F0 800CC350 C6260000 */ lwc1 $f6, ($s1)
/* B434F4 800CC354 3C018017 */ lui $at, %hi(D_8016A628)
/* B434F8 800CC358 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B434FC 800CC35C E426A628 */ swc1 $f6, %lo(D_8016A628)($at)
/* B43500 800CC360 C6080004 */ lwc1 $f8, 4($s0)
/* B43504 800CC364 E428A62C */ swc1 $f8, %lo(D_8016A62C)($at)
/* B43508 800CC368 C60A0008 */ lwc1 $f10, 8($s0)
/* B4350C 800CC36C 3C018017 */ lui $at, %hi(D_8016A630)
/* B43510 800CC370 E7B40010 */ swc1 $f20, 0x10($sp)
/* B43514 800CC374 E42AA630 */ swc1 $f10, %lo(D_8016A630)($at)
/* B43518 800CC378 3C01BF80 */ li $at, 0xBF800000 # 0.000000
/* B4351C 800CC37C 44818000 */ mtc1 $at, $f16
/* B43520 800CC380 00000000 */ nop
/* B43524 800CC384 E7B00014 */ swc1 $f16, 0x14($sp)
/* B43528 800CC388 C6120008 */ lwc1 $f18, 8($s0)
/* B4352C 800CC38C AFA00028 */ sw $zero, 0x28($sp)
/* B43530 800CC390 AFA80024 */ sw $t0, 0x24($sp)
/* B43534 800CC394 AFB30020 */ sw $s3, 0x20($sp)
/* B43538 800CC398 AFB2001C */ sw $s2, 0x1c($sp)
/* B4353C 800CC39C 0C033897 */ jal func_800CE25C
/* B43540 800CC3A0 E7B20018 */ swc1 $f18, 0x18($sp)
/* B43544 800CC3A4 50400004 */ beql $v0, $zero, .L800CC3B8
/* B43548 800CC3A8 C6040000 */ lwc1 $f4, ($s0)
/* B4354C 800CC3AC 100000C2 */ b .L800CC6B8
/* B43550 800CC3B0 24020001 */ li $v0, 1
/* B43554 800CC3B4 C6040000 */ lwc1 $f4, ($s0)
.L800CC3B8:
/* B43558 800CC3B8 3C018017 */ lui $at, %hi(D_8016A608)
/* B4355C 800CC3BC 3C098017 */ lui $t1, %hi(D_8016A638) # $t1, 0x8017
/* B43560 800CC3C0 E424A608 */ swc1 $f4, %lo(D_8016A608)($at)
/* B43564 800CC3C4 C6060004 */ lwc1 $f6, 4($s0)
/* B43568 800CC3C8 2529A638 */ addiu $t1, %lo(D_8016A638) # addiu $t1, $t1, -0x59c8
/* B4356C 800CC3CC 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B43570 800CC3D0 E426A60C */ swc1 $f6, %lo(D_8016A60C)($at)
/* B43574 800CC3D4 C6080008 */ lwc1 $f8, 8($s0)
/* B43578 800CC3D8 3C018017 */ lui $at, %hi(D_8016A610)
/* B4357C 800CC3DC 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B43580 800CC3E0 E428A610 */ swc1 $f8, %lo(D_8016A610)($at)
/* B43584 800CC3E4 C62A0000 */ lwc1 $f10, ($s1)
/* B43588 800CC3E8 3C018017 */ lui $at, %hi(D_8016A618)
/* B4358C 800CC3EC 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B43590 800CC3F0 E42AA618 */ swc1 $f10, %lo(D_8016A618)($at)
/* B43594 800CC3F4 C6100004 */ lwc1 $f16, 4($s0)
/* B43598 800CC3F8 4407A000 */ mfc1 $a3, $f20
/* B4359C 800CC3FC 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B435A0 800CC400 E430A61C */ swc1 $f16, %lo(D_8016A61C)($at)
/* B435A4 800CC404 C6120008 */ lwc1 $f18, 8($s0)
/* B435A8 800CC408 3C018017 */ lui $at, %hi(D_8016A620)
/* B435AC 800CC40C 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B435B0 800CC410 E432A620 */ swc1 $f18, %lo(D_8016A620)($at)
/* B435B4 800CC414 C6240000 */ lwc1 $f4, ($s1)
/* B435B8 800CC418 3C018017 */ lui $at, %hi(D_8016A628)
/* B435BC 800CC41C 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B435C0 800CC420 E424A628 */ swc1 $f4, %lo(D_8016A628)($at)
/* B435C4 800CC424 C6060004 */ lwc1 $f6, 4($s0)
/* B435C8 800CC428 E426A62C */ swc1 $f6, %lo(D_8016A62C)($at)
/* B435CC 800CC42C C6280008 */ lwc1 $f8, 8($s1)
/* B435D0 800CC430 3C018017 */ lui $at, %hi(D_8016A630)
/* B435D4 800CC434 E7B40014 */ swc1 $f20, 0x14($sp)
/* B435D8 800CC438 E428A630 */ swc1 $f8, %lo(D_8016A630)($at)
/* B435DC 800CC43C 3C01BF80 */ li $at, 0xBF800000 # 0.000000
/* B435E0 800CC440 44815000 */ mtc1 $at, $f10
/* B435E4 800CC444 00000000 */ nop
/* B435E8 800CC448 E7AA0010 */ swc1 $f10, 0x10($sp)
/* B435EC 800CC44C C6100004 */ lwc1 $f16, 4($s0)
/* B435F0 800CC450 AFA00028 */ sw $zero, 0x28($sp)
/* B435F4 800CC454 AFA90024 */ sw $t1, 0x24($sp)
/* B435F8 800CC458 AFB30020 */ sw $s3, 0x20($sp)
/* B435FC 800CC45C AFB2001C */ sw $s2, 0x1c($sp)
/* B43600 800CC460 0C033897 */ jal func_800CE25C
/* B43604 800CC464 E7B00018 */ swc1 $f16, 0x18($sp)
/* B43608 800CC468 50400004 */ beql $v0, $zero, .L800CC47C
/* B4360C 800CC46C C6120000 */ lwc1 $f18, ($s0)
/* B43610 800CC470 10000091 */ b .L800CC6B8
/* B43614 800CC474 24020001 */ li $v0, 1
/* B43618 800CC478 C6120000 */ lwc1 $f18, ($s0)
.L800CC47C:
/* B4361C 800CC47C 3C018017 */ lui $at, %hi(D_8016A608)
/* B43620 800CC480 3C0A8017 */ lui $t2, %hi(D_8016A638) # $t2, 0x8017
/* B43624 800CC484 E432A608 */ swc1 $f18, %lo(D_8016A608)($at)
/* B43628 800CC488 C6040004 */ lwc1 $f4, 4($s0)
/* B4362C 800CC48C 254AA638 */ addiu $t2, %lo(D_8016A638) # addiu $t2, $t2, -0x59c8
/* B43630 800CC490 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B43634 800CC494 E424A60C */ swc1 $f4, %lo(D_8016A60C)($at)
/* B43638 800CC498 C6060008 */ lwc1 $f6, 8($s0)
/* B4363C 800CC49C 3C018017 */ lui $at, %hi(D_8016A610)
/* B43640 800CC4A0 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B43644 800CC4A4 E426A610 */ swc1 $f6, %lo(D_8016A610)($at)
/* B43648 800CC4A8 C6280000 */ lwc1 $f8, ($s1)
/* B4364C 800CC4AC 3C018017 */ lui $at, %hi(D_8016A618)
/* B43650 800CC4B0 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B43654 800CC4B4 E428A618 */ swc1 $f8, %lo(D_8016A618)($at)
/* B43658 800CC4B8 C60A0004 */ lwc1 $f10, 4($s0)
/* B4365C 800CC4BC 4407A000 */ mfc1 $a3, $f20
/* B43660 800CC4C0 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B43664 800CC4C4 E42AA61C */ swc1 $f10, %lo(D_8016A61C)($at)
/* B43668 800CC4C8 C6300008 */ lwc1 $f16, 8($s1)
/* B4366C 800CC4CC 3C018017 */ lui $at, %hi(D_8016A620)
/* B43670 800CC4D0 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B43674 800CC4D4 E430A620 */ swc1 $f16, %lo(D_8016A620)($at)
/* B43678 800CC4D8 C6120000 */ lwc1 $f18, ($s0)
/* B4367C 800CC4DC 3C018017 */ lui $at, %hi(D_8016A628)
/* B43680 800CC4E0 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B43684 800CC4E4 E432A628 */ swc1 $f18, %lo(D_8016A628)($at)
/* B43688 800CC4E8 C6040004 */ lwc1 $f4, 4($s0)
/* B4368C 800CC4EC E424A62C */ swc1 $f4, %lo(D_8016A62C)($at)
/* B43690 800CC4F0 C6260008 */ lwc1 $f6, 8($s1)
/* B43694 800CC4F4 3C018017 */ lui $at, %hi(D_8016A630)
/* B43698 800CC4F8 E7B40014 */ swc1 $f20, 0x14($sp)
/* B4369C 800CC4FC E426A630 */ swc1 $f6, %lo(D_8016A630)($at)
/* B436A0 800CC500 3C01BF80 */ li $at, 0xBF800000 # 0.000000
/* B436A4 800CC504 44814000 */ mtc1 $at, $f8
/* B436A8 800CC508 00000000 */ nop
/* B436AC 800CC50C E7A80010 */ swc1 $f8, 0x10($sp)
/* B436B0 800CC510 C60A0004 */ lwc1 $f10, 4($s0)
/* B436B4 800CC514 AFA00028 */ sw $zero, 0x28($sp)
/* B436B8 800CC518 AFAA0024 */ sw $t2, 0x24($sp)
/* B436BC 800CC51C AFB30020 */ sw $s3, 0x20($sp)
/* B436C0 800CC520 AFB2001C */ sw $s2, 0x1c($sp)
/* B436C4 800CC524 0C033897 */ jal func_800CE25C
/* B436C8 800CC528 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B436CC 800CC52C 50400004 */ beql $v0, $zero, .L800CC540
/* B436D0 800CC530 C6300000 */ lwc1 $f16, ($s1)
/* B436D4 800CC534 10000060 */ b .L800CC6B8
/* B436D8 800CC538 24020001 */ li $v0, 1
/* B436DC 800CC53C C6300000 */ lwc1 $f16, ($s1)
.L800CC540:
/* B436E0 800CC540 3C018017 */ lui $at, %hi(D_8016A608)
/* B436E4 800CC544 3C0B8017 */ lui $t3, %hi(D_8016A638) # $t3, 0x8017
/* B436E8 800CC548 E430A608 */ swc1 $f16, %lo(D_8016A608)($at)
/* B436EC 800CC54C C6320004 */ lwc1 $f18, 4($s1)
/* B436F0 800CC550 256BA638 */ addiu $t3, %lo(D_8016A638) # addiu $t3, $t3, -0x59c8
/* B436F4 800CC554 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B436F8 800CC558 E432A60C */ swc1 $f18, %lo(D_8016A60C)($at)
/* B436FC 800CC55C C6240008 */ lwc1 $f4, 8($s1)
/* B43700 800CC560 3C018017 */ lui $at, %hi(D_8016A610)
/* B43704 800CC564 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B43708 800CC568 E424A610 */ swc1 $f4, %lo(D_8016A610)($at)
/* B4370C 800CC56C C6260000 */ lwc1 $f6, ($s1)
/* B43710 800CC570 3C018017 */ lui $at, %hi(D_8016A618)
/* B43714 800CC574 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B43718 800CC578 E426A618 */ swc1 $f6, %lo(D_8016A618)($at)
/* B4371C 800CC57C C6080004 */ lwc1 $f8, 4($s0)
/* B43720 800CC580 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B43724 800CC584 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B43728 800CC588 E428A61C */ swc1 $f8, %lo(D_8016A61C)($at)
/* B4372C 800CC58C C60A0008 */ lwc1 $f10, 8($s0)
/* B43730 800CC590 3C018017 */ lui $at, %hi(D_8016A620)
/* B43734 800CC594 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B43738 800CC598 E42AA620 */ swc1 $f10, %lo(D_8016A620)($at)
/* B4373C 800CC59C C6300000 */ lwc1 $f16, ($s1)
/* B43740 800CC5A0 3C018017 */ lui $at, %hi(D_8016A628)
/* B43744 800CC5A4 3C073F80 */ lui $a3, 0x3f80
/* B43748 800CC5A8 E430A628 */ swc1 $f16, %lo(D_8016A628)($at)
/* B4374C 800CC5AC C6320004 */ lwc1 $f18, 4($s1)
/* B43750 800CC5B0 E432A62C */ swc1 $f18, %lo(D_8016A62C)($at)
/* B43754 800CC5B4 C6040008 */ lwc1 $f4, 8($s0)
/* B43758 800CC5B8 3C018017 */ lui $at, %hi(D_8016A630)
/* B4375C 800CC5BC E7B40014 */ swc1 $f20, 0x14($sp)
/* B43760 800CC5C0 E7B40010 */ swc1 $f20, 0x10($sp)
/* B43764 800CC5C4 E424A630 */ swc1 $f4, %lo(D_8016A630)($at)
/* B43768 800CC5C8 C6260000 */ lwc1 $f6, ($s1)
/* B4376C 800CC5CC AFA00028 */ sw $zero, 0x28($sp)
/* B43770 800CC5D0 AFAB0024 */ sw $t3, 0x24($sp)
/* B43774 800CC5D4 46003207 */ neg.s $f8, $f6
/* B43778 800CC5D8 AFB30020 */ sw $s3, 0x20($sp)
/* B4377C 800CC5DC E7A80018 */ swc1 $f8, 0x18($sp)
/* B43780 800CC5E0 0C033897 */ jal func_800CE25C
/* B43784 800CC5E4 AFB2001C */ sw $s2, 0x1c($sp)
/* B43788 800CC5E8 50400004 */ beql $v0, $zero, .L800CC5FC
/* B4378C 800CC5EC C62A0000 */ lwc1 $f10, ($s1)
/* B43790 800CC5F0 10000031 */ b .L800CC6B8
/* B43794 800CC5F4 24020001 */ li $v0, 1
/* B43798 800CC5F8 C62A0000 */ lwc1 $f10, ($s1)
.L800CC5FC:
/* B4379C 800CC5FC 3C018017 */ lui $at, %hi(D_8016A608)
/* B437A0 800CC600 3C0C8017 */ lui $t4, %hi(D_8016A638) # $t4, 0x8017
/* B437A4 800CC604 E42AA608 */ swc1 $f10, %lo(D_8016A608)($at)
/* B437A8 800CC608 C6300004 */ lwc1 $f16, 4($s1)
/* B437AC 800CC60C 258CA638 */ addiu $t4, %lo(D_8016A638) # addiu $t4, $t4, -0x59c8
/* B437B0 800CC610 3C048017 */ lui $a0, %hi(D_8016A608) # $a0, 0x8017
/* B437B4 800CC614 E430A60C */ swc1 $f16, %lo(D_8016A60C)($at)
/* B437B8 800CC618 C6320008 */ lwc1 $f18, 8($s1)
/* B437BC 800CC61C 3C018017 */ lui $at, %hi(D_8016A610)
/* B437C0 800CC620 3C058017 */ lui $a1, %hi(D_8016A618) # $a1, 0x8017
/* B437C4 800CC624 E432A610 */ swc1 $f18, %lo(D_8016A610)($at)
/* B437C8 800CC628 C6240000 */ lwc1 $f4, ($s1)
/* B437CC 800CC62C 3C018017 */ lui $at, %hi(D_8016A618)
/* B437D0 800CC630 3C068017 */ lui $a2, %hi(D_8016A628) # $a2, 0x8017
/* B437D4 800CC634 E424A618 */ swc1 $f4, %lo(D_8016A618)($at)
/* B437D8 800CC638 C6060004 */ lwc1 $f6, 4($s0)
/* B437DC 800CC63C 24C6A628 */ addiu $a2, %lo(D_8016A628) # addiu $a2, $a2, -0x59d8
/* B437E0 800CC640 24A5A618 */ addiu $a1, %lo(D_8016A618) # addiu $a1, $a1, -0x59e8
/* B437E4 800CC644 E426A61C */ swc1 $f6, %lo(D_8016A61C)($at)
/* B437E8 800CC648 C6280008 */ lwc1 $f8, 8($s1)
/* B437EC 800CC64C 3C018017 */ lui $at, %hi(D_8016A620)
/* B437F0 800CC650 2484A608 */ addiu $a0, %lo(D_8016A608) # addiu $a0, $a0, -0x59f8
/* B437F4 800CC654 E428A620 */ swc1 $f8, %lo(D_8016A620)($at)
/* B437F8 800CC658 C62A0000 */ lwc1 $f10, ($s1)
/* B437FC 800CC65C 3C018017 */ lui $at, %hi(D_8016A628)
/* B43800 800CC660 3C073F80 */ lui $a3, 0x3f80
/* B43804 800CC664 E42AA628 */ swc1 $f10, %lo(D_8016A628)($at)
/* B43808 800CC668 C6100004 */ lwc1 $f16, 4($s0)
/* B4380C 800CC66C E430A62C */ swc1 $f16, %lo(D_8016A62C)($at)
/* B43810 800CC670 C6120008 */ lwc1 $f18, 8($s0)
/* B43814 800CC674 3C018017 */ lui $at, %hi(D_8016A630)
/* B43818 800CC678 E7B40014 */ swc1 $f20, 0x14($sp)
/* B4381C 800CC67C E7B40010 */ swc1 $f20, 0x10($sp)
/* B43820 800CC680 E432A630 */ swc1 $f18, %lo(D_8016A630)($at)
/* B43824 800CC684 C6240000 */ lwc1 $f4, ($s1)
/* B43828 800CC688 AFA00028 */ sw $zero, 0x28($sp)
/* B4382C 800CC68C AFAC0024 */ sw $t4, 0x24($sp)
/* B43830 800CC690 46002187 */ neg.s $f6, $f4
/* B43834 800CC694 AFB30020 */ sw $s3, 0x20($sp)
/* B43838 800CC698 E7A60018 */ swc1 $f6, 0x18($sp)
/* B4383C 800CC69C 0C033897 */ jal func_800CE25C
/* B43840 800CC6A0 AFB2001C */ sw $s2, 0x1c($sp)
/* B43844 800CC6A4 50400004 */ beql $v0, $zero, .L800CC6B8
/* B43848 800CC6A8 00001025 */ move $v0, $zero
/* B4384C 800CC6AC 10000002 */ b .L800CC6B8
/* B43850 800CC6B0 24020001 */ li $v0, 1
/* B43854 800CC6B4 00001025 */ move $v0, $zero
.L800CC6B8:
/* B43858 800CC6B8 8FBF004C */ lw $ra, 0x4c($sp)
/* B4385C 800CC6BC D7B40030 */ ldc1 $f20, 0x30($sp)
/* B43860 800CC6C0 8FB0003C */ lw $s0, 0x3c($sp)
/* B43864 800CC6C4 8FB10040 */ lw $s1, 0x40($sp)
/* B43868 800CC6C8 8FB20044 */ lw $s2, 0x44($sp)
/* B4386C 800CC6CC 8FB30048 */ lw $s3, 0x48($sp)
/* B43870 800CC6D0 03E00008 */ jr $ra
/* B43874 800CC6D4 27BD0058 */ addiu $sp, $sp, 0x58
glabel func_800CC6D8
/* B43878 800CC6D8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B4387C 800CC6DC AFBF0014 */ sw $ra, 0x14($sp)
/* B43880 800CC6E0 AFA40018 */ sw $a0, 0x18($sp)
/* B43884 800CC6E4 AFA5001C */ sw $a1, 0x1c($sp)
/* B43888 800CC6E8 AFA60020 */ sw $a2, 0x20($sp)
/* B4388C 800CC6EC AFA70024 */ sw $a3, 0x24($sp)
/* B43890 800CC6F0 848F0000 */ lh $t7, ($a0)
/* B43894 800CC6F4 3C018017 */ lui $at, %hi(D_8016A648)
/* B43898 800CC6F8 448F2000 */ mtc1 $t7, $f4
/* B4389C 800CC6FC 00000000 */ nop
/* B438A0 800CC700 468021A0 */ cvt.s.w $f6, $f4
/* B438A4 800CC704 E426A648 */ swc1 $f6, %lo(D_8016A648)($at)
/* B438A8 800CC708 84980002 */ lh $t8, 2($a0)
/* B438AC 800CC70C 44984000 */ mtc1 $t8, $f8
/* B438B0 800CC710 00000000 */ nop
/* B438B4 800CC714 468042A0 */ cvt.s.w $f10, $f8
/* B438B8 800CC718 E42AA64C */ swc1 $f10, %lo(D_8016A64C)($at)
/* B438BC 800CC71C 84990004 */ lh $t9, 4($a0)
/* B438C0 800CC720 3C018017 */ lui $at, %hi(D_8016A650)
/* B438C4 800CC724 3C048017 */ lui $a0, %hi(D_8016A648)
/* B438C8 800CC728 44998000 */ mtc1 $t9, $f16
/* B438CC 800CC72C 2484A648 */ addiu $a0, %lo(D_8016A648)
/* B438D0 800CC730 468084A0 */ cvt.s.w $f18, $f16
/* B438D4 800CC734 E432A650 */ swc1 $f18, %lo(D_8016A650)($at)
/* B438D8 800CC738 84A90000 */ lh $t1, ($a1)
/* B438DC 800CC73C 3C018017 */ lui $at, %hi(D_8016A658)
/* B438E0 800CC740 44892000 */ mtc1 $t1, $f4
/* B438E4 800CC744 00000000 */ nop
/* B438E8 800CC748 468021A0 */ cvt.s.w $f6, $f4
/* B438EC 800CC74C E426A658 */ swc1 $f6, %lo(D_8016A658)($at)
/* B438F0 800CC750 84AA0002 */ lh $t2, 2($a1)
/* B438F4 800CC754 448A4000 */ mtc1 $t2, $f8
/* B438F8 800CC758 00000000 */ nop
/* B438FC 800CC75C 468042A0 */ cvt.s.w $f10, $f8
/* B43900 800CC760 E42AA65C */ swc1 $f10, %lo(D_8016A65C)($at)
/* B43904 800CC764 84AB0004 */ lh $t3, 4($a1)
/* B43908 800CC768 3C018017 */ lui $at, %hi(D_8016A660)
/* B4390C 800CC76C 3C058017 */ lui $a1, %hi(D_8016A658)
/* B43910 800CC770 448B8000 */ mtc1 $t3, $f16
/* B43914 800CC774 24A5A658 */ addiu $a1, %lo(D_8016A658)
/* B43918 800CC778 468084A0 */ cvt.s.w $f18, $f16
/* B4391C 800CC77C E432A660 */ swc1 $f18, %lo(D_8016A660)($at)
/* B43920 800CC780 84CD0000 */ lh $t5, ($a2)
/* B43924 800CC784 3C018017 */ lui $at, %hi(D_8016A668)
/* B43928 800CC788 448D2000 */ mtc1 $t5, $f4
/* B4392C 800CC78C 00000000 */ nop
/* B43930 800CC790 468021A0 */ cvt.s.w $f6, $f4
/* B43934 800CC794 E426A668 */ swc1 $f6, %lo(D_8016A668)($at)
/* B43938 800CC798 84CF0002 */ lh $t7, 2($a2)
/* B4393C 800CC79C 448F4000 */ mtc1 $t7, $f8
/* B43940 800CC7A0 00000000 */ nop
/* B43944 800CC7A4 468042A0 */ cvt.s.w $f10, $f8
/* B43948 800CC7A8 E42AA66C */ swc1 $f10, %lo(D_8016A66C)($at)
/* B4394C 800CC7AC 84D80004 */ lh $t8, 4($a2)
/* B43950 800CC7B0 3C018017 */ lui $at, %hi(D_8016A670)
/* B43954 800CC7B4 3C068017 */ lui $a2, %hi(D_8016A668)
/* B43958 800CC7B8 44988000 */ mtc1 $t8, $f16
/* B4395C 800CC7BC 24C6A668 */ addiu $a2, %lo(D_8016A668)
/* B43960 800CC7C0 468084A0 */ cvt.s.w $f18, $f16
/* B43964 800CC7C4 E432A670 */ swc1 $f18, %lo(D_8016A670)($at)
/* B43968 800CC7C8 84F90000 */ lh $t9, ($a3)
/* B4396C 800CC7CC 3C018017 */ lui $at, %hi(D_8016A678)
/* B43970 800CC7D0 44992000 */ mtc1 $t9, $f4
/* B43974 800CC7D4 00000000 */ nop
/* B43978 800CC7D8 468021A0 */ cvt.s.w $f6, $f4
/* B4397C 800CC7DC E426A678 */ swc1 $f6, %lo(D_8016A678)($at)
/* B43980 800CC7E0 84EA0002 */ lh $t2, 2($a3)
/* B43984 800CC7E4 448A4000 */ mtc1 $t2, $f8
/* B43988 800CC7E8 00000000 */ nop
/* B4398C 800CC7EC 468042A0 */ cvt.s.w $f10, $f8
/* B43990 800CC7F0 E42AA67C */ swc1 $f10, %lo(D_8016A67C)($at)
/* B43994 800CC7F4 84EB0004 */ lh $t3, 4($a3)
/* B43998 800CC7F8 3C018017 */ lui $at, %hi(D_8016A680)
/* B4399C 800CC7FC 3C078017 */ lui $a3, %hi(D_8016A678)
/* B439A0 800CC800 448B8000 */ mtc1 $t3, $f16
/* B439A4 800CC804 24E7A678 */ addiu $a3, %lo(D_8016A678)
/* B439A8 800CC808 468084A0 */ cvt.s.w $f18, $f16
/* B439AC 800CC80C 0C032F18 */ jal func_800CBC60
/* B439B0 800CC810 E432A680 */ swc1 $f18, %lo(D_8016A680)($at)
/* B439B4 800CC814 8FBF0014 */ lw $ra, 0x14($sp)
/* B439B8 800CC818 27BD0018 */ addiu $sp, $sp, 0x18
/* B439BC 800CC81C 03E00008 */ jr $ra
/* B439C0 800CC820 00000000 */ nop
glabel func_800CC824
/* B439C4 800CC824 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B439C8 800CC828 AFBF0014 */ sw $ra, 0x14($sp)
/* B439CC 800CC82C AFA40018 */ sw $a0, 0x18($sp)
/* B439D0 800CC830 AFA5001C */ sw $a1, 0x1c($sp)
/* B439D4 800CC834 AFA60020 */ sw $a2, 0x20($sp)
/* B439D8 800CC838 AFA70024 */ sw $a3, 0x24($sp)
/* B439DC 800CC83C 0C01DE1C */ jal Math_Sins
/* B439E0 800CC840 87A4001E */ lh $a0, 0x1e($sp)
/* B439E4 800CC844 3C018014 */ lui $at, %hi(D_801464E8)
/* B439E8 800CC848 C42464E8 */ lwc1 $f4, %lo(D_801464E8)($at)
/* B439EC 800CC84C 8FAE0020 */ lw $t6, 0x20($sp)
/* B439F0 800CC850 46040182 */ mul.s $f6, $f0, $f4
/* B439F4 800CC854 E5C60000 */ swc1 $f6, ($t6)
/* B439F8 800CC858 0C01DE0D */ jal Math_Coss
/* B439FC 800CC85C 87A4001E */ lh $a0, 0x1e($sp)
/* B43A00 800CC860 3C018014 */ lui $at, %hi(D_801464EC)
/* B43A04 800CC864 C42864EC */ lwc1 $f8, %lo(D_801464EC)($at)
/* B43A08 800CC868 8FAF0024 */ lw $t7, 0x24($sp)
/* B43A0C 800CC86C 8FA20018 */ lw $v0, 0x18($sp)
/* B43A10 800CC870 46080082 */ mul.s $f2, $f0, $f8
/* B43A14 800CC874 E5E20000 */ swc1 $f2, ($t7)
/* B43A18 800CC878 8FB80020 */ lw $t8, 0x20($sp)
/* B43A1C 800CC87C C4500000 */ lwc1 $f16, ($v0)
/* B43A20 800CC880 C4440008 */ lwc1 $f4, 8($v0)
/* B43A24 800CC884 C70A0000 */ lwc1 $f10, ($t8)
/* B43A28 800CC888 8FB90028 */ lw $t9, 0x28($sp)
/* B43A2C 800CC88C 46105482 */ mul.s $f18, $f10, $f16
/* B43A30 800CC890 00000000 */ nop
/* B43A34 800CC894 46041182 */ mul.s $f6, $f2, $f4
/* B43A38 800CC898 46123200 */ add.s $f8, $f6, $f18
/* B43A3C 800CC89C 46004287 */ neg.s $f10, $f8
/* B43A40 800CC8A0 E72A0000 */ swc1 $f10, ($t9)
/* B43A44 800CC8A4 8FBF0014 */ lw $ra, 0x14($sp)
/* B43A48 800CC8A8 27BD0018 */ addiu $sp, $sp, 0x18
/* B43A4C 800CC8AC 03E00008 */ jr $ra
/* B43A50 800CC8B0 00000000 */ nop
glabel func_800CC8B4
/* B43A54 800CC8B4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B43A58 800CC8B8 AFA70024 */ sw $a3, 0x24($sp)
/* B43A5C 800CC8BC AFBF0014 */ sw $ra, 0x14($sp)
/* B43A60 800CC8C0 3C078017 */ lui $a3, %hi(D_8016A688) # $a3, 0x8017
/* B43A64 800CC8C4 24E7A688 */ addiu $a3, %lo(D_8016A688) # addiu $a3, $a3, -0x5978
/* B43A68 800CC8C8 0C032E09 */ jal func_800CB824
/* B43A6C 800CC8CC AFA40018 */ sw $a0, 0x18($sp)
/* B43A70 800CC8D0 3C018017 */ lui $at, %hi(D_8016A688)
/* B43A74 800CC8D4 C424A688 */ lwc1 $f4, %lo(D_8016A688)($at)
/* B43A78 800CC8D8 C42CA68C */ lwc1 $f12, %lo(D_8016A68C)($at)
/* B43A7C 800CC8DC 3C018017 */ lui $at, %hi(D_8016A690)
/* B43A80 800CC8E0 46042182 */ mul.s $f6, $f4, $f4
/* B43A84 800CC8E4 C42EA690 */ lwc1 $f14, %lo(D_8016A690)($at)
/* B43A88 800CC8E8 3C018014 */ lui $at, %hi(D_801464F0)
/* B43A8C 800CC8EC 460C6202 */ mul.s $f8, $f12, $f12
/* B43A90 800CC8F0 8FA20024 */ lw $v0, 0x24($sp)
/* B43A94 800CC8F4 8FA40018 */ lw $a0, 0x18($sp)
/* B43A98 800CC8F8 460E7482 */ mul.s $f18, $f14, $f14
/* B43A9C 800CC8FC 8FA30028 */ lw $v1, 0x28($sp)
/* B43AA0 800CC900 8FAF0030 */ lw $t7, 0x30($sp)
/* B43AA4 800CC904 46083280 */ add.s $f10, $f6, $f8
/* B43AA8 800CC908 C42664F0 */ lwc1 $f6, %lo(D_801464F0)($at)
/* B43AAC 800CC90C 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B43AB0 800CC910 46125000 */ add.s $f0, $f10, $f18
/* B43AB4 800CC914 46000404 */ sqrt.s $f16, $f0
/* B43AB8 800CC918 46008005 */ abs.s $f0, $f16
/* B43ABC 800CC91C 4606003C */ c.lt.s $f0, $f6
/* B43AC0 800CC920 00000000 */ nop
/* B43AC4 800CC924 4503001F */ bc1tl .L800CC9A4
/* B43AC8 800CC928 44800000 */ mtc1 $zero, $f0
/* B43ACC 800CC92C 44814000 */ mtc1 $at, $f8
/* B43AD0 800CC930 8FA30028 */ lw $v1, 0x28($sp)
/* B43AD4 800CC934 8FA5002C */ lw $a1, 0x2c($sp)
/* B43AD8 800CC938 46104003 */ div.s $f0, $f8, $f16
/* B43ADC 800CC93C 3C018017 */ lui $at, %hi(D_8016A68C)
/* B43AE0 800CC940 46002282 */ mul.s $f10, $f4, $f0
/* B43AE4 800CC944 E44A0000 */ swc1 $f10, ($v0)
/* B43AE8 800CC948 C432A68C */ lwc1 $f18, %lo(D_8016A68C)($at)
/* B43AEC 800CC94C 3C018017 */ lui $at, %hi(D_8016A690)
/* B43AF0 800CC950 46009182 */ mul.s $f6, $f18, $f0
/* B43AF4 800CC954 E4660000 */ swc1 $f6, ($v1)
/* B43AF8 800CC958 C428A690 */ lwc1 $f8, %lo(D_8016A690)($at)
/* B43AFC 800CC95C 46004102 */ mul.s $f4, $f8, $f0
/* B43B00 800CC960 E4A40000 */ swc1 $f4, ($a1)
/* B43B04 800CC964 C4920000 */ lwc1 $f18, ($a0)
/* B43B08 800CC968 C44A0000 */ lwc1 $f10, ($v0)
/* B43B0C 800CC96C C4840004 */ lwc1 $f4, 4($a0)
/* B43B10 800CC970 C4680000 */ lwc1 $f8, ($v1)
/* B43B14 800CC974 46125182 */ mul.s $f6, $f10, $f18
/* B43B18 800CC978 8FAE0030 */ lw $t6, 0x30($sp)
/* B43B1C 800CC97C 46044282 */ mul.s $f10, $f8, $f4
/* B43B20 800CC980 C4840008 */ lwc1 $f4, 8($a0)
/* B43B24 800CC984 C4A80000 */ lwc1 $f8, ($a1)
/* B43B28 800CC988 460A3480 */ add.s $f18, $f6, $f10
/* B43B2C 800CC98C 46044182 */ mul.s $f6, $f8, $f4
/* B43B30 800CC990 46123280 */ add.s $f10, $f6, $f18
/* B43B34 800CC994 46005207 */ neg.s $f8, $f10
/* B43B38 800CC998 10000007 */ b .L800CC9B8
/* B43B3C 800CC99C E5C80000 */ swc1 $f8, ($t6)
/* B43B40 800CC9A0 44800000 */ mtc1 $zero, $f0
.L800CC9A4:
/* B43B44 800CC9A4 8FA5002C */ lw $a1, 0x2c($sp)
/* B43B48 800CC9A8 E5E00000 */ swc1 $f0, ($t7)
/* B43B4C 800CC9AC E4A00000 */ swc1 $f0, ($a1)
/* B43B50 800CC9B0 E4600000 */ swc1 $f0, ($v1)
/* B43B54 800CC9B4 E4400000 */ swc1 $f0, ($v0)
.L800CC9B8:
/* B43B58 800CC9B8 8FBF0014 */ lw $ra, 0x14($sp)
/* B43B5C 800CC9BC 27BD0018 */ addiu $sp, $sp, 0x18
/* B43B60 800CC9C0 03E00008 */ jr $ra
/* B43B64 800CC9C4 00000000 */ nop
glabel func_800CC9C8
/* B43B68 800CC9C8 8FA40010 */ lw $a0, 0x10($sp)
/* B43B6C 800CC9CC AFA60008 */ sw $a2, 8($sp)
/* B43B70 800CC9D0 AFA7000C */ sw $a3, 0xc($sp)
/* B43B74 800CC9D4 C4840000 */ lwc1 $f4, ($a0)
/* B43B78 800CC9D8 C4880004 */ lwc1 $f8, 4($a0)
/* B43B7C 800CC9DC C7B20008 */ lwc1 $f18, 8($sp)
/* B43B80 800CC9E0 460C2182 */ mul.s $f6, $f4, $f12
/* B43B84 800CC9E4 C4840008 */ lwc1 $f4, 8($a0)
/* B43B88 800CC9E8 46087282 */ mul.s $f10, $f14, $f8
/* B43B8C 800CC9EC 460A3400 */ add.s $f16, $f6, $f10
/* B43B90 800CC9F0 46049202 */ mul.s $f8, $f18, $f4
/* B43B94 800CC9F4 C7AA000C */ lwc1 $f10, 0xc($sp)
/* B43B98 800CC9F8 46088180 */ add.s $f6, $f16, $f8
/* B43B9C 800CC9FC 03E00008 */ jr $ra
/* B43BA0 800CCA00 460A3000 */ add.s $f0, $f6, $f10
glabel func_800CCA04
/* B43BA4 800CCA04 C4840000 */ lwc1 $f4, ($a0)
/* B43BA8 800CCA08 C4A60000 */ lwc1 $f6, ($a1)
/* B43BAC 800CCA0C C48A0004 */ lwc1 $f10, 4($a0)
/* B43BB0 800CCA10 C4B00004 */ lwc1 $f16, 4($a1)
/* B43BB4 800CCA14 46062202 */ mul.s $f8, $f4, $f6
/* B43BB8 800CCA18 C4860008 */ lwc1 $f6, 8($a0)
/* B43BBC 800CCA1C 46105482 */ mul.s $f18, $f10, $f16
/* B43BC0 800CCA20 C4AA0008 */ lwc1 $f10, 8($a1)
/* B43BC4 800CCA24 460A3402 */ mul.s $f16, $f6, $f10
/* B43BC8 800CCA28 46124100 */ add.s $f4, $f8, $f18
/* B43BCC 800CCA2C C492000C */ lwc1 $f18, 0xc($a0)
/* B43BD0 800CCA30 46102200 */ add.s $f8, $f4, $f16
/* B43BD4 800CCA34 03E00008 */ jr $ra
/* B43BD8 800CCA38 46124000 */ add.s $f0, $f8, $f18
glabel func_800CCA3C
/* B43BDC 800CCA3C 460C6102 */ mul.s $f4, $f12, $f12
/* B43BE0 800CCA40 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B43BE4 800CCA44 AFA60030 */ sw $a2, 0x30($sp)
/* B43BE8 800CCA48 460E7182 */ mul.s $f6, $f14, $f14
/* B43BEC 800CCA4C C7AA0030 */ lwc1 $f10, 0x30($sp)
/* B43BF0 800CCA50 3C018014 */ lui $at, %hi(D_801464F4)
/* B43BF4 800CCA54 C43264F4 */ lwc1 $f18, %lo(D_801464F4)($at)
/* B43BF8 800CCA58 460A5402 */ mul.s $f16, $f10, $f10
/* B43BFC 800CCA5C 3C048014 */ lui $a0, %hi(D_80146434) # $a0, 0x8014
/* B43C00 800CCA60 AFBF0024 */ sw $ra, 0x24($sp)
/* B43C04 800CCA64 AFA70034 */ sw $a3, 0x34($sp)
/* B43C08 800CCA68 24846434 */ addiu $a0, %lo(D_80146434) # addiu $a0, $a0, 0x6434
/* B43C0C 800CCA6C 46062200 */ add.s $f8, $f4, $f6
/* B43C10 800CCA70 8FA60030 */ lw $a2, 0x30($sp)
/* B43C14 800CCA74 8FAE0038 */ lw $t6, 0x38($sp)
/* B43C18 800CCA78 46104000 */ add.s $f0, $f8, $f16
/* B43C1C 800CCA7C 46000004 */ sqrt.s $f0, $f0
/* B43C20 800CCA80 46000005 */ abs.s $f0, $f0
/* B43C24 800CCA84 4612003C */ c.lt.s $f0, $f18
/* B43C28 800CCA88 00000000 */ nop
/* B43C2C 800CCA8C 45020018 */ bc1fl .L800CCAF0
/* B43C30 800CCA90 8FA70034 */ lw $a3, 0x34($sp)
/* B43C34 800CCA94 E7AC0028 */ swc1 $f12, 0x28($sp)
/* B43C38 800CCA98 0C00084C */ jal osSyncPrintf
/* B43C3C 800CCA9C E7AE002C */ swc1 $f14, 0x2c($sp)
/* B43C40 800CCAA0 C7AC0028 */ lwc1 $f12, 0x28($sp)
/* B43C44 800CCAA4 C7AE002C */ lwc1 $f14, 0x2c($sp)
/* B43C48 800CCAA8 C7AA0030 */ lwc1 $f10, 0x30($sp)
/* B43C4C 800CCAAC 46006121 */ cvt.d.s $f4, $f12
/* B43C50 800CCAB0 460071A1 */ cvt.d.s $f6, $f14
/* B43C54 800CCAB4 46005221 */ cvt.d.s $f8, $f10
/* B43C58 800CCAB8 44072000 */ mfc1 $a3, $f4
/* B43C5C 800CCABC 44062800 */ mfc1 $a2, $f5
/* B43C60 800CCAC0 3C048014 */ lui $a0, %hi(D_80146440) # $a0, 0x8014
/* B43C64 800CCAC4 24846440 */ addiu $a0, %lo(D_80146440) # addiu $a0, $a0, 0x6440
/* B43C68 800CCAC8 F7A80018 */ sdc1 $f8, 0x18($sp)
/* B43C6C 800CCACC 0C00084C */ jal osSyncPrintf
/* B43C70 800CCAD0 F7A60010 */ sdc1 $f6, 0x10($sp)
/* B43C74 800CCAD4 3C048014 */ lui $a0, %hi(D_8014647C)
/* B43C78 800CCAD8 0C00084C */ jal osSyncPrintf
/* B43C7C 800CCADC 2484647C */ addiu $a0, %lo(D_8014647C) # addiu $a0, $a0, 0x647c
/* B43C80 800CCAE0 44800000 */ mtc1 $zero, $f0
/* B43C84 800CCAE4 10000006 */ b .L800CCB00
/* B43C88 800CCAE8 8FBF0024 */ lw $ra, 0x24($sp)
/* B43C8C 800CCAEC 8FA70034 */ lw $a3, 0x34($sp)
.L800CCAF0:
/* B43C90 800CCAF0 0C0332C3 */ jal func_800CCB0C
/* B43C94 800CCAF4 AFAE0010 */ sw $t6, 0x10($sp)
/* B43C98 800CCAF8 46000005 */ abs.s $f0, $f0
/* B43C9C 800CCAFC 8FBF0024 */ lw $ra, 0x24($sp)
.L800CCB00:
/* B43CA0 800CCB00 27BD0028 */ addiu $sp, $sp, 0x28
/* B43CA4 800CCB04 03E00008 */ jr $ra
/* B43CA8 800CCB08 00000000 */ nop
glabel func_800CCB0C
/* B43CAC 800CCB0C 460C6102 */ mul.s $f4, $f12, $f12
/* B43CB0 800CCB10 27BDFFD0 */ addiu $sp, $sp, -0x30
/* B43CB4 800CCB14 AFA60038 */ sw $a2, 0x38($sp)
/* B43CB8 800CCB18 460E7182 */ mul.s $f6, $f14, $f14
/* B43CBC 800CCB1C C7AA0038 */ lwc1 $f10, 0x38($sp)
/* B43CC0 800CCB20 3C018014 */ lui $at, %hi(D_801464F8)
/* B43CC4 800CCB24 C43264F8 */ lwc1 $f18, %lo(D_801464F8)($at)
/* B43CC8 800CCB28 460A5402 */ mul.s $f16, $f10, $f10
/* B43CCC 800CCB2C AFA7003C */ sw $a3, 0x3c($sp)
/* B43CD0 800CCB30 3C048014 */ lui $a0, %hi(D_80146480) # $a0, 0x8014
/* B43CD4 800CCB34 AFBF0024 */ sw $ra, 0x24($sp)
/* B43CD8 800CCB38 24846480 */ addiu $a0, %lo(D_80146480) # addiu $a0, $a0, 0x6480
/* B43CDC 800CCB3C 46062200 */ add.s $f8, $f4, $f6
/* B43CE0 800CCB40 8FA7003C */ lw $a3, 0x3c($sp)
/* B43CE4 800CCB44 8FA60038 */ lw $a2, 0x38($sp)
/* B43CE8 800CCB48 8FAE0040 */ lw $t6, 0x40($sp)
/* B43CEC 800CCB4C 46104000 */ add.s $f0, $f8, $f16
/* B43CF0 800CCB50 46000084 */ sqrt.s $f2, $f0
/* B43CF4 800CCB54 46001005 */ abs.s $f0, $f2
/* B43CF8 800CCB58 4612003C */ c.lt.s $f0, $f18
/* B43CFC 800CCB5C 00000000 */ nop
/* B43D00 800CCB60 45020018 */ bc1fl .L800CCBC4
/* B43D04 800CCB64 AFAE0010 */ sw $t6, 0x10($sp)
/* B43D08 800CCB68 E7AC0030 */ swc1 $f12, 0x30($sp)
/* B43D0C 800CCB6C 0C00084C */ jal osSyncPrintf
/* B43D10 800CCB70 E7AE0034 */ swc1 $f14, 0x34($sp)
/* B43D14 800CCB74 C7AC0030 */ lwc1 $f12, 0x30($sp)
/* B43D18 800CCB78 C7AE0034 */ lwc1 $f14, 0x34($sp)
/* B43D1C 800CCB7C C7AA0038 */ lwc1 $f10, 0x38($sp)
/* B43D20 800CCB80 46006121 */ cvt.d.s $f4, $f12
/* B43D24 800CCB84 460071A1 */ cvt.d.s $f6, $f14
/* B43D28 800CCB88 46005221 */ cvt.d.s $f8, $f10
/* B43D2C 800CCB8C 44072000 */ mfc1 $a3, $f4
/* B43D30 800CCB90 44062800 */ mfc1 $a2, $f5
/* B43D34 800CCB94 3C048014 */ lui $a0, %hi(D_8014648C) # $a0, 0x8014
/* B43D38 800CCB98 2484648C */ addiu $a0, %lo(D_8014648C) # addiu $a0, $a0, 0x648c
/* B43D3C 800CCB9C F7A80018 */ sdc1 $f8, 0x18($sp)
/* B43D40 800CCBA0 0C00084C */ jal osSyncPrintf
/* B43D44 800CCBA4 F7A60010 */ sdc1 $f6, 0x10($sp)
/* B43D48 800CCBA8 3C048014 */ lui $a0, %hi(D_801464D0)
/* B43D4C 800CCBAC 0C00084C */ jal osSyncPrintf
/* B43D50 800CCBB0 248464D0 */ addiu $a0, %lo(D_801464D0) # addiu $a0, $a0, 0x64d0
/* B43D54 800CCBB4 44800000 */ mtc1 $zero, $f0
/* B43D58 800CCBB8 10000007 */ b .L800CCBD8
/* B43D5C 800CCBBC 8FBF0024 */ lw $ra, 0x24($sp)
/* B43D60 800CCBC0 AFAE0010 */ sw $t6, 0x10($sp)
.L800CCBC4:
/* B43D64 800CCBC4 0C033272 */ jal func_800CC9C8
/* B43D68 800CCBC8 E7A2002C */ swc1 $f2, 0x2c($sp)
/* B43D6C 800CCBCC C7A2002C */ lwc1 $f2, 0x2c($sp)
/* B43D70 800CCBD0 46020003 */ div.s $f0, $f0, $f2
/* B43D74 800CCBD4 8FBF0024 */ lw $ra, 0x24($sp)
.L800CCBD8:
/* B43D78 800CCBD8 27BD0030 */ addiu $sp, $sp, 0x30
/* B43D7C 800CCBDC 03E00008 */ jr $ra
/* B43D80 800CCBE0 00000000 */ nop
glabel func_800CCBE4
/* B43D84 800CCBE4 27BDFF90 */ addiu $sp, $sp, -0x70
/* B43D88 800CCBE8 AFA60078 */ sw $a2, 0x78($sp)
/* B43D8C 800CCBEC 8FAE0078 */ lw $t6, 0x78($sp)
/* B43D90 800CCBF0 AFBF002C */ sw $ra, 0x2c($sp)
/* B43D94 800CCBF4 AFA7007C */ sw $a3, 0x7c($sp)
/* B43D98 800CCBF8 C5C40008 */ lwc1 $f4, 8($t6)
/* B43D9C 800CCBFC 8CA70000 */ lw $a3, ($a1)
/* B43DA0 800CCC00 8CA60008 */ lw $a2, 8($a1)
/* B43DA4 800CCC04 C48E0000 */ lwc1 $f14, ($a0)
/* B43DA8 800CCC08 C48C0008 */ lwc1 $f12, 8($a0)
/* B43DAC 800CCC0C E7A40010 */ swc1 $f4, 0x10($sp)
/* B43DB0 800CCC10 C5C60000 */ lwc1 $f6, ($t6)
/* B43DB4 800CCC14 C7A40088 */ lwc1 $f4, 0x88($sp)
/* B43DB8 800CCC18 C7A8007C */ lwc1 $f8, 0x7c($sp)
/* B43DBC 800CCC1C C7AA0080 */ lwc1 $f10, 0x80($sp)
/* B43DC0 800CCC20 AFA50074 */ sw $a1, 0x74($sp)
/* B43DC4 800CCC24 AFA40070 */ sw $a0, 0x70($sp)
/* B43DC8 800CCC28 E7A60014 */ swc1 $f6, 0x14($sp)
/* B43DCC 800CCC2C E7A40020 */ swc1 $f4, 0x20($sp)
/* B43DD0 800CCC30 E7A80018 */ swc1 $f8, 0x18($sp)
/* B43DD4 800CCC34 0C032C7E */ jal func_800CB1F8
/* B43DD8 800CCC38 E7AA001C */ swc1 $f10, 0x1c($sp)
/* B43DDC 800CCC3C 8FA30078 */ lw $v1, 0x78($sp)
/* B43DE0 800CCC40 8FA40070 */ lw $a0, 0x70($sp)
/* B43DE4 800CCC44 8FA50074 */ lw $a1, 0x74($sp)
/* B43DE8 800CCC48 14400003 */ bnez $v0, .L800CCC58
/* B43DEC 800CCC4C C7AC0088 */ lwc1 $f12, 0x88($sp)
/* B43DF0 800CCC50 100000A7 */ b .L800CCEF0
/* B43DF4 800CCC54 00001025 */ move $v0, $zero
.L800CCC58:
/* B43DF8 800CCC58 C4860008 */ lwc1 $f6, 8($a0)
/* B43DFC 800CCC5C C7AA007C */ lwc1 $f10, 0x7c($sp)
/* B43E00 800CCC60 460C6402 */ mul.s $f16, $f12, $f12
/* B43E04 800CCC64 E7A60058 */ swc1 $f6, 0x58($sp)
/* B43E08 800CCC68 C4840000 */ lwc1 $f4, ($a0)
/* B43E0C 800CCC6C C7A80058 */ lwc1 $f8, 0x58($sp)
/* B43E10 800CCC70 E7A40054 */ swc1 $f4, 0x54($sp)
/* B43E14 800CCC74 460A4001 */ sub.s $f0, $f8, $f10
/* B43E18 800CCC78 C7A80080 */ lwc1 $f8, 0x80($sp)
/* B43E1C 800CCC7C C7A60054 */ lwc1 $f6, 0x54($sp)
/* B43E20 800CCC80 46000102 */ mul.s $f4, $f0, $f0
/* B43E24 800CCC84 46083081 */ sub.s $f2, $f6, $f8
/* B43E28 800CCC88 46021182 */ mul.s $f6, $f2, $f2
/* B43E2C 800CCC8C 46062100 */ add.s $f4, $f4, $f6
/* B43E30 800CCC90 4610203C */ c.lt.s $f4, $f16
/* B43E34 800CCC94 00000000 */ nop
/* B43E38 800CCC98 4501001D */ bc1t .L800CCD10
/* B43E3C 800CCC9C 00000000 */ nop
/* B43E40 800CCCA0 C4A60000 */ lwc1 $f6, ($a1)
/* B43E44 800CCCA4 C4B20008 */ lwc1 $f18, 8($a1)
/* B43E48 800CCCA8 E7B00048 */ swc1 $f16, 0x48($sp)
/* B43E4C 800CCCAC E7A6004C */ swc1 $f6, 0x4c($sp)
/* B43E50 800CCCB0 460A9301 */ sub.s $f12, $f18, $f10
/* B43E54 800CCCB4 C7A4004C */ lwc1 $f4, 0x4c($sp)
/* B43E58 800CCCB8 E7B20050 */ swc1 $f18, 0x50($sp)
/* B43E5C 800CCCBC 46082381 */ sub.s $f14, $f4, $f8
/* B43E60 800CCCC0 460C6182 */ mul.s $f6, $f12, $f12
/* B43E64 800CCCC4 00000000 */ nop
/* B43E68 800CCCC8 460E7102 */ mul.s $f4, $f14, $f14
/* B43E6C 800CCCCC 46043180 */ add.s $f6, $f6, $f4
/* B43E70 800CCCD0 4610303C */ c.lt.s $f6, $f16
/* B43E74 800CCCD4 00000000 */ nop
/* B43E78 800CCCD8 4501000D */ bc1t .L800CCD10
/* B43E7C 800CCCDC 00000000 */ nop
/* B43E80 800CCCE0 C4640008 */ lwc1 $f4, 8($v1)
/* B43E84 800CCCE4 C4660000 */ lwc1 $f6, ($v1)
/* B43E88 800CCCE8 460A2401 */ sub.s $f16, $f4, $f10
/* B43E8C 800CCCEC 46083481 */ sub.s $f18, $f6, $f8
/* B43E90 800CCCF0 46108102 */ mul.s $f4, $f16, $f16
/* B43E94 800CCCF4 C7A80048 */ lwc1 $f8, 0x48($sp)
/* B43E98 800CCCF8 46129282 */ mul.s $f10, $f18, $f18
/* B43E9C 800CCCFC 460A2180 */ add.s $f6, $f4, $f10
/* B43EA0 800CCD00 4608303C */ c.lt.s $f6, $f8
/* B43EA4 800CCD04 00000000 */ nop
/* B43EA8 800CCD08 45000003 */ bc1f .L800CCD18
/* B43EAC 800CCD0C 00000000 */ nop
.L800CCD10:
/* B43EB0 800CCD10 10000077 */ b .L800CCEF0
/* B43EB4 800CCD14 24020001 */ li $v0, 1
.L800CCD18:
/* B43EB8 800CCD18 460E0102 */ mul.s $f4, $f0, $f14
/* B43EBC 800CCD1C 00000000 */ nop
/* B43EC0 800CCD20 460C1282 */ mul.s $f10, $f2, $f12
/* B43EC4 800CCD24 460A2181 */ sub.s $f6, $f4, $f10
/* B43EC8 800CCD28 46126202 */ mul.s $f8, $f12, $f18
/* B43ECC 800CCD2C 00000000 */ nop
/* B43ED0 800CCD30 46107102 */ mul.s $f4, $f14, $f16
/* B43ED4 800CCD34 E7A6006C */ swc1 $f6, 0x6c($sp)
/* B43ED8 800CCD38 46003306 */ mov.s $f12, $f6
/* B43EDC 800CCD3C 46044281 */ sub.s $f10, $f8, $f4
/* B43EE0 800CCD40 46028202 */ mul.s $f8, $f16, $f2
/* B43EE4 800CCD44 C7A20084 */ lwc1 $f2, 0x84($sp)
/* B43EE8 800CCD48 46009102 */ mul.s $f4, $f18, $f0
/* B43EEC 800CCD4C E7AA0068 */ swc1 $f10, 0x68($sp)
/* B43EF0 800CCD50 4602303E */ c.le.s $f6, $f2
/* B43EF4 800CCD54 46005386 */ mov.s $f14, $f10
/* B43EF8 800CCD58 46044201 */ sub.s $f8, $f8, $f4
/* B43EFC 800CCD5C E7A80064 */ swc1 $f8, 0x64($sp)
/* B43F00 800CCD60 45000009 */ bc1f .L800CCD88
/* B43F04 800CCD64 46004406 */ mov.s $f16, $f8
/* B43F08 800CCD68 4602503E */ c.le.s $f10, $f2
/* B43F0C 800CCD6C 00000000 */ nop
/* B43F10 800CCD70 45020006 */ bc1fl .L800CCD8C
/* B43F14 800CCD74 46001007 */ neg.s $f0, $f2
/* B43F18 800CCD78 4602403E */ c.le.s $f8, $f2
/* B43F1C 800CCD7C 00000000 */ nop
/* B43F20 800CCD80 4501000E */ bc1t .L800CCDBC
/* B43F24 800CCD84 00000000 */ nop
.L800CCD88:
/* B43F28 800CCD88 46001007 */ neg.s $f0, $f2
.L800CCD8C:
/* B43F2C 800CCD8C 460C003E */ c.le.s $f0, $f12
/* B43F30 800CCD90 00000000 */ nop
/* B43F34 800CCD94 4502000C */ bc1fl .L800CCDC8
/* B43F38 800CCD98 C7A0008C */ lwc1 $f0, 0x8c($sp)
/* B43F3C 800CCD9C 460E003E */ c.le.s $f0, $f14
/* B43F40 800CCDA0 00000000 */ nop
/* B43F44 800CCDA4 45020008 */ bc1fl .L800CCDC8
/* B43F48 800CCDA8 C7A0008C */ lwc1 $f0, 0x8c($sp)
/* B43F4C 800CCDAC 4610003E */ c.le.s $f0, $f16
/* B43F50 800CCDB0 00000000 */ nop
/* B43F54 800CCDB4 45020004 */ bc1fl .L800CCDC8
/* B43F58 800CCDB8 C7A0008C */ lwc1 $f0, 0x8c($sp)
.L800CCDBC:
/* B43F5C 800CCDBC 1000004C */ b .L800CCEF0
/* B43F60 800CCDC0 24020001 */ li $v0, 1
/* B43F64 800CCDC4 C7A0008C */ lwc1 $f0, 0x8c($sp)
.L800CCDC8:
/* B43F68 800CCDC8 3C013F00 */ li $at, 0x3F000000 # 0.000000
/* B43F6C 800CCDCC 44812000 */ mtc1 $at, $f4
/* B43F70 800CCDD0 46000005 */ abs.s $f0, $f0
/* B43F74 800CCDD4 C7AC007C */ lwc1 $f12, 0x7c($sp)
/* B43F78 800CCDD8 4600203C */ c.lt.s $f4, $f0
/* B43F7C 800CCDDC C7AE0080 */ lwc1 $f14, 0x80($sp)
/* B43F80 800CCDE0 8FA60058 */ lw $a2, 0x58($sp)
/* B43F84 800CCDE4 8FA70054 */ lw $a3, 0x54($sp)
/* B43F88 800CCDE8 45000040 */ bc1f .L800CCEEC
/* B43F8C 800CCDEC C7A60050 */ lwc1 $f6, 0x50($sp)
/* B43F90 800CCDF0 C7AA004C */ lwc1 $f10, 0x4c($sp)
/* B43F94 800CCDF4 27AF0060 */ addiu $t7, $sp, 0x60
/* B43F98 800CCDF8 AFAF0018 */ sw $t7, 0x18($sp)
/* B43F9C 800CCDFC E7A60010 */ swc1 $f6, 0x10($sp)
/* B43FA0 800CCE00 AFA40070 */ sw $a0, 0x70($sp)
/* B43FA4 800CCE04 AFA50074 */ sw $a1, 0x74($sp)
/* B43FA8 800CCE08 0C03392E */ jal func_800CE4B8
/* B43FAC 800CCE0C E7AA0014 */ swc1 $f10, 0x14($sp)
/* B43FB0 800CCE10 8FA30078 */ lw $v1, 0x78($sp)
/* B43FB4 800CCE14 8FA40070 */ lw $a0, 0x70($sp)
/* B43FB8 800CCE18 10400009 */ beqz $v0, .L800CCE40
/* B43FBC 800CCE1C 8FA50074 */ lw $a1, 0x74($sp)
/* B43FC0 800CCE20 C7A80060 */ lwc1 $f8, 0x60($sp)
/* B43FC4 800CCE24 C7A40048 */ lwc1 $f4, 0x48($sp)
/* B43FC8 800CCE28 4604403C */ c.lt.s $f8, $f4
/* B43FCC 800CCE2C 00000000 */ nop
/* B43FD0 800CCE30 45020004 */ bc1fl .L800CCE44
/* B43FD4 800CCE34 C4660008 */ lwc1 $f6, 8($v1)
/* B43FD8 800CCE38 1000002D */ b .L800CCEF0
/* B43FDC 800CCE3C 24020001 */ li $v0, 1
.L800CCE40:
/* B43FE0 800CCE40 C4660008 */ lwc1 $f6, 8($v1)
.L800CCE44:
/* B43FE4 800CCE44 8CA60008 */ lw $a2, 8($a1)
/* B43FE8 800CCE48 8CA70000 */ lw $a3, ($a1)
/* B43FEC 800CCE4C E7A60010 */ swc1 $f6, 0x10($sp)
/* B43FF0 800CCE50 C46A0000 */ lwc1 $f10, ($v1)
/* B43FF4 800CCE54 27B80060 */ addiu $t8, $sp, 0x60
/* B43FF8 800CCE58 AFB80018 */ sw $t8, 0x18($sp)
/* B43FFC 800CCE5C AFA40070 */ sw $a0, 0x70($sp)
/* B44000 800CCE60 C7AC007C */ lwc1 $f12, 0x7c($sp)
/* B44004 800CCE64 C7AE0080 */ lwc1 $f14, 0x80($sp)
/* B44008 800CCE68 0C03392E */ jal func_800CE4B8
/* B4400C 800CCE6C E7AA0014 */ swc1 $f10, 0x14($sp)
/* B44010 800CCE70 8FA30078 */ lw $v1, 0x78($sp)
/* B44014 800CCE74 10400009 */ beqz $v0, .L800CCE9C
/* B44018 800CCE78 8FA40070 */ lw $a0, 0x70($sp)
/* B4401C 800CCE7C C7A80060 */ lwc1 $f8, 0x60($sp)
/* B44020 800CCE80 C7A40048 */ lwc1 $f4, 0x48($sp)
/* B44024 800CCE84 4604403C */ c.lt.s $f8, $f4
/* B44028 800CCE88 00000000 */ nop
/* B4402C 800CCE8C 45020004 */ bc1fl .L800CCEA0
/* B44030 800CCE90 C4860008 */ lwc1 $f6, 8($a0)
/* B44034 800CCE94 10000016 */ b .L800CCEF0
/* B44038 800CCE98 24020001 */ li $v0, 1
.L800CCE9C:
/* B4403C 800CCE9C C4860008 */ lwc1 $f6, 8($a0)
.L800CCEA0:
/* B44040 800CCEA0 8C660008 */ lw $a2, 8($v1)
/* B44044 800CCEA4 8C670000 */ lw $a3, ($v1)
/* B44048 800CCEA8 E7A60010 */ swc1 $f6, 0x10($sp)
/* B4404C 800CCEAC C48A0000 */ lwc1 $f10, ($a0)
/* B44050 800CCEB0 27B90060 */ addiu $t9, $sp, 0x60
/* B44054 800CCEB4 AFB90018 */ sw $t9, 0x18($sp)
/* B44058 800CCEB8 C7AC007C */ lwc1 $f12, 0x7c($sp)
/* B4405C 800CCEBC C7AE0080 */ lwc1 $f14, 0x80($sp)
/* B44060 800CCEC0 0C03392E */ jal func_800CE4B8
/* B44064 800CCEC4 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B44068 800CCEC8 10400008 */ beqz $v0, .L800CCEEC
/* B4406C 800CCECC C7A80060 */ lwc1 $f8, 0x60($sp)
/* B44070 800CCED0 C7A40048 */ lwc1 $f4, 0x48($sp)
/* B44074 800CCED4 4604403C */ c.lt.s $f8, $f4
/* B44078 800CCED8 00000000 */ nop
/* B4407C 800CCEDC 45020004 */ bc1fl .L800CCEF0
/* B44080 800CCEE0 00001025 */ move $v0, $zero
/* B44084 800CCEE4 10000002 */ b .L800CCEF0
/* B44088 800CCEE8 24020001 */ li $v0, 1
.L800CCEEC:
/* B4408C 800CCEEC 00001025 */ move $v0, $zero
.L800CCEF0:
/* B44090 800CCEF0 8FBF002C */ lw $ra, 0x2c($sp)
/* B44094 800CCEF4 27BD0070 */ addiu $sp, $sp, 0x70
/* B44098 800CCEF8 03E00008 */ jr $ra
/* B4409C 800CCEFC 00000000 */ nop
glabel func_800CCF00
/* B440A0 800CCF00 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B440A4 800CCF04 44876000 */ mtc1 $a3, $f12
/* B440A8 800CCF08 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B440AC 800CCF0C 44814000 */ mtc1 $at, $f8
/* B440B0 800CCF10 C7A40038 */ lwc1 $f4, 0x38($sp)
/* B440B4 800CCF14 C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B440B8 800CCF18 C7AA0040 */ lwc1 $f10, 0x40($sp)
/* B440BC 800CCF1C AFBF0024 */ sw $ra, 0x24($sp)
/* B440C0 800CCF20 44076000 */ mfc1 $a3, $f12
/* B440C4 800CCF24 E7A40010 */ swc1 $f4, 0x10($sp)
/* B440C8 800CCF28 E7A80018 */ swc1 $f8, 0x18($sp)
/* B440CC 800CCF2C E7A60014 */ swc1 $f6, 0x14($sp)
/* B440D0 800CCF30 0C0332F9 */ jal func_800CCBE4
/* B440D4 800CCF34 E7AA001C */ swc1 $f10, 0x1c($sp)
/* B440D8 800CCF38 8FBF0024 */ lw $ra, 0x24($sp)
/* B440DC 800CCF3C 27BD0028 */ addiu $sp, $sp, 0x28
/* B440E0 800CCF40 03E00008 */ jr $ra
/* B440E4 800CCF44 00000000 */ nop
glabel func_800CCF48
/* B440E8 800CCF48 3C014396 */ li $at, 0x43960000 # 0.000000
/* B440EC 800CCF4C 44813000 */ mtc1 $at, $f6
/* B440F0 800CCF50 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B440F4 800CCF54 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B440F8 800CCF58 44876000 */ mtc1 $a3, $f12
/* B440FC 800CCF5C 44814000 */ mtc1 $at, $f8
/* B44100 800CCF60 3C018014 */ lui $at, %hi(D_801464FC)
/* B44104 800CCF64 C42A64FC */ lwc1 $f10, %lo(D_801464FC)($at)
/* B44108 800CCF68 C7A40038 */ lwc1 $f4, 0x38($sp)
/* B4410C 800CCF6C AFBF0024 */ sw $ra, 0x24($sp)
/* B44110 800CCF70 44076000 */ mfc1 $a3, $f12
/* B44114 800CCF74 E7A60014 */ swc1 $f6, 0x14($sp)
/* B44118 800CCF78 E7A80018 */ swc1 $f8, 0x18($sp)
/* B4411C 800CCF7C E7AA001C */ swc1 $f10, 0x1c($sp)
/* B44120 800CCF80 0C0332F9 */ jal func_800CCBE4
/* B44124 800CCF84 E7A40010 */ swc1 $f4, 0x10($sp)
/* B44128 800CCF88 8FBF0024 */ lw $ra, 0x24($sp)
/* B4412C 800CCF8C 27BD0028 */ addiu $sp, $sp, 0x28
/* B44130 800CCF90 03E00008 */ jr $ra
/* B44134 800CCF94 00000000 */ nop
glabel func_800CCF98
/* B44138 800CCF98 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B4413C 800CCF9C C7AC0038 */ lwc1 $f12, 0x38($sp)
/* B44140 800CCFA0 3C018014 */ lui $at, %hi(D_80146500)
/* B44144 800CCFA4 C4246500 */ lwc1 $f4, %lo(D_80146500)($at)
/* B44148 800CCFA8 46006005 */ abs.s $f0, $f12
/* B4414C 800CCFAC AFA70034 */ sw $a3, 0x34($sp)
/* B44150 800CCFB0 4604003C */ c.lt.s $f0, $f4
/* B44154 800CCFB4 AFBF0024 */ sw $ra, 0x24($sp)
/* B44158 800CCFB8 8FA70044 */ lw $a3, 0x44($sp)
/* B4415C 800CCFBC 3C014396 */ li $at, 0x43960000 # 0.000000
/* B44160 800CCFC0 45000003 */ bc1f .L800CCFD0
/* B44164 800CCFC4 C7A60048 */ lwc1 $f6, 0x48($sp)
/* B44168 800CCFC8 1000001A */ b .L800CD034
/* B4416C 800CCFCC 00001025 */ move $v0, $zero
.L800CCFD0:
/* B44170 800CCFD0 44814000 */ mtc1 $at, $f8
/* B44174 800CCFD4 C7AA0050 */ lwc1 $f10, 0x50($sp)
/* B44178 800CCFD8 E7A60010 */ swc1 $f6, 0x10($sp)
/* B4417C 800CCFDC E7AC001C */ swc1 $f12, 0x1c($sp)
/* B44180 800CCFE0 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B44184 800CCFE4 0C0332F9 */ jal func_800CCBE4
/* B44188 800CCFE8 E7A80014 */ swc1 $f8, 0x14($sp)
/* B4418C 800CCFEC 10400010 */ beqz $v0, .L800CD030
/* B44190 800CCFF0 C7B00034 */ lwc1 $f16, 0x34($sp)
/* B44194 800CCFF4 C7A40048 */ lwc1 $f4, 0x48($sp)
/* B44198 800CCFF8 46008487 */ neg.s $f18, $f16
/* B4419C 800CCFFC C7A8003C */ lwc1 $f8, 0x3c($sp)
/* B441A0 800CD000 46049182 */ mul.s $f6, $f18, $f4
/* B441A4 800CD004 C7AA0044 */ lwc1 $f10, 0x44($sp)
/* B441A8 800CD008 C7A40040 */ lwc1 $f4, 0x40($sp)
/* B441AC 800CD00C 8FAE004C */ lw $t6, 0x4c($sp)
/* B441B0 800CD010 460A4402 */ mul.s $f16, $f8, $f10
/* B441B4 800CD014 C7AA0038 */ lwc1 $f10, 0x38($sp)
/* B441B8 800CD018 24020001 */ li $v0, 1
/* B441BC 800CD01C 46103481 */ sub.s $f18, $f6, $f16
/* B441C0 800CD020 46049201 */ sub.s $f8, $f18, $f4
/* B441C4 800CD024 460A4183 */ div.s $f6, $f8, $f10
/* B441C8 800CD028 10000002 */ b .L800CD034
/* B441CC 800CD02C E5C60000 */ swc1 $f6, ($t6)
.L800CD030:
/* B441D0 800CD030 00001025 */ move $v0, $zero
.L800CD034:
/* B441D4 800CD034 8FBF0024 */ lw $ra, 0x24($sp)
/* B441D8 800CD038 27BD0028 */ addiu $sp, $sp, 0x28
/* B441DC 800CD03C 03E00008 */ jr $ra
/* B441E0 800CD040 00000000 */ nop
glabel func_800CD044
/* B441E4 800CD044 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B441E8 800CD048 C7AC0038 */ lwc1 $f12, 0x38($sp)
/* B441EC 800CD04C 3C018014 */ lui $at, %hi(D_80146504)
/* B441F0 800CD050 C4246504 */ lwc1 $f4, %lo(D_80146504)($at)
/* B441F4 800CD054 46006005 */ abs.s $f0, $f12
/* B441F8 800CD058 AFA70034 */ sw $a3, 0x34($sp)
/* B441FC 800CD05C 4604003C */ c.lt.s $f0, $f4
/* B44200 800CD060 AFBF0024 */ sw $ra, 0x24($sp)
/* B44204 800CD064 8FA70044 */ lw $a3, 0x44($sp)
/* B44208 800CD068 C7A60048 */ lwc1 $f6, 0x48($sp)
/* B4420C 800CD06C 45020004 */ bc1fl .L800CD080
/* B44210 800CD070 44804000 */ mtc1 $zero, $f8
/* B44214 800CD074 1000001A */ b .L800CD0E0
/* B44218 800CD078 00001025 */ move $v0, $zero
/* B4421C 800CD07C 44804000 */ mtc1 $zero, $f8
.L800CD080:
/* B44220 800CD080 C7AA0050 */ lwc1 $f10, 0x50($sp)
/* B44224 800CD084 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44228 800CD088 E7AC001C */ swc1 $f12, 0x1c($sp)
/* B4422C 800CD08C E7AA0018 */ swc1 $f10, 0x18($sp)
/* B44230 800CD090 0C0332F9 */ jal func_800CCBE4
/* B44234 800CD094 E7A80014 */ swc1 $f8, 0x14($sp)
/* B44238 800CD098 10400010 */ beqz $v0, .L800CD0DC
/* B4423C 800CD09C C7B00034 */ lwc1 $f16, 0x34($sp)
/* B44240 800CD0A0 C7A40048 */ lwc1 $f4, 0x48($sp)
/* B44244 800CD0A4 46008487 */ neg.s $f18, $f16
/* B44248 800CD0A8 C7A8003C */ lwc1 $f8, 0x3c($sp)
/* B4424C 800CD0AC 46049182 */ mul.s $f6, $f18, $f4
/* B44250 800CD0B0 C7AA0044 */ lwc1 $f10, 0x44($sp)
/* B44254 800CD0B4 C7A40040 */ lwc1 $f4, 0x40($sp)
/* B44258 800CD0B8 8FAE004C */ lw $t6, 0x4c($sp)
/* B4425C 800CD0BC 460A4402 */ mul.s $f16, $f8, $f10
/* B44260 800CD0C0 C7AA0038 */ lwc1 $f10, 0x38($sp)
/* B44264 800CD0C4 24020001 */ li $v0, 1
/* B44268 800CD0C8 46103481 */ sub.s $f18, $f6, $f16
/* B4426C 800CD0CC 46049201 */ sub.s $f8, $f18, $f4
/* B44270 800CD0D0 460A4183 */ div.s $f6, $f8, $f10
/* B44274 800CD0D4 10000002 */ b .L800CD0E0
/* B44278 800CD0D8 E5C60000 */ swc1 $f6, ($t6)
.L800CD0DC:
/* B4427C 800CD0DC 00001025 */ move $v0, $zero
.L800CD0E0:
/* B44280 800CD0E0 8FBF0024 */ lw $ra, 0x24($sp)
/* B44284 800CD0E4 27BD0028 */ addiu $sp, $sp, 0x28
/* B44288 800CD0E8 03E00008 */ jr $ra
/* B4428C 800CD0EC 00000000 */ nop
glabel func_800CD0F0
/* B44290 800CD0F0 44876000 */ mtc1 $a3, $f12
/* B44294 800CD0F4 3C018014 */ lui $at, %hi(D_80146508)
/* B44298 800CD0F8 C4246508 */ lwc1 $f4, %lo(D_80146508)($at)
/* B4429C 800CD0FC 46006005 */ abs.s $f0, $f12
/* B442A0 800CD100 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B442A4 800CD104 4604003C */ c.lt.s $f0, $f4
/* B442A8 800CD108 AFBF0024 */ sw $ra, 0x24($sp)
/* B442AC 800CD10C 8FA70038 */ lw $a3, 0x38($sp)
/* B442B0 800CD110 C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B442B4 800CD114 45000003 */ bc1f .L800CD124
/* B442B8 800CD118 3C014396 */ li $at, 0x43960000 # 0.000000
/* B442BC 800CD11C 1000000E */ b .L800CD158
/* B442C0 800CD120 00001025 */ move $v0, $zero
.L800CD124:
/* B442C4 800CD124 44814000 */ mtc1 $at, $f8
/* B442C8 800CD128 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B442CC 800CD12C 44815000 */ mtc1 $at, $f10
/* B442D0 800CD130 E7A60010 */ swc1 $f6, 0x10($sp)
/* B442D4 800CD134 E7AC001C */ swc1 $f12, 0x1c($sp)
/* B442D8 800CD138 E7A80014 */ swc1 $f8, 0x14($sp)
/* B442DC 800CD13C 0C0332F9 */ jal func_800CCBE4
/* B442E0 800CD140 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B442E4 800CD144 50400004 */ beql $v0, $zero, .L800CD158
/* B442E8 800CD148 00001025 */ move $v0, $zero
/* B442EC 800CD14C 10000002 */ b .L800CD158
/* B442F0 800CD150 24020001 */ li $v0, 1
/* B442F4 800CD154 00001025 */ move $v0, $zero
.L800CD158:
/* B442F8 800CD158 8FBF0024 */ lw $ra, 0x24($sp)
/* B442FC 800CD15C 27BD0028 */ addiu $sp, $sp, 0x28
/* B44300 800CD160 03E00008 */ jr $ra
/* B44304 800CD164 00000000 */ nop
glabel func_800CD168
/* B44308 800CD168 27BDFFC0 */ addiu $sp, $sp, -0x40
/* B4430C 800CD16C C7AE0050 */ lwc1 $f14, 0x50($sp)
/* B44310 800CD170 3C018014 */ lui $at, %hi(D_8014650C)
/* B44314 800CD174 C424650C */ lwc1 $f4, %lo(D_8014650C)($at)
/* B44318 800CD178 46007005 */ abs.s $f0, $f14
/* B4431C 800CD17C AFBF0024 */ sw $ra, 0x24($sp)
/* B44320 800CD180 4604003C */ c.lt.s $f0, $f4
/* B44324 800CD184 AFA40040 */ sw $a0, 0x40($sp)
/* B44328 800CD188 AFA50044 */ sw $a1, 0x44($sp)
/* B4432C 800CD18C AFA60048 */ sw $a2, 0x48($sp)
/* B44330 800CD190 45000003 */ bc1f .L800CD1A0
/* B44334 800CD194 AFA7004C */ sw $a3, 0x4c($sp)
/* B44338 800CD198 1000004B */ b .L800CD2C8
/* B4433C 800CD19C 00001025 */ move $v0, $zero
.L800CD1A0:
/* B44340 800CD1A0 C7A60060 */ lwc1 $f6, 0x60($sp)
/* B44344 800CD1A4 C7A80068 */ lwc1 $f8, 0x68($sp)
/* B44348 800CD1A8 C7AA005C */ lwc1 $f10, 0x5c($sp)
/* B4434C 800CD1AC 27AE002C */ addiu $t6, $sp, 0x2c
/* B44350 800CD1B0 AFAE0010 */ sw $t6, 0x10($sp)
/* B44354 800CD1B4 C7AC004C */ lwc1 $f12, 0x4c($sp)
/* B44358 800CD1B8 8FA60054 */ lw $a2, 0x54($sp)
/* B4435C 800CD1BC 8FA70058 */ lw $a3, 0x58($sp)
/* B44360 800CD1C0 E7A6002C */ swc1 $f6, 0x2c($sp)
/* B44364 800CD1C4 E7A80030 */ swc1 $f8, 0x30($sp)
/* B44368 800CD1C8 0C033272 */ jal func_800CC9C8
/* B4436C 800CD1CC E7AA0034 */ swc1 $f10, 0x34($sp)
/* B44370 800CD1D0 C7B0006C */ lwc1 $f16, 0x6c($sp)
/* B44374 800CD1D4 27AF002C */ addiu $t7, $sp, 0x2c
/* B44378 800CD1D8 AFAF0010 */ sw $t7, 0x10($sp)
/* B4437C 800CD1DC C7AC004C */ lwc1 $f12, 0x4c($sp)
/* B44380 800CD1E0 C7AE0050 */ lwc1 $f14, 0x50($sp)
/* B44384 800CD1E4 8FA60054 */ lw $a2, 0x54($sp)
/* B44388 800CD1E8 8FA70058 */ lw $a3, 0x58($sp)
/* B4438C 800CD1EC E7A0003C */ swc1 $f0, 0x3c($sp)
/* B44390 800CD1F0 0C033272 */ jal func_800CC9C8
/* B44394 800CD1F4 E7B00030 */ swc1 $f16, 0x30($sp)
/* B44398 800CD1F8 C7A2003C */ lwc1 $f2, 0x3c($sp)
/* B4439C 800CD1FC 44806000 */ mtc1 $zero, $f12
/* B443A0 800CD200 00000000 */ nop
/* B443A4 800CD204 4602603C */ c.lt.s $f12, $f2
/* B443A8 800CD208 00000000 */ nop
/* B443AC 800CD20C 45020006 */ bc1fl .L800CD228
/* B443B0 800CD210 460C103C */ c.lt.s $f2, $f12
/* B443B4 800CD214 4600603C */ c.lt.s $f12, $f0
/* B443B8 800CD218 00000000 */ nop
/* B443BC 800CD21C 4501000B */ bc1t .L800CD24C
/* B443C0 800CD220 00000000 */ nop
/* B443C4 800CD224 460C103C */ c.lt.s $f2, $f12
.L800CD228:
/* B443C8 800CD228 8FA40040 */ lw $a0, 0x40($sp)
/* B443CC 800CD22C 8FA50044 */ lw $a1, 0x44($sp)
/* B443D0 800CD230 8FA60048 */ lw $a2, 0x48($sp)
/* B443D4 800CD234 45000007 */ bc1f .L800CD254
/* B443D8 800CD238 8FA7005C */ lw $a3, 0x5c($sp)
/* B443DC 800CD23C 460C003C */ c.lt.s $f0, $f12
/* B443E0 800CD240 00000000 */ nop
/* B443E4 800CD244 45020004 */ bc1fl .L800CD258
/* B443E8 800CD248 3C014396 */ lui $at, 0x4396
.L800CD24C:
/* B443EC 800CD24C 1000001E */ b .L800CD2C8
/* B443F0 800CD250 00001025 */ move $v0, $zero
.L800CD254:
/* B443F4 800CD254 3C014396 */ li $at, 0x43960000 # 0.000000
.L800CD258:
/* B443F8 800CD258 44812000 */ mtc1 $at, $f4
/* B443FC 800CD25C 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B44400 800CD260 44813000 */ mtc1 $at, $f6
/* B44404 800CD264 C7B20060 */ lwc1 $f18, 0x60($sp)
/* B44408 800CD268 C7A80050 */ lwc1 $f8, 0x50($sp)
/* B4440C 800CD26C E7A40014 */ swc1 $f4, 0x14($sp)
/* B44410 800CD270 E7B20010 */ swc1 $f18, 0x10($sp)
/* B44414 800CD274 E7A60018 */ swc1 $f6, 0x18($sp)
/* B44418 800CD278 0C0332F9 */ jal func_800CCBE4
/* B4441C 800CD27C E7A8001C */ swc1 $f8, 0x1c($sp)
/* B44420 800CD280 10400010 */ beqz $v0, .L800CD2C4
/* B44424 800CD284 C7AA004C */ lwc1 $f10, 0x4c($sp)
/* B44428 800CD288 C7B20060 */ lwc1 $f18, 0x60($sp)
/* B4442C 800CD28C 46005407 */ neg.s $f16, $f10
/* B44430 800CD290 C7A60054 */ lwc1 $f6, 0x54($sp)
/* B44434 800CD294 46128102 */ mul.s $f4, $f16, $f18
/* B44438 800CD298 C7A8005C */ lwc1 $f8, 0x5c($sp)
/* B4443C 800CD29C C7B20058 */ lwc1 $f18, 0x58($sp)
/* B44440 800CD2A0 8FB80064 */ lw $t8, 0x64($sp)
/* B44444 800CD2A4 46083282 */ mul.s $f10, $f6, $f8
/* B44448 800CD2A8 C7A80050 */ lwc1 $f8, 0x50($sp)
/* B4444C 800CD2AC 24020001 */ li $v0, 1
/* B44450 800CD2B0 460A2401 */ sub.s $f16, $f4, $f10
/* B44454 800CD2B4 46128181 */ sub.s $f6, $f16, $f18
/* B44458 800CD2B8 46083103 */ div.s $f4, $f6, $f8
/* B4445C 800CD2BC 10000002 */ b .L800CD2C8
/* B44460 800CD2C0 E7040000 */ swc1 $f4, ($t8)
.L800CD2C4:
/* B44464 800CD2C4 00001025 */ move $v0, $zero
.L800CD2C8:
/* B44468 800CD2C8 8FBF0024 */ lw $ra, 0x24($sp)
/* B4446C 800CD2CC 27BD0040 */ addiu $sp, $sp, 0x40
/* B44470 800CD2D0 03E00008 */ jr $ra
/* B44474 800CD2D4 00000000 */ nop
glabel func_800CD2D8
/* B44478 800CD2D8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B4447C 800CD2DC AFBF0024 */ sw $ra, 0x24($sp)
/* B44480 800CD2E0 C4E20004 */ lwc1 $f2, 4($a3)
/* B44484 800CD2E4 3C018014 */ lui $at, %hi(D_80146510)
/* B44488 800CD2E8 C4246510 */ lwc1 $f4, %lo(D_80146510)($at)
/* B4448C 800CD2EC 46001005 */ abs.s $f0, $f2
/* B44490 800CD2F0 8FA70038 */ lw $a3, 0x38($sp)
/* B44494 800CD2F4 4604003C */ c.lt.s $f0, $f4
/* B44498 800CD2F8 C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B4449C 800CD2FC 45020004 */ bc1fl .L800CD310
/* B444A0 800CD300 44804000 */ mtc1 $zero, $f8
/* B444A4 800CD304 1000000D */ b .L800CD33C
/* B444A8 800CD308 00001025 */ move $v0, $zero
/* B444AC 800CD30C 44804000 */ mtc1 $zero, $f8
.L800CD310:
/* B444B0 800CD310 C7AA0040 */ lwc1 $f10, 0x40($sp)
/* B444B4 800CD314 E7A60010 */ swc1 $f6, 0x10($sp)
/* B444B8 800CD318 E7A2001C */ swc1 $f2, 0x1c($sp)
/* B444BC 800CD31C E7AA0018 */ swc1 $f10, 0x18($sp)
/* B444C0 800CD320 0C0332F9 */ jal func_800CCBE4
/* B444C4 800CD324 E7A80014 */ swc1 $f8, 0x14($sp)
/* B444C8 800CD328 50400004 */ beql $v0, $zero, .L800CD33C
/* B444CC 800CD32C 00001025 */ move $v0, $zero
/* B444D0 800CD330 10000002 */ b .L800CD33C
/* B444D4 800CD334 24020001 */ li $v0, 1
/* B444D8 800CD338 00001025 */ move $v0, $zero
.L800CD33C:
/* B444DC 800CD33C 8FBF0024 */ lw $ra, 0x24($sp)
/* B444E0 800CD340 27BD0028 */ addiu $sp, $sp, 0x28
/* B444E4 800CD344 03E00008 */ jr $ra
/* B444E8 800CD348 00000000 */ nop
glabel func_800CD34C
/* B444EC 800CD34C 27BDFF90 */ addiu $sp, $sp, -0x70
/* B444F0 800CD350 AFA60078 */ sw $a2, 0x78($sp)
/* B444F4 800CD354 8FAE0078 */ lw $t6, 0x78($sp)
/* B444F8 800CD358 AFBF002C */ sw $ra, 0x2c($sp)
/* B444FC 800CD35C AFA7007C */ sw $a3, 0x7c($sp)
/* B44500 800CD360 C5C40004 */ lwc1 $f4, 4($t6)
/* B44504 800CD364 8CA70008 */ lw $a3, 8($a1)
/* B44508 800CD368 8CA60004 */ lw $a2, 4($a1)
/* B4450C 800CD36C C48E0008 */ lwc1 $f14, 8($a0)
/* B44510 800CD370 C48C0004 */ lwc1 $f12, 4($a0)
/* B44514 800CD374 E7A40010 */ swc1 $f4, 0x10($sp)
/* B44518 800CD378 C5C60008 */ lwc1 $f6, 8($t6)
/* B4451C 800CD37C C7A40088 */ lwc1 $f4, 0x88($sp)
/* B44520 800CD380 C7A8007C */ lwc1 $f8, 0x7c($sp)
/* B44524 800CD384 C7AA0080 */ lwc1 $f10, 0x80($sp)
/* B44528 800CD388 AFA50074 */ sw $a1, 0x74($sp)
/* B4452C 800CD38C AFA40070 */ sw $a0, 0x70($sp)
/* B44530 800CD390 E7A60014 */ swc1 $f6, 0x14($sp)
/* B44534 800CD394 E7A40020 */ swc1 $f4, 0x20($sp)
/* B44538 800CD398 E7A80018 */ swc1 $f8, 0x18($sp)
/* B4453C 800CD39C 0C032C7E */ jal func_800CB1F8
/* B44540 800CD3A0 E7AA001C */ swc1 $f10, 0x1c($sp)
/* B44544 800CD3A4 8FA30078 */ lw $v1, 0x78($sp)
/* B44548 800CD3A8 8FA40070 */ lw $a0, 0x70($sp)
/* B4454C 800CD3AC 8FA50074 */ lw $a1, 0x74($sp)
/* B44550 800CD3B0 14400003 */ bnez $v0, .L800CD3C0
/* B44554 800CD3B4 C7AC0088 */ lwc1 $f12, 0x88($sp)
/* B44558 800CD3B8 100000A7 */ b .L800CD658
/* B4455C 800CD3BC 00001025 */ move $v0, $zero
.L800CD3C0:
/* B44560 800CD3C0 C4860004 */ lwc1 $f6, 4($a0)
/* B44564 800CD3C4 C7AA007C */ lwc1 $f10, 0x7c($sp)
/* B44568 800CD3C8 460C6402 */ mul.s $f16, $f12, $f12
/* B4456C 800CD3CC E7A60058 */ swc1 $f6, 0x58($sp)
/* B44570 800CD3D0 C4840008 */ lwc1 $f4, 8($a0)
/* B44574 800CD3D4 C7A80058 */ lwc1 $f8, 0x58($sp)
/* B44578 800CD3D8 E7A40054 */ swc1 $f4, 0x54($sp)
/* B4457C 800CD3DC 460A4001 */ sub.s $f0, $f8, $f10
/* B44580 800CD3E0 C7A80080 */ lwc1 $f8, 0x80($sp)
/* B44584 800CD3E4 C7A60054 */ lwc1 $f6, 0x54($sp)
/* B44588 800CD3E8 46000102 */ mul.s $f4, $f0, $f0
/* B4458C 800CD3EC 46083081 */ sub.s $f2, $f6, $f8
/* B44590 800CD3F0 46021182 */ mul.s $f6, $f2, $f2
/* B44594 800CD3F4 46062100 */ add.s $f4, $f4, $f6
/* B44598 800CD3F8 4610203C */ c.lt.s $f4, $f16
/* B4459C 800CD3FC 00000000 */ nop
/* B445A0 800CD400 4501001D */ bc1t .L800CD478
/* B445A4 800CD404 00000000 */ nop
/* B445A8 800CD408 C4A60008 */ lwc1 $f6, 8($a1)
/* B445AC 800CD40C C4B20004 */ lwc1 $f18, 4($a1)
/* B445B0 800CD410 E7B00048 */ swc1 $f16, 0x48($sp)
/* B445B4 800CD414 E7A6004C */ swc1 $f6, 0x4c($sp)
/* B445B8 800CD418 460A9301 */ sub.s $f12, $f18, $f10
/* B445BC 800CD41C C7A4004C */ lwc1 $f4, 0x4c($sp)
/* B445C0 800CD420 E7B20050 */ swc1 $f18, 0x50($sp)
/* B445C4 800CD424 46082381 */ sub.s $f14, $f4, $f8
/* B445C8 800CD428 460C6182 */ mul.s $f6, $f12, $f12
/* B445CC 800CD42C 00000000 */ nop
/* B445D0 800CD430 460E7102 */ mul.s $f4, $f14, $f14
/* B445D4 800CD434 46043180 */ add.s $f6, $f6, $f4
/* B445D8 800CD438 4610303C */ c.lt.s $f6, $f16
/* B445DC 800CD43C 00000000 */ nop
/* B445E0 800CD440 4501000D */ bc1t .L800CD478
/* B445E4 800CD444 00000000 */ nop
/* B445E8 800CD448 C4640004 */ lwc1 $f4, 4($v1)
/* B445EC 800CD44C C4660008 */ lwc1 $f6, 8($v1)
/* B445F0 800CD450 460A2401 */ sub.s $f16, $f4, $f10
/* B445F4 800CD454 46083481 */ sub.s $f18, $f6, $f8
/* B445F8 800CD458 46108102 */ mul.s $f4, $f16, $f16
/* B445FC 800CD45C C7A80048 */ lwc1 $f8, 0x48($sp)
/* B44600 800CD460 46129282 */ mul.s $f10, $f18, $f18
/* B44604 800CD464 460A2180 */ add.s $f6, $f4, $f10
/* B44608 800CD468 4608303C */ c.lt.s $f6, $f8
/* B4460C 800CD46C 00000000 */ nop
/* B44610 800CD470 45000003 */ bc1f .L800CD480
/* B44614 800CD474 00000000 */ nop
.L800CD478:
/* B44618 800CD478 10000077 */ b .L800CD658
/* B4461C 800CD47C 24020001 */ li $v0, 1
.L800CD480:
/* B44620 800CD480 460E0102 */ mul.s $f4, $f0, $f14
/* B44624 800CD484 00000000 */ nop
/* B44628 800CD488 460C1282 */ mul.s $f10, $f2, $f12
/* B4462C 800CD48C 460A2181 */ sub.s $f6, $f4, $f10
/* B44630 800CD490 46126202 */ mul.s $f8, $f12, $f18
/* B44634 800CD494 00000000 */ nop
/* B44638 800CD498 46107102 */ mul.s $f4, $f14, $f16
/* B4463C 800CD49C E7A6006C */ swc1 $f6, 0x6c($sp)
/* B44640 800CD4A0 46003306 */ mov.s $f12, $f6
/* B44644 800CD4A4 46044281 */ sub.s $f10, $f8, $f4
/* B44648 800CD4A8 46028202 */ mul.s $f8, $f16, $f2
/* B4464C 800CD4AC C7A20084 */ lwc1 $f2, 0x84($sp)
/* B44650 800CD4B0 46009102 */ mul.s $f4, $f18, $f0
/* B44654 800CD4B4 E7AA0068 */ swc1 $f10, 0x68($sp)
/* B44658 800CD4B8 4602303E */ c.le.s $f6, $f2
/* B4465C 800CD4BC 46005386 */ mov.s $f14, $f10
/* B44660 800CD4C0 46044201 */ sub.s $f8, $f8, $f4
/* B44664 800CD4C4 E7A80064 */ swc1 $f8, 0x64($sp)
/* B44668 800CD4C8 45000009 */ bc1f .L800CD4F0
/* B4466C 800CD4CC 46004406 */ mov.s $f16, $f8
/* B44670 800CD4D0 4602503E */ c.le.s $f10, $f2
/* B44674 800CD4D4 00000000 */ nop
/* B44678 800CD4D8 45020006 */ bc1fl .L800CD4F4
/* B4467C 800CD4DC 46001007 */ neg.s $f0, $f2
/* B44680 800CD4E0 4602403E */ c.le.s $f8, $f2
/* B44684 800CD4E4 00000000 */ nop
/* B44688 800CD4E8 4501000E */ bc1t .L800CD524
/* B4468C 800CD4EC 00000000 */ nop
.L800CD4F0:
/* B44690 800CD4F0 46001007 */ neg.s $f0, $f2
.L800CD4F4:
/* B44694 800CD4F4 460C003E */ c.le.s $f0, $f12
/* B44698 800CD4F8 00000000 */ nop
/* B4469C 800CD4FC 4502000C */ bc1fl .L800CD530
/* B446A0 800CD500 C7A0008C */ lwc1 $f0, 0x8c($sp)
/* B446A4 800CD504 460E003E */ c.le.s $f0, $f14
/* B446A8 800CD508 00000000 */ nop
/* B446AC 800CD50C 45020008 */ bc1fl .L800CD530
/* B446B0 800CD510 C7A0008C */ lwc1 $f0, 0x8c($sp)
/* B446B4 800CD514 4610003E */ c.le.s $f0, $f16
/* B446B8 800CD518 00000000 */ nop
/* B446BC 800CD51C 45020004 */ bc1fl .L800CD530
/* B446C0 800CD520 C7A0008C */ lwc1 $f0, 0x8c($sp)
.L800CD524:
/* B446C4 800CD524 1000004C */ b .L800CD658
/* B446C8 800CD528 24020001 */ li $v0, 1
/* B446CC 800CD52C C7A0008C */ lwc1 $f0, 0x8c($sp)
.L800CD530:
/* B446D0 800CD530 3C013F00 */ li $at, 0x3F000000 # 0.000000
/* B446D4 800CD534 44812000 */ mtc1 $at, $f4
/* B446D8 800CD538 46000005 */ abs.s $f0, $f0
/* B446DC 800CD53C C7AC007C */ lwc1 $f12, 0x7c($sp)
/* B446E0 800CD540 4600203C */ c.lt.s $f4, $f0
/* B446E4 800CD544 C7AE0080 */ lwc1 $f14, 0x80($sp)
/* B446E8 800CD548 8FA60058 */ lw $a2, 0x58($sp)
/* B446EC 800CD54C 8FA70054 */ lw $a3, 0x54($sp)
/* B446F0 800CD550 45000040 */ bc1f .L800CD654
/* B446F4 800CD554 C7A60050 */ lwc1 $f6, 0x50($sp)
/* B446F8 800CD558 C7AA004C */ lwc1 $f10, 0x4c($sp)
/* B446FC 800CD55C 27AF0060 */ addiu $t7, $sp, 0x60
/* B44700 800CD560 AFAF0018 */ sw $t7, 0x18($sp)
/* B44704 800CD564 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44708 800CD568 AFA40070 */ sw $a0, 0x70($sp)
/* B4470C 800CD56C AFA50074 */ sw $a1, 0x74($sp)
/* B44710 800CD570 0C03392E */ jal func_800CE4B8
/* B44714 800CD574 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B44718 800CD578 8FA30078 */ lw $v1, 0x78($sp)
/* B4471C 800CD57C 8FA40070 */ lw $a0, 0x70($sp)
/* B44720 800CD580 10400009 */ beqz $v0, .L800CD5A8
/* B44724 800CD584 8FA50074 */ lw $a1, 0x74($sp)
/* B44728 800CD588 C7A80060 */ lwc1 $f8, 0x60($sp)
/* B4472C 800CD58C C7A40048 */ lwc1 $f4, 0x48($sp)
/* B44730 800CD590 4604403C */ c.lt.s $f8, $f4
/* B44734 800CD594 00000000 */ nop
/* B44738 800CD598 45020004 */ bc1fl .L800CD5AC
/* B4473C 800CD59C C4660004 */ lwc1 $f6, 4($v1)
/* B44740 800CD5A0 1000002D */ b .L800CD658
/* B44744 800CD5A4 24020001 */ li $v0, 1
.L800CD5A8:
/* B44748 800CD5A8 C4660004 */ lwc1 $f6, 4($v1)
.L800CD5AC:
/* B4474C 800CD5AC 8CA60004 */ lw $a2, 4($a1)
/* B44750 800CD5B0 8CA70008 */ lw $a3, 8($a1)
/* B44754 800CD5B4 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44758 800CD5B8 C46A0008 */ lwc1 $f10, 8($v1)
/* B4475C 800CD5BC 27B80060 */ addiu $t8, $sp, 0x60
/* B44760 800CD5C0 AFB80018 */ sw $t8, 0x18($sp)
/* B44764 800CD5C4 AFA40070 */ sw $a0, 0x70($sp)
/* B44768 800CD5C8 C7AC007C */ lwc1 $f12, 0x7c($sp)
/* B4476C 800CD5CC C7AE0080 */ lwc1 $f14, 0x80($sp)
/* B44770 800CD5D0 0C03392E */ jal func_800CE4B8
/* B44774 800CD5D4 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B44778 800CD5D8 8FA30078 */ lw $v1, 0x78($sp)
/* B4477C 800CD5DC 10400009 */ beqz $v0, .L800CD604
/* B44780 800CD5E0 8FA40070 */ lw $a0, 0x70($sp)
/* B44784 800CD5E4 C7A80060 */ lwc1 $f8, 0x60($sp)
/* B44788 800CD5E8 C7A40048 */ lwc1 $f4, 0x48($sp)
/* B4478C 800CD5EC 4604403C */ c.lt.s $f8, $f4
/* B44790 800CD5F0 00000000 */ nop
/* B44794 800CD5F4 45020004 */ bc1fl .L800CD608
/* B44798 800CD5F8 C4860004 */ lwc1 $f6, 4($a0)
/* B4479C 800CD5FC 10000016 */ b .L800CD658
/* B447A0 800CD600 24020001 */ li $v0, 1
.L800CD604:
/* B447A4 800CD604 C4860004 */ lwc1 $f6, 4($a0)
.L800CD608:
/* B447A8 800CD608 8C660004 */ lw $a2, 4($v1)
/* B447AC 800CD60C 8C670008 */ lw $a3, 8($v1)
/* B447B0 800CD610 E7A60010 */ swc1 $f6, 0x10($sp)
/* B447B4 800CD614 C48A0008 */ lwc1 $f10, 8($a0)
/* B447B8 800CD618 27B90060 */ addiu $t9, $sp, 0x60
/* B447BC 800CD61C AFB90018 */ sw $t9, 0x18($sp)
/* B447C0 800CD620 C7AC007C */ lwc1 $f12, 0x7c($sp)
/* B447C4 800CD624 C7AE0080 */ lwc1 $f14, 0x80($sp)
/* B447C8 800CD628 0C03392E */ jal func_800CE4B8
/* B447CC 800CD62C E7AA0014 */ swc1 $f10, 0x14($sp)
/* B447D0 800CD630 10400008 */ beqz $v0, .L800CD654
/* B447D4 800CD634 C7A80060 */ lwc1 $f8, 0x60($sp)
/* B447D8 800CD638 C7A40048 */ lwc1 $f4, 0x48($sp)
/* B447DC 800CD63C 4604403C */ c.lt.s $f8, $f4
/* B447E0 800CD640 00000000 */ nop
/* B447E4 800CD644 45020004 */ bc1fl .L800CD658
/* B447E8 800CD648 00001025 */ move $v0, $zero
/* B447EC 800CD64C 10000002 */ b .L800CD658
/* B447F0 800CD650 24020001 */ li $v0, 1
.L800CD654:
/* B447F4 800CD654 00001025 */ move $v0, $zero
.L800CD658:
/* B447F8 800CD658 8FBF002C */ lw $ra, 0x2c($sp)
/* B447FC 800CD65C 27BD0070 */ addiu $sp, $sp, 0x70
/* B44800 800CD660 03E00008 */ jr $ra
/* B44804 800CD664 00000000 */ nop
glabel func_800CD668
/* B44808 800CD668 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B4480C 800CD66C 44876000 */ mtc1 $a3, $f12
/* B44810 800CD670 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B44814 800CD674 44814000 */ mtc1 $at, $f8
/* B44818 800CD678 C7A40038 */ lwc1 $f4, 0x38($sp)
/* B4481C 800CD67C C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B44820 800CD680 C7AA0040 */ lwc1 $f10, 0x40($sp)
/* B44824 800CD684 AFBF0024 */ sw $ra, 0x24($sp)
/* B44828 800CD688 44076000 */ mfc1 $a3, $f12
/* B4482C 800CD68C E7A40010 */ swc1 $f4, 0x10($sp)
/* B44830 800CD690 E7A80018 */ swc1 $f8, 0x18($sp)
/* B44834 800CD694 E7A60014 */ swc1 $f6, 0x14($sp)
/* B44838 800CD698 0C0334D3 */ jal func_800CD34C
/* B4483C 800CD69C E7AA001C */ swc1 $f10, 0x1c($sp)
/* B44840 800CD6A0 8FBF0024 */ lw $ra, 0x24($sp)
/* B44844 800CD6A4 27BD0028 */ addiu $sp, $sp, 0x28
/* B44848 800CD6A8 03E00008 */ jr $ra
/* B4484C 800CD6AC 00000000 */ nop
glabel func_800CD6B0
/* B44850 800CD6B0 44876000 */ mtc1 $a3, $f12
/* B44854 800CD6B4 3C018014 */ lui $at, %hi(D_80146514)
/* B44858 800CD6B8 C4246514 */ lwc1 $f4, %lo(D_80146514)($at)
/* B4485C 800CD6BC 46006005 */ abs.s $f0, $f12
/* B44860 800CD6C0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B44864 800CD6C4 4604003C */ c.lt.s $f0, $f4
/* B44868 800CD6C8 AFBF0024 */ sw $ra, 0x24($sp)
/* B4486C 800CD6CC 8FA70044 */ lw $a3, 0x44($sp)
/* B44870 800CD6D0 C7A60048 */ lwc1 $f6, 0x48($sp)
/* B44874 800CD6D4 45000003 */ bc1f .L800CD6E4
/* B44878 800CD6D8 3C014396 */ li $at, 0x43960000 # 0.000000
/* B4487C 800CD6DC 1000001C */ b .L800CD750
/* B44880 800CD6E0 00001025 */ move $v0, $zero
.L800CD6E4:
/* B44884 800CD6E4 44814000 */ mtc1 $at, $f8
/* B44888 800CD6E8 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B4488C 800CD6EC 44815000 */ mtc1 $at, $f10
/* B44890 800CD6F0 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44894 800CD6F4 E7AC001C */ swc1 $f12, 0x1c($sp)
/* B44898 800CD6F8 E7AC0034 */ swc1 $f12, 0x34($sp)
/* B4489C 800CD6FC E7A80014 */ swc1 $f8, 0x14($sp)
/* B448A0 800CD700 0C0334D3 */ jal func_800CD34C
/* B448A4 800CD704 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B448A8 800CD708 10400010 */ beqz $v0, .L800CD74C
/* B448AC 800CD70C C7AC0034 */ lwc1 $f12, 0x34($sp)
/* B448B0 800CD710 C7B00038 */ lwc1 $f16, 0x38($sp)
/* B448B4 800CD714 C7A40044 */ lwc1 $f4, 0x44($sp)
/* B448B8 800CD718 C7A8003C */ lwc1 $f8, 0x3c($sp)
/* B448BC 800CD71C 46008487 */ neg.s $f18, $f16
/* B448C0 800CD720 C7AA0048 */ lwc1 $f10, 0x48($sp)
/* B448C4 800CD724 46049182 */ mul.s $f6, $f18, $f4
/* B448C8 800CD728 C7A40040 */ lwc1 $f4, 0x40($sp)
/* B448CC 800CD72C 8FAE004C */ lw $t6, 0x4c($sp)
/* B448D0 800CD730 460A4402 */ mul.s $f16, $f8, $f10
/* B448D4 800CD734 24020001 */ li $v0, 1
/* B448D8 800CD738 46103481 */ sub.s $f18, $f6, $f16
/* B448DC 800CD73C 46049201 */ sub.s $f8, $f18, $f4
/* B448E0 800CD740 460C4283 */ div.s $f10, $f8, $f12
/* B448E4 800CD744 10000002 */ b .L800CD750
/* B448E8 800CD748 E5CA0000 */ swc1 $f10, ($t6)
.L800CD74C:
/* B448EC 800CD74C 00001025 */ move $v0, $zero
.L800CD750:
/* B448F0 800CD750 8FBF0024 */ lw $ra, 0x24($sp)
/* B448F4 800CD754 27BD0028 */ addiu $sp, $sp, 0x28
/* B448F8 800CD758 03E00008 */ jr $ra
/* B448FC 800CD75C 00000000 */ nop
glabel func_800CD760
/* B44900 800CD760 44876000 */ mtc1 $a3, $f12
/* B44904 800CD764 3C018014 */ lui $at, %hi(D_80146518)
/* B44908 800CD768 C4246518 */ lwc1 $f4, %lo(D_80146518)($at)
/* B4490C 800CD76C 46006005 */ abs.s $f0, $f12
/* B44910 800CD770 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B44914 800CD774 4604003C */ c.lt.s $f0, $f4
/* B44918 800CD778 AFBF0024 */ sw $ra, 0x24($sp)
/* B4491C 800CD77C 8FA70038 */ lw $a3, 0x38($sp)
/* B44920 800CD780 C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B44924 800CD784 45000003 */ bc1f .L800CD794
/* B44928 800CD788 3C014396 */ li $at, 0x43960000 # 0.000000
/* B4492C 800CD78C 1000000E */ b .L800CD7C8
/* B44930 800CD790 00001025 */ move $v0, $zero
.L800CD794:
/* B44934 800CD794 44814000 */ mtc1 $at, $f8
/* B44938 800CD798 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B4493C 800CD79C 44815000 */ mtc1 $at, $f10
/* B44940 800CD7A0 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44944 800CD7A4 E7AC001C */ swc1 $f12, 0x1c($sp)
/* B44948 800CD7A8 E7A80014 */ swc1 $f8, 0x14($sp)
/* B4494C 800CD7AC 0C0334D3 */ jal func_800CD34C
/* B44950 800CD7B0 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B44954 800CD7B4 50400004 */ beql $v0, $zero, .L800CD7C8
/* B44958 800CD7B8 00001025 */ move $v0, $zero
/* B4495C 800CD7BC 10000002 */ b .L800CD7C8
/* B44960 800CD7C0 24020001 */ li $v0, 1
/* B44964 800CD7C4 00001025 */ move $v0, $zero
.L800CD7C8:
/* B44968 800CD7C8 8FBF0024 */ lw $ra, 0x24($sp)
/* B4496C 800CD7CC 27BD0028 */ addiu $sp, $sp, 0x28
/* B44970 800CD7D0 03E00008 */ jr $ra
/* B44974 800CD7D4 00000000 */ nop
glabel func_800CD7D8
/* B44978 800CD7D8 27BDFFC8 */ addiu $sp, $sp, -0x38
/* B4497C 800CD7DC F7B40020 */ sdc1 $f20, 0x20($sp)
/* B44980 800CD7E0 4487A000 */ mtc1 $a3, $f20
/* B44984 800CD7E4 3C018014 */ lui $at, %hi(D_8014651C)
/* B44988 800CD7E8 C424651C */ lwc1 $f4, %lo(D_8014651C)($at)
/* B4498C 800CD7EC 4600A005 */ abs.s $f0, $f20
/* B44990 800CD7F0 AFBF002C */ sw $ra, 0x2c($sp)
/* B44994 800CD7F4 4604003C */ c.lt.s $f0, $f4
/* B44998 800CD7F8 AFA40038 */ sw $a0, 0x38($sp)
/* B4499C 800CD7FC AFA5003C */ sw $a1, 0x3c($sp)
/* B449A0 800CD800 AFA60040 */ sw $a2, 0x40($sp)
/* B449A4 800CD804 45000003 */ bc1f .L800CD814
/* B449A8 800CD808 C7A60060 */ lwc1 $f6, 0x60($sp)
/* B449AC 800CD80C 1000004E */ b .L800CD948
/* B449B0 800CD810 00001025 */ move $v0, $zero
.L800CD814:
/* B449B4 800CD814 C7A80054 */ lwc1 $f8, 0x54($sp)
/* B449B8 800CD818 3C018017 */ lui $at, %hi(D_8016A698)
/* B449BC 800CD81C C7AA0058 */ lwc1 $f10, 0x58($sp)
/* B449C0 800CD820 E426A698 */ swc1 $f6, %lo(D_8016A698)($at)
/* B449C4 800CD824 3C0E8017 */ lui $t6, %hi(D_8016A698) # $t6, 0x8017
/* B449C8 800CD828 E428A69C */ swc1 $f8, %lo(D_8016A69C)($at)
/* B449CC 800CD82C 3C018017 */ lui $at, %hi(D_8016A6A0)
/* B449D0 800CD830 25CEA698 */ addiu $t6, %lo(D_8016A698) # addiu $t6, $t6, -0x5968
/* B449D4 800CD834 AFAE0010 */ sw $t6, 0x10($sp)
/* B449D8 800CD838 4600A306 */ mov.s $f12, $f20
/* B449DC 800CD83C C7AE0048 */ lwc1 $f14, 0x48($sp)
/* B449E0 800CD840 8FA6004C */ lw $a2, 0x4c($sp)
/* B449E4 800CD844 8FA70050 */ lw $a3, 0x50($sp)
/* B449E8 800CD848 0C033272 */ jal func_800CC9C8
/* B449EC 800CD84C E42AA6A0 */ swc1 $f10, %lo(D_8016A6A0)($at)
/* B449F0 800CD850 C7B00064 */ lwc1 $f16, 0x64($sp)
/* B449F4 800CD854 3C0F8017 */ lui $t7, %hi(D_8016A698) # $t7, 0x8017
/* B449F8 800CD858 3C018017 */ lui $at, %hi(D_8016A698)
/* B449FC 800CD85C 25EFA698 */ addiu $t7, %lo(D_8016A698) # addiu $t7, $t7, -0x5968
/* B44A00 800CD860 AFAF0010 */ sw $t7, 0x10($sp)
/* B44A04 800CD864 4600A306 */ mov.s $f12, $f20
/* B44A08 800CD868 C7AE0048 */ lwc1 $f14, 0x48($sp)
/* B44A0C 800CD86C 8FA6004C */ lw $a2, 0x4c($sp)
/* B44A10 800CD870 8FA70050 */ lw $a3, 0x50($sp)
/* B44A14 800CD874 E7A00034 */ swc1 $f0, 0x34($sp)
/* B44A18 800CD878 0C033272 */ jal func_800CC9C8
/* B44A1C 800CD87C E430A698 */ swc1 $f16, %lo(D_8016A698)($at)
/* B44A20 800CD880 C7A20034 */ lwc1 $f2, 0x34($sp)
/* B44A24 800CD884 44806000 */ mtc1 $zero, $f12
/* B44A28 800CD888 00000000 */ nop
/* B44A2C 800CD88C 4602603C */ c.lt.s $f12, $f2
/* B44A30 800CD890 00000000 */ nop
/* B44A34 800CD894 45020006 */ bc1fl .L800CD8B0
/* B44A38 800CD898 460C103C */ c.lt.s $f2, $f12
/* B44A3C 800CD89C 4600603C */ c.lt.s $f12, $f0
/* B44A40 800CD8A0 00000000 */ nop
/* B44A44 800CD8A4 4501000B */ bc1t .L800CD8D4
/* B44A48 800CD8A8 00000000 */ nop
/* B44A4C 800CD8AC 460C103C */ c.lt.s $f2, $f12
.L800CD8B0:
/* B44A50 800CD8B0 8FA40038 */ lw $a0, 0x38($sp)
/* B44A54 800CD8B4 8FA5003C */ lw $a1, 0x3c($sp)
/* B44A58 800CD8B8 8FA60040 */ lw $a2, 0x40($sp)
/* B44A5C 800CD8BC 45000007 */ bc1f .L800CD8DC
/* B44A60 800CD8C0 8FA70054 */ lw $a3, 0x54($sp)
/* B44A64 800CD8C4 460C003C */ c.lt.s $f0, $f12
/* B44A68 800CD8C8 00000000 */ nop
/* B44A6C 800CD8CC 45020004 */ bc1fl .L800CD8E0
/* B44A70 800CD8D0 3C014396 */ lui $at, 0x4396
.L800CD8D4:
/* B44A74 800CD8D4 1000001C */ b .L800CD948
/* B44A78 800CD8D8 00001025 */ move $v0, $zero
.L800CD8DC:
/* B44A7C 800CD8DC 3C014396 */ li $at, 0x43960000 # 0.000000
.L800CD8E0:
/* B44A80 800CD8E0 44812000 */ mtc1 $at, $f4
/* B44A84 800CD8E4 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B44A88 800CD8E8 44813000 */ mtc1 $at, $f6
/* B44A8C 800CD8EC C7B20058 */ lwc1 $f18, 0x58($sp)
/* B44A90 800CD8F0 E7B4001C */ swc1 $f20, 0x1c($sp)
/* B44A94 800CD8F4 E7A40014 */ swc1 $f4, 0x14($sp)
/* B44A98 800CD8F8 E7B20010 */ swc1 $f18, 0x10($sp)
/* B44A9C 800CD8FC 0C0334D3 */ jal func_800CD34C
/* B44AA0 800CD900 E7A60018 */ swc1 $f6, 0x18($sp)
/* B44AA4 800CD904 1040000F */ beqz $v0, .L800CD944
/* B44AA8 800CD908 C7A80048 */ lwc1 $f8, 0x48($sp)
/* B44AAC 800CD90C C7B00054 */ lwc1 $f16, 0x54($sp)
/* B44AB0 800CD910 46004287 */ neg.s $f10, $f8
/* B44AB4 800CD914 C7A4004C */ lwc1 $f4, 0x4c($sp)
/* B44AB8 800CD918 46105482 */ mul.s $f18, $f10, $f16
/* B44ABC 800CD91C C7A60058 */ lwc1 $f6, 0x58($sp)
/* B44AC0 800CD920 C7B00050 */ lwc1 $f16, 0x50($sp)
/* B44AC4 800CD924 8FB8005C */ lw $t8, 0x5c($sp)
/* B44AC8 800CD928 46062202 */ mul.s $f8, $f4, $f6
/* B44ACC 800CD92C 24020001 */ li $v0, 1
/* B44AD0 800CD930 46089281 */ sub.s $f10, $f18, $f8
/* B44AD4 800CD934 46105101 */ sub.s $f4, $f10, $f16
/* B44AD8 800CD938 46142183 */ div.s $f6, $f4, $f20
/* B44ADC 800CD93C 10000002 */ b .L800CD948
/* B44AE0 800CD940 E7060000 */ swc1 $f6, ($t8)
.L800CD944:
/* B44AE4 800CD944 00001025 */ move $v0, $zero
.L800CD948:
/* B44AE8 800CD948 8FBF002C */ lw $ra, 0x2c($sp)
/* B44AEC 800CD94C D7B40020 */ ldc1 $f20, 0x20($sp)
/* B44AF0 800CD950 27BD0038 */ addiu $sp, $sp, 0x38
/* B44AF4 800CD954 03E00008 */ jr $ra
/* B44AF8 800CD958 00000000 */ nop
glabel func_800CD95C
/* B44AFC 800CD95C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B44B00 800CD960 AFBF0024 */ sw $ra, 0x24($sp)
/* B44B04 800CD964 C4E20000 */ lwc1 $f2, ($a3)
/* B44B08 800CD968 3C018014 */ lui $at, %hi(D_80146520)
/* B44B0C 800CD96C C4246520 */ lwc1 $f4, %lo(D_80146520)($at)
/* B44B10 800CD970 46001005 */ abs.s $f0, $f2
/* B44B14 800CD974 8FA70038 */ lw $a3, 0x38($sp)
/* B44B18 800CD978 4604003C */ c.lt.s $f0, $f4
/* B44B1C 800CD97C C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B44B20 800CD980 45020004 */ bc1fl .L800CD994
/* B44B24 800CD984 44804000 */ mtc1 $zero, $f8
/* B44B28 800CD988 1000000D */ b .L800CD9C0
/* B44B2C 800CD98C 00001025 */ move $v0, $zero
/* B44B30 800CD990 44804000 */ mtc1 $zero, $f8
.L800CD994:
/* B44B34 800CD994 C7AA0040 */ lwc1 $f10, 0x40($sp)
/* B44B38 800CD998 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44B3C 800CD99C E7A2001C */ swc1 $f2, 0x1c($sp)
/* B44B40 800CD9A0 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B44B44 800CD9A4 0C0334D3 */ jal func_800CD34C
/* B44B48 800CD9A8 E7A80014 */ swc1 $f8, 0x14($sp)
/* B44B4C 800CD9AC 50400004 */ beql $v0, $zero, .L800CD9C0
/* B44B50 800CD9B0 00001025 */ move $v0, $zero
/* B44B54 800CD9B4 10000002 */ b .L800CD9C0
/* B44B58 800CD9B8 24020001 */ li $v0, 1
/* B44B5C 800CD9BC 00001025 */ move $v0, $zero
.L800CD9C0:
/* B44B60 800CD9C0 8FBF0024 */ lw $ra, 0x24($sp)
/* B44B64 800CD9C4 27BD0028 */ addiu $sp, $sp, 0x28
/* B44B68 800CD9C8 03E00008 */ jr $ra
/* B44B6C 800CD9CC 00000000 */ nop
glabel func_800CD9D0
/* B44B70 800CD9D0 27BDFF78 */ addiu $sp, $sp, -0x88
/* B44B74 800CD9D4 F7B40028 */ sdc1 $f20, 0x28($sp)
/* B44B78 800CD9D8 AFA60090 */ sw $a2, 0x90($sp)
/* B44B7C 800CD9DC 8FAE0090 */ lw $t6, 0x90($sp)
/* B44B80 800CD9E0 AFBF003C */ sw $ra, 0x3c($sp)
/* B44B84 800CD9E4 F7B60030 */ sdc1 $f22, 0x30($sp)
/* B44B88 800CD9E8 C5C40000 */ lwc1 $f4, ($t6)
/* B44B8C 800CD9EC 4487A000 */ mtc1 $a3, $f20
/* B44B90 800CD9F0 8CA70004 */ lw $a3, 4($a1)
/* B44B94 800CD9F4 8CA60000 */ lw $a2, ($a1)
/* B44B98 800CD9F8 C48E0004 */ lwc1 $f14, 4($a0)
/* B44B9C 800CD9FC C48C0000 */ lwc1 $f12, ($a0)
/* B44BA0 800CDA00 E7A40010 */ swc1 $f4, 0x10($sp)
/* B44BA4 800CDA04 C5C60004 */ lwc1 $f6, 4($t6)
/* B44BA8 800CDA08 C7B60098 */ lwc1 $f22, 0x98($sp)
/* B44BAC 800CDA0C C7A800A0 */ lwc1 $f8, 0xa0($sp)
/* B44BB0 800CDA10 AFA5008C */ sw $a1, 0x8c($sp)
/* B44BB4 800CDA14 AFA40088 */ sw $a0, 0x88($sp)
/* B44BB8 800CDA18 E7B40018 */ swc1 $f20, 0x18($sp)
/* B44BBC 800CDA1C E7A60014 */ swc1 $f6, 0x14($sp)
/* B44BC0 800CDA20 E7B6001C */ swc1 $f22, 0x1c($sp)
/* B44BC4 800CDA24 0C032C7E */ jal func_800CB1F8
/* B44BC8 800CDA28 E7A80020 */ swc1 $f8, 0x20($sp)
/* B44BCC 800CDA2C 8FA30090 */ lw $v1, 0x90($sp)
/* B44BD0 800CDA30 8FA40088 */ lw $a0, 0x88($sp)
/* B44BD4 800CDA34 8FA5008C */ lw $a1, 0x8c($sp)
/* B44BD8 800CDA38 14400003 */ bnez $v0, .L800CDA48
/* B44BDC 800CDA3C C7B200A0 */ lwc1 $f18, 0xa0($sp)
/* B44BE0 800CDA40 100000B0 */ b .L800CDD04
/* B44BE4 800CDA44 00001025 */ move $v0, $zero
.L800CDA48:
/* B44BE8 800CDA48 C48E0000 */ lwc1 $f14, ($a0)
/* B44BEC 800CDA4C C4900004 */ lwc1 $f16, 4($a0)
/* B44BF0 800CDA50 46129302 */ mul.s $f12, $f18, $f18
/* B44BF4 800CDA54 460EA001 */ sub.s $f0, $f20, $f14
/* B44BF8 800CDA58 4610B081 */ sub.s $f2, $f22, $f16
/* B44BFC 800CDA5C 46000282 */ mul.s $f10, $f0, $f0
/* B44C00 800CDA60 00000000 */ nop
/* B44C04 800CDA64 46021102 */ mul.s $f4, $f2, $f2
/* B44C08 800CDA68 46045180 */ add.s $f6, $f10, $f4
/* B44C0C 800CDA6C 460C303C */ c.lt.s $f6, $f12
/* B44C10 800CDA70 00000000 */ nop
/* B44C14 800CDA74 45010022 */ bc1t .L800CDB00
/* B44C18 800CDA78 00000000 */ nop
/* B44C1C 800CDA7C C4A80004 */ lwc1 $f8, 4($a1)
/* B44C20 800CDA80 C4B20000 */ lwc1 $f18, ($a1)
/* B44C24 800CDA84 E7B0006C */ swc1 $f16, 0x6c($sp)
/* B44C28 800CDA88 E7A80064 */ swc1 $f8, 0x64($sp)
/* B44C2C 800CDA8C 4612A001 */ sub.s $f0, $f20, $f18
/* B44C30 800CDA90 C7AA0064 */ lwc1 $f10, 0x64($sp)
/* B44C34 800CDA94 E7AE0070 */ swc1 $f14, 0x70($sp)
/* B44C38 800CDA98 460AB081 */ sub.s $f2, $f22, $f10
/* B44C3C 800CDA9C 46000102 */ mul.s $f4, $f0, $f0
/* B44C40 800CDAA0 00000000 */ nop
/* B44C44 800CDAA4 46021182 */ mul.s $f6, $f2, $f2
/* B44C48 800CDAA8 46062200 */ add.s $f8, $f4, $f6
/* B44C4C 800CDAAC 460C403C */ c.lt.s $f8, $f12
/* B44C50 800CDAB0 00000000 */ nop
/* B44C54 800CDAB4 45010012 */ bc1t .L800CDB00
/* B44C58 800CDAB8 00000000 */ nop
/* B44C5C 800CDABC C46E0000 */ lwc1 $f14, ($v1)
/* B44C60 800CDAC0 C4700004 */ lwc1 $f16, 4($v1)
/* B44C64 800CDAC4 E7B20068 */ swc1 $f18, 0x68($sp)
/* B44C68 800CDAC8 460EA001 */ sub.s $f0, $f20, $f14
/* B44C6C 800CDACC E7AC0058 */ swc1 $f12, 0x58($sp)
/* B44C70 800CDAD0 C7A80070 */ lwc1 $f8, 0x70($sp)
/* B44C74 800CDAD4 4610B081 */ sub.s $f2, $f22, $f16
/* B44C78 800CDAD8 46000282 */ mul.s $f10, $f0, $f0
/* B44C7C 800CDADC E7AE0060 */ swc1 $f14, 0x60($sp)
/* B44C80 800CDAE0 E7B0005C */ swc1 $f16, 0x5c($sp)
/* B44C84 800CDAE4 46021102 */ mul.s $f4, $f2, $f2
/* B44C88 800CDAE8 46045180 */ add.s $f6, $f10, $f4
/* B44C8C 800CDAEC C7AA0064 */ lwc1 $f10, 0x64($sp)
/* B44C90 800CDAF0 460C303C */ c.lt.s $f6, $f12
/* B44C94 800CDAF4 00000000 */ nop
/* B44C98 800CDAF8 45020004 */ bc1fl .L800CDB0C
/* B44C9C 800CDAFC 46144001 */ sub.s $f0, $f8, $f20
.L800CDB00:
/* B44CA0 800CDB00 10000080 */ b .L800CDD04
/* B44CA4 800CDB04 24020001 */ li $v0, 1
/* B44CA8 800CDB08 46144001 */ sub.s $f0, $f8, $f20
.L800CDB0C:
/* B44CAC 800CDB0C C7A4006C */ lwc1 $f4, 0x6c($sp)
/* B44CB0 800CDB10 C7A60068 */ lwc1 $f6, 0x68($sp)
/* B44CB4 800CDB14 46165081 */ sub.s $f2, $f10, $f22
/* B44CB8 800CDB18 46162301 */ sub.s $f12, $f4, $f22
/* B44CBC 800CDB1C 46020202 */ mul.s $f8, $f0, $f2
/* B44CC0 800CDB20 46143381 */ sub.s $f14, $f6, $f20
/* B44CC4 800CDB24 C7A6005C */ lwc1 $f6, 0x5c($sp)
/* B44CC8 800CDB28 460E6282 */ mul.s $f10, $f12, $f14
/* B44CCC 800CDB2C 46163401 */ sub.s $f16, $f6, $f22
/* B44CD0 800CDB30 460A4101 */ sub.s $f4, $f8, $f10
/* B44CD4 800CDB34 C7A80060 */ lwc1 $f8, 0x60($sp)
/* B44CD8 800CDB38 46107282 */ mul.s $f10, $f14, $f16
/* B44CDC 800CDB3C 46144481 */ sub.s $f18, $f8, $f20
/* B44CE0 800CDB40 E7A40084 */ swc1 $f4, 0x84($sp)
/* B44CE4 800CDB44 46121182 */ mul.s $f6, $f2, $f18
/* B44CE8 800CDB48 C7A2009C */ lwc1 $f2, 0x9c($sp)
/* B44CEC 800CDB4C 4602203E */ c.le.s $f4, $f2
/* B44CF0 800CDB50 46065201 */ sub.s $f8, $f10, $f6
/* B44CF4 800CDB54 460C9282 */ mul.s $f10, $f18, $f12
/* B44CF8 800CDB58 46002306 */ mov.s $f12, $f4
/* B44CFC 800CDB5C 46008182 */ mul.s $f6, $f16, $f0
/* B44D00 800CDB60 E7A80080 */ swc1 $f8, 0x80($sp)
/* B44D04 800CDB64 46004386 */ mov.s $f14, $f8
/* B44D08 800CDB68 46065281 */ sub.s $f10, $f10, $f6
/* B44D0C 800CDB6C E7AA007C */ swc1 $f10, 0x7c($sp)
/* B44D10 800CDB70 45000009 */ bc1f .L800CDB98
/* B44D14 800CDB74 46005406 */ mov.s $f16, $f10
/* B44D18 800CDB78 4602403E */ c.le.s $f8, $f2
/* B44D1C 800CDB7C 00000000 */ nop
/* B44D20 800CDB80 45020006 */ bc1fl .L800CDB9C
/* B44D24 800CDB84 46001007 */ neg.s $f0, $f2
/* B44D28 800CDB88 4602503E */ c.le.s $f10, $f2
/* B44D2C 800CDB8C 00000000 */ nop
/* B44D30 800CDB90 4501000E */ bc1t .L800CDBCC
/* B44D34 800CDB94 00000000 */ nop
.L800CDB98:
/* B44D38 800CDB98 46001007 */ neg.s $f0, $f2
.L800CDB9C:
/* B44D3C 800CDB9C 460C003E */ c.le.s $f0, $f12
/* B44D40 800CDBA0 00000000 */ nop
/* B44D44 800CDBA4 4502000C */ bc1fl .L800CDBD8
/* B44D48 800CDBA8 C7A000A4 */ lwc1 $f0, 0xa4($sp)
/* B44D4C 800CDBAC 460E003E */ c.le.s $f0, $f14
/* B44D50 800CDBB0 00000000 */ nop
/* B44D54 800CDBB4 45020008 */ bc1fl .L800CDBD8
/* B44D58 800CDBB8 C7A000A4 */ lwc1 $f0, 0xa4($sp)
/* B44D5C 800CDBBC 4610003E */ c.le.s $f0, $f16
/* B44D60 800CDBC0 00000000 */ nop
/* B44D64 800CDBC4 45020004 */ bc1fl .L800CDBD8
/* B44D68 800CDBC8 C7A000A4 */ lwc1 $f0, 0xa4($sp)
.L800CDBCC:
/* B44D6C 800CDBCC 1000004D */ b .L800CDD04
/* B44D70 800CDBD0 24020001 */ li $v0, 1
/* B44D74 800CDBD4 C7A000A4 */ lwc1 $f0, 0xa4($sp)
.L800CDBD8:
/* B44D78 800CDBD8 3C013F00 */ li $at, 0x3F000000 # 0.000000
/* B44D7C 800CDBDC 44813000 */ mtc1 $at, $f6
/* B44D80 800CDBE0 46000005 */ abs.s $f0, $f0
/* B44D84 800CDBE4 8FA60070 */ lw $a2, 0x70($sp)
/* B44D88 800CDBE8 4600303C */ c.lt.s $f6, $f0
/* B44D8C 800CDBEC 8FA7006C */ lw $a3, 0x6c($sp)
/* B44D90 800CDBF0 C7A40068 */ lwc1 $f4, 0x68($sp)
/* B44D94 800CDBF4 27AF0078 */ addiu $t7, $sp, 0x78
/* B44D98 800CDBF8 45020042 */ bc1fl .L800CDD04
/* B44D9C 800CDBFC 00001025 */ move $v0, $zero
/* B44DA0 800CDC00 C7A80064 */ lwc1 $f8, 0x64($sp)
/* B44DA4 800CDC04 4600A306 */ mov.s $f12, $f20
/* B44DA8 800CDC08 4600B386 */ mov.s $f14, $f22
/* B44DAC 800CDC0C E7A40010 */ swc1 $f4, 0x10($sp)
/* B44DB0 800CDC10 AFAF0018 */ sw $t7, 0x18($sp)
/* B44DB4 800CDC14 AFA40088 */ sw $a0, 0x88($sp)
/* B44DB8 800CDC18 AFA5008C */ sw $a1, 0x8c($sp)
/* B44DBC 800CDC1C 0C03392E */ jal func_800CE4B8
/* B44DC0 800CDC20 E7A80014 */ swc1 $f8, 0x14($sp)
/* B44DC4 800CDC24 8FA30090 */ lw $v1, 0x90($sp)
/* B44DC8 800CDC28 8FA40088 */ lw $a0, 0x88($sp)
/* B44DCC 800CDC2C 10400009 */ beqz $v0, .L800CDC54
/* B44DD0 800CDC30 8FA5008C */ lw $a1, 0x8c($sp)
/* B44DD4 800CDC34 C7AA0078 */ lwc1 $f10, 0x78($sp)
/* B44DD8 800CDC38 C7A60058 */ lwc1 $f6, 0x58($sp)
/* B44DDC 800CDC3C 4606503C */ c.lt.s $f10, $f6
/* B44DE0 800CDC40 00000000 */ nop
/* B44DE4 800CDC44 45020004 */ bc1fl .L800CDC58
/* B44DE8 800CDC48 C4640000 */ lwc1 $f4, ($v1)
/* B44DEC 800CDC4C 1000002D */ b .L800CDD04
/* B44DF0 800CDC50 24020001 */ li $v0, 1
.L800CDC54:
/* B44DF4 800CDC54 C4640000 */ lwc1 $f4, ($v1)
.L800CDC58:
/* B44DF8 800CDC58 8CA60000 */ lw $a2, ($a1)
/* B44DFC 800CDC5C 8CA70004 */ lw $a3, 4($a1)
/* B44E00 800CDC60 E7A40010 */ swc1 $f4, 0x10($sp)
/* B44E04 800CDC64 C4680004 */ lwc1 $f8, 4($v1)
/* B44E08 800CDC68 27B80078 */ addiu $t8, $sp, 0x78
/* B44E0C 800CDC6C AFB80018 */ sw $t8, 0x18($sp)
/* B44E10 800CDC70 AFA40088 */ sw $a0, 0x88($sp)
/* B44E14 800CDC74 4600A306 */ mov.s $f12, $f20
/* B44E18 800CDC78 4600B386 */ mov.s $f14, $f22
/* B44E1C 800CDC7C 0C03392E */ jal func_800CE4B8
/* B44E20 800CDC80 E7A80014 */ swc1 $f8, 0x14($sp)
/* B44E24 800CDC84 8FA30090 */ lw $v1, 0x90($sp)
/* B44E28 800CDC88 10400009 */ beqz $v0, .L800CDCB0
/* B44E2C 800CDC8C 8FA40088 */ lw $a0, 0x88($sp)
/* B44E30 800CDC90 C7AA0078 */ lwc1 $f10, 0x78($sp)
/* B44E34 800CDC94 C7A60058 */ lwc1 $f6, 0x58($sp)
/* B44E38 800CDC98 4606503C */ c.lt.s $f10, $f6
/* B44E3C 800CDC9C 00000000 */ nop
/* B44E40 800CDCA0 45020004 */ bc1fl .L800CDCB4
/* B44E44 800CDCA4 C4840000 */ lwc1 $f4, ($a0)
/* B44E48 800CDCA8 10000016 */ b .L800CDD04
/* B44E4C 800CDCAC 24020001 */ li $v0, 1
.L800CDCB0:
/* B44E50 800CDCB0 C4840000 */ lwc1 $f4, ($a0)
.L800CDCB4:
/* B44E54 800CDCB4 8C660000 */ lw $a2, ($v1)
/* B44E58 800CDCB8 8C670004 */ lw $a3, 4($v1)
/* B44E5C 800CDCBC E7A40010 */ swc1 $f4, 0x10($sp)
/* B44E60 800CDCC0 C4880004 */ lwc1 $f8, 4($a0)
/* B44E64 800CDCC4 27B90078 */ addiu $t9, $sp, 0x78
/* B44E68 800CDCC8 AFB90018 */ sw $t9, 0x18($sp)
/* B44E6C 800CDCCC 4600A306 */ mov.s $f12, $f20
/* B44E70 800CDCD0 4600B386 */ mov.s $f14, $f22
/* B44E74 800CDCD4 0C03392E */ jal func_800CE4B8
/* B44E78 800CDCD8 E7A80014 */ swc1 $f8, 0x14($sp)
/* B44E7C 800CDCDC 10400008 */ beqz $v0, .L800CDD00
/* B44E80 800CDCE0 C7AA0078 */ lwc1 $f10, 0x78($sp)
/* B44E84 800CDCE4 C7A60058 */ lwc1 $f6, 0x58($sp)
/* B44E88 800CDCE8 4606503C */ c.lt.s $f10, $f6
/* B44E8C 800CDCEC 00000000 */ nop
/* B44E90 800CDCF0 45020004 */ bc1fl .L800CDD04
/* B44E94 800CDCF4 00001025 */ move $v0, $zero
/* B44E98 800CDCF8 10000002 */ b .L800CDD04
/* B44E9C 800CDCFC 24020001 */ li $v0, 1
.L800CDD00:
/* B44EA0 800CDD00 00001025 */ move $v0, $zero
.L800CDD04:
/* B44EA4 800CDD04 8FBF003C */ lw $ra, 0x3c($sp)
/* B44EA8 800CDD08 D7B40028 */ ldc1 $f20, 0x28($sp)
/* B44EAC 800CDD0C D7B60030 */ ldc1 $f22, 0x30($sp)
/* B44EB0 800CDD10 03E00008 */ jr $ra
/* B44EB4 800CDD14 27BD0088 */ addiu $sp, $sp, 0x88
glabel func_800CDD18
/* B44EB8 800CDD18 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B44EBC 800CDD1C 44876000 */ mtc1 $a3, $f12
/* B44EC0 800CDD20 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B44EC4 800CDD24 44814000 */ mtc1 $at, $f8
/* B44EC8 800CDD28 C7A40038 */ lwc1 $f4, 0x38($sp)
/* B44ECC 800CDD2C C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B44ED0 800CDD30 C7AA0040 */ lwc1 $f10, 0x40($sp)
/* B44ED4 800CDD34 AFBF0024 */ sw $ra, 0x24($sp)
/* B44ED8 800CDD38 44076000 */ mfc1 $a3, $f12
/* B44EDC 800CDD3C E7A40010 */ swc1 $f4, 0x10($sp)
/* B44EE0 800CDD40 E7A80018 */ swc1 $f8, 0x18($sp)
/* B44EE4 800CDD44 E7A60014 */ swc1 $f6, 0x14($sp)
/* B44EE8 800CDD48 0C033674 */ jal func_800CD9D0
/* B44EEC 800CDD4C E7AA001C */ swc1 $f10, 0x1c($sp)
/* B44EF0 800CDD50 8FBF0024 */ lw $ra, 0x24($sp)
/* B44EF4 800CDD54 27BD0028 */ addiu $sp, $sp, 0x28
/* B44EF8 800CDD58 03E00008 */ jr $ra
/* B44EFC 800CDD5C 00000000 */ nop
glabel func_800CDD60
/* B44F00 800CDD60 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B44F04 800CDD64 C7AC003C */ lwc1 $f12, 0x3c($sp)
/* B44F08 800CDD68 3C018014 */ lui $at, %hi(D_80146524)
/* B44F0C 800CDD6C C4246524 */ lwc1 $f4, %lo(D_80146524)($at)
/* B44F10 800CDD70 46006005 */ abs.s $f0, $f12
/* B44F14 800CDD74 AFA70034 */ sw $a3, 0x34($sp)
/* B44F18 800CDD78 4604003C */ c.lt.s $f0, $f4
/* B44F1C 800CDD7C AFBF0024 */ sw $ra, 0x24($sp)
/* B44F20 800CDD80 8FA70044 */ lw $a3, 0x44($sp)
/* B44F24 800CDD84 3C014396 */ li $at, 0x43960000 # 0.000000
/* B44F28 800CDD88 45000003 */ bc1f .L800CDD98
/* B44F2C 800CDD8C C7A60048 */ lwc1 $f6, 0x48($sp)
/* B44F30 800CDD90 1000001B */ b .L800CDE00
/* B44F34 800CDD94 00001025 */ move $v0, $zero
.L800CDD98:
/* B44F38 800CDD98 44814000 */ mtc1 $at, $f8
/* B44F3C 800CDD9C 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B44F40 800CDDA0 44815000 */ mtc1 $at, $f10
/* B44F44 800CDDA4 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44F48 800CDDA8 E7AC001C */ swc1 $f12, 0x1c($sp)
/* B44F4C 800CDDAC E7A80014 */ swc1 $f8, 0x14($sp)
/* B44F50 800CDDB0 0C033674 */ jal func_800CD9D0
/* B44F54 800CDDB4 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B44F58 800CDDB8 10400010 */ beqz $v0, .L800CDDFC
/* B44F5C 800CDDBC C7B00034 */ lwc1 $f16, 0x34($sp)
/* B44F60 800CDDC0 C7A40044 */ lwc1 $f4, 0x44($sp)
/* B44F64 800CDDC4 46008487 */ neg.s $f18, $f16
/* B44F68 800CDDC8 C7A80038 */ lwc1 $f8, 0x38($sp)
/* B44F6C 800CDDCC 46049182 */ mul.s $f6, $f18, $f4
/* B44F70 800CDDD0 C7AA0048 */ lwc1 $f10, 0x48($sp)
/* B44F74 800CDDD4 C7A40040 */ lwc1 $f4, 0x40($sp)
/* B44F78 800CDDD8 8FAE004C */ lw $t6, 0x4c($sp)
/* B44F7C 800CDDDC 460A4402 */ mul.s $f16, $f8, $f10
/* B44F80 800CDDE0 C7AA003C */ lwc1 $f10, 0x3c($sp)
/* B44F84 800CDDE4 24020001 */ li $v0, 1
/* B44F88 800CDDE8 46103481 */ sub.s $f18, $f6, $f16
/* B44F8C 800CDDEC 46049201 */ sub.s $f8, $f18, $f4
/* B44F90 800CDDF0 460A4183 */ div.s $f6, $f8, $f10
/* B44F94 800CDDF4 10000002 */ b .L800CDE00
/* B44F98 800CDDF8 E5C60000 */ swc1 $f6, ($t6)
.L800CDDFC:
/* B44F9C 800CDDFC 00001025 */ move $v0, $zero
.L800CDE00:
/* B44FA0 800CDE00 8FBF0024 */ lw $ra, 0x24($sp)
/* B44FA4 800CDE04 27BD0028 */ addiu $sp, $sp, 0x28
/* B44FA8 800CDE08 03E00008 */ jr $ra
/* B44FAC 800CDE0C 00000000 */ nop
glabel func_800CDE10
/* B44FB0 800CDE10 44876000 */ mtc1 $a3, $f12
/* B44FB4 800CDE14 3C018014 */ lui $at, %hi(D_80146528)
/* B44FB8 800CDE18 C4246528 */ lwc1 $f4, %lo(D_80146528)($at)
/* B44FBC 800CDE1C 46006005 */ abs.s $f0, $f12
/* B44FC0 800CDE20 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B44FC4 800CDE24 4604003C */ c.lt.s $f0, $f4
/* B44FC8 800CDE28 AFBF0024 */ sw $ra, 0x24($sp)
/* B44FCC 800CDE2C 8FA70038 */ lw $a3, 0x38($sp)
/* B44FD0 800CDE30 C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B44FD4 800CDE34 45000003 */ bc1f .L800CDE44
/* B44FD8 800CDE38 3C014396 */ li $at, 0x43960000 # 0.000000
/* B44FDC 800CDE3C 1000000E */ b .L800CDE78
/* B44FE0 800CDE40 00001025 */ move $v0, $zero
.L800CDE44:
/* B44FE4 800CDE44 44814000 */ mtc1 $at, $f8
/* B44FE8 800CDE48 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B44FEC 800CDE4C 44815000 */ mtc1 $at, $f10
/* B44FF0 800CDE50 E7A60010 */ swc1 $f6, 0x10($sp)
/* B44FF4 800CDE54 E7AC001C */ swc1 $f12, 0x1c($sp)
/* B44FF8 800CDE58 E7A80014 */ swc1 $f8, 0x14($sp)
/* B44FFC 800CDE5C 0C033674 */ jal func_800CD9D0
/* B45000 800CDE60 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B45004 800CDE64 50400004 */ beql $v0, $zero, .L800CDE78
/* B45008 800CDE68 00001025 */ move $v0, $zero
/* B4500C 800CDE6C 10000002 */ b .L800CDE78
/* B45010 800CDE70 24020001 */ li $v0, 1
/* B45014 800CDE74 00001025 */ move $v0, $zero
.L800CDE78:
/* B45018 800CDE78 8FBF0024 */ lw $ra, 0x24($sp)
/* B4501C 800CDE7C 27BD0028 */ addiu $sp, $sp, 0x28
/* B45020 800CDE80 03E00008 */ jr $ra
/* B45024 800CDE84 00000000 */ nop
glabel func_800CDE88
/* B45028 800CDE88 27BDFFD0 */ addiu $sp, $sp, -0x30
/* B4502C 800CDE8C C7A00044 */ lwc1 $f0, 0x44($sp)
/* B45030 800CDE90 3C018014 */ lui $at, %hi(D_8014652C)
/* B45034 800CDE94 C424652C */ lwc1 $f4, %lo(D_8014652C)($at)
/* B45038 800CDE98 46000005 */ abs.s $f0, $f0
/* B4503C 800CDE9C AFBF0024 */ sw $ra, 0x24($sp)
/* B45040 800CDEA0 4604003C */ c.lt.s $f0, $f4
/* B45044 800CDEA4 AFA40030 */ sw $a0, 0x30($sp)
/* B45048 800CDEA8 AFA50034 */ sw $a1, 0x34($sp)
/* B4504C 800CDEAC AFA60038 */ sw $a2, 0x38($sp)
/* B45050 800CDEB0 45000003 */ bc1f .L800CDEC0
/* B45054 800CDEB4 AFA7003C */ sw $a3, 0x3c($sp)
/* B45058 800CDEB8 10000051 */ b .L800CE000
/* B4505C 800CDEBC 00001025 */ move $v0, $zero
.L800CDEC0:
/* B45060 800CDEC0 C7A6004C */ lwc1 $f6, 0x4c($sp)
/* B45064 800CDEC4 C7A80050 */ lwc1 $f8, 0x50($sp)
/* B45068 800CDEC8 3C018017 */ lui $at, %hi(D_8016A6A8)
/* B4506C 800CDECC C7AA0058 */ lwc1 $f10, 0x58($sp)
/* B45070 800CDED0 3C0E8017 */ lui $t6, %hi(D_8016A6A8) # $t6, 0x8017
/* B45074 800CDED4 E426A6A8 */ swc1 $f6, %lo(D_8016A6A8)($at)
/* B45078 800CDED8 E428A6AC */ swc1 $f8, %lo(D_8016A6AC)($at)
/* B4507C 800CDEDC 3C018017 */ lui $at, %hi(D_8016A6B0)
/* B45080 800CDEE0 25CEA6A8 */ addiu $t6, %lo(D_8016A6A8) # addiu $t6, $t6, -0x5958
/* B45084 800CDEE4 AFAE0010 */ sw $t6, 0x10($sp)
/* B45088 800CDEE8 C7AC003C */ lwc1 $f12, 0x3c($sp)
/* B4508C 800CDEEC C7AE0040 */ lwc1 $f14, 0x40($sp)
/* B45090 800CDEF0 8FA60044 */ lw $a2, 0x44($sp)
/* B45094 800CDEF4 8FA70048 */ lw $a3, 0x48($sp)
/* B45098 800CDEF8 0C033272 */ jal func_800CC9C8
/* B4509C 800CDEFC E42AA6B0 */ swc1 $f10, %lo(D_8016A6B0)($at)
/* B450A0 800CDF00 C7B0005C */ lwc1 $f16, 0x5c($sp)
/* B450A4 800CDF04 3C0F8017 */ lui $t7, %hi(D_8016A6A8) # $t7, 0x8017
/* B450A8 800CDF08 3C018017 */ lui $at, %hi(D_8016A6B0)
/* B450AC 800CDF0C 25EFA6A8 */ addiu $t7, %lo(D_8016A6A8) # addiu $t7, $t7, -0x5958
/* B450B0 800CDF10 AFAF0010 */ sw $t7, 0x10($sp)
/* B450B4 800CDF14 C7AC003C */ lwc1 $f12, 0x3c($sp)
/* B450B8 800CDF18 C7AE0040 */ lwc1 $f14, 0x40($sp)
/* B450BC 800CDF1C 8FA60044 */ lw $a2, 0x44($sp)
/* B450C0 800CDF20 8FA70048 */ lw $a3, 0x48($sp)
/* B450C4 800CDF24 E7A0002C */ swc1 $f0, 0x2c($sp)
/* B450C8 800CDF28 0C033272 */ jal func_800CC9C8
/* B450CC 800CDF2C E430A6B0 */ swc1 $f16, %lo(D_8016A6B0)($at)
/* B450D0 800CDF30 C7A2002C */ lwc1 $f2, 0x2c($sp)
/* B450D4 800CDF34 44806000 */ mtc1 $zero, $f12
/* B450D8 800CDF38 00000000 */ nop
/* B450DC 800CDF3C 4602603C */ c.lt.s $f12, $f2
/* B450E0 800CDF40 00000000 */ nop
/* B450E4 800CDF44 45020006 */ bc1fl .L800CDF60
/* B450E8 800CDF48 460C103C */ c.lt.s $f2, $f12
/* B450EC 800CDF4C 4600603C */ c.lt.s $f12, $f0
/* B450F0 800CDF50 00000000 */ nop
/* B450F4 800CDF54 4501000B */ bc1t .L800CDF84
/* B450F8 800CDF58 00000000 */ nop
/* B450FC 800CDF5C 460C103C */ c.lt.s $f2, $f12
.L800CDF60:
/* B45100 800CDF60 8FA40030 */ lw $a0, 0x30($sp)
/* B45104 800CDF64 8FA50034 */ lw $a1, 0x34($sp)
/* B45108 800CDF68 8FA60038 */ lw $a2, 0x38($sp)
/* B4510C 800CDF6C 45000007 */ bc1f .L800CDF8C
/* B45110 800CDF70 8FA7004C */ lw $a3, 0x4c($sp)
/* B45114 800CDF74 460C003C */ c.lt.s $f0, $f12
/* B45118 800CDF78 00000000 */ nop
/* B4511C 800CDF7C 45020004 */ bc1fl .L800CDF90
/* B45120 800CDF80 3C014396 */ lui $at, 0x4396
.L800CDF84:
/* B45124 800CDF84 1000001E */ b .L800CE000
/* B45128 800CDF88 00001025 */ move $v0, $zero
.L800CDF8C:
/* B4512C 800CDF8C 3C014396 */ li $at, 0x43960000 # 0.000000
.L800CDF90:
/* B45130 800CDF90 44812000 */ mtc1 $at, $f4
/* B45134 800CDF94 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B45138 800CDF98 44813000 */ mtc1 $at, $f6
/* B4513C 800CDF9C C7B20050 */ lwc1 $f18, 0x50($sp)
/* B45140 800CDFA0 C7A80044 */ lwc1 $f8, 0x44($sp)
/* B45144 800CDFA4 E7A40014 */ swc1 $f4, 0x14($sp)
/* B45148 800CDFA8 E7B20010 */ swc1 $f18, 0x10($sp)
/* B4514C 800CDFAC E7A60018 */ swc1 $f6, 0x18($sp)
/* B45150 800CDFB0 0C033674 */ jal func_800CD9D0
/* B45154 800CDFB4 E7A8001C */ swc1 $f8, 0x1c($sp)
/* B45158 800CDFB8 10400010 */ beqz $v0, .L800CDFFC
/* B4515C 800CDFBC C7AA003C */ lwc1 $f10, 0x3c($sp)
/* B45160 800CDFC0 C7B2004C */ lwc1 $f18, 0x4c($sp)
/* B45164 800CDFC4 46005407 */ neg.s $f16, $f10
/* B45168 800CDFC8 C7A60040 */ lwc1 $f6, 0x40($sp)
/* B4516C 800CDFCC 46128102 */ mul.s $f4, $f16, $f18
/* B45170 800CDFD0 C7A80050 */ lwc1 $f8, 0x50($sp)
/* B45174 800CDFD4 C7B20048 */ lwc1 $f18, 0x48($sp)
/* B45178 800CDFD8 8FB80054 */ lw $t8, 0x54($sp)
/* B4517C 800CDFDC 46083282 */ mul.s $f10, $f6, $f8
/* B45180 800CDFE0 C7A80044 */ lwc1 $f8, 0x44($sp)
/* B45184 800CDFE4 24020001 */ li $v0, 1
/* B45188 800CDFE8 460A2401 */ sub.s $f16, $f4, $f10
/* B4518C 800CDFEC 46128181 */ sub.s $f6, $f16, $f18
/* B45190 800CDFF0 46083103 */ div.s $f4, $f6, $f8
/* B45194 800CDFF4 10000002 */ b .L800CE000
/* B45198 800CDFF8 E7040000 */ swc1 $f4, ($t8)
.L800CDFFC:
/* B4519C 800CDFFC 00001025 */ move $v0, $zero
.L800CE000:
/* B451A0 800CE000 8FBF0024 */ lw $ra, 0x24($sp)
/* B451A4 800CE004 27BD0030 */ addiu $sp, $sp, 0x30
/* B451A8 800CE008 03E00008 */ jr $ra
/* B451AC 800CE00C 00000000 */ nop
glabel func_800CE010
/* B451B0 800CE010 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B451B4 800CE014 AFBF0024 */ sw $ra, 0x24($sp)
/* B451B8 800CE018 C4E20008 */ lwc1 $f2, 8($a3)
/* B451BC 800CE01C 3C018014 */ lui $at, %hi(D_80146530)
/* B451C0 800CE020 C4246530 */ lwc1 $f4, %lo(D_80146530)($at)
/* B451C4 800CE024 46001005 */ abs.s $f0, $f2
/* B451C8 800CE028 8FA70038 */ lw $a3, 0x38($sp)
/* B451CC 800CE02C 4604003C */ c.lt.s $f0, $f4
/* B451D0 800CE030 C7A6003C */ lwc1 $f6, 0x3c($sp)
/* B451D4 800CE034 45020004 */ bc1fl .L800CE048
/* B451D8 800CE038 44804000 */ mtc1 $zero, $f8
/* B451DC 800CE03C 1000000D */ b .L800CE074
/* B451E0 800CE040 00001025 */ move $v0, $zero
/* B451E4 800CE044 44804000 */ mtc1 $zero, $f8
.L800CE048:
/* B451E8 800CE048 C7AA0040 */ lwc1 $f10, 0x40($sp)
/* B451EC 800CE04C E7A60010 */ swc1 $f6, 0x10($sp)
/* B451F0 800CE050 E7A2001C */ swc1 $f2, 0x1c($sp)
/* B451F4 800CE054 E7AA0018 */ swc1 $f10, 0x18($sp)
/* B451F8 800CE058 0C033674 */ jal func_800CD9D0
/* B451FC 800CE05C E7A80014 */ swc1 $f8, 0x14($sp)
/* B45200 800CE060 50400004 */ beql $v0, $zero, .L800CE074
/* B45204 800CE064 00001025 */ move $v0, $zero
/* B45208 800CE068 10000002 */ b .L800CE074
/* B4520C 800CE06C 24020001 */ li $v0, 1
/* B45210 800CE070 00001025 */ move $v0, $zero
.L800CE074:
/* B45214 800CE074 8FBF0024 */ lw $ra, 0x24($sp)
/* B45218 800CE078 27BD0028 */ addiu $sp, $sp, 0x28
/* B4521C 800CE07C 03E00008 */ jr $ra
/* B45220 800CE080 00000000 */ nop
glabel func_800CE084
/* B45224 800CE084 460E6081 */ sub.s $f2, $f12, $f14
/* B45228 800CE088 3C018014 */ lui $at, %hi(D_80146534)
/* B4522C 800CE08C C4246534 */ lwc1 $f4, %lo(D_80146534)($at)
/* B45230 800CE090 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B45234 800CE094 46001005 */ abs.s $f0, $f2
/* B45238 800CE098 AFBF0014 */ sw $ra, 0x14($sp)
/* B4523C 800CE09C 4604003C */ c.lt.s $f0, $f4
/* B45240 800CE0A0 00C02025 */ move $a0, $a2
/* B45244 800CE0A4 00E02825 */ move $a1, $a3
/* B45248 800CE0A8 8FAE0028 */ lw $t6, 0x28($sp)
/* B4524C 800CE0AC 4502000A */ bc1fl .L800CE0D8
/* B45250 800CE0B0 44800000 */ mtc1 $zero, $f0
/* B45254 800CE0B4 8CF80000 */ lw $t8, ($a3)
/* B45258 800CE0B8 00001025 */ move $v0, $zero
/* B4525C 800CE0BC ADD80000 */ sw $t8, ($t6)
/* B45260 800CE0C0 8CEF0004 */ lw $t7, 4($a3)
/* B45264 800CE0C4 ADCF0004 */ sw $t7, 4($t6)
/* B45268 800CE0C8 8CF80008 */ lw $t8, 8($a3)
/* B4526C 800CE0CC 1000001F */ b .L800CE14C
/* B45270 800CE0D0 ADD80008 */ sw $t8, 8($t6)
/* B45274 800CE0D4 44800000 */ mtc1 $zero, $f0
.L800CE0D8:
/* B45278 800CE0D8 8FB90028 */ lw $t9, 0x28($sp)
/* B4527C 800CE0DC 46006032 */ c.eq.s $f12, $f0
/* B45280 800CE0E0 00000000 */ nop
/* B45284 800CE0E4 45020009 */ bc1fl .L800CE10C
/* B45288 800CE0E8 46007032 */ c.eq.s $f14, $f0
/* B4528C 800CE0EC 8C890000 */ lw $t1, ($a0)
/* B45290 800CE0F0 AF290000 */ sw $t1, ($t9)
/* B45294 800CE0F4 8C880004 */ lw $t0, 4($a0)
/* B45298 800CE0F8 AF280004 */ sw $t0, 4($t9)
/* B4529C 800CE0FC 8C890008 */ lw $t1, 8($a0)
/* B452A0 800CE100 10000011 */ b .L800CE148
/* B452A4 800CE104 AF290008 */ sw $t1, 8($t9)
/* B452A8 800CE108 46007032 */ c.eq.s $f14, $f0
.L800CE10C:
/* B452AC 800CE10C 8FAA0028 */ lw $t2, 0x28($sp)
/* B452B0 800CE110 45020009 */ bc1fl .L800CE138
/* B452B4 800CE114 46026183 */ div.s $f6, $f12, $f2
/* B452B8 800CE118 8CAC0000 */ lw $t4, ($a1)
/* B452BC 800CE11C AD4C0000 */ sw $t4, ($t2)
/* B452C0 800CE120 8CAB0004 */ lw $t3, 4($a1)
/* B452C4 800CE124 AD4B0004 */ sw $t3, 4($t2)
/* B452C8 800CE128 8CAC0008 */ lw $t4, 8($a1)
/* B452CC 800CE12C 10000006 */ b .L800CE148
/* B452D0 800CE130 AD4C0008 */ sw $t4, 8($t2)
/* B452D4 800CE134 46026183 */ div.s $f6, $f12, $f2
.L800CE138:
/* B452D8 800CE138 8FA70028 */ lw $a3, 0x28($sp)
/* B452DC 800CE13C 44063000 */ mfc1 $a2, $f6
/* B452E0 800CE140 0C032BE8 */ jal func_800CAFA0
/* B452E4 800CE144 00000000 */ nop
.L800CE148:
/* B452E8 800CE148 24020001 */ li $v0, 1
.L800CE14C:
/* B452EC 800CE14C 8FBF0014 */ lw $ra, 0x14($sp)
/* B452F0 800CE150 27BD0018 */ addiu $sp, $sp, 0x18
/* B452F4 800CE154 03E00008 */ jr $ra
/* B452F8 800CE158 00000000 */ nop
glabel func_800CE15C
/* B452FC 800CE15C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B45300 800CE160 8FAE0038 */ lw $t6, 0x38($sp)
/* B45304 800CE164 AFBF001C */ sw $ra, 0x1c($sp)
/* B45308 800CE168 E7AC0028 */ swc1 $f12, 0x28($sp)
/* B4530C 800CE16C E7AE002C */ swc1 $f14, 0x2c($sp)
/* B45310 800CE170 AFA60030 */ sw $a2, 0x30($sp)
/* B45314 800CE174 AFA70034 */ sw $a3, 0x34($sp)
/* B45318 800CE178 C7AE002C */ lwc1 $f14, 0x2c($sp)
/* B4531C 800CE17C C7AC0028 */ lwc1 $f12, 0x28($sp)
/* B45320 800CE180 0C033272 */ jal func_800CC9C8
/* B45324 800CE184 AFAE0010 */ sw $t6, 0x10($sp)
/* B45328 800CE188 8FA4003C */ lw $a0, 0x3c($sp)
/* B4532C 800CE18C E7A00024 */ swc1 $f0, 0x24($sp)
/* B45330 800CE190 C7AC0028 */ lwc1 $f12, 0x28($sp)
/* B45334 800CE194 C7AE002C */ lwc1 $f14, 0x2c($sp)
/* B45338 800CE198 8FA60030 */ lw $a2, 0x30($sp)
/* B4533C 800CE19C 8FA70034 */ lw $a3, 0x34($sp)
/* B45340 800CE1A0 0C033272 */ jal func_800CC9C8
/* B45344 800CE1A4 AFA40010 */ sw $a0, 0x10($sp)
/* B45348 800CE1A8 C7AC0024 */ lwc1 $f12, 0x24($sp)
/* B4534C 800CE1AC 44801000 */ mtc1 $zero, $f2
/* B45350 800CE1B0 8FA4003C */ lw $a0, 0x3c($sp)
/* B45354 800CE1B4 46006102 */ mul.s $f4, $f12, $f0
/* B45358 800CE1B8 46000386 */ mov.s $f14, $f0
/* B4535C 800CE1BC 8FAF0040 */ lw $t7, 0x40($sp)
/* B45360 800CE1C0 8FA80044 */ lw $t0, 0x44($sp)
/* B45364 800CE1C4 4604103C */ c.lt.s $f2, $f4
/* B45368 800CE1C8 00000000 */ nop
/* B4536C 800CE1CC 45000009 */ bc1f .L800CE1F4
/* B45370 800CE1D0 00000000 */ nop
/* B45374 800CE1D4 8C990000 */ lw $t9, ($a0)
/* B45378 800CE1D8 00001025 */ move $v0, $zero
/* B4537C 800CE1DC ADF90000 */ sw $t9, ($t7)
/* B45380 800CE1E0 8C980004 */ lw $t8, 4($a0)
/* B45384 800CE1E4 ADF80004 */ sw $t8, 4($t7)
/* B45388 800CE1E8 8C990008 */ lw $t9, 8($a0)
/* B4538C 800CE1EC 10000017 */ b .L800CE24C
/* B45390 800CE1F0 ADF90008 */ sw $t9, 8($t7)
.L800CE1F4:
/* B45394 800CE1F4 11000011 */ beqz $t0, .L800CE23C
/* B45398 800CE1F8 8FA60038 */ lw $a2, 0x38($sp)
/* B4539C 800CE1FC 4602603C */ c.lt.s $f12, $f2
/* B453A0 800CE200 00000000 */ nop
/* B453A4 800CE204 4502000E */ bc1fl .L800CE240
/* B453A8 800CE208 8FAC0040 */ lw $t4, 0x40($sp)
/* B453AC 800CE20C 4600103C */ c.lt.s $f2, $f0
/* B453B0 800CE210 8FA90040 */ lw $t1, 0x40($sp)
/* B453B4 800CE214 4502000A */ bc1fl .L800CE240
/* B453B8 800CE218 8FAC0040 */ lw $t4, 0x40($sp)
/* B453BC 800CE21C 8C8B0000 */ lw $t3, ($a0)
/* B453C0 800CE220 00001025 */ move $v0, $zero
/* B453C4 800CE224 AD2B0000 */ sw $t3, ($t1)
/* B453C8 800CE228 8C8A0004 */ lw $t2, 4($a0)
/* B453CC 800CE22C AD2A0004 */ sw $t2, 4($t1)
/* B453D0 800CE230 8C8B0008 */ lw $t3, 8($a0)
/* B453D4 800CE234 10000005 */ b .L800CE24C
/* B453D8 800CE238 AD2B0008 */ sw $t3, 8($t1)
.L800CE23C:
/* B453DC 800CE23C 8FAC0040 */ lw $t4, 0x40($sp)
.L800CE240:
/* B453E0 800CE240 00803825 */ move $a3, $a0
/* B453E4 800CE244 0C033821 */ jal func_800CE084
/* B453E8 800CE248 AFAC0010 */ sw $t4, 0x10($sp)
.L800CE24C:
/* B453EC 800CE24C 8FBF001C */ lw $ra, 0x1c($sp)
/* B453F0 800CE250 27BD0028 */ addiu $sp, $sp, 0x28
/* B453F4 800CE254 03E00008 */ jr $ra
/* B453F8 800CE258 00000000 */ nop
glabel func_800CE25C
/* B453FC 800CE25C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* B45400 800CE260 AFB00028 */ sw $s0, 0x28($sp)
/* B45404 800CE264 8FB00054 */ lw $s0, 0x54($sp)
/* B45408 800CE268 44876000 */ mtc1 $a3, $f12
/* B4540C 800CE26C 8FAE004C */ lw $t6, 0x4c($sp)
/* B45410 800CE270 8FAF0050 */ lw $t7, 0x50($sp)
/* B45414 800CE274 8FB80058 */ lw $t8, 0x58($sp)
/* B45418 800CE278 AFBF002C */ sw $ra, 0x2c($sp)
/* B4541C 800CE27C AFA60038 */ sw $a2, 0x38($sp)
/* B45420 800CE280 AFA40030 */ sw $a0, 0x30($sp)
/* B45424 800CE284 AFA50034 */ sw $a1, 0x34($sp)
/* B45428 800CE288 8FA60044 */ lw $a2, 0x44($sp)
/* B4542C 800CE28C 8FA70048 */ lw $a3, 0x48($sp)
/* B45430 800CE290 C7AE0040 */ lwc1 $f14, 0x40($sp)
/* B45434 800CE294 AFB00018 */ sw $s0, 0x18($sp)
/* B45438 800CE298 AFAE0010 */ sw $t6, 0x10($sp)
/* B4543C 800CE29C E7AC003C */ swc1 $f12, 0x3c($sp)
/* B45440 800CE2A0 AFAF0014 */ sw $t7, 0x14($sp)
/* B45444 800CE2A4 0C033857 */ jal func_800CE15C
/* B45448 800CE2A8 AFB8001C */ sw $t8, 0x1c($sp)
/* B4544C 800CE2AC 14400003 */ bnez $v0, .L800CE2BC
/* B45450 800CE2B0 C7AC003C */ lwc1 $f12, 0x3c($sp)
/* B45454 800CE2B4 1000003D */ b .L800CE3AC
/* B45458 800CE2B8 00001025 */ move $v0, $zero
.L800CE2BC:
/* B4545C 800CE2BC 44802000 */ mtc1 $zero, $f4
/* B45460 800CE2C0 8FA40030 */ lw $a0, 0x30($sp)
/* B45464 800CE2C4 46046032 */ c.eq.s $f12, $f4
/* B45468 800CE2C8 00000000 */ nop
/* B4546C 800CE2CC 4503000C */ bc1tl .L800CE300
/* B45470 800CE2D0 C7A00040 */ lwc1 $f0, 0x40($sp)
/* B45474 800CE2D4 C6060004 */ lwc1 $f6, 4($s0)
/* B45478 800CE2D8 44076000 */ mfc1 $a3, $f12
/* B4547C 800CE2DC 8FA50034 */ lw $a1, 0x34($sp)
/* B45480 800CE2E0 E7A60010 */ swc1 $f6, 0x10($sp)
/* B45484 800CE2E4 C6080008 */ lwc1 $f8, 8($s0)
/* B45488 800CE2E8 8FA60038 */ lw $a2, 0x38($sp)
/* B4548C 800CE2EC 0C0335D8 */ jal func_800CD760
/* B45490 800CE2F0 E7A80014 */ swc1 $f8, 0x14($sp)
/* B45494 800CE2F4 50400026 */ beql $v0, $zero, .L800CE390
/* B45498 800CE2F8 8FB90050 */ lw $t9, 0x50($sp)
/* B4549C 800CE2FC C7A00040 */ lwc1 $f0, 0x40($sp)
.L800CE300:
/* B454A0 800CE300 44805000 */ mtc1 $zero, $f10
/* B454A4 800CE304 8FA40030 */ lw $a0, 0x30($sp)
/* B454A8 800CE308 460A0032 */ c.eq.s $f0, $f10
/* B454AC 800CE30C 00000000 */ nop
/* B454B0 800CE310 4503000C */ bc1tl .L800CE344
/* B454B4 800CE314 C7A00044 */ lwc1 $f0, 0x44($sp)
/* B454B8 800CE318 C6100008 */ lwc1 $f16, 8($s0)
/* B454BC 800CE31C 44070000 */ mfc1 $a3, $f0
/* B454C0 800CE320 8FA50034 */ lw $a1, 0x34($sp)
/* B454C4 800CE324 E7B00010 */ swc1 $f16, 0x10($sp)
/* B454C8 800CE328 C6120000 */ lwc1 $f18, ($s0)
/* B454CC 800CE32C 8FA60038 */ lw $a2, 0x38($sp)
/* B454D0 800CE330 0C03343C */ jal func_800CD0F0
/* B454D4 800CE334 E7B20014 */ swc1 $f18, 0x14($sp)
/* B454D8 800CE338 50400015 */ beql $v0, $zero, .L800CE390
/* B454DC 800CE33C 8FB90050 */ lw $t9, 0x50($sp)
/* B454E0 800CE340 C7A00044 */ lwc1 $f0, 0x44($sp)
.L800CE344:
/* B454E4 800CE344 44802000 */ mtc1 $zero, $f4
/* B454E8 800CE348 8FA40030 */ lw $a0, 0x30($sp)
/* B454EC 800CE34C 46040032 */ c.eq.s $f0, $f4
/* B454F0 800CE350 00000000 */ nop
/* B454F4 800CE354 4501000B */ bc1t .L800CE384
/* B454F8 800CE358 00000000 */ nop
/* B454FC 800CE35C C6060000 */ lwc1 $f6, ($s0)
/* B45500 800CE360 44070000 */ mfc1 $a3, $f0
/* B45504 800CE364 8FA50034 */ lw $a1, 0x34($sp)
/* B45508 800CE368 E7A60010 */ swc1 $f6, 0x10($sp)
/* B4550C 800CE36C C6080004 */ lwc1 $f8, 4($s0)
/* B45510 800CE370 8FA60038 */ lw $a2, 0x38($sp)
/* B45514 800CE374 0C033784 */ jal func_800CDE10
/* B45518 800CE378 E7A80014 */ swc1 $f8, 0x14($sp)
/* B4551C 800CE37C 50400004 */ beql $v0, $zero, .L800CE390
/* B45520 800CE380 8FB90050 */ lw $t9, 0x50($sp)
.L800CE384:
/* B45524 800CE384 10000009 */ b .L800CE3AC
/* B45528 800CE388 24020001 */ li $v0, 1
/* B4552C 800CE38C 8FB90050 */ lw $t9, 0x50($sp)
.L800CE390:
/* B45530 800CE390 00001025 */ move $v0, $zero
/* B45534 800CE394 8F290000 */ lw $t1, ($t9)
/* B45538 800CE398 AE090000 */ sw $t1, ($s0)
/* B4553C 800CE39C 8F280004 */ lw $t0, 4($t9)
/* B45540 800CE3A0 AE080004 */ sw $t0, 4($s0)
/* B45544 800CE3A4 8F290008 */ lw $t1, 8($t9)
/* B45548 800CE3A8 AE090008 */ sw $t1, 8($s0)
.L800CE3AC:
/* B4554C 800CE3AC 8FBF002C */ lw $ra, 0x2c($sp)
/* B45550 800CE3B0 8FB00028 */ lw $s0, 0x28($sp)
/* B45554 800CE3B4 27BD0030 */ addiu $sp, $sp, 0x30
/* B45558 800CE3B8 03E00008 */ jr $ra
/* B4555C 800CE3BC 00000000 */ nop
glabel func_800CE3C0
/* B45560 800CE3C0 27BDFFD0 */ addiu $sp, $sp, -0x30
/* B45564 800CE3C4 AFBF002C */ sw $ra, 0x2c($sp)
/* B45568 800CE3C8 AFB00028 */ sw $s0, 0x28($sp)
/* B4556C 800CE3CC AFA50034 */ sw $a1, 0x34($sp)
/* B45570 800CE3D0 AFA60038 */ sw $a2, 0x38($sp)
/* B45574 800CE3D4 AFA7003C */ sw $a3, 0x3c($sp)
/* B45578 800CE3D8 8CB80000 */ lw $t8, ($a1)
/* B4557C 800CE3DC 00808025 */ move $s0, $a0
/* B45580 800CE3E0 260D0028 */ addiu $t5, $s0, 0x28
/* B45584 800CE3E4 AC980000 */ sw $t8, ($a0)
/* B45588 800CE3E8 8CAF0004 */ lw $t7, 4($a1)
/* B4558C 800CE3EC 260E002C */ addiu $t6, $s0, 0x2c
/* B45590 800CE3F0 26070024 */ addiu $a3, $s0, 0x24
/* B45594 800CE3F4 AC8F0004 */ sw $t7, 4($a0)
/* B45598 800CE3F8 8CB80008 */ lw $t8, 8($a1)
/* B4559C 800CE3FC 260F0030 */ addiu $t7, $s0, 0x30
/* B455A0 800CE400 AC980008 */ sw $t8, 8($a0)
/* B455A4 800CE404 8FB90038 */ lw $t9, 0x38($sp)
/* B455A8 800CE408 8F290000 */ lw $t1, ($t9)
/* B455AC 800CE40C AC89000C */ sw $t1, 0xc($a0)
/* B455B0 800CE410 8F280004 */ lw $t0, 4($t9)
/* B455B4 800CE414 AC880010 */ sw $t0, 0x10($a0)
/* B455B8 800CE418 8F290008 */ lw $t1, 8($t9)
/* B455BC 800CE41C AC890014 */ sw $t1, 0x14($a0)
/* B455C0 800CE420 8FAA003C */ lw $t2, 0x3c($sp)
/* B455C4 800CE424 8D4C0000 */ lw $t4, ($t2)
/* B455C8 800CE428 AC8C0018 */ sw $t4, 0x18($a0)
/* B455CC 800CE42C 8D4B0004 */ lw $t3, 4($t2)
/* B455D0 800CE430 AC8B001C */ sw $t3, 0x1c($a0)
/* B455D4 800CE434 8D4C0008 */ lw $t4, 8($t2)
/* B455D8 800CE438 AC8C0020 */ sw $t4, 0x20($a0)
/* B455DC 800CE43C AFAF0018 */ sw $t7, 0x18($sp)
/* B455E0 800CE440 AFAE0014 */ sw $t6, 0x14($sp)
/* B455E4 800CE444 AFAD0010 */ sw $t5, 0x10($sp)
/* B455E8 800CE448 8FA6003C */ lw $a2, 0x3c($sp)
/* B455EC 800CE44C 8FA50038 */ lw $a1, 0x38($sp)
/* B455F0 800CE450 0C03322D */ jal func_800CC8B4
/* B455F4 800CE454 8FA40034 */ lw $a0, 0x34($sp)
/* B455F8 800CE458 8FBF002C */ lw $ra, 0x2c($sp)
/* B455FC 800CE45C 8FB00028 */ lw $s0, 0x28($sp)
/* B45600 800CE460 27BD0030 */ addiu $sp, $sp, 0x30
/* B45604 800CE464 03E00008 */ jr $ra
/* B45608 800CE468 00000000 */ nop
glabel func_800CE46C
/* B4560C 800CE46C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B45610 800CE470 AFBF0014 */ sw $ra, 0x14($sp)
/* B45614 800CE474 0C032DA6 */ jal func_800CB698
/* B45618 800CE478 AFA40018 */ sw $a0, 0x18($sp)
/* B4561C 800CE47C 8FAE0018 */ lw $t6, 0x18($sp)
/* B45620 800CE480 8FBF0014 */ lw $ra, 0x14($sp)
/* B45624 800CE484 00001025 */ move $v0, $zero
/* B45628 800CE488 85CF0006 */ lh $t7, 6($t6)
/* B4562C 800CE48C 448F2000 */ mtc1 $t7, $f4
/* B45630 800CE490 00000000 */ nop
/* B45634 800CE494 468021A0 */ cvt.s.w $f6, $f4
/* B45638 800CE498 4606003C */ c.lt.s $f0, $f6
/* B4563C 800CE49C 00000000 */ nop
/* B45640 800CE4A0 45000003 */ bc1f .L800CE4B0
/* B45644 800CE4A4 00000000 */ nop
/* B45648 800CE4A8 10000001 */ b .L800CE4B0
/* B4564C 800CE4AC 24020001 */ li $v0, 1
.L800CE4B0:
/* B45650 800CE4B0 03E00008 */ jr $ra
/* B45654 800CE4B4 27BD0018 */ addiu $sp, $sp, 0x18
glabel func_800CE4B8
/* B45658 800CE4B8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B4565C 800CE4BC AFA70034 */ sw $a3, 0x34($sp)
/* B45660 800CE4C0 C7AA0034 */ lwc1 $f10, 0x34($sp)
/* B45664 800CE4C4 C7A8003C */ lwc1 $f8, 0x3c($sp)
/* B45668 800CE4C8 AFA60030 */ sw $a2, 0x30($sp)
/* B4566C 800CE4CC C7A60030 */ lwc1 $f6, 0x30($sp)
/* B45670 800CE4D0 C7A40038 */ lwc1 $f4, 0x38($sp)
/* B45674 800CE4D4 460A4481 */ sub.s $f18, $f8, $f10
/* B45678 800CE4D8 3C018014 */ lui $at, %hi(D_80146538)
/* B4567C 800CE4DC C42A6538 */ lwc1 $f10, %lo(D_80146538)($at)
/* B45680 800CE4E0 46062081 */ sub.s $f2, $f4, $f6
/* B45684 800CE4E4 46129182 */ mul.s $f6, $f18, $f18
/* B45688 800CE4E8 E7AC0028 */ swc1 $f12, 0x28($sp)
/* B4568C 800CE4EC E7AE002C */ swc1 $f14, 0x2c($sp)
/* B45690 800CE4F0 46021202 */ mul.s $f8, $f2, $f2
/* B45694 800CE4F4 00001825 */ move $v1, $zero
/* B45698 800CE4F8 E7A20020 */ swc1 $f2, 0x20($sp)
/* B4569C 800CE4FC E7B20008 */ swc1 $f18, 8($sp)
/* B456A0 800CE500 8FAE0040 */ lw $t6, 0x40($sp)
/* B456A4 800CE504 46064400 */ add.s $f16, $f8, $f6
/* B456A8 800CE508 C7A60030 */ lwc1 $f6, 0x30($sp)
/* B456AC 800CE50C C7A80028 */ lwc1 $f8, 0x28($sp)
/* B456B0 800CE510 46008005 */ abs.s $f0, $f16
/* B456B4 800CE514 460A003C */ c.lt.s $f0, $f10
/* B456B8 800CE518 00000000 */ nop
/* B456BC 800CE51C 45020006 */ bc1fl .L800CE538
/* B456C0 800CE520 46064281 */ sub.s $f10, $f8, $f6
/* B456C4 800CE524 44802000 */ mtc1 $zero, $f4
/* B456C8 800CE528 00001025 */ move $v0, $zero
/* B456CC 800CE52C 10000032 */ b .L800CE5F8
/* B456D0 800CE530 E5C40000 */ swc1 $f4, ($t6)
/* B456D4 800CE534 46064281 */ sub.s $f10, $f8, $f6
.L800CE538:
/* B456D8 800CE538 C7A80034 */ lwc1 $f8, 0x34($sp)
/* B456DC 800CE53C C7A4002C */ lwc1 $f4, 0x2c($sp)
/* B456E0 800CE540 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B456E4 800CE544 E7AA0008 */ swc1 $f10, 8($sp)
/* B456E8 800CE548 46082181 */ sub.s $f6, $f4, $f8
/* B456EC 800CE54C C7A80020 */ lwc1 $f8, 0x20($sp)
/* B456F0 800CE550 46123102 */ mul.s $f4, $f6, $f18
/* B456F4 800CE554 00000000 */ nop
/* B456F8 800CE558 46085182 */ mul.s $f6, $f10, $f8
/* B456FC 800CE55C 44804000 */ mtc1 $zero, $f8
/* B45700 800CE560 E7A40004 */ swc1 $f4, 4($sp)
/* B45704 800CE564 46043280 */ add.s $f10, $f6, $f4
/* B45708 800CE568 C7A40008 */ lwc1 $f4, 8($sp)
/* B4570C 800CE56C 46105003 */ div.s $f0, $f10, $f16
/* B45710 800CE570 46022282 */ mul.s $f10, $f4, $f2
/* B45714 800CE574 4600403E */ c.le.s $f8, $f0
/* B45718 800CE578 C7A80004 */ lwc1 $f8, 4($sp)
/* B4571C 800CE57C 45000008 */ bc1f .L800CE5A0
/* B45720 800CE580 00000000 */ nop
/* B45724 800CE584 44813000 */ mtc1 $at, $f6
/* B45728 800CE588 00000000 */ nop
/* B4572C 800CE58C 4606003E */ c.le.s $f0, $f6
/* B45730 800CE590 00000000 */ nop
/* B45734 800CE594 45020003 */ bc1fl .L800CE5A4
/* B45738 800CE598 46085180 */ add.s $f6, $f10, $f8
/* B4573C 800CE59C 24030001 */ li $v1, 1
.L800CE5A0:
/* B45740 800CE5A0 46085180 */ add.s $f6, $f10, $f8
.L800CE5A4:
/* B45744 800CE5A4 C7AA0030 */ lwc1 $f10, 0x30($sp)
/* B45748 800CE5A8 3C018017 */ lui $at, %hi(D_8016A6B8)
/* B4574C 800CE5AC 8FAF0040 */ lw $t7, 0x40($sp)
/* B45750 800CE5B0 46103383 */ div.s $f14, $f6, $f16
/* B45754 800CE5B4 00601025 */ move $v0, $v1
/* B45758 800CE5B8 460E1102 */ mul.s $f4, $f2, $f14
/* B4575C 800CE5BC 460A2200 */ add.s $f8, $f4, $f10
/* B45760 800CE5C0 460E9182 */ mul.s $f6, $f18, $f14
/* B45764 800CE5C4 C7A40034 */ lwc1 $f4, 0x34($sp)
/* B45768 800CE5C8 E428A6B8 */ swc1 $f8, %lo(D_8016A6B8)($at)
/* B4576C 800CE5CC 46043280 */ add.s $f10, $f6, $f4
/* B45770 800CE5D0 C7A60028 */ lwc1 $f6, 0x28($sp)
/* B45774 800CE5D4 C7A4002C */ lwc1 $f4, 0x2c($sp)
/* B45778 800CE5D8 46064001 */ sub.s $f0, $f8, $f6
/* B4577C 800CE5DC E42AA6BC */ swc1 $f10, %lo(D_8016A6BC)($at)
/* B45780 800CE5E0 46045301 */ sub.s $f12, $f10, $f4
/* B45784 800CE5E4 46000202 */ mul.s $f8, $f0, $f0
/* B45788 800CE5E8 00000000 */ nop
/* B4578C 800CE5EC 460C6182 */ mul.s $f6, $f12, $f12
/* B45790 800CE5F0 46064280 */ add.s $f10, $f8, $f6
/* B45794 800CE5F4 E5EA0000 */ swc1 $f10, ($t7)
.L800CE5F8:
/* B45798 800CE5F8 03E00008 */ jr $ra
/* B4579C 800CE5FC 27BD0028 */ addiu $sp, $sp, 0x28
glabel func_800CE600
/* B457A0 800CE600 27BDFFA8 */ addiu $sp, $sp, -0x58
/* B457A4 800CE604 AFBF0024 */ sw $ra, 0x24($sp)
/* B457A8 800CE608 F7B60018 */ sdc1 $f22, 0x18($sp)
/* B457AC 800CE60C F7B40010 */ sdc1 $f20, 0x10($sp)
/* B457B0 800CE610 AFA40058 */ sw $a0, 0x58($sp)
/* B457B4 800CE614 0C03391B */ jal func_800CE46C
/* B457B8 800CE618 AFA5005C */ sw $a1, 0x5c($sp)
/* B457BC 800CE61C 8FA40058 */ lw $a0, 0x58($sp)
/* B457C0 800CE620 14400008 */ bnez $v0, .L800CE644
/* B457C4 800CE624 8FA6005C */ lw $a2, 0x5c($sp)
/* B457C8 800CE628 24C5000C */ addiu $a1, $a2, 0xc
/* B457CC 800CE62C AFA40058 */ sw $a0, 0x58($sp)
/* B457D0 800CE630 0C03391B */ jal func_800CE46C
/* B457D4 800CE634 AFA6005C */ sw $a2, 0x5c($sp)
/* B457D8 800CE638 8FA40058 */ lw $a0, 0x58($sp)
/* B457DC 800CE63C 10400003 */ beqz $v0, .L800CE64C
/* B457E0 800CE640 8FA6005C */ lw $a2, 0x5c($sp)
.L800CE644:
/* B457E4 800CE644 10000069 */ b .L800CE7EC
/* B457E8 800CE648 24020001 */ li $v0, 1
.L800CE64C:
/* B457EC 800CE64C C4CC0000 */ lwc1 $f12, ($a2)
/* B457F0 800CE650 C4C4000C */ lwc1 $f4, 0xc($a2)
/* B457F4 800CE654 C4CE0004 */ lwc1 $f14, 4($a2)
/* B457F8 800CE658 C4C60010 */ lwc1 $f6, 0x10($a2)
/* B457FC 800CE65C 460C2481 */ sub.s $f18, $f4, $f12
/* B45800 800CE660 C4D00008 */ lwc1 $f16, 8($a2)
/* B45804 800CE664 C4C80014 */ lwc1 $f8, 0x14($a2)
/* B45808 800CE668 460E3501 */ sub.s $f20, $f6, $f14
/* B4580C 800CE66C 46129282 */ mul.s $f10, $f18, $f18
/* B45810 800CE670 3C018014 */ lui $at, %hi(D_8014653C)
/* B45814 800CE674 46104581 */ sub.s $f22, $f8, $f16
/* B45818 800CE678 4614A102 */ mul.s $f4, $f20, $f20
/* B4581C 800CE67C 00001025 */ move $v0, $zero
/* B45820 800CE680 4616B202 */ mul.s $f8, $f22, $f22
/* B45824 800CE684 46045180 */ add.s $f6, $f10, $f4
/* B45828 800CE688 C42A653C */ lwc1 $f10, %lo(D_8014653C)($at)
/* B4582C 800CE68C 46083080 */ add.s $f2, $f6, $f8
/* B45830 800CE690 46001005 */ abs.s $f0, $f2
/* B45834 800CE694 460A003C */ c.lt.s $f0, $f10
/* B45838 800CE698 00000000 */ nop
/* B4583C 800CE69C 45020004 */ bc1fl .L800CE6B0
/* B45840 800CE6A0 848E0000 */ lh $t6, ($a0)
/* B45844 800CE6A4 10000052 */ b .L800CE7F0
/* B45848 800CE6A8 8FBF0024 */ lw $ra, 0x24($sp)
/* B4584C 800CE6AC 848E0000 */ lh $t6, ($a0)
.L800CE6B0:
/* B45850 800CE6B0 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B45854 800CE6B4 448E2000 */ mtc1 $t6, $f4
/* B45858 800CE6B8 00000000 */ nop
/* B4585C 800CE6BC 468021A0 */ cvt.s.w $f6, $f4
/* B45860 800CE6C0 E7A60030 */ swc1 $f6, 0x30($sp)
/* B45864 800CE6C4 848F0002 */ lh $t7, 2($a0)
/* B45868 800CE6C8 448F4000 */ mtc1 $t7, $f8
/* B4586C 800CE6CC 00000000 */ nop
/* B45870 800CE6D0 468042A0 */ cvt.s.w $f10, $f8
/* B45874 800CE6D4 C7A80030 */ lwc1 $f8, 0x30($sp)
/* B45878 800CE6D8 E7AA002C */ swc1 $f10, 0x2c($sp)
/* B4587C 800CE6DC 84980004 */ lh $t8, 4($a0)
/* B45880 800CE6E0 460C4281 */ sub.s $f10, $f8, $f12
/* B45884 800CE6E4 44982000 */ mtc1 $t8, $f4
/* B45888 800CE6E8 00000000 */ nop
/* B4588C 800CE6EC 468021A0 */ cvt.s.w $f6, $f4
/* B45890 800CE6F0 46125102 */ mul.s $f4, $f10, $f18
/* B45894 800CE6F4 E7A60028 */ swc1 $f6, 0x28($sp)
/* B45898 800CE6F8 C7A6002C */ lwc1 $f6, 0x2c($sp)
/* B4589C 800CE6FC 460E3201 */ sub.s $f8, $f6, $f14
/* B458A0 800CE700 46144282 */ mul.s $f10, $f8, $f20
/* B458A4 800CE704 C7A80028 */ lwc1 $f8, 0x28($sp)
/* B458A8 800CE708 460A2180 */ add.s $f6, $f4, $f10
/* B458AC 800CE70C 46104101 */ sub.s $f4, $f8, $f16
/* B458B0 800CE710 46162282 */ mul.s $f10, $f4, $f22
/* B458B4 800CE714 44802000 */ mtc1 $zero, $f4
/* B458B8 800CE718 460A3200 */ add.s $f8, $f6, $f10
/* B458BC 800CE71C 46024003 */ div.s $f0, $f8, $f2
/* B458C0 800CE720 4604003C */ c.lt.s $f0, $f4
/* B458C4 800CE724 00000000 */ nop
/* B458C8 800CE728 45010008 */ bc1t .L800CE74C
/* B458CC 800CE72C 00000000 */ nop
/* B458D0 800CE730 44813000 */ mtc1 $at, $f6
/* B458D4 800CE734 E7AC0040 */ swc1 $f12, 0x40($sp)
/* B458D8 800CE738 E7AE003C */ swc1 $f14, 0x3c($sp)
/* B458DC 800CE73C 4600303C */ c.lt.s $f6, $f0
/* B458E0 800CE740 E7B00038 */ swc1 $f16, 0x38($sp)
/* B458E4 800CE744 45000003 */ bc1f .L800CE754
/* B458E8 800CE748 00000000 */ nop
.L800CE74C:
/* B458EC 800CE74C 10000027 */ b .L800CE7EC
/* B458F0 800CE750 00001025 */ move $v0, $zero
.L800CE754:
/* B458F4 800CE754 46009282 */ mul.s $f10, $f18, $f0
/* B458F8 800CE758 C7A80040 */ lwc1 $f8, 0x40($sp)
/* B458FC 800CE75C 3C018017 */ lui $at, %hi(D_8016A6C8)
/* B45900 800CE760 4600A182 */ mul.s $f6, $f20, $f0
/* B45904 800CE764 00001025 */ move $v0, $zero
/* B45908 800CE768 46085100 */ add.s $f4, $f10, $f8
/* B4590C 800CE76C C7AA003C */ lwc1 $f10, 0x3c($sp)
/* B45910 800CE770 460A3200 */ add.s $f8, $f6, $f10
/* B45914 800CE774 4600B182 */ mul.s $f6, $f22, $f0
/* B45918 800CE778 C7AA0038 */ lwc1 $f10, 0x38($sp)
/* B4591C 800CE77C E424A6C8 */ swc1 $f4, %lo(D_8016A6C8)($at)
/* B45920 800CE780 E428A6CC */ swc1 $f8, %lo(D_8016A6CC)($at)
/* B45924 800CE784 3C018017 */ lui $at, %hi(D_8016A6D0)
/* B45928 800CE788 460A3180 */ add.s $f6, $f6, $f10
/* B4592C 800CE78C E426A6D0 */ swc1 $f6, %lo(D_8016A6D0)($at)
/* B45930 800CE790 84990006 */ lh $t9, 6($a0)
/* B45934 800CE794 44995000 */ mtc1 $t9, $f10
/* B45938 800CE798 00000000 */ nop
/* B4593C 800CE79C 468050A0 */ cvt.s.w $f2, $f10
/* B45940 800CE7A0 C7AA0030 */ lwc1 $f10, 0x30($sp)
/* B45944 800CE7A4 460A2301 */ sub.s $f12, $f4, $f10
/* B45948 800CE7A8 C7A4002C */ lwc1 $f4, 0x2c($sp)
/* B4594C 800CE7AC C7AA0028 */ lwc1 $f10, 0x28($sp)
/* B45950 800CE7B0 46044381 */ sub.s $f14, $f8, $f4
/* B45954 800CE7B4 46021202 */ mul.s $f8, $f2, $f2
/* B45958 800CE7B8 460A3401 */ sub.s $f16, $f6, $f10
/* B4595C 800CE7BC 460C6102 */ mul.s $f4, $f12, $f12
/* B45960 800CE7C0 00000000 */ nop
/* B45964 800CE7C4 460E7182 */ mul.s $f6, $f14, $f14
/* B45968 800CE7C8 46062280 */ add.s $f10, $f4, $f6
/* B4596C 800CE7CC 46108102 */ mul.s $f4, $f16, $f16
/* B45970 800CE7D0 46045180 */ add.s $f6, $f10, $f4
/* B45974 800CE7D4 4608303E */ c.le.s $f6, $f8
/* B45978 800CE7D8 00000000 */ nop
/* B4597C 800CE7DC 45000003 */ bc1f .L800CE7EC
/* B45980 800CE7E0 00000000 */ nop
/* B45984 800CE7E4 10000001 */ b .L800CE7EC
/* B45988 800CE7E8 24020001 */ li $v0, 1
.L800CE7EC:
/* B4598C 800CE7EC 8FBF0024 */ lw $ra, 0x24($sp)
.L800CE7F0:
/* B45990 800CE7F0 D7B40010 */ ldc1 $f20, 0x10($sp)
/* B45994 800CE7F4 D7B60018 */ ldc1 $f22, 0x18($sp)
/* B45998 800CE7F8 03E00008 */ jr $ra
/* B4599C 800CE7FC 27BD0058 */ addiu $sp, $sp, 0x58
glabel func_800CE800
/* B459A0 800CE800 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B459A4 800CE804 AFBF0014 */ sw $ra, 0x14($sp)
/* B459A8 800CE808 AFA40018 */ sw $a0, 0x18($sp)
/* B459AC 800CE80C AFA60020 */ sw $a2, 0x20($sp)
/* B459B0 800CE810 C4A60000 */ lwc1 $f6, ($a1)
/* B459B4 800CE814 C4A4000C */ lwc1 $f4, 0xc($a1)
/* B459B8 800CE818 3C013F00 */ li $at, 0x3F000000 # 0.000000
/* B459BC 800CE81C 44810000 */ mtc1 $at, $f0
/* B459C0 800CE820 46062200 */ add.s $f8, $f4, $f6
/* B459C4 800CE824 3C018017 */ lui $at, %hi(D_8016A6D8)
/* B459C8 800CE828 46004282 */ mul.s $f10, $f8, $f0
/* B459CC 800CE82C E42AA6D8 */ swc1 $f10, %lo(D_8016A6D8)($at)
/* B459D0 800CE830 C4B20004 */ lwc1 $f18, 4($a1)
/* B459D4 800CE834 C4B00010 */ lwc1 $f16, 0x10($a1)
/* B459D8 800CE838 46128100 */ add.s $f4, $f16, $f18
/* B459DC 800CE83C 46002182 */ mul.s $f6, $f4, $f0
/* B459E0 800CE840 E426A6DC */ swc1 $f6, %lo(D_8016A6DC)($at)
/* B459E4 800CE844 C4AA0008 */ lwc1 $f10, 8($a1)
/* B459E8 800CE848 C4A80014 */ lwc1 $f8, 0x14($a1)
/* B459EC 800CE84C 3C018017 */ lui $at, %hi(D_8016A6E0)
/* B459F0 800CE850 3C058017 */ lui $a1, %hi(D_8016A6E8) # $a1, 0x8017
/* B459F4 800CE854 460A4400 */ add.s $f16, $f8, $f10
/* B459F8 800CE858 24A5A6E8 */ addiu $a1, %lo(D_8016A6E8) # addiu $a1, $a1, -0x5918
/* B459FC 800CE85C 46008482 */ mul.s $f18, $f16, $f0
/* B45A00 800CE860 E432A6E0 */ swc1 $f18, %lo(D_8016A6E0)($at)
/* B45A04 800CE864 848F0000 */ lh $t7, ($a0)
/* B45A08 800CE868 3C018017 */ lui $at, %hi(D_8016A6E8)
/* B45A0C 800CE86C 448F2000 */ mtc1 $t7, $f4
/* B45A10 800CE870 00000000 */ nop
/* B45A14 800CE874 468021A0 */ cvt.s.w $f6, $f4
/* B45A18 800CE878 E426A6E8 */ swc1 $f6, %lo(D_8016A6E8)($at)
/* B45A1C 800CE87C 84980002 */ lh $t8, 2($a0)
/* B45A20 800CE880 44984000 */ mtc1 $t8, $f8
/* B45A24 800CE884 00000000 */ nop
/* B45A28 800CE888 468042A0 */ cvt.s.w $f10, $f8
/* B45A2C 800CE88C E42AA6EC */ swc1 $f10, %lo(D_8016A6EC)($at)
/* B45A30 800CE890 84990004 */ lh $t9, 4($a0)
/* B45A34 800CE894 3C018017 */ lui $at, %hi(D_8016A6F0)
/* B45A38 800CE898 3C048017 */ lui $a0, %hi(D_8016A6D8)
/* B45A3C 800CE89C 44998000 */ mtc1 $t9, $f16
/* B45A40 800CE8A0 2484A6D8 */ addiu $a0, %lo(D_8016A6D8)
/* B45A44 800CE8A4 468084A0 */ cvt.s.w $f18, $f16
/* B45A48 800CE8A8 0C032D9E */ jal func_800CB678
/* B45A4C 800CE8AC E432A6F0 */ swc1 $f18, %lo(D_8016A6F0)($at)
/* B45A50 800CE8B0 3C018014 */ lui $at, %hi(D_80146540)
/* B45A54 800CE8B4 C4246540 */ lwc1 $f4, %lo(D_80146540)($at)
/* B45A58 800CE8B8 46000086 */ mov.s $f2, $f0
/* B45A5C 800CE8BC 46000005 */ abs.s $f0, $f0
/* B45A60 800CE8C0 8FA70020 */ lw $a3, 0x20($sp)
/* B45A64 800CE8C4 4604003C */ c.lt.s $f0, $f4
/* B45A68 800CE8C8 3C018017 */ lui $at, %hi(D_8016A6E8)
/* B45A6C 800CE8CC 8FA80018 */ lw $t0, 0x18($sp)
/* B45A70 800CE8D0 4502000A */ bc1fl .L800CE8FC
/* B45A74 800CE8D4 85090006 */ lh $t1, 6($t0)
/* B45A78 800CE8D8 C426A6E8 */ lwc1 $f6, %lo(D_8016A6E8)($at)
/* B45A7C 800CE8DC E4E60000 */ swc1 $f6, ($a3)
/* B45A80 800CE8E0 C428A6EC */ lwc1 $f8, %lo(D_8016A6EC)($at)
/* B45A84 800CE8E4 3C018017 */ lui $at, %hi(D_8016A6F0)
/* B45A88 800CE8E8 E4E80004 */ swc1 $f8, 4($a3)
/* B45A8C 800CE8EC C42AA6F0 */ lwc1 $f10, %lo(D_8016A6F0)($at)
/* B45A90 800CE8F0 1000000C */ b .L800CE924
/* B45A94 800CE8F4 E4EA0008 */ swc1 $f10, 8($a3)
/* B45A98 800CE8F8 85090006 */ lh $t1, 6($t0)
.L800CE8FC:
/* B45A9C 800CE8FC 3C048017 */ lui $a0, %hi(D_8016A6E8) # $a0, 0x8017
/* B45AA0 800CE900 3C058017 */ lui $a1, %hi(D_8016A6D8)
/* B45AA4 800CE904 44898000 */ mtc1 $t1, $f16
/* B45AA8 800CE908 24A5A6D8 */ addiu $a1, %lo(D_8016A6D8)
/* B45AAC 800CE90C 2484A6E8 */ addiu $a0, %lo(D_8016A6E8) # addiu $a0, $a0, -0x5918
/* B45AB0 800CE910 468084A0 */ cvt.s.w $f18, $f16
/* B45AB4 800CE914 46029003 */ div.s $f0, $f18, $f2
/* B45AB8 800CE918 44060000 */ mfc1 $a2, $f0
/* B45ABC 800CE91C 0C032BE8 */ jal func_800CAFA0
/* B45AC0 800CE920 00000000 */ nop
.L800CE924:
/* B45AC4 800CE924 8FBF0014 */ lw $ra, 0x14($sp)
/* B45AC8 800CE928 27BD0018 */ addiu $sp, $sp, 0x18
/* B45ACC 800CE92C 03E00008 */ jr $ra
/* B45AD0 800CE930 00000000 */ nop
glabel func_800CE934
/* B45AD4 800CE934 27BDFFB0 */ addiu $sp, $sp, -0x50
/* B45AD8 800CE938 AFBF002C */ sw $ra, 0x2c($sp)
/* B45ADC 800CE93C AFB10028 */ sw $s1, 0x28($sp)
/* B45AE0 800CE940 AFB00024 */ sw $s0, 0x24($sp)
/* B45AE4 800CE944 AFA60058 */ sw $a2, 0x58($sp)
/* B45AE8 800CE948 848E0000 */ lh $t6, ($a0)
/* B45AEC 800CE94C 3C018017 */ lui $at, %hi(D_8016A710)
/* B45AF0 800CE950 00A08025 */ move $s0, $a1
/* B45AF4 800CE954 448E2000 */ mtc1 $t6, $f4
/* B45AF8 800CE958 00808825 */ move $s1, $a0
/* B45AFC 800CE95C 26060018 */ addiu $a2, $s0, 0x18
/* B45B00 800CE960 468021A0 */ cvt.s.w $f6, $f4
/* B45B04 800CE964 3C078017 */ lui $a3, %hi(D_8016A710) # $a3, 0x8017
/* B45B08 800CE968 24E7A710 */ addiu $a3, %lo(D_8016A710) # addiu $a3, $a3, -0x58f0
/* B45B0C 800CE96C E426A710 */ swc1 $f6, %lo(D_8016A710)($at)
/* B45B10 800CE970 848F0002 */ lh $t7, 2($a0)
/* B45B14 800CE974 448F4000 */ mtc1 $t7, $f8
/* B45B18 800CE978 00000000 */ nop
/* B45B1C 800CE97C 468042A0 */ cvt.s.w $f10, $f8
/* B45B20 800CE980 E42AA714 */ swc1 $f10, %lo(D_8016A714)($at)
/* B45B24 800CE984 84980004 */ lh $t8, 4($a0)
/* B45B28 800CE988 3C018017 */ lui $at, %hi(D_8016A718)
/* B45B2C 800CE98C 44982000 */ mtc1 $t8, $f4
/* B45B30 800CE990 00000000 */ nop
/* B45B34 800CE994 468021A0 */ cvt.s.w $f6, $f4
/* B45B38 800CE998 E426A718 */ swc1 $f6, %lo(D_8016A718)($at)
/* B45B3C 800CE99C 84990006 */ lh $t9, 6($a0)
/* B45B40 800CE9A0 00A02025 */ move $a0, $a1
/* B45B44 800CE9A4 24A5000C */ addiu $a1, $a1, 0xc
/* B45B48 800CE9A8 44994000 */ mtc1 $t9, $f8
/* B45B4C 800CE9AC AFA50038 */ sw $a1, 0x38($sp)
/* B45B50 800CE9B0 AFA60034 */ sw $a2, 0x34($sp)
/* B45B54 800CE9B4 46804020 */ cvt.s.w $f0, $f8
/* B45B58 800CE9B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* B45B5C 800CE9BC 0C032CCE */ jal func_800CB338
/* B45B60 800CE9C0 E7A0004C */ swc1 $f0, 0x4c($sp)
/* B45B64 800CE9C4 14400003 */ bnez $v0, .L800CE9D4
/* B45B68 800CE9C8 3C088017 */ lui $t0, %hi(D_8016A710) # $t0, 0x8017
/* B45B6C 800CE9CC 100000DB */ b .L800CED3C
/* B45B70 800CE9D0 00001025 */ move $v0, $zero
.L800CE9D4:
/* B45B74 800CE9D4 C60C0024 */ lwc1 $f12, 0x24($s0)
/* B45B78 800CE9D8 C60E0028 */ lwc1 $f14, 0x28($s0)
/* B45B7C 800CE9DC 8E06002C */ lw $a2, 0x2c($s0)
/* B45B80 800CE9E0 8E070030 */ lw $a3, 0x30($s0)
/* B45B84 800CE9E4 2508A710 */ addiu $t0, %lo(D_8016A710) # addiu $t0, $t0, -0x58f0
/* B45B88 800CE9E8 0C03328F */ jal func_800CCA3C
/* B45B8C 800CE9EC AFA80010 */ sw $t0, 0x10($sp)
/* B45B90 800CE9F0 C7AA004C */ lwc1 $f10, 0x4c($sp)
/* B45B94 800CE9F4 E7A0003C */ swc1 $f0, 0x3c($sp)
/* B45B98 800CE9F8 4600503C */ c.lt.s $f10, $f0
/* B45B9C 800CE9FC 00000000 */ nop
/* B45BA0 800CEA00 45020004 */ bc1fl .L800CEA14
/* B45BA4 800CEA04 8E0A0000 */ lw $t2, ($s0)
/* B45BA8 800CEA08 100000CC */ b .L800CED3C
/* B45BAC 800CEA0C 00001025 */ move $v0, $zero
/* B45BB0 800CEA10 8E0A0000 */ lw $t2, ($s0)
.L800CEA14:
/* B45BB4 800CEA14 3C058017 */ lui $a1, %hi(D_8016A6F8) # $a1, 0x8017
/* B45BB8 800CEA18 24A5A6F8 */ addiu $a1, %lo(D_8016A6F8) # addiu $a1, $a1, -0x5908
/* B45BBC 800CEA1C ACAA0000 */ sw $t2, ($a1)
/* B45BC0 800CEA20 8E090004 */ lw $t1, 4($s0)
/* B45BC4 800CEA24 8FAC0038 */ lw $t4, 0x38($sp)
/* B45BC8 800CEA28 3C0B8017 */ lui $t3, %hi(D_8016A704) # $t3, 0x8017
/* B45BCC 800CEA2C ACA90004 */ sw $t1, 4($a1)
/* B45BD0 800CEA30 8E0A0008 */ lw $t2, 8($s0)
/* B45BD4 800CEA34 256BA704 */ addiu $t3, %lo(D_8016A704) # addiu $t3, $t3, -0x58fc
/* B45BD8 800CEA38 02202025 */ move $a0, $s1
/* B45BDC 800CEA3C ACAA0008 */ sw $t2, 8($a1)
/* B45BE0 800CEA40 8D8E0000 */ lw $t6, ($t4)
/* B45BE4 800CEA44 AD6E0000 */ sw $t6, ($t3)
/* B45BE8 800CEA48 8D8D0004 */ lw $t5, 4($t4)
/* B45BEC 800CEA4C AD6D0004 */ sw $t5, 4($t3)
/* B45BF0 800CEA50 8D8E0008 */ lw $t6, 8($t4)
/* B45BF4 800CEA54 0C033980 */ jal func_800CE600
/* B45BF8 800CEA58 AD6E0008 */ sw $t6, 8($t3)
/* B45BFC 800CEA5C 3C058017 */ lui $a1, %hi(D_8016A6F8) # $a1, 0x8017
/* B45C00 800CEA60 10400007 */ beqz $v0, .L800CEA80
/* B45C04 800CEA64 24A5A6F8 */ addiu $a1, %lo(D_8016A6F8) # addiu $a1, $a1, -0x5908
/* B45C08 800CEA68 02202025 */ move $a0, $s1
/* B45C0C 800CEA6C 02002825 */ move $a1, $s0
/* B45C10 800CEA70 0C033A00 */ jal func_800CE800
/* B45C14 800CEA74 8FA60058 */ lw $a2, 0x58($sp)
/* B45C18 800CEA78 100000B0 */ b .L800CED3C
/* B45C1C 800CEA7C 24020001 */ li $v0, 1
.L800CEA80:
/* B45C20 800CEA80 8FAF0038 */ lw $t7, 0x38($sp)
/* B45C24 800CEA84 8FA90034 */ lw $t1, 0x34($sp)
/* B45C28 800CEA88 3C088017 */ lui $t0, %hi(D_8016A704) # $t0, 0x8017
/* B45C2C 800CEA8C 8DF90000 */ lw $t9, ($t7)
/* B45C30 800CEA90 2508A704 */ addiu $t0, %lo(D_8016A704) # addiu $t0, $t0, -0x58fc
/* B45C34 800CEA94 02202025 */ move $a0, $s1
/* B45C38 800CEA98 ACB90000 */ sw $t9, ($a1)
/* B45C3C 800CEA9C 8DF80004 */ lw $t8, 4($t7)
/* B45C40 800CEAA0 ACB80004 */ sw $t8, 4($a1)
/* B45C44 800CEAA4 8DF90008 */ lw $t9, 8($t7)
/* B45C48 800CEAA8 ACB90008 */ sw $t9, 8($a1)
/* B45C4C 800CEAAC 8D2B0000 */ lw $t3, ($t1)
/* B45C50 800CEAB0 AD0B0000 */ sw $t3, ($t0)
/* B45C54 800CEAB4 8D2A0004 */ lw $t2, 4($t1)
/* B45C58 800CEAB8 AD0A0004 */ sw $t2, 4($t0)
/* B45C5C 800CEABC 8D2B0008 */ lw $t3, 8($t1)
/* B45C60 800CEAC0 0C033980 */ jal func_800CE600
/* B45C64 800CEAC4 AD0B0008 */ sw $t3, 8($t0)
/* B45C68 800CEAC8 3C058017 */ lui $a1, %hi(D_8016A6F8) # $a1, 0x8017
/* B45C6C 800CEACC 10400007 */ beqz $v0, .L800CEAEC
/* B45C70 800CEAD0 24A5A6F8 */ addiu $a1, %lo(D_8016A6F8) # addiu $a1, $a1, -0x5908
/* B45C74 800CEAD4 02202025 */ move $a0, $s1
/* B45C78 800CEAD8 02002825 */ move $a1, $s0
/* B45C7C 800CEADC 0C033A00 */ jal func_800CE800
/* B45C80 800CEAE0 8FA60058 */ lw $a2, 0x58($sp)
/* B45C84 800CEAE4 10000095 */ b .L800CED3C
/* B45C88 800CEAE8 24020001 */ li $v0, 1
.L800CEAEC:
/* B45C8C 800CEAEC 8FAC0034 */ lw $t4, 0x34($sp)
/* B45C90 800CEAF0 3C0F8017 */ lui $t7, %hi(D_8016A704) # $t7, 0x8017
/* B45C94 800CEAF4 25EFA704 */ addiu $t7, %lo(D_8016A704) # addiu $t7, $t7, -0x58fc
/* B45C98 800CEAF8 8D8E0000 */ lw $t6, ($t4)
/* B45C9C 800CEAFC 02202025 */ move $a0, $s1
/* B45CA0 800CEB00 ACAE0000 */ sw $t6, ($a1)
/* B45CA4 800CEB04 8D8D0004 */ lw $t5, 4($t4)
/* B45CA8 800CEB08 ACAD0004 */ sw $t5, 4($a1)
/* B45CAC 800CEB0C 8D8E0008 */ lw $t6, 8($t4)
/* B45CB0 800CEB10 ACAE0008 */ sw $t6, 8($a1)
/* B45CB4 800CEB14 8E190000 */ lw $t9, ($s0)
/* B45CB8 800CEB18 ADF90000 */ sw $t9, ($t7)
/* B45CBC 800CEB1C 8E180004 */ lw $t8, 4($s0)
/* B45CC0 800CEB20 ADF80004 */ sw $t8, 4($t7)
/* B45CC4 800CEB24 8E190008 */ lw $t9, 8($s0)
/* B45CC8 800CEB28 0C033980 */ jal func_800CE600
/* B45CCC 800CEB2C ADF90008 */ sw $t9, 8($t7)
/* B45CD0 800CEB30 10400007 */ beqz $v0, .L800CEB50
/* B45CD4 800CEB34 C7A4003C */ lwc1 $f4, 0x3c($sp)
/* B45CD8 800CEB38 02202025 */ move $a0, $s1
/* B45CDC 800CEB3C 02002825 */ move $a1, $s0
/* B45CE0 800CEB40 0C033A00 */ jal func_800CE800
/* B45CE4 800CEB44 8FA60058 */ lw $a2, 0x58($sp)
/* B45CE8 800CEB48 1000007C */ b .L800CED3C
/* B45CEC 800CEB4C 24020001 */ li $v0, 1
.L800CEB50:
/* B45CF0 800CEB50 C60C0024 */ lwc1 $f12, 0x24($s0)
/* B45CF4 800CEB54 C60E0028 */ lwc1 $f14, 0x28($s0)
/* B45CF8 800CEB58 C600002C */ lwc1 $f0, 0x2c($s0)
/* B45CFC 800CEB5C 46046082 */ mul.s $f2, $f12, $f4
/* B45D00 800CEB60 8E070030 */ lw $a3, 0x30($s0)
/* B45D04 800CEB64 3C088017 */ lui $t0, %hi(D_8016A710)
/* B45D08 800CEB68 46047402 */ mul.s $f16, $f14, $f4
/* B45D0C 800CEB6C 2508A710 */ addiu $t0, %lo(D_8016A710) # addiu $t0, $t0, -0x58f0
/* B45D10 800CEB70 44060000 */ mfc1 $a2, $f0
/* B45D14 800CEB74 46040482 */ mul.s $f18, $f0, $f4
/* B45D18 800CEB78 AFA80010 */ sw $t0, 0x10($sp)
/* B45D1C 800CEB7C E7A20048 */ swc1 $f2, 0x48($sp)
/* B45D20 800CEB80 E7B00044 */ swc1 $f16, 0x44($sp)
/* B45D24 800CEB84 0C033272 */ jal func_800CC9C8
/* B45D28 800CEB88 E7B20040 */ swc1 $f18, 0x40($sp)
/* B45D2C 800CEB8C 44803000 */ mtc1 $zero, $f6
/* B45D30 800CEB90 C7A20048 */ lwc1 $f2, 0x48($sp)
/* B45D34 800CEB94 C7B00044 */ lwc1 $f16, 0x44($sp)
/* B45D38 800CEB98 4600303C */ c.lt.s $f6, $f0
/* B45D3C 800CEB9C C7B20040 */ lwc1 $f18, 0x40($sp)
/* B45D40 800CEBA0 3C018017 */ lui $at, %hi(D_8016A710)
/* B45D44 800CEBA4 02002025 */ move $a0, $s0
/* B45D48 800CEBA8 45000011 */ bc1f .L800CEBF0
/* B45D4C 800CEBAC 3C078017 */ lui $a3, %hi(D_8016A728) # $a3, 0x8017
/* B45D50 800CEBB0 3C018017 */ lui $at, %hi(D_8016A710)
/* B45D54 800CEBB4 C428A710 */ lwc1 $f8, %lo(D_8016A710)($at)
/* B45D58 800CEBB8 3C018017 */ lui $at, %hi(D_8016A720)
/* B45D5C 800CEBBC 46024281 */ sub.s $f10, $f8, $f2
/* B45D60 800CEBC0 E42AA720 */ swc1 $f10, %lo(D_8016A720)($at)
/* B45D64 800CEBC4 3C018017 */ lui $at, %hi(D_8016A714)
/* B45D68 800CEBC8 C424A714 */ lwc1 $f4, %lo(D_8016A714)($at)
/* B45D6C 800CEBCC 3C018017 */ lui $at, %hi(D_8016A724)
/* B45D70 800CEBD0 46102181 */ sub.s $f6, $f4, $f16
/* B45D74 800CEBD4 E426A724 */ swc1 $f6, %lo(D_8016A724)($at)
/* B45D78 800CEBD8 3C018017 */ lui $at, %hi(D_8016A718)
/* B45D7C 800CEBDC C428A718 */ lwc1 $f8, %lo(D_8016A718)($at)
/* B45D80 800CEBE0 3C018017 */ lui $at, %hi(D_8016A728)
/* B45D84 800CEBE4 46124281 */ sub.s $f10, $f8, $f18
/* B45D88 800CEBE8 1000000F */ b .L800CEC28
/* B45D8C 800CEBEC E42AA728 */ swc1 $f10, %lo(D_8016A728)($at)
.L800CEBF0:
/* B45D90 800CEBF0 C424A710 */ lwc1 $f4, %lo(D_8016A710)($at)
/* B45D94 800CEBF4 3C018017 */ lui $at, %hi(D_8016A720)
/* B45D98 800CEBF8 46022180 */ add.s $f6, $f4, $f2
/* B45D9C 800CEBFC E426A720 */ swc1 $f6, %lo(D_8016A720)($at)
/* B45DA0 800CEC00 3C018017 */ lui $at, %hi(D_8016A714)
/* B45DA4 800CEC04 C428A714 */ lwc1 $f8, %lo(D_8016A714)($at)
/* B45DA8 800CEC08 3C018017 */ lui $at, %hi(D_8016A724)
/* B45DAC 800CEC0C 46104280 */ add.s $f10, $f8, $f16
/* B45DB0 800CEC10 E42AA724 */ swc1 $f10, %lo(D_8016A724)($at)
/* B45DB4 800CEC14 3C018017 */ lui $at, %hi(D_8016A718)
/* B45DB8 800CEC18 C424A718 */ lwc1 $f4, %lo(D_8016A718)($at)
/* B45DBC 800CEC1C 3C018017 */ lui $at, %hi(D_8016A728)
/* B45DC0 800CEC20 46122180 */ add.s $f6, $f4, $f18
/* B45DC4 800CEC24 E426A728 */ swc1 $f6, %lo(D_8016A728)($at)
.L800CEC28:
/* B45DC8 800CEC28 C60E0028 */ lwc1 $f14, 0x28($s0)
/* B45DCC 800CEC2C 3C013F00 */ li $at, 0x3F000000 # 0.000000
/* B45DD0 800CEC30 44811000 */ mtc1 $at, $f2
/* B45DD4 800CEC34 46007005 */ abs.s $f0, $f14
/* B45DD8 800CEC38 3C018017 */ lui $at, %hi(D_8016A720)
/* B45DDC 800CEC3C 4600103C */ c.lt.s $f2, $f0
/* B45DE0 800CEC40 8FA50038 */ lw $a1, 0x38($sp)
/* B45DE4 800CEC44 8FA60034 */ lw $a2, 0x34($sp)
/* B45DE8 800CEC48 45020010 */ bc1fl .L800CEC8C
/* B45DEC 800CEC4C C60C0024 */ lwc1 $f12, 0x24($s0)
/* B45DF0 800CEC50 C428A720 */ lwc1 $f8, %lo(D_8016A720)($at)
/* B45DF4 800CEC54 44805000 */ mtc1 $zero, $f10
/* B45DF8 800CEC58 8CE7A728 */ lw $a3, %lo(D_8016A728)($a3)
/* B45DFC 800CEC5C E7AE0018 */ swc1 $f14, 0x18($sp)
/* B45E00 800CEC60 E7A80010 */ swc1 $f8, 0x10($sp)
/* B45E04 800CEC64 0C0333C0 */ jal func_800CCF00
/* B45E08 800CEC68 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B45E0C 800CEC6C 10400032 */ beqz $v0, .L800CED38
/* B45E10 800CEC70 02202025 */ move $a0, $s1
/* B45E14 800CEC74 02002825 */ move $a1, $s0
/* B45E18 800CEC78 0C033A00 */ jal func_800CE800
/* B45E1C 800CEC7C 8FA60058 */ lw $a2, 0x58($sp)
/* B45E20 800CEC80 1000002E */ b .L800CED3C
/* B45E24 800CEC84 24020001 */ li $v0, 1
/* B45E28 800CEC88 C60C0024 */ lwc1 $f12, 0x24($s0)
.L800CEC8C:
/* B45E2C 800CEC8C 3C078017 */ lui $a3, %hi(D_8016A724) # $a3, 0x8017
/* B45E30 800CEC90 02002025 */ move $a0, $s0
/* B45E34 800CEC94 46006005 */ abs.s $f0, $f12
/* B45E38 800CEC98 8FA50038 */ lw $a1, 0x38($sp)
/* B45E3C 800CEC9C 4600103C */ c.lt.s $f2, $f0
/* B45E40 800CECA0 8FA60034 */ lw $a2, 0x34($sp)
/* B45E44 800CECA4 3C018017 */ lui $at, %hi(D_8016A724)
/* B45E48 800CECA8 45000013 */ bc1f .L800CECF8
/* B45E4C 800CECAC 00000000 */ nop
/* B45E50 800CECB0 3C018017 */ lui $at, %hi(D_8016A728)
/* B45E54 800CECB4 C424A728 */ lwc1 $f4, %lo(D_8016A728)($at)
/* B45E58 800CECB8 44803000 */ mtc1 $zero, $f6
/* B45E5C 800CECBC 02002025 */ move $a0, $s0
/* B45E60 800CECC0 8FA50038 */ lw $a1, 0x38($sp)
/* B45E64 800CECC4 8FA60034 */ lw $a2, 0x34($sp)
/* B45E68 800CECC8 8CE7A724 */ lw $a3, %lo(D_8016A724)($a3)
/* B45E6C 800CECCC E7AC0018 */ swc1 $f12, 0x18($sp)
/* B45E70 800CECD0 E7A40010 */ swc1 $f4, 0x10($sp)
/* B45E74 800CECD4 0C03359A */ jal func_800CD668
/* B45E78 800CECD8 E7A60014 */ swc1 $f6, 0x14($sp)
/* B45E7C 800CECDC 10400016 */ beqz $v0, .L800CED38
/* B45E80 800CECE0 02202025 */ move $a0, $s1
/* B45E84 800CECE4 02002825 */ move $a1, $s0
/* B45E88 800CECE8 0C033A00 */ jal func_800CE800
/* B45E8C 800CECEC 8FA60058 */ lw $a2, 0x58($sp)
/* B45E90 800CECF0 10000012 */ b .L800CED3C
/* B45E94 800CECF4 24020001 */ li $v0, 1
.L800CECF8:
/* B45E98 800CECF8 C428A724 */ lwc1 $f8, %lo(D_8016A724)($at)
/* B45E9C 800CECFC 44805000 */ mtc1 $zero, $f10
/* B45EA0 800CED00 3C078017 */ lui $a3, %hi(D_8016A720) # $a3, 0x8017
/* B45EA4 800CED04 E7A80010 */ swc1 $f8, 0x10($sp)
/* B45EA8 800CED08 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B45EAC 800CED0C C604002C */ lwc1 $f4, 0x2c($s0)
/* B45EB0 800CED10 8CE7A720 */ lw $a3, %lo(D_8016A720)($a3)
/* B45EB4 800CED14 0C033746 */ jal func_800CDD18
/* B45EB8 800CED18 E7A40018 */ swc1 $f4, 0x18($sp)
/* B45EBC 800CED1C 10400006 */ beqz $v0, .L800CED38
/* B45EC0 800CED20 02202025 */ move $a0, $s1
/* B45EC4 800CED24 02002825 */ move $a1, $s0
/* B45EC8 800CED28 0C033A00 */ jal func_800CE800
/* B45ECC 800CED2C 8FA60058 */ lw $a2, 0x58($sp)
/* B45ED0 800CED30 10000002 */ b .L800CED3C
/* B45ED4 800CED34 24020001 */ li $v0, 1
.L800CED38:
/* B45ED8 800CED38 00001025 */ move $v0, $zero
.L800CED3C:
/* B45EDC 800CED3C 8FBF002C */ lw $ra, 0x2c($sp)
/* B45EE0 800CED40 8FB00024 */ lw $s0, 0x24($sp)
/* B45EE4 800CED44 8FB10028 */ lw $s1, 0x28($sp)
/* B45EE8 800CED48 03E00008 */ jr $ra
/* B45EEC 800CED4C 27BD0050 */ addiu $sp, $sp, 0x50
glabel func_800CED50
/* B45EF0 800CED50 848E0006 */ lh $t6, 6($a0)
/* B45EF4 800CED54 848F000A */ lh $t7, 0xa($a0)
/* B45EF8 800CED58 C4A80000 */ lwc1 $f8, ($a1)
/* B45EFC 800CED5C 448E2000 */ mtc1 $t6, $f4
/* B45F00 800CED60 448F5000 */ mtc1 $t7, $f10
/* B45F04 800CED64 84820000 */ lh $v0, ($a0)
/* B45F08 800CED68 468021A0 */ cvt.s.w $f6, $f4
/* B45F0C 800CED6C 84980008 */ lh $t8, 8($a0)
/* B45F10 800CED70 84990004 */ lh $t9, 4($a0)
/* B45F14 800CED74 00420019 */ multu $v0, $v0
/* B45F18 800CED78 44982000 */ mtc1 $t8, $f4
/* B45F1C 800CED7C 46805420 */ cvt.s.w $f16, $f10
/* B45F20 800CED80 C4B20008 */ lwc1 $f18, 8($a1)
/* B45F24 800CED84 84880002 */ lh $t0, 2($a0)
/* B45F28 800CED88 00001025 */ move $v0, $zero
/* B45F2C 800CED8C 46083001 */ sub.s $f0, $f6, $f8
/* B45F30 800CED90 44994000 */ mtc1 $t9, $f8
/* B45F34 800CED94 468021A0 */ cvt.s.w $f6, $f4
/* B45F38 800CED98 46000102 */ mul.s $f4, $f0, $f0
/* B45F3C 800CED9C 00004812 */ mflo $t1
/* B45F40 800CEDA0 46128081 */ sub.s $f2, $f16, $f18
/* B45F44 800CEDA4 44888000 */ mtc1 $t0, $f16
/* B45F48 800CEDA8 468042A0 */ cvt.s.w $f10, $f8
/* B45F4C 800CEDAC 46021202 */ mul.s $f8, $f2, $f2
/* B45F50 800CEDB0 460A3300 */ add.s $f12, $f6, $f10
/* B45F54 800CEDB4 44895000 */ mtc1 $t1, $f10
/* B45F58 800CEDB8 468084A0 */ cvt.s.w $f18, $f16
/* B45F5C 800CEDBC 46805420 */ cvt.s.w $f16, $f10
/* B45F60 800CEDC0 46082180 */ add.s $f6, $f4, $f8
/* B45F64 800CEDC4 460C9380 */ add.s $f14, $f18, $f12
/* B45F68 800CEDC8 4610303C */ c.lt.s $f6, $f16
/* B45F6C 800CEDCC 00000000 */ nop
/* B45F70 800CEDD0 4500000C */ bc1f .L800CEE04
/* B45F74 800CEDD4 00000000 */ nop
/* B45F78 800CEDD8 C4A00004 */ lwc1 $f0, 4($a1)
/* B45F7C 800CEDDC 4600603C */ c.lt.s $f12, $f0
/* B45F80 800CEDE0 00000000 */ nop
/* B45F84 800CEDE4 45000007 */ bc1f .L800CEE04
/* B45F88 800CEDE8 00000000 */ nop
/* B45F8C 800CEDEC 460E003C */ c.lt.s $f0, $f14
/* B45F90 800CEDF0 00000000 */ nop
/* B45F94 800CEDF4 45000003 */ bc1f .L800CEE04
/* B45F98 800CEDF8 00000000 */ nop
/* B45F9C 800CEDFC 03E00008 */ jr $ra
/* B45FA0 800CEE00 24020001 */ li $v0, 1
.L800CEE04:
/* B45FA4 800CEE04 03E00008 */ jr $ra
/* B45FA8 800CEE08 00000000 */ nop
glabel func_800CEE0C
/* B45FAC 800CEE0C 27BDFF08 */ addiu $sp, $sp, -0xf8
/* B45FB0 800CEE10 AFBF001C */ sw $ra, 0x1c($sp)
/* B45FB4 800CEE14 AFB00018 */ sw $s0, 0x18($sp)
/* B45FB8 800CEE18 00808025 */ move $s0, $a0
/* B45FBC 800CEE1C AFA500FC */ sw $a1, 0xfc($sp)
/* B45FC0 800CEE20 AFA60100 */ sw $a2, 0x100($sp)
/* B45FC4 800CEE24 AFA70104 */ sw $a3, 0x104($sp)
/* B45FC8 800CEE28 0C033B54 */ jal func_800CED50
/* B45FCC 800CEE2C AFA0009C */ sw $zero, 0x9c($sp)
/* B45FD0 800CEE30 8FA70100 */ lw $a3, 0x100($sp)
/* B45FD4 800CEE34 10400019 */ beqz $v0, .L800CEE9C
/* B45FD8 800CEE38 8FA8009C */ lw $t0, 0x9c($sp)
/* B45FDC 800CEE3C 02002025 */ move $a0, $s0
/* B45FE0 800CEE40 00E02825 */ move $a1, $a3
/* B45FE4 800CEE44 0C033B54 */ jal func_800CED50
/* B45FE8 800CEE48 AFA8009C */ sw $t0, 0x9c($sp)
/* B45FEC 800CEE4C 8FA70100 */ lw $a3, 0x100($sp)
/* B45FF0 800CEE50 10400012 */ beqz $v0, .L800CEE9C
/* B45FF4 800CEE54 8FA8009C */ lw $t0, 0x9c($sp)
/* B45FF8 800CEE58 8FB900FC */ lw $t9, 0xfc($sp)
/* B45FFC 800CEE5C 8FAF0104 */ lw $t7, 0x104($sp)
/* B46000 800CEE60 24020002 */ li $v0, 2
/* B46004 800CEE64 8F290000 */ lw $t1, ($t9)
/* B46008 800CEE68 ADE90000 */ sw $t1, ($t7)
/* B4600C 800CEE6C 8F380004 */ lw $t8, 4($t9)
/* B46010 800CEE70 ADF80004 */ sw $t8, 4($t7)
/* B46014 800CEE74 8F290008 */ lw $t1, 8($t9)
/* B46018 800CEE78 ADE90008 */ sw $t1, 8($t7)
/* B4601C 800CEE7C 8CEC0000 */ lw $t4, ($a3)
/* B46020 800CEE80 8FAA0108 */ lw $t2, 0x108($sp)
/* B46024 800CEE84 AD4C0000 */ sw $t4, ($t2)
/* B46028 800CEE88 8CEB0004 */ lw $t3, 4($a3)
/* B4602C 800CEE8C AD4B0004 */ sw $t3, 4($t2)
/* B46030 800CEE90 8CEC0008 */ lw $t4, 8($a3)
/* B46034 800CEE94 10000249 */ b .L800CF7BC
/* B46038 800CEE98 AD4C0008 */ sw $t4, 8($t2)
.L800CEE9C:
/* B4603C 800CEE9C 860D0006 */ lh $t5, 6($s0)
/* B46040 800CEEA0 8FA200FC */ lw $v0, 0xfc($sp)
/* B46044 800CEEA4 27A400E0 */ addiu $a0, $sp, 0xe0
/* B46048 800CEEA8 448D3000 */ mtc1 $t5, $f6
/* B4604C 800CEEAC C44A0000 */ lwc1 $f10, ($v0)
/* B46050 800CEEB0 27A500EC */ addiu $a1, $sp, 0xec
/* B46054 800CEEB4 46803220 */ cvt.s.w $f8, $f6
/* B46058 800CEEB8 27A600D4 */ addiu $a2, $sp, 0xd4
/* B4605C 800CEEBC 46085101 */ sub.s $f4, $f10, $f8
/* B46060 800CEEC0 E7A400EC */ swc1 $f4, 0xec($sp)
/* B46064 800CEEC4 860E0008 */ lh $t6, 8($s0)
/* B46068 800CEEC8 860F0004 */ lh $t7, 4($s0)
/* B4606C 800CEECC C4460004 */ lwc1 $f6, 4($v0)
/* B46070 800CEED0 448E5000 */ mtc1 $t6, $f10
/* B46074 800CEED4 00000000 */ nop
/* B46078 800CEED8 46805220 */ cvt.s.w $f8, $f10
/* B4607C 800CEEDC 448F5000 */ mtc1 $t7, $f10
/* B46080 800CEEE0 46083101 */ sub.s $f4, $f6, $f8
/* B46084 800CEEE4 468051A0 */ cvt.s.w $f6, $f10
/* B46088 800CEEE8 46062201 */ sub.s $f8, $f4, $f6
/* B4608C 800CEEEC E7A800F0 */ swc1 $f8, 0xf0($sp)
/* B46090 800CEEF0 8619000A */ lh $t9, 0xa($s0)
/* B46094 800CEEF4 C44A0008 */ lwc1 $f10, 8($v0)
/* B46098 800CEEF8 44992000 */ mtc1 $t9, $f4
/* B4609C 800CEEFC 00000000 */ nop
/* B460A0 800CEF00 468021A0 */ cvt.s.w $f6, $f4
/* B460A4 800CEF04 46065201 */ sub.s $f8, $f10, $f6
/* B460A8 800CEF08 E7A800F4 */ swc1 $f8, 0xf4($sp)
/* B460AC 800CEF0C 86180006 */ lh $t8, 6($s0)
/* B460B0 800CEF10 C4E40000 */ lwc1 $f4, ($a3)
/* B460B4 800CEF14 44985000 */ mtc1 $t8, $f10
/* B460B8 800CEF18 00000000 */ nop
/* B460BC 800CEF1C 468051A0 */ cvt.s.w $f6, $f10
/* B460C0 800CEF20 46062201 */ sub.s $f8, $f4, $f6
/* B460C4 800CEF24 E7A800E0 */ swc1 $f8, 0xe0($sp)
/* B460C8 800CEF28 86090008 */ lh $t1, 8($s0)
/* B460CC 800CEF2C 860A0004 */ lh $t2, 4($s0)
/* B460D0 800CEF30 C4EA0004 */ lwc1 $f10, 4($a3)
/* B460D4 800CEF34 44892000 */ mtc1 $t1, $f4
/* B460D8 800CEF38 00000000 */ nop
/* B460DC 800CEF3C 468021A0 */ cvt.s.w $f6, $f4
/* B460E0 800CEF40 448A2000 */ mtc1 $t2, $f4
/* B460E4 800CEF44 46065201 */ sub.s $f8, $f10, $f6
/* B460E8 800CEF48 468022A0 */ cvt.s.w $f10, $f4
/* B460EC 800CEF4C 460A4181 */ sub.s $f6, $f8, $f10
/* B460F0 800CEF50 E7A600E4 */ swc1 $f6, 0xe4($sp)
/* B460F4 800CEF54 860B000A */ lh $t3, 0xa($s0)
/* B460F8 800CEF58 C4E40008 */ lwc1 $f4, 8($a3)
/* B460FC 800CEF5C AFA8009C */ sw $t0, 0x9c($sp)
/* B46100 800CEF60 448B4000 */ mtc1 $t3, $f8
/* B46104 800CEF64 00000000 */ nop
/* B46108 800CEF68 468042A0 */ cvt.s.w $f10, $f8
/* B4610C 800CEF6C 460A2181 */ sub.s $f6, $f4, $f10
/* B46110 800CEF70 0C01DFB4 */ jal Math_Vec3f_Diff
/* B46114 800CEF74 E7A600E8 */ swc1 $f6, 0xe8($sp)
/* B46118 800CEF78 86020000 */ lh $v0, ($s0)
/* B4611C 800CEF7C C7A400D8 */ lwc1 $f4, 0xd8($sp)
/* B46120 800CEF80 3C018014 */ lui $at, %hi(D_80146544)
/* B46124 800CEF84 00420019 */ multu $v0, $v0
/* B46128 800CEF88 C42A6544 */ lwc1 $f10, %lo(D_80146544)($at)
/* B4612C 800CEF8C 46002005 */ abs.s $f0, $f4
/* B46130 800CEF90 8FA8009C */ lw $t0, 0x9c($sp)
/* B46134 800CEF94 460A003C */ c.lt.s $f0, $f10
/* B46138 800CEF98 C7A600F0 */ lwc1 $f6, 0xf0($sp)
/* B4613C 800CEF9C 00006012 */ mflo $t4
/* B46140 800CEFA0 448C4000 */ mtc1 $t4, $f8
/* B46144 800CEFA4 4501006D */ bc1t .L800CF15C
/* B46148 800CEFA8 468043A0 */ cvt.s.w $f14, $f8
/* B4614C 800CEFAC 46003207 */ neg.s $f8, $f6
/* B46150 800CEFB0 44805000 */ mtc1 $zero, $f10
/* B46154 800CEFB4 46044003 */ div.s $f0, $f8, $f4
/* B46158 800CEFB8 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B4615C 800CEFBC 4600503E */ c.le.s $f10, $f0
/* B46160 800CEFC0 00000000 */ nop
/* B46164 800CEFC4 4502002B */ bc1fl .L800CF074
/* B46168 800CEFC8 86180002 */ lh $t8, 2($s0)
/* B4616C 800CEFCC 44813000 */ mtc1 $at, $f6
/* B46170 800CEFD0 C7A800D4 */ lwc1 $f8, 0xd4($sp)
/* B46174 800CEFD4 4606003E */ c.le.s $f0, $f6
/* B46178 800CEFD8 C7A600DC */ lwc1 $f6, 0xdc($sp)
/* B4617C 800CEFDC 45020025 */ bc1fl .L800CF074
/* B46180 800CEFE0 86180002 */ lh $t8, 2($s0)
/* B46184 800CEFE4 46004102 */ mul.s $f4, $f8, $f0
/* B46188 800CEFE8 C7AA00EC */ lwc1 $f10, 0xec($sp)
/* B4618C 800CEFEC 46003202 */ mul.s $f8, $f6, $f0
/* B46190 800CEFF0 460A2080 */ add.s $f2, $f4, $f10
/* B46194 800CEFF4 C7A400F4 */ lwc1 $f4, 0xf4($sp)
/* B46198 800CEFF8 46044300 */ add.s $f12, $f8, $f4
/* B4619C 800CEFFC 46021282 */ mul.s $f10, $f2, $f2
/* B461A0 800CF000 00000000 */ nop
/* B461A4 800CF004 460C6182 */ mul.s $f6, $f12, $f12
/* B461A8 800CF008 46065200 */ add.s $f8, $f10, $f6
/* B461AC 800CF00C 460E403C */ c.lt.s $f8, $f14
/* B461B0 800CF010 00000000 */ nop
/* B461B4 800CF014 45000016 */ bc1f .L800CF070
/* B461B8 800CF018 00000000 */ nop
/* B461BC 800CF01C 860D0006 */ lh $t5, 6($s0)
/* B461C0 800CF020 24080001 */ li $t0, 1
/* B461C4 800CF024 448D2000 */ mtc1 $t5, $f4
/* B461C8 800CF028 00000000 */ nop
/* B461CC 800CF02C 468022A0 */ cvt.s.w $f10, $f4
/* B461D0 800CF030 46025180 */ add.s $f6, $f10, $f2
/* B461D4 800CF034 E7A6006C */ swc1 $f6, 0x6c($sp)
/* B461D8 800CF038 860F0004 */ lh $t7, 4($s0)
/* B461DC 800CF03C 860E0008 */ lh $t6, 8($s0)
/* B461E0 800CF040 448F5000 */ mtc1 $t7, $f10
/* B461E4 800CF044 448E4000 */ mtc1 $t6, $f8
/* B461E8 800CF048 468051A0 */ cvt.s.w $f6, $f10
/* B461EC 800CF04C 46804120 */ cvt.s.w $f4, $f8
/* B461F0 800CF050 46062200 */ add.s $f8, $f4, $f6
/* B461F4 800CF054 E7A80070 */ swc1 $f8, 0x70($sp)
/* B461F8 800CF058 8619000A */ lh $t9, 0xa($s0)
/* B461FC 800CF05C 44995000 */ mtc1 $t9, $f10
/* B46200 800CF060 00000000 */ nop
/* B46204 800CF064 46805120 */ cvt.s.w $f4, $f10
/* B46208 800CF068 460C2180 */ add.s $f6, $f4, $f12
/* B4620C 800CF06C E7A60074 */ swc1 $f6, 0x74($sp)
.L800CF070:
/* B46210 800CF070 86180002 */ lh $t8, 2($s0)
.L800CF074:
/* B46214 800CF074 C7A400F0 */ lwc1 $f4, 0xf0($sp)
/* B46218 800CF078 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B4621C 800CF07C 44984000 */ mtc1 $t8, $f8
/* B46220 800CF080 00000000 */ nop
/* B46224 800CF084 468042A0 */ cvt.s.w $f10, $f8
/* B46228 800CF088 C7A800D8 */ lwc1 $f8, 0xd8($sp)
/* B4622C 800CF08C 46045181 */ sub.s $f6, $f10, $f4
/* B46230 800CF090 44802000 */ mtc1 $zero, $f4
/* B46234 800CF094 46083283 */ div.s $f10, $f6, $f8
/* B46238 800CF098 460A203E */ c.le.s $f4, $f10
/* B4623C 800CF09C E7AA00D0 */ swc1 $f10, 0xd0($sp)
/* B46240 800CF0A0 4502002F */ bc1fl .L800CF160
/* B46244 800CF0A4 C7AA00EC */ lwc1 $f10, 0xec($sp)
/* B46248 800CF0A8 44813000 */ mtc1 $at, $f6
/* B4624C 800CF0AC C7A800D4 */ lwc1 $f8, 0xd4($sp)
/* B46250 800CF0B0 4606503E */ c.le.s $f10, $f6
/* B46254 800CF0B4 00000000 */ nop
/* B46258 800CF0B8 45020029 */ bc1fl .L800CF160
/* B4625C 800CF0BC C7AA00EC */ lwc1 $f10, 0xec($sp)
/* B46260 800CF0C0 460A4102 */ mul.s $f4, $f8, $f10
/* B46264 800CF0C4 C7A600EC */ lwc1 $f6, 0xec($sp)
/* B46268 800CF0C8 C7A800DC */ lwc1 $f8, 0xdc($sp)
/* B4626C 800CF0CC 46062000 */ add.s $f0, $f4, $f6
/* B46270 800CF0D0 460A4102 */ mul.s $f4, $f8, $f10
/* B46274 800CF0D4 C7A600F4 */ lwc1 $f6, 0xf4($sp)
/* B46278 800CF0D8 46000202 */ mul.s $f8, $f0, $f0
/* B4627C 800CF0DC 46062080 */ add.s $f2, $f4, $f6
/* B46280 800CF0E0 46021282 */ mul.s $f10, $f2, $f2
/* B46284 800CF0E4 460A4100 */ add.s $f4, $f8, $f10
/* B46288 800CF0E8 460E203C */ c.lt.s $f4, $f14
/* B4628C 800CF0EC 00000000 */ nop
/* B46290 800CF0F0 4502001B */ bc1fl .L800CF160
/* B46294 800CF0F4 C7AA00EC */ lwc1 $f10, 0xec($sp)
/* B46298 800CF0F8 86090006 */ lh $t1, 6($s0)
/* B4629C 800CF0FC 35080002 */ ori $t0, $t0, 2
/* B462A0 800CF100 44893000 */ mtc1 $t1, $f6
/* B462A4 800CF104 00000000 */ nop
/* B462A8 800CF108 46803220 */ cvt.s.w $f8, $f6
/* B462AC 800CF10C 46004280 */ add.s $f10, $f8, $f0
/* B462B0 800CF110 E7AA0078 */ swc1 $f10, 0x78($sp)
/* B462B4 800CF114 860B0004 */ lh $t3, 4($s0)
/* B462B8 800CF118 860A0008 */ lh $t2, 8($s0)
/* B462BC 800CF11C 860C0002 */ lh $t4, 2($s0)
/* B462C0 800CF120 448B4000 */ mtc1 $t3, $f8
/* B462C4 800CF124 448A2000 */ mtc1 $t2, $f4
/* B462C8 800CF128 468042A0 */ cvt.s.w $f10, $f8
/* B462CC 800CF12C 448C4000 */ mtc1 $t4, $f8
/* B462D0 800CF130 468021A0 */ cvt.s.w $f6, $f4
/* B462D4 800CF134 460A3100 */ add.s $f4, $f6, $f10
/* B462D8 800CF138 468041A0 */ cvt.s.w $f6, $f8
/* B462DC 800CF13C 46062280 */ add.s $f10, $f4, $f6
/* B462E0 800CF140 E7AA007C */ swc1 $f10, 0x7c($sp)
/* B462E4 800CF144 860D000A */ lh $t5, 0xa($s0)
/* B462E8 800CF148 448D4000 */ mtc1 $t5, $f8
/* B462EC 800CF14C 00000000 */ nop
/* B462F0 800CF150 46804120 */ cvt.s.w $f4, $f8
/* B462F4 800CF154 46022180 */ add.s $f6, $f4, $f2
/* B462F8 800CF158 E7A60080 */ swc1 $f6, 0x80($sp)
.L800CF15C:
/* B462FC 800CF15C C7AA00EC */ lwc1 $f10, 0xec($sp)
.L800CF160:
/* B46300 800CF160 C7A400F4 */ lwc1 $f4, 0xf4($sp)
/* B46304 800CF164 3C018014 */ lui $at, %hi(D_80146548)
/* B46308 800CF168 460A5202 */ mul.s $f8, $f10, $f10
/* B4630C 800CF16C E7AA0020 */ swc1 $f10, 0x20($sp)
/* B46310 800CF170 C7AA00DC */ lwc1 $f10, 0xdc($sp)
/* B46314 800CF174 46042182 */ mul.s $f6, $f4, $f4
/* B46318 800CF178 E7A40024 */ swc1 $f4, 0x24($sp)
/* B4631C 800CF17C 46064200 */ add.s $f8, $f8, $f6
/* B46320 800CF180 C7A600D4 */ lwc1 $f6, 0xd4($sp)
/* B46324 800CF184 460E4401 */ sub.s $f16, $f8, $f14
/* B46328 800CF188 46063202 */ mul.s $f8, $f6, $f6
/* B4632C 800CF18C 00000000 */ nop
/* B46330 800CF190 460A5102 */ mul.s $f4, $f10, $f10
/* B46334 800CF194 E7B000B8 */ swc1 $f16, 0xb8($sp)
/* B46338 800CF198 46044300 */ add.s $f12, $f8, $f4
/* B4633C 800CF19C C4286548 */ lwc1 $f8, %lo(D_80146548)($at)
/* B46340 800CF1A0 C7A400D4 */ lwc1 $f4, 0xd4($sp)
/* B46344 800CF1A4 460C6480 */ add.s $f18, $f12, $f12
/* B46348 800CF1A8 46009005 */ abs.s $f0, $f18
/* B4634C 800CF1AC 4608003C */ c.lt.s $f0, $f8
/* B46350 800CF1B0 00000000 */ nop
/* B46354 800CF1B4 4501002C */ bc1t .L800CF268
/* B46358 800CF1B8 00000000 */ nop
/* B4635C 800CF1BC C7A40020 */ lwc1 $f4, 0x20($sp)
/* B46360 800CF1C0 3C014080 */ li $at, 0x40800000 # 0.000000
/* B46364 800CF1C4 46043202 */ mul.s $f8, $f6, $f4
/* B46368 800CF1C8 C7A60024 */ lwc1 $f6, 0x24($sp)
/* B4636C 800CF1CC 46065102 */ mul.s $f4, $f10, $f6
/* B46370 800CF1D0 44815000 */ mtc1 $at, $f10
/* B46374 800CF1D4 46044080 */ add.s $f2, $f8, $f4
/* B46378 800CF1D8 C7A800B8 */ lwc1 $f8, 0xb8($sp)
/* B4637C 800CF1DC 46021380 */ add.s $f14, $f2, $f2
/* B46380 800CF1E0 460E7002 */ mul.s $f0, $f14, $f14
/* B46384 800CF1E4 00000000 */ nop
/* B46388 800CF1E8 460C5182 */ mul.s $f6, $f10, $f12
/* B4638C 800CF1EC 00000000 */ nop
/* B46390 800CF1F0 46083402 */ mul.s $f16, $f6, $f8
/* B46394 800CF1F4 4610003C */ c.lt.s $f0, $f16
/* B46398 800CF1F8 00000000 */ nop
/* B4639C 800CF1FC 45000003 */ bc1f .L800CF20C
/* B463A0 800CF200 00000000 */ nop
/* B463A4 800CF204 1000016D */ b .L800CF7BC
/* B463A8 800CF208 00001025 */ move $v0, $zero
.L800CF20C:
/* B463AC 800CF20C 46100081 */ sub.s $f2, $f0, $f16
/* B463B0 800CF210 44802000 */ mtc1 $zero, $f4
/* B463B4 800CF214 24060001 */ li $a2, 1
/* B463B8 800CF218 00002825 */ move $a1, $zero
/* B463BC 800CF21C 4602203C */ c.lt.s $f4, $f2
/* B463C0 800CF220 46001004 */ sqrt.s $f0, $f2
/* B463C4 800CF224 45000004 */ bc1f .L800CF238
/* B463C8 800CF228 00000000 */ nop
/* B463CC 800CF22C 24050001 */ li $a1, 1
/* B463D0 800CF230 10000001 */ b .L800CF238
/* B463D4 800CF234 24060001 */ li $a2, 1
.L800CF238:
/* B463D8 800CF238 460E0281 */ sub.s $f10, $f0, $f14
/* B463DC 800CF23C 24070001 */ li $a3, 1
/* B463E0 800CF240 46125083 */ div.s $f2, $f10, $f18
/* B463E4 800CF244 E7A200D0 */ swc1 $f2, 0xd0($sp)
/* B463E8 800CF248 14A70005 */ bne $a1, $a3, .L800CF260
/* B463EC 800CF24C C7A200D0 */ lwc1 $f2, 0xd0($sp)
/* B463F0 800CF250 46007187 */ neg.s $f6, $f14
/* B463F4 800CF254 46003201 */ sub.s $f8, $f6, $f0
/* B463F8 800CF258 46124303 */ div.s $f12, $f8, $f18
/* B463FC 800CF25C E7AC00CC */ swc1 $f12, 0xcc($sp)
.L800CF260:
/* B46400 800CF260 10000019 */ b .L800CF2C8
/* B46404 800CF264 C7AC00CC */ lwc1 $f12, 0xcc($sp)
.L800CF268:
/* B46408 800CF268 C7AA00EC */ lwc1 $f10, 0xec($sp)
/* B4640C 800CF26C C7A800DC */ lwc1 $f8, 0xdc($sp)
/* B46410 800CF270 3C018014 */ lui $at, %hi(D_8014654C)
/* B46414 800CF274 460A2182 */ mul.s $f6, $f4, $f10
/* B46418 800CF278 C7A400F4 */ lwc1 $f4, 0xf4($sp)
/* B4641C 800CF27C 46044282 */ mul.s $f10, $f8, $f4
/* B46420 800CF280 C428654C */ lwc1 $f8, %lo(D_8014654C)($at)
/* B46424 800CF284 460A3080 */ add.s $f2, $f6, $f10
/* B46428 800CF288 46021380 */ add.s $f14, $f2, $f2
/* B4642C 800CF28C 46007005 */ abs.s $f0, $f14
/* B46430 800CF290 4608003C */ c.lt.s $f0, $f8
/* B46434 800CF294 00000000 */ nop
/* B46438 800CF298 45010009 */ bc1t .L800CF2C0
/* B4643C 800CF29C 00000000 */ nop
/* B46440 800CF2A0 46008107 */ neg.s $f4, $f16
/* B46444 800CF2A4 24060001 */ li $a2, 1
/* B46448 800CF2A8 460E2083 */ div.s $f2, $f4, $f14
/* B4644C 800CF2AC 00002825 */ move $a1, $zero
/* B46450 800CF2B0 C7AC00CC */ lwc1 $f12, 0xcc($sp)
/* B46454 800CF2B4 24070001 */ li $a3, 1
/* B46458 800CF2B8 10000003 */ b .L800CF2C8
/* B4645C 800CF2BC E7A200D0 */ swc1 $f2, 0xd0($sp)
.L800CF2C0:
/* B46460 800CF2C0 1000013E */ b .L800CF7BC
/* B46464 800CF2C4 00001025 */ move $v0, $zero
.L800CF2C8:
/* B46468 800CF2C8 54A00010 */ bnezl $a1, .L800CF30C
/* B4646C 800CF2CC 44802000 */ mtc1 $zero, $f4
/* B46470 800CF2D0 44805000 */ mtc1 $zero, $f10
/* B46474 800CF2D4 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B46478 800CF2D8 460A103C */ c.lt.s $f2, $f10
/* B4647C 800CF2DC 00000000 */ nop
/* B46480 800CF2E0 45010007 */ bc1t .L800CF300
/* B46484 800CF2E4 00000000 */ nop
/* B46488 800CF2E8 44814000 */ mtc1 $at, $f8
/* B4648C 800CF2EC 00000000 */ nop
/* B46490 800CF2F0 4602403C */ c.lt.s $f8, $f2
/* B46494 800CF2F4 00000000 */ nop
/* B46498 800CF2F8 45000030 */ bc1f .L800CF3BC
/* B4649C 800CF2FC 00000000 */ nop
.L800CF300:
/* B464A0 800CF300 1000012E */ b .L800CF7BC
/* B464A4 800CF304 00001025 */ move $v0, $zero
/* B464A8 800CF308 44802000 */ mtc1 $zero, $f4
.L800CF30C:
/* B464AC 800CF30C 44805000 */ mtc1 $zero, $f10
/* B464B0 800CF310 00001025 */ move $v0, $zero
/* B464B4 800CF314 4604103C */ c.lt.s $f2, $f4
/* B464B8 800CF318 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B464BC 800CF31C 45000002 */ bc1f .L800CF328
/* B464C0 800CF320 00000000 */ nop
/* B464C4 800CF324 24020001 */ li $v0, 1
.L800CF328:
/* B464C8 800CF328 14400008 */ bnez $v0, .L800CF34C
/* B464CC 800CF32C 00401825 */ move $v1, $v0
/* B464D0 800CF330 44813000 */ mtc1 $at, $f6
/* B464D4 800CF334 00001825 */ move $v1, $zero
/* B464D8 800CF338 4602303C */ c.lt.s $f6, $f2
/* B464DC 800CF33C 00000000 */ nop
/* B464E0 800CF340 45020003 */ bc1fl .L800CF350
/* B464E4 800CF344 460A603C */ c.lt.s $f12, $f10
/* B464E8 800CF348 24030001 */ li $v1, 1
.L800CF34C:
/* B464EC 800CF34C 460A603C */ c.lt.s $f12, $f10
.L800CF350:
/* B464F0 800CF350 00602025 */ move $a0, $v1
/* B464F4 800CF354 00001025 */ move $v0, $zero
/* B464F8 800CF358 3C013F80 */ li $at, 0x3F800000 # 0.000000
/* B464FC 800CF35C 45000002 */ bc1f .L800CF368
/* B46500 800CF360 00000000 */ nop
/* B46504 800CF364 24020001 */ li $v0, 1
.L800CF368:
/* B46508 800CF368 14400008 */ bnez $v0, .L800CF38C
/* B4650C 800CF36C 00401825 */ move $v1, $v0
/* B46510 800CF370 44814000 */ mtc1 $at, $f8
/* B46514 800CF374 00001825 */ move $v1, $zero
/* B46518 800CF378 460C403C */ c.lt.s $f8, $f12
/* B4651C 800CF37C 00000000 */ nop
/* B46520 800CF380 45000002 */ bc1f .L800CF38C
/* B46524 800CF384 00000000 */ nop
/* B46528 800CF388 24030001 */ li $v1, 1
.L800CF38C:
/* B4652C 800CF38C 10800005 */ beqz $a0, .L800CF3A4
/* B46530 800CF390 00000000 */ nop
/* B46534 800CF394 10600003 */ beqz $v1, .L800CF3A4
/* B46538 800CF398 00000000 */ nop
/* B4653C 800CF39C 10000107 */ b .L800CF7BC
/* B46540 800CF3A0 00001025 */ move $v0, $zero
.L800CF3A4:
/* B46544 800CF3A4 10800002 */ beqz $a0, .L800CF3B0
/* B46548 800CF3A8 00000000 */ nop
/* B4654C 800CF3AC 00003025 */ move $a2, $zero
.L800CF3B0:
/* B46550 800CF3B0 10600002 */ beqz $v1, .L800CF3BC
/* B46554 800CF3B4 00000000 */ nop
/* B46558 800CF3B8 00002825 */ move $a1, $zero
.L800CF3BC:
/* B4655C 800CF3BC 14C70012 */ bne $a2, $a3, .L800CF408
/* B46560 800CF3C0 C7A400D8 */ lwc1 $f4, 0xd8($sp)
/* B46564 800CF3C4 46041182 */ mul.s $f6, $f2, $f4
/* B46568 800CF3C8 C7AA00F0 */ lwc1 $f10, 0xf0($sp)
/* B4656C 800CF3CC 44804000 */ mtc1 $zero, $f8
/* B46570 800CF3D0 460A3000 */ add.s $f0, $f6, $f10
/* B46574 800CF3D4 4608003C */ c.lt.s $f0, $f8
/* B46578 800CF3D8 00000000 */ nop
/* B4657C 800CF3DC 4503000A */ bc1tl .L800CF408
/* B46580 800CF3E0 00003025 */ move $a2, $zero
/* B46584 800CF3E4 860E0002 */ lh $t6, 2($s0)
/* B46588 800CF3E8 448E2000 */ mtc1 $t6, $f4
/* B4658C 800CF3EC 00000000 */ nop
/* B46590 800CF3F0 468021A0 */ cvt.s.w $f6, $f4
/* B46594 800CF3F4 4600303C */ c.lt.s $f6, $f0
/* B46598 800CF3F8 00000000 */ nop
/* B4659C 800CF3FC 45000002 */ bc1f .L800CF408
/* B465A0 800CF400 00000000 */ nop
/* B465A4 800CF404 00003025 */ move $a2, $zero
.L800CF408:
/* B465A8 800CF408 14A70012 */ bne $a1, $a3, .L800CF454
/* B465AC 800CF40C C7AA00D8 */ lwc1 $f10, 0xd8($sp)
/* B465B0 800CF410 460A6202 */ mul.s $f8, $f12, $f10
/* B465B4 800CF414 C7A400F0 */ lwc1 $f4, 0xf0($sp)
/* B465B8 800CF418 44803000 */ mtc1 $zero, $f6
/* B465BC 800CF41C 46044000 */ add.s $f0, $f8, $f4
/* B465C0 800CF420 4606003C */ c.lt.s $f0, $f6
/* B465C4 800CF424 00000000 */ nop
/* B465C8 800CF428 4503000A */ bc1tl .L800CF454
/* B465CC 800CF42C 00002825 */ move $a1, $zero
/* B465D0 800CF430 860F0002 */ lh $t7, 2($s0)
/* B465D4 800CF434 448F5000 */ mtc1 $t7, $f10
/* B465D8 800CF438 00000000 */ nop
/* B465DC 800CF43C 46805220 */ cvt.s.w $f8, $f10
/* B465E0 800CF440 4600403C */ c.lt.s $f8, $f0
/* B465E4 800CF444 00000000 */ nop
/* B465E8 800CF448 45000002 */ bc1f .L800CF454
/* B465EC 800CF44C 00000000 */ nop
/* B465F0 800CF450 00002825 */ move $a1, $zero
.L800CF454:
/* B465F4 800CF454 14C00005 */ bnez $a2, .L800CF46C
/* B465F8 800CF458 00001825 */ move $v1, $zero
/* B465FC 800CF45C 14A00003 */ bnez $a1, .L800CF46C
/* B46600 800CF460 00000000 */ nop
/* B46604 800CF464 100000D5 */ b .L800CF7BC
/* B46608 800CF468 00001025 */ move $v0, $zero
.L800CF46C:
/* B4660C 800CF46C 14C7004B */ bne $a2, $a3, .L800CF59C
/* B46610 800CF470 00001025 */ move $v0, $zero
/* B46614 800CF474 14A70049 */ bne $a1, $a3, .L800CF59C
/* B46618 800CF478 C7A400D4 */ lwc1 $f4, 0xd4($sp)
/* B4661C 800CF47C 46041182 */ mul.s $f6, $f2, $f4
/* B46620 800CF480 C7AA00EC */ lwc1 $f10, 0xec($sp)
/* B46624 800CF484 86190006 */ lh $t9, 6($s0)
/* B46628 800CF488 E7A40024 */ swc1 $f4, 0x24($sp)
/* B4662C 800CF48C C7A400F0 */ lwc1 $f4, 0xf0($sp)
/* B46630 800CF490 35080004 */ ori $t0, $t0, 4
/* B46634 800CF494 35080008 */ ori $t0, $t0, 8
/* B46638 800CF498 460A3200 */ add.s $f8, $f6, $f10
/* B4663C 800CF49C 44993000 */ mtc1 $t9, $f6
/* B46640 800CF4A0 00000000 */ nop
/* B46644 800CF4A4 468031A0 */ cvt.s.w $f6, $f6
/* B46648 800CF4A8 46064200 */ add.s $f8, $f8, $f6
/* B4664C 800CF4AC C7A600D8 */ lwc1 $f6, 0xd8($sp)
/* B46650 800CF4B0 E7A80084 */ swc1 $f8, 0x84($sp)
/* B46654 800CF4B4 86180008 */ lh $t8, 8($s0)
/* B46658 800CF4B8 46061202 */ mul.s $f8, $f2, $f6
/* B4665C 800CF4BC E7AA0020 */ swc1 $f10, 0x20($sp)
/* B46660 800CF4C0 44985000 */ mtc1 $t8, $f10
/* B46664 800CF4C4 86090004 */ lh $t1, 4($s0)
/* B46668 800CF4C8 E7A60028 */ swc1 $f6, 0x28($sp)
/* B4666C 800CF4CC C7A600F4 */ lwc1 $f6, 0xf4($sp)
/* B46670 800CF4D0 468052A0 */ cvt.s.w $f10, $f10
/* B46674 800CF4D4 46044200 */ add.s $f8, $f8, $f4
/* B46678 800CF4D8 460A4200 */ add.s $f8, $f8, $f10
/* B4667C 800CF4DC 44895000 */ mtc1 $t1, $f10
/* B46680 800CF4E0 00000000 */ nop
/* B46684 800CF4E4 468052A0 */ cvt.s.w $f10, $f10
/* B46688 800CF4E8 460A4200 */ add.s $f8, $f8, $f10
/* B4668C 800CF4EC C7AA00DC */ lwc1 $f10, 0xdc($sp)
/* B46690 800CF4F0 E7A80088 */ swc1 $f8, 0x88($sp)
/* B46694 800CF4F4 860A000A */ lh $t2, 0xa($s0)
/* B46698 800CF4F8 460A1202 */ mul.s $f8, $f2, $f10
/* B4669C 800CF4FC E7A4002C */ swc1 $f4, 0x2c($sp)
/* B466A0 800CF500 448A2000 */ mtc1 $t2, $f4
/* B466A4 800CF504 00000000 */ nop
/* B466A8 800CF508 46802120 */ cvt.s.w $f4, $f4
/* B466AC 800CF50C 46064200 */ add.s $f8, $f8, $f6
/* B466B0 800CF510 46044200 */ add.s $f8, $f8, $f4
/* B466B4 800CF514 C7A40024 */ lwc1 $f4, 0x24($sp)
/* B466B8 800CF518 E7A8008C */ swc1 $f8, 0x8c($sp)
/* B466BC 800CF51C 46046202 */ mul.s $f8, $f12, $f4
/* B466C0 800CF520 C7A40020 */ lwc1 $f4, 0x20($sp)
/* B466C4 800CF524 860B0006 */ lh $t3, 6($s0)
/* B466C8 800CF528 46044200 */ add.s $f8, $f8, $f4
/* B466CC 800CF52C 448B2000 */ mtc1 $t3, $f4
/* B466D0 800CF530 00000000 */ nop
/* B466D4 800CF534 46802120 */ cvt.s.w $f4, $f4
/* B466D8 800CF538 46044200 */ add.s $f8, $f8, $f4
/* B466DC 800CF53C C7A40028 */ lwc1 $f4, 0x28($sp)
/* B466E0 800CF540 E7A80090 */ swc1 $f8, 0x90($sp)
/* B466E4 800CF544 46046202 */ mul.s $f8, $f12, $f4
/* B466E8 800CF548 C7A4002C */ lwc1 $f4, 0x2c($sp)
/* B466EC 800CF54C 860C0008 */ lh $t4, 8($s0)
/* B466F0 800CF550 860D0004 */ lh $t5, 4($s0)
/* B466F4 800CF554 46044200 */ add.s $f8, $f8, $f4
/* B466F8 800CF558 448C2000 */ mtc1 $t4, $f4
/* B466FC 800CF55C 00000000 */ nop
/* B46700 800CF560 46802120 */ cvt.s.w $f4, $f4
/* B46704 800CF564 46044200 */ add.s $f8, $f8, $f4
/* B46708 800CF568 448D2000 */ mtc1 $t5, $f4
/* B4670C 800CF56C 00000000 */ nop
/* B46710 800CF570 46802120 */ cvt.s.w $f4, $f4
/* B46714 800CF574 46044200 */ add.s $f8, $f8, $f4
/* B46718 800CF578 460A6102 */ mul.s $f4, $f12, $f10
/* B4671C 800CF57C E7A80094 */ swc1 $f8, 0x94($sp)
/* B46720 800CF580 860E000A */ lh $t6, 0xa($s0)
/* B46724 800CF584 448E5000 */ mtc1 $t6, $f10
/* B46728 800CF588 46062200 */ add.s $f8, $f4, $f6
/* B4672C 800CF58C 46805120 */ cvt.s.w $f4, $f10
/* B46730 800CF590 46044180 */ add.s $f6, $f8, $f4
/* B46734 800CF594 10000044 */ b .L800CF6A8
/* B46738 800CF598 E7A60098 */ swc1 $f6, 0x98($sp)
.L800CF59C:
/* B4673C 800CF59C 14C70021 */ bne $a2, $a3, .L800CF624
/* B46740 800CF5A0 C7AA00D4 */ lwc1 $f10, 0xd4($sp)
/* B46744 800CF5A4 460A1202 */ mul.s $f8, $f2, $f10
/* B46748 800CF5A8 860F0006 */ lh $t7, 6($s0)
/* B4674C 800CF5AC C7A400EC */ lwc1 $f4, 0xec($sp)
/* B46750 800CF5B0 35080004 */ ori $t0, $t0, 4
/* B46754 800CF5B4 448F5000 */ mtc1 $t7, $f10
/* B46758 800CF5B8 46044180 */ add.s $f6, $f8, $f4
/* B4675C 800CF5BC 46805220 */ cvt.s.w $f8, $f10
/* B46760 800CF5C0 C7AA00D8 */ lwc1 $f10, 0xd8($sp)
/* B46764 800CF5C4 46083100 */ add.s $f4, $f6, $f8
/* B46768 800CF5C8 460A1182 */ mul.s $f6, $f2, $f10
/* B4676C 800CF5CC C7A800F0 */ lwc1 $f8, 0xf0($sp)
/* B46770 800CF5D0 E7A40084 */ swc1 $f4, 0x84($sp)
/* B46774 800CF5D4 86190008 */ lh $t9, 8($s0)
/* B46778 800CF5D8 86180004 */ lh $t8, 4($s0)
/* B4677C 800CF5DC 44995000 */ mtc1 $t9, $f10
/* B46780 800CF5E0 46083100 */ add.s $f4, $f6, $f8
/* B46784 800CF5E4 468051A0 */ cvt.s.w $f6, $f10
/* B46788 800CF5E8 44985000 */ mtc1 $t8, $f10
/* B4678C 800CF5EC 46062200 */ add.s $f8, $f4, $f6
/* B46790 800CF5F0 46805120 */ cvt.s.w $f4, $f10
/* B46794 800CF5F4 C7AA00DC */ lwc1 $f10, 0xdc($sp)
/* B46798 800CF5F8 46044180 */ add.s $f6, $f8, $f4
/* B4679C 800CF5FC 460A1202 */ mul.s $f8, $f2, $f10
/* B467A0 800CF600 C7A400F4 */ lwc1 $f4, 0xf4($sp)
/* B467A4 800CF604 E7A60088 */ swc1 $f6, 0x88($sp)
/* B467A8 800CF608 8609000A */ lh $t1, 0xa($s0)
/* B467AC 800CF60C 44895000 */ mtc1 $t1, $f10
/* B467B0 800CF610 46044180 */ add.s $f6, $f8, $f4
/* B467B4 800CF614 46805220 */ cvt.s.w $f8, $f10
/* B467B8 800CF618 46083100 */ add.s $f4, $f6, $f8
/* B467BC 800CF61C 10000022 */ b .L800CF6A8
/* B467C0 800CF620 E7A4008C */ swc1 $f4, 0x8c($sp)
.L800CF624:
/* B467C4 800CF624 14A70020 */ bne $a1, $a3, .L800CF6A8
/* B467C8 800CF628 C7AA00D4 */ lwc1 $f10, 0xd4($sp)
/* B467CC 800CF62C 460A6182 */ mul.s $f6, $f12, $f10
/* B467D0 800CF630 860A0006 */ lh $t2, 6($s0)
/* B467D4 800CF634 C7A800EC */ lwc1 $f8, 0xec($sp)
/* B467D8 800CF638 35080004 */ ori $t0, $t0, 4
/* B467DC 800CF63C 448A5000 */ mtc1 $t2, $f10
/* B467E0 800CF640 46083100 */ add.s $f4, $f6, $f8
/* B467E4 800CF644 468051A0 */ cvt.s.w $f6, $f10
/* B467E8 800CF648 C7AA00D8 */ lwc1 $f10, 0xd8($sp)
/* B467EC 800CF64C 46062200 */ add.s $f8, $f4, $f6
/* B467F0 800CF650 460A6102 */ mul.s $f4, $f12, $f10
/* B467F4 800CF654 C7A600F0 */ lwc1 $f6, 0xf0($sp)
/* B467F8 800CF658 E7A80084 */ swc1 $f8, 0x84($sp)
/* B467FC 800CF65C 860B0008 */ lh $t3, 8($s0)
/* B46800 800CF660 860C0004 */ lh $t4, 4($s0)
/* B46804 800CF664 448B5000 */ mtc1 $t3, $f10
/* B46808 800CF668 46062200 */ add.s $f8, $f4, $f6
/* B4680C 800CF66C 46805120 */ cvt.s.w $f4, $f10
/* B46810 800CF670 448C5000 */ mtc1 $t4, $f10
/* B46814 800CF674 46044180 */ add.s $f6, $f8, $f4
/* B46818 800CF678 46805220 */ cvt.s.w $f8, $f10
/* B4681C 800CF67C C7AA00DC */ lwc1 $f10, 0xdc($sp)
/* B46820 800CF680 46083100 */ add.s $f4, $f6, $f8
/* B46824 800CF684 460A6182 */ mul.s $f6, $f12, $f10
/* B46828 800CF688 C7A800F4 */ lwc1 $f8, 0xf4($sp)
/* B4682C 800CF68C E7A40088 */ swc1 $f4, 0x88($sp)
/* B46830 800CF690 860D000A */ lh $t5, 0xa($s0)
/* B46834 800CF694 448D5000 */ mtc1 $t5, $f10
/* B46838 800CF698 46083100 */ add.s $f4, $f6, $f8
/* B4683C 800CF69C 468051A0 */ cvt.s.w $f6, $f10
/* B46840 800CF6A0 46062200 */ add.s $f8, $f4, $f6
/* B46844 800CF6A4 E7A8008C */ swc1 $f8, 0x8c($sp)
.L800CF6A8:
/* B46848 800CF6A8 24060004 */ li $a2, 4
/* B4684C 800CF6AC 2405000C */ li $a1, 12
/* B46850 800CF6B0 27A4006C */ addiu $a0, $sp, 0x6c
/* B46854 800CF6B4 240E0001 */ li $t6, 1
.L800CF6B8:
/* B46858 800CF6B8 004E7804 */ sllv $t7, $t6, $v0
/* B4685C 800CF6BC 01E8C824 */ and $t9, $t7, $t0
/* B46860 800CF6C0 5320003B */ beql $t9, $zero, .L800CF7B0
/* B46864 800CF6C4 24420001 */ addiu $v0, $v0, 1
/* B46868 800CF6C8 1460000C */ bnez $v1, .L800CF6FC
/* B4686C 800CF6CC 00000000 */ nop
/* B46870 800CF6D0 00450019 */ multu $v0, $a1
/* B46874 800CF6D4 8FB80104 */ lw $t8, 0x104($sp)
/* B46878 800CF6D8 00004812 */ mflo $t1
/* B4687C 800CF6DC 00895021 */ addu $t2, $a0, $t1
/* B46880 800CF6E0 8D4C0000 */ lw $t4, ($t2)
/* B46884 800CF6E4 AF0C0000 */ sw $t4, ($t8)
/* B46888 800CF6E8 8D4B0004 */ lw $t3, 4($t2)
/* B4688C 800CF6EC AF0B0004 */ sw $t3, 4($t8)
/* B46890 800CF6F0 8D4C0008 */ lw $t4, 8($t2)
/* B46894 800CF6F4 1000002C */ b .L800CF7A8
/* B46898 800CF6F8 AF0C0008 */ sw $t4, 8($t8)
.L800CF6FC:
/* B4689C 800CF6FC 1467002A */ bne $v1, $a3, .L800CF7A8
/* B468A0 800CF700 00026880 */ sll $t5, $v0, 2
/* B468A4 800CF704 01A26823 */ subu $t5, $t5, $v0
/* B468A8 800CF708 000D6880 */ sll $t5, $t5, 2
/* B468AC 800CF70C 27AE006C */ addiu $t6, $sp, 0x6c
/* B468B0 800CF710 01AE8021 */ addu $s0, $t5, $t6
/* B468B4 800CF714 8FA40104 */ lw $a0, 0x104($sp)
/* B468B8 800CF718 8FA500FC */ lw $a1, 0xfc($sp)
/* B468BC 800CF71C 0C032D94 */ jal func_800CB650
/* B468C0 800CF720 AFA30068 */ sw $v1, 0x68($sp)
/* B468C4 800CF724 E7A0004C */ swc1 $f0, 0x4c($sp)
/* B468C8 800CF728 8FA40104 */ lw $a0, 0x104($sp)
/* B468CC 800CF72C 0C032D94 */ jal func_800CB650
/* B468D0 800CF730 02002825 */ move $a1, $s0
/* B468D4 800CF734 C7AA004C */ lwc1 $f10, 0x4c($sp)
/* B468D8 800CF738 8FA30068 */ lw $v1, 0x68($sp)
/* B468DC 800CF73C 8FAF0108 */ lw $t7, 0x108($sp)
/* B468E0 800CF740 4600503C */ c.lt.s $f10, $f0
/* B468E4 800CF744 8FAA0104 */ lw $t2, 0x104($sp)
/* B468E8 800CF748 45020009 */ bc1fl .L800CF770
/* B468EC 800CF74C 8FB80108 */ lw $t8, 0x108($sp)
/* B468F0 800CF750 8E090000 */ lw $t1, ($s0)
/* B468F4 800CF754 ADE90000 */ sw $t1, ($t7)
/* B468F8 800CF758 8E190004 */ lw $t9, 4($s0)
/* B468FC 800CF75C ADF90004 */ sw $t9, 4($t7)
/* B46900 800CF760 8E090008 */ lw $t1, 8($s0)
/* B46904 800CF764 10000014 */ b .L800CF7B8
/* B46908 800CF768 ADE90008 */ sw $t1, 8($t7)
/* B4690C 800CF76C 8FB80108 */ lw $t8, 0x108($sp)
.L800CF770:
/* B46910 800CF770 8D4C0000 */ lw $t4, ($t2)
/* B46914 800CF774 AF0C0000 */ sw $t4, ($t8)
/* B46918 800CF778 8D4B0004 */ lw $t3, 4($t2)
/* B4691C 800CF77C AF0B0004 */ sw $t3, 4($t8)
/* B46920 800CF780 8D4C0008 */ lw $t4, 8($t2)
/* B46924 800CF784 AF0C0008 */ sw $t4, 8($t8)
/* B46928 800CF788 8E0F0000 */ lw $t7, ($s0)
/* B4692C 800CF78C 8FAD0104 */ lw $t5, 0x104($sp)
/* B46930 800CF790 ADAF0000 */ sw $t7, ($t5)
/* B46934 800CF794 8E0E0004 */ lw $t6, 4($s0)
/* B46938 800CF798 ADAE0004 */ sw $t6, 4($t5)
/* B4693C 800CF79C 8E0F0008 */ lw $t7, 8($s0)
/* B46940 800CF7A0 10000005 */ b .L800CF7B8
/* B46944 800CF7A4 ADAF0008 */ sw $t7, 8($t5)
.L800CF7A8:
/* B46948 800CF7A8 24630001 */ addiu $v1, $v1, 1
/* B4694C 800CF7AC 24420001 */ addiu $v0, $v0, 1
.L800CF7B0:
/* B46950 800CF7B0 5446FFC1 */ bnel $v0, $a2, .L800CF6B8
/* B46954 800CF7B4 240E0001 */ li $t6, 1
.L800CF7B8:
/* B46958 800CF7B8 00601025 */ move $v0, $v1
.L800CF7BC:
/* B4695C 800CF7BC 8FBF001C */ lw $ra, 0x1c($sp)
/* B46960 800CF7C0 8FB00018 */ lw $s0, 0x18($sp)
/* B46964 800CF7C4 27BD00F8 */ addiu $sp, $sp, 0xf8
/* B46968 800CF7C8 03E00008 */ jr $ra
/* B4696C 800CF7CC 00000000 */ nop
glabel func_800CF7D0
/* B46970 800CF7D0 27BDFF70 */ addiu $sp, $sp, -0x90
/* B46974 800CF7D4 AFBF003C */ sw $ra, 0x3c($sp)
/* B46978 800CF7D8 AFB10038 */ sw $s1, 0x38($sp)
/* B4697C 800CF7DC AFB00034 */ sw $s0, 0x34($sp)
/* B46980 800CF7E0 AFA60098 */ sw $a2, 0x98($sp)
/* B46984 800CF7E4 848F0004 */ lh $t7, 4($a0)
/* B46988 800CF7E8 848E0008 */ lh $t6, 8($a0)
/* B4698C 800CF7EC 84980002 */ lh $t8, 2($a0)
/* B46990 800CF7F0 448F4000 */ mtc1 $t7, $f8
/* B46994 800CF7F4 448E2000 */ mtc1 $t6, $f4
/* B46998 800CF7F8 44988000 */ mtc1 $t8, $f16
/* B4699C 800CF7FC 468042A0 */ cvt.s.w $f10, $f8
/* B469A0 800CF800 C4A00004 */ lwc1 $f0, 4($a1)
/* B469A4 800CF804 00A08025 */ move $s0, $a1
/* B469A8 800CF808 00808825 */ move $s1, $a0
/* B469AC 800CF80C 468021A0 */ cvt.s.w $f6, $f4
/* B469B0 800CF810 468084A0 */ cvt.s.w $f18, $f16
/* B469B4 800CF814 460A3300 */ add.s $f12, $f6, $f10
/* B469B8 800CF818 460C003C */ c.lt.s $f0, $f12
/* B469BC 800CF81C 460C9380 */ add.s $f14, $f18, $f12
/* B469C0 800CF820 4502000C */ bc1fl .L800CF854
/* B469C4 800CF824 4600703C */ c.lt.s $f14, $f0
/* B469C8 800CF828 C4A40010 */ lwc1 $f4, 0x10($a1)
/* B469CC 800CF82C 460C203C */ c.lt.s $f4, $f12
/* B469D0 800CF830 00000000 */ nop
/* B469D4 800CF834 45020007 */ bc1fl .L800CF854
/* B469D8 800CF838 4600703C */ c.lt.s $f14, $f0
/* B469DC 800CF83C C4A8001C */ lwc1 $f8, 0x1c($a1)
/* B469E0 800CF840 460C403C */ c.lt.s $f8, $f12
/* B469E4 800CF844 00000000 */ nop
/* B469E8 800CF848 45010011 */ bc1t .L800CF890
/* B469EC 800CF84C 00000000 */ nop
/* B469F0 800CF850 4600703C */ c.lt.s $f14, $f0
.L800CF854:
/* B469F4 800CF854 3C018014 */ lui $at, %hi(D_80146550)
/* B469F8 800CF858 02202025 */ move $a0, $s1
/* B469FC 800CF85C 02002825 */ move $a1, $s0
/* B46A00 800CF860 4500000D */ bc1f .L800CF898
/* B46A04 800CF864 2606000C */ addiu $a2, $s0, 0xc
/* B46A08 800CF868 C6060010 */ lwc1 $f6, 0x10($s0)
/* B46A0C 800CF86C 4606703C */ c.lt.s $f14, $f6
/* B46A10 800CF870 00000000 */ nop
/* B46A14 800CF874 45000008 */ bc1f .L800CF898
/* B46A18 800CF878 00000000 */ nop
/* B46A1C 800CF87C C60A001C */ lwc1 $f10, 0x1c($s0)
/* B46A20 800CF880 460A703C */ c.lt.s $f14, $f10
/* B46A24 800CF884 00000000 */ nop
/* B46A28 800CF888 45000003 */ bc1f .L800CF898
/* B46A2C 800CF88C 00000000 */ nop
.L800CF890:
/* B46A30 800CF890 100000E9 */ b .L800CFC38
/* B46A34 800CF894 00001025 */ move $v0, $zero
.L800CF898:
/* B46A38 800CF898 C4226550 */ lwc1 $f2, %lo(D_80146550)($at)
/* B46A3C 800CF89C 3C198017 */ lui $t9, %hi(D_8016A750) # $t9, 0x8017
/* B46A40 800CF8A0 2739A750 */ addiu $t9, %lo(D_8016A750) # addiu $t9, $t9, -0x58b0
/* B46A44 800CF8A4 3C078017 */ lui $a3, %hi(D_8016A740) # $a3, 0x8017
/* B46A48 800CF8A8 24E7A740 */ addiu $a3, %lo(D_8016A740) # addiu $a3, $a3, -0x58c0
/* B46A4C 800CF8AC AFB90010 */ sw $t9, 0x10($sp)
/* B46A50 800CF8B0 AFA60048 */ sw $a2, 0x48($sp)
/* B46A54 800CF8B4 E7AC0084 */ swc1 $f12, 0x84($sp)
/* B46A58 800CF8B8 E7AE0088 */ swc1 $f14, 0x88($sp)
/* B46A5C 800CF8BC 0C033B83 */ jal func_800CEE0C
/* B46A60 800CF8C0 E7A20080 */ swc1 $f2, 0x80($sp)
/* B46A64 800CF8C4 1040000F */ beqz $v0, .L800CF904
/* B46A68 800CF8C8 C7A20080 */ lwc1 $f2, 0x80($sp)
/* B46A6C 800CF8CC 3C048017 */ lui $a0, %hi(D_8016A740) # $a0, 0x8017
/* B46A70 800CF8D0 2484A740 */ addiu $a0, %lo(D_8016A740) # addiu $a0, $a0, -0x58c0
/* B46A74 800CF8D4 0C032D94 */ jal func_800CB650
/* B46A78 800CF8D8 02002825 */ move $a1, $s0
/* B46A7C 800CF8DC 3C098017 */ lui $t1, %hi(D_8016A740) # $t1, 0x8017
/* B46A80 800CF8E0 2529A740 */ addiu $t1, %lo(D_8016A740) # addiu $t1, $t1, -0x58c0
/* B46A84 800CF8E4 8D2B0000 */ lw $t3, ($t1)
/* B46A88 800CF8E8 8FA80098 */ lw $t0, 0x98($sp)
/* B46A8C 800CF8EC 46000086 */ mov.s $f2, $f0
/* B46A90 800CF8F0 AD0B0000 */ sw $t3, ($t0)
/* B46A94 800CF8F4 8D2A0004 */ lw $t2, 4($t1)
/* B46A98 800CF8F8 AD0A0004 */ sw $t2, 4($t0)
/* B46A9C 800CF8FC 8D2B0008 */ lw $t3, 8($t1)
/* B46AA0 800CF900 AD0B0008 */ sw $t3, 8($t0)
.L800CF904:
/* B46AA4 800CF904 3C0C8017 */ lui $t4, %hi(D_8016A750) # $t4, 0x8017
/* B46AA8 800CF908 258CA750 */ addiu $t4, %lo(D_8016A750) # addiu $t4, $t4, -0x58b0
/* B46AAC 800CF90C 26050018 */ addiu $a1, $s0, 0x18
/* B46AB0 800CF910 3C078017 */ lui $a3, %hi(D_8016A740) # $a3, 0x8017
/* B46AB4 800CF914 24E7A740 */ addiu $a3, %lo(D_8016A740) # addiu $a3, $a3, -0x58c0
/* B46AB8 800CF918 AFA50044 */ sw $a1, 0x44($sp)
/* B46ABC 800CF91C AFAC0010 */ sw $t4, 0x10($sp)
/* B46AC0 800CF920 02202025 */ move $a0, $s1
/* B46AC4 800CF924 8FA60048 */ lw $a2, 0x48($sp)
/* B46AC8 800CF928 0C033B83 */ jal func_800CEE0C
/* B46ACC 800CF92C E7A20080 */ swc1 $f2, 0x80($sp)
/* B46AD0 800CF930 10400014 */ beqz $v0, .L800CF984
/* B46AD4 800CF934 C7A20080 */ lwc1 $f2, 0x80($sp)
/* B46AD8 800CF938 3C048017 */ lui $a0, %hi(D_8016A740) # $a0, 0x8017
/* B46ADC 800CF93C 2484A740 */ addiu $a0, %lo(D_8016A740) # addiu $a0, $a0, -0x58c0
/* B46AE0 800CF940 8FA50044 */ lw $a1, 0x44($sp)
/* B46AE4 800CF944 0C032D94 */ jal func_800CB650
/* B46AE8 800CF948 E7A20080 */ swc1 $f2, 0x80($sp)
/* B46AEC 800CF94C C7A20080 */ lwc1 $f2, 0x80($sp)
/* B46AF0 800CF950 3C0E8017 */ lui $t6, %hi(D_8016A740) # $t6, 0x8017
/* B46AF4 800CF954 25CEA740 */ addiu $t6, %lo(D_8016A740) # addiu $t6, $t6, -0x58c0
/* B46AF8 800CF958 4602003C */ c.lt.s $f0, $f2
/* B46AFC 800CF95C 8FAD0098 */ lw $t5, 0x98($sp)
/* B46B00 800CF960 45000008 */ bc1f .L800CF984
/* B46B04 800CF964 00000000 */ nop
/* B46B08 800CF968 8DD80000 */ lw $t8, ($t6)
/* B46B0C 800CF96C 46000086 */ mov.s $f2, $f0
/* B46B10 800CF970 ADB80000 */ sw $t8, ($t5)
/* B46B14 800CF974 8DCF0004 */ lw $t7, 4($t6)
/* B46B18 800CF978 ADAF0004 */ sw $t7, 4($t5)
/* B46B1C 800CF97C 8DD80008 */ lw $t8, 8($t6)
/* B46B20 800CF980 ADB80008 */ sw $t8, 8($t5)
.L800CF984:
/* B46B24 800CF984 3C198017 */ lui $t9, %hi(D_8016A750) # $t9, 0x8017
/* B46B28 800CF988 2739A750 */ addiu $t9, %lo(D_8016A750) # addiu $t9, $t9, -0x58b0
/* B46B2C 800CF98C 3C078017 */ lui $a3, %hi(D_8016A740) # $a3, 0x8017
/* B46B30 800CF990 24E7A740 */ addiu $a3, %lo(D_8016A740) # addiu $a3, $a3, -0x58c0
/* B46B34 800CF994 AFB90010 */ sw $t9, 0x10($sp)
/* B46B38 800CF998 02202025 */ move $a0, $s1
/* B46B3C 800CF99C 02002825 */ move $a1, $s0
/* B46B40 800CF9A0 8FA60044 */ lw $a2, 0x44($sp)
/* B46B44 800CF9A4 0C033B83 */ jal func_800CEE0C
/* B46B48 800CF9A8 E7A20080 */ swc1 $f2, 0x80($sp)
/* B46B4C 800CF9AC 10400014 */ beqz $v0, .L800CFA00
/* B46B50 800CF9B0 C7A20080 */ lwc1 $f2, 0x80($sp)
/* B46B54 800CF9B4 3C048017 */ lui $a0, %hi(D_8016A740) # $a0, 0x8017
/* B46B58 800CF9B8 2484A740 */ addiu $a0, %lo(D_8016A740) # addiu $a0, $a0, -0x58c0
/* B46B5C 800CF9BC 02002825 */ move $a1, $s0
/* B46B60 800CF9C0 0C032D94 */ jal func_800CB650
/* B46B64 800CF9C4 E7A20080 */ swc1 $f2, 0x80($sp)
/* B46B68 800CF9C8 C7A20080 */ lwc1 $f2, 0x80($sp)
/* B46B6C 800CF9CC 3C098017 */ lui $t1, %hi(D_8016A740) # $t1, 0x8017
/* B46B70 800CF9D0 2529A740 */ addiu $t1, %lo(D_8016A740) # addiu $t1, $t1, -0x58c0
/* B46B74 800CF9D4 4602003C */ c.lt.s $f0, $f2
/* B46B78 800CF9D8 8FA80098 */ lw $t0, 0x98($sp)
/* B46B7C 800CF9DC 45000008 */ bc1f .L800CFA00
/* B46B80 800CF9E0 00000000 */ nop
/* B46B84 800CF9E4 8D2B0000 */ lw $t3, ($t1)
/* B46B88 800CF9E8 46000086 */ mov.s $f2, $f0
/* B46B8C 800CF9EC AD0B0000 */ sw $t3, ($t0)
/* B46B90 800CF9F0 8D2A0004 */ lw $t2, 4($t1)
/* B46B94 800CF9F4 AD0A0004 */ sw $t2, 4($t0)
/* B46B98 800CF9F8 8D2B0008 */ lw $t3, 8($t1)
/* B46B9C 800CF9FC AD0B0008 */ sw $t3, 8($t0)
.L800CFA00:
/* B46BA0 800CFA00 3C018014 */ lui $at, %hi(D_80146554)
/* B46BA4 800CFA04 C4306554 */ lwc1 $f16, %lo(D_80146554)($at)
/* B46BA8 800CFA08 46101032 */ c.eq.s $f2, $f16
/* B46BAC 800CFA0C 00000000 */ nop
/* B46BB0 800CFA10 45030004 */ bc1tl .L800CFA24
/* B46BB4 800CFA14 C6120028 */ lwc1 $f18, 0x28($s0)
/* B46BB8 800CFA18 10000087 */ b .L800CFC38
/* B46BBC 800CFA1C 24020001 */ li $v0, 1
/* B46BC0 800CFA20 C6120028 */ lwc1 $f18, 0x28($s0)
.L800CFA24:
/* B46BC4 800CFA24 8E070024 */ lw $a3, 0x24($s0)
/* B46BC8 800CFA28 27AE008C */ addiu $t6, $sp, 0x8c
/* B46BCC 800CFA2C E7B20010 */ swc1 $f18, 0x10($sp)
/* B46BD0 800CFA30 C604002C */ lwc1 $f4, 0x2c($s0)
/* B46BD4 800CFA34 02002025 */ move $a0, $s0
/* B46BD8 800CFA38 8FA50048 */ lw $a1, 0x48($sp)
/* B46BDC 800CFA3C E7A40014 */ swc1 $f4, 0x14($sp)
/* B46BE0 800CFA40 C6080030 */ lwc1 $f8, 0x30($s0)
/* B46BE4 800CFA44 C7A40084 */ lwc1 $f4, 0x84($sp)
/* B46BE8 800CFA48 8FA60044 */ lw $a2, 0x44($sp)
/* B46BEC 800CFA4C E7A80018 */ swc1 $f8, 0x18($sp)
/* B46BF0 800CFA50 862C000A */ lh $t4, 0xa($s1)
/* B46BF4 800CFA54 C7A80088 */ lwc1 $f8, 0x88($sp)
/* B46BF8 800CFA58 448C3000 */ mtc1 $t4, $f6
/* B46BFC 800CFA5C 00000000 */ nop
/* B46C00 800CFA60 468032A0 */ cvt.s.w $f10, $f6
/* B46C04 800CFA64 E7AA001C */ swc1 $f10, 0x1c($sp)
/* B46C08 800CFA68 862D0006 */ lh $t5, 6($s1)
/* B46C0C 800CFA6C AFAE0024 */ sw $t6, 0x24($sp)
/* B46C10 800CFA70 E7A40028 */ swc1 $f4, 0x28($sp)
/* B46C14 800CFA74 448D8000 */ mtc1 $t5, $f16
/* B46C18 800CFA78 E7A8002C */ swc1 $f8, 0x2c($sp)
/* B46C1C 800CFA7C 468084A0 */ cvt.s.w $f18, $f16
/* B46C20 800CFA80 0C03345A */ jal func_800CD168
/* B46C24 800CFA84 E7B20020 */ swc1 $f18, 0x20($sp)
/* B46C28 800CFA88 1040003F */ beqz $v0, .L800CFB88
/* B46C2C 800CFA8C 3C018017 */ lui $at, %hi(D_8016A738)
/* B46C30 800CFA90 862F0006 */ lh $t7, 6($s1)
/* B46C34 800CFA94 C7B0008C */ lwc1 $f16, 0x8c($sp)
/* B46C38 800CFA98 3C013F00 */ li $at, 0x3F000000 # 0.000000
/* B46C3C 800CFA9C 448F3000 */ mtc1 $t7, $f6
/* B46C40 800CFAA0 E7B00070 */ swc1 $f16, 0x70($sp)
/* B46C44 800CFAA4 44810000 */ mtc1 $at, $f0
/* B46C48 800CFAA8 468032A0 */ cvt.s.w $f10, $f6
/* B46C4C 800CFAAC 27A40060 */ addiu $a0, $sp, 0x60
/* B46C50 800CFAB0 27A5006C */ addiu $a1, $sp, 0x6c
/* B46C54 800CFAB4 27A60054 */ addiu $a2, $sp, 0x54
/* B46C58 800CFAB8 E7AA006C */ swc1 $f10, 0x6c($sp)
/* B46C5C 800CFABC 8638000A */ lh $t8, 0xa($s1)
/* B46C60 800CFAC0 44989000 */ mtc1 $t8, $f18
/* B46C64 800CFAC4 00000000 */ nop
/* B46C68 800CFAC8 46809120 */ cvt.s.w $f4, $f18
/* B46C6C 800CFACC E7A40074 */ swc1 $f4, 0x74($sp)
/* B46C70 800CFAD0 C6060000 */ lwc1 $f6, ($s0)
/* B46C74 800CFAD4 C608000C */ lwc1 $f8, 0xc($s0)
/* B46C78 800CFAD8 46064280 */ add.s $f10, $f8, $f6
/* B46C7C 800CFADC 46005402 */ mul.s $f16, $f10, $f0
/* B46C80 800CFAE0 E7B00060 */ swc1 $f16, 0x60($sp)
/* B46C84 800CFAE4 C6040004 */ lwc1 $f4, 4($s0)
/* B46C88 800CFAE8 C6120010 */ lwc1 $f18, 0x10($s0)
/* B46C8C 800CFAEC 46049200 */ add.s $f8, $f18, $f4
/* B46C90 800CFAF0 46004182 */ mul.s $f6, $f8, $f0
/* B46C94 800CFAF4 E7A60064 */ swc1 $f6, 0x64($sp)
/* B46C98 800CFAF8 C6100008 */ lwc1 $f16, 8($s0)
/* B46C9C 800CFAFC C60A0014 */ lwc1 $f10, 0x14($s0)
/* B46CA0 800CFB00 46105480 */ add.s $f18, $f10, $f16
/* B46CA4 800CFB04 46009102 */ mul.s $f4, $f18, $f0
/* B46CA8 800CFB08 0C01DFB4 */ jal Math_Vec3f_Diff
/* B46CAC 800CFB0C E7A40068 */ swc1 $f4, 0x68($sp)
/* B46CB0 800CFB10 C7A20054 */ lwc1 $f2, 0x54($sp)
/* B46CB4 800CFB14 C7AC005C */ lwc1 $f12, 0x5c($sp)
/* B46CB8 800CFB18 3C018014 */ lui $at, %hi(D_80146558) # $at, 0x8014
/* B46CBC 800CFB1C 46021202 */ mul.s $f8, $f2, $f2
/* B46CC0 800CFB20 C42A6558 */ lwc1 $f10, %lo(D_80146558)($at)
/* B46CC4 800CFB24 8FA40098 */ lw $a0, 0x98($sp)
/* B46CC8 800CFB28 460C6182 */ mul.s $f6, $f12, $f12
/* B46CCC 800CFB2C 46064000 */ add.s $f0, $f8, $f6
/* B46CD0 800CFB30 46000384 */ sqrt.s $f14, $f0
/* B46CD4 800CFB34 46007005 */ abs.s $f0, $f14
/* B46CD8 800CFB38 460A003C */ c.lt.s $f0, $f10
/* B46CDC 800CFB3C 00000000 */ nop
/* B46CE0 800CFB40 45020006 */ bc1fl .L800CFB5C
/* B46CE4 800CFB44 86390000 */ lh $t9, ($s1)
/* B46CE8 800CFB48 0C01DF90 */ jal Math_Vec3f_Copy
/* B46CEC 800CFB4C 27A50060 */ addiu $a1, $sp, 0x60
/* B46CF0 800CFB50 10000039 */ b .L800CFC38
/* B46CF4 800CFB54 24020001 */ li $v0, 1
/* B46CF8 800CFB58 86390000 */ lh $t9, ($s1)
.L800CFB5C:
/* B46CFC 800CFB5C 27A4006C */ addiu $a0, $sp, 0x6c
/* B46D00 800CFB60 27A50054 */ addiu $a1, $sp, 0x54
/* B46D04 800CFB64 44998000 */ mtc1 $t9, $f16
/* B46D08 800CFB68 8FA70098 */ lw $a3, 0x98($sp)
/* B46D0C 800CFB6C 468084A0 */ cvt.s.w $f18, $f16
/* B46D10 800CFB70 460E9003 */ div.s $f0, $f18, $f14
/* B46D14 800CFB74 44060000 */ mfc1 $a2, $f0
/* B46D18 800CFB78 0C032BD7 */ jal func_800CAF5C
/* B46D1C 800CFB7C 00000000 */ nop
/* B46D20 800CFB80 1000002D */ b .L800CFC38
/* B46D24 800CFB84 24020001 */ li $v0, 1
.L800CFB88:
/* B46D28 800CFB88 86280006 */ lh $t0, 6($s1)
/* B46D2C 800CFB8C 3C098017 */ lui $t1, %hi(D_8016A738) # $t1, 0x8017
/* B46D30 800CFB90 C7A40088 */ lwc1 $f4, 0x88($sp)
/* B46D34 800CFB94 A428A738 */ sh $t0, %lo(D_8016A738)($at)
/* B46D38 800CFB98 8529A738 */ lh $t1, %lo(D_8016A738)($t1)
/* B46D3C 800CFB9C 3C018017 */ lui $at, %hi(D_8016A730) # $at, 0x8017
/* B46D40 800CFBA0 C7A60084 */ lwc1 $f6, 0x84($sp)
/* B46D44 800CFBA4 A429A730 */ sh $t1, %lo(D_8016A730)($at)
/* B46D48 800CFBA8 4600220D */ trunc.w.s $f8, $f4
/* B46D4C 800CFBAC 862A000A */ lh $t2, 0xa($s1)
/* B46D50 800CFBB0 3C018017 */ lui $at, %hi(D_8016A73C) # $at, 0x8017
/* B46D54 800CFBB4 4600328D */ trunc.w.s $f10, $f6
/* B46D58 800CFBB8 3C0B8017 */ lui $t3, %hi(D_8016A73C) # $t3, 0x8017
/* B46D5C 800CFBBC A42AA73C */ sh $t2, %lo(D_8016A73C)($at)
/* B46D60 800CFBC0 856BA73C */ lh $t3, %lo(D_8016A73C)($t3)
/* B46D64 800CFBC4 440D4000 */ mfc1 $t5, $f8
/* B46D68 800CFBC8 3C018017 */ lui $at, %hi(D_8016A732) # $at, 0x8017
/* B46D6C 800CFBCC 440F5000 */ mfc1 $t7, $f10
/* B46D70 800CFBD0 A42BA734 */ sh $t3, %lo(D_8016A734)($at)
/* B46D74 800CFBD4 A42DA732 */ sh $t5, %lo(D_8016A732)($at)
/* B46D78 800CFBD8 3C018017 */ lui $at, %hi(D_8016A73E) # $at, 0x8017
/* B46D7C 800CFBDC A42FA73A */ sh $t7, %lo(D_8016A73A)($at)
/* B46D80 800CFBE0 86380000 */ lh $t8, ($s1)
/* B46D84 800CFBE4 3C198017 */ lui $t9, %hi(D_8016A73E) # $t9, 0x8017
/* B46D88 800CFBE8 3C048017 */ lui $a0, %hi(D_8016A730) # $a0, 0x8017
/* B46D8C 800CFBEC A438A73E */ sh $t8, %lo(D_8016A73E)($at)
/* B46D90 800CFBF0 8739A73E */ lh $t9, %lo(D_8016A73E)($t9)
/* B46D94 800CFBF4 3C018017 */ lui $at, %hi(D_8016A736) # $at, 0x8017
/* B46D98 800CFBF8 2484A730 */ addiu $a0, %lo(D_8016A730) # addiu $a0, $a0, -0x58d0
/* B46D9C 800CFBFC 02002825 */ move $a1, $s0
/* B46DA0 800CFC00 8FA60098 */ lw $a2, 0x98($sp)
/* B46DA4 800CFC04 0C033A4D */ jal func_800CE934
/* B46DA8 800CFC08 A439A736 */ sh $t9, %lo(D_8016A736)($at)
/* B46DAC 800CFC0C 14400007 */ bnez $v0, .L800CFC2C
/* B46DB0 800CFC10 3C048017 */ lui $a0, %hi(D_8016A738) # $a0, 0x8017
/* B46DB4 800CFC14 2484A738 */ addiu $a0, %lo(D_8016A738) # addiu $a0, $a0, -0x58c8
/* B46DB8 800CFC18 02002825 */ move $a1, $s0
/* B46DBC 800CFC1C 0C033A4D */ jal func_800CE934
/* B46DC0 800CFC20 8FA60098 */ lw $a2, 0x98($sp)
/* B46DC4 800CFC24 50400004 */ beql $v0, $zero, .L800CFC38
/* B46DC8 800CFC28 00001025 */ move $v0, $zero
.L800CFC2C:
/* B46DCC 800CFC2C 10000002 */ b .L800CFC38
/* B46DD0 800CFC30 24020001 */ li $v0, 1
/* B46DD4 800CFC34 00001025 */ move $v0, $zero
.L800CFC38:
/* B46DD8 800CFC38 8FBF003C */ lw $ra, 0x3c($sp)
/* B46DDC 800CFC3C 8FB00034 */ lw $s0, 0x34($sp)
/* B46DE0 800CFC40 8FB10038 */ lw $s1, 0x38($sp)
/* B46DE4 800CFC44 03E00008 */ jr $ra
/* B46DE8 800CFC48 27BD0090 */ addiu $sp, $sp, 0x90
glabel func_800CFC4C
/* B46DEC 800CFC4C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B46DF0 800CFC50 AFBF0014 */ sw $ra, 0x14($sp)
/* B46DF4 800CFC54 0C033DF4 */ jal func_800CF7D0
/* B46DF8 800CFC58 27A6001C */ addiu $a2, $sp, 0x1c
/* B46DFC 800CFC5C 8FBF0014 */ lw $ra, 0x14($sp)
/* B46E00 800CFC60 27BD0028 */ addiu $sp, $sp, 0x28
/* B46E04 800CFC64 03E00008 */ jr $ra
/* B46E08 800CFC68 00000000 */ nop
glabel func_800CFC6C
/* B46E0C 800CFC6C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B46E10 800CFC70 AFBF0014 */ sw $ra, 0x14($sp)
/* B46E14 800CFC74 0C033F23 */ jal func_800CFC8C
/* B46E18 800CFC78 27A6001C */ addiu $a2, $sp, 0x1c
/* B46E1C 800CFC7C 8FBF0014 */ lw $ra, 0x14($sp)
/* B46E20 800CFC80 27BD0020 */ addiu $sp, $sp, 0x20
/* B46E24 800CFC84 03E00008 */ jr $ra
/* B46E28 800CFC88 00000000 */ nop
glabel func_800CFC8C
/* B46E2C 800CFC8C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B46E30 800CFC90 AFBF0014 */ sw $ra, 0x14($sp)
/* B46E34 800CFC94 0C033F2B */ jal func_800CFCAC
/* B46E38 800CFC98 27A7001C */ addiu $a3, $sp, 0x1c
/* B46E3C 800CFC9C 8FBF0014 */ lw $ra, 0x14($sp)
/* B46E40 800CFCA0 27BD0020 */ addiu $sp, $sp, 0x20
/* B46E44 800CFCA4 03E00008 */ jr $ra
/* B46E48 800CFCA8 00000000 */ nop
glabel func_800CFCAC
/* B46E4C 800CFCAC 848E0000 */ lh $t6, ($a0)
/* B46E50 800CFCB0 84AF0000 */ lh $t7, ($a1)
/* B46E54 800CFCB4 84980002 */ lh $t8, 2($a0)
/* B46E58 800CFCB8 448E2000 */ mtc1 $t6, $f4
/* B46E5C 800CFCBC 448F4000 */ mtc1 $t7, $f8
/* B46E60 800CFCC0 84B90002 */ lh $t9, 2($a1)
/* B46E64 800CFCC4 468021A0 */ cvt.s.w $f6, $f4
/* B46E68 800CFCC8 44989000 */ mtc1 $t8, $f18
/* B46E6C 800CFCCC 84880004 */ lh $t0, 4($a0)
/* B46E70 800CFCD0 84A90004 */ lh $t1, 4($a1)
/* B46E74 800CFCD4 3C018014 */ lui $at, %hi(D_8014655C)
/* B46E78 800CFCD8 468042A0 */ cvt.s.w $f10, $f8
/* B46E7C 800CFCDC 44994000 */ mtc1 $t9, $f8
/* B46E80 800CFCE0 46809120 */ cvt.s.w $f4, $f18
/* B46E84 800CFCE4 460A3081 */ sub.s $f2, $f6, $f10
/* B46E88 800CFCE8 44885000 */ mtc1 $t0, $f10
/* B46E8C 800CFCEC 468041A0 */ cvt.s.w $f6, $f8
/* B46E90 800CFCF0 44894000 */ mtc1 $t1, $f8
/* B46E94 800CFCF4 468054A0 */ cvt.s.w $f18, $f10
/* B46E98 800CFCF8 46062301 */ sub.s $f12, $f4, $f6
/* B46E9C 800CFCFC 46021182 */ mul.s $f6, $f2, $f2
/* B46EA0 800CFD00 00000000 */ nop
/* B46EA4 800CFD04 460C6282 */ mul.s $f10, $f12, $f12
/* B46EA8 800CFD08 46804120 */ cvt.s.w $f4, $f8
/* B46EAC 800CFD0C 460A3200 */ add.s $f8, $f6, $f10
/* B46EB0 800CFD10 46049381 */ sub.s $f14, $f18, $f4
/* B46EB4 800CFD14 460E7482 */ mul.s $f18, $f14, $f14
/* B46EB8 800CFD18 46124100 */ add.s $f4, $f8, $f18
/* B46EBC 800CFD1C 46002021 */ cvt.d.s $f0, $f4
/* B46EC0 800CFD20 46200004 */ sqrt.d $f0, $f0
/* B46EC4 800CFD24 46200420 */ cvt.s.d $f16, $f0
/* B46EC8 800CFD28 E4F00000 */ swc1 $f16, ($a3)
/* B46ECC 800CFD2C 84AB0006 */ lh $t3, 6($a1)
/* B46ED0 800CFD30 848A0006 */ lh $t2, 6($a0)
/* B46ED4 800CFD34 448B4000 */ mtc1 $t3, $f8
/* B46ED8 800CFD38 448A3000 */ mtc1 $t2, $f6
/* B46EDC 800CFD3C 468044A0 */ cvt.s.w $f18, $f8
/* B46EE0 800CFD40 468032A0 */ cvt.s.w $f10, $f6
/* B46EE4 800CFD44 46125100 */ add.s $f4, $f10, $f18
/* B46EE8 800CFD48 46102181 */ sub.s $f6, $f4, $f16
/* B46EEC 800CFD4C E4C60000 */ swc1 $f6, ($a2)
/* B46EF0 800CFD50 C4CA0000 */ lwc1 $f10, ($a2)
/* B46EF4 800CFD54 C428655C */ lwc1 $f8, %lo(D_8014655C)($at)
/* B46EF8 800CFD58 460A403C */ c.lt.s $f8, $f10
/* B46EFC 800CFD5C 00000000 */ nop
/* B46F00 800CFD60 45000003 */ bc1f .L800CFD70
/* B46F04 800CFD64 00000000 */ nop
/* B46F08 800CFD68 03E00008 */ jr $ra
/* B46F0C 800CFD6C 24020001 */ li $v0, 1
.L800CFD70:
/* B46F10 800CFD70 44809000 */ mtc1 $zero, $f18
/* B46F14 800CFD74 00001025 */ move $v0, $zero
/* B46F18 800CFD78 E4D20000 */ swc1 $f18, ($a2)
/* B46F1C 800CFD7C 03E00008 */ jr $ra
/* B46F20 800CFD80 00000000 */ nop
glabel func_800CFD84
/* B46F24 800CFD84 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B46F28 800CFD88 AFBF0014 */ sw $ra, 0x14($sp)
/* B46F2C 800CFD8C 0C033F69 */ jal func_800CFDA4
/* B46F30 800CFD90 27A7001C */ addiu $a3, $sp, 0x1c
/* B46F34 800CFD94 8FBF0014 */ lw $ra, 0x14($sp)
/* B46F38 800CFD98 27BD0020 */ addiu $sp, $sp, 0x20
/* B46F3C 800CFD9C 03E00008 */ jr $ra
/* B46F40 800CFDA0 00000000 */ nop
glabel func_800CFDA4
/* B46F44 800CFDA4 84820006 */ lh $v0, 6($a0)
/* B46F48 800CFDA8 18400004 */ blez $v0, .L800CFDBC
/* B46F4C 800CFDAC 00000000 */ nop
/* B46F50 800CFDB0 84A30000 */ lh $v1, ($a1)
/* B46F54 800CFDB4 5C600004 */ bgtzl $v1, .L800CFDC8
/* B46F58 800CFDB8 848E0002 */ lh $t6, 2($a0)
.L800CFDBC:
/* B46F5C 800CFDBC 03E00008 */ jr $ra
/* B46F60 800CFDC0 00001025 */ move $v0, $zero
/* B46F64 800CFDC4 848E0002 */ lh $t6, 2($a0)
.L800CFDC8:
/* B46F68 800CFDC8 44824000 */ mtc1 $v0, $f8
/* B46F6C 800CFDCC 3C018017 */ lui $at, %hi(D_8016A77C)
/* B46F70 800CFDD0 448E2000 */ mtc1 $t6, $f4
/* B46F74 800CFDD4 468040A0 */ cvt.s.w $f2, $f8
/* B46F78 800CFDD8 468021A0 */ cvt.s.w $f6, $f4
/* B46F7C 800CFDDC E426A77C */ swc1 $f6, %lo(D_8016A77C)($at)
/* B46F80 800CFDE0 3C018017 */ lui $at, %hi(D_8016A784)
/* B46F84 800CFDE4 E422A784 */ swc1 $f2, %lo(D_8016A784)($at)
/* B46F88 800CFDE8 84AF0008 */ lh $t7, 8($a1)
/* B46F8C 800CFDEC 3C018017 */ lui $at, %hi(D_8016A770)
/* B46F90 800CFDF0 448F5000 */ mtc1 $t7, $f10
/* B46F94 800CFDF4 00000000 */ nop
/* B46F98 800CFDF8 468054A0 */ cvt.s.w $f18, $f10
/* B46F9C 800CFDFC E432A770 */ swc1 $f18, %lo(D_8016A770)($at)
/* B46FA0 800CFE00 84B80004 */ lh $t8, 4($a1)
/* B46FA4 800CFE04 3C018017 */ lui $at, %hi(D_8016A768)
/* B46FA8 800CFE08 44982000 */ mtc1 $t8, $f4
/* B46FAC 800CFE0C 00000000 */ nop
/* B46FB0 800CFE10 468021A0 */ cvt.s.w $f6, $f4
/* B46FB4 800CFE14 E426A768 */ swc1 $f6, %lo(D_8016A768)($at)
/* B46FB8 800CFE18 84B90002 */ lh $t9, 2($a1)
/* B46FBC 800CFE1C 3C018017 */ lui $at, %hi(D_8016A764)
/* B46FC0 800CFE20 44994000 */ mtc1 $t9, $f8
/* B46FC4 800CFE24 00000000 */ nop
/* B46FC8 800CFE28 468042A0 */ cvt.s.w $f10, $f8
/* B46FCC 800CFE2C E42AA764 */ swc1 $f10, %lo(D_8016A764)($at)
/* B46FD0 800CFE30 84A90006 */ lh $t1, 6($a1)
/* B46FD4 800CFE34 84880000 */ lh $t0, ($a0)
/* B46FD8 800CFE38 84AB000A */ lh $t3, 0xa($a1)
/* B46FDC 800CFE3C 44893000 */ mtc1 $t1, $f6
/* B46FE0 800CFE40 44889000 */ mtc1 $t0, $f18
/* B46FE4 800CFE44 848A0004 */ lh $t2, 4($a0)
/* B46FE8 800CFE48 46803220 */ cvt.s.w $f8, $f6
/* B46FEC 800CFE4C 448B3000 */ mtc1 $t3, $f6
/* B46FF0 800CFE50 448A5000 */ mtc1 $t2, $f10
/* B46FF4 800CFE54 3C018017 */ lui $at, %hi(D_8016A770)
/* B46FF8 800CFE58 46809120 */ cvt.s.w $f4, $f18
/* B46FFC 800CFE5C 468054A0 */ cvt.s.w $f18, $f10
/* B47000 800CFE60 46082301 */ sub.s $f12, $f4, $f8
/* B47004 800CFE64 44834000 */ mtc1 $v1, $f8
/* B47008 800CFE68 46803120 */ cvt.s.w $f4, $f6
/* B4700C 800CFE6C 460C6182 */ mul.s $f6, $f12, $f12
/* B47010 800CFE70 46049381 */ sub.s $f14, $f18, $f4
/* B47014 800CFE74 468042A0 */ cvt.s.w $f10, $f8
/* B47018 800CFE78 460E7482 */ mul.s $f18, $f14, $f14
/* B4701C 800CFE7C 460A1400 */ add.s $f16, $f2, $f10
/* B47020 800CFE80 46123000 */ add.s $f0, $f6, $f18
/* B47024 800CFE84 46000004 */ sqrt.s $f0, $f0
/* B47028 800CFE88 4600803C */ c.lt.s $f16, $f0
/* B4702C 800CFE8C E4E00000 */ swc1 $f0, ($a3)
/* B47030 800CFE90 45000003 */ bc1f .L800CFEA0
/* B47034 800CFE94 00000000 */ nop
/* B47038 800CFE98 03E00008 */ jr $ra
/* B4703C 800CFE9C 00001025 */ move $v0, $zero
.L800CFEA0:
/* B47040 800CFEA0 C424A770 */ lwc1 $f4, %lo(D_8016A770)($at)
/* B47044 800CFEA4 3C018017 */ lui $at, %hi(D_8016A768)
/* B47048 800CFEA8 C428A768 */ lwc1 $f8, %lo(D_8016A768)($at)
/* B4704C 800CFEAC 3C018017 */ lui $at, %hi(D_8016A77C)
/* B47050 800CFEB0 C42AA77C */ lwc1 $f10, %lo(D_8016A77C)($at)
/* B47054 800CFEB4 3C018017 */ lui $at, %hi(D_8016A784)
/* B47058 800CFEB8 C426A784 */ lwc1 $f6, %lo(D_8016A784)($at)
/* B4705C 800CFEBC 46082000 */ add.s $f0, $f4, $f8
/* B47060 800CFEC0 3C018017 */ lui $at, %hi(D_8016A764)
/* B47064 800CFEC4 00001025 */ move $v0, $zero
/* B47068 800CFEC8 46065480 */ add.s $f18, $f10, $f6
/* B4706C 800CFECC 4612003E */ c.le.s $f0, $f18
/* B47070 800CFED0 00000000 */ nop
/* B47074 800CFED4 4500000D */ bc1f .L800CFF0C
/* B47078 800CFED8 00000000 */ nop
/* B4707C 800CFEDC C424A764 */ lwc1 $f4, %lo(D_8016A764)($at)
/* B47080 800CFEE0 46065481 */ sub.s $f18, $f10, $f6
/* B47084 800CFEE4 46040200 */ add.s $f8, $f0, $f4
/* B47088 800CFEE8 4608903E */ c.le.s $f18, $f8
/* B4708C 800CFEEC 00000000 */ nop
/* B47090 800CFEF0 45000006 */ bc1f .L800CFF0C
/* B47094 800CFEF4 00000000 */ nop
/* B47098 800CFEF8 C4E40000 */ lwc1 $f4, ($a3)
/* B4709C 800CFEFC 24020001 */ li $v0, 1
/* B470A0 800CFF00 46048281 */ sub.s $f10, $f16, $f4
/* B470A4 800CFF04 03E00008 */ jr $ra
/* B470A8 800CFF08 E4CA0000 */ swc1 $f10, ($a2)
.L800CFF0C:
/* B470AC 800CFF0C 03E00008 */ jr $ra
/* B470B0 800CFF10 00000000 */ nop
glabel func_800CFF14
/* B470B4 800CFF14 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B470B8 800CFF18 AFBF0014 */ sw $ra, 0x14($sp)
/* B470BC 800CFF1C 0C033FCD */ jal func_800CFF34
/* B470C0 800CFF20 27A7001C */ addiu $a3, $sp, 0x1c
/* B470C4 800CFF24 8FBF0014 */ lw $ra, 0x14($sp)
/* B470C8 800CFF28 27BD0020 */ addiu $sp, $sp, 0x20
/* B470CC 800CFF2C 03E00008 */ jr $ra
/* B470D0 800CFF30 00000000 */ nop
glabel func_800CFF34
/* B470D4 800CFF34 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B470D8 800CFF38 AFA40018 */ sw $a0, 0x18($sp)
/* B470DC 800CFF3C AFA5001C */ sw $a1, 0x1c($sp)
/* B470E0 800CFF40 8FA50018 */ lw $a1, 0x18($sp)
/* B470E4 800CFF44 AFBF0014 */ sw $ra, 0x14($sp)
/* B470E8 800CFF48 3C048017 */ lui $a0, %hi(D_8016A794) # $a0, 0x8017
/* B470EC 800CFF4C AFA60020 */ sw $a2, 0x20($sp)
/* B470F0 800CFF50 AFA70024 */ sw $a3, 0x24($sp)
/* B470F4 800CFF54 2484A794 */ addiu $a0, %lo(D_8016A794) # addiu $a0, $a0, -0x586c
/* B470F8 800CFF58 0C01DF97 */ jal Math_Vec3s_ToVec3f
/* B470FC 800CFF5C 24A50006 */ addiu $a1, $a1, 6
/* B47100 800CFF60 8FA20018 */ lw $v0, 0x18($sp)
/* B47104 800CFF64 3C018017 */ lui $at, %hi(D_8016A788)
/* B47108 800CFF68 8FA3001C */ lw $v1, 0x1c($sp)
/* B4710C 800CFF6C 844E0000 */ lh $t6, ($v0)
/* B47110 800CFF70 3C048017 */ lui $a0, %hi(D_8016A7AC)
/* B47114 800CFF74 2484A7AC */ addiu $a0, %lo(D_8016A7AC) # addiu $a0, $a0, -0x5854
/* B47118 800CFF78 448E2000 */ mtc1 $t6, $f4
/* B4711C 800CFF7C 24650006 */ addiu $a1, $v1, 6
/* B47120 800CFF80 468021A0 */ cvt.s.w $f6, $f4
/* B47124 800CFF84 E426A788 */ swc1 $f6, %lo(D_8016A788)($at)
/* B47128 800CFF88 844F0004 */ lh $t7, 4($v0)
/* B4712C 800CFF8C 3C018017 */ lui $at, %hi(D_8016A790)
/* B47130 800CFF90 448F4000 */ mtc1 $t7, $f8
/* B47134 800CFF94 00000000 */ nop
/* B47138 800CFF98 468042A0 */ cvt.s.w $f10, $f8
/* B4713C 800CFF9C E42AA790 */ swc1 $f10, %lo(D_8016A790)($at)
/* B47140 800CFFA0 84580002 */ lh $t8, 2($v0)
/* B47144 800CFFA4 3C018017 */ lui $at, %hi(D_8016A78C)
/* B47148 800CFFA8 44988000 */ mtc1 $t8, $f16
/* B4714C 800CFFAC 00000000 */ nop
/* B47150 800CFFB0 468084A0 */ cvt.s.w $f18, $f16
/* B47154 800CFFB4 0C01DF97 */ jal Math_Vec3s_ToVec3f
/* B47158 800CFFB8 E432A78C */ swc1 $f18, %lo(D_8016A78C)($at)
/* B4715C 800CFFBC 8FA3001C */ lw $v1, 0x1c($sp)
/* B47160 800CFFC0 3C018017 */ lui $at, %hi(D_8016A7A0)
/* B47164 800CFFC4 8FA40024 */ lw $a0, 0x24($sp)
/* B47168 800CFFC8 84790000 */ lh $t9, ($v1)
/* B4716C 800CFFCC 44992000 */ mtc1 $t9, $f4
/* B47170 800CFFD0 00000000 */ nop
/* B47174 800CFFD4 468021A0 */ cvt.s.w $f6, $f4
/* B47178 800CFFD8 E426A7A0 */ swc1 $f6, %lo(D_8016A7A0)($at)
/* B4717C 800CFFDC 84680004 */ lh $t0, 4($v1)
/* B47180 800CFFE0 3C018017 */ lui $at, %hi(D_8016A7A8)
/* B47184 800CFFE4 44884000 */ mtc1 $t0, $f8
/* B47188 800CFFE8 00000000 */ nop
/* B4718C 800CFFEC 468042A0 */ cvt.s.w $f10, $f8
/* B47190 800CFFF0 E42AA7A8 */ swc1 $f10, %lo(D_8016A7A8)($at)
/* B47194 800CFFF4 84690002 */ lh $t1, 2($v1)
/* B47198 800CFFF8 3C018017 */ lui $at, %hi(D_8016A7A4)
/* B4719C 800CFFFC 44898000 */ mtc1 $t1, $f16
/* B471A0 800D0000 00000000 */ nop
/* B471A4 800D0004 468084A0 */ cvt.s.w $f18, $f16
/* B471A8 800D0008 E432A7A4 */ swc1 $f18, %lo(D_8016A7A4)($at)
/* B471AC 800D000C 3C018017 */ lui $at, %hi(D_8016A794)
/* B471B0 800D0010 C424A794 */ lwc1 $f4, %lo(D_8016A794)($at)
/* B471B4 800D0014 3C018017 */ lui $at, %hi(D_8016A7AC)
/* B471B8 800D0018 C426A7AC */ lwc1 $f6, %lo(D_8016A7AC)($at)
/* B471BC 800D001C 3C018017 */ lui $at, %hi(D_8016A79C)
/* B471C0 800D0020 C428A79C */ lwc1 $f8, %lo(D_8016A79C)($at)
/* B471C4 800D0024 3C018017 */ lui $at, %hi(D_8016A7B4)
/* B471C8 800D0028 46062081 */ sub.s $f2, $f4, $f6
/* B471CC 800D002C C42AA7B4 */ lwc1 $f10, %lo(D_8016A7B4)($at)
/* B471D0 800D0030 3C018017 */ lui $at, %hi(D_8016A788)
/* B471D4 800D0034 460A4301 */ sub.s $f12, $f8, $f10
/* B471D8 800D0038 46021402 */ mul.s $f16, $f2, $f2
/* B471DC 800D003C 00000000 */ nop
/* B471E0 800D0040 460C6482 */ mul.s $f18, $f12, $f12
/* B471E4 800D0044 46128000 */ add.s $f0, $f16, $f18
/* B471E8 800D0048 46000004 */ sqrt.s $f0, $f0
/* B471EC 800D004C E4800000 */ swc1 $f0, ($a0)
/* B471F0 800D0050 C424A788 */ lwc1 $f4, %lo(D_8016A788)($at)
/* B471F4 800D0054 3C018017 */ lui $at, %hi(D_8016A7A0)
/* B471F8 800D0058 C426A7A0 */ lwc1 $f6, %lo(D_8016A7A0)($at)
/* B471FC 800D005C 3C018017 */ lui $at, %hi(D_8016A798)
/* B47200 800D0060 46062380 */ add.s $f14, $f4, $f6
/* B47204 800D0064 4600703C */ c.lt.s $f14, $f0
/* B47208 800D0068 00000000 */ nop
/* B4720C 800D006C 45000003 */ bc1f .L800D007C
/* B47210 800D0070 00000000 */ nop
/* B47214 800D0074 1000001F */ b .L800D00F4
/* B47218 800D0078 00001025 */ move $v0, $zero
.L800D007C:
/* B4721C 800D007C C428A798 */ lwc1 $f8, %lo(D_8016A798)($at)
/* B47220 800D0080 3C018017 */ lui $at, %hi(D_8016A790)
/* B47224 800D0084 C42AA790 */ lwc1 $f10, %lo(D_8016A790)($at)
/* B47228 800D0088 3C018017 */ lui $at, %hi(D_8016A7B0)
/* B4722C 800D008C C430A7B0 */ lwc1 $f16, %lo(D_8016A7B0)($at)
/* B47230 800D0090 3C018017 */ lui $at, %hi(D_8016A7A8)
/* B47234 800D0094 C432A7A8 */ lwc1 $f18, %lo(D_8016A7A8)($at)
/* B47238 800D0098 460A4000 */ add.s $f0, $f8, $f10
/* B4723C 800D009C 3C018017 */ lui $at, %hi(D_8016A78C)
/* B47240 800D00A0 C424A78C */ lwc1 $f4, %lo(D_8016A78C)($at)
/* B47244 800D00A4 46128080 */ add.s $f2, $f16, $f18
/* B47248 800D00A8 3C018017 */ lui $at, %hi(D_8016A7A4)
/* B4724C 800D00AC 46040180 */ add.s $f6, $f0, $f4
/* B47250 800D00B0 4602303C */ c.lt.s $f6, $f2
/* B47254 800D00B4 00000000 */ nop
/* B47258 800D00B8 45010007 */ bc1t .L800D00D8
/* B4725C 800D00BC 00000000 */ nop
/* B47260 800D00C0 C428A7A4 */ lwc1 $f8, %lo(D_8016A7A4)($at)
/* B47264 800D00C4 46081280 */ add.s $f10, $f2, $f8
/* B47268 800D00C8 4600503C */ c.lt.s $f10, $f0
/* B4726C 800D00CC 00000000 */ nop
/* B47270 800D00D0 45020004 */ bc1fl .L800D00E4
/* B47274 800D00D4 C4900000 */ lwc1 $f16, ($a0)
.L800D00D8:
/* B47278 800D00D8 10000006 */ b .L800D00F4
/* B4727C 800D00DC 00001025 */ move $v0, $zero
/* B47280 800D00E0 C4900000 */ lwc1 $f16, ($a0)
.L800D00E4:
/* B47284 800D00E4 8FAA0020 */ lw $t2, 0x20($sp)
/* B47288 800D00E8 24020001 */ li $v0, 1
/* B4728C 800D00EC 46107481 */ sub.s $f18, $f14, $f16
/* B47290 800D00F0 E5520000 */ swc1 $f18, ($t2)
.L800D00F4:
/* B47294 800D00F4 8FBF0014 */ lw $ra, 0x14($sp)
/* B47298 800D00F8 27BD0018 */ addiu $sp, $sp, 0x18
/* B4729C 800D00FC 03E00008 */ jr $ra
/* B472A0 800D0100 00000000 */ nop
glabel func_800D0104
/* B472A4 800D0104 27BDFFA0 */ addiu $sp, $sp, -0x60
/* B472A8 800D0108 AFB00034 */ sw $s0, 0x34($sp)
/* B472AC 800D010C 00808025 */ move $s0, $a0
/* B472B0 800D0110 AFBF003C */ sw $ra, 0x3c($sp)
/* B472B4 800D0114 AFB10038 */ sw $s1, 0x38($sp)
/* B472B8 800D0118 24840024 */ addiu $a0, $a0, 0x24
/* B472BC 800D011C 00A08825 */ move $s1, $a1
/* B472C0 800D0120 AFA60068 */ sw $a2, 0x68($sp)
/* B472C4 800D0124 0C033281 */ jal func_800CCA04
/* B472C8 800D0128 AFA40050 */ sw $a0, 0x50($sp)
/* B472CC 800D012C 2625000C */ addiu $a1, $s1, 0xc
/* B472D0 800D0130 E7A0005C */ swc1 $f0, 0x5c($sp)
/* B472D4 800D0134 AFA5004C */ sw $a1, 0x4c($sp)
/* B472D8 800D0138 0C033281 */ jal func_800CCA04
/* B472DC 800D013C 8FA40050 */ lw $a0, 0x50($sp)
/* B472E0 800D0140 26250018 */ addiu $a1, $s1, 0x18
/* B472E4 800D0144 AFA50048 */ sw $a1, 0x48($sp)
/* B472E8 800D0148 8FA40050 */ lw $a0, 0x50($sp)
/* B472EC 800D014C 0C033281 */ jal func_800CCA04
/* B472F0 800D0150 E7A00058 */ swc1 $f0, 0x58($sp)
/* B472F4 800D0154 44801000 */ mtc1 $zero, $f2
/* B472F8 800D0158 C7AE005C */ lwc1 $f14, 0x5c($sp)
/* B472FC 800D015C C7AC0058 */ lwc1 $f12, 0x58($sp)
/* B47300 800D0160 460E103C */ c.lt.s $f2, $f14
/* B47304 800D0164 00000000 */ nop
/* B47308 800D0168 4502000A */ bc1fl .L800D0194
/* B4730C 800D016C 4602703C */ c.lt.s $f14, $f2
/* B47310 800D0170 460C103C */ c.lt.s $f2, $f12
/* B47314 800D0174 00000000 */ nop
/* B47318 800D0178 45020006 */ bc1fl .L800D0194
/* B4731C 800D017C 4602703C */ c.lt.s $f14, $f2
/* B47320 800D0180 4600103C */ c.lt.s $f2, $f0
/* B47324 800D0184 00000000 */ nop
/* B47328 800D0188 4501000E */ bc1t .L800D01C4
/* B4732C 800D018C 00000000 */ nop
/* B47330 800D0190 4602703C */ c.lt.s $f14, $f2
.L800D0194:
/* B47334 800D0194 26240024 */ addiu $a0, $s1, 0x24
/* B47338 800D0198 02002825 */ move $a1, $s0
/* B4733C 800D019C 4500000B */ bc1f .L800D01CC
/* B47340 800D01A0 00000000 */ nop
/* B47344 800D01A4 4602603C */ c.lt.s $f12, $f2
/* B47348 800D01A8 00000000 */ nop
/* B4734C 800D01AC 45000007 */ bc1f .L800D01CC
/* B47350 800D01B0 00000000 */ nop
/* B47354 800D01B4 4602003C */ c.lt.s $f0, $f2
/* B47358 800D01B8 00000000 */ nop
/* B4735C 800D01BC 45000003 */ bc1f .L800D01CC
/* B47360 800D01C0 00000000 */ nop
.L800D01C4:
/* B47364 800D01C4 100000A9 */ b .L800D046C
/* B47368 800D01C8 00001025 */ move $v0, $zero
.L800D01CC:
/* B4736C 800D01CC 0C033281 */ jal func_800CCA04
/* B47370 800D01D0 AFA40050 */ sw $a0, 0x50($sp)
/* B47374 800D01D4 2605000C */ addiu $a1, $s0, 0xc
/* B47378 800D01D8 E7A0005C */ swc1 $f0, 0x5c($sp)
/* B4737C 800D01DC AFA50044 */ sw $a1, 0x44($sp)
/* B47380 800D01E0 0C033281 */ jal func_800CCA04
/* B47384 800D01E4 8FA40050 */ lw $a0, 0x50($sp)
/* B47388 800D01E8 26050018 */ addiu $a1, $s0, 0x18
/* B4738C 800D01EC AFA50040 */ sw $a1, 0x40($sp)
/* B47390 800D01F0 8FA40050 */ lw $a0, 0x50($sp)
/* B47394 800D01F4 0C033281 */ jal func_800CCA04
/* B47398 800D01F8 E7A00058 */ swc1 $f0, 0x58($sp)
/* B4739C 800D01FC 44801000 */ mtc1 $zero, $f2
/* B473A0 800D0200 C7A4005C */ lwc1 $f4, 0x5c($sp)
/* B473A4 800D0204 C7AC0058 */ lwc1 $f12, 0x58($sp)
/* B473A8 800D0208 C7A6005C */ lwc1 $f6, 0x5c($sp)
/* B473AC 800D020C 4604103C */ c.lt.s $f2, $f4
/* B473B0 800D0210 00000000 */ nop
/* B473B4 800D0214 4502000A */ bc1fl .L800D0240
/* B473B8 800D0218 4602303C */ c.lt.s $f6, $f2
/* B473BC 800D021C 460C103C */ c.lt.s $f2, $f12
/* B473C0 800D0220 00000000 */ nop
/* B473C4 800D0224 45020006 */ bc1fl .L800D0240
/* B473C8 800D0228 4602303C */ c.lt.s $f6, $f2
/* B473CC 800D022C 4600103C */ c.lt.s $f2, $f0
/* B473D0 800D0230 00000000 */ nop
/* B473D4 800D0234 4501000E */ bc1t .L800D0270
/* B473D8 800D0238 00000000 */ nop
/* B473DC 800D023C 4602303C */ c.lt.s $f6, $f2
.L800D0240:
/* B473E0 800D0240 02202025 */ move $a0, $s1
/* B473E4 800D0244 8FA5004C */ lw $a1, 0x4c($sp)
/* B473E8 800D0248 4502000C */ bc1fl .L800D027C
/* B473EC 800D024C C6280028 */ lwc1 $f8, 0x28($s1)
/* B473F0 800D0250 4602603C */ c.lt.s $f12, $f2
/* B473F4 800D0254 00000000 */ nop
/* B473F8 800D0258 45020008 */ bc1fl .L800D027C
/* B473FC 800D025C C6280028 */ lwc1 $f8, 0x28($s1)
/* B47400 800D0260 4602003C */ c.lt.s $f0, $f2
/* B47404 800D0264 00000000 */ nop
/* B47408 800D0268 45020004 */ bc1fl .L800D027C
/* B4740C 800D026C C6280028 */ lwc1 $f8, 0x28($s1)
.L800D0270:
/* B47410 800D0270 1000007E */ b .L800D046C
/* B47414 800D0274 00001025 */ move $v0, $zero
/* B47418 800D0278 C6280028 */ lwc1 $f8, 0x28($s1)
.L800D027C:
/* B4741C 800D027C 8E270024 */ lw $a3, 0x24($s1)
/* B47420 800D0280 8FAE0044 */ lw $t6, 0x44($sp)
/* B47424 800D0284 E7A80010 */ swc1 $f8, 0x10($sp)
/* B47428 800D0288 C62A002C */ lwc1 $f10, 0x2c($s1)
/* B4742C 800D028C 8FAF0068 */ lw $t7, 0x68($sp)
/* B47430 800D0290 8FA60048 */ lw $a2, 0x48($sp)
/* B47434 800D0294 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B47438 800D0298 C6300030 */ lwc1 $f16, 0x30($s1)
/* B4743C 800D029C AFA00028 */ sw $zero, 0x28($sp)
/* B47440 800D02A0 AFB0001C */ sw $s0, 0x1c($sp)
/* B47444 800D02A4 AFAE0020 */ sw $t6, 0x20($sp)
/* B47448 800D02A8 AFAF0024 */ sw $t7, 0x24($sp)
/* B4744C 800D02AC 0C033897 */ jal func_800CE25C
/* B47450 800D02B0 E7B00018 */ swc1 $f16, 0x18($sp)
/* B47454 800D02B4 10400003 */ beqz $v0, .L800D02C4
/* B47458 800D02B8 02202025 */ move $a0, $s1
/* B4745C 800D02BC 1000006B */ b .L800D046C
/* B47460 800D02C0 24020001 */ li $v0, 1
.L800D02C4:
/* B47464 800D02C4 C6320028 */ lwc1 $f18, 0x28($s1)
/* B47468 800D02C8 8E270024 */ lw $a3, 0x24($s1)
/* B4746C 800D02CC 8FB80044 */ lw $t8, 0x44($sp)
/* B47470 800D02D0 E7B20010 */ swc1 $f18, 0x10($sp)
/* B47474 800D02D4 C624002C */ lwc1 $f4, 0x2c($s1)
/* B47478 800D02D8 8FB90040 */ lw $t9, 0x40($sp)
/* B4747C 800D02DC 8FA80068 */ lw $t0, 0x68($sp)
/* B47480 800D02E0 E7A40014 */ swc1 $f4, 0x14($sp)
/* B47484 800D02E4 C6260030 */ lwc1 $f6, 0x30($s1)
/* B47488 800D02E8 AFA00028 */ sw $zero, 0x28($sp)
/* B4748C 800D02EC 8FA5004C */ lw $a1, 0x4c($sp)
/* B47490 800D02F0 8FA60048 */ lw $a2, 0x48($sp)
/* B47494 800D02F4 AFB8001C */ sw $t8, 0x1c($sp)
/* B47498 800D02F8 AFB90020 */ sw $t9, 0x20($sp)
/* B4749C 800D02FC AFA80024 */ sw $t0, 0x24($sp)
/* B474A0 800D0300 0C033897 */ jal func_800CE25C
/* B474A4 800D0304 E7A60018 */ swc1 $f6, 0x18($sp)
/* B474A8 800D0308 10400003 */ beqz $v0, .L800D0318
/* B474AC 800D030C 02202025 */ move $a0, $s1
/* B474B0 800D0310 10000056 */ b .L800D046C
/* B474B4 800D0314 24020001 */ li $v0, 1
.L800D0318:
/* B474B8 800D0318 C6280028 */ lwc1 $f8, 0x28($s1)
/* B474BC 800D031C 8E270024 */ lw $a3, 0x24($s1)
/* B474C0 800D0320 8FA90040 */ lw $t1, 0x40($sp)
/* B474C4 800D0324 E7A80010 */ swc1 $f8, 0x10($sp)
/* B474C8 800D0328 C62A002C */ lwc1 $f10, 0x2c($s1)
/* B474CC 800D032C 8FAA0068 */ lw $t2, 0x68($sp)
/* B474D0 800D0330 8FA5004C */ lw $a1, 0x4c($sp)
/* B474D4 800D0334 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B474D8 800D0338 C6300030 */ lwc1 $f16, 0x30($s1)
/* B474DC 800D033C AFA00028 */ sw $zero, 0x28($sp)
/* B474E0 800D0340 AFB00020 */ sw $s0, 0x20($sp)
/* B474E4 800D0344 8FA60048 */ lw $a2, 0x48($sp)
/* B474E8 800D0348 AFA9001C */ sw $t1, 0x1c($sp)
/* B474EC 800D034C AFAA0024 */ sw $t2, 0x24($sp)
/* B474F0 800D0350 0C033897 */ jal func_800CE25C
/* B474F4 800D0354 E7B00018 */ swc1 $f16, 0x18($sp)
/* B474F8 800D0358 10400003 */ beqz $v0, .L800D0368
/* B474FC 800D035C 02002025 */ move $a0, $s0
/* B47500 800D0360 10000042 */ b .L800D046C
/* B47504 800D0364 24020001 */ li $v0, 1
.L800D0368:
/* B47508 800D0368 C6120028 */ lwc1 $f18, 0x28($s0)
/* B4750C 800D036C 8E070024 */ lw $a3, 0x24($s0)
/* B47510 800D0370 8FAB004C */ lw $t3, 0x4c($sp)
/* B47514 800D0374 E7B20010 */ swc1 $f18, 0x10($sp)
/* B47518 800D0378 C604002C */ lwc1 $f4, 0x2c($s0)
/* B4751C 800D037C 8FAC0068 */ lw $t4, 0x68($sp)
/* B47520 800D0380 8FA50044 */ lw $a1, 0x44($sp)
/* B47524 800D0384 E7A40014 */ swc1 $f4, 0x14($sp)
/* B47528 800D0388 C6060030 */ lwc1 $f6, 0x30($s0)
/* B4752C 800D038C AFA00028 */ sw $zero, 0x28($sp)
/* B47530 800D0390 AFB1001C */ sw $s1, 0x1c($sp)
/* B47534 800D0394 8FA60040 */ lw $a2, 0x40($sp)
/* B47538 800D0398 AFAB0020 */ sw $t3, 0x20($sp)
/* B4753C 800D039C AFAC0024 */ sw $t4, 0x24($sp)
/* B47540 800D03A0 0C033897 */ jal func_800CE25C
/* B47544 800D03A4 E7A60018 */ swc1 $f6, 0x18($sp)
/* B47548 800D03A8 24010001 */ li $at, 1
/* B4754C 800D03AC 14410003 */ bne $v0, $at, .L800D03BC
/* B47550 800D03B0 02002025 */ move $a0, $s0
/* B47554 800D03B4 1000002D */ b .L800D046C
/* B47558 800D03B8 24020001 */ li $v0, 1
.L800D03BC:
/* B4755C 800D03BC C6080028 */ lwc1 $f8, 0x28($s0)
/* B47560 800D03C0 8E070024 */ lw $a3, 0x24($s0)
/* B47564 800D03C4 8FAD004C */ lw $t5, 0x4c($sp)
/* B47568 800D03C8 E7A80010 */ swc1 $f8, 0x10($sp)
/* B4756C 800D03CC C60A002C */ lwc1 $f10, 0x2c($s0)
/* B47570 800D03D0 8FAE0048 */ lw $t6, 0x48($sp)
/* B47574 800D03D4 8FAF0068 */ lw $t7, 0x68($sp)
/* B47578 800D03D8 E7AA0014 */ swc1 $f10, 0x14($sp)
/* B4757C 800D03DC C6100030 */ lwc1 $f16, 0x30($s0)
/* B47580 800D03E0 AFA00028 */ sw $zero, 0x28($sp)
/* B47584 800D03E4 8FA50044 */ lw $a1, 0x44($sp)
/* B47588 800D03E8 8FA60040 */ lw $a2, 0x40($sp)
/* B4758C 800D03EC AFAD001C */ sw $t5, 0x1c($sp)
/* B47590 800D03F0 AFAE0020 */ sw $t6, 0x20($sp)
/* B47594 800D03F4 AFAF0024 */ sw $t7, 0x24($sp)
/* B47598 800D03F8 0C033897 */ jal func_800CE25C
/* B4759C 800D03FC E7B00018 */ swc1 $f16, 0x18($sp)
/* B475A0 800D0400 24010001 */ li $at, 1
/* B475A4 800D0404 14410003 */ bne $v0, $at, .L800D0414
/* B475A8 800D0408 02002025 */ move $a0, $s0
/* B475AC 800D040C 10000017 */ b .L800D046C
/* B475B0 800D0410 24020001 */ li $v0, 1
.L800D0414:
/* B475B4 800D0414 C6120028 */ lwc1 $f18, 0x28($s0)
/* B475B8 800D0418 8E070024 */ lw $a3, 0x24($s0)
/* B475BC 800D041C 8FB80048 */ lw $t8, 0x48($sp)
/* B475C0 800D0420 E7B20010 */ swc1 $f18, 0x10($sp)
/* B475C4 800D0424 C604002C */ lwc1 $f4, 0x2c($s0)
/* B475C8 800D0428 8FB90068 */ lw $t9, 0x68($sp)
/* B475CC 800D042C 8FA50044 */ lw $a1, 0x44($sp)
/* B475D0 800D0430 E7A40014 */ swc1 $f4, 0x14($sp)
/* B475D4 800D0434 C6060030 */ lwc1 $f6, 0x30($s0)
/* B475D8 800D0438 AFA00028 */ sw $zero, 0x28($sp)
/* B475DC 800D043C AFB10020 */ sw $s1, 0x20($sp)
/* B475E0 800D0440 8FA60040 */ lw $a2, 0x40($sp)
/* B475E4 800D0444 AFB8001C */ sw $t8, 0x1c($sp)
/* B475E8 800D0448 AFB90024 */ sw $t9, 0x24($sp)
/* B475EC 800D044C 0C033897 */ jal func_800CE25C
/* B475F0 800D0450 E7A60018 */ swc1 $f6, 0x18($sp)
/* B475F4 800D0454 24010001 */ li $at, 1
/* B475F8 800D0458 54410004 */ bnel $v0, $at, .L800D046C
/* B475FC 800D045C 00001025 */ move $v0, $zero
/* B47600 800D0460 10000002 */ b .L800D046C
/* B47604 800D0464 24020001 */ li $v0, 1
/* B47608 800D0468 00001025 */ move $v0, $zero
.L800D046C:
/* B4760C 800D046C 8FBF003C */ lw $ra, 0x3c($sp)
/* B47610 800D0470 8FB00034 */ lw $s0, 0x34($sp)
/* B47614 800D0474 8FB10038 */ lw $s1, 0x38($sp)
/* B47618 800D0478 03E00008 */ jr $ra
/* B4761C 800D047C 27BD0060 */ addiu $sp, $sp, 0x60
glabel func_800D0480
/* B47620 800D0480 848E0000 */ lh $t6, ($a0)
/* B47624 800D0484 848F0004 */ lh $t7, 4($a0)
/* B47628 800D0488 84820006 */ lh $v0, 6($a0)
/* B4762C 800D048C 448E2000 */ mtc1 $t6, $f4
/* B47630 800D0490 448F4000 */ mtc1 $t7, $f8
/* B47634 800D0494 44856000 */ mtc1 $a1, $f12
/* B47638 800D0498 468021A0 */ cvt.s.w $f6, $f4
/* B4763C 800D049C 00420019 */ multu $v0, $v0
/* B47640 800D04A0 44867000 */ mtc1 $a2, $f14
/* B47644 800D04A4 00001025 */ move $v0, $zero
/* B47648 800D04A8 468042A0 */ cvt.s.w $f10, $f8
/* B4764C 800D04AC 460C3001 */ sub.s $f0, $f6, $f12
/* B47650 800D04B0 0000C012 */ mflo $t8
/* B47654 800D04B4 44988000 */ mtc1 $t8, $f16
/* B47658 800D04B8 460E5081 */ sub.s $f2, $f10, $f14
/* B4765C 800D04BC 46000102 */ mul.s $f4, $f0, $f0
/* B47660 800D04C0 00000000 */ nop
/* B47664 800D04C4 46021182 */ mul.s $f6, $f2, $f2
/* B47668 800D04C8 468084A0 */ cvt.s.w $f18, $f16
/* B4766C 800D04CC 46062200 */ add.s $f8, $f4, $f6
/* B47670 800D04D0 4612403E */ c.le.s $f8, $f18
/* B47674 800D04D4 00000000 */ nop
/* B47678 800D04D8 45000003 */ bc1f .L800D04E8
/* B4767C 800D04DC 00000000 */ nop
/* B47680 800D04E0 03E00008 */ jr $ra
/* B47684 800D04E4 24020001 */ li $v0, 1
.L800D04E8:
/* B47688 800D04E8 03E00008 */ jr $ra
/* B4768C 800D04EC 00000000 */ nop
glabel func_800D04F0
/* B47690 800D04F0 848E0000 */ lh $t6, ($a0)
/* B47694 800D04F4 848F0002 */ lh $t7, 2($a0)
/* B47698 800D04F8 84820006 */ lh $v0, 6($a0)
/* B4769C 800D04FC 448E2000 */ mtc1 $t6, $f4
/* B476A0 800D0500 448F4000 */ mtc1 $t7, $f8
/* B476A4 800D0504 44856000 */ mtc1 $a1, $f12
/* B476A8 800D0508 468021A0 */ cvt.s.w $f6, $f4
/* B476AC 800D050C 00420019 */ multu $v0, $v0
/* B476B0 800D0510 44867000 */ mtc1 $a2, $f14
/* B476B4 800D0514 00001025 */ move $v0, $zero
/* B476B8 800D0518 468042A0 */ cvt.s.w $f10, $f8
/* B476BC 800D051C 460C3001 */ sub.s $f0, $f6, $f12
/* B476C0 800D0520 0000C012 */ mflo $t8
/* B476C4 800D0524 44988000 */ mtc1 $t8, $f16
/* B476C8 800D0528 460E5081 */ sub.s $f2, $f10, $f14
/* B476CC 800D052C 46000102 */ mul.s $f4, $f0, $f0
/* B476D0 800D0530 00000000 */ nop
/* B476D4 800D0534 46021182 */ mul.s $f6, $f2, $f2
/* B476D8 800D0538 468084A0 */ cvt.s.w $f18, $f16
/* B476DC 800D053C 46062200 */ add.s $f8, $f4, $f6
/* B476E0 800D0540 4612403E */ c.le.s $f8, $f18
/* B476E4 800D0544 00000000 */ nop
/* B476E8 800D0548 45000003 */ bc1f .L800D0558
/* B476EC 800D054C 00000000 */ nop
/* B476F0 800D0550 03E00008 */ jr $ra
/* B476F4 800D0554 24020001 */ li $v0, 1
.L800D0558:
/* B476F8 800D0558 03E00008 */ jr $ra
/* B476FC 800D055C 00000000 */ nop
glabel func_800D0560
/* B47700 800D0560 848E0002 */ lh $t6, 2($a0)
/* B47704 800D0564 848F0004 */ lh $t7, 4($a0)
/* B47708 800D0568 84820006 */ lh $v0, 6($a0)
/* B4770C 800D056C 448E2000 */ mtc1 $t6, $f4
/* B47710 800D0570 448F4000 */ mtc1 $t7, $f8
/* B47714 800D0574 44856000 */ mtc1 $a1, $f12
/* B47718 800D0578 468021A0 */ cvt.s.w $f6, $f4
/* B4771C 800D057C 00420019 */ multu $v0, $v0
/* B47720 800D0580 44867000 */ mtc1 $a2, $f14
/* B47724 800D0584 00001025 */ move $v0, $zero
/* B47728 800D0588 468042A0 */ cvt.s.w $f10, $f8
/* B4772C 800D058C 460C3001 */ sub.s $f0, $f6, $f12
/* B47730 800D0590 0000C012 */ mflo $t8
/* B47734 800D0594 44988000 */ mtc1 $t8, $f16
/* B47738 800D0598 460E5081 */ sub.s $f2, $f10, $f14
/* B4773C 800D059C 46000102 */ mul.s $f4, $f0, $f0
/* B47740 800D05A0 00000000 */ nop
/* B47744 800D05A4 46021182 */ mul.s $f6, $f2, $f2
/* B47748 800D05A8 468084A0 */ cvt.s.w $f18, $f16
/* B4774C 800D05AC 46062200 */ add.s $f8, $f4, $f6
/* B47750 800D05B0 4612403E */ c.le.s $f8, $f18
/* B47754 800D05B4 00000000 */ nop
/* B47758 800D05B8 45000003 */ bc1f .L800D05C8
/* B4775C 800D05BC 00000000 */ nop
/* B47760 800D05C0 03E00008 */ jr $ra
/* B47764 800D05C4 24020001 */ li $v0, 1
.L800D05C8:
/* B47768 800D05C8 03E00008 */ jr $ra
/* B4776C 800D05CC 00000000 */ nop
glabel func_800D05D0
/* B47770 800D05D0 AFA40000 */ sw $a0, ($sp)
/* B47774 800D05D4 03E00008 */ jr $ra
/* B47778 800D05D8 AFA50004 */ sw $a1, 4($sp)
glabel func_800D05DC
/* B4777C 800D05DC AFA40000 */ sw $a0, ($sp)
/* B47780 800D05E0 03E00008 */ jr $ra
/* B47784 800D05E4 AFA50004 */ sw $a1, 4($sp)