mirror of https://github.com/PrimeDecomp/prime.git
1282 lines
59 KiB
ArmAsm
1282 lines
59 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .data
|
|
.balign 8
|
|
|
|
.global lbl_803EE440
|
|
lbl_803EE440:
|
|
# ROM: 0x3EB440
|
|
.4byte lbl_80341414
|
|
.4byte lbl_803415E0
|
|
.4byte lbl_80341700
|
|
.4byte lbl_803418B0
|
|
.4byte lbl_80341A1C
|
|
.4byte lbl_80341BBC
|
|
.4byte lbl_80341F80
|
|
.4byte lbl_8034203C
|
|
.4byte lbl_803420A8
|
|
.4byte lbl_803420E4
|
|
|
|
.section .text, "ax"
|
|
|
|
.global inflate_blocks_free
|
|
inflate_blocks_free:
|
|
/* 803412A4 0033E204 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 803412A8 0033E208 7C 08 02 A6 */ mflr r0
|
|
/* 803412AC 0033E20C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 803412B0 0033E210 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 803412B4 0033E214 7C 9F 23 78 */ mr r31, r4
|
|
/* 803412B8 0033E218 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 803412BC 0033E21C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 803412C0 0033E220 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 803412C4 0033E224 2C 00 00 04 */ cmpwi r0, 4
|
|
/* 803412C8 0033E228 41 82 00 0C */ beq lbl_803412D4
|
|
/* 803412CC 0033E22C 2C 00 00 05 */ cmpwi r0, 5
|
|
/* 803412D0 0033E230 40 82 00 18 */ bne lbl_803412E8
|
|
lbl_803412D4:
|
|
/* 803412D4 0033E234 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 803412D8 0033E238 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 803412DC 0033E23C 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 803412E0 0033E240 7D 89 03 A6 */ mtctr r12
|
|
/* 803412E4 0033E244 4E 80 04 21 */ bctrl
|
|
lbl_803412E8:
|
|
/* 803412E8 0033E248 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 803412EC 0033E24C 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 803412F0 0033E250 40 82 00 10 */ bne lbl_80341300
|
|
/* 803412F4 0033E254 80 7E 00 04 */ lwz r3, 4(r30)
|
|
/* 803412F8 0033E258 7F E4 FB 78 */ mr r4, r31
|
|
/* 803412FC 0033E25C 48 00 10 D9 */ bl inflate_codes_free
|
|
lbl_80341300:
|
|
/* 80341300 0033E260 38 00 00 00 */ li r0, 0
|
|
/* 80341304 0033E264 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80341308 0033E268 90 1E 00 1C */ stw r0, 0x1c(r30)
|
|
/* 8034130C 0033E26C 90 1E 00 20 */ stw r0, 0x20(r30)
|
|
/* 80341310 0033E270 80 1E 00 28 */ lwz r0, 0x28(r30)
|
|
/* 80341314 0033E274 90 1E 00 34 */ stw r0, 0x34(r30)
|
|
/* 80341318 0033E278 90 1E 00 30 */ stw r0, 0x30(r30)
|
|
/* 8034131C 0033E27C 81 9E 00 38 */ lwz r12, 0x38(r30)
|
|
/* 80341320 0033E280 28 0C 00 00 */ cmplwi r12, 0
|
|
/* 80341324 0033E284 41 82 00 20 */ beq lbl_80341344
|
|
/* 80341328 0033E288 38 60 00 00 */ li r3, 0
|
|
/* 8034132C 0033E28C 38 80 00 00 */ li r4, 0
|
|
/* 80341330 0033E290 38 A0 00 00 */ li r5, 0
|
|
/* 80341334 0033E294 7D 89 03 A6 */ mtctr r12
|
|
/* 80341338 0033E298 4E 80 04 21 */ bctrl
|
|
/* 8034133C 0033E29C 90 7E 00 3C */ stw r3, 0x3c(r30)
|
|
/* 80341340 0033E2A0 90 7F 00 30 */ stw r3, 0x30(r31)
|
|
lbl_80341344:
|
|
/* 80341344 0033E2A4 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 80341348 0033E2A8 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 8034134C 0033E2AC 80 9E 00 28 */ lwz r4, 0x28(r30)
|
|
/* 80341350 0033E2B0 7D 89 03 A6 */ mtctr r12
|
|
/* 80341354 0033E2B4 4E 80 04 21 */ bctrl
|
|
/* 80341358 0033E2B8 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 8034135C 0033E2BC 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80341360 0033E2C0 80 9E 00 24 */ lwz r4, 0x24(r30)
|
|
/* 80341364 0033E2C4 7D 89 03 A6 */ mtctr r12
|
|
/* 80341368 0033E2C8 4E 80 04 21 */ bctrl
|
|
/* 8034136C 0033E2CC 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 80341370 0033E2D0 7F C4 F3 78 */ mr r4, r30
|
|
/* 80341374 0033E2D4 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80341378 0033E2D8 7D 89 03 A6 */ mtctr r12
|
|
/* 8034137C 0033E2DC 4E 80 04 21 */ bctrl
|
|
/* 80341380 0033E2E0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80341384 0033E2E4 38 60 00 00 */ li r3, 0
|
|
/* 80341388 0033E2E8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034138C 0033E2EC 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80341390 0033E2F0 7C 08 03 A6 */ mtlr r0
|
|
/* 80341394 0033E2F4 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80341398 0033E2F8 4E 80 00 20 */ blr
|
|
|
|
.global inflate_blocks
|
|
inflate_blocks:
|
|
/* 8034139C 0033E2FC 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 803413A0 0033E300 7C 08 02 A6 */ mflr r0
|
|
/* 803413A4 0033E304 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 803413A8 0033E308 BE A1 00 34 */ stmw r21, 0x34(r1)
|
|
/* 803413AC 0033E30C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 803413B0 0033E310 7C 9F 23 78 */ mr r31, r4
|
|
/* 803413B4 0033E314 7C B6 2B 78 */ mr r22, r5
|
|
/* 803413B8 0033E318 83 03 00 34 */ lwz r24, 0x34(r3)
|
|
/* 803413BC 0033E31C 80 03 00 30 */ lwz r0, 0x30(r3)
|
|
/* 803413C0 0033E320 83 44 00 00 */ lwz r26, 0(r4)
|
|
/* 803413C4 0033E324 7C 18 00 40 */ cmplw r24, r0
|
|
/* 803413C8 0033E328 83 24 00 04 */ lwz r25, 4(r4)
|
|
/* 803413CC 0033E32C 83 83 00 20 */ lwz r28, 0x20(r3)
|
|
/* 803413D0 0033E330 83 63 00 1C */ lwz r27, 0x1c(r3)
|
|
/* 803413D4 0033E334 40 80 00 10 */ bge lbl_803413E4
|
|
/* 803413D8 0033E338 7C 78 00 50 */ subf r3, r24, r0
|
|
/* 803413DC 0033E33C 38 03 FF FF */ addi r0, r3, -1
|
|
/* 803413E0 0033E340 48 00 00 0C */ b lbl_803413EC
|
|
lbl_803413E4:
|
|
/* 803413E4 0033E344 80 1E 00 2C */ lwz r0, 0x2c(r30)
|
|
/* 803413E8 0033E348 7C 18 00 50 */ subf r0, r24, r0
|
|
lbl_803413EC:
|
|
/* 803413EC 0033E34C 3C 60 80 3F */ lis r3, lbl_803EE440@ha
|
|
/* 803413F0 0033E350 7C 17 03 78 */ mr r23, r0
|
|
/* 803413F4 0033E354 3B A3 E4 40 */ addi r29, r3, lbl_803EE440@l
|
|
lbl_803413F8:
|
|
/* 803413F8 0033E358 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 803413FC 0033E35C 28 00 00 09 */ cmplwi r0, 9
|
|
/* 80341400 0033E360 41 81 0D 20 */ bgt lbl_80342120
|
|
/* 80341404 0033E364 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80341408 0033E368 7C 1D 00 2E */ lwzx r0, r29, r0
|
|
/* 8034140C 0033E36C 7C 09 03 A6 */ mtctr r0
|
|
/* 80341410 0033E370 4E 80 04 20 */ bctr
|
|
.global lbl_80341414
|
|
lbl_80341414:
|
|
/* 80341414 0033E374 20 1B 00 0A */ subfic r0, r27, 0xa
|
|
/* 80341418 0033E378 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 8034141C 0033E37C 7C 09 03 A6 */ mtctr r0
|
|
/* 80341420 0033E380 28 1B 00 03 */ cmplwi r27, 3
|
|
/* 80341424 0033E384 40 80 00 6C */ bge lbl_80341490
|
|
lbl_80341428:
|
|
/* 80341428 0033E388 28 19 00 00 */ cmplwi r25, 0
|
|
/* 8034142C 0033E38C 41 82 00 0C */ beq lbl_80341438
|
|
/* 80341430 0033E390 3A C0 00 00 */ li r22, 0
|
|
/* 80341434 0033E394 48 00 00 40 */ b lbl_80341474
|
|
lbl_80341438:
|
|
/* 80341438 0033E398 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 8034143C 0033E39C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341440 0033E3A0 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341444 0033E3A4 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341448 0033E3A8 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 8034144C 0033E3AC 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341450 0033E3B0 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341454 0033E3B4 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341458 0033E3B8 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 8034145C 0033E3BC 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341460 0033E3C0 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341464 0033E3C4 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341468 0033E3C8 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 8034146C 0033E3CC 48 00 2F A1 */ bl inflate_flush
|
|
/* 80341470 0033E3D0 48 00 0C E8 */ b lbl_80342158
|
|
lbl_80341474:
|
|
/* 80341474 0033E3D4 88 1A 00 00 */ lbz r0, 0(r26)
|
|
/* 80341478 0033E3D8 3B 39 FF FF */ addi r25, r25, -1
|
|
/* 8034147C 0033E3DC 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 80341480 0033E3E0 7C 00 D8 30 */ slw r0, r0, r27
|
|
/* 80341484 0033E3E4 3B 7B 00 08 */ addi r27, r27, 8
|
|
/* 80341488 0033E3E8 7F 9C 03 78 */ or r28, r28, r0
|
|
/* 8034148C 0033E3EC 42 00 FF 9C */ bdnz lbl_80341428
|
|
lbl_80341490:
|
|
/* 80341490 0033E3F0 57 80 FF BE */ rlwinm r0, r28, 0x1f, 0x1e, 0x1f
|
|
/* 80341494 0033E3F4 57 83 07 FE */ clrlwi r3, r28, 0x1f
|
|
/* 80341498 0033E3F8 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 8034149C 0033E3FC 90 7E 00 18 */ stw r3, 0x18(r30)
|
|
/* 803414A0 0033E400 41 82 00 D4 */ beq lbl_80341574
|
|
/* 803414A4 0033E404 40 80 00 14 */ bge lbl_803414B8
|
|
/* 803414A8 0033E408 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 803414AC 0033E40C 41 82 00 18 */ beq lbl_803414C4
|
|
/* 803414B0 0033E410 40 80 00 34 */ bge lbl_803414E4
|
|
/* 803414B4 0033E414 4B FF FF 44 */ b lbl_803413F8
|
|
lbl_803414B8:
|
|
/* 803414B8 0033E418 2C 00 00 04 */ cmpwi r0, 4
|
|
/* 803414BC 0033E41C 40 80 FF 3C */ bge lbl_803413F8
|
|
/* 803414C0 0033E420 48 00 00 C8 */ b lbl_80341588
|
|
lbl_803414C4:
|
|
/* 803414C4 0033E424 38 00 00 01 */ li r0, 1
|
|
/* 803414C8 0033E428 3B 7B FF FD */ addi r27, r27, -3
|
|
/* 803414CC 0033E42C 57 63 07 7E */ clrlwi r3, r27, 0x1d
|
|
/* 803414D0 0033E430 57 9C E8 FE */ srwi r28, r28, 3
|
|
/* 803414D4 0033E434 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 803414D8 0033E438 7F 9C 1C 30 */ srw r28, r28, r3
|
|
/* 803414DC 0033E43C 7F 63 D8 50 */ subf r27, r3, r27
|
|
/* 803414E0 0033E440 4B FF FF 18 */ b lbl_803413F8
|
|
lbl_803414E4:
|
|
/* 803414E4 0033E444 7F E7 FB 78 */ mr r7, r31
|
|
/* 803414E8 0033E448 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 803414EC 0033E44C 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 803414F0 0033E450 38 A1 00 24 */ addi r5, r1, 0x24
|
|
/* 803414F4 0033E454 38 C1 00 20 */ addi r6, r1, 0x20
|
|
/* 803414F8 0033E458 48 00 26 C9 */ bl inflate_trees_fixed
|
|
/* 803414FC 0033E45C 80 61 00 2C */ lwz r3, 0x2c(r1)
|
|
/* 80341500 0033E460 7F E7 FB 78 */ mr r7, r31
|
|
/* 80341504 0033E464 80 81 00 28 */ lwz r4, 0x28(r1)
|
|
/* 80341508 0033E468 80 A1 00 24 */ lwz r5, 0x24(r1)
|
|
/* 8034150C 0033E46C 80 C1 00 20 */ lwz r6, 0x20(r1)
|
|
/* 80341510 0033E470 48 00 18 31 */ bl inflate_codes_new
|
|
/* 80341514 0033E474 90 7E 00 04 */ stw r3, 4(r30)
|
|
/* 80341518 0033E478 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034151C 0033E47C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80341520 0033E480 40 82 00 40 */ bne lbl_80341560
|
|
/* 80341524 0033E484 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341528 0033E488 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034152C 0033E48C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341530 0033E490 38 A0 FF FC */ li r5, -4
|
|
/* 80341534 0033E494 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341538 0033E498 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 8034153C 0033E49C 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341540 0033E4A0 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341544 0033E4A4 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341548 0033E4A8 7C 06 02 14 */ add r0, r6, r0
|
|
/* 8034154C 0033E4AC 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341550 0033E4B0 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341554 0033E4B4 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341558 0033E4B8 48 00 2E B5 */ bl inflate_flush
|
|
/* 8034155C 0033E4BC 48 00 0B FC */ b lbl_80342158
|
|
lbl_80341560:
|
|
/* 80341560 0033E4C0 38 00 00 06 */ li r0, 6
|
|
/* 80341564 0033E4C4 57 9C E8 FE */ srwi r28, r28, 3
|
|
/* 80341568 0033E4C8 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 8034156C 0033E4CC 3B 7B FF FD */ addi r27, r27, -3
|
|
/* 80341570 0033E4D0 4B FF FE 88 */ b lbl_803413F8
|
|
lbl_80341574:
|
|
/* 80341574 0033E4D4 38 00 00 03 */ li r0, 3
|
|
/* 80341578 0033E4D8 57 9C E8 FE */ srwi r28, r28, 3
|
|
/* 8034157C 0033E4DC 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80341580 0033E4E0 3B 7B FF FD */ addi r27, r27, -3
|
|
/* 80341584 0033E4E4 4B FF FE 74 */ b lbl_803413F8
|
|
lbl_80341588:
|
|
/* 80341588 0033E4E8 38 00 00 09 */ li r0, 9
|
|
/* 8034158C 0033E4EC 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha
|
|
/* 80341590 0033E4F0 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80341594 0033E4F4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l
|
|
/* 80341598 0033E4F8 57 86 E8 FE */ srwi r6, r28, 3
|
|
/* 8034159C 0033E4FC 38 1B FF FD */ addi r0, r27, -3
|
|
/* 803415A0 0033E500 90 7F 00 18 */ stw r3, 0x18(r31)
|
|
/* 803415A4 0033E504 7F C3 F3 78 */ mr r3, r30
|
|
/* 803415A8 0033E508 7F E4 FB 78 */ mr r4, r31
|
|
/* 803415AC 0033E50C 38 A0 FF FD */ li r5, -3
|
|
/* 803415B0 0033E510 90 DE 00 20 */ stw r6, 0x20(r30)
|
|
/* 803415B4 0033E514 90 1E 00 1C */ stw r0, 0x1c(r30)
|
|
/* 803415B8 0033E518 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 803415BC 0033E51C 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 803415C0 0033E520 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 803415C4 0033E524 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 803415C8 0033E528 7C 06 02 14 */ add r0, r6, r0
|
|
/* 803415CC 0033E52C 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 803415D0 0033E530 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 803415D4 0033E534 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 803415D8 0033E538 48 00 2E 35 */ bl inflate_flush
|
|
/* 803415DC 0033E53C 48 00 0B 7C */ b lbl_80342158
|
|
.global lbl_803415E0
|
|
lbl_803415E0:
|
|
/* 803415E0 0033E540 20 1B 00 27 */ subfic r0, r27, 0x27
|
|
/* 803415E4 0033E544 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 803415E8 0033E548 7C 09 03 A6 */ mtctr r0
|
|
/* 803415EC 0033E54C 28 1B 00 20 */ cmplwi r27, 0x20
|
|
/* 803415F0 0033E550 40 80 00 6C */ bge lbl_8034165C
|
|
lbl_803415F4:
|
|
/* 803415F4 0033E554 28 19 00 00 */ cmplwi r25, 0
|
|
/* 803415F8 0033E558 41 82 00 0C */ beq lbl_80341604
|
|
/* 803415FC 0033E55C 3A C0 00 00 */ li r22, 0
|
|
/* 80341600 0033E560 48 00 00 40 */ b lbl_80341640
|
|
lbl_80341604:
|
|
/* 80341604 0033E564 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341608 0033E568 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034160C 0033E56C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341610 0033E570 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341614 0033E574 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341618 0033E578 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 8034161C 0033E57C 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341620 0033E580 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341624 0033E584 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341628 0033E588 7C 06 02 14 */ add r0, r6, r0
|
|
/* 8034162C 0033E58C 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341630 0033E590 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341634 0033E594 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341638 0033E598 48 00 2D D5 */ bl inflate_flush
|
|
/* 8034163C 0033E59C 48 00 0B 1C */ b lbl_80342158
|
|
lbl_80341640:
|
|
/* 80341640 0033E5A0 88 1A 00 00 */ lbz r0, 0(r26)
|
|
/* 80341644 0033E5A4 3B 39 FF FF */ addi r25, r25, -1
|
|
/* 80341648 0033E5A8 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 8034164C 0033E5AC 7C 00 D8 30 */ slw r0, r0, r27
|
|
/* 80341650 0033E5B0 3B 7B 00 08 */ addi r27, r27, 8
|
|
/* 80341654 0033E5B4 7F 9C 03 78 */ or r28, r28, r0
|
|
/* 80341658 0033E5B8 42 00 FF 9C */ bdnz lbl_803415F4
|
|
lbl_8034165C:
|
|
/* 8034165C 0033E5BC 7F 83 E0 F8 */ nor r3, r28, r28
|
|
/* 80341660 0033E5C0 57 80 04 3E */ clrlwi r0, r28, 0x10
|
|
/* 80341664 0033E5C4 54 63 84 3E */ srwi r3, r3, 0x10
|
|
/* 80341668 0033E5C8 7C 03 00 40 */ cmplw r3, r0
|
|
/* 8034166C 0033E5CC 41 82 00 58 */ beq lbl_803416C4
|
|
/* 80341670 0033E5D0 38 00 00 09 */ li r0, 9
|
|
/* 80341674 0033E5D4 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha
|
|
/* 80341678 0033E5D8 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l
|
|
/* 8034167C 0033E5DC 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80341680 0033E5E0 38 03 00 13 */ addi r0, r3, 0x13
|
|
/* 80341684 0033E5E4 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341688 0033E5E8 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8034168C 0033E5EC 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341690 0033E5F0 38 A0 FF FD */ li r5, -3
|
|
/* 80341694 0033E5F4 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341698 0033E5F8 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 8034169C 0033E5FC 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 803416A0 0033E600 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 803416A4 0033E604 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 803416A8 0033E608 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 803416AC 0033E60C 7C 06 02 14 */ add r0, r6, r0
|
|
/* 803416B0 0033E610 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 803416B4 0033E614 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 803416B8 0033E618 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 803416BC 0033E61C 48 00 2D 51 */ bl inflate_flush
|
|
/* 803416C0 0033E620 48 00 0A 98 */ b lbl_80342158
|
|
lbl_803416C4:
|
|
/* 803416C4 0033E624 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 803416C8 0033E628 3B 60 00 00 */ li r27, 0
|
|
/* 803416CC 0033E62C 3B 80 00 00 */ li r28, 0
|
|
/* 803416D0 0033E630 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 803416D4 0033E634 28 00 00 00 */ cmplwi r0, 0
|
|
/* 803416D8 0033E638 41 82 00 0C */ beq lbl_803416E4
|
|
/* 803416DC 0033E63C 38 60 00 02 */ li r3, 2
|
|
/* 803416E0 0033E640 48 00 00 18 */ b lbl_803416F8
|
|
lbl_803416E4:
|
|
/* 803416E4 0033E644 80 1E 00 18 */ lwz r0, 0x18(r30)
|
|
/* 803416E8 0033E648 38 60 00 00 */ li r3, 0
|
|
/* 803416EC 0033E64C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 803416F0 0033E650 41 82 00 08 */ beq lbl_803416F8
|
|
/* 803416F4 0033E654 38 60 00 07 */ li r3, 7
|
|
lbl_803416F8:
|
|
/* 803416F8 0033E658 90 7E 00 00 */ stw r3, 0(r30)
|
|
/* 803416FC 0033E65C 4B FF FC FC */ b lbl_803413F8
|
|
.global lbl_80341700
|
|
lbl_80341700:
|
|
/* 80341700 0033E660 28 19 00 00 */ cmplwi r25, 0
|
|
/* 80341704 0033E664 40 82 00 40 */ bne lbl_80341744
|
|
/* 80341708 0033E668 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 8034170C 0033E66C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341710 0033E670 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341714 0033E674 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341718 0033E678 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 8034171C 0033E67C 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341720 0033E680 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341724 0033E684 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341728 0033E688 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 8034172C 0033E68C 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341730 0033E690 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341734 0033E694 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341738 0033E698 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 8034173C 0033E69C 48 00 2C D1 */ bl inflate_flush
|
|
/* 80341740 0033E6A0 48 00 0A 18 */ b lbl_80342158
|
|
lbl_80341744:
|
|
/* 80341744 0033E6A4 28 17 00 00 */ cmplwi r23, 0
|
|
/* 80341748 0033E6A8 40 82 00 FC */ bne lbl_80341844
|
|
/* 8034174C 0033E6AC 80 9E 00 2C */ lwz r4, 0x2c(r30)
|
|
/* 80341750 0033E6B0 7C 18 20 40 */ cmplw r24, r4
|
|
/* 80341754 0033E6B4 40 82 00 30 */ bne lbl_80341784
|
|
/* 80341758 0033E6B8 80 7E 00 30 */ lwz r3, 0x30(r30)
|
|
/* 8034175C 0033E6BC 80 1E 00 28 */ lwz r0, 0x28(r30)
|
|
/* 80341760 0033E6C0 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80341764 0033E6C4 41 82 00 20 */ beq lbl_80341784
|
|
/* 80341768 0033E6C8 7C 00 18 40 */ cmplw r0, r3
|
|
/* 8034176C 0033E6CC 7C 18 03 78 */ mr r24, r0
|
|
/* 80341770 0033E6D0 40 80 00 10 */ bge lbl_80341780
|
|
/* 80341774 0033E6D4 7C 60 18 50 */ subf r3, r0, r3
|
|
/* 80341778 0033E6D8 3A E3 FF FF */ addi r23, r3, -1
|
|
/* 8034177C 0033E6DC 48 00 00 08 */ b lbl_80341784
|
|
lbl_80341780:
|
|
/* 80341780 0033E6E0 7E E0 20 50 */ subf r23, r0, r4
|
|
lbl_80341784:
|
|
/* 80341784 0033E6E4 28 17 00 00 */ cmplwi r23, 0
|
|
/* 80341788 0033E6E8 40 82 00 BC */ bne lbl_80341844
|
|
/* 8034178C 0033E6EC 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341790 0033E6F0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341794 0033E6F4 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341798 0033E6F8 7E C5 B3 78 */ mr r5, r22
|
|
/* 8034179C 0033E6FC 48 00 2C 71 */ bl inflate_flush
|
|
/* 803417A0 0033E700 83 1E 00 34 */ lwz r24, 0x34(r30)
|
|
/* 803417A4 0033E704 7C 76 1B 78 */ mr r22, r3
|
|
/* 803417A8 0033E708 80 9E 00 30 */ lwz r4, 0x30(r30)
|
|
/* 803417AC 0033E70C 7C 18 20 40 */ cmplw r24, r4
|
|
/* 803417B0 0033E710 40 80 00 10 */ bge lbl_803417C0
|
|
/* 803417B4 0033E714 7C 78 20 50 */ subf r3, r24, r4
|
|
/* 803417B8 0033E718 38 03 FF FF */ addi r0, r3, -1
|
|
/* 803417BC 0033E71C 48 00 00 0C */ b lbl_803417C8
|
|
lbl_803417C0:
|
|
/* 803417C0 0033E720 80 1E 00 2C */ lwz r0, 0x2c(r30)
|
|
/* 803417C4 0033E724 7C 18 00 50 */ subf r0, r24, r0
|
|
lbl_803417C8:
|
|
/* 803417C8 0033E728 80 7E 00 2C */ lwz r3, 0x2c(r30)
|
|
/* 803417CC 0033E72C 7C 17 03 78 */ mr r23, r0
|
|
/* 803417D0 0033E730 7C 18 18 40 */ cmplw r24, r3
|
|
/* 803417D4 0033E734 40 82 00 2C */ bne lbl_80341800
|
|
/* 803417D8 0033E738 80 1E 00 28 */ lwz r0, 0x28(r30)
|
|
/* 803417DC 0033E73C 7C 04 00 40 */ cmplw r4, r0
|
|
/* 803417E0 0033E740 41 82 00 20 */ beq lbl_80341800
|
|
/* 803417E4 0033E744 7C 00 20 40 */ cmplw r0, r4
|
|
/* 803417E8 0033E748 7C 18 03 78 */ mr r24, r0
|
|
/* 803417EC 0033E74C 40 80 00 10 */ bge lbl_803417FC
|
|
/* 803417F0 0033E750 7C 60 20 50 */ subf r3, r0, r4
|
|
/* 803417F4 0033E754 3A E3 FF FF */ addi r23, r3, -1
|
|
/* 803417F8 0033E758 48 00 00 08 */ b lbl_80341800
|
|
lbl_803417FC:
|
|
/* 803417FC 0033E75C 7E E0 18 50 */ subf r23, r0, r3
|
|
lbl_80341800:
|
|
/* 80341800 0033E760 28 17 00 00 */ cmplwi r23, 0
|
|
/* 80341804 0033E764 40 82 00 40 */ bne lbl_80341844
|
|
/* 80341808 0033E768 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 8034180C 0033E76C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341810 0033E770 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341814 0033E774 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341818 0033E778 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 8034181C 0033E77C 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341820 0033E780 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341824 0033E784 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341828 0033E788 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 8034182C 0033E78C 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341830 0033E790 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341834 0033E794 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341838 0033E798 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 8034183C 0033E79C 48 00 2B D1 */ bl inflate_flush
|
|
/* 80341840 0033E7A0 48 00 09 18 */ b lbl_80342158
|
|
lbl_80341844:
|
|
/* 80341844 0033E7A4 82 BE 00 04 */ lwz r21, 4(r30)
|
|
/* 80341848 0033E7A8 3A C0 00 00 */ li r22, 0
|
|
/* 8034184C 0033E7AC 7C 15 C8 40 */ cmplw r21, r25
|
|
/* 80341850 0033E7B0 40 81 00 08 */ ble lbl_80341858
|
|
/* 80341854 0033E7B4 7F 35 CB 78 */ mr r21, r25
|
|
lbl_80341858:
|
|
/* 80341858 0033E7B8 7C 15 B8 40 */ cmplw r21, r23
|
|
/* 8034185C 0033E7BC 40 81 00 08 */ ble lbl_80341864
|
|
/* 80341860 0033E7C0 7E F5 BB 78 */ mr r21, r23
|
|
lbl_80341864:
|
|
/* 80341864 0033E7C4 7F 03 C3 78 */ mr r3, r24
|
|
/* 80341868 0033E7C8 7F 44 D3 78 */ mr r4, r26
|
|
/* 8034186C 0033E7CC 7E A5 AB 78 */ mr r5, r21
|
|
/* 80341870 0033E7D0 4B CC 1C 21 */ bl memcpy
|
|
/* 80341874 0033E7D4 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 80341878 0033E7D8 7F 5A AA 14 */ add r26, r26, r21
|
|
/* 8034187C 0033E7DC 7F 35 C8 50 */ subf r25, r21, r25
|
|
/* 80341880 0033E7E0 7F 18 AA 14 */ add r24, r24, r21
|
|
/* 80341884 0033E7E4 7C 15 00 51 */ subf. r0, r21, r0
|
|
/* 80341888 0033E7E8 7E F5 B8 50 */ subf r23, r21, r23
|
|
/* 8034188C 0033E7EC 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 80341890 0033E7F0 40 82 FB 68 */ bne lbl_803413F8
|
|
/* 80341894 0033E7F4 80 1E 00 18 */ lwz r0, 0x18(r30)
|
|
/* 80341898 0033E7F8 38 60 00 00 */ li r3, 0
|
|
/* 8034189C 0033E7FC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 803418A0 0033E800 41 82 00 08 */ beq lbl_803418A8
|
|
/* 803418A4 0033E804 38 60 00 07 */ li r3, 7
|
|
lbl_803418A8:
|
|
/* 803418A8 0033E808 90 7E 00 00 */ stw r3, 0(r30)
|
|
/* 803418AC 0033E80C 4B FF FB 4C */ b lbl_803413F8
|
|
.global lbl_803418B0
|
|
lbl_803418B0:
|
|
/* 803418B0 0033E810 20 1B 00 15 */ subfic r0, r27, 0x15
|
|
/* 803418B4 0033E814 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 803418B8 0033E818 7C 09 03 A6 */ mtctr r0
|
|
/* 803418BC 0033E81C 28 1B 00 0E */ cmplwi r27, 0xe
|
|
/* 803418C0 0033E820 40 80 00 6C */ bge lbl_8034192C
|
|
lbl_803418C4:
|
|
/* 803418C4 0033E824 28 19 00 00 */ cmplwi r25, 0
|
|
/* 803418C8 0033E828 41 82 00 0C */ beq lbl_803418D4
|
|
/* 803418CC 0033E82C 3A C0 00 00 */ li r22, 0
|
|
/* 803418D0 0033E830 48 00 00 40 */ b lbl_80341910
|
|
lbl_803418D4:
|
|
/* 803418D4 0033E834 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 803418D8 0033E838 7F C3 F3 78 */ mr r3, r30
|
|
/* 803418DC 0033E83C 7F E4 FB 78 */ mr r4, r31
|
|
/* 803418E0 0033E840 7E C5 B3 78 */ mr r5, r22
|
|
/* 803418E4 0033E844 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 803418E8 0033E848 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 803418EC 0033E84C 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 803418F0 0033E850 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 803418F4 0033E854 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 803418F8 0033E858 7C 06 02 14 */ add r0, r6, r0
|
|
/* 803418FC 0033E85C 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341900 0033E860 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341904 0033E864 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341908 0033E868 48 00 2B 05 */ bl inflate_flush
|
|
/* 8034190C 0033E86C 48 00 08 4C */ b lbl_80342158
|
|
lbl_80341910:
|
|
/* 80341910 0033E870 88 1A 00 00 */ lbz r0, 0(r26)
|
|
/* 80341914 0033E874 3B 39 FF FF */ addi r25, r25, -1
|
|
/* 80341918 0033E878 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 8034191C 0033E87C 7C 00 D8 30 */ slw r0, r0, r27
|
|
/* 80341920 0033E880 3B 7B 00 08 */ addi r27, r27, 8
|
|
/* 80341924 0033E884 7F 9C 03 78 */ or r28, r28, r0
|
|
/* 80341928 0033E888 42 00 FF 9C */ bdnz lbl_803418C4
|
|
lbl_8034192C:
|
|
/* 8034192C 0033E88C 57 83 06 FE */ clrlwi r3, r28, 0x1b
|
|
/* 80341930 0033E890 57 80 04 BE */ clrlwi r0, r28, 0x12
|
|
/* 80341934 0033E894 28 03 00 1D */ cmplwi r3, 0x1d
|
|
/* 80341938 0033E898 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 8034193C 0033E89C 41 81 00 10 */ bgt lbl_8034194C
|
|
/* 80341940 0033E8A0 54 00 DE FE */ rlwinm r0, r0, 0x1b, 0x1b, 0x1f
|
|
/* 80341944 0033E8A4 28 00 00 1D */ cmplwi r0, 0x1d
|
|
/* 80341948 0033E8A8 40 81 00 58 */ ble lbl_803419A0
|
|
lbl_8034194C:
|
|
/* 8034194C 0033E8AC 38 00 00 09 */ li r0, 9
|
|
/* 80341950 0033E8B0 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha
|
|
/* 80341954 0033E8B4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l
|
|
/* 80341958 0033E8B8 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 8034195C 0033E8BC 38 03 00 30 */ addi r0, r3, 0x30
|
|
/* 80341960 0033E8C0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341964 0033E8C4 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 80341968 0033E8C8 7F E4 FB 78 */ mr r4, r31
|
|
/* 8034196C 0033E8CC 38 A0 FF FD */ li r5, -3
|
|
/* 80341970 0033E8D0 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341974 0033E8D4 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341978 0033E8D8 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 8034197C 0033E8DC 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341980 0033E8E0 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341984 0033E8E4 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341988 0033E8E8 7C 06 02 14 */ add r0, r6, r0
|
|
/* 8034198C 0033E8EC 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341990 0033E8F0 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341994 0033E8F4 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341998 0033E8F8 48 00 2A 75 */ bl inflate_flush
|
|
/* 8034199C 0033E8FC 48 00 07 BC */ b lbl_80342158
|
|
lbl_803419A0:
|
|
/* 803419A0 0033E900 81 9F 00 20 */ lwz r12, 0x20(r31)
|
|
/* 803419A4 0033E904 7C 83 02 14 */ add r4, r3, r0
|
|
/* 803419A8 0033E908 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 803419AC 0033E90C 38 A0 00 04 */ li r5, 4
|
|
/* 803419B0 0033E910 7D 89 03 A6 */ mtctr r12
|
|
/* 803419B4 0033E914 38 84 01 02 */ addi r4, r4, 0x102
|
|
/* 803419B8 0033E918 4E 80 04 21 */ bctrl
|
|
/* 803419BC 0033E91C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 803419C0 0033E920 90 7E 00 0C */ stw r3, 0xc(r30)
|
|
/* 803419C4 0033E924 40 82 00 40 */ bne lbl_80341A04
|
|
/* 803419C8 0033E928 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 803419CC 0033E92C 7F C3 F3 78 */ mr r3, r30
|
|
/* 803419D0 0033E930 7F E4 FB 78 */ mr r4, r31
|
|
/* 803419D4 0033E934 38 A0 FF FC */ li r5, -4
|
|
/* 803419D8 0033E938 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 803419DC 0033E93C 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 803419E0 0033E940 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 803419E4 0033E944 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 803419E8 0033E948 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 803419EC 0033E94C 7C 06 02 14 */ add r0, r6, r0
|
|
/* 803419F0 0033E950 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 803419F4 0033E954 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 803419F8 0033E958 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 803419FC 0033E95C 48 00 2A 11 */ bl inflate_flush
|
|
/* 80341A00 0033E960 48 00 07 58 */ b lbl_80342158
|
|
lbl_80341A04:
|
|
/* 80341A04 0033E964 38 60 00 00 */ li r3, 0
|
|
/* 80341A08 0033E968 38 00 00 04 */ li r0, 4
|
|
/* 80341A0C 0033E96C 90 7E 00 08 */ stw r3, 8(r30)
|
|
/* 80341A10 0033E970 57 9C 93 BE */ srwi r28, r28, 0xe
|
|
/* 80341A14 0033E974 3B 7B FF F2 */ addi r27, r27, -14
|
|
/* 80341A18 0033E978 90 1E 00 00 */ stw r0, 0(r30)
|
|
.global lbl_80341A1C
|
|
lbl_80341A1C:
|
|
/* 80341A1C 0033E97C 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha
|
|
/* 80341A20 0033E980 38 A3 7A A8 */ addi r5, r3, lbl_803D7AA8@l
|
|
/* 80341A24 0033E984 48 00 00 AC */ b lbl_80341AD0
|
|
lbl_80341A28:
|
|
/* 80341A28 0033E988 20 1B 00 0A */ subfic r0, r27, 0xa
|
|
/* 80341A2C 0033E98C 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 80341A30 0033E990 7C 09 03 A6 */ mtctr r0
|
|
/* 80341A34 0033E994 28 1B 00 03 */ cmplwi r27, 3
|
|
/* 80341A38 0033E998 40 80 00 6C */ bge lbl_80341AA4
|
|
lbl_80341A3C:
|
|
/* 80341A3C 0033E99C 28 19 00 00 */ cmplwi r25, 0
|
|
/* 80341A40 0033E9A0 41 82 00 0C */ beq lbl_80341A4C
|
|
/* 80341A44 0033E9A4 3A C0 00 00 */ li r22, 0
|
|
/* 80341A48 0033E9A8 48 00 00 40 */ b lbl_80341A88
|
|
lbl_80341A4C:
|
|
/* 80341A4C 0033E9AC 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341A50 0033E9B0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341A54 0033E9B4 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341A58 0033E9B8 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341A5C 0033E9BC 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341A60 0033E9C0 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341A64 0033E9C4 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341A68 0033E9C8 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341A6C 0033E9CC 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341A70 0033E9D0 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341A74 0033E9D4 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341A78 0033E9D8 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341A7C 0033E9DC 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341A80 0033E9E0 48 00 29 8D */ bl inflate_flush
|
|
/* 80341A84 0033E9E4 48 00 06 D4 */ b lbl_80342158
|
|
lbl_80341A88:
|
|
/* 80341A88 0033E9E8 88 1A 00 00 */ lbz r0, 0(r26)
|
|
/* 80341A8C 0033E9EC 3B 39 FF FF */ addi r25, r25, -1
|
|
/* 80341A90 0033E9F0 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 80341A94 0033E9F4 7C 00 D8 30 */ slw r0, r0, r27
|
|
/* 80341A98 0033E9F8 3B 7B 00 08 */ addi r27, r27, 8
|
|
/* 80341A9C 0033E9FC 7F 9C 03 78 */ or r28, r28, r0
|
|
/* 80341AA0 0033EA00 42 00 FF 9C */ bdnz lbl_80341A3C
|
|
lbl_80341AA4:
|
|
/* 80341AA4 0033EA04 80 7E 00 08 */ lwz r3, 8(r30)
|
|
/* 80341AA8 0033EA08 57 86 07 7E */ clrlwi r6, r28, 0x1d
|
|
/* 80341AAC 0033EA0C 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 80341AB0 0033EA10 57 9C E8 FE */ srwi r28, r28, 3
|
|
/* 80341AB4 0033EA14 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80341AB8 0033EA18 38 63 00 01 */ addi r3, r3, 1
|
|
/* 80341ABC 0033EA1C 7C 05 00 2E */ lwzx r0, r5, r0
|
|
/* 80341AC0 0033EA20 3B 7B FF FD */ addi r27, r27, -3
|
|
/* 80341AC4 0033EA24 90 7E 00 08 */ stw r3, 8(r30)
|
|
/* 80341AC8 0033EA28 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80341ACC 0033EA2C 7C C4 01 2E */ stwx r6, r4, r0
|
|
lbl_80341AD0:
|
|
/* 80341AD0 0033EA30 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 80341AD4 0033EA34 80 9E 00 08 */ lwz r4, 8(r30)
|
|
/* 80341AD8 0033EA38 54 03 B2 BE */ srwi r3, r0, 0xa
|
|
/* 80341ADC 0033EA3C 38 03 00 04 */ addi r0, r3, 4
|
|
/* 80341AE0 0033EA40 7C 04 00 40 */ cmplw r4, r0
|
|
/* 80341AE4 0033EA44 41 80 FF 44 */ blt lbl_80341A28
|
|
/* 80341AE8 0033EA48 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha
|
|
/* 80341AEC 0033EA4C 38 C0 00 00 */ li r6, 0
|
|
/* 80341AF0 0033EA50 38 63 7A A8 */ addi r3, r3, lbl_803D7AA8@l
|
|
/* 80341AF4 0033EA54 48 00 00 24 */ b lbl_80341B18
|
|
lbl_80341AF8:
|
|
/* 80341AF8 0033EA58 80 9E 00 08 */ lwz r4, 8(r30)
|
|
/* 80341AFC 0033EA5C 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 80341B00 0033EA60 54 80 10 3A */ slwi r0, r4, 2
|
|
/* 80341B04 0033EA64 38 84 00 01 */ addi r4, r4, 1
|
|
/* 80341B08 0033EA68 7C 03 00 2E */ lwzx r0, r3, r0
|
|
/* 80341B0C 0033EA6C 90 9E 00 08 */ stw r4, 8(r30)
|
|
/* 80341B10 0033EA70 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80341B14 0033EA74 7C C5 01 2E */ stwx r6, r5, r0
|
|
lbl_80341B18:
|
|
/* 80341B18 0033EA78 80 1E 00 08 */ lwz r0, 8(r30)
|
|
/* 80341B1C 0033EA7C 28 00 00 13 */ cmplwi r0, 0x13
|
|
/* 80341B20 0033EA80 41 80 FF D8 */ blt lbl_80341AF8
|
|
/* 80341B24 0033EA84 38 00 00 07 */ li r0, 7
|
|
/* 80341B28 0033EA88 7F E7 FB 78 */ mr r7, r31
|
|
/* 80341B2C 0033EA8C 90 1E 00 10 */ stw r0, 0x10(r30)
|
|
/* 80341B30 0033EA90 38 9E 00 10 */ addi r4, r30, 0x10
|
|
/* 80341B34 0033EA94 38 BE 00 14 */ addi r5, r30, 0x14
|
|
/* 80341B38 0033EA98 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 80341B3C 0033EA9C 80 DE 00 24 */ lwz r6, 0x24(r30)
|
|
/* 80341B40 0033EAA0 48 00 22 A1 */ bl inflate_trees_bits
|
|
/* 80341B44 0033EAA4 7C 77 1B 79 */ or. r23, r3, r3
|
|
/* 80341B48 0033EAA8 41 82 00 64 */ beq lbl_80341BAC
|
|
/* 80341B4C 0033EAAC 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 80341B50 0033EAB0 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80341B54 0033EAB4 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 80341B58 0033EAB8 7D 89 03 A6 */ mtctr r12
|
|
/* 80341B5C 0033EABC 4E 80 04 21 */ bctrl
|
|
/* 80341B60 0033EAC0 2C 17 FF FD */ cmpwi r23, -3
|
|
/* 80341B64 0033EAC4 40 82 00 0C */ bne lbl_80341B70
|
|
/* 80341B68 0033EAC8 38 00 00 09 */ li r0, 9
|
|
/* 80341B6C 0033EACC 90 1E 00 00 */ stw r0, 0(r30)
|
|
lbl_80341B70:
|
|
/* 80341B70 0033EAD0 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341B74 0033EAD4 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341B78 0033EAD8 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341B7C 0033EADC 7E E5 BB 78 */ mr r5, r23
|
|
/* 80341B80 0033EAE0 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341B84 0033EAE4 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341B88 0033EAE8 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341B8C 0033EAEC 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341B90 0033EAF0 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341B94 0033EAF4 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341B98 0033EAF8 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341B9C 0033EAFC 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341BA0 0033EB00 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341BA4 0033EB04 48 00 28 69 */ bl inflate_flush
|
|
/* 80341BA8 0033EB08 48 00 05 B0 */ b lbl_80342158
|
|
lbl_80341BAC:
|
|
/* 80341BAC 0033EB0C 38 60 00 00 */ li r3, 0
|
|
/* 80341BB0 0033EB10 38 00 00 05 */ li r0, 5
|
|
/* 80341BB4 0033EB14 90 7E 00 08 */ stw r3, 8(r30)
|
|
/* 80341BB8 0033EB18 90 1E 00 00 */ stw r0, 0(r30)
|
|
.global lbl_80341BBC
|
|
lbl_80341BBC:
|
|
/* 80341BBC 0033EB1C 3C 60 80 3F */ lis r3, inflate_mask@ha
|
|
/* 80341BC0 0033EB20 38 63 F5 C8 */ addi r3, r3, inflate_mask@l
|
|
/* 80341BC4 0033EB24 48 00 02 78 */ b lbl_80341E3C
|
|
lbl_80341BC8:
|
|
/* 80341BC8 0033EB28 80 DE 00 10 */ lwz r6, 0x10(r30)
|
|
/* 80341BCC 0033EB2C 38 A6 00 07 */ addi r5, r6, 7
|
|
/* 80341BD0 0033EB30 7C BB 28 50 */ subf r5, r27, r5
|
|
/* 80341BD4 0033EB34 54 A5 E8 FE */ srwi r5, r5, 3
|
|
/* 80341BD8 0033EB38 7C A9 03 A6 */ mtctr r5
|
|
/* 80341BDC 0033EB3C 7C 1B 30 40 */ cmplw r27, r6
|
|
/* 80341BE0 0033EB40 40 80 00 6C */ bge lbl_80341C4C
|
|
lbl_80341BE4:
|
|
/* 80341BE4 0033EB44 28 19 00 00 */ cmplwi r25, 0
|
|
/* 80341BE8 0033EB48 41 82 00 0C */ beq lbl_80341BF4
|
|
/* 80341BEC 0033EB4C 3A C0 00 00 */ li r22, 0
|
|
/* 80341BF0 0033EB50 48 00 00 40 */ b lbl_80341C30
|
|
lbl_80341BF4:
|
|
/* 80341BF4 0033EB54 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341BF8 0033EB58 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341BFC 0033EB5C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341C00 0033EB60 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341C04 0033EB64 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341C08 0033EB68 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341C0C 0033EB6C 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341C10 0033EB70 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341C14 0033EB74 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341C18 0033EB78 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341C1C 0033EB7C 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341C20 0033EB80 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341C24 0033EB84 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341C28 0033EB88 48 00 27 E5 */ bl inflate_flush
|
|
/* 80341C2C 0033EB8C 48 00 05 2C */ b lbl_80342158
|
|
lbl_80341C30:
|
|
/* 80341C30 0033EB90 88 BA 00 00 */ lbz r5, 0(r26)
|
|
/* 80341C34 0033EB94 3B 39 FF FF */ addi r25, r25, -1
|
|
/* 80341C38 0033EB98 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 80341C3C 0033EB9C 7C A5 D8 30 */ slw r5, r5, r27
|
|
/* 80341C40 0033EBA0 3B 7B 00 08 */ addi r27, r27, 8
|
|
/* 80341C44 0033EBA4 7F 9C 2B 78 */ or r28, r28, r5
|
|
/* 80341C48 0033EBA8 42 00 FF 9C */ bdnz lbl_80341BE4
|
|
lbl_80341C4C:
|
|
/* 80341C4C 0033EBAC 54 C5 10 3A */ slwi r5, r6, 2
|
|
/* 80341C50 0033EBB0 80 DE 00 14 */ lwz r6, 0x14(r30)
|
|
/* 80341C54 0033EBB4 7C A3 28 2E */ lwzx r5, r3, r5
|
|
/* 80341C58 0033EBB8 7F 85 28 38 */ and r5, r28, r5
|
|
/* 80341C5C 0033EBBC 54 A5 18 38 */ slwi r5, r5, 3
|
|
/* 80341C60 0033EBC0 7C C6 2A 14 */ add r6, r6, r5
|
|
/* 80341C64 0033EBC4 80 A6 00 04 */ lwz r5, 4(r6)
|
|
/* 80341C68 0033EBC8 89 66 00 01 */ lbz r11, 1(r6)
|
|
/* 80341C6C 0033EBCC 28 05 00 10 */ cmplwi r5, 0x10
|
|
/* 80341C70 0033EBD0 40 80 00 28 */ bge lbl_80341C98
|
|
/* 80341C74 0033EBD4 80 DE 00 08 */ lwz r6, 8(r30)
|
|
/* 80341C78 0033EBD8 7F 9C 5C 30 */ srw r28, r28, r11
|
|
/* 80341C7C 0033EBDC 80 FE 00 0C */ lwz r7, 0xc(r30)
|
|
/* 80341C80 0033EBE0 7F 6B D8 50 */ subf r27, r11, r27
|
|
/* 80341C84 0033EBE4 38 86 00 01 */ addi r4, r6, 1
|
|
/* 80341C88 0033EBE8 54 C0 10 3A */ slwi r0, r6, 2
|
|
/* 80341C8C 0033EBEC 90 9E 00 08 */ stw r4, 8(r30)
|
|
/* 80341C90 0033EBF0 7C A7 01 2E */ stwx r5, r7, r0
|
|
/* 80341C94 0033EBF4 48 00 01 A8 */ b lbl_80341E3C
|
|
lbl_80341C98:
|
|
/* 80341C98 0033EBF8 28 05 00 12 */ cmplwi r5, 0x12
|
|
/* 80341C9C 0033EBFC 39 40 00 07 */ li r10, 7
|
|
/* 80341CA0 0033EC00 41 82 00 08 */ beq lbl_80341CA8
|
|
/* 80341CA4 0033EC04 39 45 FF F2 */ addi r10, r5, -14
|
|
lbl_80341CA8:
|
|
/* 80341CA8 0033EC08 28 05 00 12 */ cmplwi r5, 0x12
|
|
/* 80341CAC 0033EC0C 39 20 00 03 */ li r9, 3
|
|
/* 80341CB0 0033EC10 40 82 00 08 */ bne lbl_80341CB8
|
|
/* 80341CB4 0033EC14 39 20 00 0B */ li r9, 0xb
|
|
lbl_80341CB8:
|
|
/* 80341CB8 0033EC18 7C EB 52 14 */ add r7, r11, r10
|
|
/* 80341CBC 0033EC1C 38 C7 00 07 */ addi r6, r7, 7
|
|
/* 80341CC0 0033EC20 7C DB 30 50 */ subf r6, r27, r6
|
|
/* 80341CC4 0033EC24 54 C6 E8 FE */ srwi r6, r6, 3
|
|
/* 80341CC8 0033EC28 7C C9 03 A6 */ mtctr r6
|
|
/* 80341CCC 0033EC2C 7C 1B 38 40 */ cmplw r27, r7
|
|
/* 80341CD0 0033EC30 40 80 00 6C */ bge lbl_80341D3C
|
|
lbl_80341CD4:
|
|
/* 80341CD4 0033EC34 28 19 00 00 */ cmplwi r25, 0
|
|
/* 80341CD8 0033EC38 41 82 00 0C */ beq lbl_80341CE4
|
|
/* 80341CDC 0033EC3C 3A C0 00 00 */ li r22, 0
|
|
/* 80341CE0 0033EC40 48 00 00 40 */ b lbl_80341D20
|
|
lbl_80341CE4:
|
|
/* 80341CE4 0033EC44 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341CE8 0033EC48 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341CEC 0033EC4C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341CF0 0033EC50 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341CF4 0033EC54 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341CF8 0033EC58 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341CFC 0033EC5C 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341D00 0033EC60 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341D04 0033EC64 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341D08 0033EC68 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341D0C 0033EC6C 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341D10 0033EC70 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341D14 0033EC74 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341D18 0033EC78 48 00 26 F5 */ bl inflate_flush
|
|
/* 80341D1C 0033EC7C 48 00 04 3C */ b lbl_80342158
|
|
lbl_80341D20:
|
|
/* 80341D20 0033EC80 88 DA 00 00 */ lbz r6, 0(r26)
|
|
/* 80341D24 0033EC84 3B 39 FF FF */ addi r25, r25, -1
|
|
/* 80341D28 0033EC88 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 80341D2C 0033EC8C 7C C6 D8 30 */ slw r6, r6, r27
|
|
/* 80341D30 0033EC90 3B 7B 00 08 */ addi r27, r27, 8
|
|
/* 80341D34 0033EC94 7F 9C 33 78 */ or r28, r28, r6
|
|
/* 80341D38 0033EC98 42 00 FF 9C */ bdnz lbl_80341CD4
|
|
lbl_80341D3C:
|
|
/* 80341D3C 0033EC9C 3C C0 80 3F */ lis r6, inflate_mask@ha
|
|
/* 80341D40 0033ECA0 7F 6B D8 50 */ subf r27, r11, r27
|
|
/* 80341D44 0033ECA4 55 48 10 3A */ slwi r8, r10, 2
|
|
/* 80341D48 0033ECA8 7F 9C 5C 30 */ srw r28, r28, r11
|
|
/* 80341D4C 0033ECAC 38 E6 F5 C8 */ addi r7, r6, inflate_mask@l
|
|
/* 80341D50 0033ECB0 54 86 06 FE */ clrlwi r6, r4, 0x1b
|
|
/* 80341D54 0033ECB4 7C E7 40 2E */ lwzx r7, r7, r8
|
|
/* 80341D58 0033ECB8 54 84 DE FE */ rlwinm r4, r4, 0x1b, 0x1b, 0x1f
|
|
/* 80341D5C 0033ECBC 7C 86 22 14 */ add r4, r6, r4
|
|
/* 80341D60 0033ECC0 7C 08 03 78 */ mr r8, r0
|
|
/* 80341D64 0033ECC4 7F 86 38 38 */ and r6, r28, r7
|
|
/* 80341D68 0033ECC8 7F 9C 54 30 */ srw r28, r28, r10
|
|
/* 80341D6C 0033ECCC 7C E9 32 14 */ add r7, r9, r6
|
|
/* 80341D70 0033ECD0 38 84 01 02 */ addi r4, r4, 0x102
|
|
/* 80341D74 0033ECD4 7C C0 3A 14 */ add r6, r0, r7
|
|
/* 80341D78 0033ECD8 7F 6A D8 50 */ subf r27, r10, r27
|
|
/* 80341D7C 0033ECDC 7C 06 20 40 */ cmplw r6, r4
|
|
/* 80341D80 0033ECE0 41 81 00 14 */ bgt lbl_80341D94
|
|
/* 80341D84 0033ECE4 28 05 00 10 */ cmplwi r5, 0x10
|
|
/* 80341D88 0033ECE8 40 82 00 74 */ bne lbl_80341DFC
|
|
/* 80341D8C 0033ECEC 28 00 00 01 */ cmplwi r0, 1
|
|
/* 80341D90 0033ECF0 40 80 00 6C */ bge lbl_80341DFC
|
|
lbl_80341D94:
|
|
/* 80341D94 0033ECF4 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 80341D98 0033ECF8 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80341D9C 0033ECFC 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 80341DA0 0033ED00 7D 89 03 A6 */ mtctr r12
|
|
/* 80341DA4 0033ED04 4E 80 04 21 */ bctrl
|
|
/* 80341DA8 0033ED08 38 00 00 09 */ li r0, 9
|
|
/* 80341DAC 0033ED0C 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha
|
|
/* 80341DB0 0033ED10 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l
|
|
/* 80341DB4 0033ED14 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80341DB8 0033ED18 38 03 00 54 */ addi r0, r3, 0x54
|
|
/* 80341DBC 0033ED1C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341DC0 0033ED20 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 80341DC4 0033ED24 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341DC8 0033ED28 38 A0 FF FD */ li r5, -3
|
|
/* 80341DCC 0033ED2C 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341DD0 0033ED30 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341DD4 0033ED34 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341DD8 0033ED38 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341DDC 0033ED3C 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341DE0 0033ED40 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341DE4 0033ED44 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341DE8 0033ED48 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341DEC 0033ED4C 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341DF0 0033ED50 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341DF4 0033ED54 48 00 26 19 */ bl inflate_flush
|
|
/* 80341DF8 0033ED58 48 00 03 60 */ b lbl_80342158
|
|
lbl_80341DFC:
|
|
/* 80341DFC 0033ED5C 28 05 00 10 */ cmplwi r5, 0x10
|
|
/* 80341E00 0033ED60 40 82 00 18 */ bne lbl_80341E18
|
|
/* 80341E04 0033ED64 54 04 10 3A */ slwi r4, r0, 2
|
|
/* 80341E08 0033ED68 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 80341E0C 0033ED6C 38 04 FF FC */ addi r0, r4, -4
|
|
/* 80341E10 0033ED70 7C 05 00 2E */ lwzx r0, r5, r0
|
|
/* 80341E14 0033ED74 48 00 00 08 */ b lbl_80341E1C
|
|
lbl_80341E18:
|
|
/* 80341E18 0033ED78 38 00 00 00 */ li r0, 0
|
|
lbl_80341E1C:
|
|
/* 80341E1C 0033ED7C 55 04 10 3A */ slwi r4, r8, 2
|
|
lbl_80341E20:
|
|
/* 80341E20 0033ED80 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 80341E24 0033ED84 34 E7 FF FF */ addic. r7, r7, -1
|
|
/* 80341E28 0033ED88 39 08 00 01 */ addi r8, r8, 1
|
|
/* 80341E2C 0033ED8C 7C 05 21 2E */ stwx r0, r5, r4
|
|
/* 80341E30 0033ED90 38 84 00 04 */ addi r4, r4, 4
|
|
/* 80341E34 0033ED94 40 82 FF EC */ bne lbl_80341E20
|
|
/* 80341E38 0033ED98 91 1E 00 08 */ stw r8, 8(r30)
|
|
lbl_80341E3C:
|
|
/* 80341E3C 0033ED9C 80 9E 00 04 */ lwz r4, 4(r30)
|
|
/* 80341E40 0033EDA0 80 1E 00 08 */ lwz r0, 8(r30)
|
|
/* 80341E44 0033EDA4 54 86 06 FE */ clrlwi r6, r4, 0x1b
|
|
/* 80341E48 0033EDA8 54 85 DE FE */ rlwinm r5, r4, 0x1b, 0x1b, 0x1f
|
|
/* 80341E4C 0033EDAC 7C A6 2A 14 */ add r5, r6, r5
|
|
/* 80341E50 0033EDB0 38 A5 01 02 */ addi r5, r5, 0x102
|
|
/* 80341E54 0033EDB4 7C 00 28 40 */ cmplw r0, r5
|
|
/* 80341E58 0033EDB8 41 80 FD 70 */ blt lbl_80341BC8
|
|
/* 80341E5C 0033EDBC 38 00 00 00 */ li r0, 0
|
|
/* 80341E60 0033EDC0 38 60 00 09 */ li r3, 9
|
|
/* 80341E64 0033EDC4 90 1E 00 14 */ stw r0, 0x14(r30)
|
|
/* 80341E68 0033EDC8 38 00 00 06 */ li r0, 6
|
|
/* 80341E6C 0033EDCC 38 C1 00 1C */ addi r6, r1, 0x1c
|
|
/* 80341E70 0033EDD0 38 E1 00 18 */ addi r7, r1, 0x18
|
|
/* 80341E74 0033EDD4 90 61 00 1C */ stw r3, 0x1c(r1)
|
|
/* 80341E78 0033EDD8 39 01 00 14 */ addi r8, r1, 0x14
|
|
/* 80341E7C 0033EDDC 39 21 00 10 */ addi r9, r1, 0x10
|
|
/* 80341E80 0033EDE0 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 80341E84 0033EDE4 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 80341E88 0033EDE8 93 E1 00 08 */ stw r31, 8(r1)
|
|
/* 80341E8C 0033EDEC 54 03 06 FE */ clrlwi r3, r0, 0x1b
|
|
/* 80341E90 0033EDF0 54 04 DE FE */ rlwinm r4, r0, 0x1b, 0x1b, 0x1f
|
|
/* 80341E94 0033EDF4 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 80341E98 0033EDF8 38 63 01 01 */ addi r3, r3, 0x101
|
|
/* 80341E9C 0033EDFC 81 5E 00 24 */ lwz r10, 0x24(r30)
|
|
/* 80341EA0 0033EE00 38 84 00 01 */ addi r4, r4, 1
|
|
/* 80341EA4 0033EE04 48 00 1D 4D */ bl inflate_trees_dynamic
|
|
/* 80341EA8 0033EE08 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 80341EAC 0033EE0C 7C 77 1B 78 */ mr r23, r3
|
|
/* 80341EB0 0033EE10 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80341EB4 0033EE14 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 80341EB8 0033EE18 7D 89 03 A6 */ mtctr r12
|
|
/* 80341EBC 0033EE1C 4E 80 04 21 */ bctrl
|
|
/* 80341EC0 0033EE20 28 17 00 00 */ cmplwi r23, 0
|
|
/* 80341EC4 0033EE24 41 82 00 54 */ beq lbl_80341F18
|
|
/* 80341EC8 0033EE28 3C 17 00 01 */ addis r0, r23, 1
|
|
/* 80341ECC 0033EE2C 28 00 FF FD */ cmplwi r0, 0xfffd
|
|
/* 80341ED0 0033EE30 40 82 00 0C */ bne lbl_80341EDC
|
|
/* 80341ED4 0033EE34 38 00 00 09 */ li r0, 9
|
|
/* 80341ED8 0033EE38 90 1E 00 00 */ stw r0, 0(r30)
|
|
lbl_80341EDC:
|
|
/* 80341EDC 0033EE3C 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341EE0 0033EE40 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341EE4 0033EE44 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341EE8 0033EE48 7E E5 BB 78 */ mr r5, r23
|
|
/* 80341EEC 0033EE4C 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341EF0 0033EE50 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341EF4 0033EE54 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341EF8 0033EE58 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341EFC 0033EE5C 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341F00 0033EE60 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341F04 0033EE64 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341F08 0033EE68 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341F0C 0033EE6C 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341F10 0033EE70 48 00 24 FD */ bl inflate_flush
|
|
/* 80341F14 0033EE74 48 00 02 44 */ b lbl_80342158
|
|
lbl_80341F18:
|
|
/* 80341F18 0033EE78 80 61 00 1C */ lwz r3, 0x1c(r1)
|
|
/* 80341F1C 0033EE7C 7F E7 FB 78 */ mr r7, r31
|
|
/* 80341F20 0033EE80 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
/* 80341F24 0033EE84 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
/* 80341F28 0033EE88 80 C1 00 10 */ lwz r6, 0x10(r1)
|
|
/* 80341F2C 0033EE8C 48 00 0E 15 */ bl inflate_codes_new
|
|
/* 80341F30 0033EE90 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80341F34 0033EE94 40 82 00 40 */ bne lbl_80341F74
|
|
/* 80341F38 0033EE98 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341F3C 0033EE9C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341F40 0033EEA0 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341F44 0033EEA4 38 A0 FF FC */ li r5, -4
|
|
/* 80341F48 0033EEA8 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341F4C 0033EEAC 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341F50 0033EEB0 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341F54 0033EEB4 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341F58 0033EEB8 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341F5C 0033EEBC 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341F60 0033EEC0 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341F64 0033EEC4 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341F68 0033EEC8 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341F6C 0033EECC 48 00 24 A1 */ bl inflate_flush
|
|
/* 80341F70 0033EED0 48 00 01 E8 */ b lbl_80342158
|
|
lbl_80341F74:
|
|
/* 80341F74 0033EED4 90 7E 00 04 */ stw r3, 4(r30)
|
|
/* 80341F78 0033EED8 38 00 00 06 */ li r0, 6
|
|
/* 80341F7C 0033EEDC 90 1E 00 00 */ stw r0, 0(r30)
|
|
.global lbl_80341F80
|
|
lbl_80341F80:
|
|
/* 80341F80 0033EEE0 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80341F84 0033EEE4 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341F88 0033EEE8 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341F8C 0033EEEC 7E C5 B3 78 */ mr r5, r22
|
|
/* 80341F90 0033EEF0 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80341F94 0033EEF4 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80341F98 0033EEF8 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80341F9C 0033EEFC 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80341FA0 0033EF00 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80341FA4 0033EF04 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80341FA8 0033EF08 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80341FAC 0033EF0C 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80341FB0 0033EF10 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80341FB4 0033EF14 48 00 04 55 */ bl inflate_codes
|
|
/* 80341FB8 0033EF18 7C 65 1B 78 */ mr r5, r3
|
|
/* 80341FBC 0033EF1C 2C 05 00 01 */ cmpwi r5, 1
|
|
/* 80341FC0 0033EF20 41 82 00 14 */ beq lbl_80341FD4
|
|
/* 80341FC4 0033EF24 7F C3 F3 78 */ mr r3, r30
|
|
/* 80341FC8 0033EF28 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341FCC 0033EF2C 48 00 24 41 */ bl inflate_flush
|
|
/* 80341FD0 0033EF30 48 00 01 88 */ b lbl_80342158
|
|
lbl_80341FD4:
|
|
/* 80341FD4 0033EF34 80 7E 00 04 */ lwz r3, 4(r30)
|
|
/* 80341FD8 0033EF38 7F E4 FB 78 */ mr r4, r31
|
|
/* 80341FDC 0033EF3C 3A C0 00 00 */ li r22, 0
|
|
/* 80341FE0 0033EF40 48 00 03 F5 */ bl inflate_codes_free
|
|
/* 80341FE4 0033EF44 83 1E 00 34 */ lwz r24, 0x34(r30)
|
|
/* 80341FE8 0033EF48 80 1E 00 30 */ lwz r0, 0x30(r30)
|
|
/* 80341FEC 0033EF4C 83 5F 00 00 */ lwz r26, 0(r31)
|
|
/* 80341FF0 0033EF50 7C 18 00 40 */ cmplw r24, r0
|
|
/* 80341FF4 0033EF54 83 3F 00 04 */ lwz r25, 4(r31)
|
|
/* 80341FF8 0033EF58 83 9E 00 20 */ lwz r28, 0x20(r30)
|
|
/* 80341FFC 0033EF5C 83 7E 00 1C */ lwz r27, 0x1c(r30)
|
|
/* 80342000 0033EF60 40 80 00 10 */ bge lbl_80342010
|
|
/* 80342004 0033EF64 7C 78 00 50 */ subf r3, r24, r0
|
|
/* 80342008 0033EF68 38 63 FF FF */ addi r3, r3, -1
|
|
/* 8034200C 0033EF6C 48 00 00 0C */ b lbl_80342018
|
|
lbl_80342010:
|
|
/* 80342010 0033EF70 80 1E 00 2C */ lwz r0, 0x2c(r30)
|
|
/* 80342014 0033EF74 7C 78 00 50 */ subf r3, r24, r0
|
|
lbl_80342018:
|
|
/* 80342018 0033EF78 80 1E 00 18 */ lwz r0, 0x18(r30)
|
|
/* 8034201C 0033EF7C 7C 77 1B 78 */ mr r23, r3
|
|
/* 80342020 0033EF80 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80342024 0033EF84 40 82 00 10 */ bne lbl_80342034
|
|
/* 80342028 0033EF88 38 00 00 00 */ li r0, 0
|
|
/* 8034202C 0033EF8C 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80342030 0033EF90 4B FF F3 C8 */ b lbl_803413F8
|
|
lbl_80342034:
|
|
/* 80342034 0033EF94 38 00 00 07 */ li r0, 7
|
|
/* 80342038 0033EF98 90 1E 00 00 */ stw r0, 0(r30)
|
|
.global lbl_8034203C
|
|
lbl_8034203C:
|
|
/* 8034203C 0033EF9C 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80342040 0033EFA0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80342044 0033EFA4 7F E4 FB 78 */ mr r4, r31
|
|
/* 80342048 0033EFA8 7E C5 B3 78 */ mr r5, r22
|
|
/* 8034204C 0033EFAC 48 00 23 C1 */ bl inflate_flush
|
|
/* 80342050 0033EFB0 80 FE 00 34 */ lwz r7, 0x34(r30)
|
|
/* 80342054 0033EFB4 7C 65 1B 78 */ mr r5, r3
|
|
/* 80342058 0033EFB8 80 1E 00 30 */ lwz r0, 0x30(r30)
|
|
/* 8034205C 0033EFBC 7C F8 3B 78 */ mr r24, r7
|
|
/* 80342060 0033EFC0 7C 00 38 40 */ cmplw r0, r7
|
|
/* 80342064 0033EFC4 41 82 00 3C */ beq lbl_803420A0
|
|
/* 80342068 0033EFC8 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 8034206C 0033EFCC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80342070 0033EFD0 7F E4 FB 78 */ mr r4, r31
|
|
/* 80342074 0033EFD4 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80342078 0033EFD8 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 8034207C 0033EFDC 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80342080 0033EFE0 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80342084 0033EFE4 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80342088 0033EFE8 7C 06 02 14 */ add r0, r6, r0
|
|
/* 8034208C 0033EFEC 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80342090 0033EFF0 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80342094 0033EFF4 90 FE 00 34 */ stw r7, 0x34(r30)
|
|
/* 80342098 0033EFF8 48 00 23 75 */ bl inflate_flush
|
|
/* 8034209C 0033EFFC 48 00 00 BC */ b lbl_80342158
|
|
lbl_803420A0:
|
|
/* 803420A0 0033F000 38 00 00 08 */ li r0, 8
|
|
/* 803420A4 0033F004 90 1E 00 00 */ stw r0, 0(r30)
|
|
.global lbl_803420A8
|
|
lbl_803420A8:
|
|
/* 803420A8 0033F008 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 803420AC 0033F00C 7F C3 F3 78 */ mr r3, r30
|
|
/* 803420B0 0033F010 7F E4 FB 78 */ mr r4, r31
|
|
/* 803420B4 0033F014 38 A0 00 01 */ li r5, 1
|
|
/* 803420B8 0033F018 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 803420BC 0033F01C 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 803420C0 0033F020 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 803420C4 0033F024 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 803420C8 0033F028 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 803420CC 0033F02C 7C 06 02 14 */ add r0, r6, r0
|
|
/* 803420D0 0033F030 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 803420D4 0033F034 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 803420D8 0033F038 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 803420DC 0033F03C 48 00 23 31 */ bl inflate_flush
|
|
/* 803420E0 0033F040 48 00 00 78 */ b lbl_80342158
|
|
.global lbl_803420E4
|
|
lbl_803420E4:
|
|
/* 803420E4 0033F044 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 803420E8 0033F048 7F C3 F3 78 */ mr r3, r30
|
|
/* 803420EC 0033F04C 7F E4 FB 78 */ mr r4, r31
|
|
/* 803420F0 0033F050 38 A0 FF FD */ li r5, -3
|
|
/* 803420F4 0033F054 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 803420F8 0033F058 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 803420FC 0033F05C 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80342100 0033F060 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80342104 0033F064 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80342108 0033F068 7C 06 02 14 */ add r0, r6, r0
|
|
/* 8034210C 0033F06C 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80342110 0033F070 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80342114 0033F074 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80342118 0033F078 48 00 22 F5 */ bl inflate_flush
|
|
/* 8034211C 0033F07C 48 00 00 3C */ b lbl_80342158
|
|
lbl_80342120:
|
|
/* 80342120 0033F080 93 9E 00 20 */ stw r28, 0x20(r30)
|
|
/* 80342124 0033F084 7F C3 F3 78 */ mr r3, r30
|
|
/* 80342128 0033F088 7F E4 FB 78 */ mr r4, r31
|
|
/* 8034212C 0033F08C 38 A0 FF FE */ li r5, -2
|
|
/* 80342130 0033F090 93 7E 00 1C */ stw r27, 0x1c(r30)
|
|
/* 80342134 0033F094 93 3F 00 04 */ stw r25, 4(r31)
|
|
/* 80342138 0033F098 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 8034213C 0033F09C 80 DF 00 08 */ lwz r6, 8(r31)
|
|
/* 80342140 0033F0A0 7C 00 D0 50 */ subf r0, r0, r26
|
|
/* 80342144 0033F0A4 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80342148 0033F0A8 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 8034214C 0033F0AC 93 5F 00 00 */ stw r26, 0(r31)
|
|
/* 80342150 0033F0B0 93 1E 00 34 */ stw r24, 0x34(r30)
|
|
/* 80342154 0033F0B4 48 00 22 B9 */ bl inflate_flush
|
|
lbl_80342158:
|
|
/* 80342158 0033F0B8 BA A1 00 34 */ lmw r21, 0x34(r1)
|
|
/* 8034215C 0033F0BC 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 80342160 0033F0C0 7C 08 03 A6 */ mtlr r0
|
|
/* 80342164 0033F0C4 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 80342168 0033F0C8 4E 80 00 20 */ blr
|
|
|
|
.global inflate_blocks_new
|
|
inflate_blocks_new:
|
|
/* 8034216C 0033F0CC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80342170 0033F0D0 7C 08 02 A6 */ mflr r0
|
|
/* 80342174 0033F0D4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80342178 0033F0D8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034217C 0033F0DC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80342180 0033F0E0 7C BE 2B 78 */ mr r30, r5
|
|
/* 80342184 0033F0E4 38 A0 00 40 */ li r5, 0x40
|
|
/* 80342188 0033F0E8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8034218C 0033F0EC 7C 9D 23 78 */ mr r29, r4
|
|
/* 80342190 0033F0F0 38 80 00 01 */ li r4, 1
|
|
/* 80342194 0033F0F4 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80342198 0033F0F8 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8034219C 0033F0FC 81 83 00 20 */ lwz r12, 0x20(r3)
|
|
/* 803421A0 0033F100 80 63 00 28 */ lwz r3, 0x28(r3)
|
|
/* 803421A4 0033F104 7D 89 03 A6 */ mtctr r12
|
|
/* 803421A8 0033F108 4E 80 04 21 */ bctrl
|
|
/* 803421AC 0033F10C 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 803421B0 0033F110 40 82 00 08 */ bne lbl_803421B8
|
|
/* 803421B4 0033F114 48 00 01 38 */ b lbl_803422EC
|
|
lbl_803421B8:
|
|
/* 803421B8 0033F118 81 9C 00 20 */ lwz r12, 0x20(r28)
|
|
/* 803421BC 0033F11C 38 80 00 08 */ li r4, 8
|
|
/* 803421C0 0033F120 80 7C 00 28 */ lwz r3, 0x28(r28)
|
|
/* 803421C4 0033F124 38 A0 05 A0 */ li r5, 0x5a0
|
|
/* 803421C8 0033F128 7D 89 03 A6 */ mtctr r12
|
|
/* 803421CC 0033F12C 4E 80 04 21 */ bctrl
|
|
/* 803421D0 0033F130 28 03 00 00 */ cmplwi r3, 0
|
|
/* 803421D4 0033F134 90 7F 00 24 */ stw r3, 0x24(r31)
|
|
/* 803421D8 0033F138 40 82 00 20 */ bne lbl_803421F8
|
|
/* 803421DC 0033F13C 81 9C 00 24 */ lwz r12, 0x24(r28)
|
|
/* 803421E0 0033F140 7F E4 FB 78 */ mr r4, r31
|
|
/* 803421E4 0033F144 80 7C 00 28 */ lwz r3, 0x28(r28)
|
|
/* 803421E8 0033F148 7D 89 03 A6 */ mtctr r12
|
|
/* 803421EC 0033F14C 4E 80 04 21 */ bctrl
|
|
/* 803421F0 0033F150 38 60 00 00 */ li r3, 0
|
|
/* 803421F4 0033F154 48 00 00 F8 */ b lbl_803422EC
|
|
lbl_803421F8:
|
|
/* 803421F8 0033F158 81 9C 00 20 */ lwz r12, 0x20(r28)
|
|
/* 803421FC 0033F15C 7F C5 F3 78 */ mr r5, r30
|
|
/* 80342200 0033F160 80 7C 00 28 */ lwz r3, 0x28(r28)
|
|
/* 80342204 0033F164 38 80 00 01 */ li r4, 1
|
|
/* 80342208 0033F168 7D 89 03 A6 */ mtctr r12
|
|
/* 8034220C 0033F16C 4E 80 04 21 */ bctrl
|
|
/* 80342210 0033F170 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80342214 0033F174 90 7F 00 28 */ stw r3, 0x28(r31)
|
|
/* 80342218 0033F178 40 82 00 34 */ bne lbl_8034224C
|
|
/* 8034221C 0033F17C 81 9C 00 24 */ lwz r12, 0x24(r28)
|
|
/* 80342220 0033F180 80 7C 00 28 */ lwz r3, 0x28(r28)
|
|
/* 80342224 0033F184 80 9F 00 24 */ lwz r4, 0x24(r31)
|
|
/* 80342228 0033F188 7D 89 03 A6 */ mtctr r12
|
|
/* 8034222C 0033F18C 4E 80 04 21 */ bctrl
|
|
/* 80342230 0033F190 81 9C 00 24 */ lwz r12, 0x24(r28)
|
|
/* 80342234 0033F194 7F E4 FB 78 */ mr r4, r31
|
|
/* 80342238 0033F198 80 7C 00 28 */ lwz r3, 0x28(r28)
|
|
/* 8034223C 0033F19C 7D 89 03 A6 */ mtctr r12
|
|
/* 80342240 0033F1A0 4E 80 04 21 */ bctrl
|
|
/* 80342244 0033F1A4 38 60 00 00 */ li r3, 0
|
|
/* 80342248 0033F1A8 48 00 00 A4 */ b lbl_803422EC
|
|
lbl_8034224C:
|
|
/* 8034224C 0033F1AC 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80342250 0033F1B0 38 00 00 00 */ li r0, 0
|
|
/* 80342254 0033F1B4 7C 63 F2 14 */ add r3, r3, r30
|
|
/* 80342258 0033F1B8 90 7F 00 2C */ stw r3, 0x2c(r31)
|
|
/* 8034225C 0033F1BC 93 BF 00 38 */ stw r29, 0x38(r31)
|
|
/* 80342260 0033F1C0 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 80342264 0033F1C4 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80342268 0033F1C8 2C 00 00 04 */ cmpwi r0, 4
|
|
/* 8034226C 0033F1CC 41 82 00 0C */ beq lbl_80342278
|
|
/* 80342270 0033F1D0 2C 00 00 05 */ cmpwi r0, 5
|
|
/* 80342274 0033F1D4 40 82 00 18 */ bne lbl_8034228C
|
|
lbl_80342278:
|
|
/* 80342278 0033F1D8 81 9C 00 24 */ lwz r12, 0x24(r28)
|
|
/* 8034227C 0033F1DC 80 7C 00 28 */ lwz r3, 0x28(r28)
|
|
/* 80342280 0033F1E0 80 9F 00 0C */ lwz r4, 0xc(r31)
|
|
/* 80342284 0033F1E4 7D 89 03 A6 */ mtctr r12
|
|
/* 80342288 0033F1E8 4E 80 04 21 */ bctrl
|
|
lbl_8034228C:
|
|
/* 8034228C 0033F1EC 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80342290 0033F1F0 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 80342294 0033F1F4 40 82 00 10 */ bne lbl_803422A4
|
|
/* 80342298 0033F1F8 80 7F 00 04 */ lwz r3, 4(r31)
|
|
/* 8034229C 0033F1FC 7F 84 E3 78 */ mr r4, r28
|
|
/* 803422A0 0033F200 48 00 01 35 */ bl inflate_codes_free
|
|
lbl_803422A4:
|
|
/* 803422A4 0033F204 38 00 00 00 */ li r0, 0
|
|
/* 803422A8 0033F208 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 803422AC 0033F20C 90 1F 00 1C */ stw r0, 0x1c(r31)
|
|
/* 803422B0 0033F210 90 1F 00 20 */ stw r0, 0x20(r31)
|
|
/* 803422B4 0033F214 80 1F 00 28 */ lwz r0, 0x28(r31)
|
|
/* 803422B8 0033F218 90 1F 00 34 */ stw r0, 0x34(r31)
|
|
/* 803422BC 0033F21C 90 1F 00 30 */ stw r0, 0x30(r31)
|
|
/* 803422C0 0033F220 81 9F 00 38 */ lwz r12, 0x38(r31)
|
|
/* 803422C4 0033F224 28 0C 00 00 */ cmplwi r12, 0
|
|
/* 803422C8 0033F228 41 82 00 20 */ beq lbl_803422E8
|
|
/* 803422CC 0033F22C 38 60 00 00 */ li r3, 0
|
|
/* 803422D0 0033F230 38 80 00 00 */ li r4, 0
|
|
/* 803422D4 0033F234 38 A0 00 00 */ li r5, 0
|
|
/* 803422D8 0033F238 7D 89 03 A6 */ mtctr r12
|
|
/* 803422DC 0033F23C 4E 80 04 21 */ bctrl
|
|
/* 803422E0 0033F240 90 7F 00 3C */ stw r3, 0x3c(r31)
|
|
/* 803422E4 0033F244 90 7C 00 30 */ stw r3, 0x30(r28)
|
|
lbl_803422E8:
|
|
/* 803422E8 0033F248 7F E3 FB 78 */ mr r3, r31
|
|
lbl_803422EC:
|
|
/* 803422EC 0033F24C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 803422F0 0033F250 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 803422F4 0033F254 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 803422F8 0033F258 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 803422FC 0033F25C 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80342300 0033F260 7C 08 03 A6 */ mtlr r0
|
|
/* 80342304 0033F264 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80342308 0033F268 4E 80 00 20 */ blr
|
|
|
|
.global inflate_blocks_reset
|
|
inflate_blocks_reset:
|
|
/* 8034230C 0033F26C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80342310 0033F270 7C 08 02 A6 */ mflr r0
|
|
/* 80342314 0033F274 28 05 00 00 */ cmplwi r5, 0
|
|
/* 80342318 0033F278 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034231C 0033F27C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80342320 0033F280 7C 9F 23 78 */ mr r31, r4
|
|
/* 80342324 0033F284 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80342328 0033F288 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034232C 0033F28C 41 82 00 0C */ beq lbl_80342338
|
|
/* 80342330 0033F290 80 1E 00 3C */ lwz r0, 0x3c(r30)
|
|
/* 80342334 0033F294 90 05 00 00 */ stw r0, 0(r5)
|
|
lbl_80342338:
|
|
/* 80342338 0033F298 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 8034233C 0033F29C 2C 00 00 04 */ cmpwi r0, 4
|
|
/* 80342340 0033F2A0 41 82 00 0C */ beq lbl_8034234C
|
|
/* 80342344 0033F2A4 2C 00 00 05 */ cmpwi r0, 5
|
|
/* 80342348 0033F2A8 40 82 00 18 */ bne lbl_80342360
|
|
lbl_8034234C:
|
|
/* 8034234C 0033F2AC 81 9F 00 24 */ lwz r12, 0x24(r31)
|
|
/* 80342350 0033F2B0 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80342354 0033F2B4 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 80342358 0033F2B8 7D 89 03 A6 */ mtctr r12
|
|
/* 8034235C 0033F2BC 4E 80 04 21 */ bctrl
|
|
lbl_80342360:
|
|
/* 80342360 0033F2C0 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80342364 0033F2C4 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 80342368 0033F2C8 40 82 00 10 */ bne lbl_80342378
|
|
/* 8034236C 0033F2CC 80 7E 00 04 */ lwz r3, 4(r30)
|
|
/* 80342370 0033F2D0 7F E4 FB 78 */ mr r4, r31
|
|
/* 80342374 0033F2D4 48 00 00 61 */ bl inflate_codes_free
|
|
lbl_80342378:
|
|
/* 80342378 0033F2D8 38 00 00 00 */ li r0, 0
|
|
/* 8034237C 0033F2DC 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80342380 0033F2E0 90 1E 00 1C */ stw r0, 0x1c(r30)
|
|
/* 80342384 0033F2E4 90 1E 00 20 */ stw r0, 0x20(r30)
|
|
/* 80342388 0033F2E8 80 1E 00 28 */ lwz r0, 0x28(r30)
|
|
/* 8034238C 0033F2EC 90 1E 00 34 */ stw r0, 0x34(r30)
|
|
/* 80342390 0033F2F0 90 1E 00 30 */ stw r0, 0x30(r30)
|
|
/* 80342394 0033F2F4 81 9E 00 38 */ lwz r12, 0x38(r30)
|
|
/* 80342398 0033F2F8 28 0C 00 00 */ cmplwi r12, 0
|
|
/* 8034239C 0033F2FC 41 82 00 20 */ beq lbl_803423BC
|
|
/* 803423A0 0033F300 38 60 00 00 */ li r3, 0
|
|
/* 803423A4 0033F304 38 80 00 00 */ li r4, 0
|
|
/* 803423A8 0033F308 38 A0 00 00 */ li r5, 0
|
|
/* 803423AC 0033F30C 7D 89 03 A6 */ mtctr r12
|
|
/* 803423B0 0033F310 4E 80 04 21 */ bctrl
|
|
/* 803423B4 0033F314 90 7E 00 3C */ stw r3, 0x3c(r30)
|
|
/* 803423B8 0033F318 90 7F 00 30 */ stw r3, 0x30(r31)
|
|
lbl_803423BC:
|
|
/* 803423BC 0033F31C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 803423C0 0033F320 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 803423C4 0033F324 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 803423C8 0033F328 7C 08 03 A6 */ mtlr r0
|
|
/* 803423CC 0033F32C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 803423D0 0033F330 4E 80 00 20 */ blr
|
|
|
|
.section .rodata
|
|
.balign 8
|
|
.global lbl_803D7AA8
|
|
lbl_803D7AA8:
|
|
# ROM: 0x3D4AA8
|
|
.4byte 0x00000010
|
|
.4byte 0x00000011
|
|
.4byte 0x00000012
|
|
.4byte 0
|
|
.4byte 0x00000008
|
|
.4byte 0x00000007
|
|
.4byte 0x00000009
|
|
.4byte 0x00000006
|
|
.4byte 0x0000000A
|
|
.4byte 0x00000005
|
|
.4byte 0x0000000B
|
|
.4byte 0x00000004
|
|
.4byte 0x0000000C
|
|
.4byte 0x00000003
|
|
.4byte 0x0000000D
|
|
.4byte 0x00000002
|
|
.4byte 0x0000000E
|
|
.4byte 0x00000001
|
|
.4byte 0x0000000F
|
|
|
|
.global lbl_803D7AF4
|
|
lbl_803D7AF4:
|
|
# ROM: 0x3D4AF4
|
|
.asciz "invalid block type"
|
|
.asciz "invalid stored block lengths"
|
|
.asciz "too many length or distance symbols"
|
|
.asciz "invalid bit length repeat"
|
|
.balign 4
|
|
.4byte 0
|
|
|