donut-decomp/asm/axfx/AXFXReverbHiExp.s
2022-10-17 09:19:03 +01:00

1243 lines
53 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global AXFXReverbHiExpInit
AXFXReverbHiExpInit:
/* 80046210 00042050 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80046214 00042054 7C 08 02 A6 */ mflr r0
/* 80046218 00042058 90 01 00 24 */ stw r0, 0x24(r1)
/* 8004621C 0004205C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80046220 00042060 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80046224 00042064 7C 7E 1B 78 */ mr r30, r3
/* 80046228 00042068 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8004622C 0004206C 4B FD B5 F5 */ bl OSDisableInterrupts
/* 80046230 00042070 C0 3E 01 14 */ lfs f1, 0x114(r30)
/* 80046234 00042074 38 00 00 01 */ li r0, 0x1
/* 80046238 00042078 C0 02 87 54 */ lfs f0, "@3123"@sda21(r2)
/* 8004623C 0004207C 7C 7F 1B 78 */ mr r31, r3
/* 80046240 00042080 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 80046244 00042084 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80046248 00042088 40 80 00 38 */ bge lbl_80046280
/* 8004624C 0004208C 4B FD B5 D5 */ bl OSDisableInterrupts
/* 80046250 00042090 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 80046254 00042094 7C 7D 1B 78 */ mr r29, r3
/* 80046258 00042098 7F C3 F3 78 */ mr r3, r30
/* 8004625C 0004209C 60 00 00 01 */ ori r0, r0, 0x1
/* 80046260 000420A0 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 80046264 000420A4 48 00 09 8D */ bl __FreeDelayLine
/* 80046268 000420A8 7F A3 EB 78 */ mr r3, r29
/* 8004626C 000420AC 4B FD B5 F5 */ bl OSRestoreInterrupts
/* 80046270 000420B0 7F E3 FB 78 */ mr r3, r31
/* 80046274 000420B4 4B FD B5 ED */ bl OSRestoreInterrupts
/* 80046278 000420B8 38 60 00 00 */ li r3, 0x0
/* 8004627C 000420BC 48 00 01 14 */ b lbl_80046390
.global lbl_80046280
lbl_80046280:
/* 80046280 000420C0 C0 02 87 50 */ lfs f0, "@3078"@sda21(r2)
/* 80046284 000420C4 3C 60 80 43 */ lis r3, __EarlySizeTable@ha
/* 80046288 000420C8 38 63 60 20 */ addi r3, r3, __EarlySizeTable@l
/* 8004628C 000420CC 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80046290 000420D0 EC 20 00 72 */ fmuls f1, f0, f1
/* 80046294 000420D4 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 80046298 000420D8 4B FC 0F 7D */ bl __cvt_fp2unsigned
/* 8004629C 000420DC 90 7E 00 40 */ stw r3, 0x40(r30)
/* 800462A0 000420E0 3C 80 80 43 */ lis r4, __FilterSizeTable@ha
/* 800462A4 000420E4 38 84 60 E0 */ addi r4, r4, __FilterSizeTable@l
/* 800462A8 000420E8 7F C3 F3 78 */ mr r3, r30
/* 800462AC 000420EC 80 04 00 C0 */ lwz r0, 0xc0(r4)
/* 800462B0 000420F0 90 1E 00 80 */ stw r0, 0x80(r30)
/* 800462B4 000420F4 80 04 00 C4 */ lwz r0, 0xc4(r4)
/* 800462B8 000420F8 90 1E 00 84 */ stw r0, 0x84(r30)
/* 800462BC 000420FC 80 04 00 C8 */ lwz r0, 0xc8(r4)
/* 800462C0 00042100 90 1E 00 88 */ stw r0, 0x88(r30)
/* 800462C4 00042104 80 04 00 CC */ lwz r0, 0xcc(r4)
/* 800462C8 00042108 90 1E 00 C0 */ stw r0, 0xc0(r30)
/* 800462CC 0004210C 80 04 00 D0 */ lwz r0, 0xd0(r4)
/* 800462D0 00042110 90 1E 00 C4 */ stw r0, 0xc4(r30)
/* 800462D4 00042114 80 04 00 D4 */ lwz r0, 0xd4(r4)
/* 800462D8 00042118 90 1E 00 EC */ stw r0, 0xec(r30)
/* 800462DC 0004211C 80 04 00 D8 */ lwz r0, 0xd8(r4)
/* 800462E0 00042120 90 1E 00 F0 */ stw r0, 0xf0(r30)
/* 800462E4 00042124 80 04 00 DC */ lwz r0, 0xdc(r4)
/* 800462E8 00042128 90 1E 00 F4 */ stw r0, 0xf4(r30)
/* 800462EC 0004212C 48 00 06 55 */ bl __AllocDelayLine
/* 800462F0 00042130 2C 03 00 00 */ cmpwi r3, 0x0
/* 800462F4 00042134 40 82 00 38 */ bne lbl_8004632C
/* 800462F8 00042138 4B FD B5 29 */ bl OSDisableInterrupts
/* 800462FC 0004213C 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 80046300 00042140 7C 7D 1B 78 */ mr r29, r3
/* 80046304 00042144 7F C3 F3 78 */ mr r3, r30
/* 80046308 00042148 60 00 00 01 */ ori r0, r0, 0x1
/* 8004630C 0004214C 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 80046310 00042150 48 00 08 E1 */ bl __FreeDelayLine
/* 80046314 00042154 7F A3 EB 78 */ mr r3, r29
/* 80046318 00042158 4B FD B5 49 */ bl OSRestoreInterrupts
/* 8004631C 0004215C 7F E3 FB 78 */ mr r3, r31
/* 80046320 00042160 4B FD B5 41 */ bl OSRestoreInterrupts
/* 80046324 00042164 38 60 00 00 */ li r3, 0x0
/* 80046328 00042168 48 00 00 68 */ b lbl_80046390
.global lbl_8004632C
lbl_8004632C:
/* 8004632C 0004216C 7F C3 F3 78 */ mr r3, r30
/* 80046330 00042170 48 00 07 91 */ bl __BzeroDelayLines
/* 80046334 00042174 7F C3 F3 78 */ mr r3, r30
/* 80046338 00042178 48 00 09 D9 */ bl __InitParams
/* 8004633C 0004217C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046340 00042180 40 82 00 38 */ bne lbl_80046378
/* 80046344 00042184 4B FD B4 DD */ bl OSDisableInterrupts
/* 80046348 00042188 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 8004634C 0004218C 7C 7D 1B 78 */ mr r29, r3
/* 80046350 00042190 7F C3 F3 78 */ mr r3, r30
/* 80046354 00042194 60 00 00 01 */ ori r0, r0, 0x1
/* 80046358 00042198 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 8004635C 0004219C 48 00 08 95 */ bl __FreeDelayLine
/* 80046360 000421A0 7F A3 EB 78 */ mr r3, r29
/* 80046364 000421A4 4B FD B4 FD */ bl OSRestoreInterrupts
/* 80046368 000421A8 7F E3 FB 78 */ mr r3, r31
/* 8004636C 000421AC 4B FD B4 F5 */ bl OSRestoreInterrupts
/* 80046370 000421B0 38 60 00 00 */ li r3, 0x0
/* 80046374 000421B4 48 00 00 1C */ b lbl_80046390
.global lbl_80046378
lbl_80046378:
/* 80046378 000421B8 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 8004637C 000421BC 7F E3 FB 78 */ mr r3, r31
/* 80046380 000421C0 54 00 00 3C */ clrrwi r0, r0, 1
/* 80046384 000421C4 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 80046388 000421C8 4B FD B4 D9 */ bl OSRestoreInterrupts
/* 8004638C 000421CC 38 60 00 01 */ li r3, 0x1
.global lbl_80046390
lbl_80046390:
/* 80046390 000421D0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80046394 000421D4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80046398 000421D8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8004639C 000421DC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800463A0 000421E0 7C 08 03 A6 */ mtlr r0
/* 800463A4 000421E4 38 21 00 20 */ addi r1, r1, 0x20
/* 800463A8 000421E8 4E 80 00 20 */ blr
/* 800463AC 000421EC 00 00 00 00 */ .4byte 0x00000000
.global AXFXReverbHiExpShutdown
AXFXReverbHiExpShutdown:
/* 800463B0 000421F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800463B4 000421F4 7C 08 02 A6 */ mflr r0
/* 800463B8 000421F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800463BC 000421FC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800463C0 00042200 93 C1 00 08 */ stw r30, 0x8(r1)
/* 800463C4 00042204 7C 7E 1B 78 */ mr r30, r3
/* 800463C8 00042208 4B FD B4 59 */ bl OSDisableInterrupts
/* 800463CC 0004220C 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 800463D0 00042210 7C 7F 1B 78 */ mr r31, r3
/* 800463D4 00042214 7F C3 F3 78 */ mr r3, r30
/* 800463D8 00042218 60 00 00 01 */ ori r0, r0, 0x1
/* 800463DC 0004221C 90 1E 01 0C */ stw r0, 0x10c(r30)
/* 800463E0 00042220 48 00 08 11 */ bl __FreeDelayLine
/* 800463E4 00042224 7F E3 FB 78 */ mr r3, r31
/* 800463E8 00042228 4B FD B4 79 */ bl OSRestoreInterrupts
/* 800463EC 0004222C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800463F0 00042230 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800463F4 00042234 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 800463F8 00042238 7C 08 03 A6 */ mtlr r0
/* 800463FC 0004223C 38 21 00 10 */ addi r1, r1, 0x10
/* 80046400 00042240 4E 80 00 20 */ blr
/* 80046404 00042244 00 00 00 00 */ .4byte 0x00000000
/* 80046408 00042248 00 00 00 00 */ .4byte 0x00000000
/* 8004640C 0004224C 00 00 00 00 */ .4byte 0x00000000
.global AXFXReverbHiExpCallback
AXFXReverbHiExpCallback:
/* 80046410 00042250 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80046414 00042254 7C 08 02 A6 */ mflr r0
/* 80046418 00042258 90 01 00 74 */ stw r0, 0x74(r1)
/* 8004641C 0004225C 39 61 00 70 */ addi r11, r1, 0x70
/* 80046420 00042260 4B FC 0F 15 */ bl lbl_80007334
/* 80046424 00042264 80 04 01 0C */ lwz r0, 0x10c(r4)
/* 80046428 00042268 2C 00 00 00 */ cmpwi r0, 0x0
/* 8004642C 0004226C 41 82 00 10 */ beq lbl_8004643C
/* 80046430 00042270 54 00 07 FA */ rlwinm r0, r0, 0, 31, 29
/* 80046434 00042274 90 04 01 0C */ stw r0, 0x10c(r4)
/* 80046438 00042278 48 00 04 E4 */ b lbl_8004691C
.global lbl_8004643C
lbl_8004643C:
/* 8004643C 0004227C 80 E4 01 38 */ lwz r7, 0x138(r4)
/* 80046440 00042280 80 C3 00 00 */ lwz r6, 0x0(r3)
/* 80046444 00042284 80 A3 00 04 */ lwz r5, 0x4(r3)
/* 80046448 00042288 2C 07 00 00 */ cmpwi r7, 0x0
/* 8004644C 0004228C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 80046450 00042290 90 C1 00 2C */ stw r6, 0x2c(r1)
/* 80046454 00042294 90 A1 00 30 */ stw r5, 0x30(r1)
/* 80046458 00042298 90 01 00 34 */ stw r0, 0x34(r1)
/* 8004645C 0004229C 41 82 00 1C */ beq lbl_80046478
/* 80046460 000422A0 80 A7 00 00 */ lwz r5, 0x0(r7)
/* 80046464 000422A4 80 67 00 04 */ lwz r3, 0x4(r7)
/* 80046468 000422A8 80 07 00 08 */ lwz r0, 0x8(r7)
/* 8004646C 000422AC 90 A1 00 08 */ stw r5, 0x8(r1)
/* 80046470 000422B0 90 61 00 0C */ stw r3, 0xc(r1)
/* 80046474 000422B4 90 01 00 10 */ stw r0, 0x10(r1)
.global lbl_80046478
lbl_80046478:
/* 80046478 000422B8 80 E4 01 3C */ lwz r7, 0x13c(r4)
/* 8004647C 000422BC 2C 07 00 00 */ cmpwi r7, 0x0
/* 80046480 000422C0 41 82 00 10 */ beq lbl_80046490
/* 80046484 000422C4 80 67 00 00 */ lwz r3, 0x0(r7)
/* 80046488 000422C8 80 A7 00 04 */ lwz r5, 0x4(r7)
/* 8004648C 000422CC 80 C7 00 08 */ lwz r6, 0x8(r7)
.global lbl_80046490
lbl_80046490:
/* 80046490 000422D0 C0 02 87 58 */ lfs f0, "@3288"@sda21(r2)
/* 80046494 000422D4 3B E0 00 00 */ li r31, 0x0
/* 80046498 000422D8 C0 24 01 08 */ lfs f1, 0x108(r4)
/* 8004649C 000422DC 3B A0 00 00 */ li r29, 0x0
/* 800464A0 000422E0 C0 A2 87 5C */ lfs f5, "@3289"@sda21(r2)
/* 800464A4 000422E4 3C 00 43 30 */ lis r0, 0x4330
/* 800464A8 000422E8 C0 64 01 34 */ lfs f3, 0x134(r4)
/* 800464AC 000422EC EC 80 08 28 */ fsubs f4, f0, f1
/* 800464B0 000422F0 C0 42 87 60 */ lfs f2, "@3290"@sda21(r2)
/* 800464B4 000422F4 3B C0 00 03 */ li r30, 0x3
/* 800464B8 000422F8 C0 04 01 2C */ lfs f0, 0x12c(r4)
/* 800464BC 000422FC EC A5 00 F2 */ fmuls f5, f5, f3
/* 800464C0 00042300 C0 64 00 F8 */ lfs f3, 0xf8(r4)
/* 800464C4 00042304 EC C2 00 32 */ fmuls f6, f2, f0
/* 800464C8 00042308 C8 02 87 68 */ lfd f0, "@3294"@sda21(r2)
/* 800464CC 0004230C 60 00 00 00 */ nop
.global lbl_800464D0
lbl_800464D0:
/* 800464D0 00042310 7C 89 23 78 */ mr r9, r4
/* 800464D4 00042314 7C 8A 23 78 */ mr r10, r4
/* 800464D8 00042318 7C 8B 23 78 */ mr r11, r4
/* 800464DC 0004231C 38 E1 00 08 */ addi r7, r1, 0x8
/* 800464E0 00042320 39 01 00 2C */ addi r8, r1, 0x2c
/* 800464E4 00042324 39 81 00 14 */ addi r12, r1, 0x14
/* 800464E8 00042328 7F C9 03 A6 */ mtctr r30
/* 800464EC 0004232C 60 00 00 00 */ nop
.global lbl_800464F0
lbl_800464F0:
/* 800464F0 00042330 83 44 01 38 */ lwz r26, 0x138(r4)
/* 800464F4 00042334 2C 1A 00 00 */ cmpwi r26, 0x0
/* 800464F8 00042338 41 82 00 38 */ beq lbl_80046530
/* 800464FC 0004233C 83 67 00 00 */ lwz r27, 0x0(r7)
/* 80046500 00042340 83 88 00 00 */ lwz r28, 0x0(r8)
/* 80046504 00042344 83 5B 00 00 */ lwz r26, 0x0(r27)
/* 80046508 00042348 3B 7B 00 04 */ addi r27, r27, 0x4
/* 8004650C 0004234C 83 9C 00 00 */ lwz r28, 0x0(r28)
/* 80046510 00042350 90 01 00 38 */ stw r0, 0x38(r1)
/* 80046514 00042354 7F 5C D2 14 */ add r26, r28, r26
/* 80046518 00042358 6F 5A 80 00 */ xoris r26, r26, 0x8000
/* 8004651C 0004235C 93 41 00 3C */ stw r26, 0x3c(r1)
/* 80046520 00042360 C8 41 00 38 */ lfd f2, 0x38(r1)
/* 80046524 00042364 93 67 00 00 */ stw r27, 0x0(r7)
/* 80046528 00042368 ED 62 00 28 */ fsubs f11, f2, f0
/* 8004652C 0004236C 48 00 00 20 */ b lbl_8004654C
.global lbl_80046530
lbl_80046530:
/* 80046530 00042370 83 48 00 00 */ lwz r26, 0x0(r8)
/* 80046534 00042374 90 01 00 40 */ stw r0, 0x40(r1)
/* 80046538 00042378 83 5A 00 00 */ lwz r26, 0x0(r26)
/* 8004653C 0004237C 6F 5A 80 00 */ xoris r26, r26, 0x8000
/* 80046540 00042380 93 41 00 44 */ stw r26, 0x44(r1)
/* 80046544 00042384 C8 41 00 40 */ lfd f2, 0x40(r1)
/* 80046548 00042388 ED 62 00 28 */ fsubs f11, f2, f0
.global lbl_8004654C
lbl_8004654C:
/* 8004654C 0004238C 83 84 00 0C */ lwz r28, 0xc(r4)
/* 80046550 00042390 83 64 00 10 */ lwz r27, 0x10(r4)
/* 80046554 00042394 83 44 00 14 */ lwz r26, 0x14(r4)
/* 80046558 00042398 57 9C 10 3A */ slwi r28, r28, 2
/* 8004655C 0004239C 83 29 00 00 */ lwz r25, 0x0(r9)
/* 80046560 000423A0 57 7B 10 3A */ slwi r27, r27, 2
/* 80046564 000423A4 C1 24 00 20 */ lfs f9, 0x20(r4)
/* 80046568 000423A8 57 5A 10 3A */ slwi r26, r26, 2
/* 8004656C 000423AC 7D 19 E4 2E */ lfsx f8, r25, r28
/* 80046570 000423B0 C0 E4 00 24 */ lfs f7, 0x24(r4)
/* 80046574 000423B4 7C 59 DC 2E */ lfsx f2, r25, r27
/* 80046578 000423B8 ED 09 02 32 */ fmuls f8, f9, f8
/* 8004657C 000423BC C1 44 00 28 */ lfs f10, 0x28(r4)
/* 80046580 000423C0 7D 39 D4 2E */ lfsx f9, r25, r26
/* 80046584 000423C4 EC 47 00 B2 */ fmuls f2, f7, f2
/* 80046588 000423C8 7D 79 D5 2E */ stfsx f11, r25, r26
/* 8004658C 000423CC EC EA 02 72 */ fmuls f7, f10, f9
/* 80046590 000423D0 EC 48 10 2A */ fadds f2, f8, f2
/* 80046594 000423D4 83 64 00 3C */ lwz r27, 0x3c(r4)
/* 80046598 000423D8 2C 1B 00 00 */ cmpwi r27, 0x0
/* 8004659C 000423DC EC 47 10 2A */ fadds f2, f7, f2
/* 800465A0 000423E0 41 82 00 1C */ beq lbl_800465BC
/* 800465A4 000423E4 83 64 00 38 */ lwz r27, 0x38(r4)
/* 800465A8 000423E8 83 89 00 2C */ lwz r28, 0x2c(r9)
/* 800465AC 000423EC 57 7B 10 3A */ slwi r27, r27, 2
/* 800465B0 000423F0 7D 3C DC 2E */ lfsx f9, r28, r27
/* 800465B4 000423F4 7D 7C DD 2E */ stfsx f11, r28, r27
/* 800465B8 000423F8 48 00 00 08 */ b lbl_800465C0
.global lbl_800465BC
lbl_800465BC:
/* 800465BC 000423FC FD 20 58 90 */ fmr f9, f11
.global lbl_800465C0
lbl_800465C0:
/* 800465C0 00042400 83 64 00 68 */ lwz r27, 0x68(r4)
/* 800465C4 00042404 83 2A 00 44 */ lwz r25, 0x44(r10)
/* 800465C8 00042408 57 7B 10 3A */ slwi r27, r27, 2
/* 800465CC 0004240C C0 E4 00 8C */ lfs f7, 0x8c(r4)
/* 800465D0 00042410 7D 19 DC 2E */ lfsx f8, r25, r27
/* 800465D4 00042414 C1 42 87 54 */ lfs f10, "@3123"@sda21(r2)
/* 800465D8 00042418 EC E8 01 F2 */ fmuls f7, f8, f7
/* 800465DC 0004241C ED 4A 40 2A */ fadds f10, f10, f8
/* 800465E0 00042420 EC E9 38 2A */ fadds f7, f9, f7
/* 800465E4 00042424 7C F9 DD 2E */ stfsx f7, r25, r27
/* 800465E8 00042428 83 64 00 6C */ lwz r27, 0x6c(r4)
/* 800465EC 0004242C 83 4A 00 48 */ lwz r26, 0x48(r10)
/* 800465F0 00042430 57 7B 10 3A */ slwi r27, r27, 2
/* 800465F4 00042434 C0 E4 00 90 */ lfs f7, 0x90(r4)
/* 800465F8 00042438 7D 1A DC 2E */ lfsx f8, r26, r27
/* 800465FC 0004243C EC E8 01 F2 */ fmuls f7, f8, f7
/* 80046600 00042440 ED 4A 40 2A */ fadds f10, f10, f8
/* 80046604 00042444 EC E9 38 2A */ fadds f7, f9, f7
/* 80046608 00042448 7C FA DD 2E */ stfsx f7, r26, r27
/* 8004660C 0004244C 83 64 00 70 */ lwz r27, 0x70(r4)
/* 80046610 00042450 83 8A 00 4C */ lwz r28, 0x4c(r10)
/* 80046614 00042454 57 7B 10 3A */ slwi r27, r27, 2
/* 80046618 00042458 C0 E4 00 94 */ lfs f7, 0x94(r4)
/* 8004661C 0004245C 7D 1C DC 2E */ lfsx f8, r28, r27
/* 80046620 00042460 EC E8 01 F2 */ fmuls f7, f8, f7
/* 80046624 00042464 ED 4A 40 2A */ fadds f10, f10, f8
/* 80046628 00042468 EC E9 38 2A */ fadds f7, f9, f7
/* 8004662C 0004246C 7C FC DD 2E */ stfsx f7, r28, r27
/* 80046630 00042470 83 64 00 B0 */ lwz r27, 0xb0(r4)
/* 80046634 00042474 83 2B 00 98 */ lwz r25, 0x98(r11)
/* 80046638 00042478 57 7B 10 3A */ slwi r27, r27, 2
/* 8004663C 0004247C 7D 19 DC 2E */ lfsx f8, r25, r27
/* 80046640 00042480 EC E8 00 F2 */ fmuls f7, f8, f3
/* 80046644 00042484 EC EA 38 2A */ fadds f7, f10, f7
/* 80046648 00042488 7C F9 DD 2E */ stfsx f7, r25, r27
/* 8004664C 0004248C EC E7 00 F2 */ fmuls f7, f7, f3
/* 80046650 00042490 83 64 00 B4 */ lwz r27, 0xb4(r4)
/* 80046654 00042494 83 4B 00 9C */ lwz r26, 0x9c(r11)
/* 80046658 00042498 57 7B 10 3A */ slwi r27, r27, 2
/* 8004665C 0004249C ED 08 38 28 */ fsubs f8, f8, f7
/* 80046660 000424A0 7D 3A DC 2E */ lfsx f9, r26, r27
/* 80046664 000424A4 EC E9 00 F2 */ fmuls f7, f9, f3
/* 80046668 000424A8 EC E8 38 2A */ fadds f7, f8, f7
/* 8004666C 000424AC 7C FA DD 2E */ stfsx f7, r26, r27
/* 80046670 000424B0 ED 07 00 F2 */ fmuls f8, f7, f3
/* 80046674 000424B4 C0 E9 00 FC */ lfs f7, 0xfc(r9)
/* 80046678 000424B8 ED 09 40 28 */ fsubs f8, f9, f8
/* 8004667C 000424BC EC E1 01 F2 */ fmuls f7, f1, f7
/* 80046680 000424C0 ED 04 02 32 */ fmuls f8, f4, f8
/* 80046684 000424C4 ED 28 38 2A */ fadds f9, f8, f7
/* 80046688 000424C8 D1 29 00 FC */ stfs f9, 0xfc(r9)
/* 8004668C 000424CC 83 69 00 D4 */ lwz r27, 0xd4(r9)
/* 80046690 000424D0 83 89 00 C8 */ lwz r28, 0xc8(r9)
/* 80046694 000424D4 57 7B 10 3A */ slwi r27, r27, 2
/* 80046698 000424D8 7D 1C DC 2E */ lfsx f8, r28, r27
/* 8004669C 000424DC EC E8 00 F2 */ fmuls f7, f8, f3
/* 800466A0 000424E0 EC E9 38 2A */ fadds f7, f9, f7
/* 800466A4 000424E4 7C FC DD 2E */ stfsx f7, r28, r27
/* 800466A8 000424E8 EC E7 00 F2 */ fmuls f7, f7, f3
/* 800466AC 000424EC 83 69 00 D4 */ lwz r27, 0xd4(r9)
/* 800466B0 000424F0 3B 7B 00 01 */ addi r27, r27, 0x1
/* 800466B4 000424F4 93 69 00 D4 */ stw r27, 0xd4(r9)
/* 800466B8 000424F8 EC E8 38 28 */ fsubs f7, f8, f7
/* 800466BC 000424FC 83 89 00 E0 */ lwz r28, 0xe0(r9)
/* 800466C0 00042500 D0 EC 00 00 */ stfs f7, 0x0(r12)
/* 800466C4 00042504 7C 1B E0 40 */ cmplw r27, r28
/* 800466C8 00042508 41 80 00 08 */ blt lbl_800466D0
/* 800466CC 0004250C 93 A9 00 D4 */ stw r29, 0xd4(r9)
.global lbl_800466D0
lbl_800466D0:
/* 800466D0 00042510 C0 EC 00 00 */ lfs f7, 0x0(r12)
/* 800466D4 00042514 38 E7 00 04 */ addi r7, r7, 0x4
/* 800466D8 00042518 39 08 00 04 */ addi r8, r8, 0x4
/* 800466DC 0004251C 39 29 00 04 */ addi r9, r9, 0x4
/* 800466E0 00042520 EC E7 01 72 */ fmuls f7, f7, f5
/* 800466E4 00042524 39 4A 00 0C */ addi r10, r10, 0xc
/* 800466E8 00042528 39 6B 00 08 */ addi r11, r11, 0x8
/* 800466EC 0004252C EC 47 10 2A */ fadds f2, f7, f2
/* 800466F0 00042530 D0 4C 00 00 */ stfs f2, 0x0(r12)
/* 800466F4 00042534 39 8C 00 04 */ addi r12, r12, 0x4
/* 800466F8 00042538 42 00 FD F8 */ bdnz lbl_800464F0
/* 800466FC 0004253C C1 81 00 18 */ lfs f12, 0x18(r1)
/* 80046700 00042540 C1 61 00 1C */ lfs f11, 0x1c(r1)
/* 80046704 00042544 C1 41 00 14 */ lfs f10, 0x14(r1)
/* 80046708 00042548 EC 4C 58 2A */ fadds f2, f12, f11
/* 8004670C 0004254C 81 81 00 2C */ lwz r12, 0x2c(r1)
/* 80046710 00042550 EC EA 58 2A */ fadds f7, f10, f11
/* 80046714 00042554 81 01 00 34 */ lwz r8, 0x34(r1)
/* 80046718 00042558 39 6C 00 04 */ addi r11, r12, 0x4
/* 8004671C 0004255C 81 41 00 30 */ lwz r10, 0x30(r1)
/* 80046720 00042560 ED 22 01 B2 */ fmuls f9, f2, f6
/* 80046724 00042564 38 E8 00 04 */ addi r7, r8, 0x4
/* 80046728 00042568 ED 07 01 B2 */ fmuls f8, f7, f6
/* 8004672C 0004256C 39 2A 00 04 */ addi r9, r10, 0x4
/* 80046730 00042570 C0 44 01 40 */ lfs f2, 0x140(r4)
/* 80046734 00042574 ED AA 60 2A */ fadds f13, f10, f12
/* 80046738 00042578 ED 2A 48 2A */ fadds f9, f10, f9
/* 8004673C 0004257C 91 61 00 2C */ stw r11, 0x2c(r1)
/* 80046740 00042580 ED 0C 40 2A */ fadds f8, f12, f8
/* 80046744 00042584 EC ED 01 B2 */ fmuls f7, f13, f6
/* 80046748 00042588 90 E1 00 34 */ stw r7, 0x34(r1)
/* 8004674C 0004258C EC 49 00 B2 */ fmuls f2, f9, f2
/* 80046750 00042590 D1 21 00 20 */ stfs f9, 0x20(r1)
/* 80046754 00042594 EC EB 38 2A */ fadds f7, f11, f7
/* 80046758 00042598 FC 40 10 1E */ fctiwz f2, f2
/* 8004675C 0004259C D1 01 00 24 */ stfs f8, 0x24(r1)
/* 80046760 000425A0 D8 41 00 40 */ stfd f2, 0x40(r1)
/* 80046764 000425A4 81 61 00 44 */ lwz r11, 0x44(r1)
/* 80046768 000425A8 91 6C 00 00 */ stw r11, 0x0(r12)
/* 8004676C 000425AC C0 44 01 40 */ lfs f2, 0x140(r4)
/* 80046770 000425B0 D0 E1 00 28 */ stfs f7, 0x28(r1)
/* 80046774 000425B4 EC 48 00 B2 */ fmuls f2, f8, f2
/* 80046778 000425B8 91 21 00 30 */ stw r9, 0x30(r1)
/* 8004677C 000425BC FC 40 10 1E */ fctiwz f2, f2
/* 80046780 000425C0 D8 41 00 38 */ stfd f2, 0x38(r1)
/* 80046784 000425C4 80 E1 00 3C */ lwz r7, 0x3c(r1)
/* 80046788 000425C8 90 EA 00 00 */ stw r7, 0x0(r10)
/* 8004678C 000425CC C0 44 01 40 */ lfs f2, 0x140(r4)
/* 80046790 000425D0 EC 47 00 B2 */ fmuls f2, f7, f2
/* 80046794 000425D4 FC 40 10 1E */ fctiwz f2, f2
/* 80046798 000425D8 D8 41 00 48 */ stfd f2, 0x48(r1)
/* 8004679C 000425DC 80 E1 00 4C */ lwz r7, 0x4c(r1)
/* 800467A0 000425E0 90 E8 00 00 */ stw r7, 0x0(r8)
/* 800467A4 000425E4 80 E4 01 3C */ lwz r7, 0x13c(r4)
/* 800467A8 000425E8 2C 07 00 00 */ cmpwi r7, 0x0
/* 800467AC 000425EC 41 82 00 58 */ beq lbl_80046804
/* 800467B0 000425F0 C0 44 01 44 */ lfs f2, 0x144(r4)
/* 800467B4 000425F4 EC 49 00 B2 */ fmuls f2, f9, f2
/* 800467B8 000425F8 FC 40 10 1E */ fctiwz f2, f2
/* 800467BC 000425FC D8 41 00 48 */ stfd f2, 0x48(r1)
/* 800467C0 00042600 80 E1 00 4C */ lwz r7, 0x4c(r1)
/* 800467C4 00042604 90 E3 00 00 */ stw r7, 0x0(r3)
/* 800467C8 00042608 38 63 00 04 */ addi r3, r3, 0x4
/* 800467CC 0004260C C0 44 01 44 */ lfs f2, 0x144(r4)
/* 800467D0 00042610 EC 48 00 B2 */ fmuls f2, f8, f2
/* 800467D4 00042614 FC 40 10 1E */ fctiwz f2, f2
/* 800467D8 00042618 D8 41 00 40 */ stfd f2, 0x40(r1)
/* 800467DC 0004261C 80 E1 00 44 */ lwz r7, 0x44(r1)
/* 800467E0 00042620 90 E5 00 00 */ stw r7, 0x0(r5)
/* 800467E4 00042624 38 A5 00 04 */ addi r5, r5, 0x4
/* 800467E8 00042628 C0 44 01 44 */ lfs f2, 0x144(r4)
/* 800467EC 0004262C EC 47 00 B2 */ fmuls f2, f7, f2
/* 800467F0 00042630 FC 40 10 1E */ fctiwz f2, f2
/* 800467F4 00042634 D8 41 00 38 */ stfd f2, 0x38(r1)
/* 800467F8 00042638 80 E1 00 3C */ lwz r7, 0x3c(r1)
/* 800467FC 0004263C 90 E6 00 00 */ stw r7, 0x0(r6)
/* 80046800 00042640 38 C6 00 04 */ addi r6, r6, 0x4
.global lbl_80046804
lbl_80046804:
/* 80046804 00042644 80 E4 00 0C */ lwz r7, 0xc(r4)
/* 80046808 00042648 39 07 00 01 */ addi r8, r7, 0x1
/* 8004680C 0004264C 91 04 00 0C */ stw r8, 0xc(r4)
/* 80046810 00042650 80 E4 00 18 */ lwz r7, 0x18(r4)
/* 80046814 00042654 7C 08 38 40 */ cmplw r8, r7
/* 80046818 00042658 41 80 00 08 */ blt lbl_80046820
/* 8004681C 0004265C 93 A4 00 0C */ stw r29, 0xc(r4)
.global lbl_80046820
lbl_80046820:
/* 80046820 00042660 80 E4 00 10 */ lwz r7, 0x10(r4)
/* 80046824 00042664 39 07 00 01 */ addi r8, r7, 0x1
/* 80046828 00042668 91 04 00 10 */ stw r8, 0x10(r4)
/* 8004682C 0004266C 80 E4 00 18 */ lwz r7, 0x18(r4)
/* 80046830 00042670 7C 08 38 40 */ cmplw r8, r7
/* 80046834 00042674 41 80 00 08 */ blt lbl_8004683C
/* 80046838 00042678 93 A4 00 10 */ stw r29, 0x10(r4)
.global lbl_8004683C
lbl_8004683C:
/* 8004683C 0004267C 80 E4 00 14 */ lwz r7, 0x14(r4)
/* 80046840 00042680 39 24 00 08 */ addi r9, r4, 0x8
/* 80046844 00042684 39 07 00 01 */ addi r8, r7, 0x1
/* 80046848 00042688 91 04 00 14 */ stw r8, 0x14(r4)
/* 8004684C 0004268C 80 E4 00 18 */ lwz r7, 0x18(r4)
/* 80046850 00042690 7C 08 38 40 */ cmplw r8, r7
/* 80046854 00042694 41 80 00 08 */ blt lbl_8004685C
/* 80046858 00042698 93 A9 00 0C */ stw r29, 0xc(r9)
.global lbl_8004685C
lbl_8004685C:
/* 8004685C 0004269C 81 04 00 3C */ lwz r8, 0x3c(r4)
/* 80046860 000426A0 2C 08 00 00 */ cmpwi r8, 0x0
/* 80046864 000426A4 41 82 00 1C */ beq lbl_80046880
/* 80046868 000426A8 80 E4 00 38 */ lwz r7, 0x38(r4)
/* 8004686C 000426AC 38 E7 00 01 */ addi r7, r7, 0x1
/* 80046870 000426B0 90 E4 00 38 */ stw r7, 0x38(r4)
/* 80046874 000426B4 7C 07 40 40 */ cmplw r7, r8
/* 80046878 000426B8 41 80 00 08 */ blt lbl_80046880
/* 8004687C 000426BC 93 A4 00 38 */ stw r29, 0x38(r4)
.global lbl_80046880
lbl_80046880:
/* 80046880 000426C0 80 E4 00 68 */ lwz r7, 0x68(r4)
/* 80046884 000426C4 39 07 00 01 */ addi r8, r7, 0x1
/* 80046888 000426C8 91 04 00 68 */ stw r8, 0x68(r4)
/* 8004688C 000426CC 80 E4 00 74 */ lwz r7, 0x74(r4)
/* 80046890 000426D0 7C 08 38 40 */ cmplw r8, r7
/* 80046894 000426D4 41 80 00 08 */ blt lbl_8004689C
/* 80046898 000426D8 93 A4 00 68 */ stw r29, 0x68(r4)
.global lbl_8004689C
lbl_8004689C:
/* 8004689C 000426DC 80 E4 00 6C */ lwz r7, 0x6c(r4)
/* 800468A0 000426E0 39 07 00 01 */ addi r8, r7, 0x1
/* 800468A4 000426E4 91 04 00 6C */ stw r8, 0x6c(r4)
/* 800468A8 000426E8 80 E4 00 78 */ lwz r7, 0x78(r4)
/* 800468AC 000426EC 7C 08 38 40 */ cmplw r8, r7
/* 800468B0 000426F0 41 80 00 08 */ blt lbl_800468B8
/* 800468B4 000426F4 93 A4 00 6C */ stw r29, 0x6c(r4)
.global lbl_800468B8
lbl_800468B8:
/* 800468B8 000426F8 80 E4 00 70 */ lwz r7, 0x70(r4)
/* 800468BC 000426FC 39 24 00 08 */ addi r9, r4, 0x8
/* 800468C0 00042700 39 07 00 01 */ addi r8, r7, 0x1
/* 800468C4 00042704 91 04 00 70 */ stw r8, 0x70(r4)
/* 800468C8 00042708 80 E4 00 7C */ lwz r7, 0x7c(r4)
/* 800468CC 0004270C 7C 08 38 40 */ cmplw r8, r7
/* 800468D0 00042710 41 80 00 08 */ blt lbl_800468D8
/* 800468D4 00042714 93 A9 00 68 */ stw r29, 0x68(r9)
.global lbl_800468D8
lbl_800468D8:
/* 800468D8 00042718 80 E4 00 B0 */ lwz r7, 0xb0(r4)
/* 800468DC 0004271C 39 07 00 01 */ addi r8, r7, 0x1
/* 800468E0 00042720 91 04 00 B0 */ stw r8, 0xb0(r4)
/* 800468E4 00042724 80 E4 00 B8 */ lwz r7, 0xb8(r4)
/* 800468E8 00042728 7C 08 38 40 */ cmplw r8, r7
/* 800468EC 0004272C 41 80 00 08 */ blt lbl_800468F4
/* 800468F0 00042730 93 A4 00 B0 */ stw r29, 0xb0(r4)
.global lbl_800468F4
lbl_800468F4:
/* 800468F4 00042734 80 E4 00 B4 */ lwz r7, 0xb4(r4)
/* 800468F8 00042738 39 07 00 01 */ addi r8, r7, 0x1
/* 800468FC 0004273C 91 04 00 B4 */ stw r8, 0xb4(r4)
/* 80046900 00042740 80 E4 00 BC */ lwz r7, 0xbc(r4)
/* 80046904 00042744 7C 08 38 40 */ cmplw r8, r7
/* 80046908 00042748 41 80 00 08 */ blt lbl_80046910
/* 8004690C 0004274C 93 A4 00 B4 */ stw r29, 0xb4(r4)
.global lbl_80046910
lbl_80046910:
/* 80046910 00042750 3B FF 00 01 */ addi r31, r31, 0x1
/* 80046914 00042754 28 1F 00 60 */ cmplwi r31, 0x60
/* 80046918 00042758 41 80 FB B8 */ blt lbl_800464D0
.global lbl_8004691C
lbl_8004691C:
/* 8004691C 0004275C 39 61 00 70 */ addi r11, r1, 0x70
/* 80046920 00042760 4B FC 0A 61 */ bl lbl_80007380
/* 80046924 00042764 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80046928 00042768 7C 08 03 A6 */ mtlr r0
/* 8004692C 0004276C 38 21 00 70 */ addi r1, r1, 0x70
/* 80046930 00042770 4E 80 00 20 */ blr
/* 80046934 00042774 00 00 00 00 */ .4byte 0x00000000
/* 80046938 00042778 00 00 00 00 */ .4byte 0x00000000
/* 8004693C 0004277C 00 00 00 00 */ .4byte 0x00000000
.global __AllocDelayLine
__AllocDelayLine:
/* 80046940 00042780 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80046944 00042784 7C 08 02 A6 */ mflr r0
/* 80046948 00042788 90 01 00 34 */ stw r0, 0x34(r1)
/* 8004694C 0004278C 39 61 00 30 */ addi r11, r1, 0x30
/* 80046950 00042790 4B FC 09 DD */ bl lbl_8000732C
/* 80046954 00042794 7C 77 1B 78 */ mr r23, r3
/* 80046958 00042798 3B 00 00 00 */ li r24, 0x0
/* 8004695C 0004279C 7E FE BB 78 */ mr r30, r23
/* 80046960 000427A0 3B E0 00 00 */ li r31, 0x0
/* 80046964 000427A4 7E FD BB 78 */ mr r29, r23
/* 80046968 000427A8 7E FC BB 78 */ mr r28, r23
.global lbl_8004696C
lbl_8004696C:
/* 8004696C 000427AC 80 17 00 1C */ lwz r0, 0x1c(r23)
/* 80046970 000427B0 81 8D 82 08 */ lwz r12, __AXFXAlloc@sda21(r13)
/* 80046974 000427B4 54 03 10 3A */ slwi r3, r0, 2
/* 80046978 000427B8 7D 89 03 A6 */ mtctr r12
/* 8004697C 000427BC 4E 80 04 21 */ bctrl
/* 80046980 000427C0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046984 000427C4 90 7E 00 00 */ stw r3, 0x0(r30)
/* 80046988 000427C8 40 82 00 0C */ bne lbl_80046994
/* 8004698C 000427CC 38 60 00 00 */ li r3, 0x0
/* 80046990 000427D0 48 00 01 0C */ b lbl_80046A9C
.global lbl_80046994
lbl_80046994:
/* 80046994 000427D4 80 17 00 40 */ lwz r0, 0x40(r23)
/* 80046998 000427D8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8004699C 000427DC 41 82 00 28 */ beq lbl_800469C4
/* 800469A0 000427E0 81 8D 82 08 */ lwz r12, __AXFXAlloc@sda21(r13)
/* 800469A4 000427E4 54 03 10 3A */ slwi r3, r0, 2
/* 800469A8 000427E8 7D 89 03 A6 */ mtctr r12
/* 800469AC 000427EC 4E 80 04 21 */ bctrl
/* 800469B0 000427F0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800469B4 000427F4 90 7E 00 2C */ stw r3, 0x2c(r30)
/* 800469B8 000427F8 40 82 00 10 */ bne lbl_800469C8
/* 800469BC 000427FC 38 60 00 00 */ li r3, 0x0
/* 800469C0 00042800 48 00 00 DC */ b lbl_80046A9C
.global lbl_800469C4
lbl_800469C4:
/* 800469C4 00042804 93 FE 00 2C */ stw r31, 0x2c(r30)
.global lbl_800469C8
lbl_800469C8:
/* 800469C8 00042808 7E FA BB 78 */ mr r26, r23
/* 800469CC 0004280C 7F BB EB 78 */ mr r27, r29
/* 800469D0 00042810 3B 20 00 00 */ li r25, 0x0
.global lbl_800469D4
lbl_800469D4:
/* 800469D4 00042814 80 1A 00 80 */ lwz r0, 0x80(r26)
/* 800469D8 00042818 81 8D 82 08 */ lwz r12, __AXFXAlloc@sda21(r13)
/* 800469DC 0004281C 54 03 10 3A */ slwi r3, r0, 2
/* 800469E0 00042820 7D 89 03 A6 */ mtctr r12
/* 800469E4 00042824 4E 80 04 21 */ bctrl
/* 800469E8 00042828 2C 03 00 00 */ cmpwi r3, 0x0
/* 800469EC 0004282C 90 7B 00 44 */ stw r3, 0x44(r27)
/* 800469F0 00042830 40 82 00 0C */ bne lbl_800469FC
/* 800469F4 00042834 38 60 00 00 */ li r3, 0x0
/* 800469F8 00042838 48 00 00 A4 */ b lbl_80046A9C
.global lbl_800469FC
lbl_800469FC:
/* 800469FC 0004283C 3B 39 00 01 */ addi r25, r25, 0x1
/* 80046A00 00042840 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80046A04 00042844 28 19 00 03 */ cmplwi r25, 0x3
/* 80046A08 00042848 3B 5A 00 04 */ addi r26, r26, 0x4
/* 80046A0C 0004284C 41 80 FF C8 */ blt lbl_800469D4
/* 80046A10 00042850 7E FB BB 78 */ mr r27, r23
/* 80046A14 00042854 7F 9A E3 78 */ mr r26, r28
/* 80046A18 00042858 3B 20 00 00 */ li r25, 0x0
.global lbl_80046A1C
lbl_80046A1C:
/* 80046A1C 0004285C 80 1B 00 C0 */ lwz r0, 0xc0(r27)
/* 80046A20 00042860 81 8D 82 08 */ lwz r12, __AXFXAlloc@sda21(r13)
/* 80046A24 00042864 54 03 10 3A */ slwi r3, r0, 2
/* 80046A28 00042868 7D 89 03 A6 */ mtctr r12
/* 80046A2C 0004286C 4E 80 04 21 */ bctrl
/* 80046A30 00042870 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046A34 00042874 90 7A 00 98 */ stw r3, 0x98(r26)
/* 80046A38 00042878 40 82 00 0C */ bne lbl_80046A44
/* 80046A3C 0004287C 38 60 00 00 */ li r3, 0x0
/* 80046A40 00042880 48 00 00 5C */ b lbl_80046A9C
.global lbl_80046A44
lbl_80046A44:
/* 80046A44 00042884 3B 39 00 01 */ addi r25, r25, 0x1
/* 80046A48 00042888 3B 5A 00 04 */ addi r26, r26, 0x4
/* 80046A4C 0004288C 28 19 00 02 */ cmplwi r25, 0x2
/* 80046A50 00042890 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80046A54 00042894 41 80 FF C8 */ blt lbl_80046A1C
/* 80046A58 00042898 80 1E 00 EC */ lwz r0, 0xec(r30)
/* 80046A5C 0004289C 81 8D 82 08 */ lwz r12, __AXFXAlloc@sda21(r13)
/* 80046A60 000428A0 54 03 10 3A */ slwi r3, r0, 2
/* 80046A64 000428A4 7D 89 03 A6 */ mtctr r12
/* 80046A68 000428A8 4E 80 04 21 */ bctrl
/* 80046A6C 000428AC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046A70 000428B0 90 7E 00 C8 */ stw r3, 0xc8(r30)
/* 80046A74 000428B4 40 82 00 0C */ bne lbl_80046A80
/* 80046A78 000428B8 38 60 00 00 */ li r3, 0x0
/* 80046A7C 000428BC 48 00 00 20 */ b lbl_80046A9C
.global lbl_80046A80
lbl_80046A80:
/* 80046A80 000428C0 3B 18 00 01 */ addi r24, r24, 0x1
/* 80046A84 000428C4 3B BD 00 0C */ addi r29, r29, 0xc
/* 80046A88 000428C8 28 18 00 03 */ cmplwi r24, 0x3
/* 80046A8C 000428CC 3B 9C 00 08 */ addi r28, r28, 0x8
/* 80046A90 000428D0 3B DE 00 04 */ addi r30, r30, 0x4
/* 80046A94 000428D4 41 80 FE D8 */ blt lbl_8004696C
/* 80046A98 000428D8 38 60 00 01 */ li r3, 0x1
.global lbl_80046A9C
lbl_80046A9C:
/* 80046A9C 000428DC 39 61 00 30 */ addi r11, r1, 0x30
/* 80046AA0 000428E0 4B FC 08 D9 */ bl lbl_80007378
/* 80046AA4 000428E4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80046AA8 000428E8 7C 08 03 A6 */ mtlr r0
/* 80046AAC 000428EC 38 21 00 30 */ addi r1, r1, 0x30
/* 80046AB0 000428F0 4E 80 00 20 */ blr
/* 80046AB4 000428F4 00 00 00 00 */ .4byte 0x00000000
/* 80046AB8 000428F8 00 00 00 00 */ .4byte 0x00000000
/* 80046ABC 000428FC 00 00 00 00 */ .4byte 0x00000000
.global __BzeroDelayLines
__BzeroDelayLines:
/* 80046AC0 00042900 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80046AC4 00042904 7C 08 02 A6 */ mflr r0
/* 80046AC8 00042908 90 01 00 34 */ stw r0, 0x34(r1)
/* 80046ACC 0004290C 39 61 00 30 */ addi r11, r1, 0x30
/* 80046AD0 00042910 4B FC 08 61 */ bl lbl_80007330
/* 80046AD4 00042914 7C 78 1B 78 */ mr r24, r3
/* 80046AD8 00042918 3B 20 00 00 */ li r25, 0x0
/* 80046ADC 0004291C 7F 1F C3 78 */ mr r31, r24
/* 80046AE0 00042920 7F 1E C3 78 */ mr r30, r24
/* 80046AE4 00042924 7F 1D C3 78 */ mr r29, r24
.global lbl_80046AE8
lbl_80046AE8:
/* 80046AE8 00042928 80 7F 00 00 */ lwz r3, 0x0(r31)
/* 80046AEC 0004292C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046AF0 00042930 41 82 00 14 */ beq lbl_80046B04
/* 80046AF4 00042934 80 18 00 1C */ lwz r0, 0x1c(r24)
/* 80046AF8 00042938 38 80 00 00 */ li r4, 0x0
/* 80046AFC 0004293C 54 05 10 3A */ slwi r5, r0, 2
/* 80046B00 00042940 4B FB D8 51 */ bl memset
.global lbl_80046B04
lbl_80046B04:
/* 80046B04 00042944 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 80046B08 00042948 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046B0C 0004294C 41 82 00 14 */ beq lbl_80046B20
/* 80046B10 00042950 80 18 00 40 */ lwz r0, 0x40(r24)
/* 80046B14 00042954 38 80 00 00 */ li r4, 0x0
/* 80046B18 00042958 54 05 10 3A */ slwi r5, r0, 2
/* 80046B1C 0004295C 4B FB D8 35 */ bl memset
.global lbl_80046B20
lbl_80046B20:
/* 80046B20 00042960 7F DB F3 78 */ mr r27, r30
/* 80046B24 00042964 7F 1C C3 78 */ mr r28, r24
/* 80046B28 00042968 3B 40 00 00 */ li r26, 0x0
.global lbl_80046B2C
lbl_80046B2C:
/* 80046B2C 0004296C 80 7B 00 44 */ lwz r3, 0x44(r27)
/* 80046B30 00042970 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046B34 00042974 41 82 00 14 */ beq lbl_80046B48
/* 80046B38 00042978 80 1C 00 80 */ lwz r0, 0x80(r28)
/* 80046B3C 0004297C 38 80 00 00 */ li r4, 0x0
/* 80046B40 00042980 54 05 10 3A */ slwi r5, r0, 2
/* 80046B44 00042984 4B FB D8 0D */ bl memset
.global lbl_80046B48
lbl_80046B48:
/* 80046B48 00042988 3B 5A 00 01 */ addi r26, r26, 0x1
/* 80046B4C 0004298C 3B 9C 00 04 */ addi r28, r28, 0x4
/* 80046B50 00042990 28 1A 00 03 */ cmplwi r26, 0x3
/* 80046B54 00042994 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80046B58 00042998 41 80 FF D4 */ blt lbl_80046B2C
/* 80046B5C 0004299C 7F BC EB 78 */ mr r28, r29
/* 80046B60 000429A0 7F 1B C3 78 */ mr r27, r24
/* 80046B64 000429A4 3B 40 00 00 */ li r26, 0x0
.global lbl_80046B68
lbl_80046B68:
/* 80046B68 000429A8 80 7C 00 98 */ lwz r3, 0x98(r28)
/* 80046B6C 000429AC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046B70 000429B0 41 82 00 14 */ beq lbl_80046B84
/* 80046B74 000429B4 80 1B 00 C0 */ lwz r0, 0xc0(r27)
/* 80046B78 000429B8 38 80 00 00 */ li r4, 0x0
/* 80046B7C 000429BC 54 05 10 3A */ slwi r5, r0, 2
/* 80046B80 000429C0 4B FB D7 D1 */ bl memset
.global lbl_80046B84
lbl_80046B84:
/* 80046B84 000429C4 3B 5A 00 01 */ addi r26, r26, 0x1
/* 80046B88 000429C8 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80046B8C 000429CC 28 1A 00 02 */ cmplwi r26, 0x2
/* 80046B90 000429D0 3B 9C 00 04 */ addi r28, r28, 0x4
/* 80046B94 000429D4 41 80 FF D4 */ blt lbl_80046B68
/* 80046B98 000429D8 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 80046B9C 000429DC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046BA0 000429E0 41 82 00 14 */ beq lbl_80046BB4
/* 80046BA4 000429E4 80 1F 00 EC */ lwz r0, 0xec(r31)
/* 80046BA8 000429E8 38 80 00 00 */ li r4, 0x0
/* 80046BAC 000429EC 54 05 10 3A */ slwi r5, r0, 2
/* 80046BB0 000429F0 4B FB D7 A1 */ bl memset
.global lbl_80046BB4
lbl_80046BB4:
/* 80046BB4 000429F4 3B 39 00 01 */ addi r25, r25, 0x1
/* 80046BB8 000429F8 3B DE 00 0C */ addi r30, r30, 0xc
/* 80046BBC 000429FC 28 19 00 03 */ cmplwi r25, 0x3
/* 80046BC0 00042A00 3B BD 00 08 */ addi r29, r29, 0x8
/* 80046BC4 00042A04 3B FF 00 04 */ addi r31, r31, 0x4
/* 80046BC8 00042A08 41 80 FF 20 */ blt lbl_80046AE8
/* 80046BCC 00042A0C 39 61 00 30 */ addi r11, r1, 0x30
/* 80046BD0 00042A10 4B FC 07 AD */ bl lbl_8000737C
/* 80046BD4 00042A14 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80046BD8 00042A18 7C 08 03 A6 */ mtlr r0
/* 80046BDC 00042A1C 38 21 00 30 */ addi r1, r1, 0x30
/* 80046BE0 00042A20 4E 80 00 20 */ blr
/* 80046BE4 00042A24 00 00 00 00 */ .4byte 0x00000000
/* 80046BE8 00042A28 00 00 00 00 */ .4byte 0x00000000
/* 80046BEC 00042A2C 00 00 00 00 */ .4byte 0x00000000
.global __FreeDelayLine
__FreeDelayLine:
/* 80046BF0 00042A30 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80046BF4 00042A34 7C 08 02 A6 */ mflr r0
/* 80046BF8 00042A38 90 01 00 34 */ stw r0, 0x34(r1)
/* 80046BFC 00042A3C 39 61 00 30 */ addi r11, r1, 0x30
/* 80046C00 00042A40 4B FC 07 35 */ bl lbl_80007334
/* 80046C04 00042A44 3B 20 00 00 */ li r25, 0x0
/* 80046C08 00042A48 7C 7E 1B 78 */ mr r30, r3
/* 80046C0C 00042A4C 3B E0 00 00 */ li r31, 0x0
/* 80046C10 00042A50 7C 7D 1B 78 */ mr r29, r3
/* 80046C14 00042A54 7C 7C 1B 78 */ mr r28, r3
.global lbl_80046C18
lbl_80046C18:
/* 80046C18 00042A58 80 7E 00 00 */ lwz r3, 0x0(r30)
/* 80046C1C 00042A5C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046C20 00042A60 41 82 00 14 */ beq lbl_80046C34
/* 80046C24 00042A64 81 8D 82 0C */ lwz r12, __AXFXFree@sda21(r13)
/* 80046C28 00042A68 7D 89 03 A6 */ mtctr r12
/* 80046C2C 00042A6C 4E 80 04 21 */ bctrl
/* 80046C30 00042A70 93 FE 00 00 */ stw r31, 0x0(r30)
.global lbl_80046C34
lbl_80046C34:
/* 80046C34 00042A74 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 80046C38 00042A78 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046C3C 00042A7C 41 82 00 14 */ beq lbl_80046C50
/* 80046C40 00042A80 81 8D 82 0C */ lwz r12, __AXFXFree@sda21(r13)
/* 80046C44 00042A84 7D 89 03 A6 */ mtctr r12
/* 80046C48 00042A88 4E 80 04 21 */ bctrl
/* 80046C4C 00042A8C 93 FE 00 2C */ stw r31, 0x2c(r30)
.global lbl_80046C50
lbl_80046C50:
/* 80046C50 00042A90 7F BB EB 78 */ mr r27, r29
/* 80046C54 00042A94 3B 40 00 00 */ li r26, 0x0
.global lbl_80046C58
lbl_80046C58:
/* 80046C58 00042A98 80 7B 00 44 */ lwz r3, 0x44(r27)
/* 80046C5C 00042A9C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046C60 00042AA0 41 82 00 14 */ beq lbl_80046C74
/* 80046C64 00042AA4 81 8D 82 0C */ lwz r12, __AXFXFree@sda21(r13)
/* 80046C68 00042AA8 7D 89 03 A6 */ mtctr r12
/* 80046C6C 00042AAC 4E 80 04 21 */ bctrl
/* 80046C70 00042AB0 93 FB 00 44 */ stw r31, 0x44(r27)
.global lbl_80046C74
lbl_80046C74:
/* 80046C74 00042AB4 3B 5A 00 01 */ addi r26, r26, 0x1
/* 80046C78 00042AB8 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80046C7C 00042ABC 28 1A 00 03 */ cmplwi r26, 0x3
/* 80046C80 00042AC0 41 80 FF D8 */ blt lbl_80046C58
/* 80046C84 00042AC4 7F 9B E3 78 */ mr r27, r28
/* 80046C88 00042AC8 3B 40 00 00 */ li r26, 0x0
.global lbl_80046C8C
lbl_80046C8C:
/* 80046C8C 00042ACC 80 7B 00 98 */ lwz r3, 0x98(r27)
/* 80046C90 00042AD0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046C94 00042AD4 41 82 00 14 */ beq lbl_80046CA8
/* 80046C98 00042AD8 81 8D 82 0C */ lwz r12, __AXFXFree@sda21(r13)
/* 80046C9C 00042ADC 7D 89 03 A6 */ mtctr r12
/* 80046CA0 00042AE0 4E 80 04 21 */ bctrl
/* 80046CA4 00042AE4 93 FB 00 98 */ stw r31, 0x98(r27)
.global lbl_80046CA8
lbl_80046CA8:
/* 80046CA8 00042AE8 3B 5A 00 01 */ addi r26, r26, 0x1
/* 80046CAC 00042AEC 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80046CB0 00042AF0 28 1A 00 02 */ cmplwi r26, 0x2
/* 80046CB4 00042AF4 41 80 FF D8 */ blt lbl_80046C8C
/* 80046CB8 00042AF8 80 7E 00 C8 */ lwz r3, 0xc8(r30)
/* 80046CBC 00042AFC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80046CC0 00042B00 41 82 00 14 */ beq lbl_80046CD4
/* 80046CC4 00042B04 81 8D 82 0C */ lwz r12, __AXFXFree@sda21(r13)
/* 80046CC8 00042B08 7D 89 03 A6 */ mtctr r12
/* 80046CCC 00042B0C 4E 80 04 21 */ bctrl
/* 80046CD0 00042B10 93 FE 00 C8 */ stw r31, 0xc8(r30)
.global lbl_80046CD4
lbl_80046CD4:
/* 80046CD4 00042B14 3B 39 00 01 */ addi r25, r25, 0x1
/* 80046CD8 00042B18 3B BD 00 0C */ addi r29, r29, 0xc
/* 80046CDC 00042B1C 28 19 00 03 */ cmplwi r25, 0x3
/* 80046CE0 00042B20 3B 9C 00 08 */ addi r28, r28, 0x8
/* 80046CE4 00042B24 3B DE 00 04 */ addi r30, r30, 0x4
/* 80046CE8 00042B28 41 80 FF 30 */ blt lbl_80046C18
/* 80046CEC 00042B2C 39 61 00 30 */ addi r11, r1, 0x30
/* 80046CF0 00042B30 4B FC 06 91 */ bl lbl_80007380
/* 80046CF4 00042B34 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80046CF8 00042B38 7C 08 03 A6 */ mtlr r0
/* 80046CFC 00042B3C 38 21 00 30 */ addi r1, r1, 0x30
/* 80046D00 00042B40 4E 80 00 20 */ blr
/* 80046D04 00042B44 00 00 00 00 */ .4byte 0x00000000
/* 80046D08 00042B48 00 00 00 00 */ .4byte 0x00000000
/* 80046D0C 00042B4C 00 00 00 00 */ .4byte 0x00000000
.global __InitParams
__InitParams:
/* 80046D10 00042B50 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80046D14 00042B54 7C 08 02 A6 */ mflr r0
/* 80046D18 00042B58 90 01 00 64 */ stw r0, 0x64(r1)
/* 80046D1C 00042B5C 39 61 00 30 */ addi r11, r1, 0x30
/* 80046D20 00042B60 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80046D24 00042B64 F3 E1 00 58 */ psq_st f31, 0x58(r1), 0, qr0
/* 80046D28 00042B68 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 80046D2C 00042B6C F3 C1 00 48 */ psq_st f30, 0x48(r1), 0, qr0
/* 80046D30 00042B70 DB A1 00 30 */ stfd f29, 0x30(r1)
/* 80046D34 00042B74 F3 A1 00 38 */ psq_st f29, 0x38(r1), 0, qr0
/* 80046D38 00042B78 4B FC 05 F9 */ bl lbl_80007330
/* 80046D3C 00042B7C 80 83 01 10 */ lwz r4, 0x110(r3)
/* 80046D40 00042B80 3F E0 80 43 */ lis r31, __EarlySizeTable@ha
/* 80046D44 00042B84 7C 7E 1B 78 */ mr r30, r3
/* 80046D48 00042B88 28 04 00 08 */ cmplwi r4, 0x8
/* 80046D4C 00042B8C 3B FF 60 20 */ addi r31, r31, __EarlySizeTable@l
/* 80046D50 00042B90 41 80 00 0C */ blt lbl_80046D5C
/* 80046D54 00042B94 38 60 00 00 */ li r3, 0x0
/* 80046D58 00042B98 48 00 02 AC */ b lbl_80047004
.global lbl_80046D5C
lbl_80046D5C:
/* 80046D5C 00042B9C C0 83 01 18 */ lfs f4, 0x118(r3)
/* 80046D60 00042BA0 C0 42 87 54 */ lfs f2, "@3123"@sda21(r2)
/* 80046D64 00042BA4 FC 04 10 40 */ fcmpo cr0, f4, f2
/* 80046D68 00042BA8 41 80 00 10 */ blt lbl_80046D78
/* 80046D6C 00042BAC C0 03 01 14 */ lfs f0, 0x114(r3)
/* 80046D70 00042BB0 FC 04 00 40 */ fcmpo cr0, f4, f0
/* 80046D74 00042BB4 40 81 00 0C */ ble lbl_80046D80
.global lbl_80046D78
lbl_80046D78:
/* 80046D78 00042BB8 38 60 00 00 */ li r3, 0x0
/* 80046D7C 00042BBC 48 00 02 88 */ b lbl_80047004
.global lbl_80046D80
lbl_80046D80:
/* 80046D80 00042BC0 80 03 01 1C */ lwz r0, 0x11c(r3)
/* 80046D84 00042BC4 28 00 00 06 */ cmplwi r0, 0x6
/* 80046D88 00042BC8 41 80 00 0C */ blt lbl_80046D94
/* 80046D8C 00042BCC 38 60 00 00 */ li r3, 0x0
/* 80046D90 00042BD0 48 00 02 74 */ b lbl_80047004
.global lbl_80046D94
lbl_80046D94:
/* 80046D94 00042BD4 C0 03 01 20 */ lfs f0, 0x120(r3)
/* 80046D98 00042BD8 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80046D9C 00042BDC 40 80 00 0C */ bge lbl_80046DA8
/* 80046DA0 00042BE0 38 60 00 00 */ li r3, 0x0
/* 80046DA4 00042BE4 48 00 02 60 */ b lbl_80047004
.global lbl_80046DA8
lbl_80046DA8:
/* 80046DA8 00042BE8 C0 03 01 24 */ lfs f0, 0x124(r3)
/* 80046DAC 00042BEC FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80046DB0 00042BF0 41 80 00 10 */ blt lbl_80046DC0
/* 80046DB4 00042BF4 C0 22 87 58 */ lfs f1, "@3288"@sda21(r2)
/* 80046DB8 00042BF8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80046DBC 00042BFC 40 81 00 0C */ ble lbl_80046DC8
.global lbl_80046DC0
lbl_80046DC0:
/* 80046DC0 00042C00 38 60 00 00 */ li r3, 0x0
/* 80046DC4 00042C04 48 00 02 40 */ b lbl_80047004
.global lbl_80046DC8
lbl_80046DC8:
/* 80046DC8 00042C08 C0 03 01 28 */ lfs f0, 0x128(r3)
/* 80046DCC 00042C0C FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80046DD0 00042C10 41 80 00 0C */ blt lbl_80046DDC
/* 80046DD4 00042C14 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80046DD8 00042C18 40 81 00 0C */ ble lbl_80046DE4
.global lbl_80046DDC
lbl_80046DDC:
/* 80046DDC 00042C1C 38 60 00 00 */ li r3, 0x0
/* 80046DE0 00042C20 48 00 02 24 */ b lbl_80047004
.global lbl_80046DE4
lbl_80046DE4:
/* 80046DE4 00042C24 C0 03 01 2C */ lfs f0, 0x12c(r3)
/* 80046DE8 00042C28 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80046DEC 00042C2C 41 80 00 0C */ blt lbl_80046DF8
/* 80046DF0 00042C30 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80046DF4 00042C34 40 81 00 0C */ ble lbl_80046E00
.global lbl_80046DF8
lbl_80046DF8:
/* 80046DF8 00042C38 38 60 00 00 */ li r3, 0x0
/* 80046DFC 00042C3C 48 00 02 08 */ b lbl_80047004
.global lbl_80046E00
lbl_80046E00:
/* 80046E00 00042C40 C0 63 01 30 */ lfs f3, 0x130(r3)
/* 80046E04 00042C44 FC 03 10 40 */ fcmpo cr0, f3, f2
/* 80046E08 00042C48 41 80 00 0C */ blt lbl_80046E14
/* 80046E0C 00042C4C FC 03 08 40 */ fcmpo cr0, f3, f1
/* 80046E10 00042C50 40 81 00 0C */ ble lbl_80046E1C
.global lbl_80046E14
lbl_80046E14:
/* 80046E14 00042C54 38 60 00 00 */ li r3, 0x0
/* 80046E18 00042C58 48 00 01 EC */ b lbl_80047004
.global lbl_80046E1C
lbl_80046E1C:
/* 80046E1C 00042C5C C0 03 01 34 */ lfs f0, 0x134(r3)
/* 80046E20 00042C60 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80046E24 00042C64 41 80 00 0C */ blt lbl_80046E30
/* 80046E28 00042C68 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80046E2C 00042C6C 40 81 00 0C */ ble lbl_80046E38
.global lbl_80046E30
lbl_80046E30:
/* 80046E30 00042C70 38 60 00 00 */ li r3, 0x0
/* 80046E34 00042C74 48 00 01 D0 */ b lbl_80047004
.global lbl_80046E38
lbl_80046E38:
/* 80046E38 00042C78 C0 03 01 40 */ lfs f0, 0x140(r3)
/* 80046E3C 00042C7C FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80046E40 00042C80 41 80 00 0C */ blt lbl_80046E4C
/* 80046E44 00042C84 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80046E48 00042C88 40 81 00 0C */ ble lbl_80046E54
.global lbl_80046E4C
lbl_80046E4C:
/* 80046E4C 00042C8C 38 60 00 00 */ li r3, 0x0
/* 80046E50 00042C90 48 00 01 B4 */ b lbl_80047004
.global lbl_80046E54
lbl_80046E54:
/* 80046E54 00042C94 C0 03 01 44 */ lfs f0, 0x144(r3)
/* 80046E58 00042C98 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80046E5C 00042C9C 41 80 00 0C */ blt lbl_80046E68
/* 80046E60 00042CA0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80046E64 00042CA4 40 81 00 0C */ ble lbl_80046E70
.global lbl_80046E68
lbl_80046E68:
/* 80046E68 00042CA8 38 60 00 00 */ li r3, 0x0
/* 80046E6C 00042CAC 48 00 01 98 */ b lbl_80047004
.global lbl_80046E70
lbl_80046E70:
/* 80046E70 00042CB0 1D 04 00 0C */ mulli r8, r4, 0xc
/* 80046E74 00042CB4 39 3F 00 00 */ addi r9, r31, 0x0
/* 80046E78 00042CB8 C0 02 87 50 */ lfs f0, "@3078"@sda21(r2)
/* 80046E7C 00042CBC 38 BF 00 60 */ addi r5, r31, 0x60
/* 80046E80 00042CC0 C0 42 87 5C */ lfs f2, "@3289"@sda21(r2)
/* 80046E84 00042CC4 3B 60 00 00 */ li r27, 0x0
/* 80046E88 00042CC8 7C E9 42 14 */ add r7, r9, r8
/* 80046E8C 00042CCC EC 20 01 32 */ fmuls f1, f0, f4
/* 80046E90 00042CD0 80 C7 00 08 */ lwz r6, 0x8(r7)
/* 80046E94 00042CD4 7C 85 42 14 */ add r4, r5, r8
/* 80046E98 00042CD8 90 C3 00 18 */ stw r6, 0x18(r3)
/* 80046E9C 00042CDC 7C 09 40 2E */ lwzx r0, r9, r8
/* 80046EA0 00042CE0 7C 00 30 50 */ subf r0, r0, r6
/* 80046EA4 00042CE4 90 03 00 0C */ stw r0, 0xc(r3)
/* 80046EA8 00042CE8 7C 05 44 2E */ lfsx f0, r5, r8
/* 80046EAC 00042CEC EC 03 00 32 */ fmuls f0, f3, f0
/* 80046EB0 00042CF0 EC 02 00 32 */ fmuls f0, f2, f0
/* 80046EB4 00042CF4 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 80046EB8 00042CF8 80 07 00 04 */ lwz r0, 0x4(r7)
/* 80046EBC 00042CFC 7C 00 30 50 */ subf r0, r0, r6
/* 80046EC0 00042D00 90 03 00 10 */ stw r0, 0x10(r3)
/* 80046EC4 00042D04 C0 04 00 04 */ lfs f0, 0x4(r4)
/* 80046EC8 00042D08 EC 03 00 32 */ fmuls f0, f3, f0
/* 80046ECC 00042D0C EC 02 00 32 */ fmuls f0, f2, f0
/* 80046ED0 00042D10 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 80046ED4 00042D14 80 07 00 08 */ lwz r0, 0x8(r7)
/* 80046ED8 00042D18 7C 00 30 50 */ subf r0, r0, r6
/* 80046EDC 00042D1C 90 03 00 14 */ stw r0, 0x14(r3)
/* 80046EE0 00042D20 C0 04 00 08 */ lfs f0, 0x8(r4)
/* 80046EE4 00042D24 EC 03 00 32 */ fmuls f0, f3, f0
/* 80046EE8 00042D28 93 63 00 38 */ stw r27, 0x38(r3)
/* 80046EEC 00042D2C EC 02 00 32 */ fmuls f0, f2, f0
/* 80046EF0 00042D30 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80046EF4 00042D34 4B FC 03 21 */ bl __cvt_fp2unsigned
/* 80046EF8 00042D38 90 7E 00 3C */ stw r3, 0x3c(r30)
/* 80046EFC 00042D3C 7F DA F3 78 */ mr r26, r30
/* 80046F00 00042D40 CB A2 87 88 */ lfd f29, "@3489_8055E708"@sda21(r2)
/* 80046F04 00042D44 3B 9F 00 C0 */ addi r28, r31, 0xc0
/* 80046F08 00042D48 C3 C2 87 70 */ lfs f30, "@3484"@sda21(r2)
/* 80046F0C 00042D4C 3B 00 00 00 */ li r24, 0x0
/* 80046F10 00042D50 C3 E2 87 50 */ lfs f31, "@3078"@sda21(r2)
/* 80046F14 00042D54 3B 20 00 00 */ li r25, 0x0
/* 80046F18 00042D58 3F A0 43 30 */ lis r29, 0x4330
.global lbl_80046F1C
lbl_80046F1C:
/* 80046F1C 00042D5C 93 7A 00 68 */ stw r27, 0x68(r26)
/* 80046F20 00042D60 C8 22 87 78 */ lfd f1, "@3485_8055E6F8"@sda21(r2)
/* 80046F24 00042D64 80 1E 01 1C */ lwz r0, 0x11c(r30)
/* 80046F28 00042D68 93 A1 00 08 */ stw r29, 0x8(r1)
/* 80046F2C 00042D6C 54 00 28 34 */ slwi r0, r0, 5
/* 80046F30 00042D70 7C 19 02 14 */ add r0, r25, r0
/* 80046F34 00042D74 7C 1C 00 2E */ lwzx r0, r28, r0
/* 80046F38 00042D78 90 01 00 0C */ stw r0, 0xc(r1)
/* 80046F3C 00042D7C C8 01 00 08 */ lfd f0, 0x8(r1)
/* 80046F40 00042D80 90 1A 00 74 */ stw r0, 0x74(r26)
/* 80046F44 00042D84 EC 40 E8 28 */ fsubs f2, f0, f29
/* 80046F48 00042D88 C0 1E 01 20 */ lfs f0, 0x120(r30)
/* 80046F4C 00042D8C EC 5E 00 B2 */ fmuls f2, f30, f2
/* 80046F50 00042D90 EC 1F 00 32 */ fmuls f0, f31, f0
/* 80046F54 00042D94 EC 42 00 24 */ fdivs f2, f2, f0
/* 80046F58 00042D98 4B FC D6 45 */ bl pow
/* 80046F5C 00042D9C FC 00 08 18 */ frsp f0, f1
/* 80046F60 00042DA0 3B 18 00 01 */ addi r24, r24, 0x1
/* 80046F64 00042DA4 28 18 00 03 */ cmplwi r24, 0x3
/* 80046F68 00042DA8 3B 39 00 04 */ addi r25, r25, 0x4
/* 80046F6C 00042DAC D0 1A 00 8C */ stfs f0, 0x8c(r26)
/* 80046F70 00042DB0 3B 5A 00 04 */ addi r26, r26, 0x4
/* 80046F74 00042DB4 41 80 FF A8 */ blt lbl_80046F1C
/* 80046F78 00042DB8 80 1E 01 1C */ lwz r0, 0x11c(r30)
/* 80046F7C 00042DBC 38 80 00 00 */ li r4, 0x0
/* 80046F80 00042DC0 90 9E 00 B0 */ stw r4, 0xb0(r30)
/* 80046F84 00042DC4 38 7F 00 C0 */ addi r3, r31, 0xc0
/* 80046F88 00042DC8 54 00 28 34 */ slwi r0, r0, 5
/* 80046F8C 00042DCC C0 22 87 58 */ lfs f1, "@3288"@sda21(r2)
/* 80046F90 00042DD0 7C 63 02 14 */ add r3, r3, r0
/* 80046F94 00042DD4 C0 1E 01 28 */ lfs f0, 0x128(r30)
/* 80046F98 00042DD8 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80046F9C 00042DDC EC 21 00 28 */ fsubs f1, f1, f0
/* 80046FA0 00042DE0 C0 02 87 80 */ lfs f0, "@3486_8055E700"@sda21(r2)
/* 80046FA4 00042DE4 90 1E 00 B8 */ stw r0, 0xb8(r30)
/* 80046FA8 00042DE8 C0 5E 01 24 */ lfs f2, 0x124(r30)
/* 80046FAC 00042DEC 90 9E 00 B4 */ stw r4, 0xb4(r30)
/* 80046FB0 00042DF0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80046FB4 00042DF4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80046FB8 00042DF8 90 1E 00 BC */ stw r0, 0xbc(r30)
/* 80046FBC 00042DFC 90 9E 00 D4 */ stw r4, 0xd4(r30)
/* 80046FC0 00042E00 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80046FC4 00042E04 90 1E 00 E0 */ stw r0, 0xe0(r30)
/* 80046FC8 00042E08 90 9E 00 D8 */ stw r4, 0xd8(r30)
/* 80046FCC 00042E0C 80 03 00 18 */ lwz r0, 0x18(r3)
/* 80046FD0 00042E10 90 1E 00 E4 */ stw r0, 0xe4(r30)
/* 80046FD4 00042E14 90 9E 00 DC */ stw r4, 0xdc(r30)
/* 80046FD8 00042E18 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80046FDC 00042E1C 90 1E 00 E8 */ stw r0, 0xe8(r30)
/* 80046FE0 00042E20 D0 5E 00 F8 */ stfs f2, 0xf8(r30)
/* 80046FE4 00042E24 D0 3E 01 08 */ stfs f1, 0x108(r30)
/* 80046FE8 00042E28 40 81 00 08 */ ble lbl_80046FF0
/* 80046FEC 00042E2C D0 1E 01 08 */ stfs f0, 0x108(r30)
.global lbl_80046FF0
lbl_80046FF0:
/* 80046FF0 00042E30 C0 02 87 54 */ lfs f0, "@3123"@sda21(r2)
/* 80046FF4 00042E34 38 60 00 01 */ li r3, 0x1
/* 80046FF8 00042E38 D0 1E 00 FC */ stfs f0, 0xfc(r30)
/* 80046FFC 00042E3C D0 1E 01 00 */ stfs f0, 0x100(r30)
/* 80047000 00042E40 D0 1E 01 04 */ stfs f0, 0x104(r30)
.global lbl_80047004
lbl_80047004:
/* 80047004 00042E44 39 61 00 30 */ addi r11, r1, 0x30
/* 80047008 00042E48 E3 E1 00 58 */ psq_l f31, 0x58(r1), 0, qr0
/* 8004700C 00042E4C CB E1 00 50 */ lfd f31, 0x50(r1)
/* 80047010 00042E50 E3 C1 00 48 */ psq_l f30, 0x48(r1), 0, qr0
/* 80047014 00042E54 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 80047018 00042E58 E3 A1 00 38 */ psq_l f29, 0x38(r1), 0, qr0
/* 8004701C 00042E5C CB A1 00 30 */ lfd f29, 0x30(r1)
/* 80047020 00042E60 4B FC 03 5D */ bl lbl_8000737C
/* 80047024 00042E64 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80047028 00042E68 7C 08 03 A6 */ mtlr r0
/* 8004702C 00042E6C 38 21 00 60 */ addi r1, r1, 0x60
/* 80047030 00042E70 4E 80 00 20 */ blr
/* 80047034 00042E74 00 00 00 00 */ .4byte 0x00000000
/* 80047038 00042E78 00 00 00 00 */ .4byte 0x00000000
/* 8004703C 00042E7C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global __EarlySizeTable
__EarlySizeTable:
.4byte 0x0000009D
.4byte 0x000001DF
.4byte 0x0000033D
.4byte 0x0000013D
.4byte 0x00000329
.4byte 0x0000045D
.4byte 0x000001DF
.4byte 0x000003AD
.4byte 0x000005CF
.4byte 0x00000281
.4byte 0x000004EB
.4byte 0x0000079D
.4byte 0x0000031D
.4byte 0x00000683
.4byte 0x00000A13
.4byte 0x000003C7
.4byte 0x0000076D
.4byte 0x00000B57
.4byte 0x00000463
.4byte 0x00000883
.4byte 0x00000D55
.4byte 0x000004FF
.4byte 0x000009AD
.4byte 0x00000F31
.4byte 0x3ECCCCCD
.4byte 0xBF800000
.4byte 0x3E99999A
.4byte 0x3F000000
.4byte 0xBF733333
.4byte 0x3E99999A
.4byte 0x3F19999A
.4byte 0xBF666666
.4byte 0x3E99999A
.4byte 0x3F400000
.4byte 0xBF59999A
.4byte 0x3E99999A
.4byte 0xBF666666
.4byte 0x3F4CCCCD
.4byte 0x3E99999A
.4byte 0xBF800000
.4byte 0x3F333333
.4byte 0x3E99999A
.4byte 0xBF800000
.4byte 0x3F333333
.4byte 0x3E99999A
.4byte 0xBF800000
.4byte 0x3F333333
.4byte 0x3E99999A
.global __FilterSizeTable
__FilterSizeTable:
.4byte 0x000006FD
.4byte 0x000007CF
.4byte 0x0000091D
.4byte 0x000001B1
.4byte 0x00000095
.4byte 0x0000002F
.4byte 0x00000049
.4byte 0x00000043
.4byte 0x00000095
.4byte 0x00000125
.4byte 0x000001C1
.4byte 0x000000FB
.4byte 0x00000067
.4byte 0x0000002F
.4byte 0x00000049
.4byte 0x00000043
.4byte 0x000003B3
.4byte 0x00000551
.4byte 0x000005FB
.4byte 0x000001B1
.4byte 0x00000089
.4byte 0x0000002F
.4byte 0x00000049
.4byte 0x00000043
.4byte 0x000004FF
.4byte 0x000005FB
.4byte 0x000007B5
.4byte 0x000001FD
.4byte 0x00000095
.4byte 0x0000002F
.4byte 0x00000049
.4byte 0x00000043
.4byte 0x000005FB
.4byte 0x00000737
.4byte 0x000008F9
.4byte 0x00000233
.4byte 0x000000B3
.4byte 0x0000002F
.4byte 0x00000049
.4byte 0x00000043
.4byte 0x0000071F
.4byte 0x00000935
.4byte 0x00000A85
.4byte 0x0000023B
.4byte 0x00000089
.4byte 0x0000002F
.4byte 0x00000049
.4byte 0x00000043
.4byte 0x0000071F
.4byte 0x00000935
.4byte 0x00000A85
.4byte 0x0000023B
.4byte 0x000000B3
.4byte 0x0000002F
.4byte 0x00000049
.4byte 0x00000043
.include "macros.inc"
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
.global "@3078"
"@3078":
.4byte 0x46FA0000
.global "@3123"
"@3123":
.4byte 0
.global "@3288"
"@3288":
.4byte 0x3F800000
.global "@3289"
"@3289":
.4byte 0x3F19999A
.global "@3290"
"@3290":
.4byte 0x3F000000
.4byte 0
.global "@3294"
"@3294":
.4byte 0x43300000
.4byte 0x80000000
.global "@3484"
"@3484":
.4byte 0xC0400000
.4byte 0
.global "@3485_8055E6F8"
"@3485_8055E6F8":
.4byte 0x40240000
.4byte 0
.global "@3486_8055E700"
"@3486_8055E700":
.4byte 0x3F733333
.4byte 0
.global "@3489_8055E708"
"@3489_8055E708":
.4byte 0x43300000
.4byte 0