### RAW ASSEMBLY INSTRUCTIONS:

glabel func_801180E8
/* AE7E8 801180E8 27BDFF88 */  addiu     $sp, $sp, -0x78
/* AE7EC 801180EC 0080602D */  daddu     $t4, $a0, $zero
/* AE7F0 801180F0 00A0C02D */  daddu     $t8, $a1, $zero
/* AE7F4 801180F4 AFBE0070 */  sw        $fp, 0x70($sp)
/* AE7F8 801180F8 00C0F02D */  daddu     $fp, $a2, $zero
/* AE7FC 801180FC AFB7006C */  sw        $s7, 0x6C($sp)
/* AE800 80118100 AFB60068 */  sw        $s6, 0x68($sp)
/* AE804 80118104 AFB50064 */  sw        $s5, 0x64($sp)
/* AE808 80118108 AFB40060 */  sw        $s4, 0x60($sp)
/* AE80C 8011810C AFB3005C */  sw        $s3, 0x5C($sp)
/* AE810 80118110 AFB20058 */  sw        $s2, 0x58($sp)
/* AE814 80118114 AFB10054 */  sw        $s1, 0x54($sp)
/* AE818 80118118 AFB00050 */  sw        $s0, 0x50($sp)
/* AE81C 8011811C 95990022 */  lhu       $t9, 0x22($t4)
/* AE820 80118120 8FA6008C */  lw        $a2, 0x8C($sp)
/* AE824 80118124 93B00093 */  lbu       $s0, 0x93($sp)
/* AE828 80118128 93B40097 */  lbu       $s4, 0x97($sp)
/* AE82C 8011812C 97B5009A */  lhu       $s5, 0x9A($sp)
/* AE830 80118130 97B6009E */  lhu       $s6, 0x9E($sp)
/* AE834 80118134 AFA00030 */  sw        $zero, 0x30($sp)
/* AE838 80118138 2B220003 */  slti      $v0, $t9, 0x3
/* AE83C 8011813C A3B00007 */  sb        $s0, 0x7($sp)
/* AE840 80118140 A3B4000F */  sb        $s4, 0xF($sp)
/* AE844 80118144 A7B50016 */  sh        $s5, 0x16($sp)
/* AE848 80118148 A7B6001E */  sh        $s6, 0x1E($sp)
/* AE84C 8011814C 95920026 */  lhu       $s2, 0x26($t4)
/* AE850 80118150 14400028 */  bnez      $v0, .L801181F4
/* AE854 80118154 0000882D */   daddu    $s1, $zero, $zero
/* AE858 80118158 2B220005 */  slti      $v0, $t9, 0x5
/* AE85C 8011815C 54400023 */  bnel      $v0, $zero, .L801181EC
/* AE860 80118160 24100002 */   addiu    $s0, $zero, 0x2
/* AE864 80118164 2B220009 */  slti      $v0, $t9, 0x9
/* AE868 80118168 5440001E */  bnel      $v0, $zero, .L801181E4
/* AE86C 8011816C 24160003 */   addiu    $s6, $zero, 0x3
/* AE870 80118170 2B220011 */  slti      $v0, $t9, 0x11
/* AE874 80118174 54400019 */  bnel      $v0, $zero, .L801181DC
/* AE878 80118178 24150004 */   addiu    $s5, $zero, 0x4
/* AE87C 8011817C 2B220021 */  slti      $v0, $t9, 0x21
/* AE880 80118180 5440001D */  bnel      $v0, $zero, .L801181F8
/* AE884 80118184 24140005 */   addiu    $s4, $zero, 0x5
/* AE888 80118188 2B220041 */  slti      $v0, $t9, 0x41
/* AE88C 8011818C 54400011 */  bnel      $v0, $zero, .L801181D4
/* AE890 80118190 24100006 */   addiu    $s0, $zero, 0x6
/* AE894 80118194 2B220081 */  slti      $v0, $t9, 0x81
/* AE898 80118198 5440000C */  bnel      $v0, $zero, .L801181CC
/* AE89C 8011819C 24160007 */   addiu    $s6, $zero, 0x7
/* AE8A0 801181A0 2B220101 */  slti      $v0, $t9, 0x101
/* AE8A4 801181A4 14400007 */  bnez      $v0, .L801181C4
/* AE8A8 801181A8 24150008 */   addiu    $s5, $zero, 0x8
/* AE8AC 801181AC 2410000A */  addiu     $s0, $zero, 0xA
/* AE8B0 801181B0 2B220201 */  slti      $v0, $t9, 0x201
/* AE8B4 801181B4 10400011 */  beqz      $v0, .L801181FC
/* AE8B8 801181B8 AFB00048 */   sw       $s0, 0x48($sp)
/* AE8BC 801181BC 0804607E */  j         .L801181F8
/* AE8C0 801181C0 24140009 */   addiu    $s4, $zero, 0x9
.L801181C4:
/* AE8C4 801181C4 0804607F */  j         .L801181FC
/* AE8C8 801181C8 AFB50048 */   sw       $s5, 0x48($sp)
.L801181CC:
/* AE8CC 801181CC 0804607F */  j         .L801181FC
/* AE8D0 801181D0 AFB60048 */   sw       $s6, 0x48($sp)
.L801181D4:
/* AE8D4 801181D4 0804607F */  j         .L801181FC
/* AE8D8 801181D8 AFB00048 */   sw       $s0, 0x48($sp)
.L801181DC:
/* AE8DC 801181DC 0804607F */  j         .L801181FC
/* AE8E0 801181E0 AFB50048 */   sw       $s5, 0x48($sp)
.L801181E4:
/* AE8E4 801181E4 0804607F */  j         .L801181FC
/* AE8E8 801181E8 AFB60048 */   sw       $s6, 0x48($sp)
.L801181EC:
/* AE8EC 801181EC 0804607F */  j         .L801181FC
/* AE8F0 801181F0 AFB00048 */   sw       $s0, 0x48($sp)
.L801181F4:
/* AE8F4 801181F4 24140001 */  addiu     $s4, $zero, 0x1
.L801181F8:
/* AE8F8 801181F8 AFB40048 */  sw        $s4, 0x48($sp)
.L801181FC:
/* AE8FC 801181FC 2A420003 */  slti      $v0, $s2, 0x3
/* AE900 80118200 14400028 */  bnez      $v0, .L801182A4
/* AE904 80118204 24160001 */   addiu    $s6, $zero, 0x1
/* AE908 80118208 2A420005 */  slti      $v0, $s2, 0x5
/* AE90C 8011820C 14400023 */  bnez      $v0, .L8011829C
/* AE910 80118210 24150002 */   addiu    $s5, $zero, 0x2
/* AE914 80118214 2A420009 */  slti      $v0, $s2, 0x9
/* AE918 80118218 5440001E */  bnel      $v0, $zero, .L80118294
/* AE91C 8011821C 24140003 */   addiu    $s4, $zero, 0x3
/* AE920 80118220 2A420011 */  slti      $v0, $s2, 0x11
/* AE924 80118224 14400019 */  bnez      $v0, .L8011828C
/* AE928 80118228 24100004 */   addiu    $s0, $zero, 0x4
/* AE92C 8011822C 2A420021 */  slti      $v0, $s2, 0x21
/* AE930 80118230 1440001C */  bnez      $v0, .L801182A4
/* AE934 80118234 24160005 */   addiu    $s6, $zero, 0x5
/* AE938 80118238 2A420041 */  slti      $v0, $s2, 0x41
/* AE93C 8011823C 14400011 */  bnez      $v0, .L80118284
/* AE940 80118240 24150006 */   addiu    $s5, $zero, 0x6
/* AE944 80118244 2A420081 */  slti      $v0, $s2, 0x81
/* AE948 80118248 5440000C */  bnel      $v0, $zero, .L8011827C
/* AE94C 8011824C 24140007 */   addiu    $s4, $zero, 0x7
/* AE950 80118250 2A420101 */  slti      $v0, $s2, 0x101
/* AE954 80118254 14400007 */  bnez      $v0, .L80118274
/* AE958 80118258 24100008 */   addiu    $s0, $zero, 0x8
/* AE95C 8011825C 2415000A */  addiu     $s5, $zero, 0xA
/* AE960 80118260 2A420201 */  slti      $v0, $s2, 0x201
/* AE964 80118264 10400010 */  beqz      $v0, .L801182A8
/* AE968 80118268 AFB50044 */   sw       $s5, 0x44($sp)
/* AE96C 8011826C 080460A9 */  j         .L801182A4
/* AE970 80118270 24160009 */   addiu    $s6, $zero, 0x9
.L80118274:
/* AE974 80118274 080460AA */  j         .L801182A8
/* AE978 80118278 AFB00044 */   sw       $s0, 0x44($sp)
.L8011827C:
/* AE97C 8011827C 080460AA */  j         .L801182A8
/* AE980 80118280 AFB40044 */   sw       $s4, 0x44($sp)
.L80118284:
/* AE984 80118284 080460AA */  j         .L801182A8
/* AE988 80118288 AFB50044 */   sw       $s5, 0x44($sp)
.L8011828C:
/* AE98C 8011828C 080460AA */  j         .L801182A8
/* AE990 80118290 AFB00044 */   sw       $s0, 0x44($sp)
.L80118294:
/* AE994 80118294 080460AA */  j         .L801182A8
/* AE998 80118298 AFB40044 */   sw       $s4, 0x44($sp)
.L8011829C:
/* AE99C 8011829C 080460AA */  j         .L801182A8
/* AE9A0 801182A0 AFB50044 */   sw       $s5, 0x44($sp)
.L801182A4:
/* AE9A4 801182A4 AFB60044 */  sw        $s6, 0x44($sp)
.L801182A8:
/* AE9A8 801182A8 9183002D */  lbu       $v1, 0x2D($t4)
/* AE9AC 801182AC 9582002E */  lhu       $v0, 0x2E($t4)
/* AE9B0 801182B0 95930020 */  lhu       $s3, 0x20($t4)
/* AE9B4 801182B4 3069000F */  andi      $t1, $v1, 0xF
/* AE9B8 801182B8 00021202 */  srl       $v0, $v0, 8
/* AE9BC 801182BC 3057000F */  andi      $s7, $v0, 0xF
/* AE9C0 801182C0 9582002C */  lhu       $v0, 0x2C($t4)
/* AE9C4 801182C4 9183002B */  lbu       $v1, 0x2B($t4)
/* AE9C8 801182C8 00021202 */  srl       $v0, $v0, 8
/* AE9CC 801182CC 3045000F */  andi      $a1, $v0, 0xF
/* AE9D0 801182D0 9182002F */  lbu       $v0, 0x2F($t4)
/* AE9D4 801182D4 3068000F */  andi      $t0, $v1, 0xF
/* AE9D8 801182D8 00021300 */  sll       $v0, $v0, 12
/* AE9DC 801182DC AFA2002C */  sw        $v0, 0x2C($sp)
/* AE9E0 801182E0 918B0029 */  lbu       $t3, 0x29($t4)
/* AE9E4 801182E4 95900024 */  lhu       $s0, 0x24($t4)
/* AE9E8 801182E8 2A620003 */  slti      $v0, $s3, 0x3
/* AE9EC 801182EC 1440001B */  bnez      $v0, .L8011835C
/* AE9F0 801182F0 AFB00040 */   sw       $s0, 0x40($sp)
/* AE9F4 801182F4 2A620005 */  slti      $v0, $s3, 0x5
/* AE9F8 801182F8 14400019 */  bnez      $v0, .L80118360
/* AE9FC 801182FC 240D0002 */   addiu    $t5, $zero, 0x2
/* AEA00 80118300 2A620009 */  slti      $v0, $s3, 0x9
/* AEA04 80118304 14400016 */  bnez      $v0, .L80118360
/* AEA08 80118308 240D0003 */   addiu    $t5, $zero, 0x3
/* AEA0C 8011830C 2A620011 */  slti      $v0, $s3, 0x11
/* AEA10 80118310 14400013 */  bnez      $v0, .L80118360
/* AEA14 80118314 240D0004 */   addiu    $t5, $zero, 0x4
/* AEA18 80118318 2A620021 */  slti      $v0, $s3, 0x21
/* AEA1C 8011831C 14400010 */  bnez      $v0, .L80118360
/* AEA20 80118320 240D0005 */   addiu    $t5, $zero, 0x5
/* AEA24 80118324 2A620041 */  slti      $v0, $s3, 0x41
/* AEA28 80118328 1440000D */  bnez      $v0, .L80118360
/* AEA2C 8011832C 240D0006 */   addiu    $t5, $zero, 0x6
/* AEA30 80118330 2A620081 */  slti      $v0, $s3, 0x81
/* AEA34 80118334 1440000A */  bnez      $v0, .L80118360
/* AEA38 80118338 240D0007 */   addiu    $t5, $zero, 0x7
/* AEA3C 8011833C 2A620101 */  slti      $v0, $s3, 0x101
/* AEA40 80118340 14400007 */  bnez      $v0, .L80118360
/* AEA44 80118344 240D0008 */   addiu    $t5, $zero, 0x8
/* AEA48 80118348 2A620201 */  slti      $v0, $s3, 0x201
/* AEA4C 8011834C 10400004 */  beqz      $v0, .L80118360
/* AEA50 80118350 240D000A */   addiu    $t5, $zero, 0xA
/* AEA54 80118354 080460D8 */  j         .L80118360
/* AEA58 80118358 240D0009 */   addiu    $t5, $zero, 0x9
.L8011835C:
/* AEA5C 8011835C 240D0001 */  addiu     $t5, $zero, 0x1
.L80118360:
/* AEA60 80118360 8FB40040 */  lw        $s4, 0x40($sp)
/* AEA64 80118364 2A820003 */  slti      $v0, $s4, 0x3
/* AEA68 80118368 1440001A */  bnez      $v0, .L801183D4
/* AEA6C 8011836C 240E0001 */   addiu    $t6, $zero, 0x1
/* AEA70 80118370 2A820005 */  slti      $v0, $s4, 0x5
/* AEA74 80118374 14400017 */  bnez      $v0, .L801183D4
/* AEA78 80118378 240E0002 */   addiu    $t6, $zero, 0x2
/* AEA7C 8011837C 2A820009 */  slti      $v0, $s4, 0x9
/* AEA80 80118380 14400014 */  bnez      $v0, .L801183D4
/* AEA84 80118384 240E0003 */   addiu    $t6, $zero, 0x3
/* AEA88 80118388 2A820011 */  slti      $v0, $s4, 0x11
/* AEA8C 8011838C 14400011 */  bnez      $v0, .L801183D4
/* AEA90 80118390 240E0004 */   addiu    $t6, $zero, 0x4
/* AEA94 80118394 2A820021 */  slti      $v0, $s4, 0x21
/* AEA98 80118398 1440000E */  bnez      $v0, .L801183D4
/* AEA9C 8011839C 240E0005 */   addiu    $t6, $zero, 0x5
/* AEAA0 801183A0 2A820041 */  slti      $v0, $s4, 0x41
/* AEAA4 801183A4 1440000B */  bnez      $v0, .L801183D4
/* AEAA8 801183A8 240E0006 */   addiu    $t6, $zero, 0x6
/* AEAAC 801183AC 2A820081 */  slti      $v0, $s4, 0x81
/* AEAB0 801183B0 14400008 */  bnez      $v0, .L801183D4
/* AEAB4 801183B4 240E0007 */   addiu    $t6, $zero, 0x7
/* AEAB8 801183B8 2A820101 */  slti      $v0, $s4, 0x101
/* AEABC 801183BC 14400005 */  bnez      $v0, .L801183D4
/* AEAC0 801183C0 240E0008 */   addiu    $t6, $zero, 0x8
/* AEAC4 801183C4 2A820201 */  slti      $v0, $s4, 0x201
/* AEAC8 801183C8 10400002 */  beqz      $v0, .L801183D4
/* AEACC 801183CC 240E000A */   addiu    $t6, $zero, 0xA
/* AEAD0 801183D0 240E0009 */  addiu     $t6, $zero, 0x9
.L801183D4:
/* AEAD4 801183D4 9584002C */  lhu       $a0, 0x2C($t4)
/* AEAD8 801183D8 00041102 */  srl       $v0, $a0, 4
/* AEADC 801183DC 3042000F */  andi      $v0, $v0, 0xF
/* AEAE0 801183E0 AFA20024 */  sw        $v0, 0x24($sp)
/* AEAE4 801183E4 9583002E */  lhu       $v1, 0x2E($t4)
/* AEAE8 801183E8 9582002A */  lhu       $v0, 0x2A($t4)
/* AEAEC 801183EC 00042302 */  srl       $a0, $a0, 12
/* AEAF0 801183F0 AFA4004C */  sw        $a0, 0x4C($sp)
/* AEAF4 801183F4 00031B02 */  srl       $v1, $v1, 12
/* AEAF8 801183F8 00021102 */  srl       $v0, $v0, 4
/* AEAFC 801183FC 3042000F */  andi      $v0, $v0, 0xF
/* AEB00 80118400 AFA20020 */  sw        $v0, 0x20($sp)
/* AEB04 80118404 24020003 */  addiu     $v0, $zero, 0x3
/* AEB08 80118408 15620003 */  bne       $t3, $v0, .L80118418
/* AEB0C 8011840C AFA30028 */   sw       $v1, 0x28($sp)
/* AEB10 80118410 0007A82B */  sltu      $s5, $zero, $a3
/* AEB14 80118414 AFB50030 */  sw        $s5, 0x30($sp)
.L80118418:
/* AEB18 80118418 14E00003 */  bnez      $a3, .L80118428
/* AEB1C 8011841C 34168000 */   ori      $s6, $zero, 0x8000
/* AEB20 80118420 50C000A1 */  beql      $a2, $zero, .L801186A8
/* AEB24 80118424 AFA00034 */   sw       $zero, 0x34($sp)
.L80118428:
/* AEB28 80118428 10E0004C */  beqz      $a3, .L8011855C
/* AEB2C 8011842C AFB60034 */   sw       $s6, 0x34($sp)
/* AEB30 80118430 14A0001B */  bnez      $a1, .L801184A0
/* AEB34 80118434 24020001 */   addiu    $v0, $zero, 0x1
/* AEB38 80118438 8F020000 */  lw        $v0, 0x0($t8)
/* AEB3C 8011843C 0040182D */  daddu     $v1, $v0, $zero
/* AEB40 80118440 24420008 */  addiu     $v0, $v0, 0x8
/* AEB44 80118444 AF020000 */  sw        $v0, 0x0($t8)
/* AEB48 80118448 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* AEB4C 8011844C AC620000 */  sw        $v0, 0x0($v1)
/* AEB50 80118450 AC670004 */  sw        $a3, 0x4($v1)
/* AEB54 80118454 8F020000 */  lw        $v0, 0x0($t8)
/* AEB58 80118458 3C04F500 */  lui       $a0, (0xF5000100 >> 16)
/* AEB5C 8011845C 0040182D */  daddu     $v1, $v0, $zero
/* AEB60 80118460 24420008 */  addiu     $v0, $v0, 0x8
/* AEB64 80118464 AF020000 */  sw        $v0, 0x0($t8)
/* AEB68 80118468 3C02E800 */  lui       $v0, (0xE8000000 >> 16)
/* AEB6C 8011846C AC620000 */  sw        $v0, 0x0($v1)
/* AEB70 80118470 AC600004 */  sw        $zero, 0x4($v1)
/* AEB74 80118474 8F020000 */  lw        $v0, 0x0($t8)
/* AEB78 80118478 34840100 */  ori       $a0, $a0, (0xF5000100 & 0xFFFF)
/* AEB7C 8011847C 0040182D */  daddu     $v1, $v0, $zero
/* AEB80 80118480 24420008 */  addiu     $v0, $v0, 0x8
/* AEB84 80118484 AF020000 */  sw        $v0, 0x0($t8)
/* AEB88 80118488 3C020700 */  lui       $v0, (0x7000000 >> 16)
/* AEB8C 8011848C AC640000 */  sw        $a0, 0x0($v1)
/* AEB90 80118490 AC620004 */  sw        $v0, 0x4($v1)
/* AEB94 80118494 8F020000 */  lw        $v0, 0x0($t8)
/* AEB98 80118498 08046142 */  j         .L80118508
/* AEB9C 8011849C 3C040703 */   lui      $a0, (0x703C000 >> 16)
.L801184A0:
/* AEBA0 801184A0 14A2002E */  bne       $a1, $v0, .L8011855C
/* AEBA4 801184A4 3C04F500 */   lui      $a0, (0xF5000100 >> 16)
/* AEBA8 801184A8 8F020000 */  lw        $v0, 0x0($t8)
/* AEBAC 801184AC 0040182D */  daddu     $v1, $v0, $zero
/* AEBB0 801184B0 24420008 */  addiu     $v0, $v0, 0x8
/* AEBB4 801184B4 AF020000 */  sw        $v0, 0x0($t8)
/* AEBB8 801184B8 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* AEBBC 801184BC AC620000 */  sw        $v0, 0x0($v1)
/* AEBC0 801184C0 AC670004 */  sw        $a3, 0x4($v1)
/* AEBC4 801184C4 8F020000 */  lw        $v0, 0x0($t8)
/* AEBC8 801184C8 0040182D */  daddu     $v1, $v0, $zero
/* AEBCC 801184CC 24420008 */  addiu     $v0, $v0, 0x8
/* AEBD0 801184D0 AF020000 */  sw        $v0, 0x0($t8)
/* AEBD4 801184D4 3C02E800 */  lui       $v0, (0xE8000000 >> 16)
/* AEBD8 801184D8 AC620000 */  sw        $v0, 0x0($v1)
/* AEBDC 801184DC AC600004 */  sw        $zero, 0x4($v1)
/* AEBE0 801184E0 8F020000 */  lw        $v0, 0x0($t8)
/* AEBE4 801184E4 34840100 */  ori       $a0, $a0, (0xF5000100 & 0xFFFF)
/* AEBE8 801184E8 0040182D */  daddu     $v1, $v0, $zero
/* AEBEC 801184EC 24420008 */  addiu     $v0, $v0, 0x8
/* AEBF0 801184F0 AF020000 */  sw        $v0, 0x0($t8)
/* AEBF4 801184F4 3C020700 */  lui       $v0, (0x7000000 >> 16)
/* AEBF8 801184F8 AC640000 */  sw        $a0, 0x0($v1)
/* AEBFC 801184FC AC620004 */  sw        $v0, 0x4($v1)
/* AEC00 80118500 8F020000 */  lw        $v0, 0x0($t8)
/* AEC04 80118504 3C04073F */  lui       $a0, (0x73FC000 >> 16)
.L80118508:
/* AEC08 80118508 0040182D */  daddu     $v1, $v0, $zero
/* AEC0C 8011850C 24420008 */  addiu     $v0, $v0, 0x8
/* AEC10 80118510 AF020000 */  sw        $v0, 0x0($t8)
/* AEC14 80118514 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AEC18 80118518 AC620000 */  sw        $v0, 0x0($v1)
/* AEC1C 8011851C AC600004 */  sw        $zero, 0x4($v1)
/* AEC20 80118520 8F020000 */  lw        $v0, 0x0($t8)
/* AEC24 80118524 3484C000 */  ori       $a0, $a0, (0x73FC000 & 0xFFFF)
/* AEC28 80118528 0040182D */  daddu     $v1, $v0, $zero
/* AEC2C 8011852C 24420008 */  addiu     $v0, $v0, 0x8
/* AEC30 80118530 AF020000 */  sw        $v0, 0x0($t8)
/* AEC34 80118534 3C02F000 */  lui       $v0, (0xF0000000 >> 16)
/* AEC38 80118538 AC620000 */  sw        $v0, 0x0($v1)
/* AEC3C 8011853C AC640004 */  sw        $a0, 0x4($v1)
/* AEC40 80118540 8F020000 */  lw        $v0, 0x0($t8)
/* AEC44 80118544 0040182D */  daddu     $v1, $v0, $zero
/* AEC48 80118548 24420008 */  addiu     $v0, $v0, 0x8
/* AEC4C 8011854C AF020000 */  sw        $v0, 0x0($t8)
/* AEC50 80118550 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AEC54 80118554 AC620000 */  sw        $v0, 0x0($v1)
/* AEC58 80118558 AC600004 */  sw        $zero, 0x4($v1)
.L8011855C:
/* AEC5C 8011855C 10C00052 */  beqz      $a2, .L801186A8
/* AEC60 80118560 00000000 */   nop
/* AEC64 80118564 8FB0004C */  lw        $s0, 0x4C($sp)
/* AEC68 80118568 1600001F */  bnez      $s0, .L801185E8
/* AEC6C 8011856C 24020001 */   addiu    $v0, $zero, 0x1
/* AEC70 80118570 8F020000 */  lw        $v0, 0x0($t8)
/* AEC74 80118574 0040182D */  daddu     $v1, $v0, $zero
/* AEC78 80118578 24420008 */  addiu     $v0, $v0, 0x8
/* AEC7C 8011857C AF020000 */  sw        $v0, 0x0($t8)
/* AEC80 80118580 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* AEC84 80118584 AC620000 */  sw        $v0, 0x0($v1)
/* AEC88 80118588 AC660004 */  sw        $a2, 0x4($v1)
/* AEC8C 8011858C 8F020000 */  lw        $v0, 0x0($t8)
/* AEC90 80118590 0040182D */  daddu     $v1, $v0, $zero
/* AEC94 80118594 24420008 */  addiu     $v0, $v0, 0x8
/* AEC98 80118598 AF020000 */  sw        $v0, 0x0($t8)
/* AEC9C 8011859C 3C02E800 */  lui       $v0, (0xE8000000 >> 16)
/* AECA0 801185A0 AC620000 */  sw        $v0, 0x0($v1)
/* AECA4 801185A4 AC600004 */  sw        $zero, 0x4($v1)
/* AECA8 801185A8 8F020000 */  lw        $v0, 0x0($t8)
/* AECAC 801185AC 0040202D */  daddu     $a0, $v0, $zero
/* AECB0 801185B0 24420008 */  addiu     $v0, $v0, 0x8
/* AECB4 801185B4 AF020000 */  sw        $v0, 0x0($t8)
/* AECB8 801185B8 8FB40030 */  lw        $s4, 0x30($sp)
/* AECBC 801185BC 3C03F500 */  lui       $v1, (0xF5000000 >> 16)
/* AECC0 801185C0 00141100 */  sll       $v0, $s4, 4
/* AECC4 801185C4 24420100 */  addiu     $v0, $v0, 0x100
/* AECC8 801185C8 304201FF */  andi      $v0, $v0, 0x1FF
/* AECCC 801185CC 00431025 */  or        $v0, $v0, $v1
/* AECD0 801185D0 AC820000 */  sw        $v0, 0x0($a0)
/* AECD4 801185D4 3C020700 */  lui       $v0, (0x7000000 >> 16)
/* AECD8 801185D8 AC820004 */  sw        $v0, 0x4($a0)
/* AECDC 801185DC 8F020000 */  lw        $v0, 0x0($t8)
/* AECE0 801185E0 08046195 */  j         .L80118654
/* AECE4 801185E4 3C040703 */   lui      $a0, (0x703C000 >> 16)
.L801185E8:
/* AECE8 801185E8 8FB5004C */  lw        $s5, 0x4C($sp)
/* AECEC 801185EC 16A2002E */  bne       $s5, $v0, .L801186A8
/* AECF0 801185F0 3C04F500 */   lui      $a0, (0xF5000100 >> 16)
/* AECF4 801185F4 8F020000 */  lw        $v0, 0x0($t8)
/* AECF8 801185F8 0040182D */  daddu     $v1, $v0, $zero
/* AECFC 801185FC 24420008 */  addiu     $v0, $v0, 0x8
/* AED00 80118600 AF020000 */  sw        $v0, 0x0($t8)
/* AED04 80118604 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* AED08 80118608 AC620000 */  sw        $v0, 0x0($v1)
/* AED0C 8011860C AC660004 */  sw        $a2, 0x4($v1)
/* AED10 80118610 8F020000 */  lw        $v0, 0x0($t8)
/* AED14 80118614 0040182D */  daddu     $v1, $v0, $zero
/* AED18 80118618 24420008 */  addiu     $v0, $v0, 0x8
/* AED1C 8011861C AF020000 */  sw        $v0, 0x0($t8)
/* AED20 80118620 3C02E800 */  lui       $v0, (0xE8000000 >> 16)
/* AED24 80118624 AC620000 */  sw        $v0, 0x0($v1)
/* AED28 80118628 AC600004 */  sw        $zero, 0x4($v1)
/* AED2C 8011862C 8F020000 */  lw        $v0, 0x0($t8)
/* AED30 80118630 34840100 */  ori       $a0, $a0, (0xF5000100 & 0xFFFF)
/* AED34 80118634 0040182D */  daddu     $v1, $v0, $zero
/* AED38 80118638 24420008 */  addiu     $v0, $v0, 0x8
/* AED3C 8011863C AF020000 */  sw        $v0, 0x0($t8)
/* AED40 80118640 3C020700 */  lui       $v0, (0x7000000 >> 16)
/* AED44 80118644 AC640000 */  sw        $a0, 0x0($v1)
/* AED48 80118648 AC620004 */  sw        $v0, 0x4($v1)
/* AED4C 8011864C 8F020000 */  lw        $v0, 0x0($t8)
/* AED50 80118650 3C04073F */  lui       $a0, (0x73FC000 >> 16)
.L80118654:
/* AED54 80118654 0040182D */  daddu     $v1, $v0, $zero
/* AED58 80118658 24420008 */  addiu     $v0, $v0, 0x8
/* AED5C 8011865C AF020000 */  sw        $v0, 0x0($t8)
/* AED60 80118660 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AED64 80118664 AC620000 */  sw        $v0, 0x0($v1)
/* AED68 80118668 AC600004 */  sw        $zero, 0x4($v1)
/* AED6C 8011866C 8F020000 */  lw        $v0, 0x0($t8)
/* AED70 80118670 3484C000 */  ori       $a0, $a0, (0x73FC000 & 0xFFFF)
/* AED74 80118674 0040182D */  daddu     $v1, $v0, $zero
/* AED78 80118678 24420008 */  addiu     $v0, $v0, 0x8
/* AED7C 8011867C AF020000 */  sw        $v0, 0x0($t8)
/* AED80 80118680 3C02F000 */  lui       $v0, (0xF0000000 >> 16)
/* AED84 80118684 AC620000 */  sw        $v0, 0x0($v1)
/* AED88 80118688 AC640004 */  sw        $a0, 0x4($v1)
/* AED8C 8011868C 8F020000 */  lw        $v0, 0x0($t8)
/* AED90 80118690 0040182D */  daddu     $v1, $v0, $zero
/* AED94 80118694 24420008 */  addiu     $v0, $v0, 0x8
/* AED98 80118698 AF020000 */  sw        $v0, 0x0($t8)
/* AED9C 8011869C 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AEDA0 801186A0 AC620000 */  sw        $v0, 0x0($v1)
/* AEDA4 801186A4 AC600004 */  sw        $zero, 0x4($v1)
.L801186A8:
/* AEDA8 801186A8 9584002A */  lhu       $a0, 0x2A($t4)
/* AEDAC 801186AC 00041A82 */  srl       $v1, $a0, 10
/* AEDB0 801186B0 2C620003 */  sltiu     $v0, $v1, 0x3
/* AEDB4 801186B4 10400008 */  beqz      $v0, .L801186D8
/* AEDB8 801186B8 2463000A */   addiu    $v1, $v1, 0xA
/* AEDBC 801186BC 91820029 */  lbu       $v0, 0x29($t4)
/* AEDC0 801186C0 00021840 */  sll       $v1, $v0, 1
/* AEDC4 801186C4 00621821 */  addu      $v1, $v1, $v0
/* AEDC8 801186C8 00041202 */  srl       $v0, $a0, 8
/* AEDCC 801186CC 30420003 */  andi      $v0, $v0, 0x3
/* AEDD0 801186D0 24420001 */  addiu     $v0, $v0, 0x1
/* AEDD4 801186D4 00621821 */  addu      $v1, $v1, $v0
.L801186D8:
/* AEDD8 801186D8 00031080 */  sll       $v0, $v1, 2
/* AEDDC 801186DC 00431021 */  addu      $v0, $v0, $v1
/* AEDE0 801186E0 8F030000 */  lw        $v1, 0x0($t8)
/* AEDE4 801186E4 000210C0 */  sll       $v0, $v0, 3
/* AEDE8 801186E8 3C168015 */  lui       $s6, %hi(D_8014B0B8)
/* AEDEC 801186EC 02C2B021 */  addu      $s6, $s6, $v0
/* AEDF0 801186F0 8ED6B0B8 */  lw        $s6, %lo(D_8014B0B8)($s6)
/* AEDF4 801186F4 3C108015 */  lui       $s0, %hi(D_8014B0BC)
/* AEDF8 801186F8 02028021 */  addu      $s0, $s0, $v0
/* AEDFC 801186FC 8E10B0BC */  lw        $s0, %lo(D_8014B0BC)($s0)
/* AEE00 80118700 AC760000 */  sw        $s6, 0x0($v1)
/* AEE04 80118704 AC700004 */  sw        $s0, 0x4($v1)
/* AEE08 80118708 8F040000 */  lw        $a0, 0x0($t8)
/* AEE0C 8011870C 24060001 */  addiu     $a2, $zero, 0x1
/* AEE10 80118710 24820008 */  addiu     $v0, $a0, 0x8
/* AEE14 80118714 116601B3 */  beq       $t3, $a2, .L80118DE4
/* AEE18 80118718 AF020000 */   sw       $v0, 0x0($t8)
/* AEE1C 8011871C 29620002 */  slti      $v0, $t3, 0x2
/* AEE20 80118720 10400005 */  beqz      $v0, .L80118738
/* AEE24 80118724 24070002 */   addiu    $a3, $zero, 0x2
/* AEE28 80118728 11600009 */  beqz      $t3, .L80118750
/* AEE2C 8011872C 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* AEE30 80118730 08046B32 */  j         .L8011ACC8
/* AEE34 80118734 00000000 */   nop
.L80118738:
/* AEE38 80118738 11670469 */  beq       $t3, $a3, .L801198E0
/* AEE3C 8011873C 24020003 */   addiu    $v0, $zero, 0x3
/* AEE40 80118740 116206A5 */  beq       $t3, $v0, .L8011A1D8
/* AEE44 80118744 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* AEE48 80118748 08046B32 */  j         .L8011ACC8
/* AEE4C 8011874C 00000000 */   nop
.L80118750:
/* AEE50 80118750 3C02D700 */  lui       $v0, (0xD7000002 >> 16)
/* AEE54 80118754 34420002 */  ori       $v0, $v0, (0xD7000002 & 0xFFFF)
/* AEE58 80118758 24830010 */  addiu     $v1, $a0, 0x10
/* AEE5C 8011875C AFA00038 */  sw        $zero, 0x38($sp)
/* AEE60 80118760 AF030000 */  sw        $v1, 0x0($t8)
/* AEE64 80118764 AC820008 */  sw        $v0, 0x8($a0)
/* AEE68 80118768 2402FFFF */  addiu     $v0, $zero, -0x1
/* AEE6C 8011876C 10A6006C */  beq       $a1, $a2, .L80118920
/* AEE70 80118770 AC82000C */   sw       $v0, 0xC($a0)
/* AEE74 80118774 28A20002 */  slti      $v0, $a1, 0x2
/* AEE78 80118778 10400005 */  beqz      $v0, .L80118790
/* AEE7C 8011877C 24020002 */   addiu    $v0, $zero, 0x2
/* AEE80 80118780 10A00009 */  beqz      $a1, .L801187A8
/* AEE84 80118784 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* AEE88 80118788 08046B32 */  j         .L8011ACC8
/* AEE8C 8011878C 00000000 */   nop
.L80118790:
/* AEE90 80118790 10A200C1 */  beq       $a1, $v0, .L80118A98
/* AEE94 80118794 24020003 */   addiu    $v0, $zero, 0x3
/* AEE98 80118798 10A20117 */  beq       $a1, $v0, .L80118BF8
/* AEE9C 8011879C 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* AEEA0 801187A0 08046B32 */  j         .L8011ACC8
/* AEEA4 801187A4 00000000 */   nop
.L801187A8:
/* AEEA8 801187A8 31030007 */  andi      $v1, $t0, 0x7
/* AEEAC 801187AC 8F020000 */  lw        $v0, 0x0($t8)
/* AEEB0 801187B0 00031D40 */  sll       $v1, $v1, 21
/* AEEB4 801187B4 0040202D */  daddu     $a0, $v0, $zero
/* AEEB8 801187B8 24420008 */  addiu     $v0, $v0, 0x8
/* AEEBC 801187BC AF020000 */  sw        $v0, 0x0($t8)
/* AEEC0 801187C0 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* AEEC4 801187C4 00621025 */  or        $v0, $v1, $v0
/* AEEC8 801187C8 AC820000 */  sw        $v0, 0x0($a0)
/* AEECC 801187CC AC9E0004 */  sw        $fp, 0x4($a0)
/* AEED0 801187D0 8F020000 */  lw        $v0, 0x0($t8)
/* AEED4 801187D4 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* AEED8 801187D8 0040202D */  daddu     $a0, $v0, $zero
/* AEEDC 801187DC 24420008 */  addiu     $v0, $v0, 0x8
/* AEEE0 801187E0 AF020000 */  sw        $v0, 0x0($t8)
/* AEEE4 801187E4 3C02F510 */  lui       $v0, (0xF5100000 >> 16)
/* AEEE8 801187E8 00621825 */  or        $v1, $v1, $v0
/* AEEEC 801187EC AC830000 */  sw        $v1, 0x0($a0)
/* AEEF0 801187F0 32E30003 */  andi      $v1, $s7, 0x3
/* AEEF4 801187F4 00031C80 */  sll       $v1, $v1, 18
/* AEEF8 801187F8 8FB60044 */  lw        $s6, 0x44($sp)
/* AEEFC 801187FC 8FB00048 */  lw        $s0, 0x48($sp)
/* AEF00 80118800 00161380 */  sll       $v0, $s6, 14
/* AEF04 80118804 00471025 */  or        $v0, $v0, $a3
/* AEF08 80118808 00621825 */  or        $v1, $v1, $v0
/* AEF0C 8011880C 31220003 */  andi      $v0, $t1, 0x3
/* AEF10 80118810 00021200 */  sll       $v0, $v0, 8
/* AEF14 80118814 00621825 */  or        $v1, $v1, $v0
/* AEF18 80118818 00101100 */  sll       $v0, $s0, 4
/* AEF1C 8011881C 00621825 */  or        $v1, $v1, $v0
/* AEF20 80118820 AC830004 */  sw        $v1, 0x4($a0)
/* AEF24 80118824 8F020000 */  lw        $v0, 0x0($t8)
/* AEF28 80118828 0040182D */  daddu     $v1, $v0, $zero
/* AEF2C 8011882C 24420008 */  addiu     $v0, $v0, 0x8
/* AEF30 80118830 AF020000 */  sw        $v0, 0x0($t8)
/* AEF34 80118834 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AEF38 80118838 AC620000 */  sw        $v0, 0x0($v1)
/* AEF3C 8011883C AC600004 */  sw        $zero, 0x4($v1)
/* AEF40 80118840 8F020000 */  lw        $v0, 0x0($t8)
/* AEF44 80118844 0320202D */  daddu     $a0, $t9, $zero
/* AEF48 80118848 0040302D */  daddu     $a2, $v0, $zero
/* AEF4C 8011884C 24420008 */  addiu     $v0, $v0, 0x8
/* AEF50 80118850 AF020000 */  sw        $v0, 0x0($t8)
/* AEF54 80118854 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* AEF58 80118858 07210002 */  bgez      $t9, .L80118864
/* AEF5C 8011885C ACC20000 */   sw       $v0, 0x0($a2)
/* AEF60 80118860 2724000F */  addiu     $a0, $t9, 0xF
.L80118864:
/* AEF64 80118864 00042903 */  sra       $a1, $a0, 4
/* AEF68 80118868 18A00002 */  blez      $a1, .L80118874
/* AEF6C 8011886C 24030800 */   addiu    $v1, $zero, 0x800
/* AEF70 80118870 24A307FF */  addiu     $v1, $a1, 0x7FF
.L80118874:
/* AEF74 80118874 03320018 */  mult      $t9, $s2
/* AEF78 80118878 00008012 */  mflo      $s0
/* AEF7C 8011887C 26020003 */  addiu     $v0, $s0, 0x3
/* AEF80 80118880 00021083 */  sra       $v0, $v0, 2
/* AEF84 80118884 2444FFFF */  addiu     $a0, $v0, -0x1
/* AEF88 80118888 28820800 */  slti      $v0, $a0, 0x800
/* AEF8C 8011888C 50400001 */  beql      $v0, $zero, .L80118894
/* AEF90 80118890 240407FF */   addiu    $a0, $zero, 0x7FF
.L80118894:
/* AEF94 80118894 30820FFF */  andi      $v0, $a0, 0xFFF
/* AEF98 80118898 00021300 */  sll       $v0, $v0, 12
/* AEF9C 8011889C 18A0000D */  blez      $a1, .L801188D4
/* AEFA0 801188A0 00472025 */   or       $a0, $v0, $a3
/* AEFA4 801188A4 14A00002 */  bnez      $a1, .L801188B0
/* AEFA8 801188A8 0065001A */   div      $zero, $v1, $a1
/* AEFAC 801188AC 0007000D */  break     7
.L801188B0:
/* AEFB0 801188B0 2401FFFF */  addiu     $at, $zero, -0x1
/* AEFB4 801188B4 14A10004 */  bne       $a1, $at, .L801188C8
/* AEFB8 801188B8 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AEFBC 801188BC 14610002 */  bne       $v1, $at, .L801188C8
/* AEFC0 801188C0 00000000 */   nop
/* AEFC4 801188C4 0006000D */  break     6
.L801188C8:
/* AEFC8 801188C8 00001012 */  mflo      $v0
/* AEFCC 801188CC 08046236 */  j         .L801188D8
/* AEFD0 801188D0 30420FFF */   andi     $v0, $v0, 0xFFF
.L801188D4:
/* AEFD4 801188D4 30620FFF */  andi      $v0, $v1, 0xFFF
.L801188D8:
/* AEFD8 801188D8 00821025 */  or        $v0, $a0, $v0
/* AEFDC 801188DC ACC20004 */  sw        $v0, 0x4($a2)
/* AEFE0 801188E0 31040007 */  andi      $a0, $t0, 0x7
/* AEFE4 801188E4 8F020000 */  lw        $v0, 0x0($t8)
/* AEFE8 801188E8 00042540 */  sll       $a0, $a0, 21
/* AEFEC 801188EC 0040182D */  daddu     $v1, $v0, $zero
/* AEFF0 801188F0 24420008 */  addiu     $v0, $v0, 0x8
/* AEFF4 801188F4 AF020000 */  sw        $v0, 0x0($t8)
/* AEFF8 801188F8 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AEFFC 801188FC AC620000 */  sw        $v0, 0x0($v1)
/* AF000 80118900 AC600004 */  sw        $zero, 0x4($v1)
/* AF004 80118904 8F020000 */  lw        $v0, 0x0($t8)
/* AF008 80118908 3C03F500 */  lui       $v1, (0xF5000000 >> 16)
/* AF00C 8011890C 0040282D */  daddu     $a1, $v0, $zero
/* AF010 80118910 24420008 */  addiu     $v0, $v0, 0x8
/* AF014 80118914 AF020000 */  sw        $v0, 0x0($t8)
/* AF018 80118918 08046356 */  j         .L80118D58
/* AF01C 8011891C 00191043 */   sra      $v0, $t9, 1
.L80118920:
/* AF020 80118920 31030007 */  andi      $v1, $t0, 0x7
/* AF024 80118924 8F020000 */  lw        $v0, 0x0($t8)
/* AF028 80118928 00031D40 */  sll       $v1, $v1, 21
/* AF02C 8011892C 0040202D */  daddu     $a0, $v0, $zero
/* AF030 80118930 24420008 */  addiu     $v0, $v0, 0x8
/* AF034 80118934 AF020000 */  sw        $v0, 0x0($t8)
/* AF038 80118938 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* AF03C 8011893C 00621025 */  or        $v0, $v1, $v0
/* AF040 80118940 AC820000 */  sw        $v0, 0x0($a0)
/* AF044 80118944 AC9E0004 */  sw        $fp, 0x4($a0)
/* AF048 80118948 8F020000 */  lw        $v0, 0x0($t8)
/* AF04C 8011894C 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* AF050 80118950 0040202D */  daddu     $a0, $v0, $zero
/* AF054 80118954 24420008 */  addiu     $v0, $v0, 0x8
/* AF058 80118958 AF020000 */  sw        $v0, 0x0($t8)
/* AF05C 8011895C 3C02F510 */  lui       $v0, (0xF5100000 >> 16)
/* AF060 80118960 00621825 */  or        $v1, $v1, $v0
/* AF064 80118964 AC830000 */  sw        $v1, 0x0($a0)
/* AF068 80118968 32E30003 */  andi      $v1, $s7, 0x3
/* AF06C 8011896C 00031C80 */  sll       $v1, $v1, 18
/* AF070 80118970 8FB50044 */  lw        $s5, 0x44($sp)
/* AF074 80118974 8FB60048 */  lw        $s6, 0x48($sp)
/* AF078 80118978 00151380 */  sll       $v0, $s5, 14
/* AF07C 8011897C 00471025 */  or        $v0, $v0, $a3
/* AF080 80118980 00621825 */  or        $v1, $v1, $v0
/* AF084 80118984 31220003 */  andi      $v0, $t1, 0x3
/* AF088 80118988 00021200 */  sll       $v0, $v0, 8
/* AF08C 8011898C 00621825 */  or        $v1, $v1, $v0
/* AF090 80118990 00161100 */  sll       $v0, $s6, 4
/* AF094 80118994 00621825 */  or        $v1, $v1, $v0
/* AF098 80118998 AC830004 */  sw        $v1, 0x4($a0)
/* AF09C 8011899C 8F020000 */  lw        $v0, 0x0($t8)
/* AF0A0 801189A0 0040182D */  daddu     $v1, $v0, $zero
/* AF0A4 801189A4 24420008 */  addiu     $v0, $v0, 0x8
/* AF0A8 801189A8 AF020000 */  sw        $v0, 0x0($t8)
/* AF0AC 801189AC 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AF0B0 801189B0 AC620000 */  sw        $v0, 0x0($v1)
/* AF0B4 801189B4 AC600004 */  sw        $zero, 0x4($v1)
/* AF0B8 801189B8 8F020000 */  lw        $v0, 0x0($t8)
/* AF0BC 801189BC 0320202D */  daddu     $a0, $t9, $zero
/* AF0C0 801189C0 0040302D */  daddu     $a2, $v0, $zero
/* AF0C4 801189C4 24420008 */  addiu     $v0, $v0, 0x8
/* AF0C8 801189C8 AF020000 */  sw        $v0, 0x0($t8)
/* AF0CC 801189CC 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* AF0D0 801189D0 07210002 */  bgez      $t9, .L801189DC
/* AF0D4 801189D4 ACC20000 */   sw       $v0, 0x0($a2)
/* AF0D8 801189D8 27240007 */  addiu     $a0, $t9, 0x7
.L801189DC:
/* AF0DC 801189DC 000428C3 */  sra       $a1, $a0, 3
/* AF0E0 801189E0 18A00002 */  blez      $a1, .L801189EC
/* AF0E4 801189E4 24030800 */   addiu    $v1, $zero, 0x800
/* AF0E8 801189E8 24A307FF */  addiu     $v1, $a1, 0x7FF
.L801189EC:
/* AF0EC 801189EC 03320018 */  mult      $t9, $s2
/* AF0F0 801189F0 00008012 */  mflo      $s0
/* AF0F4 801189F4 26020001 */  addiu     $v0, $s0, 0x1
/* AF0F8 801189F8 00021043 */  sra       $v0, $v0, 1
/* AF0FC 801189FC 2444FFFF */  addiu     $a0, $v0, -0x1
/* AF100 80118A00 28820800 */  slti      $v0, $a0, 0x800
/* AF104 80118A04 50400001 */  beql      $v0, $zero, .L80118A0C
/* AF108 80118A08 240407FF */   addiu    $a0, $zero, 0x7FF
.L80118A0C:
/* AF10C 80118A0C 30820FFF */  andi      $v0, $a0, 0xFFF
/* AF110 80118A10 00021300 */  sll       $v0, $v0, 12
/* AF114 80118A14 18A0000D */  blez      $a1, .L80118A4C
/* AF118 80118A18 00472025 */   or       $a0, $v0, $a3
/* AF11C 80118A1C 14A00002 */  bnez      $a1, .L80118A28
/* AF120 80118A20 0065001A */   div      $zero, $v1, $a1
/* AF124 80118A24 0007000D */  break     7
.L80118A28:
/* AF128 80118A28 2401FFFF */  addiu     $at, $zero, -0x1
/* AF12C 80118A2C 14A10004 */  bne       $a1, $at, .L80118A40
/* AF130 80118A30 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF134 80118A34 14610002 */  bne       $v1, $at, .L80118A40
/* AF138 80118A38 00000000 */   nop
/* AF13C 80118A3C 0006000D */  break     6
.L80118A40:
/* AF140 80118A40 00001012 */  mflo      $v0
/* AF144 80118A44 08046294 */  j         .L80118A50
/* AF148 80118A48 30420FFF */   andi     $v0, $v0, 0xFFF
.L80118A4C:
/* AF14C 80118A4C 30620FFF */  andi      $v0, $v1, 0xFFF
.L80118A50:
/* AF150 80118A50 00821025 */  or        $v0, $a0, $v0
/* AF154 80118A54 ACC20004 */  sw        $v0, 0x4($a2)
/* AF158 80118A58 31040007 */  andi      $a0, $t0, 0x7
/* AF15C 80118A5C 8F020000 */  lw        $v0, 0x0($t8)
/* AF160 80118A60 00042540 */  sll       $a0, $a0, 21
/* AF164 80118A64 0040182D */  daddu     $v1, $v0, $zero
/* AF168 80118A68 24420008 */  addiu     $v0, $v0, 0x8
/* AF16C 80118A6C AF020000 */  sw        $v0, 0x0($t8)
/* AF170 80118A70 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AF174 80118A74 AC620000 */  sw        $v0, 0x0($v1)
/* AF178 80118A78 AC600004 */  sw        $zero, 0x4($v1)
/* AF17C 80118A7C 8F020000 */  lw        $v0, 0x0($t8)
/* AF180 80118A80 3C03F508 */  lui       $v1, (0xF5080000 >> 16)
/* AF184 80118A84 0040282D */  daddu     $a1, $v0, $zero
/* AF188 80118A88 24420008 */  addiu     $v0, $v0, 0x8
/* AF18C 80118A8C AF020000 */  sw        $v0, 0x0($t8)
/* AF190 80118A90 08046357 */  j         .L80118D5C
/* AF194 80118A94 27220007 */   addiu    $v0, $t9, 0x7
.L80118A98:
/* AF198 80118A98 31030007 */  andi      $v1, $t0, 0x7
/* AF19C 80118A9C 8F020000 */  lw        $v0, 0x0($t8)
/* AF1A0 80118AA0 00031D40 */  sll       $v1, $v1, 21
/* AF1A4 80118AA4 0040202D */  daddu     $a0, $v0, $zero
/* AF1A8 80118AA8 24420008 */  addiu     $v0, $v0, 0x8
/* AF1AC 80118AAC AF020000 */  sw        $v0, 0x0($t8)
/* AF1B0 80118AB0 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* AF1B4 80118AB4 00621025 */  or        $v0, $v1, $v0
/* AF1B8 80118AB8 AC820000 */  sw        $v0, 0x0($a0)
/* AF1BC 80118ABC AC9E0004 */  sw        $fp, 0x4($a0)
/* AF1C0 80118AC0 8F020000 */  lw        $v0, 0x0($t8)
/* AF1C4 80118AC4 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* AF1C8 80118AC8 0040202D */  daddu     $a0, $v0, $zero
/* AF1CC 80118ACC 24420008 */  addiu     $v0, $v0, 0x8
/* AF1D0 80118AD0 AF020000 */  sw        $v0, 0x0($t8)
/* AF1D4 80118AD4 3C02F510 */  lui       $v0, (0xF5100000 >> 16)
/* AF1D8 80118AD8 00621825 */  or        $v1, $v1, $v0
/* AF1DC 80118ADC AC830000 */  sw        $v1, 0x0($a0)
/* AF1E0 80118AE0 32E30003 */  andi      $v1, $s7, 0x3
/* AF1E4 80118AE4 00031C80 */  sll       $v1, $v1, 18
/* AF1E8 80118AE8 8FB50044 */  lw        $s5, 0x44($sp)
/* AF1EC 80118AEC 8FB60048 */  lw        $s6, 0x48($sp)
/* AF1F0 80118AF0 00151380 */  sll       $v0, $s5, 14
/* AF1F4 80118AF4 00471025 */  or        $v0, $v0, $a3
/* AF1F8 80118AF8 00621825 */  or        $v1, $v1, $v0
/* AF1FC 80118AFC 31220003 */  andi      $v0, $t1, 0x3
/* AF200 80118B00 00021200 */  sll       $v0, $v0, 8
/* AF204 80118B04 00621825 */  or        $v1, $v1, $v0
/* AF208 80118B08 00161100 */  sll       $v0, $s6, 4
/* AF20C 80118B0C 00621825 */  or        $v1, $v1, $v0
/* AF210 80118B10 AC830004 */  sw        $v1, 0x4($a0)
/* AF214 80118B14 8F020000 */  lw        $v0, 0x0($t8)
/* AF218 80118B18 0040182D */  daddu     $v1, $v0, $zero
/* AF21C 80118B1C 24420008 */  addiu     $v0, $v0, 0x8
/* AF220 80118B20 AF020000 */  sw        $v0, 0x0($t8)
/* AF224 80118B24 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AF228 80118B28 AC620000 */  sw        $v0, 0x0($v1)
/* AF22C 80118B2C AC600004 */  sw        $zero, 0x4($v1)
/* AF230 80118B30 8F020000 */  lw        $v0, 0x0($t8)
/* AF234 80118B34 0320202D */  daddu     $a0, $t9, $zero
/* AF238 80118B38 0040302D */  daddu     $a2, $v0, $zero
/* AF23C 80118B3C 24420008 */  addiu     $v0, $v0, 0x8
/* AF240 80118B40 AF020000 */  sw        $v0, 0x0($t8)
/* AF244 80118B44 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* AF248 80118B48 07210002 */  bgez      $t9, .L80118B54
/* AF24C 80118B4C ACC20000 */   sw       $v0, 0x0($a2)
/* AF250 80118B50 27240003 */  addiu     $a0, $t9, 0x3
.L80118B54:
/* AF254 80118B54 00042883 */  sra       $a1, $a0, 2
/* AF258 80118B58 18A00002 */  blez      $a1, .L80118B64
/* AF25C 80118B5C 24030800 */   addiu    $v1, $zero, 0x800
/* AF260 80118B60 24A307FF */  addiu     $v1, $a1, 0x7FF
.L80118B64:
/* AF264 80118B64 03320018 */  mult      $t9, $s2
/* AF268 80118B68 00008012 */  mflo      $s0
/* AF26C 80118B6C 2604FFFF */  addiu     $a0, $s0, -0x1
/* AF270 80118B70 28820800 */  slti      $v0, $a0, 0x800
/* AF274 80118B74 50400001 */  beql      $v0, $zero, .L80118B7C
/* AF278 80118B78 240407FF */   addiu    $a0, $zero, 0x7FF
.L80118B7C:
/* AF27C 80118B7C 30820FFF */  andi      $v0, $a0, 0xFFF
/* AF280 80118B80 00021300 */  sll       $v0, $v0, 12
/* AF284 80118B84 18A0000D */  blez      $a1, .L80118BBC
/* AF288 80118B88 00472025 */   or       $a0, $v0, $a3
/* AF28C 80118B8C 14A00002 */  bnez      $a1, .L80118B98
/* AF290 80118B90 0065001A */   div      $zero, $v1, $a1
/* AF294 80118B94 0007000D */  break     7
.L80118B98:
/* AF298 80118B98 2401FFFF */  addiu     $at, $zero, -0x1
/* AF29C 80118B9C 14A10004 */  bne       $a1, $at, .L80118BB0
/* AF2A0 80118BA0 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF2A4 80118BA4 14610002 */  bne       $v1, $at, .L80118BB0
/* AF2A8 80118BA8 00000000 */   nop
/* AF2AC 80118BAC 0006000D */  break     6
glabel .L80118BB0
/* AF2B0 80118BB0 00001012 */  mflo      $v0
/* AF2B4 80118BB4 080462F0 */  j         .L80118BC0
/* AF2B8 80118BB8 30420FFF */   andi     $v0, $v0, 0xFFF
.L80118BBC:
/* AF2BC 80118BBC 30620FFF */  andi      $v0, $v1, 0xFFF
.L80118BC0:
/* AF2C0 80118BC0 00821025 */  or        $v0, $a0, $v0
/* AF2C4 80118BC4 ACC20004 */  sw        $v0, 0x4($a2)
/* AF2C8 80118BC8 31040007 */  andi      $a0, $t0, 0x7
/* AF2CC 80118BCC 8F020000 */  lw        $v0, 0x0($t8)
/* AF2D0 80118BD0 00042540 */  sll       $a0, $a0, 21
/* AF2D4 80118BD4 0040182D */  daddu     $v1, $v0, $zero
/* AF2D8 80118BD8 24420008 */  addiu     $v0, $v0, 0x8
/* AF2DC 80118BDC AF020000 */  sw        $v0, 0x0($t8)
/* AF2E0 80118BE0 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AF2E4 80118BE4 AC620000 */  sw        $v0, 0x0($v1)
/* AF2E8 80118BE8 AC600004 */  sw        $zero, 0x4($v1)
/* AF2EC 80118BEC 8F020000 */  lw        $v0, 0x0($t8)
/* AF2F0 80118BF0 08046352 */  j         .L80118D48
/* AF2F4 80118BF4 3C03F510 */   lui      $v1, (0xF5100000 >> 16)
.L80118BF8:
/* AF2F8 80118BF8 31030007 */  andi      $v1, $t0, 0x7
/* AF2FC 80118BFC 8F020000 */  lw        $v0, 0x0($t8)
/* AF300 80118C00 00031D40 */  sll       $v1, $v1, 21
/* AF304 80118C04 0040202D */  daddu     $a0, $v0, $zero
/* AF308 80118C08 24420008 */  addiu     $v0, $v0, 0x8
/* AF30C 80118C0C AF020000 */  sw        $v0, 0x0($t8)
/* AF310 80118C10 3C02FD18 */  lui       $v0, (0xFD180000 >> 16)
/* AF314 80118C14 00621025 */  or        $v0, $v1, $v0
/* AF318 80118C18 AC820000 */  sw        $v0, 0x0($a0)
/* AF31C 80118C1C AC9E0004 */  sw        $fp, 0x4($a0)
/* AF320 80118C20 8F020000 */  lw        $v0, 0x0($t8)
/* AF324 80118C24 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* AF328 80118C28 0040202D */  daddu     $a0, $v0, $zero
/* AF32C 80118C2C 24420008 */  addiu     $v0, $v0, 0x8
/* AF330 80118C30 AF020000 */  sw        $v0, 0x0($t8)
/* AF334 80118C34 3C02F518 */  lui       $v0, (0xF5180000 >> 16)
/* AF338 80118C38 00621825 */  or        $v1, $v1, $v0
/* AF33C 80118C3C AC830000 */  sw        $v1, 0x0($a0)
/* AF340 80118C40 32E30003 */  andi      $v1, $s7, 0x3
/* AF344 80118C44 00031C80 */  sll       $v1, $v1, 18
/* AF348 80118C48 8FB50044 */  lw        $s5, 0x44($sp)
/* AF34C 80118C4C 8FB60048 */  lw        $s6, 0x48($sp)
/* AF350 80118C50 00151380 */  sll       $v0, $s5, 14
/* AF354 80118C54 00471025 */  or        $v0, $v0, $a3
/* AF358 80118C58 00621825 */  or        $v1, $v1, $v0
/* AF35C 80118C5C 31220003 */  andi      $v0, $t1, 0x3
/* AF360 80118C60 00021200 */  sll       $v0, $v0, 8
/* AF364 80118C64 00621825 */  or        $v1, $v1, $v0
/* AF368 80118C68 00161100 */  sll       $v0, $s6, 4
/* AF36C 80118C6C 00621825 */  or        $v1, $v1, $v0
/* AF370 80118C70 AC830004 */  sw        $v1, 0x4($a0)
/* AF374 80118C74 8F020000 */  lw        $v0, 0x0($t8)
/* AF378 80118C78 00192842 */  srl       $a1, $t9, 1
/* AF37C 80118C7C 0040182D */  daddu     $v1, $v0, $zero
/* AF380 80118C80 24420008 */  addiu     $v0, $v0, 0x8
/* AF384 80118C84 AF020000 */  sw        $v0, 0x0($t8)
/* AF388 80118C88 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AF38C 80118C8C AC620000 */  sw        $v0, 0x0($v1)
/* AF390 80118C90 AC600004 */  sw        $zero, 0x4($v1)
/* AF394 80118C94 8F020000 */  lw        $v0, 0x0($t8)
/* AF398 80118C98 24030800 */  addiu     $v1, $zero, 0x800
/* AF39C 80118C9C 0040302D */  daddu     $a2, $v0, $zero
/* AF3A0 80118CA0 24420008 */  addiu     $v0, $v0, 0x8
/* AF3A4 80118CA4 AF020000 */  sw        $v0, 0x0($t8)
/* AF3A8 80118CA8 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* AF3AC 80118CAC 18A00002 */  blez      $a1, .L80118CB8
/* AF3B0 80118CB0 ACC20000 */   sw       $v0, 0x0($a2)
/* AF3B4 80118CB4 24A307FF */  addiu     $v1, $a1, 0x7FF
.L80118CB8:
/* AF3B8 80118CB8 03320018 */  mult      $t9, $s2
/* AF3BC 80118CBC 00008012 */  mflo      $s0
/* AF3C0 80118CC0 2604FFFF */  addiu     $a0, $s0, -0x1
/* AF3C4 80118CC4 28820800 */  slti      $v0, $a0, 0x800
/* AF3C8 80118CC8 50400001 */  beql      $v0, $zero, .L80118CD0
/* AF3CC 80118CCC 240407FF */   addiu    $a0, $zero, 0x7FF
.L80118CD0:
/* AF3D0 80118CD0 30820FFF */  andi      $v0, $a0, 0xFFF
/* AF3D4 80118CD4 00021300 */  sll       $v0, $v0, 12
/* AF3D8 80118CD8 18A0000D */  blez      $a1, .L80118D10
/* AF3DC 80118CDC 00472025 */   or       $a0, $v0, $a3
/* AF3E0 80118CE0 14A00002 */  bnez      $a1, .L80118CEC
/* AF3E4 80118CE4 0065001A */   div      $zero, $v1, $a1
/* AF3E8 80118CE8 0007000D */  break     7
.L80118CEC:
/* AF3EC 80118CEC 2401FFFF */  addiu     $at, $zero, -0x1
/* AF3F0 80118CF0 14A10004 */  bne       $a1, $at, .L80118D04
/* AF3F4 80118CF4 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF3F8 80118CF8 14610002 */  bne       $v1, $at, .L80118D04
/* AF3FC 80118CFC 00000000 */   nop
/* AF400 80118D00 0006000D */  break     6
.L80118D04:
/* AF404 80118D04 00001012 */  mflo      $v0
/* AF408 80118D08 08046345 */  j         .L80118D14
/* AF40C 80118D0C 30420FFF */   andi     $v0, $v0, 0xFFF
.L80118D10:
/* AF410 80118D10 30620FFF */  andi      $v0, $v1, 0xFFF
.L80118D14:
/* AF414 80118D14 00821025 */  or        $v0, $a0, $v0
/* AF418 80118D18 ACC20004 */  sw        $v0, 0x4($a2)
/* AF41C 80118D1C 31040007 */  andi      $a0, $t0, 0x7
/* AF420 80118D20 8F020000 */  lw        $v0, 0x0($t8)
/* AF424 80118D24 00042540 */  sll       $a0, $a0, 21
/* AF428 80118D28 0040182D */  daddu     $v1, $v0, $zero
/* AF42C 80118D2C 24420008 */  addiu     $v0, $v0, 0x8
/* AF430 80118D30 AF020000 */  sw        $v0, 0x0($t8)
/* AF434 80118D34 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AF438 80118D38 AC620000 */  sw        $v0, 0x0($v1)
/* AF43C 80118D3C AC600004 */  sw        $zero, 0x4($v1)
/* AF440 80118D40 8F020000 */  lw        $v0, 0x0($t8)
/* AF444 80118D44 3C03F518 */  lui       $v1, (0xF5180000 >> 16)
.L80118D48:
/* AF448 80118D48 0040282D */  daddu     $a1, $v0, $zero
/* AF44C 80118D4C 24420008 */  addiu     $v0, $v0, 0x8
/* AF450 80118D50 AF020000 */  sw        $v0, 0x0($t8)
/* AF454 80118D54 00191040 */  sll       $v0, $t9, 1
.L80118D58:
/* AF458 80118D58 24420007 */  addiu     $v0, $v0, 0x7
.L80118D5C:
/* AF45C 80118D5C 000210C3 */  sra       $v0, $v0, 3
/* AF460 80118D60 304201FF */  andi      $v0, $v0, 0x1FF
/* AF464 80118D64 00021240 */  sll       $v0, $v0, 9
/* AF468 80118D68 00431025 */  or        $v0, $v0, $v1
/* AF46C 80118D6C 00822025 */  or        $a0, $a0, $v0
/* AF470 80118D70 32E30003 */  andi      $v1, $s7, 0x3
/* AF474 80118D74 00031C80 */  sll       $v1, $v1, 18
/* AF478 80118D78 ACA40000 */  sw        $a0, 0x0($a1)
/* AF47C 80118D7C 8FB00044 */  lw        $s0, 0x44($sp)
/* AF480 80118D80 8FB40048 */  lw        $s4, 0x48($sp)
/* AF484 80118D84 00101380 */  sll       $v0, $s0, 14
/* AF488 80118D88 00621825 */  or        $v1, $v1, $v0
/* AF48C 80118D8C 31220003 */  andi      $v0, $t1, 0x3
/* AF490 80118D90 00021200 */  sll       $v0, $v0, 8
/* AF494 80118D94 00621825 */  or        $v1, $v1, $v0
/* AF498 80118D98 00141100 */  sll       $v0, $s4, 4
/* AF49C 80118D9C 00621825 */  or        $v1, $v1, $v0
/* AF4A0 80118DA0 ACA30004 */  sw        $v1, 0x4($a1)
/* AF4A4 80118DA4 2723FFFF */  addiu     $v1, $t9, -0x1
/* AF4A8 80118DA8 00031880 */  sll       $v1, $v1, 2
/* AF4AC 80118DAC 30630FFF */  andi      $v1, $v1, 0xFFF
/* AF4B0 80118DB0 8F020000 */  lw        $v0, 0x0($t8)
/* AF4B4 80118DB4 00031B00 */  sll       $v1, $v1, 12
/* AF4B8 80118DB8 0040202D */  daddu     $a0, $v0, $zero
/* AF4BC 80118DBC 24420008 */  addiu     $v0, $v0, 0x8
/* AF4C0 80118DC0 AF020000 */  sw        $v0, 0x0($t8)
/* AF4C4 80118DC4 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* AF4C8 80118DC8 AC820000 */  sw        $v0, 0x0($a0)
/* AF4CC 80118DCC 2642FFFF */  addiu     $v0, $s2, -0x1
/* AF4D0 80118DD0 00021080 */  sll       $v0, $v0, 2
/* AF4D4 80118DD4 30420FFF */  andi      $v0, $v0, 0xFFF
/* AF4D8 80118DD8 00621825 */  or        $v1, $v1, $v0
/* AF4DC 80118DDC 08046B31 */  j         .L8011ACC4
/* AF4E0 80118DE0 AC830004 */   sw       $v1, 0x4($a0)
.L80118DE4:
/* AF4E4 80118DE4 3C150001 */  lui       $s5, (0x10000 >> 16)
/* AF4E8 80118DE8 10AB00BF */  beq       $a1, $t3, .L801190E8
/* AF4EC 80118DEC AFB50038 */   sw       $s5, 0x38($sp)
/* AF4F0 80118DF0 28A20002 */  slti      $v0, $a1, 0x2
/* AF4F4 80118DF4 10400005 */  beqz      $v0, .L80118E0C
/* AF4F8 80118DF8 24020002 */   addiu    $v0, $zero, 0x2
/* AF4FC 80118DFC 10A00009 */  beqz      $a1, .L80118E24
/* AF500 80118E00 3C04D700 */   lui      $a0, (0xD7000002 >> 16)
/* AF504 80118E04 0804662B */  j         .L801198AC
/* AF508 80118E08 00000000 */   nop
.L80118E0C:
/* AF50C 80118E0C 10A2015A */  beq       $a1, $v0, .L80119378
/* AF510 80118E10 24020003 */   addiu    $v0, $zero, 0x3
/* AF514 80118E14 10A201FF */  beq       $a1, $v0, .L80119614
/* AF518 80118E18 3C04D700 */   lui      $a0, (0xD7000002 >> 16)
/* AF51C 80118E1C 0804662B */  j         .L801198AC
/* AF520 80118E20 00000000 */   nop
.L80118E24:
/* AF524 80118E24 03C0702D */  daddu     $t6, $fp, $zero
/* AF528 80118E28 0000882D */  daddu     $s1, $zero, $zero
/* AF52C 80118E2C 00191080 */  sll       $v0, $t9, 2
/* AF530 80118E30 28420040 */  slti      $v0, $v0, 0x40
/* AF534 80118E34 1440029C */  bnez      $v0, .L801198A8
/* AF538 80118E38 240F0001 */   addiu    $t7, $zero, 0x1
/* AF53C 80118E3C 31020007 */  andi      $v0, $t0, 0x7
/* AF540 80118E40 00029D40 */  sll       $s3, $v0, 21
/* AF544 80118E44 32E20003 */  andi      $v0, $s7, 0x3
/* AF548 80118E48 0002BC80 */  sll       $s7, $v0, 18
/* AF54C 80118E4C 31220003 */  andi      $v0, $t1, 0x3
/* AF550 80118E50 00021200 */  sll       $v0, $v0, 8
/* AF554 80118E54 AFA20040 */  sw        $v0, 0x40($sp)
.L80118E58:
/* AF558 80118E58 15E00002 */  bnez      $t7, .L80118E64
/* AF55C 80118E5C 024F001A */   div      $zero, $s2, $t7
/* AF560 80118E60 0007000D */  break     7
.L80118E64:
/* AF564 80118E64 2401FFFF */  addiu     $at, $zero, -0x1
/* AF568 80118E68 15E10004 */  bne       $t7, $at, .L80118E7C
/* AF56C 80118E6C 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF570 80118E70 16410002 */  bne       $s2, $at, .L80118E7C
/* AF574 80118E74 00000000 */   nop
/* AF578 80118E78 0006000D */  break     6
.L80118E7C:
/* AF57C 80118E7C 00008012 */  mflo      $s0
/* AF580 80118E80 12000289 */  beqz      $s0, .L801198A8
/* AF584 80118E84 AFB0004C */   sw       $s0, 0x4C($sp)
/* AF588 80118E88 15E00002 */  bnez      $t7, .L80118E94
/* AF58C 80118E8C 032F001A */   div      $zero, $t9, $t7
/* AF590 80118E90 0007000D */  break     7
.L80118E94:
/* AF594 80118E94 2401FFFF */  addiu     $at, $zero, -0x1
/* AF598 80118E98 15E10004 */  bne       $t7, $at, .L80118EAC
/* AF59C 80118E9C 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF5A0 80118EA0 17210002 */  bne       $t9, $at, .L80118EAC
/* AF5A4 80118EA4 00000000 */   nop
/* AF5A8 80118EA8 0006000D */  break     6
.L80118EAC:
/* AF5AC 80118EAC 00003012 */  mflo      $a2
/* AF5B0 80118EB0 3C03FD08 */  lui       $v1, (0xFD080000 >> 16)
/* AF5B4 80118EB4 01DE4823 */  subu      $t1, $t6, $fp
/* AF5B8 80118EB8 000948C2 */  srl       $t1, $t1, 3
/* AF5BC 80118EBC 312901FF */  andi      $t1, $t1, 0x1FF
/* AF5C0 80118EC0 3C140700 */  lui       $s4, (0x7000000 >> 16)
/* AF5C4 80118EC4 322C000F */  andi      $t4, $s1, 0xF
/* AF5C8 80118EC8 8F020000 */  lw        $v0, 0x0($t8)
/* AF5CC 80118ECC 000C6A80 */  sll       $t5, $t4, 10
/* AF5D0 80118ED0 0040282D */  daddu     $a1, $v0, $zero
/* AF5D4 80118ED4 24420008 */  addiu     $v0, $v0, 0x8
/* AF5D8 80118ED8 AF020000 */  sw        $v0, 0x0($t8)
/* AF5DC 80118EDC ACAE0004 */  sw        $t6, 0x4($a1)
/* AF5E0 80118EE0 00062043 */  sra       $a0, $a2, 1
/* AF5E4 80118EE4 2482FFFF */  addiu     $v0, $a0, -0x1
/* AF5E8 80118EE8 30420FFF */  andi      $v0, $v0, 0xFFF
/* AF5EC 80118EEC 00431025 */  or        $v0, $v0, $v1
/* AF5F0 80118EF0 02621025 */  or        $v0, $s3, $v0
/* AF5F4 80118EF4 24840007 */  addiu     $a0, $a0, 0x7
/* AF5F8 80118EF8 000420C3 */  sra       $a0, $a0, 3
/* AF5FC 80118EFC 308401FF */  andi      $a0, $a0, 0x1FF
/* AF600 80118F00 00042240 */  sll       $a0, $a0, 9
/* AF604 80118F04 ACA20000 */  sw        $v0, 0x0($a1)
/* AF608 80118F08 8F020000 */  lw        $v0, 0x0($t8)
/* AF60C 80118F0C 00D20018 */  mult      $a2, $s2
/* AF610 80118F10 0040282D */  daddu     $a1, $v0, $zero
/* AF614 80118F14 24420008 */  addiu     $v0, $v0, 0x8
/* AF618 80118F18 AF020000 */  sw        $v0, 0x0($t8)
/* AF61C 80118F1C 3C02F508 */  lui       $v0, (0xF5080000 >> 16)
/* AF620 80118F20 00821025 */  or        $v0, $a0, $v0
/* AF624 80118F24 02621025 */  or        $v0, $s3, $v0
/* AF628 80118F28 00491025 */  or        $v0, $v0, $t1
/* AF62C 80118F2C ACA20000 */  sw        $v0, 0x0($a1)
/* AF630 80118F30 8FB00044 */  lw        $s0, 0x44($sp)
/* AF634 80118F34 8FB50040 */  lw        $s5, 0x40($sp)
/* AF638 80118F38 02115023 */  subu      $t2, $s0, $s1
/* AF63C 80118F3C 314A000F */  andi      $t2, $t2, 0xF
/* AF640 80118F40 000A5380 */  sll       $t2, $t2, 14
/* AF644 80118F44 01541025 */  or        $v0, $t2, $s4
/* AF648 80118F48 02E21025 */  or        $v0, $s7, $v0
/* AF64C 80118F4C 004D1025 */  or        $v0, $v0, $t5
/* AF650 80118F50 00551025 */  or        $v0, $v0, $s5
/* AF654 80118F54 8FB00048 */  lw        $s0, 0x48($sp)
/* AF658 80118F58 00001812 */  mflo      $v1
/* AF65C 80118F5C 02114023 */  subu      $t0, $s0, $s1
/* AF660 80118F60 3108000F */  andi      $t0, $t0, 0xF
/* AF664 80118F64 15E00002 */  bnez      $t7, .L80118F70
/* AF668 80118F68 006F001A */   div      $zero, $v1, $t7
/* AF66C 80118F6C 0007000D */  break     7
.L80118F70:
/* AF670 80118F70 2401FFFF */  addiu     $at, $zero, -0x1
/* AF674 80118F74 15E10004 */  bne       $t7, $at, .L80118F88
/* AF678 80118F78 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF67C 80118F7C 14610002 */  bne       $v1, $at, .L80118F88
/* AF680 80118F80 00000000 */   nop
/* AF684 80118F84 0006000D */  break     6
.L80118F88:
/* AF688 80118F88 00005812 */  mflo      $t3
/* AF68C 80118F8C 00084100 */  sll       $t0, $t0, 4
/* AF690 80118F90 00481025 */  or        $v0, $v0, $t0
/* AF694 80118F94 004C1025 */  or        $v0, $v0, $t4
/* AF698 80118F98 ACA20004 */  sw        $v0, 0x4($a1)
/* AF69C 80118F9C 8F020000 */  lw        $v0, 0x0($t8)
/* AF6A0 80118FA0 0040182D */  daddu     $v1, $v0, $zero
/* AF6A4 80118FA4 24420008 */  addiu     $v0, $v0, 0x8
/* AF6A8 80118FA8 AF020000 */  sw        $v0, 0x0($t8)
/* AF6AC 80118FAC 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AF6B0 80118FB0 AC620000 */  sw        $v0, 0x0($v1)
/* AF6B4 80118FB4 AC600004 */  sw        $zero, 0x4($v1)
/* AF6B8 80118FB8 8F020000 */  lw        $v0, 0x0($t8)
/* AF6BC 80118FBC 24C6FFFF */  addiu     $a2, $a2, -0x1
/* AF6C0 80118FC0 0040382D */  daddu     $a3, $v0, $zero
/* AF6C4 80118FC4 24420008 */  addiu     $v0, $v0, 0x8
/* AF6C8 80118FC8 AF020000 */  sw        $v0, 0x0($t8)
/* AF6CC 80118FCC 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* AF6D0 80118FD0 ACE20000 */  sw        $v0, 0x0($a3)
/* AF6D4 80118FD4 00061040 */  sll       $v0, $a2, 1
/* AF6D8 80118FD8 30420FFF */  andi      $v0, $v0, 0xFFF
/* AF6DC 80118FDC 8FB0004C */  lw        $s0, 0x4C($sp)
/* AF6E0 80118FE0 00021300 */  sll       $v0, $v0, 12
/* AF6E4 80118FE4 2605FFFF */  addiu     $a1, $s0, -0x1
/* AF6E8 80118FE8 00052880 */  sll       $a1, $a1, 2
/* AF6EC 80118FEC 30A50FFF */  andi      $a1, $a1, 0xFFF
/* AF6F0 80118FF0 00B41825 */  or        $v1, $a1, $s4
/* AF6F4 80118FF4 00431025 */  or        $v0, $v0, $v1
/* AF6F8 80118FF8 ACE20004 */  sw        $v0, 0x4($a3)
/* AF6FC 80118FFC 8F020000 */  lw        $v0, 0x0($t8)
/* AF700 80119000 000F7840 */  sll       $t7, $t7, 1
/* AF704 80119004 0040182D */  daddu     $v1, $v0, $zero
/* AF708 80119008 24420008 */  addiu     $v0, $v0, 0x8
/* AF70C 8011900C AF020000 */  sw        $v0, 0x0($t8)
/* AF710 80119010 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AF714 80119014 AC620000 */  sw        $v0, 0x0($v1)
/* AF718 80119018 15E00002 */  bnez      $t7, .L80119024
/* AF71C 8011901C 032F001A */   div      $zero, $t9, $t7
/* AF720 80119020 0007000D */  break     7
.L80119024:
/* AF724 80119024 2401FFFF */  addiu     $at, $zero, -0x1
/* AF728 80119028 15E10004 */  bne       $t7, $at, .L8011903C
/* AF72C 8011902C 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF730 80119030 17210002 */  bne       $t9, $at, .L8011903C
/* AF734 80119034 00000000 */   nop
/* AF738 80119038 0006000D */  break     6
.L8011903C:
/* AF73C 8011903C 00008012 */  mflo      $s0
/* AF740 80119040 00063080 */  sll       $a2, $a2, 2
/* AF744 80119044 30C60FFF */  andi      $a2, $a2, 0xFFF
/* AF748 80119048 00063300 */  sll       $a2, $a2, 12
/* AF74C 8011904C AC600004 */  sw        $zero, 0x4($v1)
/* AF750 80119050 32230007 */  andi      $v1, $s1, 0x7
/* AF754 80119054 00031E00 */  sll       $v1, $v1, 24
/* AF758 80119058 AFB0004C */  sw        $s0, 0x4C($sp)
/* AF75C 8011905C 8F020000 */  lw        $v0, 0x0($t8)
/* AF760 80119060 26310001 */  addiu     $s1, $s1, 0x1
/* AF764 80119064 0040382D */  daddu     $a3, $v0, $zero
/* AF768 80119068 24420008 */  addiu     $v0, $v0, 0x8
/* AF76C 8011906C AF020000 */  sw        $v0, 0x0($t8)
/* AF770 80119070 3C02F500 */  lui       $v0, (0xF5000000 >> 16)
/* AF774 80119074 00822025 */  or        $a0, $a0, $v0
/* AF778 80119078 02642025 */  or        $a0, $s3, $a0
/* AF77C 8011907C 00892025 */  or        $a0, $a0, $t1
/* AF780 80119080 00771025 */  or        $v0, $v1, $s7
/* AF784 80119084 004A1025 */  or        $v0, $v0, $t2
/* AF788 80119088 004D1025 */  or        $v0, $v0, $t5
/* AF78C 8011908C 00551025 */  or        $v0, $v0, $s5
/* AF790 80119090 00481025 */  or        $v0, $v0, $t0
/* AF794 80119094 004C1025 */  or        $v0, $v0, $t4
/* AF798 80119098 00661825 */  or        $v1, $v1, $a2
/* AF79C 8011909C ACE40000 */  sw        $a0, 0x0($a3)
/* AF7A0 801190A0 ACE20004 */  sw        $v0, 0x4($a3)
/* AF7A4 801190A4 8F020000 */  lw        $v0, 0x0($t8)
/* AF7A8 801190A8 00651825 */  or        $v1, $v1, $a1
/* AF7AC 801190AC 0040202D */  daddu     $a0, $v0, $zero
/* AF7B0 801190B0 24420008 */  addiu     $v0, $v0, 0x8
/* AF7B4 801190B4 AF020000 */  sw        $v0, 0x0($t8)
/* AF7B8 801190B8 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* AF7BC 801190BC AC820000 */  sw        $v0, 0x0($a0)
/* AF7C0 801190C0 000B17C2 */  srl       $v0, $t3, 31
/* AF7C4 801190C4 01625821 */  addu      $t3, $t3, $v0
/* AF7C8 801190C8 000B5843 */  sra       $t3, $t3, 1
/* AF7CC 801190CC 01CB7021 */  addu      $t6, $t6, $t3
/* AF7D0 801190D0 00101080 */  sll       $v0, $s0, 2
/* AF7D4 801190D4 28420040 */  slti      $v0, $v0, 0x40
/* AF7D8 801190D8 144001F3 */  bnez      $v0, .L801198A8
/* AF7DC 801190DC AC830004 */   sw       $v1, 0x4($a0)
/* AF7E0 801190E0 08046396 */  j         .L80118E58
/* AF7E4 801190E4 00000000 */   nop
.L801190E8:
/* AF7E8 801190E8 03C0702D */  daddu     $t6, $fp, $zero
/* AF7EC 801190EC 0000882D */  daddu     $s1, $zero, $zero
/* AF7F0 801190F0 001910C0 */  sll       $v0, $t9, 3
/* AF7F4 801190F4 28420040 */  slti      $v0, $v0, 0x40
/* AF7F8 801190F8 144001EB */  bnez      $v0, .L801198A8
/* AF7FC 801190FC 240F0001 */   addiu    $t7, $zero, 0x1
/* AF800 80119100 31020007 */  andi      $v0, $t0, 0x7
/* AF804 80119104 00021540 */  sll       $v0, $v0, 21
/* AF808 80119108 AFA20040 */  sw        $v0, 0x40($sp)
/* AF80C 8011910C 32E20003 */  andi      $v0, $s7, 0x3
/* AF810 80119110 00029C80 */  sll       $s3, $v0, 18
/* AF814 80119114 3C170700 */  lui       $s7, (0x7000000 >> 16)
/* AF818 80119118 31220003 */  andi      $v0, $t1, 0x3
/* AF81C 8011911C 00021200 */  sll       $v0, $v0, 8
/* AF820 80119120 AFA2004C */  sw        $v0, 0x4C($sp)
.L80119124:
/* AF824 80119124 15E00002 */  bnez      $t7, .L80119130
/* AF828 80119128 024F001A */   div      $zero, $s2, $t7
/* AF82C 8011912C 0007000D */  break     7
.L80119130:
/* AF830 80119130 2401FFFF */  addiu     $at, $zero, -0x1
/* AF834 80119134 15E10004 */  bne       $t7, $at, .L80119148
/* AF838 80119138 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF83C 8011913C 16410002 */  bne       $s2, $at, .L80119148
/* AF840 80119140 00000000 */   nop
/* AF844 80119144 0006000D */  break     6
.L80119148:
/* AF848 80119148 00003012 */  mflo      $a2
/* AF84C 8011914C 10C001D6 */  beqz      $a2, .L801198A8
/* AF850 80119150 3C10FD08 */   lui      $s0, (0xFD080000 >> 16)
/* AF854 80119154 15E00002 */  bnez      $t7, .L80119160
/* AF858 80119158 032F001A */   div      $zero, $t9, $t7
/* AF85C 8011915C 0007000D */  break     7
.L80119160:
/* AF860 80119160 2401FFFF */  addiu     $at, $zero, -0x1
/* AF864 80119164 15E10004 */  bne       $t7, $at, .L80119178
/* AF868 80119168 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF86C 8011916C 17210002 */  bne       $t9, $at, .L80119178
/* AF870 80119170 00000000 */   nop
/* AF874 80119174 0006000D */  break     6
.L80119178:
/* AF878 80119178 00002812 */  mflo      $a1
/* AF87C 8011917C 8F020000 */  lw        $v0, 0x0($t8)
/* AF880 80119180 0040182D */  daddu     $v1, $v0, $zero
/* AF884 80119184 24420008 */  addiu     $v0, $v0, 0x8
/* AF888 80119188 AF020000 */  sw        $v0, 0x0($t8)
/* AF88C 8011918C AC6E0004 */  sw        $t6, 0x4($v1)
/* AF890 80119190 8FB40040 */  lw        $s4, 0x40($sp)
/* AF894 80119194 24A7FFFF */  addiu     $a3, $a1, -0x1
/* AF898 80119198 30E20FFF */  andi      $v0, $a3, 0xFFF
/* AF89C 8011919C 00501025 */  or        $v0, $v0, $s0
/* AF8A0 801191A0 02821025 */  or        $v0, $s4, $v0
/* AF8A4 801191A4 24A40007 */  addiu     $a0, $a1, 0x7
/* AF8A8 801191A8 000420C3 */  sra       $a0, $a0, 3
/* AF8AC 801191AC 308401FF */  andi      $a0, $a0, 0x1FF
/* AF8B0 801191B0 00042240 */  sll       $a0, $a0, 9
/* AF8B4 801191B4 AC620000 */  sw        $v0, 0x0($v1)
/* AF8B8 801191B8 8F020000 */  lw        $v0, 0x0($t8)
/* AF8BC 801191BC 00B20018 */  mult      $a1, $s2
/* AF8C0 801191C0 0040182D */  daddu     $v1, $v0, $zero
/* AF8C4 801191C4 24420008 */  addiu     $v0, $v0, 0x8
/* AF8C8 801191C8 AF020000 */  sw        $v0, 0x0($t8)
/* AF8CC 801191CC 3C02F508 */  lui       $v0, (0xF5080000 >> 16)
/* AF8D0 801191D0 00822025 */  or        $a0, $a0, $v0
/* AF8D4 801191D4 02842025 */  or        $a0, $s4, $a0
/* AF8D8 801191D8 01DE1023 */  subu      $v0, $t6, $fp
/* AF8DC 801191DC 000210C2 */  srl       $v0, $v0, 3
/* AF8E0 801191E0 00004012 */  mflo      $t0
/* AF8E4 801191E4 304201FF */  andi      $v0, $v0, 0x1FF
/* AF8E8 801191E8 00822025 */  or        $a0, $a0, $v0
/* AF8EC 801191EC 15E00002 */  bnez      $t7, .L801191F8
/* AF8F0 801191F0 010F001A */   div      $zero, $t0, $t7
/* AF8F4 801191F4 0007000D */  break     7
.L801191F8:
/* AF8F8 801191F8 2401FFFF */  addiu     $at, $zero, -0x1
/* AF8FC 801191FC 15E10004 */  bne       $t7, $at, .L80119210
/* AF900 80119200 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF904 80119204 15010002 */  bne       $t0, $at, .L80119210
/* AF908 80119208 00000000 */   nop
/* AF90C 8011920C 0006000D */  break     6
.L80119210:
/* AF910 80119210 00006012 */  mflo      $t4
/* AF914 80119214 322A000F */  andi      $t2, $s1, 0xF
/* AF918 80119218 000A5A80 */  sll       $t3, $t2, 10
/* AF91C 8011921C 00073880 */  sll       $a3, $a3, 2
/* AF920 80119220 30E70FFF */  andi      $a3, $a3, 0xFFF
/* AF924 80119224 00073B00 */  sll       $a3, $a3, 12
/* AF928 80119228 24C5FFFF */  addiu     $a1, $a2, -0x1
/* AF92C 8011922C 00052880 */  sll       $a1, $a1, 2
/* AF930 80119230 30A50FFF */  andi      $a1, $a1, 0xFFF
/* AF934 80119234 AC640000 */  sw        $a0, 0x0($v1)
/* AF938 80119238 8FB00044 */  lw        $s0, 0x44($sp)
/* AF93C 8011923C 8FB40048 */  lw        $s4, 0x48($sp)
/* AF940 80119240 02114823 */  subu      $t1, $s0, $s1
/* AF944 80119244 3129000F */  andi      $t1, $t1, 0xF
/* AF948 80119248 00094B80 */  sll       $t1, $t1, 14
/* AF94C 8011924C 8FB0004C */  lw        $s0, 0x4C($sp)
/* AF950 80119250 01371025 */  or        $v0, $t1, $s7
/* AF954 80119254 02621025 */  or        $v0, $s3, $v0
/* AF958 80119258 004B1025 */  or        $v0, $v0, $t3
/* AF95C 8011925C 00501025 */  or        $v0, $v0, $s0
/* AF960 80119260 02914023 */  subu      $t0, $s4, $s1
/* AF964 80119264 3108000F */  andi      $t0, $t0, 0xF
/* AF968 80119268 00084100 */  sll       $t0, $t0, 4
/* AF96C 8011926C 00481025 */  or        $v0, $v0, $t0
/* AF970 80119270 004A1025 */  or        $v0, $v0, $t2
/* AF974 80119274 AC620004 */  sw        $v0, 0x4($v1)
/* AF978 80119278 8F020000 */  lw        $v0, 0x0($t8)
/* AF97C 8011927C 000F7840 */  sll       $t7, $t7, 1
/* AF980 80119280 0040182D */  daddu     $v1, $v0, $zero
/* AF984 80119284 24420008 */  addiu     $v0, $v0, 0x8
/* AF988 80119288 AF020000 */  sw        $v0, 0x0($t8)
/* AF98C 8011928C 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AF990 80119290 AC620000 */  sw        $v0, 0x0($v1)
/* AF994 80119294 AC600004 */  sw        $zero, 0x4($v1)
/* AF998 80119298 8F020000 */  lw        $v0, 0x0($t8)
/* AF99C 8011929C 15E00002 */  bnez      $t7, .L801192A8
/* AF9A0 801192A0 032F001A */   div      $zero, $t9, $t7
/* AF9A4 801192A4 0007000D */  break     7
.L801192A8:
/* AF9A8 801192A8 2401FFFF */  addiu     $at, $zero, -0x1
/* AF9AC 801192AC 15E10004 */  bne       $t7, $at, .L801192C0
/* AF9B0 801192B0 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AF9B4 801192B4 17210002 */  bne       $t9, $at, .L801192C0
/* AF9B8 801192B8 00000000 */   nop
/* AF9BC 801192BC 0006000D */  break     6
.L801192C0:
/* AF9C0 801192C0 00006812 */  mflo      $t5
/* AF9C4 801192C4 0040182D */  daddu     $v1, $v0, $zero
/* AF9C8 801192C8 24420008 */  addiu     $v0, $v0, 0x8
/* AF9CC 801192CC AF020000 */  sw        $v0, 0x0($t8)
/* AF9D0 801192D0 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* AF9D4 801192D4 AC620000 */  sw        $v0, 0x0($v1)
/* AF9D8 801192D8 00B71025 */  or        $v0, $a1, $s7
/* AF9DC 801192DC 00E21025 */  or        $v0, $a3, $v0
/* AF9E0 801192E0 AC620004 */  sw        $v0, 0x4($v1)
/* AF9E4 801192E4 8F020000 */  lw        $v0, 0x0($t8)
/* AF9E8 801192E8 0040182D */  daddu     $v1, $v0, $zero
/* AF9EC 801192EC 24420008 */  addiu     $v0, $v0, 0x8
/* AF9F0 801192F0 AF020000 */  sw        $v0, 0x0($t8)
/* AF9F4 801192F4 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AF9F8 801192F8 AC620000 */  sw        $v0, 0x0($v1)
/* AF9FC 801192FC AC600004 */  sw        $zero, 0x4($v1)
/* AFA00 80119300 32230007 */  andi      $v1, $s1, 0x7
/* AFA04 80119304 00031E00 */  sll       $v1, $v1, 24
/* AFA08 80119308 8F020000 */  lw        $v0, 0x0($t8)
/* AFA0C 8011930C 26310001 */  addiu     $s1, $s1, 0x1
/* AFA10 80119310 0040302D */  daddu     $a2, $v0, $zero
/* AFA14 80119314 24420008 */  addiu     $v0, $v0, 0x8
/* AFA18 80119318 AF020000 */  sw        $v0, 0x0($t8)
/* AFA1C 8011931C 00731025 */  or        $v0, $v1, $s3
/* AFA20 80119320 00491025 */  or        $v0, $v0, $t1
/* AFA24 80119324 004B1025 */  or        $v0, $v0, $t3
/* AFA28 80119328 00501025 */  or        $v0, $v0, $s0
/* AFA2C 8011932C 00481025 */  or        $v0, $v0, $t0
/* AFA30 80119330 004A1025 */  or        $v0, $v0, $t2
/* AFA34 80119334 00671825 */  or        $v1, $v1, $a3
/* AFA38 80119338 ACC40000 */  sw        $a0, 0x0($a2)
/* AFA3C 8011933C ACC20004 */  sw        $v0, 0x4($a2)
/* AFA40 80119340 8F020000 */  lw        $v0, 0x0($t8)
/* AFA44 80119344 00651825 */  or        $v1, $v1, $a1
/* AFA48 80119348 0040202D */  daddu     $a0, $v0, $zero
/* AFA4C 8011934C 24420008 */  addiu     $v0, $v0, 0x8
/* AFA50 80119350 AF020000 */  sw        $v0, 0x0($t8)
/* AFA54 80119354 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* AFA58 80119358 AC820000 */  sw        $v0, 0x0($a0)
/* AFA5C 8011935C AC830004 */  sw        $v1, 0x4($a0)
/* AFA60 80119360 000D10C0 */  sll       $v0, $t5, 3
/* AFA64 80119364 28420040 */  slti      $v0, $v0, 0x40
/* AFA68 80119368 1440014F */  bnez      $v0, .L801198A8
/* AFA6C 8011936C 01CC7021 */   addu     $t6, $t6, $t4
/* AFA70 80119370 08046449 */  j         .L80119124
/* AFA74 80119374 00000000 */   nop
.L80119378:
/* AFA78 80119378 03C0702D */  daddu     $t6, $fp, $zero
/* AFA7C 8011937C 0000882D */  daddu     $s1, $zero, $zero
/* AFA80 80119380 00191100 */  sll       $v0, $t9, 4
/* AFA84 80119384 28420040 */  slti      $v0, $v0, 0x40
/* AFA88 80119388 14400147 */  bnez      $v0, .L801198A8
/* AFA8C 8011938C 240F0001 */   addiu    $t7, $zero, 0x1
/* AFA90 80119390 31020007 */  andi      $v0, $t0, 0x7
/* AFA94 80119394 00021540 */  sll       $v0, $v0, 21
/* AFA98 80119398 AFA20040 */  sw        $v0, 0x40($sp)
/* AFA9C 8011939C 32E20003 */  andi      $v0, $s7, 0x3
/* AFAA0 801193A0 00029C80 */  sll       $s3, $v0, 18
/* AFAA4 801193A4 3C170700 */  lui       $s7, (0x7000000 >> 16)
/* AFAA8 801193A8 31220003 */  andi      $v0, $t1, 0x3
/* AFAAC 801193AC 00021200 */  sll       $v0, $v0, 8
/* AFAB0 801193B0 AFA2004C */  sw        $v0, 0x4C($sp)
.L801193B4:
/* AFAB4 801193B4 15E00002 */  bnez      $t7, .L801193C0
/* AFAB8 801193B8 024F001A */   div      $zero, $s2, $t7
/* AFABC 801193BC 0007000D */  break     7
.L801193C0:
/* AFAC0 801193C0 2401FFFF */  addiu     $at, $zero, -0x1
/* AFAC4 801193C4 15E10004 */  bne       $t7, $at, .L801193D8
/* AFAC8 801193C8 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFACC 801193CC 16410002 */  bne       $s2, $at, .L801193D8
/* AFAD0 801193D0 00000000 */   nop
/* AFAD4 801193D4 0006000D */  break     6
.L801193D8:
/* AFAD8 801193D8 00006012 */  mflo      $t4
/* AFADC 801193DC 11800132 */  beqz      $t4, .L801198A8
/* AFAE0 801193E0 3C10FD10 */   lui      $s0, (0xFD100000 >> 16)
/* AFAE4 801193E4 15E00002 */  bnez      $t7, .L801193F0
/* AFAE8 801193E8 032F001A */   div      $zero, $t9, $t7
/* AFAEC 801193EC 0007000D */  break     7
.L801193F0:
/* AFAF0 801193F0 2401FFFF */  addiu     $at, $zero, -0x1
/* AFAF4 801193F4 15E10004 */  bne       $t7, $at, .L80119408
/* AFAF8 801193F8 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFAFC 801193FC 17210002 */  bne       $t9, $at, .L80119408
/* AFB00 80119400 00000000 */   nop
/* AFB04 80119404 0006000D */  break     6
.L80119408:
/* AFB08 80119408 00002012 */  mflo      $a0
/* AFB0C 8011940C 8F020000 */  lw        $v0, 0x0($t8)
/* AFB10 80119410 0040182D */  daddu     $v1, $v0, $zero
/* AFB14 80119414 24420008 */  addiu     $v0, $v0, 0x8
/* AFB18 80119418 AF020000 */  sw        $v0, 0x0($t8)
/* AFB1C 8011941C AC6E0004 */  sw        $t6, 0x4($v1)
/* AFB20 80119420 8FB40040 */  lw        $s4, 0x40($sp)
/* AFB24 80119424 2486FFFF */  addiu     $a2, $a0, -0x1
/* AFB28 80119428 30C20FFF */  andi      $v0, $a2, 0xFFF
/* AFB2C 8011942C 00501025 */  or        $v0, $v0, $s0
/* AFB30 80119430 02821025 */  or        $v0, $s4, $v0
/* AFB34 80119434 AC620000 */  sw        $v0, 0x0($v1)
/* AFB38 80119438 00041840 */  sll       $v1, $a0, 1
/* AFB3C 8011943C 24630007 */  addiu     $v1, $v1, 0x7
/* AFB40 80119440 000318C3 */  sra       $v1, $v1, 3
/* AFB44 80119444 306301FF */  andi      $v1, $v1, 0x1FF
/* AFB48 80119448 00031A40 */  sll       $v1, $v1, 9
/* AFB4C 8011944C 8F020000 */  lw        $v0, 0x0($t8)
/* AFB50 80119450 00920018 */  mult      $a0, $s2
/* AFB54 80119454 0040282D */  daddu     $a1, $v0, $zero
/* AFB58 80119458 24420008 */  addiu     $v0, $v0, 0x8
/* AFB5C 8011945C AF020000 */  sw        $v0, 0x0($t8)
/* AFB60 80119460 3C02F510 */  lui       $v0, (0xF5100000 >> 16)
/* AFB64 80119464 00621825 */  or        $v1, $v1, $v0
/* AFB68 80119468 02831825 */  or        $v1, $s4, $v1
/* AFB6C 8011946C 01DE1023 */  subu      $v0, $t6, $fp
/* AFB70 80119470 000210C2 */  srl       $v0, $v0, 3
/* AFB74 80119474 304201FF */  andi      $v0, $v0, 0x1FF
/* AFB78 80119478 00621825 */  or        $v1, $v1, $v0
/* AFB7C 8011947C 00001012 */  mflo      $v0
/* AFB80 80119480 00000000 */  nop
/* AFB84 80119484 15E00002 */  bnez      $t7, .L80119490
/* AFB88 80119488 004F001A */   div      $zero, $v0, $t7
/* AFB8C 8011948C 0007000D */  break     7
.L80119490:
/* AFB90 80119490 2401FFFF */  addiu     $at, $zero, -0x1
/* AFB94 80119494 15E10004 */  bne       $t7, $at, .L801194A8
/* AFB98 80119498 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFB9C 8011949C 14410002 */  bne       $v0, $at, .L801194A8
/* AFBA0 801194A0 00000000 */   nop
/* AFBA4 801194A4 0006000D */  break     6
.L801194A8:
/* AFBA8 801194A8 00005012 */  mflo      $t2
/* AFBAC 801194AC 3229000F */  andi      $t1, $s1, 0xF
/* AFBB0 801194B0 00095A80 */  sll       $t3, $t1, 10
/* AFBB4 801194B4 00063080 */  sll       $a2, $a2, 2
/* AFBB8 801194B8 30C60FFF */  andi      $a2, $a2, 0xFFF
/* AFBBC 801194BC 00063300 */  sll       $a2, $a2, 12
/* AFBC0 801194C0 ACA30000 */  sw        $v1, 0x0($a1)
/* AFBC4 801194C4 8FB00044 */  lw        $s0, 0x44($sp)
/* AFBC8 801194C8 8FB40048 */  lw        $s4, 0x48($sp)
/* AFBCC 801194CC 02114023 */  subu      $t0, $s0, $s1
/* AFBD0 801194D0 3108000F */  andi      $t0, $t0, 0xF
/* AFBD4 801194D4 00084380 */  sll       $t0, $t0, 14
/* AFBD8 801194D8 02913823 */  subu      $a3, $s4, $s1
/* AFBDC 801194DC 30E7000F */  andi      $a3, $a3, 0xF
/* AFBE0 801194E0 00073900 */  sll       $a3, $a3, 4
/* AFBE4 801194E4 8FB0004C */  lw        $s0, 0x4C($sp)
/* AFBE8 801194E8 01171025 */  or        $v0, $t0, $s7
/* AFBEC 801194EC 02621025 */  or        $v0, $s3, $v0
/* AFBF0 801194F0 004B1025 */  or        $v0, $v0, $t3
/* AFBF4 801194F4 00501025 */  or        $v0, $v0, $s0
/* AFBF8 801194F8 00471025 */  or        $v0, $v0, $a3
/* AFBFC 801194FC 00491025 */  or        $v0, $v0, $t1
/* AFC00 80119500 000F7840 */  sll       $t7, $t7, 1
/* AFC04 80119504 ACA20004 */  sw        $v0, 0x4($a1)
/* AFC08 80119508 2585FFFF */  addiu     $a1, $t4, -0x1
/* AFC0C 8011950C 00052880 */  sll       $a1, $a1, 2
/* AFC10 80119510 8F020000 */  lw        $v0, 0x0($t8)
/* AFC14 80119514 30A50FFF */  andi      $a1, $a1, 0xFFF
/* AFC18 80119518 0040202D */  daddu     $a0, $v0, $zero
/* AFC1C 8011951C 24420008 */  addiu     $v0, $v0, 0x8
/* AFC20 80119520 AF020000 */  sw        $v0, 0x0($t8)
/* AFC24 80119524 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AFC28 80119528 AC820000 */  sw        $v0, 0x0($a0)
/* AFC2C 8011952C AC800004 */  sw        $zero, 0x4($a0)
/* AFC30 80119530 8F020000 */  lw        $v0, 0x0($t8)
/* AFC34 80119534 15E00002 */  bnez      $t7, .L80119540
/* AFC38 80119538 032F001A */   div      $zero, $t9, $t7
/* AFC3C 8011953C 0007000D */  break     7
.L80119540:
/* AFC40 80119540 2401FFFF */  addiu     $at, $zero, -0x1
/* AFC44 80119544 15E10004 */  bne       $t7, $at, .L80119558
/* AFC48 80119548 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFC4C 8011954C 17210002 */  bne       $t9, $at, .L80119558
/* AFC50 80119550 00000000 */   nop
/* AFC54 80119554 0006000D */  break     6
.L80119558:
/* AFC58 80119558 00006812 */  mflo      $t5
/* AFC5C 8011955C 0040202D */  daddu     $a0, $v0, $zero
/* AFC60 80119560 24420008 */  addiu     $v0, $v0, 0x8
/* AFC64 80119564 AF020000 */  sw        $v0, 0x0($t8)
/* AFC68 80119568 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* AFC6C 8011956C AC820000 */  sw        $v0, 0x0($a0)
/* AFC70 80119570 00B71025 */  or        $v0, $a1, $s7
/* AFC74 80119574 00C21025 */  or        $v0, $a2, $v0
/* AFC78 80119578 AC820004 */  sw        $v0, 0x4($a0)
/* AFC7C 8011957C 8F020000 */  lw        $v0, 0x0($t8)
/* AFC80 80119580 0040202D */  daddu     $a0, $v0, $zero
/* AFC84 80119584 24420008 */  addiu     $v0, $v0, 0x8
/* AFC88 80119588 AF020000 */  sw        $v0, 0x0($t8)
/* AFC8C 8011958C 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AFC90 80119590 AC820000 */  sw        $v0, 0x0($a0)
/* AFC94 80119594 AC800004 */  sw        $zero, 0x4($a0)
/* AFC98 80119598 8F020000 */  lw        $v0, 0x0($t8)
/* AFC9C 8011959C 0040202D */  daddu     $a0, $v0, $zero
/* AFCA0 801195A0 24420008 */  addiu     $v0, $v0, 0x8
/* AFCA4 801195A4 AF020000 */  sw        $v0, 0x0($t8)
/* AFCA8 801195A8 AC830000 */  sw        $v1, 0x0($a0)
/* AFCAC 801195AC 32230007 */  andi      $v1, $s1, 0x7
/* AFCB0 801195B0 00031E00 */  sll       $v1, $v1, 24
/* AFCB4 801195B4 00731025 */  or        $v0, $v1, $s3
/* AFCB8 801195B8 00481025 */  or        $v0, $v0, $t0
/* AFCBC 801195BC 004B1025 */  or        $v0, $v0, $t3
/* AFCC0 801195C0 00501025 */  or        $v0, $v0, $s0
/* AFCC4 801195C4 00471025 */  or        $v0, $v0, $a3
/* AFCC8 801195C8 00491025 */  or        $v0, $v0, $t1
/* AFCCC 801195CC 26310001 */  addiu     $s1, $s1, 0x1
/* AFCD0 801195D0 00661825 */  or        $v1, $v1, $a2
/* AFCD4 801195D4 AC820004 */  sw        $v0, 0x4($a0)
/* AFCD8 801195D8 8F020000 */  lw        $v0, 0x0($t8)
/* AFCDC 801195DC 00651825 */  or        $v1, $v1, $a1
/* AFCE0 801195E0 0040202D */  daddu     $a0, $v0, $zero
/* AFCE4 801195E4 24420008 */  addiu     $v0, $v0, 0x8
/* AFCE8 801195E8 AF020000 */  sw        $v0, 0x0($t8)
/* AFCEC 801195EC 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* AFCF0 801195F0 AC820000 */  sw        $v0, 0x0($a0)
/* AFCF4 801195F4 AC830004 */  sw        $v1, 0x4($a0)
/* AFCF8 801195F8 000A5040 */  sll       $t2, $t2, 1
/* AFCFC 801195FC 000D1100 */  sll       $v0, $t5, 4
/* AFD00 80119600 28420040 */  slti      $v0, $v0, 0x40
/* AFD04 80119604 144000A8 */  bnez      $v0, .L801198A8
/* AFD08 80119608 01CA7021 */   addu     $t6, $t6, $t2
/* AFD0C 8011960C 080464ED */  j         .L801193B4
/* AFD10 80119610 00000000 */   nop
.L80119614:
/* AFD14 80119614 03C0702D */  daddu     $t6, $fp, $zero
/* AFD18 80119618 0000882D */  daddu     $s1, $zero, $zero
/* AFD1C 8011961C 00191140 */  sll       $v0, $t9, 5
/* AFD20 80119620 28420040 */  slti      $v0, $v0, 0x40
/* AFD24 80119624 144000A0 */  bnez      $v0, .L801198A8
/* AFD28 80119628 240F0001 */   addiu    $t7, $zero, 0x1
/* AFD2C 8011962C 31020007 */  andi      $v0, $t0, 0x7
/* AFD30 80119630 00021540 */  sll       $v0, $v0, 21
/* AFD34 80119634 AFA20040 */  sw        $v0, 0x40($sp)
/* AFD38 80119638 32E20003 */  andi      $v0, $s7, 0x3
/* AFD3C 8011963C 00029C80 */  sll       $s3, $v0, 18
/* AFD40 80119640 3C170700 */  lui       $s7, (0x7000000 >> 16)
/* AFD44 80119644 31220003 */  andi      $v0, $t1, 0x3
/* AFD48 80119648 00021200 */  sll       $v0, $v0, 8
/* AFD4C 8011964C AFA2004C */  sw        $v0, 0x4C($sp)
.L80119650:
/* AFD50 80119650 15E00002 */  bnez      $t7, .L8011965C
/* AFD54 80119654 024F001A */   div      $zero, $s2, $t7
/* AFD58 80119658 0007000D */  break     7
.L8011965C:
/* AFD5C 8011965C 2401FFFF */  addiu     $at, $zero, -0x1
/* AFD60 80119660 15E10004 */  bne       $t7, $at, .L80119674
/* AFD64 80119664 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFD68 80119668 16410002 */  bne       $s2, $at, .L80119674
/* AFD6C 8011966C 00000000 */   nop
/* AFD70 80119670 0006000D */  break     6
.L80119674:
/* AFD74 80119674 00006012 */  mflo      $t4
/* AFD78 80119678 1180008B */  beqz      $t4, .L801198A8
/* AFD7C 8011967C 3C10FD18 */   lui      $s0, (0xFD180000 >> 16)
/* AFD80 80119680 15E00002 */  bnez      $t7, .L8011968C
/* AFD84 80119684 032F001A */   div      $zero, $t9, $t7
/* AFD88 80119688 0007000D */  break     7
.L8011968C:
/* AFD8C 8011968C 2401FFFF */  addiu     $at, $zero, -0x1
/* AFD90 80119690 15E10004 */  bne       $t7, $at, .L801196A4
/* AFD94 80119694 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFD98 80119698 17210002 */  bne       $t9, $at, .L801196A4
/* AFD9C 8011969C 00000000 */   nop
/* AFDA0 801196A0 0006000D */  break     6
.L801196A4:
/* AFDA4 801196A4 00002012 */  mflo      $a0
/* AFDA8 801196A8 8F020000 */  lw        $v0, 0x0($t8)
/* AFDAC 801196AC 0040182D */  daddu     $v1, $v0, $zero
/* AFDB0 801196B0 24420008 */  addiu     $v0, $v0, 0x8
/* AFDB4 801196B4 AF020000 */  sw        $v0, 0x0($t8)
/* AFDB8 801196B8 AC6E0004 */  sw        $t6, 0x4($v1)
/* AFDBC 801196BC 8FB40040 */  lw        $s4, 0x40($sp)
/* AFDC0 801196C0 2486FFFF */  addiu     $a2, $a0, -0x1
/* AFDC4 801196C4 30C20FFF */  andi      $v0, $a2, 0xFFF
/* AFDC8 801196C8 00501025 */  or        $v0, $v0, $s0
/* AFDCC 801196CC 02821025 */  or        $v0, $s4, $v0
/* AFDD0 801196D0 AC620000 */  sw        $v0, 0x0($v1)
/* AFDD4 801196D4 00041840 */  sll       $v1, $a0, 1
/* AFDD8 801196D8 24630007 */  addiu     $v1, $v1, 0x7
/* AFDDC 801196DC 000318C3 */  sra       $v1, $v1, 3
/* AFDE0 801196E0 306301FF */  andi      $v1, $v1, 0x1FF
/* AFDE4 801196E4 00031A40 */  sll       $v1, $v1, 9
/* AFDE8 801196E8 8F020000 */  lw        $v0, 0x0($t8)
/* AFDEC 801196EC 00920018 */  mult      $a0, $s2
/* AFDF0 801196F0 0040282D */  daddu     $a1, $v0, $zero
/* AFDF4 801196F4 24420008 */  addiu     $v0, $v0, 0x8
/* AFDF8 801196F8 AF020000 */  sw        $v0, 0x0($t8)
/* AFDFC 801196FC 3C02F518 */  lui       $v0, (0xF5180000 >> 16)
/* AFE00 80119700 00621825 */  or        $v1, $v1, $v0
/* AFE04 80119704 02831825 */  or        $v1, $s4, $v1
/* AFE08 80119708 01DE1023 */  subu      $v0, $t6, $fp
/* AFE0C 8011970C 00021102 */  srl       $v0, $v0, 4
/* AFE10 80119710 304201FF */  andi      $v0, $v0, 0x1FF
/* AFE14 80119714 00621825 */  or        $v1, $v1, $v0
/* AFE18 80119718 00001012 */  mflo      $v0
/* AFE1C 8011971C 00000000 */  nop
/* AFE20 80119720 15E00002 */  bnez      $t7, .L8011972C
/* AFE24 80119724 004F001A */   div      $zero, $v0, $t7
/* AFE28 80119728 0007000D */  break     7
.L8011972C:
/* AFE2C 8011972C 2401FFFF */  addiu     $at, $zero, -0x1
/* AFE30 80119730 15E10004 */  bne       $t7, $at, .L80119744
/* AFE34 80119734 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFE38 80119738 14410002 */  bne       $v0, $at, .L80119744
/* AFE3C 8011973C 00000000 */   nop
/* AFE40 80119740 0006000D */  break     6
.L80119744:
/* AFE44 80119744 00005012 */  mflo      $t2
/* AFE48 80119748 3229000F */  andi      $t1, $s1, 0xF
/* AFE4C 8011974C 00095A80 */  sll       $t3, $t1, 10
/* AFE50 80119750 00063080 */  sll       $a2, $a2, 2
/* AFE54 80119754 30C60FFF */  andi      $a2, $a2, 0xFFF
/* AFE58 80119758 00063300 */  sll       $a2, $a2, 12
/* AFE5C 8011975C ACA30000 */  sw        $v1, 0x0($a1)
/* AFE60 80119760 8FB00044 */  lw        $s0, 0x44($sp)
/* AFE64 80119764 8FB40048 */  lw        $s4, 0x48($sp)
/* AFE68 80119768 02114023 */  subu      $t0, $s0, $s1
/* AFE6C 8011976C 3108000F */  andi      $t0, $t0, 0xF
/* AFE70 80119770 00084380 */  sll       $t0, $t0, 14
/* AFE74 80119774 02913823 */  subu      $a3, $s4, $s1
/* AFE78 80119778 30E7000F */  andi      $a3, $a3, 0xF
/* AFE7C 8011977C 00073900 */  sll       $a3, $a3, 4
/* AFE80 80119780 8FB0004C */  lw        $s0, 0x4C($sp)
/* AFE84 80119784 01171025 */  or        $v0, $t0, $s7
/* AFE88 80119788 02621025 */  or        $v0, $s3, $v0
/* AFE8C 8011978C 004B1025 */  or        $v0, $v0, $t3
/* AFE90 80119790 00501025 */  or        $v0, $v0, $s0
/* AFE94 80119794 00471025 */  or        $v0, $v0, $a3
/* AFE98 80119798 00491025 */  or        $v0, $v0, $t1
/* AFE9C 8011979C 000F7840 */  sll       $t7, $t7, 1
/* AFEA0 801197A0 ACA20004 */  sw        $v0, 0x4($a1)
/* AFEA4 801197A4 2585FFFF */  addiu     $a1, $t4, -0x1
/* AFEA8 801197A8 00052880 */  sll       $a1, $a1, 2
/* AFEAC 801197AC 8F020000 */  lw        $v0, 0x0($t8)
/* AFEB0 801197B0 30A50FFF */  andi      $a1, $a1, 0xFFF
/* AFEB4 801197B4 0040202D */  daddu     $a0, $v0, $zero
/* AFEB8 801197B8 24420008 */  addiu     $v0, $v0, 0x8
/* AFEBC 801197BC AF020000 */  sw        $v0, 0x0($t8)
/* AFEC0 801197C0 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* AFEC4 801197C4 AC820000 */  sw        $v0, 0x0($a0)
/* AFEC8 801197C8 AC800004 */  sw        $zero, 0x4($a0)
/* AFECC 801197CC 8F020000 */  lw        $v0, 0x0($t8)
/* AFED0 801197D0 15E00002 */  bnez      $t7, .L801197DC
/* AFED4 801197D4 032F001A */   div      $zero, $t9, $t7
/* AFED8 801197D8 0007000D */  break     7
.L801197DC:
/* AFEDC 801197DC 2401FFFF */  addiu     $at, $zero, -0x1
/* AFEE0 801197E0 15E10004 */  bne       $t7, $at, .L801197F4
/* AFEE4 801197E4 3C018000 */   lui      $at, (0x80000000 >> 16)
/* AFEE8 801197E8 17210002 */  bne       $t9, $at, .L801197F4
/* AFEEC 801197EC 00000000 */   nop
/* AFEF0 801197F0 0006000D */  break     6
.L801197F4:
/* AFEF4 801197F4 00006812 */  mflo      $t5
/* AFEF8 801197F8 0040202D */  daddu     $a0, $v0, $zero
/* AFEFC 801197FC 24420008 */  addiu     $v0, $v0, 0x8
/* AFF00 80119800 AF020000 */  sw        $v0, 0x0($t8)
/* AFF04 80119804 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* AFF08 80119808 AC820000 */  sw        $v0, 0x0($a0)
/* AFF0C 8011980C 00B71025 */  or        $v0, $a1, $s7
/* AFF10 80119810 00C21025 */  or        $v0, $a2, $v0
/* AFF14 80119814 AC820004 */  sw        $v0, 0x4($a0)
/* AFF18 80119818 8F020000 */  lw        $v0, 0x0($t8)
/* AFF1C 8011981C 0040202D */  daddu     $a0, $v0, $zero
/* AFF20 80119820 24420008 */  addiu     $v0, $v0, 0x8
/* AFF24 80119824 AF020000 */  sw        $v0, 0x0($t8)
/* AFF28 80119828 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* AFF2C 8011982C AC820000 */  sw        $v0, 0x0($a0)
/* AFF30 80119830 AC800004 */  sw        $zero, 0x4($a0)
/* AFF34 80119834 8F020000 */  lw        $v0, 0x0($t8)
/* AFF38 80119838 0040202D */  daddu     $a0, $v0, $zero
/* AFF3C 8011983C 24420008 */  addiu     $v0, $v0, 0x8
/* AFF40 80119840 AF020000 */  sw        $v0, 0x0($t8)
/* AFF44 80119844 AC830000 */  sw        $v1, 0x0($a0)
/* AFF48 80119848 32230007 */  andi      $v1, $s1, 0x7
/* AFF4C 8011984C 00031E00 */  sll       $v1, $v1, 24
/* AFF50 80119850 00731025 */  or        $v0, $v1, $s3
/* AFF54 80119854 00481025 */  or        $v0, $v0, $t0
/* AFF58 80119858 004B1025 */  or        $v0, $v0, $t3
/* AFF5C 8011985C 00501025 */  or        $v0, $v0, $s0
/* AFF60 80119860 00471025 */  or        $v0, $v0, $a3
/* AFF64 80119864 00491025 */  or        $v0, $v0, $t1
/* AFF68 80119868 26310001 */  addiu     $s1, $s1, 0x1
/* AFF6C 8011986C 00661825 */  or        $v1, $v1, $a2
/* AFF70 80119870 AC820004 */  sw        $v0, 0x4($a0)
/* AFF74 80119874 8F020000 */  lw        $v0, 0x0($t8)
/* AFF78 80119878 00651825 */  or        $v1, $v1, $a1
/* AFF7C 8011987C 0040202D */  daddu     $a0, $v0, $zero
/* AFF80 80119880 24420008 */  addiu     $v0, $v0, 0x8
/* AFF84 80119884 AF020000 */  sw        $v0, 0x0($t8)
/* AFF88 80119888 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* AFF8C 8011988C AC820000 */  sw        $v0, 0x0($a0)
/* AFF90 80119890 AC830004 */  sw        $v1, 0x4($a0)
/* AFF94 80119894 000A5080 */  sll       $t2, $t2, 2
/* AFF98 80119898 000D1140 */  sll       $v0, $t5, 5
/* AFF9C 8011989C 28420040 */  slti      $v0, $v0, 0x40
/* AFFA0 801198A0 1040FF6B */  beqz      $v0, .L80119650
/* AFFA4 801198A4 01CA7021 */   addu     $t6, $t6, $t2
.L801198A8:
/* AFFA8 801198A8 3C04D700 */  lui       $a0, (0xD7000002 >> 16)
.L801198AC:
/* AFFAC 801198AC 8F020000 */  lw        $v0, 0x0($t8)
/* AFFB0 801198B0 34840002 */  ori       $a0, $a0, (0xD7000002 & 0xFFFF)
/* AFFB4 801198B4 0040182D */  daddu     $v1, $v0, $zero
/* AFFB8 801198B8 24420008 */  addiu     $v0, $v0, 0x8
/* AFFBC 801198BC AF020000 */  sw        $v0, 0x0($t8)
/* AFFC0 801198C0 2622FFFF */  addiu     $v0, $s1, -0x1
/* AFFC4 801198C4 30420007 */  andi      $v0, $v0, 0x7
/* AFFC8 801198C8 000212C0 */  sll       $v0, $v0, 11
/* AFFCC 801198CC 00441025 */  or        $v0, $v0, $a0
/* AFFD0 801198D0 AC620000 */  sw        $v0, 0x0($v1)
/* AFFD4 801198D4 2402FFFF */  addiu     $v0, $zero, -0x1
/* AFFD8 801198D8 08046B31 */  j         .L8011ACC4
/* AFFDC 801198DC AC620004 */   sw       $v0, 0x4($v1)
.L801198E0:
/* AFFE0 801198E0 3C03D700 */  lui       $v1, (0xD7000002 >> 16)
/* AFFE4 801198E4 34630002 */  ori       $v1, $v1, (0xD7000002 & 0xFFFF)
/* AFFE8 801198E8 24820010 */  addiu     $v0, $a0, 0x10
/* AFFEC 801198EC AF020000 */  sw        $v0, 0x0($t8)
/* AFFF0 801198F0 2402FFFF */  addiu     $v0, $zero, -0x1
/* AFFF4 801198F4 AC830008 */  sw        $v1, 0x8($a0)
/* AFFF8 801198F8 AC82000C */  sw        $v0, 0xC($a0)
/* AFFFC 801198FC 8F020000 */  lw        $v0, 0x0($t8)
/* B0000 80119900 AFA00038 */  sw        $zero, 0x38($sp)
/* B0004 80119904 0040182D */  daddu     $v1, $v0, $zero
/* B0008 80119908 24420008 */  addiu     $v0, $v0, 0x8
/* B000C 8011990C AF020000 */  sw        $v0, 0x0($t8)
/* B0010 80119910 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B0014 80119914 AC620000 */  sw        $v0, 0x0($v1)
/* B0018 80119918 10A60098 */  beq       $a1, $a2, .L80119B7C
/* B001C 8011991C AC600004 */   sw       $zero, 0x4($v1)
/* B0020 80119920 28A20002 */  slti      $v0, $a1, 0x2
/* B0024 80119924 10400005 */  beqz      $v0, .L8011993C
/* B0028 80119928 00000000 */   nop
/* B002C 8011992C 10A00009 */  beqz      $a1, .L80119954
/* B0030 80119930 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* B0034 80119934 08046B32 */  j         .L8011ACC8
/* B0038 80119938 00000000 */   nop
.L8011993C:
/* B003C 8011993C 10AB0118 */  beq       $a1, $t3, .L80119DA0
/* B0040 80119940 24020003 */   addiu    $v0, $zero, 0x3
/* B0044 80119944 10A20177 */  beq       $a1, $v0, .L80119F24
/* B0048 80119948 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* B004C 8011994C 08046B32 */  j         .L8011ACC8
/* B0050 80119950 00000000 */   nop
.L80119954:
/* B0054 80119954 31030007 */  andi      $v1, $t0, 0x7
/* B0058 80119958 8F020000 */  lw        $v0, 0x0($t8)
/* B005C 8011995C 00031D40 */  sll       $v1, $v1, 21
/* B0060 80119960 0040202D */  daddu     $a0, $v0, $zero
/* B0064 80119964 24420008 */  addiu     $v0, $v0, 0x8
/* B0068 80119968 AF020000 */  sw        $v0, 0x0($t8)
/* B006C 8011996C 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* B0070 80119970 00621025 */  or        $v0, $v1, $v0
/* B0074 80119974 AC820000 */  sw        $v0, 0x0($a0)
/* B0078 80119978 AC9E0004 */  sw        $fp, 0x4($a0)
/* B007C 8011997C 8F020000 */  lw        $v0, 0x0($t8)
/* B0080 80119980 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* B0084 80119984 0040202D */  daddu     $a0, $v0, $zero
/* B0088 80119988 24420008 */  addiu     $v0, $v0, 0x8
/* B008C 8011998C AF020000 */  sw        $v0, 0x0($t8)
/* B0090 80119990 3C02F510 */  lui       $v0, (0xF5100000 >> 16)
/* B0094 80119994 00621825 */  or        $v1, $v1, $v0
/* B0098 80119998 AC830000 */  sw        $v1, 0x0($a0)
/* B009C 8011999C 32E30003 */  andi      $v1, $s7, 0x3
/* B00A0 801199A0 00031C80 */  sll       $v1, $v1, 18
/* B00A4 801199A4 8FB00044 */  lw        $s0, 0x44($sp)
/* B00A8 801199A8 8FB40048 */  lw        $s4, 0x48($sp)
/* B00AC 801199AC 00101380 */  sll       $v0, $s0, 14
/* B00B0 801199B0 00471025 */  or        $v0, $v0, $a3
/* B00B4 801199B4 00621825 */  or        $v1, $v1, $v0
/* B00B8 801199B8 31220003 */  andi      $v0, $t1, 0x3
/* B00BC 801199BC 00021200 */  sll       $v0, $v0, 8
/* B00C0 801199C0 00621825 */  or        $v1, $v1, $v0
/* B00C4 801199C4 00141100 */  sll       $v0, $s4, 4
/* B00C8 801199C8 00621825 */  or        $v1, $v1, $v0
/* B00CC 801199CC AC830004 */  sw        $v1, 0x4($a0)
/* B00D0 801199D0 8F020000 */  lw        $v0, 0x0($t8)
/* B00D4 801199D4 0040182D */  daddu     $v1, $v0, $zero
/* B00D8 801199D8 24420008 */  addiu     $v0, $v0, 0x8
/* B00DC 801199DC AF020000 */  sw        $v0, 0x0($t8)
/* B00E0 801199E0 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B00E4 801199E4 AC620000 */  sw        $v0, 0x0($v1)
/* B00E8 801199E8 AC600004 */  sw        $zero, 0x4($v1)
/* B00EC 801199EC 8F020000 */  lw        $v0, 0x0($t8)
/* B00F0 801199F0 0320202D */  daddu     $a0, $t9, $zero
/* B00F4 801199F4 0040302D */  daddu     $a2, $v0, $zero
/* B00F8 801199F8 24420008 */  addiu     $v0, $v0, 0x8
/* B00FC 801199FC AF020000 */  sw        $v0, 0x0($t8)
/* B0100 80119A00 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* B0104 80119A04 07210002 */  bgez      $t9, .L80119A10
/* B0108 80119A08 ACC20000 */   sw       $v0, 0x0($a2)
/* B010C 80119A0C 2724000F */  addiu     $a0, $t9, 0xF
.L80119A10:
/* B0110 80119A10 00042903 */  sra       $a1, $a0, 4
/* B0114 80119A14 18A00002 */  blez      $a1, .L80119A20
/* B0118 80119A18 24030800 */   addiu    $v1, $zero, 0x800
/* B011C 80119A1C 24A307FF */  addiu     $v1, $a1, 0x7FF
.L80119A20:
/* B0120 80119A20 03320018 */  mult      $t9, $s2
/* B0124 80119A24 00008012 */  mflo      $s0
/* B0128 80119A28 26020003 */  addiu     $v0, $s0, 0x3
/* B012C 80119A2C 00021083 */  sra       $v0, $v0, 2
/* B0130 80119A30 2444FFFF */  addiu     $a0, $v0, -0x1
/* B0134 80119A34 28820800 */  slti      $v0, $a0, 0x800
/* B0138 80119A38 50400001 */  beql      $v0, $zero, .L80119A40
/* B013C 80119A3C 240407FF */   addiu    $a0, $zero, 0x7FF
.L80119A40:
/* B0140 80119A40 30820FFF */  andi      $v0, $a0, 0xFFF
/* B0144 80119A44 00021300 */  sll       $v0, $v0, 12
/* B0148 80119A48 18A0000D */  blez      $a1, .L80119A80
/* B014C 80119A4C 00472025 */   or       $a0, $v0, $a3
/* B0150 80119A50 14A00002 */  bnez      $a1, .L80119A5C
/* B0154 80119A54 0065001A */   div      $zero, $v1, $a1
/* B0158 80119A58 0007000D */  break     7
.L80119A5C:
/* B015C 80119A5C 2401FFFF */  addiu     $at, $zero, -0x1
/* B0160 80119A60 14A10004 */  bne       $a1, $at, .L80119A74
/* B0164 80119A64 3C018000 */   lui      $at, (0x80000000 >> 16)
/* B0168 80119A68 14610002 */  bne       $v1, $at, .L80119A74
/* B016C 80119A6C 00000000 */   nop
/* B0170 80119A70 0006000D */  break     6
.L80119A74:
/* B0174 80119A74 00001012 */  mflo      $v0
/* B0178 80119A78 080466A1 */  j         .L80119A84
/* B017C 80119A7C 30420FFF */   andi     $v0, $v0, 0xFFF
.L80119A80:
/* B0180 80119A80 30620FFF */  andi      $v0, $v1, 0xFFF
.L80119A84:
/* B0184 80119A84 00821025 */  or        $v0, $a0, $v0
/* B0188 80119A88 ACC20004 */  sw        $v0, 0x4($a2)
/* B018C 80119A8C 31080007 */  andi      $t0, $t0, 0x7
/* B0190 80119A90 00084540 */  sll       $t0, $t0, 21
/* B0194 80119A94 32E40003 */  andi      $a0, $s7, 0x3
/* B0198 80119A98 00042480 */  sll       $a0, $a0, 18
/* B019C 80119A9C 312A0003 */  andi      $t2, $t1, 0x3
/* B01A0 80119AA0 000A5200 */  sll       $t2, $t2, 8
/* B01A4 80119AA4 3C0DF200 */  lui       $t5, (0xF2000000 >> 16)
/* B01A8 80119AA8 00124843 */  sra       $t1, $s2, 1
/* B01AC 80119AAC 2526FFFF */  addiu     $a2, $t1, -0x1
/* B01B0 80119AB0 00063080 */  sll       $a2, $a2, 2
/* B01B4 80119AB4 8F020000 */  lw        $v0, 0x0($t8)
/* B01B8 80119AB8 03290018 */  mult      $t9, $t1
/* B01BC 80119ABC 0040182D */  daddu     $v1, $v0, $zero
/* B01C0 80119AC0 24420008 */  addiu     $v0, $v0, 0x8
/* B01C4 80119AC4 AF020000 */  sw        $v0, 0x0($t8)
/* B01C8 80119AC8 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B01CC 80119ACC AC620000 */  sw        $v0, 0x0($v1)
/* B01D0 80119AD0 AC600004 */  sw        $zero, 0x4($v1)
/* B01D4 80119AD4 8F020000 */  lw        $v0, 0x0($t8)
/* B01D8 80119AD8 3C03F500 */  lui       $v1, (0xF5000000 >> 16)
/* B01DC 80119ADC 0040282D */  daddu     $a1, $v0, $zero
/* B01E0 80119AE0 24420008 */  addiu     $v0, $v0, 0x8
/* B01E4 80119AE4 AF020000 */  sw        $v0, 0x0($t8)
/* B01E8 80119AE8 00191043 */  sra       $v0, $t9, 1
/* B01EC 80119AEC 24420007 */  addiu     $v0, $v0, 0x7
/* B01F0 80119AF0 000210C3 */  sra       $v0, $v0, 3
/* B01F4 80119AF4 304201FF */  andi      $v0, $v0, 0x1FF
/* B01F8 80119AF8 00021240 */  sll       $v0, $v0, 9
/* B01FC 80119AFC 00431025 */  or        $v0, $v0, $v1
/* B0200 80119B00 01024025 */  or        $t0, $t0, $v0
/* B0204 80119B04 ACA80000 */  sw        $t0, 0x0($a1)
/* B0208 80119B08 8FB00044 */  lw        $s0, 0x44($sp)
/* B020C 80119B0C 8FB40048 */  lw        $s4, 0x48($sp)
/* B0210 80119B10 2607FFFF */  addiu     $a3, $s0, -0x1
/* B0214 80119B14 30E7000F */  andi      $a3, $a3, 0xF
/* B0218 80119B18 00073B80 */  sll       $a3, $a3, 14
/* B021C 80119B1C 00871025 */  or        $v0, $a0, $a3
/* B0220 80119B20 004A1025 */  or        $v0, $v0, $t2
/* B0224 80119B24 00146100 */  sll       $t4, $s4, 4
/* B0228 80119B28 004C1025 */  or        $v0, $v0, $t4
/* B022C 80119B2C ACA20004 */  sw        $v0, 0x4($a1)
/* B0230 80119B30 2725FFFF */  addiu     $a1, $t9, -0x1
/* B0234 80119B34 00052880 */  sll       $a1, $a1, 2
/* B0238 80119B38 30A30FFF */  andi      $v1, $a1, 0xFFF
/* B023C 80119B3C 8F020000 */  lw        $v0, 0x0($t8)
/* B0240 80119B40 00031B00 */  sll       $v1, $v1, 12
/* B0244 80119B44 0040582D */  daddu     $t3, $v0, $zero
/* B0248 80119B48 24420008 */  addiu     $v0, $v0, 0x8
/* B024C 80119B4C AF020000 */  sw        $v0, 0x0($t8)
/* B0250 80119B50 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B0254 80119B54 00621825 */  or        $v1, $v1, $v0
/* B0258 80119B58 AD6D0000 */  sw        $t5, 0x0($t3)
/* B025C 80119B5C AD630004 */  sw        $v1, 0x4($t3)
/* B0260 80119B60 8F020000 */  lw        $v0, 0x0($t8)
/* B0264 80119B64 00008012 */  mflo      $s0
/* B0268 80119B68 0040182D */  daddu     $v1, $v0, $zero
/* B026C 80119B6C 24420008 */  addiu     $v0, $v0, 0x8
/* B0270 80119B70 AF020000 */  sw        $v0, 0x0($t8)
/* B0274 80119B74 0804684D */  j         .L8011A134
/* B0278 80119B78 00101043 */   sra      $v0, $s0, 1
.L80119B7C:
/* B027C 80119B7C 31030007 */  andi      $v1, $t0, 0x7
/* B0280 80119B80 8F020000 */  lw        $v0, 0x0($t8)
/* B0284 80119B84 00031D40 */  sll       $v1, $v1, 21
/* B0288 80119B88 0040202D */  daddu     $a0, $v0, $zero
/* B028C 80119B8C 24420008 */  addiu     $v0, $v0, 0x8
/* B0290 80119B90 AF020000 */  sw        $v0, 0x0($t8)
/* B0294 80119B94 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* B0298 80119B98 00621025 */  or        $v0, $v1, $v0
/* B029C 80119B9C AC820000 */  sw        $v0, 0x0($a0)
/* B02A0 80119BA0 AC9E0004 */  sw        $fp, 0x4($a0)
/* B02A4 80119BA4 8F020000 */  lw        $v0, 0x0($t8)
/* B02A8 80119BA8 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* B02AC 80119BAC 0040202D */  daddu     $a0, $v0, $zero
/* B02B0 80119BB0 24420008 */  addiu     $v0, $v0, 0x8
/* B02B4 80119BB4 AF020000 */  sw        $v0, 0x0($t8)
/* B02B8 80119BB8 3C02F510 */  lui       $v0, (0xF5100000 >> 16)
/* B02BC 80119BBC 00621825 */  or        $v1, $v1, $v0
/* B02C0 80119BC0 AC830000 */  sw        $v1, 0x0($a0)
/* B02C4 80119BC4 32E30003 */  andi      $v1, $s7, 0x3
/* B02C8 80119BC8 00031C80 */  sll       $v1, $v1, 18
/* B02CC 80119BCC 8FB40044 */  lw        $s4, 0x44($sp)
/* B02D0 80119BD0 8FB50048 */  lw        $s5, 0x48($sp)
/* B02D4 80119BD4 00141380 */  sll       $v0, $s4, 14
/* B02D8 80119BD8 00471025 */  or        $v0, $v0, $a3
/* B02DC 80119BDC 00621825 */  or        $v1, $v1, $v0
/* B02E0 80119BE0 31220003 */  andi      $v0, $t1, 0x3
/* B02E4 80119BE4 00021200 */  sll       $v0, $v0, 8
/* B02E8 80119BE8 00621825 */  or        $v1, $v1, $v0
/* B02EC 80119BEC 00151100 */  sll       $v0, $s5, 4
/* B02F0 80119BF0 00621825 */  or        $v1, $v1, $v0
/* B02F4 80119BF4 AC830004 */  sw        $v1, 0x4($a0)
/* B02F8 80119BF8 8F020000 */  lw        $v0, 0x0($t8)
/* B02FC 80119BFC 0040182D */  daddu     $v1, $v0, $zero
/* B0300 80119C00 24420008 */  addiu     $v0, $v0, 0x8
/* B0304 80119C04 AF020000 */  sw        $v0, 0x0($t8)
/* B0308 80119C08 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B030C 80119C0C AC620000 */  sw        $v0, 0x0($v1)
/* B0310 80119C10 AC600004 */  sw        $zero, 0x4($v1)
/* B0314 80119C14 8F020000 */  lw        $v0, 0x0($t8)
/* B0318 80119C18 0320202D */  daddu     $a0, $t9, $zero
/* B031C 80119C1C 0040302D */  daddu     $a2, $v0, $zero
/* B0320 80119C20 24420008 */  addiu     $v0, $v0, 0x8
/* B0324 80119C24 AF020000 */  sw        $v0, 0x0($t8)
/* B0328 80119C28 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* B032C 80119C2C 07210002 */  bgez      $t9, .L80119C38
/* B0330 80119C30 ACC20000 */   sw       $v0, 0x0($a2)
/* B0334 80119C34 27240007 */  addiu     $a0, $t9, 0x7
.L80119C38:
/* B0338 80119C38 000428C3 */  sra       $a1, $a0, 3
/* B033C 80119C3C 18A00002 */  blez      $a1, .L80119C48
/* B0340 80119C40 24030800 */   addiu    $v1, $zero, 0x800
/* B0344 80119C44 24A307FF */  addiu     $v1, $a1, 0x7FF
.L80119C48:
/* B0348 80119C48 03320018 */  mult      $t9, $s2
/* B034C 80119C4C 00008012 */  mflo      $s0
/* B0350 80119C50 26020001 */  addiu     $v0, $s0, 0x1
/* B0354 80119C54 00021043 */  sra       $v0, $v0, 1
/* B0358 80119C58 2444FFFF */  addiu     $a0, $v0, -0x1
/* B035C 80119C5C 28820800 */  slti      $v0, $a0, 0x800
/* B0360 80119C60 50400001 */  beql      $v0, $zero, .L80119C68
/* B0364 80119C64 240407FF */   addiu    $a0, $zero, 0x7FF
.L80119C68:
/* B0368 80119C68 30820FFF */  andi      $v0, $a0, 0xFFF
/* B036C 80119C6C 00021300 */  sll       $v0, $v0, 12
/* B0370 80119C70 18A0000D */  blez      $a1, .L80119CA8
/* B0374 80119C74 00472025 */   or       $a0, $v0, $a3
/* B0378 80119C78 14A00002 */  bnez      $a1, .L80119C84
/* B037C 80119C7C 0065001A */   div      $zero, $v1, $a1
/* B0380 80119C80 0007000D */  break     7
.L80119C84:
/* B0384 80119C84 2401FFFF */  addiu     $at, $zero, -0x1
/* B0388 80119C88 14A10004 */  bne       $a1, $at, .L80119C9C
/* B038C 80119C8C 3C018000 */   lui      $at, (0x80000000 >> 16)
/* B0390 80119C90 14610002 */  bne       $v1, $at, .L80119C9C
/* B0394 80119C94 00000000 */   nop
/* B0398 80119C98 0006000D */  break     6
.L80119C9C:
/* B039C 80119C9C 00001012 */  mflo      $v0
/* B03A0 80119CA0 0804672B */  j         .L80119CAC
/* B03A4 80119CA4 30420FFF */   andi     $v0, $v0, 0xFFF
.L80119CA8:
/* B03A8 80119CA8 30620FFF */  andi      $v0, $v1, 0xFFF
.L80119CAC:
/* B03AC 80119CAC 00821025 */  or        $v0, $a0, $v0
/* B03B0 80119CB0 ACC20004 */  sw        $v0, 0x4($a2)
/* B03B4 80119CB4 31080007 */  andi      $t0, $t0, 0x7
/* B03B8 80119CB8 00084540 */  sll       $t0, $t0, 21
/* B03BC 80119CBC 32E40003 */  andi      $a0, $s7, 0x3
/* B03C0 80119CC0 00042480 */  sll       $a0, $a0, 18
/* B03C4 80119CC4 312A0003 */  andi      $t2, $t1, 0x3
/* B03C8 80119CC8 000A5200 */  sll       $t2, $t2, 8
/* B03CC 80119CCC 3C0DF200 */  lui       $t5, (0xF2000000 >> 16)
/* B03D0 80119CD0 00124843 */  sra       $t1, $s2, 1
/* B03D4 80119CD4 2526FFFF */  addiu     $a2, $t1, -0x1
/* B03D8 80119CD8 00063080 */  sll       $a2, $a2, 2
/* B03DC 80119CDC 8F020000 */  lw        $v0, 0x0($t8)
/* B03E0 80119CE0 03290018 */  mult      $t9, $t1
/* B03E4 80119CE4 0040182D */  daddu     $v1, $v0, $zero
/* B03E8 80119CE8 24420008 */  addiu     $v0, $v0, 0x8
/* B03EC 80119CEC AF020000 */  sw        $v0, 0x0($t8)
/* B03F0 80119CF0 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B03F4 80119CF4 AC620000 */  sw        $v0, 0x0($v1)
/* B03F8 80119CF8 AC600004 */  sw        $zero, 0x4($v1)
/* B03FC 80119CFC 8F020000 */  lw        $v0, 0x0($t8)
/* B0400 80119D00 3C03F508 */  lui       $v1, (0xF5080000 >> 16)
/* B0404 80119D04 0040282D */  daddu     $a1, $v0, $zero
/* B0408 80119D08 24420008 */  addiu     $v0, $v0, 0x8
/* B040C 80119D0C AF020000 */  sw        $v0, 0x0($t8)
/* B0410 80119D10 27220007 */  addiu     $v0, $t9, 0x7
/* B0414 80119D14 000210C3 */  sra       $v0, $v0, 3
/* B0418 80119D18 304201FF */  andi      $v0, $v0, 0x1FF
/* B041C 80119D1C 00021240 */  sll       $v0, $v0, 9
/* B0420 80119D20 00431025 */  or        $v0, $v0, $v1
/* B0424 80119D24 01024025 */  or        $t0, $t0, $v0
/* B0428 80119D28 ACA80000 */  sw        $t0, 0x0($a1)
/* B042C 80119D2C 8FB00044 */  lw        $s0, 0x44($sp)
/* B0430 80119D30 8FB40048 */  lw        $s4, 0x48($sp)
/* B0434 80119D34 2607FFFF */  addiu     $a3, $s0, -0x1
/* B0438 80119D38 30E7000F */  andi      $a3, $a3, 0xF
/* B043C 80119D3C 00073B80 */  sll       $a3, $a3, 14
/* B0440 80119D40 00871025 */  or        $v0, $a0, $a3
/* B0444 80119D44 004A1025 */  or        $v0, $v0, $t2
/* B0448 80119D48 00146100 */  sll       $t4, $s4, 4
/* B044C 80119D4C 004C1025 */  or        $v0, $v0, $t4
/* B0450 80119D50 ACA20004 */  sw        $v0, 0x4($a1)
/* B0454 80119D54 2725FFFF */  addiu     $a1, $t9, -0x1
/* B0458 80119D58 00052880 */  sll       $a1, $a1, 2
/* B045C 80119D5C 30A30FFF */  andi      $v1, $a1, 0xFFF
/* B0460 80119D60 8F020000 */  lw        $v0, 0x0($t8)
/* B0464 80119D64 00031B00 */  sll       $v1, $v1, 12
/* B0468 80119D68 0040582D */  daddu     $t3, $v0, $zero
/* B046C 80119D6C 24420008 */  addiu     $v0, $v0, 0x8
/* B0470 80119D70 AF020000 */  sw        $v0, 0x0($t8)
/* B0474 80119D74 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B0478 80119D78 00621825 */  or        $v1, $v1, $v0
/* B047C 80119D7C AD6D0000 */  sw        $t5, 0x0($t3)
/* B0480 80119D80 AD630004 */  sw        $v1, 0x4($t3)
/* B0484 80119D84 8F020000 */  lw        $v0, 0x0($t8)
/* B0488 80119D88 00008012 */  mflo      $s0
/* B048C 80119D8C 0040182D */  daddu     $v1, $v0, $zero
/* B0490 80119D90 24420008 */  addiu     $v0, $v0, 0x8
/* B0494 80119D94 AF020000 */  sw        $v0, 0x0($t8)
/* B0498 80119D98 0804684E */  j         .L8011A138
/* B049C 80119D9C 26020007 */   addiu    $v0, $s0, 0x7
.L80119DA0:
/* B04A0 80119DA0 31030007 */  andi      $v1, $t0, 0x7
/* B04A4 80119DA4 8F020000 */  lw        $v0, 0x0($t8)
/* B04A8 80119DA8 00031D40 */  sll       $v1, $v1, 21
/* B04AC 80119DAC 0040202D */  daddu     $a0, $v0, $zero
/* B04B0 80119DB0 24420008 */  addiu     $v0, $v0, 0x8
/* B04B4 80119DB4 AF020000 */  sw        $v0, 0x0($t8)
/* B04B8 80119DB8 3C02FD10 */  lui       $v0, (0xFD100000 >> 16)
/* B04BC 80119DBC 00621025 */  or        $v0, $v1, $v0
/* B04C0 80119DC0 AC820000 */  sw        $v0, 0x0($a0)
/* B04C4 80119DC4 AC9E0004 */  sw        $fp, 0x4($a0)
/* B04C8 80119DC8 8F020000 */  lw        $v0, 0x0($t8)
/* B04CC 80119DCC 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* B04D0 80119DD0 0040202D */  daddu     $a0, $v0, $zero
/* B04D4 80119DD4 24420008 */  addiu     $v0, $v0, 0x8
/* B04D8 80119DD8 AF020000 */  sw        $v0, 0x0($t8)
/* B04DC 80119DDC 3C02F510 */  lui       $v0, (0xF5100000 >> 16)
/* B04E0 80119DE0 00621825 */  or        $v1, $v1, $v0
/* B04E4 80119DE4 AC830000 */  sw        $v1, 0x0($a0)
/* B04E8 80119DE8 32E30003 */  andi      $v1, $s7, 0x3
/* B04EC 80119DEC 00031C80 */  sll       $v1, $v1, 18
/* B04F0 80119DF0 8FB40044 */  lw        $s4, 0x44($sp)
/* B04F4 80119DF4 8FB50048 */  lw        $s5, 0x48($sp)
/* B04F8 80119DF8 00141380 */  sll       $v0, $s4, 14
/* B04FC 80119DFC 00471025 */  or        $v0, $v0, $a3
/* B0500 80119E00 00621825 */  or        $v1, $v1, $v0
/* B0504 80119E04 31220003 */  andi      $v0, $t1, 0x3
/* B0508 80119E08 00021200 */  sll       $v0, $v0, 8
/* B050C 80119E0C 00621825 */  or        $v1, $v1, $v0
/* B0510 80119E10 00151100 */  sll       $v0, $s5, 4
/* B0514 80119E14 00621825 */  or        $v1, $v1, $v0
/* B0518 80119E18 AC830004 */  sw        $v1, 0x4($a0)
/* B051C 80119E1C 8F020000 */  lw        $v0, 0x0($t8)
/* B0520 80119E20 0040182D */  daddu     $v1, $v0, $zero
/* B0524 80119E24 24420008 */  addiu     $v0, $v0, 0x8
/* B0528 80119E28 AF020000 */  sw        $v0, 0x0($t8)
/* B052C 80119E2C 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B0530 80119E30 AC620000 */  sw        $v0, 0x0($v1)
/* B0534 80119E34 AC600004 */  sw        $zero, 0x4($v1)
/* B0538 80119E38 8F020000 */  lw        $v0, 0x0($t8)
/* B053C 80119E3C 0320202D */  daddu     $a0, $t9, $zero
/* B0540 80119E40 0040302D */  daddu     $a2, $v0, $zero
/* B0544 80119E44 24420008 */  addiu     $v0, $v0, 0x8
/* B0548 80119E48 AF020000 */  sw        $v0, 0x0($t8)
/* B054C 80119E4C 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* B0550 80119E50 07210002 */  bgez      $t9, .L80119E5C
/* B0554 80119E54 ACC20000 */   sw       $v0, 0x0($a2)
/* B0558 80119E58 27240003 */  addiu     $a0, $t9, 0x3
.L80119E5C:
/* B055C 80119E5C 00042883 */  sra       $a1, $a0, 2
/* B0560 80119E60 18A00002 */  blez      $a1, .L80119E6C
/* B0564 80119E64 24030800 */   addiu    $v1, $zero, 0x800
/* B0568 80119E68 24A307FF */  addiu     $v1, $a1, 0x7FF
.L80119E6C:
/* B056C 80119E6C 03320018 */  mult      $t9, $s2
/* B0570 80119E70 00008012 */  mflo      $s0
/* B0574 80119E74 2604FFFF */  addiu     $a0, $s0, -0x1
/* B0578 80119E78 28820800 */  slti      $v0, $a0, 0x800
/* B057C 80119E7C 50400001 */  beql      $v0, $zero, .L80119E84
/* B0580 80119E80 240407FF */   addiu    $a0, $zero, 0x7FF
.L80119E84:
/* B0584 80119E84 30820FFF */  andi      $v0, $a0, 0xFFF
/* B0588 80119E88 00021300 */  sll       $v0, $v0, 12
/* B058C 80119E8C 18A0000D */  blez      $a1, .L80119EC4
/* B0590 80119E90 00472025 */   or       $a0, $v0, $a3
/* B0594 80119E94 14A00002 */  bnez      $a1, .L80119EA0
/* B0598 80119E98 0065001A */   div      $zero, $v1, $a1
/* B059C 80119E9C 0007000D */  break     7
.L80119EA0:
/* B05A0 80119EA0 2401FFFF */  addiu     $at, $zero, -0x1
/* B05A4 80119EA4 14A10004 */  bne       $a1, $at, .L80119EB8
/* B05A8 80119EA8 3C018000 */   lui      $at, (0x80000000 >> 16)
/* B05AC 80119EAC 14610002 */  bne       $v1, $at, .L80119EB8
/* B05B0 80119EB0 00000000 */   nop
/* B05B4 80119EB4 0006000D */  break     6
.L80119EB8:
/* B05B8 80119EB8 00001012 */  mflo      $v0
/* B05BC 80119EBC 080467B2 */  j         .L80119EC8
/* B05C0 80119EC0 30420FFF */   andi     $v0, $v0, 0xFFF
.L80119EC4:
/* B05C4 80119EC4 30620FFF */  andi      $v0, $v1, 0xFFF
.L80119EC8:
/* B05C8 80119EC8 00821025 */  or        $v0, $a0, $v0
/* B05CC 80119ECC ACC20004 */  sw        $v0, 0x4($a2)
/* B05D0 80119ED0 31080007 */  andi      $t0, $t0, 0x7
/* B05D4 80119ED4 00084540 */  sll       $t0, $t0, 21
/* B05D8 80119ED8 32E40003 */  andi      $a0, $s7, 0x3
/* B05DC 80119EDC 00042480 */  sll       $a0, $a0, 18
/* B05E0 80119EE0 312A0003 */  andi      $t2, $t1, 0x3
/* B05E4 80119EE4 000A5200 */  sll       $t2, $t2, 8
/* B05E8 80119EE8 3C0DF200 */  lui       $t5, (0xF2000000 >> 16)
/* B05EC 80119EEC 00124843 */  sra       $t1, $s2, 1
/* B05F0 80119EF0 2526FFFF */  addiu     $a2, $t1, -0x1
/* B05F4 80119EF4 00063080 */  sll       $a2, $a2, 2
/* B05F8 80119EF8 8F020000 */  lw        $v0, 0x0($t8)
/* B05FC 80119EFC 03290018 */  mult      $t9, $t1
/* B0600 80119F00 0040182D */  daddu     $v1, $v0, $zero
/* B0604 80119F04 24420008 */  addiu     $v0, $v0, 0x8
/* B0608 80119F08 AF020000 */  sw        $v0, 0x0($t8)
/* B060C 80119F0C 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B0610 80119F10 AC620000 */  sw        $v0, 0x0($v1)
/* B0614 80119F14 AC600004 */  sw        $zero, 0x4($v1)
/* B0618 80119F18 8F020000 */  lw        $v0, 0x0($t8)
/* B061C 80119F1C 08046826 */  j         .L8011A098
/* B0620 80119F20 3C03F510 */   lui      $v1, (0xF5100000 >> 16)
.L80119F24:
/* B0624 80119F24 31030007 */  andi      $v1, $t0, 0x7
/* B0628 80119F28 8F020000 */  lw        $v0, 0x0($t8)
/* B062C 80119F2C 00031D40 */  sll       $v1, $v1, 21
/* B0630 80119F30 0040202D */  daddu     $a0, $v0, $zero
/* B0634 80119F34 24420008 */  addiu     $v0, $v0, 0x8
/* B0638 80119F38 AF020000 */  sw        $v0, 0x0($t8)
/* B063C 80119F3C 3C02FD18 */  lui       $v0, (0xFD180000 >> 16)
/* B0640 80119F40 00621025 */  or        $v0, $v1, $v0
/* B0644 80119F44 AC820000 */  sw        $v0, 0x0($a0)
/* B0648 80119F48 AC9E0004 */  sw        $fp, 0x4($a0)
/* B064C 80119F4C 8F020000 */  lw        $v0, 0x0($t8)
/* B0650 80119F50 3C070700 */  lui       $a3, (0x7000000 >> 16)
/* B0654 80119F54 0040202D */  daddu     $a0, $v0, $zero
/* B0658 80119F58 24420008 */  addiu     $v0, $v0, 0x8
/* B065C 80119F5C AF020000 */  sw        $v0, 0x0($t8)
/* B0660 80119F60 3C02F518 */  lui       $v0, (0xF5180000 >> 16)
/* B0664 80119F64 00621825 */  or        $v1, $v1, $v0
/* B0668 80119F68 AC830000 */  sw        $v1, 0x0($a0)
/* B066C 80119F6C 32E30003 */  andi      $v1, $s7, 0x3
/* B0670 80119F70 00031C80 */  sll       $v1, $v1, 18
/* B0674 80119F74 8FB40044 */  lw        $s4, 0x44($sp)
/* B0678 80119F78 8FB50048 */  lw        $s5, 0x48($sp)
/* B067C 80119F7C 00141380 */  sll       $v0, $s4, 14
/* B0680 80119F80 00471025 */  or        $v0, $v0, $a3
/* B0684 80119F84 00621825 */  or        $v1, $v1, $v0
/* B0688 80119F88 31220003 */  andi      $v0, $t1, 0x3
/* B068C 80119F8C 00021200 */  sll       $v0, $v0, 8
/* B0690 80119F90 00621825 */  or        $v1, $v1, $v0
/* B0694 80119F94 00151100 */  sll       $v0, $s5, 4
/* B0698 80119F98 00621825 */  or        $v1, $v1, $v0
/* B069C 80119F9C AC830004 */  sw        $v1, 0x4($a0)
/* B06A0 80119FA0 8F020000 */  lw        $v0, 0x0($t8)
/* B06A4 80119FA4 00192842 */  srl       $a1, $t9, 1
/* B06A8 80119FA8 0040182D */  daddu     $v1, $v0, $zero
/* B06AC 80119FAC 24420008 */  addiu     $v0, $v0, 0x8
/* B06B0 80119FB0 AF020000 */  sw        $v0, 0x0($t8)
/* B06B4 80119FB4 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B06B8 80119FB8 AC620000 */  sw        $v0, 0x0($v1)
/* B06BC 80119FBC AC600004 */  sw        $zero, 0x4($v1)
/* B06C0 80119FC0 8F020000 */  lw        $v0, 0x0($t8)
/* B06C4 80119FC4 24030800 */  addiu     $v1, $zero, 0x800
/* B06C8 80119FC8 0040302D */  daddu     $a2, $v0, $zero
/* B06CC 80119FCC 24420008 */  addiu     $v0, $v0, 0x8
/* B06D0 80119FD0 AF020000 */  sw        $v0, 0x0($t8)
/* B06D4 80119FD4 3C02F300 */  lui       $v0, (0xF3000000 >> 16)
/* B06D8 80119FD8 18A00002 */  blez      $a1, .L80119FE4
/* B06DC 80119FDC ACC20000 */   sw       $v0, 0x0($a2)
/* B06E0 80119FE0 24A307FF */  addiu     $v1, $a1, 0x7FF
.L80119FE4:
/* B06E4 80119FE4 03320018 */  mult      $t9, $s2
/* B06E8 80119FE8 00008012 */  mflo      $s0
/* B06EC 80119FEC 2604FFFF */  addiu     $a0, $s0, -0x1
/* B06F0 80119FF0 28820800 */  slti      $v0, $a0, 0x800
/* B06F4 80119FF4 50400001 */  beql      $v0, $zero, .L80119FFC
/* B06F8 80119FF8 240407FF */   addiu    $a0, $zero, 0x7FF
.L80119FFC:
/* B06FC 80119FFC 30820FFF */  andi      $v0, $a0, 0xFFF
/* B0700 8011A000 00021300 */  sll       $v0, $v0, 12
/* B0704 8011A004 18A0000D */  blez      $a1, .L8011A03C
/* B0708 8011A008 00472025 */   or       $a0, $v0, $a3
/* B070C 8011A00C 14A00002 */  bnez      $a1, .L8011A018
/* B0710 8011A010 0065001A */   div      $zero, $v1, $a1
/* B0714 8011A014 0007000D */  break     7
.L8011A018:
/* B0718 8011A018 2401FFFF */  addiu     $at, $zero, -0x1
/* B071C 8011A01C 14A10004 */  bne       $a1, $at, .L8011A030
/* B0720 8011A020 3C018000 */   lui      $at, (0x80000000 >> 16)
/* B0724 8011A024 14610002 */  bne       $v1, $at, .L8011A030
/* B0728 8011A028 00000000 */   nop
/* B072C 8011A02C 0006000D */  break     6
.L8011A030:
/* B0730 8011A030 00001012 */  mflo      $v0
/* B0734 8011A034 08046810 */  j         .L8011A040
/* B0738 8011A038 30420FFF */   andi     $v0, $v0, 0xFFF
.L8011A03C:
/* B073C 8011A03C 30620FFF */  andi      $v0, $v1, 0xFFF
.L8011A040:
/* B0740 8011A040 00821025 */  or        $v0, $a0, $v0
/* B0744 8011A044 ACC20004 */  sw        $v0, 0x4($a2)
/* B0748 8011A048 31080007 */  andi      $t0, $t0, 0x7
/* B074C 8011A04C 00084540 */  sll       $t0, $t0, 21
/* B0750 8011A050 32E40003 */  andi      $a0, $s7, 0x3
/* B0754 8011A054 00042480 */  sll       $a0, $a0, 18
/* B0758 8011A058 312A0003 */  andi      $t2, $t1, 0x3
/* B075C 8011A05C 000A5200 */  sll       $t2, $t2, 8
/* B0760 8011A060 3C0DF200 */  lui       $t5, (0xF2000000 >> 16)
/* B0764 8011A064 00124843 */  sra       $t1, $s2, 1
/* B0768 8011A068 2526FFFF */  addiu     $a2, $t1, -0x1
/* B076C 8011A06C 00063080 */  sll       $a2, $a2, 2
/* B0770 8011A070 8F020000 */  lw        $v0, 0x0($t8)
/* B0774 8011A074 03290018 */  mult      $t9, $t1
/* B0778 8011A078 0040182D */  daddu     $v1, $v0, $zero
/* B077C 8011A07C 24420008 */  addiu     $v0, $v0, 0x8
/* B0780 8011A080 AF020000 */  sw        $v0, 0x0($t8)
/* B0784 8011A084 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B0788 8011A088 AC620000 */  sw        $v0, 0x0($v1)
/* B078C 8011A08C AC600004 */  sw        $zero, 0x4($v1)
/* B0790 8011A090 8F020000 */  lw        $v0, 0x0($t8)
/* B0794 8011A094 3C03F518 */  lui       $v1, (0xF5180000 >> 16)
.L8011A098:
/* B0798 8011A098 0040282D */  daddu     $a1, $v0, $zero
/* B079C 8011A09C 24420008 */  addiu     $v0, $v0, 0x8
/* B07A0 8011A0A0 AF020000 */  sw        $v0, 0x0($t8)
/* B07A4 8011A0A4 00191040 */  sll       $v0, $t9, 1
/* B07A8 8011A0A8 24420007 */  addiu     $v0, $v0, 0x7
/* B07AC 8011A0AC 000210C3 */  sra       $v0, $v0, 3
/* B07B0 8011A0B0 304201FF */  andi      $v0, $v0, 0x1FF
/* B07B4 8011A0B4 00021240 */  sll       $v0, $v0, 9
/* B07B8 8011A0B8 00431025 */  or        $v0, $v0, $v1
/* B07BC 8011A0BC 01024025 */  or        $t0, $t0, $v0
/* B07C0 8011A0C0 ACA80000 */  sw        $t0, 0x0($a1)
/* B07C4 8011A0C4 8FB00044 */  lw        $s0, 0x44($sp)
/* B07C8 8011A0C8 8FB40048 */  lw        $s4, 0x48($sp)
/* B07CC 8011A0CC 2607FFFF */  addiu     $a3, $s0, -0x1
/* B07D0 8011A0D0 30E7000F */  andi      $a3, $a3, 0xF
/* B07D4 8011A0D4 00073B80 */  sll       $a3, $a3, 14
/* B07D8 8011A0D8 00871025 */  or        $v0, $a0, $a3
/* B07DC 8011A0DC 004A1025 */  or        $v0, $v0, $t2
/* B07E0 8011A0E0 00146100 */  sll       $t4, $s4, 4
/* B07E4 8011A0E4 004C1025 */  or        $v0, $v0, $t4
/* B07E8 8011A0E8 ACA20004 */  sw        $v0, 0x4($a1)
/* B07EC 8011A0EC 2725FFFF */  addiu     $a1, $t9, -0x1
/* B07F0 8011A0F0 00052880 */  sll       $a1, $a1, 2
/* B07F4 8011A0F4 30A30FFF */  andi      $v1, $a1, 0xFFF
/* B07F8 8011A0F8 8F020000 */  lw        $v0, 0x0($t8)
/* B07FC 8011A0FC 00031B00 */  sll       $v1, $v1, 12
/* B0800 8011A100 0040582D */  daddu     $t3, $v0, $zero
/* B0804 8011A104 24420008 */  addiu     $v0, $v0, 0x8
/* B0808 8011A108 AF020000 */  sw        $v0, 0x0($t8)
/* B080C 8011A10C 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B0810 8011A110 00621825 */  or        $v1, $v1, $v0
/* B0814 8011A114 AD6D0000 */  sw        $t5, 0x0($t3)
/* B0818 8011A118 AD630004 */  sw        $v1, 0x4($t3)
/* B081C 8011A11C 8F020000 */  lw        $v0, 0x0($t8)
/* B0820 8011A120 00008012 */  mflo      $s0
/* B0824 8011A124 0040182D */  daddu     $v1, $v0, $zero
/* B0828 8011A128 24420008 */  addiu     $v0, $v0, 0x8
/* B082C 8011A12C AF020000 */  sw        $v0, 0x0($t8)
/* B0830 8011A130 00101040 */  sll       $v0, $s0, 1
.L8011A134:
/* B0834 8011A134 24420007 */  addiu     $v0, $v0, 0x7
.L8011A138:
/* B0838 8011A138 000210C3 */  sra       $v0, $v0, 3
/* B083C 8011A13C 304201FF */  andi      $v0, $v0, 0x1FF
/* B0840 8011A140 01024025 */  or        $t0, $t0, $v0
/* B0844 8011A144 AC680000 */  sw        $t0, 0x0($v1)
/* B0848 8011A148 3C080100 */  lui       $t0, (0x1000000 >> 16)
/* B084C 8011A14C 00E83825 */  or        $a3, $a3, $t0
/* B0850 8011A150 00872025 */  or        $a0, $a0, $a3
/* B0854 8011A154 93B4000F */  lbu       $s4, 0xF($sp)
/* B0858 8011A158 93B50007 */  lbu       $s5, 0x7($sp)
/* B085C 8011A15C 3282000F */  andi      $v0, $s4, 0xF
/* B0860 8011A160 00021280 */  sll       $v0, $v0, 10
/* B0864 8011A164 00822025 */  or        $a0, $a0, $v0
/* B0868 8011A168 008A2025 */  or        $a0, $a0, $t2
/* B086C 8011A16C 008C2025 */  or        $a0, $a0, $t4
/* B0870 8011A170 32A2000F */  andi      $v0, $s5, 0xF
/* B0874 8011A174 00822025 */  or        $a0, $a0, $v0
/* B0878 8011A178 AC640004 */  sw        $a0, 0x4($v1)
/* B087C 8011A17C 8F020000 */  lw        $v0, 0x0($t8)
/* B0880 8011A180 0040202D */  daddu     $a0, $v0, $zero
/* B0884 8011A184 24420008 */  addiu     $v0, $v0, 0x8
/* B0888 8011A188 AF020000 */  sw        $v0, 0x0($t8)
/* B088C 8011A18C 97B60016 */  lhu       $s6, 0x16($sp)
/* B0890 8011A190 97B0001E */  lhu       $s0, 0x1E($sp)
/* B0894 8011A194 32C30FFF */  andi      $v1, $s6, 0xFFF
/* B0898 8011A198 00031B00 */  sll       $v1, $v1, 12
/* B089C 8011A19C 32020FFF */  andi      $v0, $s0, 0xFFF
/* B08A0 8011A1A0 004D1025 */  or        $v0, $v0, $t5
/* B08A4 8011A1A4 00621825 */  or        $v1, $v1, $v0
/* B08A8 8011A1A8 AC830000 */  sw        $v1, 0x0($a0)
/* B08AC 8011A1AC 97A20016 */  lhu       $v0, 0x16($sp)
/* B08B0 8011A1B0 00A22821 */  addu      $a1, $a1, $v0
/* B08B4 8011A1B4 30A50FFF */  andi      $a1, $a1, 0xFFF
/* B08B8 8011A1B8 97A2001E */  lhu       $v0, 0x1E($sp)
/* B08BC 8011A1BC 00052B00 */  sll       $a1, $a1, 12
/* B08C0 8011A1C0 00C23021 */  addu      $a2, $a2, $v0
/* B08C4 8011A1C4 30C60FFF */  andi      $a2, $a2, 0xFFF
/* B08C8 8011A1C8 00C83025 */  or        $a2, $a2, $t0
/* B08CC 8011A1CC 00A62825 */  or        $a1, $a1, $a2
/* B08D0 8011A1D0 08046B31 */  j         .L8011ACC4
/* B08D4 8011A1D4 AC850004 */   sw       $a1, 0x4($a0)
.L8011A1D8:
/* B08D8 8011A1D8 3C02D700 */  lui       $v0, (0xD7000002 >> 16)
/* B08DC 8011A1DC 34420002 */  ori       $v0, $v0, (0xD7000002 & 0xFFFF)
/* B08E0 8011A1E0 24830010 */  addiu     $v1, $a0, 0x10
/* B08E4 8011A1E4 AFA00038 */  sw        $zero, 0x38($sp)
/* B08E8 8011A1E8 AF030000 */  sw        $v1, 0x0($t8)
/* B08EC 8011A1EC AC820008 */  sw        $v0, 0x8($a0)
/* B08F0 8011A1F0 2402FFFF */  addiu     $v0, $zero, -0x1
/* B08F4 8011A1F4 10A60070 */  beq       $a1, $a2, .L8011A3B8
/* B08F8 8011A1F8 AC82000C */   sw       $v0, 0xC($a0)
/* B08FC 8011A1FC 28A20002 */  slti      $v0, $a1, 0x2
/* B0900 8011A200 10400005 */  beqz      $v0, .L8011A218
/* B0904 8011A204 00000000 */   nop
/* B0908 8011A208 10A00009 */  beqz      $a1, .L8011A230
/* B090C 8011A20C 31080007 */   andi     $t0, $t0, 0x7
/* B0910 8011A210 080469FD */  j         .L8011A7F4
/* B0914 8011A214 00000000 */   nop
.L8011A218:
/* B0918 8011A218 10A700BF */  beq       $a1, $a3, .L8011A518
/* B091C 8011A21C 31080007 */   andi     $t0, $t0, 0x7
/* B0920 8011A220 10AB0118 */  beq       $a1, $t3, .L8011A684
/* B0924 8011A224 00084540 */   sll      $t0, $t0, 21
/* B0928 8011A228 080469FD */  j         .L8011A7F4
/* B092C 8011A22C 00000000 */   nop
.L8011A230:
/* B0930 8011A230 00084540 */  sll       $t0, $t0, 21
/* B0934 8011A234 00192843 */  sra       $a1, $t9, 1
/* B0938 8011A238 3C03FD08 */  lui       $v1, (0xFD080000 >> 16)
/* B093C 8011A23C 3C060700 */  lui       $a2, (0x7000000 >> 16)
/* B0940 8011A240 31290003 */  andi      $t1, $t1, 0x3
/* B0944 8011A244 00094A00 */  sll       $t1, $t1, 8
/* B0948 8011A248 2647FFFF */  addiu     $a3, $s2, -0x1
/* B094C 8011A24C 00073880 */  sll       $a3, $a3, 2
/* B0950 8011A250 30E70FFF */  andi      $a3, $a3, 0xFFF
/* B0954 8011A254 8F020000 */  lw        $v0, 0x0($t8)
/* B0958 8011A258 03320018 */  mult      $t9, $s2
/* B095C 8011A25C 0040202D */  daddu     $a0, $v0, $zero
/* B0960 8011A260 24420008 */  addiu     $v0, $v0, 0x8
/* B0964 8011A264 AF020000 */  sw        $v0, 0x0($t8)
/* B0968 8011A268 24A2FFFF */  addiu     $v0, $a1, -0x1
/* B096C 8011A26C 30420FFF */  andi      $v0, $v0, 0xFFF
/* B0970 8011A270 00431025 */  or        $v0, $v0, $v1
/* B0974 8011A274 01021025 */  or        $v0, $t0, $v0
/* B0978 8011A278 24A50007 */  addiu     $a1, $a1, 0x7
/* B097C 8011A27C 000528C3 */  sra       $a1, $a1, 3
/* B0980 8011A280 30A501FF */  andi      $a1, $a1, 0x1FF
/* B0984 8011A284 00052A40 */  sll       $a1, $a1, 9
/* B0988 8011A288 32E30003 */  andi      $v1, $s7, 0x3
/* B098C 8011A28C AC820000 */  sw        $v0, 0x0($a0)
/* B0990 8011A290 AC9E0004 */  sw        $fp, 0x4($a0)
/* B0994 8011A294 8F020000 */  lw        $v0, 0x0($t8)
/* B0998 8011A298 00031C80 */  sll       $v1, $v1, 18
/* B099C 8011A29C 0040202D */  daddu     $a0, $v0, $zero
/* B09A0 8011A2A0 24420008 */  addiu     $v0, $v0, 0x8
/* B09A4 8011A2A4 AF020000 */  sw        $v0, 0x0($t8)
/* B09A8 8011A2A8 3C02F508 */  lui       $v0, (0xF5080000 >> 16)
/* B09AC 8011A2AC 00A21025 */  or        $v0, $a1, $v0
/* B09B0 8011A2B0 01021025 */  or        $v0, $t0, $v0
/* B09B4 8011A2B4 AC820000 */  sw        $v0, 0x0($a0)
/* B09B8 8011A2B8 8FB40044 */  lw        $s4, 0x44($sp)
/* B09BC 8011A2BC 8FB50048 */  lw        $s5, 0x48($sp)
/* B09C0 8011A2C0 00146380 */  sll       $t4, $s4, 14
/* B09C4 8011A2C4 01861025 */  or        $v0, $t4, $a2
/* B09C8 8011A2C8 00621025 */  or        $v0, $v1, $v0
/* B09CC 8011A2CC 00491025 */  or        $v0, $v0, $t1
/* B09D0 8011A2D0 00155900 */  sll       $t3, $s5, 4
/* B09D4 8011A2D4 004B1025 */  or        $v0, $v0, $t3
/* B09D8 8011A2D8 00E63025 */  or        $a2, $a3, $a2
/* B09DC 8011A2DC 006C1825 */  or        $v1, $v1, $t4
/* B09E0 8011A2E0 00691825 */  or        $v1, $v1, $t1
/* B09E4 8011A2E4 AC820004 */  sw        $v0, 0x4($a0)
/* B09E8 8011A2E8 8F020000 */  lw        $v0, 0x0($t8)
/* B09EC 8011A2EC 006B1825 */  or        $v1, $v1, $t3
/* B09F0 8011A2F0 0040202D */  daddu     $a0, $v0, $zero
/* B09F4 8011A2F4 24420008 */  addiu     $v0, $v0, 0x8
/* B09F8 8011A2F8 AF020000 */  sw        $v0, 0x0($t8)
/* B09FC 8011A2FC 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B0A00 8011A300 AC820000 */  sw        $v0, 0x0($a0)
/* B0A04 8011A304 AC800004 */  sw        $zero, 0x4($a0)
/* B0A08 8011A308 2724FFFF */  addiu     $a0, $t9, -0x1
/* B0A0C 8011A30C 8F020000 */  lw        $v0, 0x0($t8)
/* B0A10 8011A310 00008012 */  mflo      $s0
/* B0A14 8011A314 0040502D */  daddu     $t2, $v0, $zero
/* B0A18 8011A318 24420008 */  addiu     $v0, $v0, 0x8
/* B0A1C 8011A31C AF020000 */  sw        $v0, 0x0($t8)
/* B0A20 8011A320 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* B0A24 8011A324 AD420000 */  sw        $v0, 0x0($t2)
/* B0A28 8011A328 00041040 */  sll       $v0, $a0, 1
/* B0A2C 8011A32C 30420FFF */  andi      $v0, $v0, 0xFFF
/* B0A30 8011A330 00021300 */  sll       $v0, $v0, 12
/* B0A34 8011A334 00461025 */  or        $v0, $v0, $a2
/* B0A38 8011A338 00042080 */  sll       $a0, $a0, 2
/* B0A3C 8011A33C 30840FFF */  andi      $a0, $a0, 0xFFF
/* B0A40 8011A340 AD420004 */  sw        $v0, 0x4($t2)
/* B0A44 8011A344 8F020000 */  lw        $v0, 0x0($t8)
/* B0A48 8011A348 00042300 */  sll       $a0, $a0, 12
/* B0A4C 8011A34C 0040302D */  daddu     $a2, $v0, $zero
/* B0A50 8011A350 24420008 */  addiu     $v0, $v0, 0x8
/* B0A54 8011A354 AF020000 */  sw        $v0, 0x0($t8)
/* B0A58 8011A358 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B0A5C 8011A35C ACC20000 */  sw        $v0, 0x0($a2)
/* B0A60 8011A360 ACC00004 */  sw        $zero, 0x4($a2)
/* B0A64 8011A364 8F020000 */  lw        $v0, 0x0($t8)
/* B0A68 8011A368 00872025 */  or        $a0, $a0, $a3
/* B0A6C 8011A36C 0040302D */  daddu     $a2, $v0, $zero
/* B0A70 8011A370 24420008 */  addiu     $v0, $v0, 0x8
/* B0A74 8011A374 AF020000 */  sw        $v0, 0x0($t8)
/* B0A78 8011A378 3C02F500 */  lui       $v0, (0xF5000000 >> 16)
/* B0A7C 8011A37C 00A22825 */  or        $a1, $a1, $v0
/* B0A80 8011A380 01054025 */  or        $t0, $t0, $a1
/* B0A84 8011A384 00101043 */  sra       $v0, $s0, 1
/* B0A88 8011A388 24420007 */  addiu     $v0, $v0, 0x7
/* B0A8C 8011A38C 000278C3 */  sra       $t7, $v0, 3
/* B0A90 8011A390 ACC80000 */  sw        $t0, 0x0($a2)
/* B0A94 8011A394 ACC30004 */  sw        $v1, 0x4($a2)
/* B0A98 8011A398 8F030000 */  lw        $v1, 0x0($t8)
/* B0A9C 8011A39C 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* B0AA0 8011A3A0 0060282D */  daddu     $a1, $v1, $zero
/* B0AA4 8011A3A4 24630008 */  addiu     $v1, $v1, 0x8
/* B0AA8 8011A3A8 AF030000 */  sw        $v1, 0x0($t8)
/* B0AAC 8011A3AC ACA20000 */  sw        $v0, 0x0($a1)
/* B0AB0 8011A3B0 080469FD */  j         .L8011A7F4
/* B0AB4 8011A3B4 ACA40004 */   sw       $a0, 0x4($a1)
.L8011A3B8:
/* B0AB8 8011A3B8 31080007 */  andi      $t0, $t0, 0x7
/* B0ABC 8011A3BC 00084540 */  sll       $t0, $t0, 21
/* B0AC0 8011A3C0 2726FFFF */  addiu     $a2, $t9, -0x1
/* B0AC4 8011A3C4 3C03FD08 */  lui       $v1, (0xFD080000 >> 16)
/* B0AC8 8011A3C8 3C050700 */  lui       $a1, (0x7000000 >> 16)
/* B0ACC 8011A3CC 31290003 */  andi      $t1, $t1, 0x3
/* B0AD0 8011A3D0 00094A00 */  sll       $t1, $t1, 8
/* B0AD4 8011A3D4 2647FFFF */  addiu     $a3, $s2, -0x1
/* B0AD8 8011A3D8 00073880 */  sll       $a3, $a3, 2
/* B0ADC 8011A3DC 30E70FFF */  andi      $a3, $a3, 0xFFF
/* B0AE0 8011A3E0 8F020000 */  lw        $v0, 0x0($t8)
/* B0AE4 8011A3E4 03320018 */  mult      $t9, $s2
/* B0AE8 8011A3E8 0040202D */  daddu     $a0, $v0, $zero
/* B0AEC 8011A3EC 24420008 */  addiu     $v0, $v0, 0x8
/* B0AF0 8011A3F0 AF020000 */  sw        $v0, 0x0($t8)
/* B0AF4 8011A3F4 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B0AF8 8011A3F8 00431025 */  or        $v0, $v0, $v1
/* B0AFC 8011A3FC 01021025 */  or        $v0, $t0, $v0
/* B0B00 8011A400 3C03F508 */  lui       $v1, (0xF5080000 >> 16)
/* B0B04 8011A404 00063080 */  sll       $a2, $a2, 2
/* B0B08 8011A408 30C60FFF */  andi      $a2, $a2, 0xFFF
/* B0B0C 8011A40C AC820000 */  sw        $v0, 0x0($a0)
/* B0B10 8011A410 AC9E0004 */  sw        $fp, 0x4($a0)
/* B0B14 8011A414 8F020000 */  lw        $v0, 0x0($t8)
/* B0B18 8011A418 00063300 */  sll       $a2, $a2, 12
/* B0B1C 8011A41C 0040202D */  daddu     $a0, $v0, $zero
/* B0B20 8011A420 24420008 */  addiu     $v0, $v0, 0x8
/* B0B24 8011A424 AF020000 */  sw        $v0, 0x0($t8)
/* B0B28 8011A428 27220007 */  addiu     $v0, $t9, 0x7
/* B0B2C 8011A42C 000210C3 */  sra       $v0, $v0, 3
/* B0B30 8011A430 304201FF */  andi      $v0, $v0, 0x1FF
/* B0B34 8011A434 00021240 */  sll       $v0, $v0, 9
/* B0B38 8011A438 00431025 */  or        $v0, $v0, $v1
/* B0B3C 8011A43C 01024025 */  or        $t0, $t0, $v0
/* B0B40 8011A440 32E30003 */  andi      $v1, $s7, 0x3
/* B0B44 8011A444 00031C80 */  sll       $v1, $v1, 18
/* B0B48 8011A448 AC880000 */  sw        $t0, 0x0($a0)
/* B0B4C 8011A44C 8FB40044 */  lw        $s4, 0x44($sp)
/* B0B50 8011A450 8FB50048 */  lw        $s5, 0x48($sp)
/* B0B54 8011A454 00145B80 */  sll       $t3, $s4, 14
/* B0B58 8011A458 01651025 */  or        $v0, $t3, $a1
/* B0B5C 8011A45C 00621025 */  or        $v0, $v1, $v0
/* B0B60 8011A460 00491025 */  or        $v0, $v0, $t1
/* B0B64 8011A464 00155100 */  sll       $t2, $s5, 4
/* B0B68 8011A468 004A1025 */  or        $v0, $v0, $t2
/* B0B6C 8011A46C 00E52825 */  or        $a1, $a3, $a1
/* B0B70 8011A470 00C52825 */  or        $a1, $a2, $a1
/* B0B74 8011A474 006B1825 */  or        $v1, $v1, $t3
/* B0B78 8011A478 AC820004 */  sw        $v0, 0x4($a0)
/* B0B7C 8011A47C 8F020000 */  lw        $v0, 0x0($t8)
/* B0B80 8011A480 00691825 */  or        $v1, $v1, $t1
/* B0B84 8011A484 0040202D */  daddu     $a0, $v0, $zero
/* B0B88 8011A488 24420008 */  addiu     $v0, $v0, 0x8
/* B0B8C 8011A48C AF020000 */  sw        $v0, 0x0($t8)
/* B0B90 8011A490 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B0B94 8011A494 AC820000 */  sw        $v0, 0x0($a0)
/* B0B98 8011A498 AC800004 */  sw        $zero, 0x4($a0)
/* B0B9C 8011A49C 8F020000 */  lw        $v0, 0x0($t8)
/* B0BA0 8011A4A0 006A1825 */  or        $v1, $v1, $t2
/* B0BA4 8011A4A4 0040202D */  daddu     $a0, $v0, $zero
/* B0BA8 8011A4A8 24420008 */  addiu     $v0, $v0, 0x8
/* B0BAC 8011A4AC AF020000 */  sw        $v0, 0x0($t8)
/* B0BB0 8011A4B0 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* B0BB4 8011A4B4 AC820000 */  sw        $v0, 0x0($a0)
/* B0BB8 8011A4B8 AC850004 */  sw        $a1, 0x4($a0)
/* B0BBC 8011A4BC 8F020000 */  lw        $v0, 0x0($t8)
/* B0BC0 8011A4C0 00C73025 */  or        $a2, $a2, $a3
/* B0BC4 8011A4C4 0040202D */  daddu     $a0, $v0, $zero
/* B0BC8 8011A4C8 24420008 */  addiu     $v0, $v0, 0x8
/* B0BCC 8011A4CC AF020000 */  sw        $v0, 0x0($t8)
/* B0BD0 8011A4D0 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B0BD4 8011A4D4 AC820000 */  sw        $v0, 0x0($a0)
/* B0BD8 8011A4D8 AC800004 */  sw        $zero, 0x4($a0)
/* B0BDC 8011A4DC 8F020000 */  lw        $v0, 0x0($t8)
/* B0BE0 8011A4E0 00008012 */  mflo      $s0
/* B0BE4 8011A4E4 0040202D */  daddu     $a0, $v0, $zero
/* B0BE8 8011A4E8 24420008 */  addiu     $v0, $v0, 0x8
/* B0BEC 8011A4EC AF020000 */  sw        $v0, 0x0($t8)
/* B0BF0 8011A4F0 AC830004 */  sw        $v1, 0x4($a0)
/* B0BF4 8011A4F4 26030007 */  addiu     $v1, $s0, 0x7
/* B0BF8 8011A4F8 AC880000 */  sw        $t0, 0x0($a0)
/* B0BFC 8011A4FC 8F020000 */  lw        $v0, 0x0($t8)
/* B0C00 8011A500 000378C3 */  sra       $t7, $v1, 3
/* B0C04 8011A504 0040182D */  daddu     $v1, $v0, $zero
/* B0C08 8011A508 24420008 */  addiu     $v0, $v0, 0x8
/* B0C0C 8011A50C AF020000 */  sw        $v0, 0x0($t8)
/* B0C10 8011A510 080469FB */  j         .L8011A7EC
/* B0C14 8011A514 3C02F200 */   lui      $v0, (0xF2000000 >> 16)
.L8011A518:
/* B0C18 8011A518 00084540 */  sll       $t0, $t0, 21
/* B0C1C 8011A51C 2726FFFF */  addiu     $a2, $t9, -0x1
/* B0C20 8011A520 3C03FD10 */  lui       $v1, (0xFD100000 >> 16)
/* B0C24 8011A524 3C050700 */  lui       $a1, (0x7000000 >> 16)
/* B0C28 8011A528 31290003 */  andi      $t1, $t1, 0x3
/* B0C2C 8011A52C 00094A00 */  sll       $t1, $t1, 8
/* B0C30 8011A530 2647FFFF */  addiu     $a3, $s2, -0x1
/* B0C34 8011A534 00073880 */  sll       $a3, $a3, 2
/* B0C38 8011A538 30E70FFF */  andi      $a3, $a3, 0xFFF
/* B0C3C 8011A53C 8F020000 */  lw        $v0, 0x0($t8)
/* B0C40 8011A540 03320018 */  mult      $t9, $s2
/* B0C44 8011A544 0040202D */  daddu     $a0, $v0, $zero
/* B0C48 8011A548 24420008 */  addiu     $v0, $v0, 0x8
/* B0C4C 8011A54C AF020000 */  sw        $v0, 0x0($t8)
/* B0C50 8011A550 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B0C54 8011A554 00431025 */  or        $v0, $v0, $v1
/* B0C58 8011A558 01021025 */  or        $v0, $t0, $v0
/* B0C5C 8011A55C 3C03F510 */  lui       $v1, (0xF5100000 >> 16)
/* B0C60 8011A560 00063080 */  sll       $a2, $a2, 2
/* B0C64 8011A564 30C60FFF */  andi      $a2, $a2, 0xFFF
/* B0C68 8011A568 AC820000 */  sw        $v0, 0x0($a0)
/* B0C6C 8011A56C AC9E0004 */  sw        $fp, 0x4($a0)
/* B0C70 8011A570 8F020000 */  lw        $v0, 0x0($t8)
/* B0C74 8011A574 00063300 */  sll       $a2, $a2, 12
/* B0C78 8011A578 0040202D */  daddu     $a0, $v0, $zero
/* B0C7C 8011A57C 24420008 */  addiu     $v0, $v0, 0x8
/* B0C80 8011A580 AF020000 */  sw        $v0, 0x0($t8)
/* B0C84 8011A584 00191040 */  sll       $v0, $t9, 1
/* B0C88 8011A588 24420007 */  addiu     $v0, $v0, 0x7
/* B0C8C 8011A58C 000210C3 */  sra       $v0, $v0, 3
/* B0C90 8011A590 304201FF */  andi      $v0, $v0, 0x1FF
/* B0C94 8011A594 00021240 */  sll       $v0, $v0, 9
/* B0C98 8011A598 00431025 */  or        $v0, $v0, $v1
/* B0C9C 8011A59C 01024025 */  or        $t0, $t0, $v0
/* B0CA0 8011A5A0 32E30003 */  andi      $v1, $s7, 0x3
/* B0CA4 8011A5A4 00031C80 */  sll       $v1, $v1, 18
/* B0CA8 8011A5A8 AC880000 */  sw        $t0, 0x0($a0)
/* B0CAC 8011A5AC 8FB40044 */  lw        $s4, 0x44($sp)
/* B0CB0 8011A5B0 8FB50048 */  lw        $s5, 0x48($sp)
/* B0CB4 8011A5B4 00145B80 */  sll       $t3, $s4, 14
/* B0CB8 8011A5B8 01651025 */  or        $v0, $t3, $a1
/* B0CBC 8011A5BC 00621025 */  or        $v0, $v1, $v0
/* B0CC0 8011A5C0 00491025 */  or        $v0, $v0, $t1
/* B0CC4 8011A5C4 00155100 */  sll       $t2, $s5, 4
/* B0CC8 8011A5C8 004A1025 */  or        $v0, $v0, $t2
/* B0CCC 8011A5CC 00E52825 */  or        $a1, $a3, $a1
/* B0CD0 8011A5D0 00C52825 */  or        $a1, $a2, $a1
/* B0CD4 8011A5D4 006B1825 */  or        $v1, $v1, $t3
/* B0CD8 8011A5D8 AC820004 */  sw        $v0, 0x4($a0)
/* B0CDC 8011A5DC 8F020000 */  lw        $v0, 0x0($t8)
/* B0CE0 8011A5E0 00691825 */  or        $v1, $v1, $t1
/* B0CE4 8011A5E4 0040202D */  daddu     $a0, $v0, $zero
/* B0CE8 8011A5E8 24420008 */  addiu     $v0, $v0, 0x8
/* B0CEC 8011A5EC AF020000 */  sw        $v0, 0x0($t8)
/* B0CF0 8011A5F0 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B0CF4 8011A5F4 AC820000 */  sw        $v0, 0x0($a0)
/* B0CF8 8011A5F8 AC800004 */  sw        $zero, 0x4($a0)
/* B0CFC 8011A5FC 8F020000 */  lw        $v0, 0x0($t8)
/* B0D00 8011A600 006A1825 */  or        $v1, $v1, $t2
/* B0D04 8011A604 0040202D */  daddu     $a0, $v0, $zero
/* B0D08 8011A608 24420008 */  addiu     $v0, $v0, 0x8
/* B0D0C 8011A60C AF020000 */  sw        $v0, 0x0($t8)
/* B0D10 8011A610 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* B0D14 8011A614 AC820000 */  sw        $v0, 0x0($a0)
/* B0D18 8011A618 AC850004 */  sw        $a1, 0x4($a0)
/* B0D1C 8011A61C 8F020000 */  lw        $v0, 0x0($t8)
/* B0D20 8011A620 00C73025 */  or        $a2, $a2, $a3
/* B0D24 8011A624 0040202D */  daddu     $a0, $v0, $zero
/* B0D28 8011A628 24420008 */  addiu     $v0, $v0, 0x8
/* B0D2C 8011A62C AF020000 */  sw        $v0, 0x0($t8)
/* B0D30 8011A630 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B0D34 8011A634 AC820000 */  sw        $v0, 0x0($a0)
/* B0D38 8011A638 AC800004 */  sw        $zero, 0x4($a0)
/* B0D3C 8011A63C 8F020000 */  lw        $v0, 0x0($t8)
/* B0D40 8011A640 00008012 */  mflo      $s0
/* B0D44 8011A644 0040202D */  daddu     $a0, $v0, $zero
/* B0D48 8011A648 24420008 */  addiu     $v0, $v0, 0x8
/* B0D4C 8011A64C AF020000 */  sw        $v0, 0x0($t8)
/* B0D50 8011A650 00101040 */  sll       $v0, $s0, 1
/* B0D54 8011A654 24420007 */  addiu     $v0, $v0, 0x7
/* B0D58 8011A658 000278C3 */  sra       $t7, $v0, 3
/* B0D5C 8011A65C AC880000 */  sw        $t0, 0x0($a0)
/* B0D60 8011A660 AC830004 */  sw        $v1, 0x4($a0)
/* B0D64 8011A664 8F030000 */  lw        $v1, 0x0($t8)
/* B0D68 8011A668 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* B0D6C 8011A66C 0060202D */  daddu     $a0, $v1, $zero
/* B0D70 8011A670 24630008 */  addiu     $v1, $v1, 0x8
/* B0D74 8011A674 AF030000 */  sw        $v1, 0x0($t8)
/* B0D78 8011A678 AC820000 */  sw        $v0, 0x0($a0)
/* B0D7C 8011A67C 080469FD */  j         .L8011A7F4
/* B0D80 8011A680 AC860004 */   sw       $a2, 0x4($a0)
.L8011A684:
/* B0D84 8011A684 2726FFFF */  addiu     $a2, $t9, -0x1
/* B0D88 8011A688 3C03FD18 */  lui       $v1, (0xFD180000 >> 16)
/* B0D8C 8011A68C 3C050700 */  lui       $a1, (0x7000000 >> 16)
/* B0D90 8011A690 31290003 */  andi      $t1, $t1, 0x3
/* B0D94 8011A694 00094A00 */  sll       $t1, $t1, 8
/* B0D98 8011A698 2647FFFF */  addiu     $a3, $s2, -0x1
/* B0D9C 8011A69C 00073880 */  sll       $a3, $a3, 2
/* B0DA0 8011A6A0 30E70FFF */  andi      $a3, $a3, 0xFFF
/* B0DA4 8011A6A4 8F020000 */  lw        $v0, 0x0($t8)
/* B0DA8 8011A6A8 03320018 */  mult      $t9, $s2
/* B0DAC 8011A6AC 0040202D */  daddu     $a0, $v0, $zero
/* B0DB0 8011A6B0 24420008 */  addiu     $v0, $v0, 0x8
/* B0DB4 8011A6B4 AF020000 */  sw        $v0, 0x0($t8)
/* B0DB8 8011A6B8 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B0DBC 8011A6BC 00431025 */  or        $v0, $v0, $v1
/* B0DC0 8011A6C0 01021025 */  or        $v0, $t0, $v0
/* B0DC4 8011A6C4 3C03F518 */  lui       $v1, (0xF5180000 >> 16)
/* B0DC8 8011A6C8 00063080 */  sll       $a2, $a2, 2
/* B0DCC 8011A6CC 30C60FFF */  andi      $a2, $a2, 0xFFF
/* B0DD0 8011A6D0 AC820000 */  sw        $v0, 0x0($a0)
/* B0DD4 8011A6D4 AC9E0004 */  sw        $fp, 0x4($a0)
/* B0DD8 8011A6D8 8F020000 */  lw        $v0, 0x0($t8)
/* B0DDC 8011A6DC 00063300 */  sll       $a2, $a2, 12
/* B0DE0 8011A6E0 0040202D */  daddu     $a0, $v0, $zero
/* B0DE4 8011A6E4 24420008 */  addiu     $v0, $v0, 0x8
/* B0DE8 8011A6E8 AF020000 */  sw        $v0, 0x0($t8)
/* B0DEC 8011A6EC 00191040 */  sll       $v0, $t9, 1
/* B0DF0 8011A6F0 24420007 */  addiu     $v0, $v0, 0x7
/* B0DF4 8011A6F4 000210C3 */  sra       $v0, $v0, 3
/* B0DF8 8011A6F8 304201FF */  andi      $v0, $v0, 0x1FF
/* B0DFC 8011A6FC 00021240 */  sll       $v0, $v0, 9
/* B0E00 8011A700 00431025 */  or        $v0, $v0, $v1
/* B0E04 8011A704 01024025 */  or        $t0, $t0, $v0
/* B0E08 8011A708 32E30003 */  andi      $v1, $s7, 0x3
/* B0E0C 8011A70C 00031C80 */  sll       $v1, $v1, 18
/* B0E10 8011A710 AC880000 */  sw        $t0, 0x0($a0)
/* B0E14 8011A714 8FB40044 */  lw        $s4, 0x44($sp)
/* B0E18 8011A718 8FB50048 */  lw        $s5, 0x48($sp)
/* B0E1C 8011A71C 00145B80 */  sll       $t3, $s4, 14
/* B0E20 8011A720 01651025 */  or        $v0, $t3, $a1
/* B0E24 8011A724 00621025 */  or        $v0, $v1, $v0
/* B0E28 8011A728 00491025 */  or        $v0, $v0, $t1
/* B0E2C 8011A72C 00155100 */  sll       $t2, $s5, 4
/* B0E30 8011A730 004A1025 */  or        $v0, $v0, $t2
/* B0E34 8011A734 00E52825 */  or        $a1, $a3, $a1
/* B0E38 8011A738 00C52825 */  or        $a1, $a2, $a1
/* B0E3C 8011A73C AC820004 */  sw        $v0, 0x4($a0)
/* B0E40 8011A740 8F020000 */  lw        $v0, 0x0($t8)
/* B0E44 8011A744 006B1825 */  or        $v1, $v1, $t3
/* B0E48 8011A748 0040202D */  daddu     $a0, $v0, $zero
/* B0E4C 8011A74C 24420008 */  addiu     $v0, $v0, 0x8
/* B0E50 8011A750 AF020000 */  sw        $v0, 0x0($t8)
/* B0E54 8011A754 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B0E58 8011A758 AC820000 */  sw        $v0, 0x0($a0)
/* B0E5C 8011A75C AC800004 */  sw        $zero, 0x4($a0)
/* B0E60 8011A760 8F020000 */  lw        $v0, 0x0($t8)
/* B0E64 8011A764 00691825 */  or        $v1, $v1, $t1
/* B0E68 8011A768 0040202D */  daddu     $a0, $v0, $zero
/* B0E6C 8011A76C 24420008 */  addiu     $v0, $v0, 0x8
/* B0E70 8011A770 AF020000 */  sw        $v0, 0x0($t8)
/* B0E74 8011A774 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* B0E78 8011A778 AC820000 */  sw        $v0, 0x0($a0)
/* B0E7C 8011A77C AC850004 */  sw        $a1, 0x4($a0)
/* B0E80 8011A780 8F020000 */  lw        $v0, 0x0($t8)
/* B0E84 8011A784 006A1825 */  or        $v1, $v1, $t2
/* B0E88 8011A788 0040202D */  daddu     $a0, $v0, $zero
/* B0E8C 8011A78C 24420008 */  addiu     $v0, $v0, 0x8
/* B0E90 8011A790 AF020000 */  sw        $v0, 0x0($t8)
/* B0E94 8011A794 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B0E98 8011A798 AC820000 */  sw        $v0, 0x0($a0)
/* B0E9C 8011A79C AC800004 */  sw        $zero, 0x4($a0)
/* B0EA0 8011A7A0 8F020000 */  lw        $v0, 0x0($t8)
/* B0EA4 8011A7A4 00C73025 */  or        $a2, $a2, $a3
/* B0EA8 8011A7A8 0040202D */  daddu     $a0, $v0, $zero
/* B0EAC 8011A7AC 24420008 */  addiu     $v0, $v0, 0x8
/* B0EB0 8011A7B0 AF020000 */  sw        $v0, 0x0($t8)
/* B0EB4 8011A7B4 00001012 */  mflo      $v0
/* B0EB8 8011A7B8 AC830004 */  sw        $v1, 0x4($a0)
/* B0EBC 8011A7BC 00021FC2 */  srl       $v1, $v0, 31
/* B0EC0 8011A7C0 00431021 */  addu      $v0, $v0, $v1
/* B0EC4 8011A7C4 00021043 */  sra       $v0, $v0, 1
/* B0EC8 8011A7C8 00021040 */  sll       $v0, $v0, 1
/* B0ECC 8011A7CC 24420007 */  addiu     $v0, $v0, 0x7
/* B0ED0 8011A7D0 000278C3 */  sra       $t7, $v0, 3
/* B0ED4 8011A7D4 AC880000 */  sw        $t0, 0x0($a0)
/* B0ED8 8011A7D8 8F040000 */  lw        $a0, 0x0($t8)
/* B0EDC 8011A7DC 3C02F200 */  lui       $v0, (0xF2000000 >> 16)
/* B0EE0 8011A7E0 0080182D */  daddu     $v1, $a0, $zero
/* B0EE4 8011A7E4 24840008 */  addiu     $a0, $a0, 0x8
/* B0EE8 8011A7E8 AF040000 */  sw        $a0, 0x0($t8)
.L8011A7EC:
/* B0EEC 8011A7EC AC620000 */  sw        $v0, 0x0($v1)
/* B0EF0 8011A7F0 AC660004 */  sw        $a2, 0x4($v1)
.L8011A7F4:
/* B0EF4 8011A7F4 8FB0004C */  lw        $s0, 0x4C($sp)
/* B0EF8 8011A7F8 24020001 */  addiu     $v0, $zero, 0x1
/* B0EFC 8011A7FC 1202008E */  beq       $s0, $v0, .L8011AA38
/* B0F00 8011A800 2666FFFF */   addiu    $a2, $s3, -0x1
/* B0F04 8011A804 2A020002 */  slti      $v0, $s0, 0x2
/* B0F08 8011A808 10400005 */  beqz      $v0, .L8011A820
/* B0F0C 8011A80C 24020002 */   addiu    $v0, $zero, 0x2
/* B0F10 8011A810 1200000A */  beqz      $s0, .L8011A83C
/* B0F14 8011A814 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* B0F18 8011A818 08046B32 */  j         .L8011ACC8
/* B0F1C 8011A81C 00000000 */   nop
.L8011A820:
/* B0F20 8011A820 8FB4004C */  lw        $s4, 0x4C($sp)
/* B0F24 8011A824 1282009C */  beq       $s4, $v0, .L8011AA98
/* B0F28 8011A828 24020003 */   addiu    $v0, $zero, 0x3
/* B0F2C 8011A82C 128200AF */  beq       $s4, $v0, .L8011AAEC
/* B0F30 8011A830 3C03E300 */   lui      $v1, (0xE3000C0F >> 16)
/* B0F34 8011A834 08046B32 */  j         .L8011ACC8
/* B0F38 8011A838 00000000 */   nop
.L8011A83C:
/* B0F3C 8011A83C 00132043 */  sra       $a0, $s3, 1
/* B0F40 8011A840 3C03FD08 */  lui       $v1, (0xFD080000 >> 16)
/* B0F44 8011A844 31EF01FF */  andi      $t7, $t7, 0x1FF
/* B0F48 8011A848 000E7380 */  sll       $t6, $t6, 14
/* B0F4C 8011A84C 8F020000 */  lw        $v0, 0x0($t8)
/* B0F50 8011A850 3C0C0700 */  lui       $t4, (0x7000000 >> 16)
/* B0F54 8011A854 0040282D */  daddu     $a1, $v0, $zero
/* B0F58 8011A858 24420008 */  addiu     $v0, $v0, 0x8
/* B0F5C 8011A85C AF020000 */  sw        $v0, 0x0($t8)
/* B0F60 8011A860 2482FFFF */  addiu     $v0, $a0, -0x1
/* B0F64 8011A864 30420FFF */  andi      $v0, $v0, 0xFFF
/* B0F68 8011A868 00431025 */  or        $v0, $v0, $v1
/* B0F6C 8011A86C 24840007 */  addiu     $a0, $a0, 0x7
/* B0F70 8011A870 8FB50020 */  lw        $s5, 0x20($sp)
/* B0F74 8011A874 000420C3 */  sra       $a0, $a0, 3
/* B0F78 8011A878 32A70007 */  andi      $a3, $s5, 0x7
/* B0F7C 8011A87C 00073D40 */  sll       $a3, $a3, 21
/* B0F80 8011A880 00E21025 */  or        $v0, $a3, $v0
/* B0F84 8011A884 ACA20000 */  sw        $v0, 0x0($a1)
/* B0F88 8011A888 8FB60088 */  lw        $s6, 0x88($sp)
/* B0F8C 8011A88C 308401FF */  andi      $a0, $a0, 0x1FF
/* B0F90 8011A890 ACB60004 */  sw        $s6, 0x4($a1)
/* B0F94 8011A894 8F020000 */  lw        $v0, 0x0($t8)
/* B0F98 8011A898 00042240 */  sll       $a0, $a0, 9
/* B0F9C 8011A89C 0040182D */  daddu     $v1, $v0, $zero
/* B0FA0 8011A8A0 24420008 */  addiu     $v0, $v0, 0x8
/* B0FA4 8011A8A4 AF020000 */  sw        $v0, 0x0($t8)
/* B0FA8 8011A8A8 3C02F508 */  lui       $v0, (0xF5080000 >> 16)
/* B0FAC 8011A8AC 00821025 */  or        $v0, $a0, $v0
/* B0FB0 8011A8B0 00E21025 */  or        $v0, $a3, $v0
/* B0FB4 8011A8B4 004F1025 */  or        $v0, $v0, $t7
/* B0FB8 8011A8B8 AC620000 */  sw        $v0, 0x0($v1)
/* B0FBC 8011A8BC 01CC1025 */  or        $v0, $t6, $t4
/* B0FC0 8011A8C0 AFAE004C */  sw        $t6, 0x4C($sp)
/* B0FC4 8011A8C4 000D7100 */  sll       $t6, $t5, 4
/* B0FC8 8011A8C8 8FB00028 */  lw        $s0, 0x28($sp)
/* B0FCC 8011A8CC 93B4000F */  lbu       $s4, 0xF($sp)
/* B0FD0 8011A8D0 8FB50024 */  lw        $s5, 0x24($sp)
/* B0FD4 8011A8D4 93B60007 */  lbu       $s6, 0x7($sp)
/* B0FD8 8011A8D8 32080003 */  andi      $t0, $s0, 0x3
/* B0FDC 8011A8DC 00084480 */  sll       $t0, $t0, 18
/* B0FE0 8011A8E0 01021025 */  or        $v0, $t0, $v0
/* B0FE4 8011A8E4 328B000F */  andi      $t3, $s4, 0xF
/* B0FE8 8011A8E8 000B5A80 */  sll       $t3, $t3, 10
/* B0FEC 8011A8EC 004B1025 */  or        $v0, $v0, $t3
/* B0FF0 8011A8F0 32AA0003 */  andi      $t2, $s5, 0x3
/* B0FF4 8011A8F4 000A5200 */  sll       $t2, $t2, 8
/* B0FF8 8011A8F8 004A1025 */  or        $v0, $v0, $t2
/* B0FFC 8011A8FC 004E1025 */  or        $v0, $v0, $t6
/* B1000 8011A900 32CD000F */  andi      $t5, $s6, 0xF
/* B1004 8011A904 004D1025 */  or        $v0, $v0, $t5
/* B1008 8011A908 AC620004 */  sw        $v0, 0x4($v1)
/* B100C 8011A90C 8F020000 */  lw        $v0, 0x0($t8)
/* B1010 8011A910 2665FFFF */  addiu     $a1, $s3, -0x1
/* B1014 8011A914 0040182D */  daddu     $v1, $v0, $zero
/* B1018 8011A918 24420008 */  addiu     $v0, $v0, 0x8
/* B101C 8011A91C AF020000 */  sw        $v0, 0x0($t8)
/* B1020 8011A920 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B1024 8011A924 AC620000 */  sw        $v0, 0x0($v1)
/* B1028 8011A928 AC600004 */  sw        $zero, 0x4($v1)
/* B102C 8011A92C 00051840 */  sll       $v1, $a1, 1
/* B1030 8011A930 30630FFF */  andi      $v1, $v1, 0xFFF
/* B1034 8011A934 8F020000 */  lw        $v0, 0x0($t8)
/* B1038 8011A938 00031B00 */  sll       $v1, $v1, 12
/* B103C 8011A93C 0040482D */  daddu     $t1, $v0, $zero
/* B1040 8011A940 24420008 */  addiu     $v0, $v0, 0x8
/* B1044 8011A944 AF020000 */  sw        $v0, 0x0($t8)
/* B1048 8011A948 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* B104C 8011A94C AD220000 */  sw        $v0, 0x0($t1)
/* B1050 8011A950 8FB00040 */  lw        $s0, 0x40($sp)
/* B1054 8011A954 00052880 */  sll       $a1, $a1, 2
/* B1058 8011A958 2606FFFF */  addiu     $a2, $s0, -0x1
/* B105C 8011A95C 00063080 */  sll       $a2, $a2, 2
/* B1060 8011A960 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B1064 8011A964 004C1025 */  or        $v0, $v0, $t4
/* B1068 8011A968 00621825 */  or        $v1, $v1, $v0
/* B106C 8011A96C AD230004 */  sw        $v1, 0x4($t1)
/* B1070 8011A970 8F020000 */  lw        $v0, 0x0($t8)
/* B1074 8011A974 3C0C0100 */  lui       $t4, (0x1000000 >> 16)
/* B1078 8011A978 0040182D */  daddu     $v1, $v0, $zero
/* B107C 8011A97C 24420008 */  addiu     $v0, $v0, 0x8
/* B1080 8011A980 AF020000 */  sw        $v0, 0x0($t8)
/* B1084 8011A984 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B1088 8011A988 AC620000 */  sw        $v0, 0x0($v1)
/* B108C 8011A98C AC600004 */  sw        $zero, 0x4($v1)
/* B1090 8011A990 8F020000 */  lw        $v0, 0x0($t8)
/* B1094 8011A994 010C4025 */  or        $t0, $t0, $t4
/* B1098 8011A998 0040182D */  daddu     $v1, $v0, $zero
/* B109C 8011A99C 24420008 */  addiu     $v0, $v0, 0x8
/* B10A0 8011A9A0 AF020000 */  sw        $v0, 0x0($t8)
/* B10A4 8011A9A4 3C02F500 */  lui       $v0, (0xF5000000 >> 16)
/* B10A8 8011A9A8 00822025 */  or        $a0, $a0, $v0
/* B10AC 8011A9AC 00E43825 */  or        $a3, $a3, $a0
/* B10B0 8011A9B0 00EF3825 */  or        $a3, $a3, $t7
/* B10B4 8011A9B4 AC670000 */  sw        $a3, 0x0($v1)
/* B10B8 8011A9B8 8FB40030 */  lw        $s4, 0x30($sp)
/* B10BC 8011A9BC 8FB5004C */  lw        $s5, 0x4C($sp)
/* B10C0 8011A9C0 00141500 */  sll       $v0, $s4, 20
/* B10C4 8011A9C4 00481025 */  or        $v0, $v0, $t0
/* B10C8 8011A9C8 00551025 */  or        $v0, $v0, $s5
/* B10CC 8011A9CC 004B1025 */  or        $v0, $v0, $t3
/* B10D0 8011A9D0 004A1025 */  or        $v0, $v0, $t2
/* B10D4 8011A9D4 004E1025 */  or        $v0, $v0, $t6
/* B10D8 8011A9D8 004D1025 */  or        $v0, $v0, $t5
/* B10DC 8011A9DC AC620004 */  sw        $v0, 0x4($v1)
/* B10E0 8011A9E0 8F020000 */  lw        $v0, 0x0($t8)
/* B10E4 8011A9E4 3C03F200 */  lui       $v1, (0xF2000000 >> 16)
/* B10E8 8011A9E8 0040482D */  daddu     $t1, $v0, $zero
/* B10EC 8011A9EC 24420008 */  addiu     $v0, $v0, 0x8
/* B10F0 8011A9F0 AF020000 */  sw        $v0, 0x0($t8)
/* B10F4 8011A9F4 97A70016 */  lhu       $a3, 0x16($sp)
/* B10F8 8011A9F8 97A8001E */  lhu       $t0, 0x1E($sp)
/* B10FC 8011A9FC 30E40FFF */  andi      $a0, $a3, 0xFFF
/* B1100 8011AA00 00042300 */  sll       $a0, $a0, 12
/* B1104 8011AA04 31020FFF */  andi      $v0, $t0, 0xFFF
/* B1108 8011AA08 00431025 */  or        $v0, $v0, $v1
/* B110C 8011AA0C 00822025 */  or        $a0, $a0, $v0
/* B1110 8011AA10 00A72821 */  addu      $a1, $a1, $a3
/* B1114 8011AA14 30A50FFF */  andi      $a1, $a1, 0xFFF
/* B1118 8011AA18 00052B00 */  sll       $a1, $a1, 12
/* B111C 8011AA1C 00C83021 */  addu      $a2, $a2, $t0
/* B1120 8011AA20 30C60FFF */  andi      $a2, $a2, 0xFFF
/* B1124 8011AA24 00CC3025 */  or        $a2, $a2, $t4
/* B1128 8011AA28 00A62825 */  or        $a1, $a1, $a2
/* B112C 8011AA2C AD240000 */  sw        $a0, 0x0($t1)
/* B1130 8011AA30 08046B31 */  j         .L8011ACC4
/* B1134 8011AA34 AD250004 */   sw       $a1, 0x4($t1)
.L8011AA38:
/* B1138 8011AA38 3C03FD08 */  lui       $v1, (0xFD080000 >> 16)
/* B113C 8011AA3C 000E7380 */  sll       $t6, $t6, 14
/* B1140 8011AA40 8F020000 */  lw        $v0, 0x0($t8)
/* B1144 8011AA44 3C0B0700 */  lui       $t3, (0x7000000 >> 16)
/* B1148 8011AA48 0040282D */  daddu     $a1, $v0, $zero
/* B114C 8011AA4C 24420008 */  addiu     $v0, $v0, 0x8
/* B1150 8011AA50 AF020000 */  sw        $v0, 0x0($t8)
/* B1154 8011AA54 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B1158 8011AA58 8FB60020 */  lw        $s6, 0x20($sp)
/* B115C 8011AA5C 00431025 */  or        $v0, $v0, $v1
/* B1160 8011AA60 32C40007 */  andi      $a0, $s6, 0x7
/* B1164 8011AA64 00042540 */  sll       $a0, $a0, 21
/* B1168 8011AA68 00821025 */  or        $v0, $a0, $v0
/* B116C 8011AA6C ACA20000 */  sw        $v0, 0x0($a1)
/* B1170 8011AA70 8FB00088 */  lw        $s0, 0x88($sp)
/* B1174 8011AA74 000D6900 */  sll       $t5, $t5, 4
/* B1178 8011AA78 ACB00004 */  sw        $s0, 0x4($a1)
/* B117C 8011AA7C 8F020000 */  lw        $v0, 0x0($t8)
/* B1180 8011AA80 3C03F508 */  lui       $v1, (0xF5080000 >> 16)
/* B1184 8011AA84 0040282D */  daddu     $a1, $v0, $zero
/* B1188 8011AA88 24420008 */  addiu     $v0, $v0, 0x8
/* B118C 8011AA8C AF020000 */  sw        $v0, 0x0($t8)
/* B1190 8011AA90 08046AD4 */  j         .L8011AB50
/* B1194 8011AA94 26620007 */   addiu    $v0, $s3, 0x7
.L8011AA98:
/* B1198 8011AA98 2666FFFF */  addiu     $a2, $s3, -0x1
/* B119C 8011AA9C 3C03FD10 */  lui       $v1, (0xFD100000 >> 16)
/* B11A0 8011AAA0 000E7380 */  sll       $t6, $t6, 14
/* B11A4 8011AAA4 8F020000 */  lw        $v0, 0x0($t8)
/* B11A8 8011AAA8 3C0B0700 */  lui       $t3, (0x7000000 >> 16)
/* B11AC 8011AAAC 0040282D */  daddu     $a1, $v0, $zero
/* B11B0 8011AAB0 24420008 */  addiu     $v0, $v0, 0x8
glabel func_8011AAB4
/* B11B4 8011AAB4 AF020000 */  sw        $v0, 0x0($t8)
/* B11B8 8011AAB8 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B11BC 8011AABC 8FB60020 */  lw        $s6, 0x20($sp)
/* B11C0 8011AAC0 00431025 */  or        $v0, $v0, $v1
/* B11C4 8011AAC4 32C40007 */  andi      $a0, $s6, 0x7
/* B11C8 8011AAC8 00042540 */  sll       $a0, $a0, 21
/* B11CC 8011AACC 00821025 */  or        $v0, $a0, $v0
/* B11D0 8011AAD0 ACA20000 */  sw        $v0, 0x0($a1)
/* B11D4 8011AAD4 8FB00088 */  lw        $s0, 0x88($sp)
/* B11D8 8011AAD8 000D6900 */  sll       $t5, $t5, 4
/* B11DC 8011AADC ACB00004 */  sw        $s0, 0x4($a1)
/* B11E0 8011AAE0 8F020000 */  lw        $v0, 0x0($t8)
/* B11E4 8011AAE4 08046ACF */  j         .L8011AB3C
/* B11E8 8011AAE8 3C03F510 */   lui      $v1, (0xF5100000 >> 16)
.L8011AAEC:
/* B11EC 8011AAEC 2666FFFF */  addiu     $a2, $s3, -0x1
/* B11F0 8011AAF0 3C03FD18 */  lui       $v1, (0xFD180000 >> 16)
/* B11F4 8011AAF4 000E7380 */  sll       $t6, $t6, 14
/* B11F8 8011AAF8 8F020000 */  lw        $v0, 0x0($t8)
/* B11FC 8011AAFC 3C0B0700 */  lui       $t3, (0x7000000 >> 16)
/* B1200 8011AB00 0040282D */  daddu     $a1, $v0, $zero
/* B1204 8011AB04 24420008 */  addiu     $v0, $v0, 0x8
/* B1208 8011AB08 AF020000 */  sw        $v0, 0x0($t8)
/* B120C 8011AB0C 30C20FFF */  andi      $v0, $a2, 0xFFF
/* B1210 8011AB10 8FB60020 */  lw        $s6, 0x20($sp)
/* B1214 8011AB14 00431025 */  or        $v0, $v0, $v1
/* B1218 8011AB18 32C40007 */  andi      $a0, $s6, 0x7
/* B121C 8011AB1C 00042540 */  sll       $a0, $a0, 21
/* B1220 8011AB20 00821025 */  or        $v0, $a0, $v0
/* B1224 8011AB24 ACA20000 */  sw        $v0, 0x0($a1)
/* B1228 8011AB28 8FB00088 */  lw        $s0, 0x88($sp)
/* B122C 8011AB2C 000D6900 */  sll       $t5, $t5, 4
/* B1230 8011AB30 ACB00004 */  sw        $s0, 0x4($a1)
/* B1234 8011AB34 8F020000 */  lw        $v0, 0x0($t8)
/* B1238 8011AB38 3C03F518 */  lui       $v1, (0xF5180000 >> 16)
.L8011AB3C:
/* B123C 8011AB3C 0040282D */  daddu     $a1, $v0, $zero
/* B1240 8011AB40 24420008 */  addiu     $v0, $v0, 0x8
/* B1244 8011AB44 AF020000 */  sw        $v0, 0x0($t8)
/* B1248 8011AB48 00131040 */  sll       $v0, $s3, 1
/* B124C 8011AB4C 24420007 */  addiu     $v0, $v0, 0x7
.L8011AB50:
/* B1250 8011AB50 000210C3 */  sra       $v0, $v0, 3
/* B1254 8011AB54 304201FF */  andi      $v0, $v0, 0x1FF
/* B1258 8011AB58 00021240 */  sll       $v0, $v0, 9
/* B125C 8011AB5C 00431025 */  or        $v0, $v0, $v1
/* B1260 8011AB60 00822025 */  or        $a0, $a0, $v0
/* B1264 8011AB64 31E201FF */  andi      $v0, $t7, 0x1FF
/* B1268 8011AB68 00822025 */  or        $a0, $a0, $v0
/* B126C 8011AB6C 01CB1025 */  or        $v0, $t6, $t3
/* B1270 8011AB70 ACA40000 */  sw        $a0, 0x0($a1)
/* B1274 8011AB74 8FB40028 */  lw        $s4, 0x28($sp)
/* B1278 8011AB78 93B5000F */  lbu       $s5, 0xF($sp)
/* B127C 8011AB7C 8FB60024 */  lw        $s6, 0x24($sp)
/* B1280 8011AB80 93B00007 */  lbu       $s0, 0x7($sp)
/* B1284 8011AB84 32870003 */  andi      $a3, $s4, 0x3
/* B1288 8011AB88 00073C80 */  sll       $a3, $a3, 18
/* B128C 8011AB8C 00E21025 */  or        $v0, $a3, $v0
/* B1290 8011AB90 32AA000F */  andi      $t2, $s5, 0xF
/* B1294 8011AB94 000A5280 */  sll       $t2, $t2, 10
/* B1298 8011AB98 004A1025 */  or        $v0, $v0, $t2
/* B129C 8011AB9C 32C90003 */  andi      $t1, $s6, 0x3
/* B12A0 8011ABA0 00094A00 */  sll       $t1, $t1, 8
/* B12A4 8011ABA4 00491025 */  or        $v0, $v0, $t1
/* B12A8 8011ABA8 004D1025 */  or        $v0, $v0, $t5
/* B12AC 8011ABAC 320C000F */  andi      $t4, $s0, 0xF
/* B12B0 8011ABB0 004C1025 */  or        $v0, $v0, $t4
/* B12B4 8011ABB4 ACA20004 */  sw        $v0, 0x4($a1)
/* B12B8 8011ABB8 8F020000 */  lw        $v0, 0x0($t8)
/* B12BC 8011ABBC 00063080 */  sll       $a2, $a2, 2
/* B12C0 8011ABC0 0040182D */  daddu     $v1, $v0, $zero
/* B12C4 8011ABC4 24420008 */  addiu     $v0, $v0, 0x8
/* B12C8 8011ABC8 AF020000 */  sw        $v0, 0x0($t8)
/* B12CC 8011ABCC 3C02E600 */  lui       $v0, (0xE6000000 >> 16)
/* B12D0 8011ABD0 AC620000 */  sw        $v0, 0x0($v1)
/* B12D4 8011ABD4 AC600004 */  sw        $zero, 0x4($v1)
/* B12D8 8011ABD8 8F020000 */  lw        $v0, 0x0($t8)
/* B12DC 8011ABDC 30C30FFF */  andi      $v1, $a2, 0xFFF
/* B12E0 8011ABE0 0040402D */  daddu     $t0, $v0, $zero
/* B12E4 8011ABE4 24420008 */  addiu     $v0, $v0, 0x8
/* B12E8 8011ABE8 AF020000 */  sw        $v0, 0x0($t8)
/* B12EC 8011ABEC 3C02F400 */  lui       $v0, (0xF4000000 >> 16)
/* B12F0 8011ABF0 AD020000 */  sw        $v0, 0x0($t0)
/* B12F4 8011ABF4 8FB40040 */  lw        $s4, 0x40($sp)
/* B12F8 8011ABF8 00031B00 */  sll       $v1, $v1, 12
/* B12FC 8011ABFC 2685FFFF */  addiu     $a1, $s4, -0x1
/* B1300 8011AC00 00052880 */  sll       $a1, $a1, 2
/* B1304 8011AC04 30A20FFF */  andi      $v0, $a1, 0xFFF
/* B1308 8011AC08 004B1025 */  or        $v0, $v0, $t3
/* B130C 8011AC0C 00621825 */  or        $v1, $v1, $v0
/* B1310 8011AC10 AD030004 */  sw        $v1, 0x4($t0)
/* B1314 8011AC14 8F020000 */  lw        $v0, 0x0($t8)
/* B1318 8011AC18 0040182D */  daddu     $v1, $v0, $zero
/* B131C 8011AC1C 24420008 */  addiu     $v0, $v0, 0x8
/* B1320 8011AC20 AF020000 */  sw        $v0, 0x0($t8)
/* B1324 8011AC24 3C02E700 */  lui       $v0, (0xE7000000 >> 16)
/* B1328 8011AC28 AC620000 */  sw        $v0, 0x0($v1)
/* B132C 8011AC2C AC600004 */  sw        $zero, 0x4($v1)
/* B1330 8011AC30 8F020000 */  lw        $v0, 0x0($t8)
/* B1334 8011AC34 3C0B0100 */  lui       $t3, (0x1000000 >> 16)
/* B1338 8011AC38 0040182D */  daddu     $v1, $v0, $zero
/* B133C 8011AC3C 24420008 */  addiu     $v0, $v0, 0x8
/* B1340 8011AC40 AF020000 */  sw        $v0, 0x0($t8)
/* B1344 8011AC44 AC640000 */  sw        $a0, 0x0($v1)
/* B1348 8011AC48 8FB50030 */  lw        $s5, 0x30($sp)
/* B134C 8011AC4C 00EB3825 */  or        $a3, $a3, $t3
/* B1350 8011AC50 00151500 */  sll       $v0, $s5, 20
/* B1354 8011AC54 00471025 */  or        $v0, $v0, $a3
/* B1358 8011AC58 004E1025 */  or        $v0, $v0, $t6
/* B135C 8011AC5C 004A1025 */  or        $v0, $v0, $t2
/* B1360 8011AC60 00491025 */  or        $v0, $v0, $t1
/* B1364 8011AC64 004D1025 */  or        $v0, $v0, $t5
/* B1368 8011AC68 004C1025 */  or        $v0, $v0, $t4
/* B136C 8011AC6C AC620004 */  sw        $v0, 0x4($v1)
/* B1370 8011AC70 8F020000 */  lw        $v0, 0x0($t8)
/* B1374 8011AC74 3C03F200 */  lui       $v1, (0xF2000000 >> 16)
/* B1378 8011AC78 0040482D */  daddu     $t1, $v0, $zero
/* B137C 8011AC7C 24420008 */  addiu     $v0, $v0, 0x8
/* B1380 8011AC80 AF020000 */  sw        $v0, 0x0($t8)
/* B1384 8011AC84 97A70016 */  lhu       $a3, 0x16($sp)
/* B1388 8011AC88 97A8001E */  lhu       $t0, 0x1E($sp)
/* B138C 8011AC8C 30E40FFF */  andi      $a0, $a3, 0xFFF
/* B1390 8011AC90 00042300 */  sll       $a0, $a0, 12
/* B1394 8011AC94 31020FFF */  andi      $v0, $t0, 0xFFF
/* B1398 8011AC98 00431025 */  or        $v0, $v0, $v1
/* B139C 8011AC9C 00822025 */  or        $a0, $a0, $v0
/* B13A0 8011ACA0 00C73021 */  addu      $a2, $a2, $a3
/* B13A4 8011ACA4 30C60FFF */  andi      $a2, $a2, 0xFFF
/* B13A8 8011ACA8 00063300 */  sll       $a2, $a2, 12
/* B13AC 8011ACAC 00A82821 */  addu      $a1, $a1, $t0
/* B13B0 8011ACB0 30A50FFF */  andi      $a1, $a1, 0xFFF
/* B13B4 8011ACB4 00AB2825 */  or        $a1, $a1, $t3
/* B13B8 8011ACB8 00C53025 */  or        $a2, $a2, $a1
/* B13BC 8011ACBC AD240000 */  sw        $a0, 0x0($t1)
/* B13C0 8011ACC0 AD260004 */  sw        $a2, 0x4($t1)
.L8011ACC4:
/* B13C4 8011ACC4 3C03E300 */  lui       $v1, (0xE3000C0F >> 16)
.L8011ACC8:
/* B13C8 8011ACC8 8F020000 */  lw        $v0, 0x0($t8)
/* B13CC 8011ACCC 34630C0F */  ori       $v1, $v1, (0xE3000C0F & 0xFFFF)
/* B13D0 8011ACD0 0040202D */  daddu     $a0, $v0, $zero
/* B13D4 8011ACD4 24420008 */  addiu     $v0, $v0, 0x8
/* B13D8 8011ACD8 AF020000 */  sw        $v0, 0x0($t8)
/* B13DC 8011ACDC AC830000 */  sw        $v1, 0x0($a0)
/* B13E0 8011ACE0 3C030008 */  lui       $v1, (0x80000 >> 16)
/* B13E4 8011ACE4 8FB60034 */  lw        $s6, 0x34($sp)
/* B13E8 8011ACE8 8FB0002C */  lw        $s0, 0x2C($sp)
/* B13EC 8011ACEC 8FB40038 */  lw        $s4, 0x38($sp)
/* B13F0 8011ACF0 36C20C00 */  ori       $v0, $s6, 0xC00
/* B13F4 8011ACF4 02021025 */  or        $v0, $s0, $v0
/* B13F8 8011ACF8 00541025 */  or        $v0, $v0, $s4
/* B13FC 8011ACFC 00431025 */  or        $v0, $v0, $v1
/* B1400 8011AD00 AC820004 */  sw        $v0, 0x4($a0)
/* B1404 8011AD04 8FBE0070 */  lw        $fp, 0x70($sp)
/* B1408 8011AD08 8FB7006C */  lw        $s7, 0x6C($sp)
/* B140C 8011AD0C 8FB60068 */  lw        $s6, 0x68($sp)
/* B1410 8011AD10 8FB50064 */  lw        $s5, 0x64($sp)
/* B1414 8011AD14 8FB40060 */  lw        $s4, 0x60($sp)
/* B1418 8011AD18 8FB3005C */  lw        $s3, 0x5C($sp)
/* B141C 8011AD1C 8FB20058 */  lw        $s2, 0x58($sp)
/* B1420 8011AD20 8FB10054 */  lw        $s1, 0x54($sp)
/* B1424 8011AD24 8FB00050 */  lw        $s0, 0x50($sp)
/* B1428 8011AD28 03E00008 */  jr        $ra
/* B142C 8011AD2C 27BD0078 */   addiu    $sp, $sp, 0x78

