donut-decomp/asm/usb/usb.s

2106 lines
83 KiB
ArmAsm
Raw Normal View History

2022-10-16 16:05:58 +00:00
.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
2022-10-16 16:31:36 +00:00
.global USB_LOG
USB_LOG:
2022-10-16 16:05:58 +00:00
/* 80073250 0006F090 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80073254 0006F094 7C 08 02 A6 */ mflr r0
/* 80073258 0006F098 90 01 00 84 */ stw r0, 0x84(r1)
/* 8007325C 0006F09C 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 80073260 0006F0A0 7C 7F 1B 78 */ mr r31, r3
/* 80073264 0006F0A4 40 86 00 24 */ bne cr1, lbl_80073288
/* 80073268 0006F0A8 D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8007326C 0006F0AC D8 41 00 30 */ stfd f2, 0x30(r1)
/* 80073270 0006F0B0 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 80073274 0006F0B4 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 80073278 0006F0B8 D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8007327C 0006F0BC D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 80073280 0006F0C0 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 80073284 0006F0C4 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_80073288
lbl_80073288:
2022-10-16 16:31:36 +00:00
/* 80073288 0006F0C8 88 0D EA B8 */ lbz r0, s_usb_log@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007328C 0006F0CC 90 61 00 08 */ stw r3, 0x8(r1)
/* 80073290 0006F0D0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80073294 0006F0D4 90 81 00 0C */ stw r4, 0xc(r1)
/* 80073298 0006F0D8 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8007329C 0006F0DC 90 C1 00 14 */ stw r6, 0x14(r1)
/* 800732A0 0006F0E0 90 E1 00 18 */ stw r7, 0x18(r1)
/* 800732A4 0006F0E4 91 01 00 1C */ stw r8, 0x1c(r1)
/* 800732A8 0006F0E8 91 21 00 20 */ stw r9, 0x20(r1)
/* 800732AC 0006F0EC 91 41 00 24 */ stw r10, 0x24(r1)
/* 800732B0 0006F0F0 41 82 00 34 */ beq lbl_800732E4
2022-10-16 16:31:36 +00:00
/* 800732B4 0006F0F4 38 6D 84 78 */ addi r3, r13, "@2519_80556898"@sda21
2022-10-16 16:05:58 +00:00
/* 800732B8 0006F0F8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800732BC 0006F0FC 4B FA A6 D5 */ bl OSReport
2022-10-16 16:05:58 +00:00
/* 800732C0 0006F100 38 A1 00 88 */ addi r5, r1, 0x88
/* 800732C4 0006F104 38 01 00 08 */ addi r0, r1, 0x8
/* 800732C8 0006F108 3C 60 01 00 */ lis r3, 0x100
/* 800732CC 0006F10C 90 61 00 68 */ stw r3, 0x68(r1)
/* 800732D0 0006F110 38 81 00 68 */ addi r4, r1, 0x68
/* 800732D4 0006F114 90 A1 00 6C */ stw r5, 0x6c(r1)
/* 800732D8 0006F118 7F E3 FB 78 */ mr r3, r31
/* 800732DC 0006F11C 90 01 00 70 */ stw r0, 0x70(r1)
2022-10-16 16:31:36 +00:00
/* 800732E0 0006F120 4B F9 A1 ED */ bl vprintf
2022-10-16 16:05:58 +00:00
.global lbl_800732E4
lbl_800732E4:
/* 800732E4 0006F124 80 01 00 84 */ lwz r0, 0x84(r1)
/* 800732E8 0006F128 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 800732EC 0006F12C 7C 08 03 A6 */ mtlr r0
/* 800732F0 0006F130 38 21 00 80 */ addi r1, r1, 0x80
/* 800732F4 0006F134 4E 80 00 20 */ blr
/* 800732F8 0006F138 00 00 00 00 */ .4byte 0x00000000
/* 800732FC 0006F13C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global USB_ERR
USB_ERR:
2022-10-16 16:05:58 +00:00
/* 80073300 0006F140 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80073304 0006F144 7C 08 02 A6 */ mflr r0
/* 80073308 0006F148 90 01 00 84 */ stw r0, 0x84(r1)
/* 8007330C 0006F14C 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 80073310 0006F150 7C 7F 1B 78 */ mr r31, r3
/* 80073314 0006F154 40 86 00 24 */ bne cr1, lbl_80073338
/* 80073318 0006F158 D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8007331C 0006F15C D8 41 00 30 */ stfd f2, 0x30(r1)
/* 80073320 0006F160 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 80073324 0006F164 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 80073328 0006F168 D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8007332C 0006F16C D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 80073330 0006F170 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 80073334 0006F174 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_80073338
lbl_80073338:
2022-10-16 16:31:36 +00:00
/* 80073338 0006F178 88 0D 84 74 */ lbz r0, s_usb_err@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007333C 0006F17C 90 61 00 08 */ stw r3, 0x8(r1)
/* 80073340 0006F180 2C 00 00 00 */ cmpwi r0, 0x0
/* 80073344 0006F184 90 81 00 0C */ stw r4, 0xc(r1)
/* 80073348 0006F188 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8007334C 0006F18C 90 C1 00 14 */ stw r6, 0x14(r1)
/* 80073350 0006F190 90 E1 00 18 */ stw r7, 0x18(r1)
/* 80073354 0006F194 91 01 00 1C */ stw r8, 0x1c(r1)
/* 80073358 0006F198 91 21 00 20 */ stw r9, 0x20(r1)
/* 8007335C 0006F19C 91 41 00 24 */ stw r10, 0x24(r1)
/* 80073360 0006F1A0 41 82 00 38 */ beq lbl_80073398
2022-10-16 16:31:36 +00:00
/* 80073364 0006F1A4 3C 60 80 44 */ lis r3, "@2524_8043A038"@ha
/* 80073368 0006F1A8 38 63 A0 38 */ addi r3, r3, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 8007336C 0006F1AC 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073370 0006F1B0 4B FA A6 21 */ bl OSReport
2022-10-16 16:05:58 +00:00
/* 80073374 0006F1B4 38 A1 00 88 */ addi r5, r1, 0x88
/* 80073378 0006F1B8 38 01 00 08 */ addi r0, r1, 0x8
/* 8007337C 0006F1BC 3C 60 01 00 */ lis r3, 0x100
/* 80073380 0006F1C0 90 61 00 68 */ stw r3, 0x68(r1)
/* 80073384 0006F1C4 38 81 00 68 */ addi r4, r1, 0x68
/* 80073388 0006F1C8 90 A1 00 6C */ stw r5, 0x6c(r1)
/* 8007338C 0006F1CC 7F E3 FB 78 */ mr r3, r31
/* 80073390 0006F1D0 90 01 00 70 */ stw r0, 0x70(r1)
2022-10-16 16:31:36 +00:00
/* 80073394 0006F1D4 4B F9 A1 39 */ bl vprintf
2022-10-16 16:05:58 +00:00
.global lbl_80073398
lbl_80073398:
/* 80073398 0006F1D8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8007339C 0006F1DC 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 800733A0 0006F1E0 7C 08 03 A6 */ mtlr r0
/* 800733A4 0006F1E4 38 21 00 80 */ addi r1, r1, 0x80
/* 800733A8 0006F1E8 4E 80 00 20 */ blr
/* 800733AC 0006F1EC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IUSB_OpenLib
IUSB_OpenLib:
2022-10-16 16:05:58 +00:00
/* 800733B0 0006F1F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800733B4 0006F1F4 7C 08 02 A6 */ mflr r0
/* 800733B8 0006F1F8 90 01 00 24 */ stw r0, 0x24(r1)
/* 800733BC 0006F1FC 93 E1 00 1C */ stw r31, 0x1c(r1)
2022-10-16 16:31:36 +00:00
/* 800733C0 0006F200 3F E0 80 44 */ lis r31, "@2524_8043A038"@ha
/* 800733C4 0006F204 3B FF A0 38 */ addi r31, r31, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 800733C8 0006F208 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800733CC 0006F20C 3B C0 00 00 */ li r30, 0x0
/* 800733D0 0006F210 93 A1 00 14 */ stw r29, 0x14(r1)
2022-10-16 16:31:36 +00:00
/* 800733D4 0006F214 4B FA E4 4D */ bl OSDisableInterrupts
/* 800733D8 0006F218 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800733DC 0006F21C 7C 7D 1B 78 */ mr r29, r3
/* 800733E0 0006F220 2C 04 FF FF */ cmpwi r4, -0x1
/* 800733E4 0006F224 41 82 00 14 */ beq lbl_800733F8
/* 800733E8 0006F228 38 7F 00 0C */ addi r3, r31, 0xc
/* 800733EC 0006F22C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800733F0 0006F230 4B FF FE 61 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 800733F4 0006F234 48 00 00 8C */ b lbl_80073480
.global lbl_800733F8
lbl_800733F8:
2022-10-16 16:31:36 +00:00
/* 800733F8 0006F238 80 0D EA B0 */ lwz r0, lo@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800733FC 0006F23C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80073400 0006F240 40 82 00 58 */ bne lbl_80073458
2022-10-16 16:31:36 +00:00
/* 80073404 0006F244 4B FD B3 FD */ bl IPCGetBufferLo
/* 80073408 0006F248 90 6D EA B0 */ stw r3, lo@sda21(r13)
/* 8007340C 0006F24C 4B FD B3 E5 */ bl IPCGetBufferHi
/* 80073410 0006F250 90 6D EA B4 */ stw r3, hi@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073414 0006F254 7C 66 1B 78 */ mr r6, r3
2022-10-16 16:31:36 +00:00
/* 80073418 0006F258 80 AD EA B0 */ lwz r5, lo@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007341C 0006F25C 38 7F 00 3C */ addi r3, r31, 0x3c
/* 80073420 0006F260 38 80 00 80 */ li r4, 0x80
/* 80073424 0006F264 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073428 0006F268 4B FF FE 29 */ bl USB_LOG
/* 8007342C 0006F26C 80 6D EA B0 */ lwz r3, lo@sda21(r13)
/* 80073430 0006F270 80 0D EA B4 */ lwz r0, hi@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073434 0006F274 38 63 40 00 */ addi r3, r3, 0x4000
/* 80073438 0006F278 7C 03 00 40 */ cmplw r3, r0
/* 8007343C 0006F27C 40 81 00 18 */ ble lbl_80073454
/* 80073440 0006F280 38 7F 00 5C */ addi r3, r31, 0x5c
/* 80073444 0006F284 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073448 0006F288 4B FF FE B9 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 8007344C 0006F28C 3B C0 FF EA */ li r30, -0x16
/* 80073450 0006F290 48 00 00 30 */ b lbl_80073480
.global lbl_80073454
lbl_80073454:
2022-10-16 16:31:36 +00:00
/* 80073454 0006F294 4B FD B3 BD */ bl IPCSetBufferLo
2022-10-16 16:05:58 +00:00
.global lbl_80073458
lbl_80073458:
2022-10-16 16:31:36 +00:00
/* 80073458 0006F298 80 6D EA B0 */ lwz r3, lo@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007345C 0006F29C 38 80 40 00 */ li r4, 0x4000
2022-10-16 16:31:36 +00:00
/* 80073460 0006F2A0 4B FD CE 21 */ bl iosCreateHeap
2022-10-16 16:05:58 +00:00
/* 80073464 0006F2A4 2C 03 00 00 */ cmpwi r3, 0x0
2022-10-16 16:31:36 +00:00
/* 80073468 0006F2A8 90 6D 84 70 */ stw r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007346C 0006F2AC 40 80 00 14 */ bge lbl_80073480
/* 80073470 0006F2B0 38 7F 00 74 */ addi r3, r31, 0x74
/* 80073474 0006F2B4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073478 0006F2B8 4B FF FE 89 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 8007347C 0006F2BC 3B C0 FF EA */ li r30, -0x16
.global lbl_80073480
lbl_80073480:
/* 80073480 0006F2C0 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 80073484 0006F2C4 4B FA E3 DD */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80073488 0006F2C8 7F C3 F3 78 */ mr r3, r30
/* 8007348C 0006F2CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80073490 0006F2D0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80073494 0006F2D4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80073498 0006F2D8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8007349C 0006F2DC 7C 08 03 A6 */ mtlr r0
/* 800734A0 0006F2E0 38 21 00 20 */ addi r1, r1, 0x20
/* 800734A4 0006F2E4 4E 80 00 20 */ blr
/* 800734A8 0006F2E8 00 00 00 00 */ .4byte 0x00000000
/* 800734AC 0006F2EC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global _intrBlkCtrlIsoCb
_intrBlkCtrlIsoCb:
2022-10-16 16:05:58 +00:00
/* 800734B0 0006F2F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800734B4 0006F2F4 7C 08 02 A6 */ mflr r0
/* 800734B8 0006F2F8 90 01 00 24 */ stw r0, 0x24(r1)
/* 800734BC 0006F2FC 39 61 00 20 */ addi r11, r1, 0x20
/* 800734C0 0006F300 4B F9 3E 79 */ bl lbl_80007338
2022-10-16 16:31:36 +00:00
/* 800734C4 0006F304 3F E0 80 44 */ lis r31, "@2524_8043A038"@ha
2022-10-16 16:05:58 +00:00
/* 800734C8 0006F308 7C 7A 1B 78 */ mr r26, r3
2022-10-16 16:31:36 +00:00
/* 800734CC 0006F30C 3B FF A0 38 */ addi r31, r31, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 800734D0 0006F310 7C 9B 23 78 */ mr r27, r4
/* 800734D4 0006F314 7F 44 D3 78 */ mr r4, r26
/* 800734D8 0006F318 38 7F 00 88 */ addi r3, r31, 0x88
/* 800734DC 0006F31C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800734E0 0006F320 4B FF FD 71 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 800734E4 0006F324 80 9B 00 34 */ lwz r4, 0x34(r27)
/* 800734E8 0006F328 38 7F 00 A8 */ addi r3, r31, 0xa8
/* 800734EC 0006F32C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800734F0 0006F330 4B FF FD 61 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 800734F4 0006F334 80 7B 00 34 */ lwz r3, 0x34(r27)
/* 800734F8 0006F338 38 03 FF FE */ addi r0, r3, -0x2
/* 800734FC 0006F33C 28 00 00 02 */ cmplwi r0, 0x2
/* 80073500 0006F340 40 81 00 24 */ ble lbl_80073524
/* 80073504 0006F344 28 03 00 07 */ cmplwi r3, 0x7
/* 80073508 0006F348 41 82 00 1C */ beq lbl_80073524
/* 8007350C 0006F34C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073510 0006F350 41 82 00 14 */ beq lbl_80073524
/* 80073514 0006F354 38 7F 00 C8 */ addi r3, r31, 0xc8
/* 80073518 0006F358 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007351C 0006F35C 4B FF FD E5 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 80073520 0006F360 48 00 00 78 */ b lbl_80073598
.global lbl_80073524
lbl_80073524:
/* 80073524 0006F364 7F 7D DB 78 */ mr r29, r27
/* 80073528 0006F368 3B 80 00 00 */ li r28, 0x0
/* 8007352C 0006F36C 48 00 00 58 */ b lbl_80073584
.global lbl_80073530
lbl_80073530:
/* 80073530 0006F370 80 BD 00 14 */ lwz r5, 0x14(r29)
/* 80073534 0006F374 7F 84 E3 78 */ mr r4, r28
/* 80073538 0006F378 38 7F 00 F0 */ addi r3, r31, 0xf0
/* 8007353C 0006F37C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073540 0006F380 4B FF FD 11 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80073544 0006F384 83 DD 00 14 */ lwz r30, 0x14(r29)
/* 80073548 0006F388 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8007354C 0006F38C 41 82 00 30 */ beq lbl_8007357C
2022-10-16 16:31:36 +00:00
/* 80073550 0006F390 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073554 0006F394 7F C4 F3 78 */ mr r4, r30
2022-10-16 16:31:36 +00:00
/* 80073558 0006F398 4B FD D0 69 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 8007355C 0006F39C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073560 0006F3A0 40 80 00 1C */ bge lbl_8007357C
2022-10-16 16:31:36 +00:00
/* 80073564 0006F3A4 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073568 0006F3A8 7C 66 1B 78 */ mr r6, r3
/* 8007356C 0006F3AC 7F C5 F3 78 */ mr r5, r30
/* 80073570 0006F3B0 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073574 0006F3B4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073578 0006F3B8 4B FF FD 89 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_8007357C
lbl_8007357C:
/* 8007357C 0006F3BC 3B BD 00 04 */ addi r29, r29, 0x4
/* 80073580 0006F3C0 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_80073584
lbl_80073584:
/* 80073584 0006F3C4 80 1B 00 34 */ lwz r0, 0x34(r27)
/* 80073588 0006F3C8 7C 1C 00 40 */ cmplw r28, r0
/* 8007358C 0006F3CC 41 80 FF A4 */ blt lbl_80073530
/* 80073590 0006F3D0 38 00 00 00 */ li r0, 0x0
/* 80073594 0006F3D4 90 1B 00 34 */ stw r0, 0x34(r27)
.global lbl_80073598
lbl_80073598:
/* 80073598 0006F3D8 80 9B 00 00 */ lwz r4, 0x0(r27)
/* 8007359C 0006F3DC 38 7F 01 28 */ addi r3, r31, 0x128
/* 800735A0 0006F3E0 80 BB 00 08 */ lwz r5, 0x8(r27)
/* 800735A4 0006F3E4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800735A8 0006F3E8 4B FF FC A9 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 800735AC 0006F3EC 81 9B 00 00 */ lwz r12, 0x0(r27)
/* 800735B0 0006F3F0 2C 0C 00 00 */ cmpwi r12, 0x0
/* 800735B4 0006F3F4 41 82 00 18 */ beq lbl_800735CC
/* 800735B8 0006F3F8 7F 43 D3 78 */ mr r3, r26
/* 800735BC 0006F3FC 80 9B 00 08 */ lwz r4, 0x8(r27)
/* 800735C0 0006F400 7D 89 03 A6 */ mtctr r12
/* 800735C4 0006F404 4E 80 04 21 */ bctrl
/* 800735C8 0006F408 48 00 00 34 */ b lbl_800735FC
.global lbl_800735CC
lbl_800735CC:
/* 800735CC 0006F40C 80 1B 00 04 */ lwz r0, 0x4(r27)
/* 800735D0 0006F410 2C 00 00 00 */ cmpwi r0, 0x0
/* 800735D4 0006F414 41 82 00 28 */ beq lbl_800735FC
/* 800735D8 0006F418 38 7F 01 3C */ addi r3, r31, 0x13c
/* 800735DC 0006F41C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800735E0 0006F420 4B FF FC 71 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 800735E4 0006F424 81 9B 00 04 */ lwz r12, 0x4(r27)
/* 800735E8 0006F428 7F 43 D3 78 */ mr r3, r26
/* 800735EC 0006F42C 80 9B 00 0C */ lwz r4, 0xc(r27)
/* 800735F0 0006F430 80 BB 00 08 */ lwz r5, 0x8(r27)
/* 800735F4 0006F434 7D 89 03 A6 */ mtctr r12
/* 800735F8 0006F438 4E 80 04 21 */ bctrl
.global lbl_800735FC
lbl_800735FC:
/* 800735FC 0006F43C 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80073600 0006F440 41 82 00 30 */ beq lbl_80073630
2022-10-16 16:31:36 +00:00
/* 80073604 0006F444 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073608 0006F448 7F 64 DB 78 */ mr r4, r27
2022-10-16 16:31:36 +00:00
/* 8007360C 0006F44C 4B FD CF B5 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073610 0006F450 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073614 0006F454 40 80 00 1C */ bge lbl_80073630
2022-10-16 16:31:36 +00:00
/* 80073618 0006F458 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007361C 0006F45C 7C 66 1B 78 */ mr r6, r3
/* 80073620 0006F460 7F 65 DB 78 */ mr r5, r27
/* 80073624 0006F464 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073628 0006F468 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007362C 0006F46C 4B FF FC D5 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073630
lbl_80073630:
/* 80073630 0006F470 39 61 00 20 */ addi r11, r1, 0x20
/* 80073634 0006F474 7F 43 D3 78 */ mr r3, r26
/* 80073638 0006F478 4B F9 3D 4D */ bl lbl_80007384
/* 8007363C 0006F47C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80073640 0006F480 7C 08 03 A6 */ mtlr r0
/* 80073644 0006F484 38 21 00 20 */ addi r1, r1, 0x20
/* 80073648 0006F488 4E 80 00 20 */ blr
/* 8007364C 0006F48C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IUSB_OpenDeviceIds
IUSB_OpenDeviceIds:
2022-10-16 16:05:58 +00:00
/* 80073650 0006F490 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80073654 0006F494 7C 08 02 A6 */ mflr r0
/* 80073658 0006F498 90 01 00 24 */ stw r0, 0x24(r1)
/* 8007365C 0006F49C 39 61 00 20 */ addi r11, r1, 0x20
/* 80073660 0006F4A0 4B F9 3C D9 */ bl lbl_80007338
/* 80073664 0006F4A4 2C 06 00 00 */ cmpwi r6, 0x0
2022-10-16 16:31:36 +00:00
/* 80073668 0006F4A8 3F E0 80 44 */ lis r31, "@2524_8043A038"@ha
2022-10-16 16:05:58 +00:00
/* 8007366C 0006F4AC 7C 7A 1B 78 */ mr r26, r3
/* 80073670 0006F4B0 7C 9B 23 78 */ mr r27, r4
/* 80073674 0006F4B4 7C BE 2B 78 */ mr r30, r5
/* 80073678 0006F4B8 7C DC 33 78 */ mr r28, r6
2022-10-16 16:31:36 +00:00
/* 8007367C 0006F4BC 3B FF A0 38 */ addi r31, r31, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 80073680 0006F4C0 3B A0 00 00 */ li r29, 0x0
/* 80073684 0006F4C4 40 82 00 0C */ bne lbl_80073690
/* 80073688 0006F4C8 3B C0 FF FC */ li r30, -0x4
/* 8007368C 0006F4CC 48 00 00 B8 */ b lbl_80073744
.global lbl_80073690
lbl_80073690:
2022-10-16 16:31:36 +00:00
/* 80073690 0006F4D0 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073694 0006F4D4 38 80 00 80 */ li r4, 0x80
/* 80073698 0006F4D8 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 8007369C 0006F4DC 4B FD CF 15 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 800736A0 0006F4E0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800736A4 0006F4E4 7C 7D 1B 78 */ mr r29, r3
/* 800736A8 0006F4E8 40 82 00 1C */ bne lbl_800736C4
2022-10-16 16:31:36 +00:00
/* 800736AC 0006F4EC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800736B0 0006F4F0 7F A6 EB 78 */ mr r6, r29
/* 800736B4 0006F4F4 38 7F 01 54 */ addi r3, r31, 0x154
/* 800736B8 0006F4F8 38 A0 00 80 */ li r5, 0x80
/* 800736BC 0006F4FC 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800736C0 0006F500 4B FF FC 41 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800736C4
lbl_800736C4:
/* 800736C4 0006F504 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800736C8 0006F508 40 82 00 18 */ bne lbl_800736E0
/* 800736CC 0006F50C 38 7F 01 78 */ addi r3, r31, 0x178
/* 800736D0 0006F510 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800736D4 0006F514 4B FF FC 2D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 800736D8 0006F518 3B C0 FF EA */ li r30, -0x16
/* 800736DC 0006F51C 48 00 00 68 */ b lbl_80073744
.global lbl_800736E0
lbl_800736E0:
/* 800736E0 0006F520 7F A3 EB 78 */ mr r3, r29
/* 800736E4 0006F524 38 80 00 00 */ li r4, 0x0
/* 800736E8 0006F528 38 A0 00 80 */ li r5, 0x80
2022-10-16 16:31:36 +00:00
/* 800736EC 0006F52C 4B F9 0C 65 */ bl memset
2022-10-16 16:05:58 +00:00
/* 800736F0 0006F530 7F 46 D3 78 */ mr r6, r26
/* 800736F4 0006F534 7F 67 DB 78 */ mr r7, r27
/* 800736F8 0006F538 7F C8 F3 78 */ mr r8, r30
/* 800736FC 0006F53C 38 7D 00 40 */ addi r3, r29, 0x40
/* 80073700 0006F540 38 BF 01 9C */ addi r5, r31, 0x19c
/* 80073704 0006F544 38 80 00 40 */ li r4, 0x40
/* 80073708 0006F548 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007370C 0006F54C 4B F9 9F BD */ bl snprintf
2022-10-16 16:05:58 +00:00
/* 80073710 0006F550 38 7F 01 B0 */ addi r3, r31, 0x1b0
/* 80073714 0006F554 38 9D 00 40 */ addi r4, r29, 0x40
/* 80073718 0006F558 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007371C 0006F55C 4B FF FB 35 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80073720 0006F560 38 7D 00 40 */ addi r3, r29, 0x40
/* 80073724 0006F564 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 80073728 0006F568 4B FD BA 19 */ bl IOS_Open
2022-10-16 16:05:58 +00:00
/* 8007372C 0006F56C 7C 7E 1B 78 */ mr r30, r3
/* 80073730 0006F570 38 7F 01 C4 */ addi r3, r31, 0x1c4
/* 80073734 0006F574 7F C4 F3 78 */ mr r4, r30
/* 80073738 0006F578 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007373C 0006F57C 4B FF FB 15 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80073740 0006F580 93 DC 00 00 */ stw r30, 0x0(r28)
.global lbl_80073744
lbl_80073744:
/* 80073744 0006F584 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80073748 0006F588 41 82 00 30 */ beq lbl_80073778
2022-10-16 16:31:36 +00:00
/* 8007374C 0006F58C 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073750 0006F590 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 80073754 0006F594 4B FD CE 6D */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073758 0006F598 2C 03 00 00 */ cmpwi r3, 0x0
/* 8007375C 0006F59C 40 80 00 1C */ bge lbl_80073778
2022-10-16 16:31:36 +00:00
/* 80073760 0006F5A0 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073764 0006F5A4 7C 66 1B 78 */ mr r6, r3
/* 80073768 0006F5A8 7F A5 EB 78 */ mr r5, r29
/* 8007376C 0006F5AC 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073770 0006F5B0 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073774 0006F5B4 4B FF FB 8D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073778
lbl_80073778:
/* 80073778 0006F5B8 39 61 00 20 */ addi r11, r1, 0x20
/* 8007377C 0006F5BC 7F C3 F3 78 */ mr r3, r30
/* 80073780 0006F5C0 4B F9 3C 05 */ bl lbl_80007384
/* 80073784 0006F5C4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80073788 0006F5C8 7C 08 03 A6 */ mtlr r0
/* 8007378C 0006F5CC 38 21 00 20 */ addi r1, r1, 0x20
/* 80073790 0006F5D0 4E 80 00 20 */ blr
/* 80073794 0006F5D4 00 00 00 00 */ .4byte 0x00000000
/* 80073798 0006F5D8 00 00 00 00 */ .4byte 0x00000000
/* 8007379C 0006F5DC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IUSB_CloseDeviceAsync
IUSB_CloseDeviceAsync:
2022-10-16 16:05:58 +00:00
/* 800737A0 0006F5E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800737A4 0006F5E4 7C 08 02 A6 */ mflr r0
/* 800737A8 0006F5E8 90 01 00 24 */ stw r0, 0x24(r1)
/* 800737AC 0006F5EC 39 61 00 20 */ addi r11, r1, 0x20
/* 800737B0 0006F5F0 4B F9 3B 8D */ bl lbl_8000733C
2022-10-16 16:31:36 +00:00
/* 800737B4 0006F5F4 3F E0 80 44 */ lis r31, "@2524_8043A038"@ha
2022-10-16 16:05:58 +00:00
/* 800737B8 0006F5F8 7C 7B 1B 78 */ mr r27, r3
2022-10-16 16:31:36 +00:00
/* 800737BC 0006F5FC 3B FF A0 38 */ addi r31, r31, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 800737C0 0006F600 7C 9C 23 78 */ mr r28, r4
/* 800737C4 0006F604 7C BD 2B 78 */ mr r29, r5
/* 800737C8 0006F608 38 7F 02 14 */ addi r3, r31, 0x214
/* 800737CC 0006F60C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800737D0 0006F610 4B FF FA 81 */ bl USB_LOG
/* 800737D4 0006F614 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800737D8 0006F618 38 80 00 80 */ li r4, 0x80
/* 800737DC 0006F61C 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 800737E0 0006F620 4B FD CD D1 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 800737E4 0006F624 2C 03 00 00 */ cmpwi r3, 0x0
/* 800737E8 0006F628 7C 7E 1B 78 */ mr r30, r3
/* 800737EC 0006F62C 40 82 00 1C */ bne lbl_80073808
2022-10-16 16:31:36 +00:00
/* 800737F0 0006F630 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800737F4 0006F634 7F C6 F3 78 */ mr r6, r30
/* 800737F8 0006F638 38 7F 01 54 */ addi r3, r31, 0x154
/* 800737FC 0006F63C 38 A0 00 80 */ li r5, 0x80
/* 80073800 0006F640 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073804 0006F644 4B FF FA FD */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073808
lbl_80073808:
/* 80073808 0006F648 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8007380C 0006F64C 40 82 00 18 */ bne lbl_80073824
/* 80073810 0006F650 38 7F 02 40 */ addi r3, r31, 0x240
/* 80073814 0006F654 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073818 0006F658 4B FF FA E9 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 8007381C 0006F65C 3B A0 FF EA */ li r29, -0x16
/* 80073820 0006F660 48 00 00 88 */ b lbl_800738A8
.global lbl_80073824
lbl_80073824:
/* 80073824 0006F664 7F C3 F3 78 */ mr r3, r30
/* 80073828 0006F668 38 80 00 00 */ li r4, 0x0
/* 8007382C 0006F66C 38 A0 00 80 */ li r5, 0x80
2022-10-16 16:31:36 +00:00
/* 80073830 0006F670 4B F9 0B 21 */ bl memset
2022-10-16 16:05:58 +00:00
/* 80073834 0006F674 93 9E 00 00 */ stw r28, 0x0(r30)
2022-10-16 16:31:36 +00:00
/* 80073838 0006F678 3C 80 80 07 */ lis r4, _intrBlkCtrlIsoCb@ha
2022-10-16 16:05:58 +00:00
/* 8007383C 0006F67C 38 00 00 00 */ li r0, 0x0
/* 80073840 0006F680 7F 63 DB 78 */ mr r3, r27
/* 80073844 0006F684 93 BE 00 08 */ stw r29, 0x8(r30)
/* 80073848 0006F688 7F C5 F3 78 */ mr r5, r30
2022-10-16 16:31:36 +00:00
/* 8007384C 0006F68C 38 84 34 B0 */ addi r4, r4, _intrBlkCtrlIsoCb@l
2022-10-16 16:05:58 +00:00
/* 80073850 0006F690 90 1E 00 34 */ stw r0, 0x34(r30)
2022-10-16 16:31:36 +00:00
/* 80073854 0006F694 4B FD BA 1D */ bl IOS_CloseAsync
2022-10-16 16:05:58 +00:00
/* 80073858 0006F698 7C 7D 1B 78 */ mr r29, r3
/* 8007385C 0006F69C 38 7F 02 24 */ addi r3, r31, 0x224
/* 80073860 0006F6A0 7F A4 EB 78 */ mr r4, r29
/* 80073864 0006F6A4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073868 0006F6A8 4B FF F9 E9 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 8007386C 0006F6AC 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80073870 0006F6B0 40 80 00 38 */ bge lbl_800738A8
/* 80073874 0006F6B4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80073878 0006F6B8 41 82 00 30 */ beq lbl_800738A8
2022-10-16 16:31:36 +00:00
/* 8007387C 0006F6BC 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073880 0006F6C0 7F C4 F3 78 */ mr r4, r30
2022-10-16 16:31:36 +00:00
/* 80073884 0006F6C4 4B FD CD 3D */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073888 0006F6C8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8007388C 0006F6CC 40 80 00 1C */ bge lbl_800738A8
2022-10-16 16:31:36 +00:00
/* 80073890 0006F6D0 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073894 0006F6D4 7C 66 1B 78 */ mr r6, r3
/* 80073898 0006F6D8 7F C5 F3 78 */ mr r5, r30
/* 8007389C 0006F6DC 38 7F 01 08 */ addi r3, r31, 0x108
/* 800738A0 0006F6E0 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800738A4 0006F6E4 4B FF FA 5D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800738A8
lbl_800738A8:
/* 800738A8 0006F6E8 39 61 00 20 */ addi r11, r1, 0x20
/* 800738AC 0006F6EC 7F A3 EB 78 */ mr r3, r29
/* 800738B0 0006F6F0 4B F9 3A D9 */ bl lbl_80007388
/* 800738B4 0006F6F4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800738B8 0006F6F8 7C 08 03 A6 */ mtlr r0
/* 800738BC 0006F6FC 38 21 00 20 */ addi r1, r1, 0x20
/* 800738C0 0006F700 4E 80 00 20 */ blr
/* 800738C4 0006F704 00 00 00 00 */ .4byte 0x00000000
/* 800738C8 0006F708 00 00 00 00 */ .4byte 0x00000000
/* 800738CC 0006F70C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global __LongBlkMsgInt
__LongBlkMsgInt:
2022-10-16 16:05:58 +00:00
/* 800738D0 0006F710 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800738D4 0006F714 7C 08 02 A6 */ mflr r0
/* 800738D8 0006F718 90 01 00 44 */ stw r0, 0x44(r1)
/* 800738DC 0006F71C 39 61 00 40 */ addi r11, r1, 0x40
/* 800738E0 0006F720 4B F9 3A 45 */ bl lbl_80007324
/* 800738E4 0006F724 7C 75 1B 78 */ mr r21, r3
2022-10-16 16:31:36 +00:00
/* 800738E8 0006F728 3F E0 80 44 */ lis r31, "@2524_8043A038"@ha
2022-10-16 16:05:58 +00:00
/* 800738EC 0006F72C 7C 96 23 78 */ mr r22, r4
/* 800738F0 0006F730 7C B7 2B 78 */ mr r23, r5
2022-10-16 16:31:36 +00:00
/* 800738F4 0006F734 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800738F8 0006F738 7C D8 33 78 */ mr r24, r6
/* 800738FC 0006F73C 7C F9 3B 78 */ mr r25, r7
/* 80073900 0006F740 7D 1E 43 78 */ mr r30, r8
/* 80073904 0006F744 7D 3A 4B 78 */ mr r26, r9
2022-10-16 16:31:36 +00:00
/* 80073908 0006F748 3B FF A0 38 */ addi r31, r31, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 8007390C 0006F74C 38 80 00 60 */ li r4, 0x60
/* 80073910 0006F750 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80073914 0006F754 4B FD CC 9D */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80073918 0006F758 2C 03 00 00 */ cmpwi r3, 0x0
/* 8007391C 0006F75C 7C 7D 1B 78 */ mr r29, r3
/* 80073920 0006F760 40 82 00 1C */ bne lbl_8007393C
2022-10-16 16:31:36 +00:00
/* 80073924 0006F764 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073928 0006F768 7F A6 EB 78 */ mr r6, r29
/* 8007392C 0006F76C 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073930 0006F770 38 A0 00 60 */ li r5, 0x60
/* 80073934 0006F774 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073938 0006F778 4B FF F9 C9 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_8007393C
lbl_8007393C:
2022-10-16 16:31:36 +00:00
/* 8007393C 0006F77C 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073940 0006F780 38 80 00 20 */ li r4, 0x20
/* 80073944 0006F784 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80073948 0006F788 4B FD CC 69 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 8007394C 0006F78C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073950 0006F790 7C 7C 1B 78 */ mr r28, r3
/* 80073954 0006F794 40 82 00 1C */ bne lbl_80073970
2022-10-16 16:31:36 +00:00
/* 80073958 0006F798 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007395C 0006F79C 7F 86 E3 78 */ mr r6, r28
/* 80073960 0006F7A0 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073964 0006F7A4 38 A0 00 20 */ li r5, 0x20
/* 80073968 0006F7A8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007396C 0006F7AC 4B FF F9 95 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073970
lbl_80073970:
2022-10-16 16:31:36 +00:00
/* 80073970 0006F7B0 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073974 0006F7B4 38 80 00 20 */ li r4, 0x20
/* 80073978 0006F7B8 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 8007397C 0006F7BC 4B FD CC 35 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80073980 0006F7C0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073984 0006F7C4 7C 7B 1B 78 */ mr r27, r3
/* 80073988 0006F7C8 40 82 00 1C */ bne lbl_800739A4
2022-10-16 16:31:36 +00:00
/* 8007398C 0006F7CC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073990 0006F7D0 7F 66 DB 78 */ mr r6, r27
/* 80073994 0006F7D4 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073998 0006F7D8 38 A0 00 20 */ li r5, 0x20
/* 8007399C 0006F7DC 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800739A0 0006F7E0 4B FF F9 61 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800739A4
lbl_800739A4:
/* 800739A4 0006F7E4 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800739A8 0006F7E8 41 82 00 14 */ beq lbl_800739BC
/* 800739AC 0006F7EC 2C 1C 00 00 */ cmpwi r28, 0x0
/* 800739B0 0006F7F0 41 82 00 0C */ beq lbl_800739BC
/* 800739B4 0006F7F4 2C 1B 00 00 */ cmpwi r27, 0x0
/* 800739B8 0006F7F8 40 82 00 18 */ bne lbl_800739D0
.global lbl_800739BC
lbl_800739BC:
/* 800739BC 0006F7FC 38 7F 02 C0 */ addi r3, r31, 0x2c0
/* 800739C0 0006F800 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800739C4 0006F804 4B FF F9 3D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 800739C8 0006F808 3B C0 FF EA */ li r30, -0x16
/* 800739CC 0006F80C 48 00 01 A0 */ b lbl_80073B6C
.global lbl_800739D0
lbl_800739D0:
/* 800739D0 0006F810 9A DC 00 00 */ stb r22, 0x0(r28)
/* 800739D4 0006F814 38 A0 00 01 */ li r5, 0x1
/* 800739D8 0006F818 38 00 00 04 */ li r0, 0x4
/* 800739DC 0006F81C 7F 83 E3 78 */ mr r3, r28
/* 800739E0 0006F820 92 FB 00 00 */ stw r23, 0x0(r27)
/* 800739E4 0006F824 38 80 00 20 */ li r4, 0x20
/* 800739E8 0006F828 93 9D 00 00 */ stw r28, 0x0(r29)
/* 800739EC 0006F82C 90 BD 00 04 */ stw r5, 0x4(r29)
/* 800739F0 0006F830 93 7D 00 08 */ stw r27, 0x8(r29)
/* 800739F4 0006F834 90 1D 00 0C */ stw r0, 0xc(r29)
/* 800739F8 0006F838 93 1D 00 10 */ stw r24, 0x10(r29)
/* 800739FC 0006F83C 92 FD 00 14 */ stw r23, 0x14(r29)
2022-10-16 16:31:36 +00:00
/* 80073A00 0006F840 4B FA 8F 81 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80073A04 0006F844 7F 63 DB 78 */ mr r3, r27
/* 80073A08 0006F848 38 80 00 20 */ li r4, 0x20
2022-10-16 16:31:36 +00:00
/* 80073A0C 0006F84C 4B FA 8F 75 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80073A10 0006F850 7F A3 EB 78 */ mr r3, r29
/* 80073A14 0006F854 38 80 00 60 */ li r4, 0x60
2022-10-16 16:31:36 +00:00
/* 80073A18 0006F858 4B FA 8F 69 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80073A1C 0006F85C 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80073A20 0006F860 40 82 00 34 */ bne lbl_80073A54
/* 80073A24 0006F864 7E A3 AB 78 */ mr r3, r21
/* 80073A28 0006F868 7F A7 EB 78 */ mr r7, r29
/* 80073A2C 0006F86C 38 80 00 0A */ li r4, 0xa
/* 80073A30 0006F870 38 A0 00 02 */ li r5, 0x2
/* 80073A34 0006F874 38 C0 00 01 */ li r6, 0x1
2022-10-16 16:31:36 +00:00
/* 80073A38 0006F878 4B FD C4 39 */ bl IOS_Ioctlv
2022-10-16 16:05:58 +00:00
/* 80073A3C 0006F87C 7C 7E 1B 78 */ mr r30, r3
/* 80073A40 0006F880 38 7F 02 E4 */ addi r3, r31, 0x2e4
/* 80073A44 0006F884 7F C4 F3 78 */ mr r4, r30
/* 80073A48 0006F888 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073A4C 0006F88C 4B FF F8 05 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80073A50 0006F890 48 00 01 1C */ b lbl_80073B6C
.global lbl_80073A54
lbl_80073A54:
2022-10-16 16:31:36 +00:00
/* 80073A54 0006F894 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073A58 0006F898 38 80 00 80 */ li r4, 0x80
/* 80073A5C 0006F89C 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80073A60 0006F8A0 4B FD CB 51 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80073A64 0006F8A4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073A68 0006F8A8 7C 7A 1B 78 */ mr r26, r3
/* 80073A6C 0006F8AC 40 82 00 1C */ bne lbl_80073A88
2022-10-16 16:31:36 +00:00
/* 80073A70 0006F8B0 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073A74 0006F8B4 7F 46 D3 78 */ mr r6, r26
/* 80073A78 0006F8B8 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073A7C 0006F8BC 38 A0 00 80 */ li r5, 0x80
/* 80073A80 0006F8C0 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073A84 0006F8C4 4B FF F8 7D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073A88
lbl_80073A88:
/* 80073A88 0006F8C8 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80073A8C 0006F8CC 40 82 00 18 */ bne lbl_80073AA4
/* 80073A90 0006F8D0 38 7F 03 04 */ addi r3, r31, 0x304
/* 80073A94 0006F8D4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073A98 0006F8D8 4B FF F8 69 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 80073A9C 0006F8DC 3B C0 FF EA */ li r30, -0x16
/* 80073AA0 0006F8E0 48 00 00 CC */ b lbl_80073B6C
.global lbl_80073AA4
lbl_80073AA4:
/* 80073AA4 0006F8E4 7F 43 D3 78 */ mr r3, r26
/* 80073AA8 0006F8E8 38 80 00 00 */ li r4, 0x0
/* 80073AAC 0006F8EC 38 A0 00 80 */ li r5, 0x80
2022-10-16 16:31:36 +00:00
/* 80073AB0 0006F8F0 4B F9 08 A1 */ bl memset
2022-10-16 16:05:58 +00:00
/* 80073AB4 0006F8F4 93 3A 00 00 */ stw r25, 0x0(r26)
/* 80073AB8 0006F8F8 7F 24 CB 78 */ mr r4, r25
/* 80073ABC 0006F8FC 7F C5 F3 78 */ mr r5, r30
/* 80073AC0 0006F900 38 7F 03 30 */ addi r3, r31, 0x330
/* 80073AC4 0006F904 93 DA 00 08 */ stw r30, 0x8(r26)
/* 80073AC8 0006F908 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073ACC 0006F90C 4B FF F7 85 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80073AD0 0006F910 38 00 00 03 */ li r0, 0x3
/* 80073AD4 0006F914 90 1A 00 34 */ stw r0, 0x34(r26)
2022-10-16 16:31:36 +00:00
/* 80073AD8 0006F918 3D 00 80 07 */ lis r8, _intrBlkCtrlIsoCb@ha
2022-10-16 16:05:58 +00:00
/* 80073ADC 0006F91C 7E A3 AB 78 */ mr r3, r21
/* 80073AE0 0006F920 93 9A 00 14 */ stw r28, 0x14(r26)
/* 80073AE4 0006F924 7F A7 EB 78 */ mr r7, r29
/* 80073AE8 0006F928 7F 49 D3 78 */ mr r9, r26
2022-10-16 16:31:36 +00:00
/* 80073AEC 0006F92C 39 08 34 B0 */ addi r8, r8, _intrBlkCtrlIsoCb@l
2022-10-16 16:05:58 +00:00
/* 80073AF0 0006F930 93 7A 00 18 */ stw r27, 0x18(r26)
/* 80073AF4 0006F934 38 80 00 0A */ li r4, 0xa
/* 80073AF8 0006F938 38 A0 00 02 */ li r5, 0x2
/* 80073AFC 0006F93C 38 C0 00 01 */ li r6, 0x1
/* 80073B00 0006F940 93 BA 00 1C */ stw r29, 0x1c(r26)
/* 80073B04 0006F944 93 1A 00 40 */ stw r24, 0x40(r26)
/* 80073B08 0006F948 B2 FA 00 44 */ sth r23, 0x44(r26)
2022-10-16 16:31:36 +00:00
/* 80073B0C 0006F94C 4B FD C2 75 */ bl IOS_IoctlvAsync
2022-10-16 16:05:58 +00:00
/* 80073B10 0006F950 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073B14 0006F954 7C 7E 1B 78 */ mr r30, r3
/* 80073B18 0006F958 40 80 00 F0 */ bge lbl_80073C08
/* 80073B1C 0006F95C 2C 03 FF EA */ cmpwi r3, -0x16
/* 80073B20 0006F960 40 82 00 18 */ bne lbl_80073B38
/* 80073B24 0006F964 7F C5 F3 78 */ mr r5, r30
/* 80073B28 0006F968 38 7F 03 54 */ addi r3, r31, 0x354
/* 80073B2C 0006F96C 38 9F 02 B0 */ addi r4, r31, 0x2b0
/* 80073B30 0006F970 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073B34 0006F974 4B FA 9E 5D */ bl OSReport
2022-10-16 16:05:58 +00:00
.global lbl_80073B38
lbl_80073B38:
/* 80073B38 0006F978 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80073B3C 0006F97C 41 82 00 30 */ beq lbl_80073B6C
2022-10-16 16:31:36 +00:00
/* 80073B40 0006F980 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073B44 0006F984 7F 44 D3 78 */ mr r4, r26
2022-10-16 16:31:36 +00:00
/* 80073B48 0006F988 4B FD CA 79 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073B4C 0006F98C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073B50 0006F990 40 80 00 1C */ bge lbl_80073B6C
2022-10-16 16:31:36 +00:00
/* 80073B54 0006F994 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073B58 0006F998 7C 66 1B 78 */ mr r6, r3
/* 80073B5C 0006F99C 7F 45 D3 78 */ mr r5, r26
/* 80073B60 0006F9A0 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073B64 0006F9A4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073B68 0006F9A8 4B FF F7 99 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073B6C
lbl_80073B6C:
/* 80073B6C 0006F9AC 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80073B70 0006F9B0 41 82 00 30 */ beq lbl_80073BA0
2022-10-16 16:31:36 +00:00
/* 80073B74 0006F9B4 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073B78 0006F9B8 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 80073B7C 0006F9BC 4B FD CA 45 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073B80 0006F9C0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073B84 0006F9C4 40 80 00 1C */ bge lbl_80073BA0
2022-10-16 16:31:36 +00:00
/* 80073B88 0006F9C8 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073B8C 0006F9CC 7C 66 1B 78 */ mr r6, r3
/* 80073B90 0006F9D0 7F 85 E3 78 */ mr r5, r28
/* 80073B94 0006F9D4 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073B98 0006F9D8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073B9C 0006F9DC 4B FF F7 65 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073BA0
lbl_80073BA0:
/* 80073BA0 0006F9E0 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80073BA4 0006F9E4 41 82 00 30 */ beq lbl_80073BD4
2022-10-16 16:31:36 +00:00
/* 80073BA8 0006F9E8 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073BAC 0006F9EC 7F 64 DB 78 */ mr r4, r27
2022-10-16 16:31:36 +00:00
/* 80073BB0 0006F9F0 4B FD CA 11 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073BB4 0006F9F4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073BB8 0006F9F8 40 80 00 1C */ bge lbl_80073BD4
2022-10-16 16:31:36 +00:00
/* 80073BBC 0006F9FC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073BC0 0006FA00 7C 66 1B 78 */ mr r6, r3
/* 80073BC4 0006FA04 7F 65 DB 78 */ mr r5, r27
/* 80073BC8 0006FA08 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073BCC 0006FA0C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073BD0 0006FA10 4B FF F7 31 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073BD4
lbl_80073BD4:
/* 80073BD4 0006FA14 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80073BD8 0006FA18 41 82 00 30 */ beq lbl_80073C08
2022-10-16 16:31:36 +00:00
/* 80073BDC 0006FA1C 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073BE0 0006FA20 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 80073BE4 0006FA24 4B FD C9 DD */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073BE8 0006FA28 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073BEC 0006FA2C 40 80 00 1C */ bge lbl_80073C08
2022-10-16 16:31:36 +00:00
/* 80073BF0 0006FA30 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073BF4 0006FA34 7C 66 1B 78 */ mr r6, r3
/* 80073BF8 0006FA38 7F A5 EB 78 */ mr r5, r29
/* 80073BFC 0006FA3C 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073C00 0006FA40 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073C04 0006FA44 4B FF F6 FD */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073C08
lbl_80073C08:
/* 80073C08 0006FA48 39 61 00 40 */ addi r11, r1, 0x40
/* 80073C0C 0006FA4C 7F C3 F3 78 */ mr r3, r30
/* 80073C10 0006FA50 4B F9 37 61 */ bl lbl_80007370
/* 80073C14 0006FA54 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80073C18 0006FA58 7C 08 03 A6 */ mtlr r0
/* 80073C1C 0006FA5C 38 21 00 40 */ addi r1, r1, 0x40
/* 80073C20 0006FA60 4E 80 00 20 */ blr
/* 80073C24 0006FA64 00 00 00 00 */ .4byte 0x00000000
/* 80073C28 0006FA68 00 00 00 00 */ .4byte 0x00000000
/* 80073C2C 0006FA6C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global __IntrBlkMsgInt
__IntrBlkMsgInt:
2022-10-16 16:05:58 +00:00
/* 80073C30 0006FA70 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80073C34 0006FA74 7C 08 02 A6 */ mflr r0
/* 80073C38 0006FA78 90 01 00 44 */ stw r0, 0x44(r1)
/* 80073C3C 0006FA7C 39 61 00 40 */ addi r11, r1, 0x40
/* 80073C40 0006FA80 4B F9 36 E1 */ bl lbl_80007320
/* 80073C44 0006FA84 7C 74 1B 78 */ mr r20, r3
2022-10-16 16:31:36 +00:00
/* 80073C48 0006FA88 3F E0 80 44 */ lis r31, "@2524_8043A038"@ha
2022-10-16 16:05:58 +00:00
/* 80073C4C 0006FA8C 7C 95 23 78 */ mr r21, r4
/* 80073C50 0006FA90 7C B6 2B 78 */ mr r22, r5
2022-10-16 16:31:36 +00:00
/* 80073C54 0006FA94 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073C58 0006FA98 7C D7 33 78 */ mr r23, r6
/* 80073C5C 0006FA9C 7C F8 3B 78 */ mr r24, r7
/* 80073C60 0006FAA0 7D 19 43 78 */ mr r25, r8
/* 80073C64 0006FAA4 7D 3E 4B 78 */ mr r30, r9
/* 80073C68 0006FAA8 7D 5A 53 78 */ mr r26, r10
2022-10-16 16:31:36 +00:00
/* 80073C6C 0006FAAC 3B FF A0 38 */ addi r31, r31, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 80073C70 0006FAB0 38 80 00 60 */ li r4, 0x60
/* 80073C74 0006FAB4 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80073C78 0006FAB8 4B FD C9 39 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80073C7C 0006FABC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073C80 0006FAC0 7C 7D 1B 78 */ mr r29, r3
/* 80073C84 0006FAC4 40 82 00 1C */ bne lbl_80073CA0
2022-10-16 16:31:36 +00:00
/* 80073C88 0006FAC8 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073C8C 0006FACC 7F A6 EB 78 */ mr r6, r29
/* 80073C90 0006FAD0 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073C94 0006FAD4 38 A0 00 60 */ li r5, 0x60
/* 80073C98 0006FAD8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073C9C 0006FADC 4B FF F6 65 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073CA0
lbl_80073CA0:
2022-10-16 16:31:36 +00:00
/* 80073CA0 0006FAE0 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073CA4 0006FAE4 38 80 00 20 */ li r4, 0x20
/* 80073CA8 0006FAE8 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80073CAC 0006FAEC 4B FD C9 05 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80073CB0 0006FAF0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073CB4 0006FAF4 7C 7C 1B 78 */ mr r28, r3
/* 80073CB8 0006FAF8 40 82 00 1C */ bne lbl_80073CD4
2022-10-16 16:31:36 +00:00
/* 80073CBC 0006FAFC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073CC0 0006FB00 7F 86 E3 78 */ mr r6, r28
/* 80073CC4 0006FB04 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073CC8 0006FB08 38 A0 00 20 */ li r5, 0x20
/* 80073CCC 0006FB0C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073CD0 0006FB10 4B FF F6 31 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073CD4
lbl_80073CD4:
2022-10-16 16:31:36 +00:00
/* 80073CD4 0006FB14 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073CD8 0006FB18 38 80 00 20 */ li r4, 0x20
/* 80073CDC 0006FB1C 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80073CE0 0006FB20 4B FD C8 D1 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80073CE4 0006FB24 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073CE8 0006FB28 7C 7B 1B 78 */ mr r27, r3
/* 80073CEC 0006FB2C 40 82 00 1C */ bne lbl_80073D08
2022-10-16 16:31:36 +00:00
/* 80073CF0 0006FB30 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073CF4 0006FB34 7F 66 DB 78 */ mr r6, r27
/* 80073CF8 0006FB38 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073CFC 0006FB3C 38 A0 00 20 */ li r5, 0x20
/* 80073D00 0006FB40 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073D04 0006FB44 4B FF F5 FD */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073D08
lbl_80073D08:
/* 80073D08 0006FB48 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80073D0C 0006FB4C 41 82 00 14 */ beq lbl_80073D20
/* 80073D10 0006FB50 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80073D14 0006FB54 41 82 00 0C */ beq lbl_80073D20
/* 80073D18 0006FB58 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80073D1C 0006FB5C 40 82 00 18 */ bne lbl_80073D34
.global lbl_80073D20
lbl_80073D20:
/* 80073D20 0006FB60 38 7F 03 88 */ addi r3, r31, 0x388
/* 80073D24 0006FB64 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073D28 0006FB68 4B FF F5 D9 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 80073D2C 0006FB6C 3B C0 FF EA */ li r30, -0x16
/* 80073D30 0006FB70 48 00 01 A0 */ b lbl_80073ED0
.global lbl_80073D34
lbl_80073D34:
/* 80073D34 0006FB74 9A BC 00 00 */ stb r21, 0x0(r28)
/* 80073D38 0006FB78 38 A0 00 01 */ li r5, 0x1
/* 80073D3C 0006FB7C 38 00 00 02 */ li r0, 0x2
/* 80073D40 0006FB80 7F 83 E3 78 */ mr r3, r28
/* 80073D44 0006FB84 B2 DB 00 00 */ sth r22, 0x0(r27)
/* 80073D48 0006FB88 38 80 00 20 */ li r4, 0x20
/* 80073D4C 0006FB8C 93 9D 00 00 */ stw r28, 0x0(r29)
/* 80073D50 0006FB90 90 BD 00 04 */ stw r5, 0x4(r29)
/* 80073D54 0006FB94 93 7D 00 08 */ stw r27, 0x8(r29)
/* 80073D58 0006FB98 90 1D 00 0C */ stw r0, 0xc(r29)
/* 80073D5C 0006FB9C 92 FD 00 10 */ stw r23, 0x10(r29)
/* 80073D60 0006FBA0 92 DD 00 14 */ stw r22, 0x14(r29)
2022-10-16 16:31:36 +00:00
/* 80073D64 0006FBA4 4B FA 8C 1D */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80073D68 0006FBA8 7F 63 DB 78 */ mr r3, r27
/* 80073D6C 0006FBAC 38 80 00 20 */ li r4, 0x20
2022-10-16 16:31:36 +00:00
/* 80073D70 0006FBB0 4B FA 8C 11 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80073D74 0006FBB4 7F A3 EB 78 */ mr r3, r29
/* 80073D78 0006FBB8 38 80 00 60 */ li r4, 0x60
2022-10-16 16:31:36 +00:00
/* 80073D7C 0006FBBC 4B FA 8C 05 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80073D80 0006FBC0 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80073D84 0006FBC4 40 82 00 34 */ bne lbl_80073DB8
/* 80073D88 0006FBC8 7E 83 A3 78 */ mr r3, r20
/* 80073D8C 0006FBCC 7F 04 C3 78 */ mr r4, r24
/* 80073D90 0006FBD0 7F A7 EB 78 */ mr r7, r29
/* 80073D94 0006FBD4 38 A0 00 02 */ li r5, 0x2
/* 80073D98 0006FBD8 38 C0 00 01 */ li r6, 0x1
2022-10-16 16:31:36 +00:00
/* 80073D9C 0006FBDC 4B FD C0 D5 */ bl IOS_Ioctlv
2022-10-16 16:05:58 +00:00
/* 80073DA0 0006FBE0 7C 7E 1B 78 */ mr r30, r3
/* 80073DA4 0006FBE4 38 7F 03 AC */ addi r3, r31, 0x3ac
/* 80073DA8 0006FBE8 7F C4 F3 78 */ mr r4, r30
/* 80073DAC 0006FBEC 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073DB0 0006FBF0 4B FF F4 A1 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80073DB4 0006FBF4 48 00 01 1C */ b lbl_80073ED0
.global lbl_80073DB8
lbl_80073DB8:
2022-10-16 16:31:36 +00:00
/* 80073DB8 0006FBF8 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073DBC 0006FBFC 38 80 00 80 */ li r4, 0x80
/* 80073DC0 0006FC00 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80073DC4 0006FC04 4B FD C7 ED */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80073DC8 0006FC08 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073DCC 0006FC0C 7C 7A 1B 78 */ mr r26, r3
/* 80073DD0 0006FC10 40 82 00 1C */ bne lbl_80073DEC
2022-10-16 16:31:36 +00:00
/* 80073DD4 0006FC14 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073DD8 0006FC18 7F 46 D3 78 */ mr r6, r26
/* 80073DDC 0006FC1C 38 7F 01 54 */ addi r3, r31, 0x154
/* 80073DE0 0006FC20 38 A0 00 80 */ li r5, 0x80
/* 80073DE4 0006FC24 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073DE8 0006FC28 4B FF F5 19 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073DEC
lbl_80073DEC:
/* 80073DEC 0006FC2C 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80073DF0 0006FC30 40 82 00 18 */ bne lbl_80073E08
/* 80073DF4 0006FC34 38 7F 03 CC */ addi r3, r31, 0x3cc
/* 80073DF8 0006FC38 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073DFC 0006FC3C 4B FF F5 05 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 80073E00 0006FC40 3B C0 FF EA */ li r30, -0x16
/* 80073E04 0006FC44 48 00 00 CC */ b lbl_80073ED0
.global lbl_80073E08
lbl_80073E08:
/* 80073E08 0006FC48 7F 43 D3 78 */ mr r3, r26
/* 80073E0C 0006FC4C 38 80 00 00 */ li r4, 0x0
/* 80073E10 0006FC50 38 A0 00 80 */ li r5, 0x80
2022-10-16 16:31:36 +00:00
/* 80073E14 0006FC54 4B F9 05 3D */ bl memset
2022-10-16 16:05:58 +00:00
/* 80073E18 0006FC58 93 3A 00 00 */ stw r25, 0x0(r26)
/* 80073E1C 0006FC5C 7F 24 CB 78 */ mr r4, r25
/* 80073E20 0006FC60 7F C5 F3 78 */ mr r5, r30
/* 80073E24 0006FC64 38 7F 03 F8 */ addi r3, r31, 0x3f8
/* 80073E28 0006FC68 93 DA 00 08 */ stw r30, 0x8(r26)
/* 80073E2C 0006FC6C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073E30 0006FC70 4B FF F4 21 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80073E34 0006FC74 38 00 00 03 */ li r0, 0x3
/* 80073E38 0006FC78 90 1A 00 34 */ stw r0, 0x34(r26)
2022-10-16 16:31:36 +00:00
/* 80073E3C 0006FC7C 3D 00 80 07 */ lis r8, _intrBlkCtrlIsoCb@ha
2022-10-16 16:05:58 +00:00
/* 80073E40 0006FC80 7E 83 A3 78 */ mr r3, r20
/* 80073E44 0006FC84 93 9A 00 14 */ stw r28, 0x14(r26)
/* 80073E48 0006FC88 7F 04 C3 78 */ mr r4, r24
/* 80073E4C 0006FC8C 7F A7 EB 78 */ mr r7, r29
/* 80073E50 0006FC90 7F 49 D3 78 */ mr r9, r26
/* 80073E54 0006FC94 93 7A 00 18 */ stw r27, 0x18(r26)
2022-10-16 16:31:36 +00:00
/* 80073E58 0006FC98 39 08 34 B0 */ addi r8, r8, _intrBlkCtrlIsoCb@l
2022-10-16 16:05:58 +00:00
/* 80073E5C 0006FC9C 38 A0 00 02 */ li r5, 0x2
/* 80073E60 0006FCA0 38 C0 00 01 */ li r6, 0x1
/* 80073E64 0006FCA4 93 BA 00 1C */ stw r29, 0x1c(r26)
/* 80073E68 0006FCA8 92 FA 00 40 */ stw r23, 0x40(r26)
/* 80073E6C 0006FCAC B2 DA 00 44 */ sth r22, 0x44(r26)
2022-10-16 16:31:36 +00:00
/* 80073E70 0006FCB0 4B FD BF 11 */ bl IOS_IoctlvAsync
2022-10-16 16:05:58 +00:00
/* 80073E74 0006FCB4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073E78 0006FCB8 7C 7E 1B 78 */ mr r30, r3
/* 80073E7C 0006FCBC 40 80 00 F0 */ bge lbl_80073F6C
/* 80073E80 0006FCC0 2C 03 FF EA */ cmpwi r3, -0x16
/* 80073E84 0006FCC4 40 82 00 18 */ bne lbl_80073E9C
/* 80073E88 0006FCC8 7F C5 F3 78 */ mr r5, r30
/* 80073E8C 0006FCCC 38 7F 03 54 */ addi r3, r31, 0x354
/* 80073E90 0006FCD0 38 9F 03 78 */ addi r4, r31, 0x378
/* 80073E94 0006FCD4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073E98 0006FCD8 4B FA 9A F9 */ bl OSReport
2022-10-16 16:05:58 +00:00
.global lbl_80073E9C
lbl_80073E9C:
/* 80073E9C 0006FCDC 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80073EA0 0006FCE0 41 82 00 30 */ beq lbl_80073ED0
2022-10-16 16:31:36 +00:00
/* 80073EA4 0006FCE4 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073EA8 0006FCE8 7F 44 D3 78 */ mr r4, r26
2022-10-16 16:31:36 +00:00
/* 80073EAC 0006FCEC 4B FD C7 15 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073EB0 0006FCF0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073EB4 0006FCF4 40 80 00 1C */ bge lbl_80073ED0
2022-10-16 16:31:36 +00:00
/* 80073EB8 0006FCF8 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073EBC 0006FCFC 7C 66 1B 78 */ mr r6, r3
/* 80073EC0 0006FD00 7F 45 D3 78 */ mr r5, r26
/* 80073EC4 0006FD04 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073EC8 0006FD08 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073ECC 0006FD0C 4B FF F4 35 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073ED0
lbl_80073ED0:
/* 80073ED0 0006FD10 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80073ED4 0006FD14 41 82 00 30 */ beq lbl_80073F04
2022-10-16 16:31:36 +00:00
/* 80073ED8 0006FD18 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073EDC 0006FD1C 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 80073EE0 0006FD20 4B FD C6 E1 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073EE4 0006FD24 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073EE8 0006FD28 40 80 00 1C */ bge lbl_80073F04
2022-10-16 16:31:36 +00:00
/* 80073EEC 0006FD2C 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073EF0 0006FD30 7C 66 1B 78 */ mr r6, r3
/* 80073EF4 0006FD34 7F 85 E3 78 */ mr r5, r28
/* 80073EF8 0006FD38 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073EFC 0006FD3C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073F00 0006FD40 4B FF F4 01 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073F04
lbl_80073F04:
/* 80073F04 0006FD44 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80073F08 0006FD48 41 82 00 30 */ beq lbl_80073F38
2022-10-16 16:31:36 +00:00
/* 80073F0C 0006FD4C 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073F10 0006FD50 7F 64 DB 78 */ mr r4, r27
2022-10-16 16:31:36 +00:00
/* 80073F14 0006FD54 4B FD C6 AD */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073F18 0006FD58 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073F1C 0006FD5C 40 80 00 1C */ bge lbl_80073F38
2022-10-16 16:31:36 +00:00
/* 80073F20 0006FD60 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073F24 0006FD64 7C 66 1B 78 */ mr r6, r3
/* 80073F28 0006FD68 7F 65 DB 78 */ mr r5, r27
/* 80073F2C 0006FD6C 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073F30 0006FD70 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073F34 0006FD74 4B FF F3 CD */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073F38
lbl_80073F38:
/* 80073F38 0006FD78 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80073F3C 0006FD7C 41 82 00 30 */ beq lbl_80073F6C
2022-10-16 16:31:36 +00:00
/* 80073F40 0006FD80 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073F44 0006FD84 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 80073F48 0006FD88 4B FD C6 79 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80073F4C 0006FD8C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80073F50 0006FD90 40 80 00 1C */ bge lbl_80073F6C
2022-10-16 16:31:36 +00:00
/* 80073F54 0006FD94 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80073F58 0006FD98 7C 66 1B 78 */ mr r6, r3
/* 80073F5C 0006FD9C 7F A5 EB 78 */ mr r5, r29
/* 80073F60 0006FDA0 38 7F 01 08 */ addi r3, r31, 0x108
/* 80073F64 0006FDA4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80073F68 0006FDA8 4B FF F3 99 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80073F6C
lbl_80073F6C:
/* 80073F6C 0006FDAC 39 61 00 40 */ addi r11, r1, 0x40
/* 80073F70 0006FDB0 7F C3 F3 78 */ mr r3, r30
/* 80073F74 0006FDB4 4B F9 33 F9 */ bl lbl_8000736C
/* 80073F78 0006FDB8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80073F7C 0006FDBC 7C 08 03 A6 */ mtlr r0
/* 80073F80 0006FDC0 38 21 00 40 */ addi r1, r1, 0x40
/* 80073F84 0006FDC4 4E 80 00 20 */ blr
/* 80073F88 0006FDC8 00 00 00 00 */ .4byte 0x00000000
/* 80073F8C 0006FDCC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IUSB_ReadIntrMsgAsync
IUSB_ReadIntrMsgAsync:
2022-10-16 16:05:58 +00:00
/* 80073F90 0006FDD0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80073F94 0006FDD4 7C 08 02 A6 */ mflr r0
/* 80073F98 0006FDD8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80073F9C 0006FDDC 39 61 00 20 */ addi r11, r1, 0x20
/* 80073FA0 0006FDE0 4B F9 33 99 */ bl lbl_80007338
/* 80073FA4 0006FDE4 7C BC 2B 78 */ mr r28, r5
/* 80073FA8 0006FDE8 7C DD 33 78 */ mr r29, r6
/* 80073FAC 0006FDEC 7C 7A 1B 78 */ mr r26, r3
/* 80073FB0 0006FDF0 7C 9B 23 78 */ mr r27, r4
/* 80073FB4 0006FDF4 7C FE 3B 78 */ mr r30, r7
/* 80073FB8 0006FDF8 7D 1F 43 78 */ mr r31, r8
/* 80073FBC 0006FDFC 7F A3 EB 78 */ mr r3, r29
/* 80073FC0 0006FE00 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 80073FC4 0006FE04 4B FA 89 8D */ bl DCInvalidateRange
2022-10-16 16:05:58 +00:00
/* 80073FC8 0006FE08 7F 43 D3 78 */ mr r3, r26
/* 80073FCC 0006FE0C 7F 64 DB 78 */ mr r4, r27
/* 80073FD0 0006FE10 7F 85 E3 78 */ mr r5, r28
/* 80073FD4 0006FE14 7F A6 EB 78 */ mr r6, r29
/* 80073FD8 0006FE18 7F C8 F3 78 */ mr r8, r30
/* 80073FDC 0006FE1C 7F E9 FB 78 */ mr r9, r31
/* 80073FE0 0006FE20 38 E0 00 02 */ li r7, 0x2
/* 80073FE4 0006FE24 39 40 00 01 */ li r10, 0x1
2022-10-16 16:31:36 +00:00
/* 80073FE8 0006FE28 4B FF FC 49 */ bl __IntrBlkMsgInt
2022-10-16 16:05:58 +00:00
/* 80073FEC 0006FE2C 39 61 00 20 */ addi r11, r1, 0x20
/* 80073FF0 0006FE30 4B F9 33 95 */ bl lbl_80007384
/* 80073FF4 0006FE34 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80073FF8 0006FE38 7C 08 03 A6 */ mtlr r0
/* 80073FFC 0006FE3C 38 21 00 20 */ addi r1, r1, 0x20
/* 80074000 0006FE40 4E 80 00 20 */ blr
/* 80074004 0006FE44 00 00 00 00 */ .4byte 0x00000000
/* 80074008 0006FE48 00 00 00 00 */ .4byte 0x00000000
/* 8007400C 0006FE4C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IUSB_ReadBlkMsgAsync
IUSB_ReadBlkMsgAsync:
2022-10-16 16:05:58 +00:00
/* 80074010 0006FE50 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80074014 0006FE54 7C 08 02 A6 */ mflr r0
/* 80074018 0006FE58 90 01 00 24 */ stw r0, 0x24(r1)
/* 8007401C 0006FE5C 39 61 00 20 */ addi r11, r1, 0x20
/* 80074020 0006FE60 4B F9 33 19 */ bl lbl_80007338
/* 80074024 0006FE64 7C BC 2B 78 */ mr r28, r5
/* 80074028 0006FE68 7C DD 33 78 */ mr r29, r6
/* 8007402C 0006FE6C 7C 7A 1B 78 */ mr r26, r3
/* 80074030 0006FE70 7C 9B 23 78 */ mr r27, r4
/* 80074034 0006FE74 7C FE 3B 78 */ mr r30, r7
/* 80074038 0006FE78 7D 1F 43 78 */ mr r31, r8
/* 8007403C 0006FE7C 7F A3 EB 78 */ mr r3, r29
/* 80074040 0006FE80 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 80074044 0006FE84 4B FA 89 0D */ bl DCInvalidateRange
2022-10-16 16:05:58 +00:00
/* 80074048 0006FE88 28 1C FF FF */ cmplwi r28, 0xffff
/* 8007404C 0006FE8C 41 81 00 2C */ bgt lbl_80074078
/* 80074050 0006FE90 7F 43 D3 78 */ mr r3, r26
/* 80074054 0006FE94 7F 64 DB 78 */ mr r4, r27
/* 80074058 0006FE98 7F 85 E3 78 */ mr r5, r28
/* 8007405C 0006FE9C 7F A6 EB 78 */ mr r6, r29
/* 80074060 0006FEA0 7F C8 F3 78 */ mr r8, r30
/* 80074064 0006FEA4 7F E9 FB 78 */ mr r9, r31
/* 80074068 0006FEA8 38 E0 00 01 */ li r7, 0x1
/* 8007406C 0006FEAC 39 40 00 01 */ li r10, 0x1
2022-10-16 16:31:36 +00:00
/* 80074070 0006FEB0 4B FF FB C1 */ bl __IntrBlkMsgInt
2022-10-16 16:05:58 +00:00
/* 80074074 0006FEB4 48 00 00 24 */ b lbl_80074098
.global lbl_80074078
lbl_80074078:
/* 80074078 0006FEB8 7F 43 D3 78 */ mr r3, r26
/* 8007407C 0006FEBC 7F 64 DB 78 */ mr r4, r27
/* 80074080 0006FEC0 7F 85 E3 78 */ mr r5, r28
/* 80074084 0006FEC4 7F A6 EB 78 */ mr r6, r29
/* 80074088 0006FEC8 7F C7 F3 78 */ mr r7, r30
/* 8007408C 0006FECC 7F E8 FB 78 */ mr r8, r31
/* 80074090 0006FED0 39 20 00 01 */ li r9, 0x1
2022-10-16 16:31:36 +00:00
/* 80074094 0006FED4 4B FF F8 3D */ bl __LongBlkMsgInt
2022-10-16 16:05:58 +00:00
.global lbl_80074098
lbl_80074098:
/* 80074098 0006FED8 39 61 00 20 */ addi r11, r1, 0x20
/* 8007409C 0006FEDC 4B F9 32 E9 */ bl lbl_80007384
/* 800740A0 0006FEE0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800740A4 0006FEE4 7C 08 03 A6 */ mtlr r0
/* 800740A8 0006FEE8 38 21 00 20 */ addi r1, r1, 0x20
/* 800740AC 0006FEEC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global IUSB_WriteBlkMsgAsync
IUSB_WriteBlkMsgAsync:
2022-10-16 16:05:58 +00:00
/* 800740B0 0006FEF0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800740B4 0006FEF4 7C 08 02 A6 */ mflr r0
/* 800740B8 0006FEF8 90 01 00 24 */ stw r0, 0x24(r1)
/* 800740BC 0006FEFC 39 61 00 20 */ addi r11, r1, 0x20
/* 800740C0 0006FF00 4B F9 32 79 */ bl lbl_80007338
/* 800740C4 0006FF04 7C BC 2B 78 */ mr r28, r5
/* 800740C8 0006FF08 7C DD 33 78 */ mr r29, r6
/* 800740CC 0006FF0C 7C 7A 1B 78 */ mr r26, r3
/* 800740D0 0006FF10 7C 9B 23 78 */ mr r27, r4
/* 800740D4 0006FF14 7C FE 3B 78 */ mr r30, r7
/* 800740D8 0006FF18 7D 1F 43 78 */ mr r31, r8
/* 800740DC 0006FF1C 7F A3 EB 78 */ mr r3, r29
/* 800740E0 0006FF20 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 800740E4 0006FF24 4B FA 88 9D */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 800740E8 0006FF28 28 1C FF FF */ cmplwi r28, 0xffff
/* 800740EC 0006FF2C 41 81 00 2C */ bgt lbl_80074118
/* 800740F0 0006FF30 7F 43 D3 78 */ mr r3, r26
/* 800740F4 0006FF34 7F 64 DB 78 */ mr r4, r27
/* 800740F8 0006FF38 7F 85 E3 78 */ mr r5, r28
/* 800740FC 0006FF3C 7F A6 EB 78 */ mr r6, r29
/* 80074100 0006FF40 7F C8 F3 78 */ mr r8, r30
/* 80074104 0006FF44 7F E9 FB 78 */ mr r9, r31
/* 80074108 0006FF48 38 E0 00 01 */ li r7, 0x1
/* 8007410C 0006FF4C 39 40 00 01 */ li r10, 0x1
2022-10-16 16:31:36 +00:00
/* 80074110 0006FF50 4B FF FB 21 */ bl __IntrBlkMsgInt
2022-10-16 16:05:58 +00:00
/* 80074114 0006FF54 48 00 00 24 */ b lbl_80074138
.global lbl_80074118
lbl_80074118:
/* 80074118 0006FF58 7F 43 D3 78 */ mr r3, r26
/* 8007411C 0006FF5C 7F 64 DB 78 */ mr r4, r27
/* 80074120 0006FF60 7F 85 E3 78 */ mr r5, r28
/* 80074124 0006FF64 7F A6 EB 78 */ mr r6, r29
/* 80074128 0006FF68 7F C7 F3 78 */ mr r7, r30
/* 8007412C 0006FF6C 7F E8 FB 78 */ mr r8, r31
/* 80074130 0006FF70 39 20 00 01 */ li r9, 0x1
2022-10-16 16:31:36 +00:00
/* 80074134 0006FF74 4B FF F7 9D */ bl __LongBlkMsgInt
2022-10-16 16:05:58 +00:00
.global lbl_80074138
lbl_80074138:
/* 80074138 0006FF78 39 61 00 20 */ addi r11, r1, 0x20
/* 8007413C 0006FF7C 4B F9 32 49 */ bl lbl_80007384
/* 80074140 0006FF80 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80074144 0006FF84 7C 08 03 A6 */ mtlr r0
/* 80074148 0006FF88 38 21 00 20 */ addi r1, r1, 0x20
/* 8007414C 0006FF8C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __CtrlMsgInt
__CtrlMsgInt:
2022-10-16 16:05:58 +00:00
/* 80074150 0006FF90 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80074154 0006FF94 7C 08 02 A6 */ mflr r0
/* 80074158 0006FF98 90 01 00 54 */ stw r0, 0x54(r1)
/* 8007415C 0006FF9C 39 61 00 50 */ addi r11, r1, 0x50
2022-10-16 16:31:36 +00:00
/* 80074160 0006FFA0 4B F9 31 A9 */ bl __save_gpr
2022-10-16 16:05:58 +00:00
/* 80074164 0006FFA4 2C 09 00 00 */ cmpwi r9, 0x0
2022-10-16 16:31:36 +00:00
/* 80074168 0006FFA8 3F E0 80 44 */ lis r31, "@2524_8043A038"@ha
2022-10-16 16:05:58 +00:00
/* 8007416C 0006FFAC 82 E1 00 58 */ lwz r23, 0x58(r1)
/* 80074170 0006FFB0 7C 6F 1B 78 */ mr r15, r3
/* 80074174 0006FFB4 89 C1 00 5F */ lbz r14, 0x5f(r1)
/* 80074178 0006FFB8 7C 90 23 78 */ mr r16, r4
/* 8007417C 0006FFBC 7C B1 2B 78 */ mr r17, r5
/* 80074180 0006FFC0 7C D2 33 78 */ mr r18, r6
/* 80074184 0006FFC4 7C F3 3B 78 */ mr r19, r7
/* 80074188 0006FFC8 7D 14 43 78 */ mr r20, r8
/* 8007418C 0006FFCC 7D 35 4B 78 */ mr r21, r9
/* 80074190 0006FFD0 7D 56 53 78 */ mr r22, r10
2022-10-16 16:31:36 +00:00
/* 80074194 0006FFD4 3B FF A0 38 */ addi r31, r31, "@2524_8043A038"@l
2022-10-16 16:05:58 +00:00
/* 80074198 0006FFD8 40 82 00 0C */ bne lbl_800741A4
/* 8007419C 0006FFDC 2C 08 00 00 */ cmpwi r8, 0x0
/* 800741A0 0006FFE0 40 82 00 0C */ bne lbl_800741AC
.global lbl_800741A4
lbl_800741A4:
/* 800741A4 0006FFE4 55 20 06 FF */ clrlwi. r0, r9, 27
/* 800741A8 0006FFE8 41 82 00 18 */ beq lbl_800741C0
.global lbl_800741AC
lbl_800741AC:
/* 800741AC 0006FFEC 38 7F 04 8C */ addi r3, r31, 0x48c
/* 800741B0 0006FFF0 39 E0 FF FC */ li r15, -0x4
/* 800741B4 0006FFF4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800741B8 0006FFF8 4B FF F1 49 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 800741BC 0006FFFC 48 00 05 1C */ b lbl_800746D8
.global lbl_800741C0
lbl_800741C0:
2022-10-16 16:31:36 +00:00
/* 800741C0 00070000 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800741C4 00070004 38 80 00 E0 */ li r4, 0xe0
/* 800741C8 00070008 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 800741CC 0007000C 4B FD C3 E5 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 800741D0 00070010 2C 03 00 00 */ cmpwi r3, 0x0
/* 800741D4 00070014 7C 7E 1B 78 */ mr r30, r3
/* 800741D8 00070018 40 82 00 1C */ bne lbl_800741F4
2022-10-16 16:31:36 +00:00
/* 800741DC 0007001C 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800741E0 00070020 7F C6 F3 78 */ mr r6, r30
/* 800741E4 00070024 38 7F 01 54 */ addi r3, r31, 0x154
/* 800741E8 00070028 38 A0 00 E0 */ li r5, 0xe0
/* 800741EC 0007002C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800741F0 00070030 4B FF F1 11 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800741F4
lbl_800741F4:
2022-10-16 16:31:36 +00:00
/* 800741F4 00070034 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800741F8 00070038 38 80 00 20 */ li r4, 0x20
/* 800741FC 0007003C 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80074200 00070040 4B FD C3 B1 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80074204 00070044 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074208 00070048 7C 7D 1B 78 */ mr r29, r3
/* 8007420C 0007004C 40 82 00 1C */ bne lbl_80074228
2022-10-16 16:31:36 +00:00
/* 80074210 00070050 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074214 00070054 7F A6 EB 78 */ mr r6, r29
/* 80074218 00070058 38 7F 01 54 */ addi r3, r31, 0x154
/* 8007421C 0007005C 38 A0 00 20 */ li r5, 0x20
/* 80074220 00070060 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074224 00070064 4B FF F0 DD */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80074228
lbl_80074228:
2022-10-16 16:31:36 +00:00
/* 80074228 00070068 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007422C 0007006C 38 80 00 20 */ li r4, 0x20
/* 80074230 00070070 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80074234 00070074 4B FD C3 7D */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80074238 00070078 2C 03 00 00 */ cmpwi r3, 0x0
/* 8007423C 0007007C 7C 7C 1B 78 */ mr r28, r3
/* 80074240 00070080 40 82 00 1C */ bne lbl_8007425C
2022-10-16 16:31:36 +00:00
/* 80074244 00070084 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074248 00070088 7F 86 E3 78 */ mr r6, r28
/* 8007424C 0007008C 38 7F 01 54 */ addi r3, r31, 0x154
/* 80074250 00070090 38 A0 00 20 */ li r5, 0x20
/* 80074254 00070094 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074258 00070098 4B FF F0 A9 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_8007425C
lbl_8007425C:
2022-10-16 16:31:36 +00:00
/* 8007425C 0007009C 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074260 000700A0 38 80 00 20 */ li r4, 0x20
/* 80074264 000700A4 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80074268 000700A8 4B FD C3 49 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 8007426C 000700AC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074270 000700B0 7C 7B 1B 78 */ mr r27, r3
/* 80074274 000700B4 40 82 00 1C */ bne lbl_80074290
2022-10-16 16:31:36 +00:00
/* 80074278 000700B8 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007427C 000700BC 7F 66 DB 78 */ mr r6, r27
/* 80074280 000700C0 38 7F 01 54 */ addi r3, r31, 0x154
/* 80074284 000700C4 38 A0 00 20 */ li r5, 0x20
/* 80074288 000700C8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007428C 000700CC 4B FF F0 75 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80074290
lbl_80074290:
2022-10-16 16:31:36 +00:00
/* 80074290 000700D0 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074294 000700D4 38 80 00 20 */ li r4, 0x20
/* 80074298 000700D8 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 8007429C 000700DC 4B FD C3 15 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 800742A0 000700E0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800742A4 000700E4 7C 7A 1B 78 */ mr r26, r3
/* 800742A8 000700E8 40 82 00 1C */ bne lbl_800742C4
2022-10-16 16:31:36 +00:00
/* 800742AC 000700EC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800742B0 000700F0 7F 46 D3 78 */ mr r6, r26
/* 800742B4 000700F4 38 7F 01 54 */ addi r3, r31, 0x154
/* 800742B8 000700F8 38 A0 00 20 */ li r5, 0x20
/* 800742BC 000700FC 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800742C0 00070100 4B FF F0 41 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800742C4
lbl_800742C4:
2022-10-16 16:31:36 +00:00
/* 800742C4 00070104 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800742C8 00070108 38 80 00 20 */ li r4, 0x20
/* 800742CC 0007010C 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 800742D0 00070110 4B FD C2 E1 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 800742D4 00070114 2C 03 00 00 */ cmpwi r3, 0x0
/* 800742D8 00070118 7C 79 1B 78 */ mr r25, r3
/* 800742DC 0007011C 40 82 00 1C */ bne lbl_800742F8
2022-10-16 16:31:36 +00:00
/* 800742E0 00070120 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800742E4 00070124 7F 26 CB 78 */ mr r6, r25
/* 800742E8 00070128 38 7F 01 54 */ addi r3, r31, 0x154
/* 800742EC 0007012C 38 A0 00 20 */ li r5, 0x20
/* 800742F0 00070130 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800742F4 00070134 4B FF F0 0D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800742F8
lbl_800742F8:
2022-10-16 16:31:36 +00:00
/* 800742F8 00070138 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800742FC 0007013C 38 80 00 20 */ li r4, 0x20
/* 80074300 00070140 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 80074304 00070144 4B FD C2 AD */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80074308 00070148 2C 03 00 00 */ cmpwi r3, 0x0
/* 8007430C 0007014C 7C 78 1B 78 */ mr r24, r3
/* 80074310 00070150 40 82 00 1C */ bne lbl_8007432C
2022-10-16 16:31:36 +00:00
/* 80074314 00070154 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074318 00070158 7F 06 C3 78 */ mr r6, r24
/* 8007431C 0007015C 38 7F 01 54 */ addi r3, r31, 0x154
/* 80074320 00070160 38 A0 00 20 */ li r5, 0x20
/* 80074324 00070164 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074328 00070168 4B FF EF D9 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_8007432C
lbl_8007432C:
/* 8007432C 0007016C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80074330 00070170 41 82 00 34 */ beq lbl_80074364
/* 80074334 00070174 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80074338 00070178 41 82 00 2C */ beq lbl_80074364
/* 8007433C 0007017C 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80074340 00070180 41 82 00 24 */ beq lbl_80074364
/* 80074344 00070184 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80074348 00070188 41 82 00 1C */ beq lbl_80074364
/* 8007434C 0007018C 2C 19 00 00 */ cmpwi r25, 0x0
/* 80074350 00070190 41 82 00 14 */ beq lbl_80074364
/* 80074354 00070194 2C 18 00 00 */ cmpwi r24, 0x0
/* 80074358 00070198 41 82 00 0C */ beq lbl_80074364
/* 8007435C 0007019C 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80074360 000701A0 40 82 00 18 */ bne lbl_80074378
.global lbl_80074364
lbl_80074364:
/* 80074364 000701A4 38 7F 04 A8 */ addi r3, r31, 0x4a8
/* 80074368 000701A8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007436C 000701AC 4B FF EF 95 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 80074370 000701B0 39 E0 FF EA */ li r15, -0x16
/* 80074374 000701B4 48 00 01 F8 */ b lbl_8007456C
.global lbl_80074378
lbl_80074378:
/* 80074378 000701B8 9A 1D 00 00 */ stb r16, 0x0(r29)
/* 8007437C 000701BC 38 C0 00 00 */ li r6, 0x0
/* 80074380 000701C0 38 A0 00 01 */ li r5, 0x1
/* 80074384 000701C4 38 00 00 02 */ li r0, 0x2
/* 80074388 000701C8 9A 3C 00 00 */ stb r17, 0x0(r28)
/* 8007438C 000701CC 7F A3 EB 78 */ mr r3, r29
/* 80074390 000701D0 38 80 00 20 */ li r4, 0x20
/* 80074394 000701D4 7E 40 D7 2C */ sthbrx r18, r0, r26
/* 80074398 000701D8 7E 60 CF 2C */ sthbrx r19, r0, r25
/* 8007439C 000701DC 7E 80 C7 2C */ sthbrx r20, r0, r24
/* 800743A0 000701E0 98 DB 00 00 */ stb r6, 0x0(r27)
/* 800743A4 000701E4 93 BE 00 00 */ stw r29, 0x0(r30)
/* 800743A8 000701E8 90 BE 00 04 */ stw r5, 0x4(r30)
/* 800743AC 000701EC 93 9E 00 08 */ stw r28, 0x8(r30)
/* 800743B0 000701F0 90 BE 00 0C */ stw r5, 0xc(r30)
/* 800743B4 000701F4 93 5E 00 10 */ stw r26, 0x10(r30)
/* 800743B8 000701F8 90 1E 00 14 */ stw r0, 0x14(r30)
/* 800743BC 000701FC 93 3E 00 18 */ stw r25, 0x18(r30)
/* 800743C0 00070200 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 800743C4 00070204 93 1E 00 20 */ stw r24, 0x20(r30)
/* 800743C8 00070208 90 1E 00 24 */ stw r0, 0x24(r30)
/* 800743CC 0007020C 93 7E 00 28 */ stw r27, 0x28(r30)
/* 800743D0 00070210 90 BE 00 2C */ stw r5, 0x2c(r30)
/* 800743D4 00070214 92 BE 00 30 */ stw r21, 0x30(r30)
/* 800743D8 00070218 92 9E 00 34 */ stw r20, 0x34(r30)
2022-10-16 16:31:36 +00:00
/* 800743DC 0007021C 4B FA 85 A5 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 800743E0 00070220 7F 83 E3 78 */ mr r3, r28
/* 800743E4 00070224 38 80 00 20 */ li r4, 0x20
2022-10-16 16:31:36 +00:00
/* 800743E8 00070228 4B FA 85 99 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 800743EC 0007022C 7F 63 DB 78 */ mr r3, r27
/* 800743F0 00070230 38 80 00 20 */ li r4, 0x20
2022-10-16 16:31:36 +00:00
/* 800743F4 00070234 4B FA 85 8D */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 800743F8 00070238 7F 43 D3 78 */ mr r3, r26
/* 800743FC 0007023C 38 80 00 20 */ li r4, 0x20
2022-10-16 16:31:36 +00:00
/* 80074400 00070240 4B FA 85 81 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80074404 00070244 7F 23 CB 78 */ mr r3, r25
/* 80074408 00070248 38 80 00 20 */ li r4, 0x20
2022-10-16 16:31:36 +00:00
/* 8007440C 0007024C 4B FA 85 75 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80074410 00070250 7F 03 C3 78 */ mr r3, r24
/* 80074414 00070254 38 80 00 20 */ li r4, 0x20
2022-10-16 16:31:36 +00:00
/* 80074418 00070258 4B FA 85 69 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 8007441C 0007025C 7F C3 F3 78 */ mr r3, r30
/* 80074420 00070260 38 80 00 E0 */ li r4, 0xe0
2022-10-16 16:31:36 +00:00
/* 80074424 00070264 4B FA 85 5D */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80074428 00070268 2C 0E 00 00 */ cmpwi r14, 0x0
/* 8007442C 0007026C 40 82 00 24 */ bne lbl_80074450
/* 80074430 00070270 7D E3 7B 78 */ mr r3, r15
/* 80074434 00070274 7F C7 F3 78 */ mr r7, r30
/* 80074438 00070278 38 80 00 00 */ li r4, 0x0
/* 8007443C 0007027C 38 A0 00 06 */ li r5, 0x6
/* 80074440 00070280 38 C0 00 01 */ li r6, 0x1
2022-10-16 16:31:36 +00:00
/* 80074444 00070284 4B FD BA 2D */ bl IOS_Ioctlv
2022-10-16 16:05:58 +00:00
/* 80074448 00070288 7C 6F 1B 78 */ mr r15, r3
/* 8007444C 0007028C 48 00 01 20 */ b lbl_8007456C
.global lbl_80074450
lbl_80074450:
2022-10-16 16:31:36 +00:00
/* 80074450 00070290 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074454 00070294 38 80 00 80 */ li r4, 0x80
/* 80074458 00070298 38 A0 00 20 */ li r5, 0x20
2022-10-16 16:31:36 +00:00
/* 8007445C 0007029C 4B FD C1 55 */ bl iosAllocAligned
2022-10-16 16:05:58 +00:00
/* 80074460 000702A0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074464 000702A4 7C 6E 1B 78 */ mr r14, r3
/* 80074468 000702A8 40 82 00 1C */ bne lbl_80074484
2022-10-16 16:31:36 +00:00
/* 8007446C 000702AC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074470 000702B0 7D C6 73 78 */ mr r6, r14
/* 80074474 000702B4 38 7F 01 54 */ addi r3, r31, 0x154
/* 80074478 000702B8 38 A0 00 80 */ li r5, 0x80
/* 8007447C 000702BC 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074480 000702C0 4B FF EE 81 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80074484
lbl_80074484:
/* 80074484 000702C4 2C 0E 00 00 */ cmpwi r14, 0x0
/* 80074488 000702C8 40 82 00 18 */ bne lbl_800744A0
/* 8007448C 000702CC 38 7F 04 C8 */ addi r3, r31, 0x4c8
/* 80074490 000702D0 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074494 000702D4 4B FF EE 6D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
/* 80074498 000702D8 39 E0 FF EA */ li r15, -0x16
/* 8007449C 000702DC 48 00 00 D0 */ b lbl_8007456C
.global lbl_800744A0
lbl_800744A0:
/* 800744A0 000702E0 7D C3 73 78 */ mr r3, r14
/* 800744A4 000702E4 38 80 00 00 */ li r4, 0x0
/* 800744A8 000702E8 38 A0 00 80 */ li r5, 0x80
2022-10-16 16:31:36 +00:00
/* 800744AC 000702EC 4B F8 FE A5 */ bl memset
2022-10-16 16:05:58 +00:00
/* 800744B0 000702F0 92 CE 00 00 */ stw r22, 0x0(r14)
/* 800744B4 000702F4 7E C4 B3 78 */ mr r4, r22
/* 800744B8 000702F8 7E E5 BB 78 */ mr r5, r23
/* 800744BC 000702FC 38 7F 04 F0 */ addi r3, r31, 0x4f0
/* 800744C0 00070300 92 EE 00 08 */ stw r23, 0x8(r14)
/* 800744C4 00070304 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800744C8 00070308 4B FF ED 89 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 800744CC 0007030C 38 00 00 07 */ li r0, 0x7
/* 800744D0 00070310 90 0E 00 34 */ stw r0, 0x34(r14)
2022-10-16 16:31:36 +00:00
/* 800744D4 00070314 3D 00 80 07 */ lis r8, _intrBlkCtrlIsoCb@ha
2022-10-16 16:05:58 +00:00
/* 800744D8 00070318 7D E3 7B 78 */ mr r3, r15
/* 800744DC 0007031C 93 AE 00 14 */ stw r29, 0x14(r14)
/* 800744E0 00070320 7F C7 F3 78 */ mr r7, r30
/* 800744E4 00070324 7D C9 73 78 */ mr r9, r14
2022-10-16 16:31:36 +00:00
/* 800744E8 00070328 39 08 34 B0 */ addi r8, r8, _intrBlkCtrlIsoCb@l
2022-10-16 16:05:58 +00:00
/* 800744EC 0007032C 93 8E 00 18 */ stw r28, 0x18(r14)
/* 800744F0 00070330 38 80 00 00 */ li r4, 0x0
/* 800744F4 00070334 38 A0 00 06 */ li r5, 0x6
/* 800744F8 00070338 38 C0 00 01 */ li r6, 0x1
/* 800744FC 0007033C 93 4E 00 1C */ stw r26, 0x1c(r14)
/* 80074500 00070340 93 2E 00 20 */ stw r25, 0x20(r14)
/* 80074504 00070344 93 0E 00 24 */ stw r24, 0x24(r14)
/* 80074508 00070348 93 6E 00 28 */ stw r27, 0x28(r14)
/* 8007450C 0007034C 93 CE 00 2C */ stw r30, 0x2c(r14)
/* 80074510 00070350 92 AE 00 40 */ stw r21, 0x40(r14)
/* 80074514 00070354 B2 8E 00 44 */ sth r20, 0x44(r14)
2022-10-16 16:31:36 +00:00
/* 80074518 00070358 4B FD B8 69 */ bl IOS_IoctlvAsync
2022-10-16 16:05:58 +00:00
/* 8007451C 0007035C 7C 6F 1B 78 */ mr r15, r3
/* 80074520 00070360 38 7F 05 14 */ addi r3, r31, 0x514
/* 80074524 00070364 7D E4 7B 78 */ mr r4, r15
/* 80074528 00070368 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007452C 0007036C 4B FF ED 25 */ bl USB_LOG
2022-10-16 16:05:58 +00:00
/* 80074530 00070370 2C 0F 00 00 */ cmpwi r15, 0x0
/* 80074534 00070374 40 80 01 A4 */ bge lbl_800746D8
/* 80074538 00070378 2C 0E 00 00 */ cmpwi r14, 0x0
/* 8007453C 0007037C 41 82 00 30 */ beq lbl_8007456C
2022-10-16 16:31:36 +00:00
/* 80074540 00070380 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074544 00070384 7D C4 73 78 */ mr r4, r14
2022-10-16 16:31:36 +00:00
/* 80074548 00070388 4B FD C0 79 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 8007454C 0007038C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074550 00070390 40 80 00 1C */ bge lbl_8007456C
2022-10-16 16:31:36 +00:00
/* 80074554 00070394 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074558 00070398 7C 66 1B 78 */ mr r6, r3
/* 8007455C 0007039C 7D C5 73 78 */ mr r5, r14
/* 80074560 000703A0 38 7F 01 08 */ addi r3, r31, 0x108
/* 80074564 000703A4 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074568 000703A8 4B FF ED 99 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_8007456C
lbl_8007456C:
/* 8007456C 000703AC 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80074570 000703B0 41 82 00 30 */ beq lbl_800745A0
2022-10-16 16:31:36 +00:00
/* 80074574 000703B4 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074578 000703B8 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 8007457C 000703BC 4B FD C0 45 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80074580 000703C0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074584 000703C4 40 80 00 1C */ bge lbl_800745A0
2022-10-16 16:31:36 +00:00
/* 80074588 000703C8 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007458C 000703CC 7C 66 1B 78 */ mr r6, r3
/* 80074590 000703D0 7F A5 EB 78 */ mr r5, r29
/* 80074594 000703D4 38 7F 01 08 */ addi r3, r31, 0x108
/* 80074598 000703D8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007459C 000703DC 4B FF ED 65 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800745A0
lbl_800745A0:
/* 800745A0 000703E0 2C 1C 00 00 */ cmpwi r28, 0x0
/* 800745A4 000703E4 41 82 00 30 */ beq lbl_800745D4
2022-10-16 16:31:36 +00:00
/* 800745A8 000703E8 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800745AC 000703EC 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 800745B0 000703F0 4B FD C0 11 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 800745B4 000703F4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800745B8 000703F8 40 80 00 1C */ bge lbl_800745D4
2022-10-16 16:31:36 +00:00
/* 800745BC 000703FC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800745C0 00070400 7C 66 1B 78 */ mr r6, r3
/* 800745C4 00070404 7F 85 E3 78 */ mr r5, r28
/* 800745C8 00070408 38 7F 01 08 */ addi r3, r31, 0x108
/* 800745CC 0007040C 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800745D0 00070410 4B FF ED 31 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800745D4
lbl_800745D4:
/* 800745D4 00070414 2C 1A 00 00 */ cmpwi r26, 0x0
/* 800745D8 00070418 41 82 00 30 */ beq lbl_80074608
2022-10-16 16:31:36 +00:00
/* 800745DC 0007041C 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800745E0 00070420 7F 44 D3 78 */ mr r4, r26
2022-10-16 16:31:36 +00:00
/* 800745E4 00070424 4B FD BF DD */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 800745E8 00070428 2C 03 00 00 */ cmpwi r3, 0x0
/* 800745EC 0007042C 40 80 00 1C */ bge lbl_80074608
2022-10-16 16:31:36 +00:00
/* 800745F0 00070430 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800745F4 00070434 7C 66 1B 78 */ mr r6, r3
/* 800745F8 00070438 7F 45 D3 78 */ mr r5, r26
/* 800745FC 0007043C 38 7F 01 08 */ addi r3, r31, 0x108
/* 80074600 00070440 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074604 00070444 4B FF EC FD */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80074608
lbl_80074608:
/* 80074608 00070448 2C 19 00 00 */ cmpwi r25, 0x0
/* 8007460C 0007044C 41 82 00 30 */ beq lbl_8007463C
2022-10-16 16:31:36 +00:00
/* 80074610 00070450 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074614 00070454 7F 24 CB 78 */ mr r4, r25
2022-10-16 16:31:36 +00:00
/* 80074618 00070458 4B FD BF A9 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 8007461C 0007045C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074620 00070460 40 80 00 1C */ bge lbl_8007463C
2022-10-16 16:31:36 +00:00
/* 80074624 00070464 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074628 00070468 7C 66 1B 78 */ mr r6, r3
/* 8007462C 0007046C 7F 25 CB 78 */ mr r5, r25
/* 80074630 00070470 38 7F 01 08 */ addi r3, r31, 0x108
/* 80074634 00070474 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 80074638 00070478 4B FF EC C9 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_8007463C
lbl_8007463C:
/* 8007463C 0007047C 2C 18 00 00 */ cmpwi r24, 0x0
/* 80074640 00070480 41 82 00 30 */ beq lbl_80074670
2022-10-16 16:31:36 +00:00
/* 80074644 00070484 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074648 00070488 7F 04 C3 78 */ mr r4, r24
2022-10-16 16:31:36 +00:00
/* 8007464C 0007048C 4B FD BF 75 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80074650 00070490 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074654 00070494 40 80 00 1C */ bge lbl_80074670
2022-10-16 16:31:36 +00:00
/* 80074658 00070498 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007465C 0007049C 7C 66 1B 78 */ mr r6, r3
/* 80074660 000704A0 7F 05 C3 78 */ mr r5, r24
/* 80074664 000704A4 38 7F 01 08 */ addi r3, r31, 0x108
/* 80074668 000704A8 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 8007466C 000704AC 4B FF EC 95 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_80074670
lbl_80074670:
/* 80074670 000704B0 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80074674 000704B4 41 82 00 30 */ beq lbl_800746A4
2022-10-16 16:31:36 +00:00
/* 80074678 000704B8 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 8007467C 000704BC 7F 64 DB 78 */ mr r4, r27
2022-10-16 16:31:36 +00:00
/* 80074680 000704C0 4B FD BF 41 */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 80074684 000704C4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80074688 000704C8 40 80 00 1C */ bge lbl_800746A4
2022-10-16 16:31:36 +00:00
/* 8007468C 000704CC 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80074690 000704D0 7C 66 1B 78 */ mr r6, r3
/* 80074694 000704D4 7F 65 DB 78 */ mr r5, r27
/* 80074698 000704D8 38 7F 01 08 */ addi r3, r31, 0x108
/* 8007469C 000704DC 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800746A0 000704E0 4B FF EC 61 */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800746A4
lbl_800746A4:
/* 800746A4 000704E4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800746A8 000704E8 41 82 00 30 */ beq lbl_800746D8
2022-10-16 16:31:36 +00:00
/* 800746AC 000704EC 80 6D 84 70 */ lwz r3, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800746B0 000704F0 7F C4 F3 78 */ mr r4, r30
2022-10-16 16:31:36 +00:00
/* 800746B4 000704F4 4B FD BF 0D */ bl iosFree
2022-10-16 16:05:58 +00:00
/* 800746B8 000704F8 2C 03 00 00 */ cmpwi r3, 0x0
/* 800746BC 000704FC 40 80 00 1C */ bge lbl_800746D8
2022-10-16 16:31:36 +00:00
/* 800746C0 00070500 80 8D 84 70 */ lwz r4, hId_80556890@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 800746C4 00070504 7C 66 1B 78 */ mr r6, r3
/* 800746C8 00070508 7F C5 F3 78 */ mr r5, r30
/* 800746CC 0007050C 38 7F 01 08 */ addi r3, r31, 0x108
/* 800746D0 00070510 4C C6 31 82 */ crclr 4*cr1+eq
2022-10-16 16:31:36 +00:00
/* 800746D4 00070514 4B FF EC 2D */ bl USB_ERR
2022-10-16 16:05:58 +00:00
.global lbl_800746D8
lbl_800746D8:
/* 800746D8 00070518 39 61 00 50 */ addi r11, r1, 0x50
/* 800746DC 0007051C 7D E3 7B 78 */ mr r3, r15
2022-10-16 16:31:36 +00:00
/* 800746E0 00070520 4B F9 2C 75 */ bl __restore_gpr
2022-10-16 16:05:58 +00:00
/* 800746E4 00070524 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800746E8 00070528 7C 08 03 A6 */ mtlr r0
/* 800746EC 0007052C 38 21 00 50 */ addi r1, r1, 0x50
/* 800746F0 00070530 4E 80 00 20 */ blr
/* 800746F4 00070534 00 00 00 00 */ .4byte 0x00000000
/* 800746F8 00070538 00 00 00 00 */ .4byte 0x00000000
/* 800746FC 0007053C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IUSB_WriteCtrlMsgAsync
IUSB_WriteCtrlMsgAsync:
2022-10-16 16:05:58 +00:00
/* 80074700 00070540 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80074704 00070544 7C 08 02 A6 */ mflr r0
/* 80074708 00070548 90 01 00 44 */ stw r0, 0x44(r1)
/* 8007470C 0007054C 39 61 00 40 */ addi r11, r1, 0x40
/* 80074710 00070550 4B F9 2C 1D */ bl lbl_8000732C
/* 80074714 00070554 7D 1C 43 78 */ mr r28, r8
/* 80074718 00070558 7D 3D 4B 78 */ mr r29, r9
/* 8007471C 0007055C 7C 77 1B 78 */ mr r23, r3
/* 80074720 00070560 7C 98 23 78 */ mr r24, r4
/* 80074724 00070564 83 E1 00 48 */ lwz r31, 0x48(r1)
/* 80074728 00070568 7C B9 2B 78 */ mr r25, r5
/* 8007472C 0007056C 7C DA 33 78 */ mr r26, r6
/* 80074730 00070570 7C FB 3B 78 */ mr r27, r7
/* 80074734 00070574 7D 5E 53 78 */ mr r30, r10
/* 80074738 00070578 7F A3 EB 78 */ mr r3, r29
/* 8007473C 0007057C 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 80074740 00070580 4B FA 82 41 */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 80074744 00070584 93 E1 00 08 */ stw r31, 0x8(r1)
/* 80074748 00070588 38 00 00 01 */ li r0, 0x1
/* 8007474C 0007058C 7E E3 BB 78 */ mr r3, r23
/* 80074750 00070590 7F 04 C3 78 */ mr r4, r24
/* 80074754 00070594 90 01 00 0C */ stw r0, 0xc(r1)
/* 80074758 00070598 7F 25 CB 78 */ mr r5, r25
/* 8007475C 0007059C 7F 46 D3 78 */ mr r6, r26
/* 80074760 000705A0 7F 67 DB 78 */ mr r7, r27
/* 80074764 000705A4 7F 88 E3 78 */ mr r8, r28
/* 80074768 000705A8 7F A9 EB 78 */ mr r9, r29
/* 8007476C 000705AC 7F CA F3 78 */ mr r10, r30
2022-10-16 16:31:36 +00:00
/* 80074770 000705B0 4B FF F9 E1 */ bl __CtrlMsgInt
2022-10-16 16:05:58 +00:00
/* 80074774 000705B4 39 61 00 40 */ addi r11, r1, 0x40
/* 80074778 000705B8 4B F9 2C 01 */ bl lbl_80007378
/* 8007477C 000705BC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80074780 000705C0 7C 08 03 A6 */ mtlr r0
/* 80074784 000705C4 38 21 00 40 */ addi r1, r1, 0x40
/* 80074788 000705C8 4E 80 00 20 */ blr
/* 8007478C 000705CC 00 00 00 00 */ .4byte 0x00000000
2022-10-17 08:35:24 +00:00
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@2524_8043A038"
"@2524_8043A038":
.4byte 0x55534220
.4byte 0x4552523A
.4byte 0x20000000
.4byte 0x4C696272
.4byte 0x61727920
.4byte 0x69732061
.4byte 0x6C726561
.4byte 0x64792069
.4byte 0x6E697469
.4byte 0x616C697A
.4byte 0x65642E20
.4byte 0x48656170
.4byte 0x20496420
.4byte 0x3D202564
.4byte 0x0A000000
.4byte 0x69757362
.4byte 0x2073697A
.4byte 0x653A2025
.4byte 0x64206C6F
.4byte 0x3A202578
.4byte 0x2068693A
.4byte 0x2025780A
.4byte 0
.4byte 0x4E6F7420
.4byte 0x656E6F75
.4byte 0x67682049
.4byte 0x50432061
.4byte 0x72656E61
.4byte 0x0A000000
.4byte 0x4E6F7420
.4byte 0x656E6F75
.4byte 0x67682068
.4byte 0x65617073
.4byte 0x0A000000
.4byte 0x5F696E74
.4byte 0x72426C6B
.4byte 0x4374726C
.4byte 0x49736F43
.4byte 0x62207265
.4byte 0x7475726E
.4byte 0x65643A20
.4byte 0x25640A00
.4byte 0x5F696E74
.4byte 0x72426C6B
.4byte 0x4374726C
.4byte 0x49736F43
.4byte 0x623A206E
.4byte 0x636C6561
.4byte 0x6E203D20
.4byte 0x25640A00
.4byte 0x5F5F696E
.4byte 0x7472426C
.4byte 0x6B437472
.4byte 0x6C49736F
.4byte 0x43623A20
.4byte 0x676F7420
.4byte 0x696E7661
.4byte 0x6C696420
.4byte 0x6E636C65
.4byte 0x616E0A00
.4byte 0x46726565
.4byte 0x696E6720
.4byte 0x636C6561
.4byte 0x6E5B2564
.4byte 0x5D203D20
.4byte 0x25780A00
.4byte 0x696F7346
.4byte 0x72656528
.4byte 0x25642C20
.4byte 0x30782578
.4byte 0x29206661
.4byte 0x696C6564
.4byte 0x3A202564
.4byte 0x0A000000
.4byte 0x6362203D
.4byte 0x20257820
.4byte 0x63624172
.4byte 0x67203D20
.4byte 0x25780A00
.4byte 0x63616C6C
.4byte 0x696E6720
.4byte 0x69736F20
.4byte 0x63616C6C
.4byte 0x6261636B
.4byte 0x0A000000
.4byte 0x696F7341
.4byte 0x6C6C6F63
.4byte 0x416C6967
.4byte 0x6E656428
.4byte 0x25642C20
.4byte 0x25752920
.4byte 0x6661696C
.4byte 0x65643A20
.4byte 0x25640A00
.4byte 0x4F70656E
.4byte 0x44657669
.4byte 0x63654964
.4byte 0x733A204E
.4byte 0x6F742065
.4byte 0x6E6F7567
.4byte 0x68206D65
.4byte 0x6D6F7279
.4byte 0x0A000000
.4byte 0x2F646576
.4byte 0x2F757362
.4byte 0x2F25732F
.4byte 0x25782F25
.4byte 0x78000000
.4byte 0x4F70656E
.4byte 0x44657669
.4byte 0x6365202D
.4byte 0x2025730A
.4byte 0
.4byte 0x4F70656E
.4byte 0x44657669
.4byte 0x63652072
.4byte 0x65747572
.4byte 0x6E65643A
.4byte 0x2025640A
.4byte 0
.4byte 0x4F70656E
.4byte 0x44657669
.4byte 0x63650A00
.4byte 0x4F70656E
.4byte 0x44657669
.4byte 0x63654964
.4byte 0x73417379
.4byte 0x6E633A20
.4byte 0x4E6F7420
.4byte 0x656E6F75
.4byte 0x6768206D
.4byte 0x656D6F72
.4byte 0x790A0000
.4byte 0x436C6F73
.4byte 0x65446576
.4byte 0x6963650A
.4byte 0
.4byte 0x436C6F73
.4byte 0x65446576
.4byte 0x69636520
.4byte 0x72657475
.4byte 0x726E6564
.4byte 0x3A202564
.4byte 0x0A000000
.4byte 0x436C6F73
.4byte 0x65446576
.4byte 0x69636541
.4byte 0x73796E63
.4byte 0x3A204E6F
.4byte 0x7420656E
.4byte 0x6F756768
.4byte 0x206D656D
.4byte 0x6F72790A
.4byte 0
.4byte 0x6F70656E
.4byte 0x44657669
.4byte 0x63653A20
.4byte 0x4E6F7420
.4byte 0x656E6F75
.4byte 0x6768206D
.4byte 0x656D6F72
.4byte 0x790A0000
.4byte 0x67657444
.4byte 0x65766963
.4byte 0x654C6973
.4byte 0x743A204E
.4byte 0x6F742065
.4byte 0x6E6F7567
.4byte 0x68206D65
.4byte 0x6D6F7279
.4byte 0x0A000000
.4byte 0
.4byte 0x5F5F4C6F
.4byte 0x6E67426C
.4byte 0x6B4D7367
.4byte 0x496E7400
.4byte 0x5F5F4C6F
.4byte 0x6E67426C
.4byte 0x6B4D7367
.4byte 0x496E743A
.4byte 0x204E6F74
.4byte 0x20656E6F
.4byte 0x75676820
.4byte 0x6D656D6F
.4byte 0x72790A00
.4byte 0x4C6F6E67
.4byte 0x2062756C
.4byte 0x6B20696F
.4byte 0x63746C20
.4byte 0x72657475
.4byte 0x726E6564
.4byte 0x3A202564
.4byte 0x0A000000
.4byte 0x4C6F6E67
.4byte 0x426C6B4D
.4byte 0x7367496E
.4byte 0x74202861
.4byte 0x73796E63
.4byte 0x293A204E
.4byte 0x6F742065
.4byte 0x6E6F7567
.4byte 0x68206D65
.4byte 0x6D6F7279
.4byte 0x0A000000
.4byte 0x6C6F6E67
.4byte 0x626C6B6D
.4byte 0x73673A20
.4byte 0x6362203D
.4byte 0x20307825
.4byte 0x78206362
.4byte 0x41726720
.4byte 0x3D203078
.4byte 0x25780A00
.4byte 0x25733A20
.4byte 0x496F6374
.4byte 0x6C764173
.4byte 0x796E6320
.4byte 0x72657475
.4byte 0x726E6564
.4byte 0x20657272
.4byte 0x6F722025
.4byte 0x640A0000
.4byte 0x5F5F496E
.4byte 0x7472426C
.4byte 0x6B4D7367
.4byte 0x496E7400
.4byte 0x5F5F496E
.4byte 0x7472426C
.4byte 0x6B4D7367
.4byte 0x496E743A
.4byte 0x204E6F74
.4byte 0x20656E6F
.4byte 0x75676820
.4byte 0x6D656D6F
.4byte 0x72790A00
.4byte 0x696E7472
.4byte 0x2F626C6B
.4byte 0x20696F63
.4byte 0x746C2072
.4byte 0x65747572
.4byte 0x6E65643A
.4byte 0x2025640A
.4byte 0
.4byte 0x496E7442
.4byte 0x6C6B4D73
.4byte 0x67496E74
.4byte 0x20286173
.4byte 0x796E6329
.4byte 0x3A204E6F
.4byte 0x7420656E
.4byte 0x6F756768
.4byte 0x206D656D
.4byte 0x6F72790A
.4byte 0
.4byte 0x696E7472
.4byte 0x626C6B6D
.4byte 0x73673A20
.4byte 0x6362203D
.4byte 0x20307825
.4byte 0x78206362
.4byte 0x41726720
.4byte 0x3D203078
.4byte 0x25780A00
.4byte 0x63616C6C
.4byte 0x696E6720
.4byte 0x73686F72
.4byte 0x7420626C
.4byte 0x6B207472
.4byte 0x616E7366
.4byte 0x65722066
.4byte 0x6E3A2062
.4byte 0x75666C65
.4byte 0x6E203D20
.4byte 0x2575206C
.4byte 0x696D6974
.4byte 0x203D2025
.4byte 0x750A0000
.4byte 0x63616C6C
.4byte 0x696E6720
.4byte 0x6C6F6E67
.4byte 0x20626C6B
.4byte 0x20747261
.4byte 0x6E736665
.4byte 0x7220666E
.4byte 0x3A206275
.4byte 0x666C656E
.4byte 0x203D2025
.4byte 0x75206C69
.4byte 0x6D697420
.4byte 0x3D202575
.4byte 0x0A000000
.4byte 0x6374726C
.4byte 0x6D73673A
.4byte 0x20626164
.4byte 0x20646174
.4byte 0x61206275
.4byte 0x66666572
.4byte 0x0A000000
.4byte 0x4374726C
.4byte 0x204D7367
.4byte 0x3A204E6F
.4byte 0x7420656E
.4byte 0x6F756768
.4byte 0x206D656D
.4byte 0x6F72790A
.4byte 0
.4byte 0x4374726C
.4byte 0x4D736749
.4byte 0x6E742028
.4byte 0x6173796E
.4byte 0x63293A20
.4byte 0x4E6F7420
.4byte 0x656E6F75
.4byte 0x6768206D
.4byte 0x656D6F72
.4byte 0x790A0000
.4byte 0x6374726C
.4byte 0x6D736769
.4byte 0x6E743A20
.4byte 0x6362203D
.4byte 0x20307825
.4byte 0x78206362
.4byte 0x41726720
.4byte 0x3D203078
.4byte 0x25780A00
.4byte 0x4374726C
.4byte 0x204D7367
.4byte 0x20617379
.4byte 0x6E632072
.4byte 0x65747572
.4byte 0x6E65643A
.4byte 0x2025640A
.4byte 0
.4byte 0x47657453
.4byte 0x74724362
.4byte 0x20726574
.4byte 0x75726E65
.4byte 0x643A2025
.4byte 0x640A0000
.4byte 0x47657453
.4byte 0x74724362
.4byte 0x3A206275
.4byte 0x66203D20
.4byte 0x30782578
.4byte 0x20627566
.4byte 0x6C656E20
.4byte 0x3D202575
.4byte 0x0A000000
.4byte 0x4661696C
.4byte 0x65642074
.4byte 0x6F20636F
.4byte 0x6E766572
.4byte 0x74206275
.4byte 0x66666572
.4byte 0x2066726F
.4byte 0x6D20756E
.4byte 0x69636F64
.4byte 0x65203220
.4byte 0x61736369
.4byte 0x690A0000
.4byte 0x63616C6C
.4byte 0x696E6720
.4byte 0x63622030
.4byte 0x78257820
.4byte 0x77697468
.4byte 0x20617267
.4byte 0x20307825
.4byte 0x780A0000
.4byte 0x4661696C
.4byte 0x6564205F
.4byte 0x5F437472
.4byte 0x6C4D7367
.4byte 0x3A202564
.4byte 0
.4byte 0x4661696C
.4byte 0x65642074
.4byte 0x6F20636F
.4byte 0x6E766572
.4byte 0x7420756E
.4byte 0x69636F64
.4byte 0x65203220
.4byte 0x61736369
.4byte 0x690A0000
.4byte 0x47657453
.4byte 0x7472202D
.4byte 0x205F4765
.4byte 0x74537472
.4byte 0x43620A00
.4byte 0x20476574
.4byte 0x41736369
.4byte 0x69537472
.4byte 0x4173796E
.4byte 0x633A204E
.4byte 0x6F742065
.4byte 0x6E6F7567
.4byte 0x68206D65
.4byte 0x6D6F7279
.4byte 0x0A000000
.4byte 0x5F5F4374
.4byte 0x726C4D73
.4byte 0x67496E74
.4byte 0x20666169
.4byte 0x6C656420
.4byte 0x25640A00
.4byte 0x47657444
.4byte 0x65736372
.4byte 0x43622072
.4byte 0x65747572
.4byte 0x6E65643A
.4byte 0x2025640A
.4byte 0
.4byte 0x47657444
.4byte 0x65764465
.4byte 0x7363720A
.4byte 0
.4byte 0
.4byte 0x47657444
.4byte 0x65764465
.4byte 0x7363723A
.4byte 0x204E6F74
.4byte 0x20656E6F
.4byte 0x75676820
.4byte 0x6D656D6F
.4byte 0x72790A00
.4byte 0x47657444
.4byte 0x65764465
.4byte 0x7363723A
.4byte 0x2025640A
.4byte 0
.4byte 0x47657444
.4byte 0x65764465
.4byte 0x73637220
.4byte 0x2D205F47
.4byte 0x65744465
.4byte 0x73637243
.4byte 0x620A0000
.4byte 0x47657444
.4byte 0x65764465
.4byte 0x73637241
.4byte 0x73796E63
.4byte 0x3A204E6F
.4byte 0x7420656E
.4byte 0x6F756768
.4byte 0x206D656D
.4byte 0x6F72790A
.4byte 0
.4byte 0x44657669
.4byte 0x63655265
.4byte 0x6D6F7661
.4byte 0x6C4E6F74
.4byte 0x69667941
.4byte 0x73796E63
.4byte 0x0A000000
.4byte 0x7061636B
.4byte 0x65742025
.4byte 0x7520746F
.4byte 0x6F206269
.4byte 0x673A2025
.4byte 0x750A0000
.4byte 0x496E7661
.4byte 0x6C696420
.4byte 0x70617261
.4byte 0x6D657465
.4byte 0x72732066
.4byte 0x6F722049
.4byte 0x534F2074
.4byte 0x72616E73
.4byte 0x66657220
.4byte 0x72657175
.4byte 0x6573740A
.4byte 0
.4byte 0x49555342
.4byte 0x5F49736F
.4byte 0x4D736741
.4byte 0x73796E63
.4byte 0x3A204E6F
.4byte 0x7420656E
.4byte 0x6F756768
.4byte 0x206D656D
.4byte 0x6F72790A
.4byte 0
.4byte 0x4F70656E
.4byte 0x28257329
.4byte 0x20666169
.4byte 0x6C65640A
.4byte 0
.4byte 0x496E7661
.4byte 0x6C696420
.4byte 0x70617468
.4byte 0x206F7220
.4byte 0x64657643
.4byte 0x6C617373
.4byte 0x20696E20
.4byte 0x696E7365
.4byte 0x7274696F
.4byte 0x6E206E6F
.4byte 0x74696669
.4byte 0x63617469
.4byte 0x6F6E2063
.4byte 0x616C6C0A
.4byte 0
.4byte 0
.4byte 0x49555342
.4byte 0x5F526567
.4byte 0x69737465
.4byte 0x72496E73
.4byte 0x65727469
.4byte 0x6F6E4E6F
.4byte 0x74696679
.4byte 0x57697468
.4byte 0x49644173
.4byte 0x796E6300
.4byte 0x25733A20
.4byte 0x4E6F7420
.4byte 0x656E6F75
.4byte 0x6768206D
.4byte 0x656D6F72
.4byte 0x790A0000
.4byte 0x4661696C
.4byte 0x65642074
.4byte 0x6F206F70
.4byte 0x656E2025
.4byte 0x733A2025
.4byte 0x640A0000
.include "macros.inc"
.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0
.global hId_80556890
hId_80556890:
.4byte 0xFFFFFFFF
.global s_usb_err
s_usb_err:
.4byte 0x01000000
.global "@2519_80556898"
"@2519_80556898":
.4byte 0x5553423A
.4byte 0x20000000
.include "macros.inc"
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
.global lo
lo:
.skip 0x4
.global hi
hi:
.skip 0x4
.global s_usb_log
s_usb_log:
.skip 0x8