### DECOMPILED C INSTRUCTIONS:

void func_801180E8(TextureHeader* header, Gfx** gfxPos, IMG_PTR raster, PAL_PTR palette, IMG_PTR auxRaster, PAL_PTR auxPalette, u8 arg6, u8 arg7, u16 arg8, u16 arg9) {
    s32 mainWidth, mainHeight;
    s32 auxWidth, auxHeight;
    s32 mainFmt;
    s32 auxFmt;
    s32 mainWrapW, mainWrapH;
    s32 auxWrapW, auxWrapH;
    s32 extraTileType;
    u32 renderType;
    s32 lod;
    s32 lodDivisor;
    IMG_PTR rasterPtr;
    s32 filteringMode;
    s32 auxPaletteIndex;
    s32 lutMode;
    s32 lodMode;
    s32 mainMasks, mainMaskt;
    s32 auxMasks, auxMaskt;
    s32 mainBitDepth;
    s32 auxBitDepth;
    s32 temp;

    mainWidth = header->mainW;
    mainHeight = header->mainH;

    lod = 0;
    auxPaletteIndex = 0;

    mainMasks = INTEGER_LOG2(mainWidth);
    mainMaskt = INTEGER_LOG2(mainHeight);

    mainWrapW = header->mainWrapW;
    mainWrapH = header->mainWrapH;

    mainFmt = header->mainFmt;
    mainBitDepth = header->mainBitDepth;

    extraTileType = header->extraTiles;
    filteringMode = header->filtering << G_MDSFT_TEXTFILT;

    auxWidth = header->auxW;
    auxHeight = header->auxH;

    auxMasks = INTEGER_LOG2(auxWidth);
    auxMaskt = INTEGER_LOG2(auxHeight);

    auxWrapW = header->auxWrapW;
    auxWrapH = header->auxWrapH;
    auxFmt = header->auxFmt;
    auxBitDepth = header->auxBitDepth;

    if (extraTileType == EXTRA_TILE_AUX_INDEPENDENT) {
        if (palette != NULL) {
            auxPaletteIndex = 1;
        } else {
            auxPaletteIndex = 0;
        }
    }

    if (palette != NULL || auxPalette != NULL) {
        lutMode = G_TT_RGBA16;
        if (palette != NULL) {
            if (mainBitDepth == G_IM_SIZ_4b) {
                gDPLoadTLUT_pal16((*gfxPos)++, 0, palette);
            } else if (mainBitDepth == G_IM_SIZ_8b) {
                gDPLoadTLUT_pal256((*gfxPos)++, palette);
            }
        }
        if (auxPalette != NULL) {
            if (auxBitDepth == G_IM_SIZ_4b) {
                gDPLoadTLUT_pal16((*gfxPos)++, auxPaletteIndex, auxPalette);
            } else if (auxBitDepth == G_IM_SIZ_8b) {
                gDPLoadTLUT_pal256((*gfxPos)++, auxPalette);
            }
        }
    } else {
        lutMode = G_TT_NONE;
    }

    renderType = header->colorCombineType;
    if (renderType >= 3) {
        renderType += 10;
    } else {
        renderType = header->extraTiles * 3 + 1 + header->colorCombineSubType;
    }

    **gfxPos = D_8014B0B8[renderType][0];
    (*gfxPos)++;

    switch (extraTileType) {
        case EXTRA_TILE_NONE:
            lodMode = G_TL_TILE;
            gSPTexture((*gfxPos)++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON);
            switch (mainBitDepth) {
                case G_IM_SIZ_4b:
                    gDPLoadTextureBlock_4b((*gfxPos)++, raster, mainFmt,
                                           mainWidth, mainHeight, 0,
                                           mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    break;
                case G_IM_SIZ_8b:
                    gDPLoadTextureBlock((*gfxPos)++, raster, mainFmt, G_IM_SIZ_8b,
                                        mainWidth, mainHeight, 0,
                                        mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    break;
                case G_IM_SIZ_16b:
                    gDPLoadTextureBlock((*gfxPos)++, raster, mainFmt, G_IM_SIZ_16b,
                                        mainWidth, mainHeight, 0,
                                        mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    break;
                case 3:
                    gDPLoadTextureBlock((*gfxPos)++, raster, mainFmt, G_IM_SIZ_32b,
                                        mainWidth, mainHeight, 0,
                                        mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    break;
            }
            break;
        case EXTRA_TILE_MIPMAPS:
            lodMode = G_TL_LOD;
            switch (mainBitDepth) {
                case G_IM_SIZ_4b:
                    for (rasterPtr = raster, lod = 0, lodDivisor = 1;
                         mainWidth / lodDivisor * 4 >= 64 && mainHeight / lodDivisor != 0;
                         rasterPtr += mainWidth / lodDivisor * mainHeight / lodDivisor / 2, lodDivisor *= 2, lod++)
                    {
                        gDPLoadMultiTile_4b((*gfxPos)++, rasterPtr, (u32)(rasterPtr - raster) >> 3, lod, mainFmt,
                                            mainWidth / lodDivisor, mainHeight / lodDivisor,
                                            0, 0, mainWidth / lodDivisor - 1, mainHeight / lodDivisor - 1, 0,
                                            mainWrapW, mainWrapH, mainMasks - lod, mainMaskt - lod, lod, lod);
                    }
                    break;
                case G_IM_SIZ_8b:
                    for (rasterPtr = raster, lod = 0, lodDivisor = 1;
                         mainWidth / lodDivisor * 8 >= 64 && mainHeight / lodDivisor != 0;
                         rasterPtr += mainWidth / lodDivisor * mainHeight / lodDivisor, lodDivisor *= 2, lod++)
                    {
                        gDPLoadMultiTile((*gfxPos)++, rasterPtr, ((u32)(rasterPtr - raster)) >> 3, lod, mainFmt, G_IM_SIZ_8b,
                                         mainWidth / lodDivisor, mainHeight / lodDivisor,
                                         0, 0, mainWidth / lodDivisor - 1, mainHeight / lodDivisor - 1, 0,
                                         mainWrapW, mainWrapH, mainMasks - lod, mainMaskt - lod, lod, lod);
                    }
                    break;
                case G_IM_SIZ_16b:
                    for (rasterPtr = raster, lod = 0, lodDivisor = 1;
                         mainWidth / lodDivisor * 16 >= 64 && mainHeight / lodDivisor != 0;
                         rasterPtr += mainWidth / lodDivisor * mainHeight / lodDivisor * 2, lodDivisor *= 2, lod++)
                    {
                        gDPLoadMultiTile((*gfxPos)++, rasterPtr, ((u32)(rasterPtr - raster)) >> 3, lod, mainFmt, G_IM_SIZ_16b,
                                         mainWidth / lodDivisor, mainHeight / lodDivisor,
                                         0, 0, mainWidth / lodDivisor - 1, mainHeight / lodDivisor - 1, 0,
                                         mainWrapW, mainWrapH, mainMasks - lod, mainMaskt - lod, lod, lod);
                    }
                    break;
                case G_IM_SIZ_32b:
                    for (rasterPtr = raster, lod = 0, lodDivisor = 1;
                         mainWidth / lodDivisor * 32 >= 64 && mainHeight / lodDivisor != 0;
                         rasterPtr += mainWidth / lodDivisor * mainHeight / lodDivisor * 4, lodDivisor *= 2, lod++)
                    {
                        gDPLoadMultiTile((*gfxPos)++, rasterPtr, ((u32)(rasterPtr - raster)) >> 4, lod, mainFmt, G_IM_SIZ_32b,
                                         mainWidth / lodDivisor, mainHeight / lodDivisor,
                                         0, 0, mainWidth / lodDivisor - 1, mainHeight / lodDivisor - 1, 0,
                                         mainWrapW, mainWrapH, mainMasks - lod, mainMaskt - lod, lod, lod);
                    }
                    break;
            }
            gSPTexture((*gfxPos)++, 0xFFFF, 0xFFFF, lod - 1, G_TX_RENDERTILE, G_ON);
            break;
        case EXTRA_TILE_AUX_SAME_AS_MAIN:
            gSPTexture((*gfxPos)++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON);
            gDPPipeSync((*gfxPos)++);
            lodMode = G_TL_TILE;
            switch (mainBitDepth) {
                case G_IM_SIZ_4b:
                    gDPScrollTextureBlockHalfHeight_4b((*gfxPos)++, raster, mainFmt, mainWidth, mainHeight, 0,
                                                       mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD,
                                                       arg8, arg9, arg6, arg7);
                    break;
                case G_IM_SIZ_8b:
                    gDPScrollTextureBlockHalfHeight((*gfxPos)++, raster, mainFmt, G_IM_SIZ_8b, mainWidth, mainHeight, 0,
                                                    mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD,
                                                    arg8, arg9, arg6, arg7);
                    break;
                case G_IM_SIZ_16b:
                    gDPScrollTextureBlockHalfHeight((*gfxPos)++, raster, mainFmt, G_IM_SIZ_16b, mainWidth, mainHeight, 0,
                                                    mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD,
                                                    arg8, arg9, arg6, arg7);
                    break;
                case G_IM_SIZ_32b:
                    gDPScrollTextureBlockHalfHeight((*gfxPos)++, raster, mainFmt, G_IM_SIZ_32b, mainWidth, mainHeight, 0,
                                                    mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD,
                                                    arg8, arg9, arg6, arg7);
                    break;
            }
            break;
        case EXTRA_TILE_AUX_INDEPENDENT:
            gSPTexture((*gfxPos)++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON);
            lodMode = G_TL_TILE;
            switch (mainBitDepth) {
                case G_IM_SIZ_4b:
                    gDPLoadTextureTile_4b((*gfxPos)++, raster, mainFmt, mainWidth, mainHeight,
                                          0, 0, mainWidth - 1, mainHeight - 1, 0,
                                          mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    lodDivisor = (((mainWidth * mainHeight) >> 1) + 7)>>3; // required to use lodDivisor here
                    break;
                case G_IM_SIZ_8b:
                    gDPLoadTextureTile((*gfxPos)++, raster, mainFmt, G_IM_SIZ_8b, mainWidth, mainHeight,
                                       0, 0, mainWidth - 1, mainHeight - 1, 0,
                                       mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    lodDivisor = ((mainWidth * mainHeight) + 7)>>3;
                    break;
                case G_IM_SIZ_16b:
                    gDPLoadTextureTile((*gfxPos)++, raster, mainFmt, G_IM_SIZ_16b, mainWidth, mainHeight,
                                       0, 0, mainWidth - 1, mainHeight - 1, 0,
                                       mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    lodDivisor = ((mainWidth * mainHeight) * 2 + 7)>>3;
                    break;
                case G_IM_SIZ_32b:
                    gDPLoadTextureTile((*gfxPos)++, raster, mainFmt, G_IM_SIZ_32b, mainWidth, mainHeight,
                                       0, 0, mainWidth - 1, mainHeight - 1, 0,
                                       mainWrapW, mainWrapH, mainMasks, mainMaskt, G_TX_NOLOD, G_TX_NOLOD);
                    lodDivisor = ((mainWidth * mainHeight / 2) * 2 + 7)>>3;
                    break;
            }

            switch (auxBitDepth) {
                case G_IM_SIZ_4b:
                    gDPScrollMultiTile_4b((*gfxPos)++, auxRaster, lodDivisor, 1, auxFmt, auxWidth, auxHeight,
                                          0, 0, auxWidth - 1, auxHeight - 1, auxPaletteIndex,
                                          auxWrapW, auxWrapH, auxMasks, auxMaskt,
                                          arg6, arg7, arg8, arg9);
                    break;
                case G_IM_SIZ_8b:
                    gDPScrollMultiTile((*gfxPos)++, auxRaster, lodDivisor, 1, auxFmt, G_IM_SIZ_8b, auxWidth, auxHeight,
                                       0, 0, auxWidth - 1, auxHeight - 1, auxPaletteIndex,
                                       auxWrapW, auxWrapH, auxMasks, auxMaskt,
                                       arg6, arg7, arg8, arg9);
                    break;
                case G_IM_SIZ_16b:
                    gDPScrollMultiTile((*gfxPos)++, auxRaster, lodDivisor, 1, auxFmt, G_IM_SIZ_16b, auxWidth, auxHeight,
                                       0, 0, auxWidth - 1, auxHeight - 1, auxPaletteIndex,
                                       auxWrapW, auxWrapH, auxMasks, auxMaskt,
                                       arg6, arg7, arg8, arg9);
                    break;
                case G_IM_SIZ_32b:
                    gDPScrollMultiTile((*gfxPos)++, auxRaster, lodDivisor, 1, auxFmt, G_IM_SIZ_32b, auxWidth, auxHeight,
                                       0, 0, auxWidth - 1, auxHeight - 1, auxPaletteIndex,
                                       auxWrapW, auxWrapH, auxMasks, auxMaskt,
                                       arg6, arg7, arg8, arg9);
                    break;
            }
    }
    gSPSetOtherMode((*gfxPos)++, G_SETOTHERMODE_H, 4, 16, filteringMode | G_TC_FILT | lutMode | lodMode | G_TP_PERSP );
}