donut-decomp/asm/bte/l2c_main_80093410.s

1215 lines
57 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global l2c_init
l2c_init:
/* 80093410 0008F250 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80093414 0008F254 7C 08 02 A6 */ mflr r0
/* 80093418 0008F258 38 80 00 00 */ li r4, 0x0
/* 8009341C 0008F25C 38 A0 07 E8 */ li r5, 0x7e8
/* 80093420 0008F260 90 01 00 14 */ stw r0, 0x14(r1)
/* 80093424 0008F264 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80093428 0008F268 3F E0 80 50 */ lis r31, l2cb@ha
/* 8009342C 0008F26C 38 7F 90 20 */ addi r3, r31, l2cb@l
/* 80093430 0008F270 4B F7 0F 21 */ bl memset
/* 80093434 0008F274 38 80 00 01 */ li r4, 0x1
/* 80093438 0008F278 38 00 00 02 */ li r0, 0x2
/* 8009343C 0008F27C 1C 64 00 7C */ mulli r3, r4, 0x7c
/* 80093440 0008F280 39 7F 90 20 */ addi r11, r31, -0x6fe0
/* 80093444 0008F284 38 E0 00 03 */ li r7, 0x3
/* 80093448 0008F288 38 80 00 04 */ li r4, 0x4
/* 8009344C 0008F28C 7D 0B 1A 14 */ add r8, r11, r3
/* 80093450 0008F290 38 AB 01 78 */ addi r5, r11, 0x178
/* 80093454 0008F294 1C C7 00 7C */ mulli r6, r7, 0x7c
/* 80093458 0008F298 38 E0 00 06 */ li r7, 0x6
/* 8009345C 0008F29C 39 48 01 78 */ addi r10, r8, 0x178
/* 80093460 0008F2A0 91 4B 01 80 */ stw r10, 0x180(r11)
/* 80093464 0008F2A4 1D 20 00 7C */ mulli r9, r0, 0x7c
/* 80093468 0008F2A8 38 00 00 05 */ li r0, 0x5
/* 8009346C 0008F2AC 7C CB 32 14 */ add r6, r11, r6
/* 80093470 0008F2B0 7D 0B 4A 14 */ add r8, r11, r9
/* 80093474 0008F2B4 38 C6 01 78 */ addi r6, r6, 0x178
/* 80093478 0008F2B8 1C 64 00 7C */ mulli r3, r4, 0x7c
/* 8009347C 0008F2BC 38 80 00 07 */ li r4, 0x7
/* 80093480 0008F2C0 39 08 01 78 */ addi r8, r8, 0x178
/* 80093484 0008F2C4 91 0B 01 FC */ stw r8, 0x1fc(r11)
/* 80093488 0008F2C8 7D 0B 1A 14 */ add r8, r11, r3
/* 8009348C 0008F2CC 1D 20 00 7C */ mulli r9, r0, 0x7c
/* 80093490 0008F2D0 90 CB 02 78 */ stw r6, 0x278(r11)
/* 80093494 0008F2D4 39 48 01 78 */ addi r10, r8, 0x178
/* 80093498 0008F2D8 91 4B 02 F4 */ stw r10, 0x2f4(r11)
/* 8009349C 0008F2DC 38 00 00 08 */ li r0, 0x8
/* 800934A0 0008F2E0 1C C7 00 7C */ mulli r6, r7, 0x7c
/* 800934A4 0008F2E4 7D 0B 4A 14 */ add r8, r11, r9
/* 800934A8 0008F2E8 38 E0 00 09 */ li r7, 0x9
/* 800934AC 0008F2EC 39 08 01 78 */ addi r8, r8, 0x178
/* 800934B0 0008F2F0 1C 64 00 7C */ mulli r3, r4, 0x7c
/* 800934B4 0008F2F4 7C CB 32 14 */ add r6, r11, r6
/* 800934B8 0008F2F8 91 0B 03 70 */ stw r8, 0x370(r11)
/* 800934BC 0008F2FC 38 8B 05 D4 */ addi r4, r11, 0x5d4
/* 800934C0 0008F300 38 C6 01 78 */ addi r6, r6, 0x178
/* 800934C4 0008F304 7D 0B 1A 14 */ add r8, r11, r3
/* 800934C8 0008F308 1D 20 00 7C */ mulli r9, r0, 0x7c
/* 800934CC 0008F30C 90 CB 03 EC */ stw r6, 0x3ec(r11)
/* 800934D0 0008F310 39 48 01 78 */ addi r10, r8, 0x178
/* 800934D4 0008F314 91 4B 04 68 */ stw r10, 0x468(r11)
/* 800934D8 0008F318 38 60 00 00 */ li r3, 0x0
/* 800934DC 0008F31C 1C C7 00 7C */ mulli r6, r7, 0x7c
/* 800934E0 0008F320 7D 0B 4A 14 */ add r8, r11, r9
/* 800934E4 0008F324 38 00 00 02 */ li r0, 0x2
/* 800934E8 0008F328 39 08 01 78 */ addi r8, r8, 0x178
/* 800934EC 0008F32C 7C CB 32 14 */ add r6, r11, r6
/* 800934F0 0008F330 91 0B 04 E4 */ stw r8, 0x4e4(r11)
/* 800934F4 0008F334 38 C6 01 78 */ addi r6, r6, 0x178
/* 800934F8 0008F338 90 CB 05 60 */ stw r6, 0x560(r11)
/* 800934FC 0008F33C 90 AB 07 B0 */ stw r5, 0x7b0(r11)
/* 80093500 0008F340 90 8B 07 B4 */ stw r4, 0x7b4(r11)
/* 80093504 0008F344 98 6B 00 01 */ stb r3, 0x1(r11)
/* 80093508 0008F348 B0 0B 07 BA */ sth r0, 0x7ba(r11)
/* 8009350C 0008F34C 98 7F 90 20 */ stb r3, -0x6fe0(r31)
/* 80093510 0008F350 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80093514 0008F354 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80093518 0008F358 7C 08 03 A6 */ mtlr r0
/* 8009351C 0008F35C 38 21 00 10 */ addi r1, r1, 0x10
/* 80093520 0008F360 4E 80 00 20 */ blr
.global l2c_rcv_acl_data
l2c_rcv_acl_data:
/* 80093524 0008F364 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80093528 0008F368 7C 08 02 A6 */ mflr r0
/* 8009352C 0008F36C 90 01 00 34 */ stw r0, 0x34(r1)
/* 80093530 0008F370 39 61 00 30 */ addi r11, r1, 0x30
/* 80093534 0008F374 4B F7 3D FD */ bl lbl_80007330
/* 80093538 0008F378 A0 03 00 04 */ lhz r0, 0x4(r3)
/* 8009353C 0008F37C 3F C0 80 44 */ lis r30, "@1563"@ha
/* 80093540 0008F380 7C 7B 1B 78 */ mr r27, r3
/* 80093544 0008F384 3B 80 00 00 */ li r28, 0x0
/* 80093548 0008F388 7F E3 02 14 */ add r31, r3, r0
/* 8009354C 0008F38C 3B DE E8 68 */ addi r30, r30, "@1563"@l
/* 80093550 0008F390 88 1F 00 09 */ lbz r0, 0x9(r31)
/* 80093554 0008F394 88 7F 00 08 */ lbz r3, 0x8(r31)
/* 80093558 0008F398 54 00 40 2E */ slwi r0, r0, 8
/* 8009355C 0008F39C 7C 03 02 14 */ add r0, r3, r0
/* 80093560 0008F3A0 54 05 A7 BE */ extrwi r5, r0, 2, 18
/* 80093564 0008F3A4 28 05 00 02 */ cmplwi r5, 0x2
/* 80093568 0008F3A8 54 1A 05 3E */ clrlwi r26, r0, 20
/* 8009356C 0008F3AC 41 82 00 30 */ beq lbl_8009359C
/* 80093570 0008F3B0 3C 60 80 50 */ lis r3, l2cb@ha
/* 80093574 0008F3B4 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80093578 0008F3B8 28 00 00 02 */ cmplwi r0, 0x2
/* 8009357C 0008F3BC 41 80 00 14 */ blt lbl_80093590
/* 80093580 0008F3C0 3C 60 00 08 */ lis r3, 0x8
/* 80093584 0008F3C4 38 9E 00 00 */ addi r4, r30, 0x0
/* 80093588 0008F3C8 38 63 00 01 */ addi r3, r3, 0x1
/* 8009358C 0008F3CC 4B FE 43 D5 */ bl LogMsg_0
.global lbl_80093590
lbl_80093590:
/* 80093590 0008F3D0 7F 63 DB 78 */ mr r3, r27
/* 80093594 0008F3D4 4B FE 19 7D */ bl GKI_freebuf
/* 80093598 0008F3D8 48 00 02 A4 */ b lbl_8009383C
.global lbl_8009359C
lbl_8009359C:
/* 8009359C 0008F3DC 7F 43 D3 78 */ mr r3, r26
/* 800935A0 0008F3E0 48 00 10 FD */ bl l2cu_find_lcb_by_handle
/* 800935A4 0008F3E4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800935A8 0008F3E8 7C 7D 1B 78 */ mr r29, r3
/* 800935AC 0008F3EC 40 82 00 D0 */ bne lbl_8009367C
/* 800935B0 0008F3F0 88 7F 00 0F */ lbz r3, 0xf(r31)
/* 800935B4 0008F3F4 A0 1B 00 06 */ lhz r0, 0x6(r27)
/* 800935B8 0008F3F8 88 9F 00 0E */ lbz r4, 0xe(r31)
/* 800935BC 0008F3FC 54 63 40 2E */ slwi r3, r3, 8
/* 800935C0 0008F400 2C 00 00 00 */ cmpwi r0, 0x0
/* 800935C4 0008F404 8B 9F 00 10 */ lbz r28, 0x10(r31)
/* 800935C8 0008F408 7C 04 1A 14 */ add r0, r4, r3
/* 800935CC 0008F40C 54 18 04 3E */ clrlwi r24, r0, 16
/* 800935D0 0008F410 40 82 00 A0 */ bne lbl_80093670
/* 800935D4 0008F414 28 18 00 01 */ cmplwi r24, 0x1
/* 800935D8 0008F418 40 82 00 98 */ bne lbl_80093670
/* 800935DC 0008F41C 28 1C 00 0A */ cmplwi r28, 0xa
/* 800935E0 0008F420 41 82 00 0C */ beq lbl_800935EC
/* 800935E4 0008F424 28 1C 00 02 */ cmplwi r28, 0x2
/* 800935E8 0008F428 40 82 00 88 */ bne lbl_80093670
.global lbl_800935EC
lbl_800935EC:
/* 800935EC 0008F42C 7F 43 D3 78 */ mr r3, r26
/* 800935F0 0008F430 4B FF 38 79 */ bl btm_sec_is_bonding
/* 800935F4 0008F434 54 60 06 3F */ clrlwi. r0, r3, 24
/* 800935F8 0008F438 40 82 00 78 */ bne lbl_80093670
/* 800935FC 0008F43C 3C 60 80 50 */ lis r3, l2cb@ha
/* 80093600 0008F440 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80093604 0008F444 28 00 00 02 */ cmplwi r0, 0x2
/* 80093608 0008F448 41 80 00 2C */ blt lbl_80093634
/* 8009360C 0008F44C 38 63 90 20 */ addi r3, r3, -0x6fe0
/* 80093610 0008F450 3C 80 00 08 */ lis r4, 0x8
/* 80093614 0008F454 A1 23 07 C8 */ lhz r9, 0x7c8(r3)
/* 80093618 0008F458 38 64 00 01 */ addi r3, r4, 0x1
/* 8009361C 0008F45C A0 DB 00 06 */ lhz r6, 0x6(r27)
/* 80093620 0008F460 7F 45 D3 78 */ mr r5, r26
/* 80093624 0008F464 7F 07 C3 78 */ mr r7, r24
/* 80093628 0008F468 7F 88 E3 78 */ mr r8, r28
/* 8009362C 0008F46C 38 9E 00 24 */ addi r4, r30, 0x24
/* 80093630 0008F470 4B FE 43 31 */ bl LogMsg_0
.global lbl_80093634
lbl_80093634:
/* 80093634 0008F474 38 00 00 02 */ li r0, 0x2
/* 80093638 0008F478 3F 80 80 50 */ lis r28, l2cb@ha
/* 8009363C 0008F47C 3B 9C 90 20 */ addi r28, r28, l2cb@l
/* 80093640 0008F480 B0 1B 00 06 */ sth r0, 0x6(r27)
/* 80093644 0008F484 7F 64 DB 78 */ mr r4, r27
/* 80093648 0008F488 38 7C 07 C0 */ addi r3, r28, 0x7c0
/* 8009364C 0008F48C 4B FE 1C F5 */ bl GKI_enqueue
/* 80093650 0008F490 A0 1C 07 C8 */ lhz r0, 0x7c8(r28)
/* 80093654 0008F494 28 00 00 01 */ cmplwi r0, 0x1
/* 80093658 0008F498 40 82 01 E4 */ bne lbl_8009383C
/* 8009365C 0008F49C 38 7C 07 CC */ addi r3, r28, 0x7cc
/* 80093660 0008F4A0 38 80 00 04 */ li r4, 0x4
/* 80093664 0008F4A4 38 A0 00 01 */ li r5, 0x1
/* 80093668 0008F4A8 4B FE 48 49 */ bl btu_start_timer
/* 8009366C 0008F4AC 48 00 01 D0 */ b lbl_8009383C
.global lbl_80093670
lbl_80093670:
/* 80093670 0008F4B0 7F 63 DB 78 */ mr r3, r27
/* 80093674 0008F4B4 4B FE 18 9D */ bl GKI_freebuf
/* 80093678 0008F4B8 48 00 01 C4 */ b lbl_8009383C
.global lbl_8009367C
lbl_8009367C:
/* 8009367C 0008F4BC A0 9B 00 04 */ lhz r4, 0x4(r27)
/* 80093680 0008F4C0 88 BF 00 0B */ lbz r5, 0xb(r31)
/* 80093684 0008F4C4 38 04 00 04 */ addi r0, r4, 0x4
/* 80093688 0008F4C8 88 DF 00 0A */ lbz r6, 0xa(r31)
/* 8009368C 0008F4CC 54 A4 40 2E */ slwi r4, r5, 8
/* 80093690 0008F4D0 B0 1B 00 04 */ sth r0, 0x4(r27)
/* 80093694 0008F4D4 7C 06 22 14 */ add r0, r6, r4
/* 80093698 0008F4D8 54 19 04 3E */ clrlwi r25, r0, 16
/* 8009369C 0008F4DC 88 1F 00 0F */ lbz r0, 0xf(r31)
/* 800936A0 0008F4E0 88 9F 00 0E */ lbz r4, 0xe(r31)
/* 800936A4 0008F4E4 54 00 40 2E */ slwi r0, r0, 8
/* 800936A8 0008F4E8 88 BF 00 0D */ lbz r5, 0xd(r31)
/* 800936AC 0008F4EC 7C 04 02 14 */ add r0, r4, r0
/* 800936B0 0008F4F0 88 9F 00 0C */ lbz r4, 0xc(r31)
/* 800936B4 0008F4F4 54 1A 04 3E */ clrlwi r26, r0, 16
/* 800936B8 0008F4F8 54 A0 40 2E */ slwi r0, r5, 8
/* 800936BC 0008F4FC 7C 04 02 14 */ add r0, r4, r0
/* 800936C0 0008F500 28 1A 00 02 */ cmplwi r26, 0x2
/* 800936C4 0008F504 54 18 04 3E */ clrlwi r24, r0, 16
/* 800936C8 0008F508 40 81 00 48 */ ble lbl_80093710
/* 800936CC 0008F50C 7F 44 D3 78 */ mr r4, r26
/* 800936D0 0008F510 48 00 24 21 */ bl l2cu_find_ccb_by_cid
/* 800936D4 0008F514 2C 03 00 00 */ cmpwi r3, 0x0
/* 800936D8 0008F518 7C 7C 1B 78 */ mr r28, r3
/* 800936DC 0008F51C 40 82 00 34 */ bne lbl_80093710
/* 800936E0 0008F520 3C 60 80 50 */ lis r3, l2cb@ha
/* 800936E4 0008F524 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 800936E8 0008F528 28 00 00 02 */ cmplwi r0, 0x2
/* 800936EC 0008F52C 41 80 00 18 */ blt lbl_80093704
/* 800936F0 0008F530 3C 60 00 08 */ lis r3, 0x8
/* 800936F4 0008F534 7F 45 D3 78 */ mr r5, r26
/* 800936F8 0008F538 38 63 00 01 */ addi r3, r3, 0x1
/* 800936FC 0008F53C 38 9E 00 78 */ addi r4, r30, 0x78
/* 80093700 0008F540 4B FE 42 61 */ bl LogMsg_0
.global lbl_80093704
lbl_80093704:
/* 80093704 0008F544 7F 63 DB 78 */ mr r3, r27
/* 80093708 0008F548 4B FE 18 09 */ bl GKI_freebuf
/* 8009370C 0008F54C 48 00 01 30 */ b lbl_8009383C
.global lbl_80093710
lbl_80093710:
/* 80093710 0008F550 28 19 00 04 */ cmplwi r25, 0x4
/* 80093714 0008F554 41 80 00 1C */ blt lbl_80093730
/* 80093718 0008F558 A0 7B 00 04 */ lhz r3, 0x4(r27)
/* 8009371C 0008F55C 38 99 FF FC */ addi r4, r25, -0x4
/* 80093720 0008F560 B0 9B 00 02 */ sth r4, 0x2(r27)
/* 80093724 0008F564 38 03 00 04 */ addi r0, r3, 0x4
/* 80093728 0008F568 B0 1B 00 04 */ sth r0, 0x4(r27)
/* 8009372C 0008F56C 48 00 00 30 */ b lbl_8009375C
.global lbl_80093730
lbl_80093730:
/* 80093730 0008F570 3C 60 80 50 */ lis r3, l2cb@ha
/* 80093734 0008F574 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80093738 0008F578 28 00 00 02 */ cmplwi r0, 0x2
/* 8009373C 0008F57C 41 80 00 14 */ blt lbl_80093750
/* 80093740 0008F580 3C 60 00 08 */ lis r3, 0x8
/* 80093744 0008F584 38 9E 00 90 */ addi r4, r30, 0x90
/* 80093748 0008F588 38 63 00 01 */ addi r3, r3, 0x1
/* 8009374C 0008F58C 4B FE 42 15 */ bl LogMsg_0
.global lbl_80093750
lbl_80093750:
/* 80093750 0008F590 7F 63 DB 78 */ mr r3, r27
/* 80093754 0008F594 4B FE 17 BD */ bl GKI_freebuf
/* 80093758 0008F598 48 00 00 E4 */ b lbl_8009383C
.global lbl_8009375C
lbl_8009375C:
/* 8009375C 0008F59C 54 86 04 3E */ clrlwi r6, r4, 16
/* 80093760 0008F5A0 7C 18 30 40 */ cmplw r24, r6
/* 80093764 0008F5A4 41 82 00 34 */ beq lbl_80093798
/* 80093768 0008F5A8 3C 60 80 50 */ lis r3, l2cb@ha
/* 8009376C 0008F5AC 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80093770 0008F5B0 28 00 00 02 */ cmplwi r0, 0x2
/* 80093774 0008F5B4 41 80 00 18 */ blt lbl_8009378C
/* 80093778 0008F5B8 3C 60 00 08 */ lis r3, 0x8
/* 8009377C 0008F5BC 7F 05 C3 78 */ mr r5, r24
/* 80093780 0008F5C0 38 9E 00 B4 */ addi r4, r30, 0xb4
/* 80093784 0008F5C4 38 63 00 01 */ addi r3, r3, 0x1
/* 80093788 0008F5C8 4B FE 41 D9 */ bl LogMsg_0
.global lbl_8009378C
lbl_8009378C:
/* 8009378C 0008F5CC 7F 63 DB 78 */ mr r3, r27
/* 80093790 0008F5D0 4B FE 17 81 */ bl GKI_freebuf
/* 80093794 0008F5D4 48 00 00 A8 */ b lbl_8009383C
.global lbl_80093798
lbl_80093798:
/* 80093798 0008F5D8 28 1A 00 01 */ cmplwi r26, 0x1
/* 8009379C 0008F5DC 40 82 00 20 */ bne lbl_800937BC
/* 800937A0 0008F5E0 7F A3 EB 78 */ mr r3, r29
/* 800937A4 0008F5E4 7F 05 C3 78 */ mr r5, r24
/* 800937A8 0008F5E8 38 9F 00 10 */ addi r4, r31, 0x10
/* 800937AC 0008F5EC 48 00 00 A9 */ bl process_l2cap_cmd
/* 800937B0 0008F5F0 7F 63 DB 78 */ mr r3, r27
/* 800937B4 0008F5F4 4B FE 17 5D */ bl GKI_freebuf
/* 800937B8 0008F5F8 48 00 00 84 */ b lbl_8009383C
.global lbl_800937BC
lbl_800937BC:
/* 800937BC 0008F5FC 28 1A 00 02 */ cmplwi r26, 0x2
/* 800937C0 0008F600 40 82 00 58 */ bne lbl_80093818
/* 800937C4 0008F604 54 03 04 3E */ clrlwi r3, r0, 16
/* 800937C8 0008F608 88 9F 00 11 */ lbz r4, 0x11(r31)
/* 800937CC 0008F60C 88 BF 00 10 */ lbz r5, 0x10(r31)
/* 800937D0 0008F610 38 63 00 02 */ addi r3, r3, 0x2
/* 800937D4 0008F614 38 06 FF FE */ addi r0, r6, -0x2
/* 800937D8 0008F618 54 84 40 2E */ slwi r4, r4, 8
/* 800937DC 0008F61C B0 7B 00 04 */ sth r3, 0x4(r27)
/* 800937E0 0008F620 3C 60 80 50 */ lis r3, l2cb@ha
/* 800937E4 0008F624 7C 85 22 14 */ add r4, r5, r4
/* 800937E8 0008F628 B0 1B 00 02 */ sth r0, 0x2(r27)
/* 800937EC 0008F62C 54 85 04 3E */ clrlwi r5, r4, 16
/* 800937F0 0008F630 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 800937F4 0008F634 28 00 00 05 */ cmplwi r0, 0x5
/* 800937F8 0008F638 41 80 00 14 */ blt lbl_8009380C
/* 800937FC 0008F63C 3C 60 00 08 */ lis r3, 0x8
/* 80093800 0008F640 38 9E 00 E0 */ addi r4, r30, 0xe0
/* 80093804 0008F644 38 63 00 04 */ addi r3, r3, 0x4
/* 80093808 0008F648 4B FE 41 59 */ bl LogMsg_0
.global lbl_8009380C
lbl_8009380C:
/* 8009380C 0008F64C 7F 63 DB 78 */ mr r3, r27
/* 80093810 0008F650 4B FE 17 01 */ bl GKI_freebuf
/* 80093814 0008F654 48 00 00 28 */ b lbl_8009383C
.global lbl_80093818
lbl_80093818:
/* 80093818 0008F658 2C 1C 00 00 */ cmpwi r28, 0x0
/* 8009381C 0008F65C 40 82 00 10 */ bne lbl_8009382C
/* 80093820 0008F660 7F 63 DB 78 */ mr r3, r27
/* 80093824 0008F664 4B FE 16 ED */ bl GKI_freebuf
/* 80093828 0008F668 48 00 00 14 */ b lbl_8009383C
.global lbl_8009382C
lbl_8009382C:
/* 8009382C 0008F66C 7F 83 E3 78 */ mr r3, r28
/* 80093830 0008F670 7F 65 DB 78 */ mr r5, r27
/* 80093834 0008F674 38 80 00 13 */ li r4, 0x13
/* 80093838 0008F678 4B FF D5 71 */ bl l2c_csm_execute
.global lbl_8009383C
lbl_8009383C:
/* 8009383C 0008F67C 39 61 00 30 */ addi r11, r1, 0x30
/* 80093840 0008F680 4B F7 3B 3D */ bl lbl_8000737C
/* 80093844 0008F684 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80093848 0008F688 7C 08 03 A6 */ mtlr r0
/* 8009384C 0008F68C 38 21 00 30 */ addi r1, r1, 0x30
/* 80093850 0008F690 4E 80 00 20 */ blr
.global process_l2cap_cmd
process_l2cap_cmd:
/* 80093854 0008F694 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80093858 0008F698 7C 08 02 A6 */ mflr r0
/* 8009385C 0008F69C 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80093860 0008F6A0 39 61 00 A0 */ addi r11, r1, 0xa0
/* 80093864 0008F6A4 4B F7 3A A5 */ bl __save_gpr
/* 80093868 0008F6A8 7E C4 2A 14 */ add r22, r4, r5
/* 8009386C 0008F6AC 3E E0 80 44 */ lis r23, "@1563"@ha
/* 80093870 0008F6B0 3F C0 80 4F */ lis r30, btu_cb@ha
/* 80093874 0008F6B4 7C 95 23 78 */ mr r21, r4
/* 80093878 0008F6B8 3B E0 00 00 */ li r31, 0x0
/* 8009387C 0008F6BC 7C 6F 1B 78 */ mr r15, r3
/* 80093880 0008F6C0 7C AE 2B 78 */ mr r14, r5
/* 80093884 0008F6C4 3A F7 E8 68 */ addi r23, r23, "@1563"@l
/* 80093888 0008F6C8 3B DE 5A 30 */ addi r30, r30, btu_cb@l
/* 8009388C 0008F6CC 3B 16 FF FC */ addi r24, r22, -0x4
/* 80093890 0008F6D0 3B 80 00 01 */ li r28, 0x1
/* 80093894 0008F6D4 3F A0 00 08 */ lis r29, 0x8
/* 80093898 0008F6D8 3F 60 80 50 */ lis r27, l2cb@ha
/* 8009389C 0008F6DC 3F 40 80 44 */ lis r26, "@1674_8043EB0C"@ha
.global lbl_800938A0
lbl_800938A0:
/* 800938A0 0008F6E0 7C 15 C0 40 */ cmplw r21, r24
/* 800938A4 0008F6E4 7E B0 AB 78 */ mr r16, r21
/* 800938A8 0008F6E8 41 81 0A 04 */ bgt lbl_800942AC
/* 800938AC 0008F6EC 88 15 00 03 */ lbz r0, 0x3(r21)
/* 800938B0 0008F6F0 88 75 00 02 */ lbz r3, 0x2(r21)
/* 800938B4 0008F6F4 54 00 40 2E */ slwi r0, r0, 8
/* 800938B8 0008F6F8 88 F5 00 00 */ lbz r7, 0x0(r21)
/* 800938BC 0008F6FC 7C 03 02 14 */ add r0, r3, r0
/* 800938C0 0008F700 8B 35 00 01 */ lbz r25, 0x1(r21)
/* 800938C4 0008F704 54 11 04 3E */ clrlwi r17, r0, 16
/* 800938C8 0008F708 7C 75 8A 14 */ add r3, r21, r17
/* 800938CC 0008F70C 3A A3 00 04 */ addi r21, r3, 0x4
/* 800938D0 0008F710 7C 15 B0 40 */ cmplw r21, r22
/* 800938D4 0008F714 40 81 00 30 */ ble lbl_80093904
/* 800938D8 0008F718 3C 60 80 50 */ lis r3, l2cb@ha
/* 800938DC 0008F71C 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 800938E0 0008F720 28 00 00 02 */ cmplwi r0, 0x2
/* 800938E4 0008F724 41 80 09 C8 */ blt lbl_800942AC
/* 800938E8 0008F728 3C 60 00 08 */ lis r3, 0x8
/* 800938EC 0008F72C 7D C5 73 78 */ mr r5, r14
/* 800938F0 0008F730 7E 26 8B 78 */ mr r6, r17
/* 800938F4 0008F734 38 97 01 00 */ addi r4, r23, 0x100
/* 800938F8 0008F738 38 63 00 01 */ addi r3, r3, 0x1
/* 800938FC 0008F73C 4B FE 40 65 */ bl LogMsg_0
/* 80093900 0008F740 48 00 09 AC */ b lbl_800942AC
.global lbl_80093904
lbl_80093904:
/* 80093904 0008F744 28 07 00 0B */ cmplwi r7, 0xb
/* 80093908 0008F748 41 81 09 68 */ bgt lbl_80094270
/* 8009390C 0008F74C 38 7A EB 0C */ addi r3, r26, "@1674_8043EB0C"@l
/* 80093910 0008F750 54 E0 10 3A */ slwi r0, r7, 2
/* 80093914 0008F754 7C 63 00 2E */ lwzx r3, r3, r0
/* 80093918 0008F758 7C 69 03 A6 */ mtctr r3
/* 8009391C 0008F75C 4E 80 04 20 */ bctr
.global lbl_80093920
lbl_80093920:
/* 80093920 0008F760 88 10 00 05 */ lbz r0, 0x5(r16)
/* 80093924 0008F764 88 70 00 04 */ lbz r3, 0x4(r16)
/* 80093928 0008F768 3A 10 00 06 */ addi r16, r16, 0x6
/* 8009392C 0008F76C 54 00 40 2E */ slwi r0, r0, 8
/* 80093930 0008F770 7C 03 02 14 */ add r0, r3, r0
/* 80093934 0008F774 54 11 04 3E */ clrlwi r17, r0, 16
/* 80093938 0008F778 28 11 00 01 */ cmplwi r17, 0x1
/* 8009393C 0008F77C 40 82 00 38 */ bne lbl_80093974
/* 80093940 0008F780 88 70 00 01 */ lbz r3, 0x1(r16)
/* 80093944 0008F784 88 1B 90 20 */ lbz r0, l2cb@l(r27)
/* 80093948 0008F788 88 90 00 00 */ lbz r4, 0x0(r16)
/* 8009394C 0008F78C 54 63 40 2E */ slwi r3, r3, 8
/* 80093950 0008F790 28 00 00 02 */ cmplwi r0, 0x2
/* 80093954 0008F794 3A 10 00 02 */ addi r16, r16, 0x2
/* 80093958 0008F798 7C 04 1A 14 */ add r0, r4, r3
/* 8009395C 0008F79C 54 06 04 3E */ clrlwi r6, r0, 16
/* 80093960 0008F7A0 41 80 00 14 */ blt lbl_80093974
/* 80093964 0008F7A4 A0 AF 00 28 */ lhz r5, 0x28(r15)
/* 80093968 0008F7A8 38 7D 00 01 */ addi r3, r29, 0x1
/* 8009396C 0008F7AC 38 97 01 34 */ addi r4, r23, 0x134
/* 80093970 0008F7B0 4B FE 3F F1 */ bl LogMsg_0
.global lbl_80093974
lbl_80093974:
/* 80093974 0008F7B4 28 11 00 02 */ cmplwi r17, 0x2
/* 80093978 0008F7B8 40 82 FF 28 */ bne lbl_800938A0
/* 8009397C 0008F7BC 88 90 00 01 */ lbz r4, 0x1(r16)
/* 80093980 0008F7C0 88 70 00 03 */ lbz r3, 0x3(r16)
/* 80093984 0008F7C4 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 80093988 0008F7C8 54 85 40 2E */ slwi r5, r4, 8
/* 8009398C 0008F7CC 88 D0 00 00 */ lbz r6, 0x0(r16)
/* 80093990 0008F7D0 54 63 40 2E */ slwi r3, r3, 8
/* 80093994 0008F7D4 88 90 00 02 */ lbz r4, 0x2(r16)
/* 80093998 0008F7D8 28 00 00 02 */ cmplwi r0, 0x2
/* 8009399C 0008F7DC 7C A6 2A 14 */ add r5, r6, r5
/* 800939A0 0008F7E0 7C 04 1A 14 */ add r0, r4, r3
/* 800939A4 0008F7E4 54 B1 04 3E */ clrlwi r17, r5, 16
/* 800939A8 0008F7E8 54 10 04 3E */ clrlwi r16, r0, 16
/* 800939AC 0008F7EC 41 80 00 18 */ blt lbl_800939C4
/* 800939B0 0008F7F0 7E 05 83 78 */ mr r5, r16
/* 800939B4 0008F7F4 7E 26 8B 78 */ mr r6, r17
/* 800939B8 0008F7F8 38 7D 00 01 */ addi r3, r29, 0x1
/* 800939BC 0008F7FC 38 97 01 58 */ addi r4, r23, 0x158
/* 800939C0 0008F800 4B FE 3F A1 */ bl LogMsg_0
.global lbl_800939C4
lbl_800939C4:
/* 800939C4 0008F804 7D E3 7B 78 */ mr r3, r15
/* 800939C8 0008F808 7E 04 83 78 */ mr r4, r16
/* 800939CC 0008F80C 48 00 21 25 */ bl l2cu_find_ccb_by_cid
/* 800939D0 0008F810 2C 03 00 00 */ cmpwi r3, 0x0
/* 800939D4 0008F814 41 82 FE CC */ beq lbl_800938A0
/* 800939D8 0008F818 A0 03 00 16 */ lhz r0, 0x16(r3)
/* 800939DC 0008F81C 7C 00 88 40 */ cmplw r0, r17
/* 800939E0 0008F820 40 82 FE C0 */ bne lbl_800938A0
/* 800939E4 0008F824 38 80 00 03 */ li r4, 0x3
/* 800939E8 0008F828 38 A0 00 00 */ li r5, 0x0
/* 800939EC 0008F82C 4B FF D3 BD */ bl l2c_csm_execute
/* 800939F0 0008F830 4B FF FE B0 */ b lbl_800938A0
.global lbl_800939F4
lbl_800939F4:
/* 800939F4 0008F834 88 10 00 05 */ lbz r0, 0x5(r16)
/* 800939F8 0008F838 88 70 00 04 */ lbz r3, 0x4(r16)
/* 800939FC 0008F83C 54 00 40 2E */ slwi r0, r0, 8
/* 80093A00 0008F840 7C 03 02 14 */ add r0, r3, r0
/* 80093A04 0008F844 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80093A08 0008F848 54 03 04 3E */ clrlwi r3, r0, 16
/* 80093A0C 0008F84C 88 10 00 07 */ lbz r0, 0x7(r16)
/* 80093A10 0008F850 88 90 00 06 */ lbz r4, 0x6(r16)
/* 80093A14 0008F854 54 00 40 2E */ slwi r0, r0, 8
/* 80093A18 0008F858 7C 04 02 14 */ add r0, r4, r0
/* 80093A1C 0008F85C 54 11 04 3E */ clrlwi r17, r0, 16
/* 80093A20 0008F860 48 00 21 89 */ bl l2cu_find_rcb_by_psm
/* 80093A24 0008F864 2C 03 00 00 */ cmpwi r3, 0x0
/* 80093A28 0008F868 7C 70 1B 78 */ mr r16, r3
/* 80093A2C 0008F86C 40 82 00 38 */ bne lbl_80093A64
/* 80093A30 0008F870 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 80093A34 0008F874 28 00 00 02 */ cmplwi r0, 0x2
/* 80093A38 0008F878 41 80 00 14 */ blt lbl_80093A4C
/* 80093A3C 0008F87C A0 A1 00 10 */ lhz r5, 0x10(r1)
/* 80093A40 0008F880 38 7D 00 01 */ addi r3, r29, 0x1
/* 80093A44 0008F884 38 97 01 88 */ addi r4, r23, 0x188
/* 80093A48 0008F888 4B FE 3F 19 */ bl LogMsg_0
.global lbl_80093A4C
lbl_80093A4C:
/* 80093A4C 0008F88C 7D E3 7B 78 */ mr r3, r15
/* 80093A50 0008F890 7E 24 8B 78 */ mr r4, r17
/* 80093A54 0008F894 7F 25 CB 78 */ mr r5, r25
/* 80093A58 0008F898 38 C0 00 02 */ li r6, 0x2
/* 80093A5C 0008F89C 48 00 10 3D */ bl l2cu_reject_connection
/* 80093A60 0008F8A0 4B FF FE 40 */ b lbl_800938A0
.global lbl_80093A64
lbl_80093A64:
/* 80093A64 0008F8A4 7D E3 7B 78 */ mr r3, r15
/* 80093A68 0008F8A8 48 00 1D D9 */ bl l2cu_allocate_ccb
/* 80093A6C 0008F8AC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80093A70 0008F8B0 40 82 00 34 */ bne lbl_80093AA4
/* 80093A74 0008F8B4 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 80093A78 0008F8B8 28 00 00 01 */ cmplwi r0, 0x1
/* 80093A7C 0008F8BC 41 80 00 10 */ blt lbl_80093A8C
/* 80093A80 0008F8C0 38 97 01 B4 */ addi r4, r23, 0x1b4
/* 80093A84 0008F8C4 3C 60 00 08 */ lis r3, 0x8
/* 80093A88 0008F8C8 4B FE 3E D9 */ bl LogMsg_0
.global lbl_80093A8C
lbl_80093A8C:
/* 80093A8C 0008F8CC 7D E3 7B 78 */ mr r3, r15
/* 80093A90 0008F8D0 7E 24 8B 78 */ mr r4, r17
/* 80093A94 0008F8D4 7F 25 CB 78 */ mr r5, r25
/* 80093A98 0008F8D8 38 C0 00 04 */ li r6, 0x4
/* 80093A9C 0008F8DC 48 00 0F FD */ bl l2cu_reject_connection
/* 80093AA0 0008F8E0 4B FF FE 00 */ b lbl_800938A0
.global lbl_80093AA4
lbl_80093AA4:
/* 80093AA4 0008F8E4 9B 23 00 36 */ stb r25, 0x36(r3)
/* 80093AA8 0008F8E8 38 A1 00 08 */ addi r5, r1, 0x8
/* 80093AAC 0008F8EC 38 80 00 0A */ li r4, 0xa
/* 80093AB0 0008F8F0 92 03 00 30 */ stw r16, 0x30(r3)
/* 80093AB4 0008F8F4 B2 23 00 16 */ sth r17, 0x16(r3)
/* 80093AB8 0008F8F8 4B FF D2 F1 */ bl l2c_csm_execute
/* 80093ABC 0008F8FC 4B FF FD E4 */ b lbl_800938A0
.global lbl_80093AC0
lbl_80093AC0:
/* 80093AC0 0008F900 88 10 00 05 */ lbz r0, 0x5(r16)
/* 80093AC4 0008F904 7D E3 7B 78 */ mr r3, r15
/* 80093AC8 0008F908 88 90 00 04 */ lbz r4, 0x4(r16)
/* 80093ACC 0008F90C 54 00 40 2E */ slwi r0, r0, 8
/* 80093AD0 0008F910 7C 04 02 14 */ add r0, r4, r0
/* 80093AD4 0008F914 B0 01 00 16 */ sth r0, 0x16(r1)
/* 80093AD8 0008F918 88 10 00 09 */ lbz r0, 0x9(r16)
/* 80093ADC 0008F91C 88 90 00 08 */ lbz r4, 0x8(r16)
/* 80093AE0 0008F920 54 00 40 2E */ slwi r0, r0, 8
/* 80093AE4 0008F924 88 B0 00 07 */ lbz r5, 0x7(r16)
/* 80093AE8 0008F928 7C 04 02 14 */ add r0, r4, r0
/* 80093AEC 0008F92C 88 D0 00 06 */ lbz r6, 0x6(r16)
/* 80093AF0 0008F930 54 A4 40 2E */ slwi r4, r5, 8
/* 80093AF4 0008F934 B0 01 00 12 */ sth r0, 0x12(r1)
/* 80093AF8 0008F938 7C 06 22 14 */ add r0, r6, r4
/* 80093AFC 0008F93C 54 11 04 3E */ clrlwi r17, r0, 16
/* 80093B00 0008F940 88 10 00 0B */ lbz r0, 0xb(r16)
/* 80093B04 0008F944 7E 24 8B 78 */ mr r4, r17
/* 80093B08 0008F948 88 B0 00 0A */ lbz r5, 0xa(r16)
/* 80093B0C 0008F94C 54 00 40 2E */ slwi r0, r0, 8
/* 80093B10 0008F950 7C 05 02 14 */ add r0, r5, r0
/* 80093B14 0008F954 B0 01 00 14 */ sth r0, 0x14(r1)
/* 80093B18 0008F958 48 00 1F D9 */ bl l2cu_find_ccb_by_cid
/* 80093B1C 0008F95C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80093B20 0008F960 40 82 00 28 */ bne lbl_80093B48
/* 80093B24 0008F964 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 80093B28 0008F968 28 00 00 02 */ cmplwi r0, 0x2
/* 80093B2C 0008F96C 41 80 FD 74 */ blt lbl_800938A0
/* 80093B30 0008F970 A0 C1 00 16 */ lhz r6, 0x16(r1)
/* 80093B34 0008F974 7E 25 8B 78 */ mr r5, r17
/* 80093B38 0008F978 38 7D 00 01 */ addi r3, r29, 0x1
/* 80093B3C 0008F97C 38 97 01 D4 */ addi r4, r23, 0x1d4
/* 80093B40 0008F980 4B FE 3E 21 */ bl LogMsg_0
/* 80093B44 0008F984 4B FF FD 5C */ b lbl_800938A0
.global lbl_80093B48
lbl_80093B48:
/* 80093B48 0008F988 88 A3 00 35 */ lbz r5, 0x35(r3)
/* 80093B4C 0008F98C 7C 05 C8 40 */ cmplw r5, r25
/* 80093B50 0008F990 41 82 00 24 */ beq lbl_80093B74
/* 80093B54 0008F994 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 80093B58 0008F998 28 00 00 02 */ cmplwi r0, 0x2
/* 80093B5C 0008F99C 41 80 FD 44 */ blt lbl_800938A0
/* 80093B60 0008F9A0 7F 26 CB 78 */ mr r6, r25
/* 80093B64 0008F9A4 38 7D 00 01 */ addi r3, r29, 0x1
/* 80093B68 0008F9A8 38 97 02 04 */ addi r4, r23, 0x204
/* 80093B6C 0008F9AC 4B FE 3D F5 */ bl LogMsg_0
/* 80093B70 0008F9B0 4B FF FD 30 */ b lbl_800938A0
.global lbl_80093B74
lbl_80093B74:
/* 80093B74 0008F9B4 A0 01 00 12 */ lhz r0, 0x12(r1)
/* 80093B78 0008F9B8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80093B7C 0008F9BC 40 82 00 14 */ bne lbl_80093B90
/* 80093B80 0008F9C0 38 A1 00 08 */ addi r5, r1, 0x8
/* 80093B84 0008F9C4 38 80 00 0B */ li r4, 0xb
/* 80093B88 0008F9C8 4B FF D2 21 */ bl l2c_csm_execute
/* 80093B8C 0008F9CC 4B FF FD 14 */ b lbl_800938A0
.global lbl_80093B90
lbl_80093B90:
/* 80093B90 0008F9D0 28 00 00 01 */ cmplwi r0, 0x1
/* 80093B94 0008F9D4 40 82 00 14 */ bne lbl_80093BA8
/* 80093B98 0008F9D8 38 A1 00 08 */ addi r5, r1, 0x8
/* 80093B9C 0008F9DC 38 80 00 0C */ li r4, 0xc
/* 80093BA0 0008F9E0 4B FF D2 09 */ bl l2c_csm_execute
/* 80093BA4 0008F9E4 4B FF FC FC */ b lbl_800938A0
.global lbl_80093BA8
lbl_80093BA8:
/* 80093BA8 0008F9E8 38 A1 00 08 */ addi r5, r1, 0x8
/* 80093BAC 0008F9EC 38 80 00 0D */ li r4, 0xd
/* 80093BB0 0008F9F0 4B FF D1 F9 */ bl l2c_csm_execute
/* 80093BB4 0008F9F4 4B FF FC EC */ b lbl_800938A0
.global lbl_80093BB8
lbl_80093BB8:
/* 80093BB8 0008F9F8 88 10 00 07 */ lbz r0, 0x7(r16)
/* 80093BBC 0008F9FC 3A 60 00 00 */ li r19, 0x0
/* 80093BC0 0008FA00 88 90 00 05 */ lbz r4, 0x5(r16)
/* 80093BC4 0008FA04 3A 40 00 00 */ li r18, 0x0
/* 80093BC8 0008FA08 88 70 00 06 */ lbz r3, 0x6(r16)
/* 80093BCC 0008FA0C 54 00 40 2E */ slwi r0, r0, 8
/* 80093BD0 0008FA10 88 B0 00 04 */ lbz r5, 0x4(r16)
/* 80093BD4 0008FA14 54 84 40 2E */ slwi r4, r4, 8
/* 80093BD8 0008FA18 7C 03 02 14 */ add r0, r3, r0
/* 80093BDC 0008FA1C 3A 10 00 08 */ addi r16, r16, 0x8
/* 80093BE0 0008FA20 7C 65 22 14 */ add r3, r5, r4
/* 80093BE4 0008FA24 B0 01 00 50 */ sth r0, 0x50(r1)
/* 80093BE8 0008FA28 7E 14 83 78 */ mr r20, r16
/* 80093BEC 0008FA2C 9A 61 00 3C */ stb r19, 0x3c(r1)
/* 80093BF0 0008FA30 54 64 04 3E */ clrlwi r4, r3, 16
/* 80093BF4 0008FA34 9A 61 00 1E */ stb r19, 0x1e(r1)
/* 80093BF8 0008FA38 9A 61 00 1A */ stb r19, 0x1a(r1)
/* 80093BFC 0008FA3C 9A 61 00 38 */ stb r19, 0x38(r1)
/* 80093C00 0008FA40 48 00 02 00 */ b lbl_80093E00
.global lbl_80093C04
lbl_80093C04:
/* 80093C04 0008FA44 88 B0 00 00 */ lbz r5, 0x0(r16)
/* 80093C08 0008FA48 88 70 00 01 */ lbz r3, 0x1(r16)
/* 80093C0C 0008FA4C 3A 10 00 02 */ addi r16, r16, 0x2
/* 80093C10 0008FA50 54 A0 06 7E */ clrlwi r0, r5, 25
/* 80093C14 0008FA54 2C 00 00 03 */ cmpwi r0, 0x3
/* 80093C18 0008FA58 41 82 00 64 */ beq lbl_80093C7C
/* 80093C1C 0008FA5C 40 80 00 14 */ bge lbl_80093C30
/* 80093C20 0008FA60 2C 00 00 01 */ cmpwi r0, 0x1
/* 80093C24 0008FA64 41 82 00 18 */ beq lbl_80093C3C
/* 80093C28 0008FA68 40 80 00 34 */ bge lbl_80093C5C
/* 80093C2C 0008FA6C 48 00 01 A8 */ b lbl_80093DD4
.global lbl_80093C30
lbl_80093C30:
/* 80093C30 0008FA70 2C 00 00 05 */ cmpwi r0, 0x5
/* 80093C34 0008FA74 40 80 01 A0 */ bge lbl_80093DD4
/* 80093C38 0008FA78 48 00 01 3C */ b lbl_80093D74
.global lbl_80093C3C
lbl_80093C3C:
/* 80093C3C 0008FA7C 9B 81 00 1A */ stb r28, 0x1a(r1)
/* 80093C40 0008FA80 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80093C44 0008FA84 88 70 00 00 */ lbz r3, 0x0(r16)
/* 80093C48 0008FA88 3A 10 00 02 */ addi r16, r16, 0x2
/* 80093C4C 0008FA8C 54 00 40 2E */ slwi r0, r0, 8
/* 80093C50 0008FA90 7C 03 02 14 */ add r0, r3, r0
/* 80093C54 0008FA94 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 80093C58 0008FA98 48 00 01 A8 */ b lbl_80093E00
.global lbl_80093C5C
lbl_80093C5C:
/* 80093C5C 0008FA9C 9B 81 00 38 */ stb r28, 0x38(r1)
/* 80093C60 0008FAA0 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80093C64 0008FAA4 88 70 00 00 */ lbz r3, 0x0(r16)
/* 80093C68 0008FAA8 3A 10 00 02 */ addi r16, r16, 0x2
/* 80093C6C 0008FAAC 54 00 40 2E */ slwi r0, r0, 8
/* 80093C70 0008FAB0 7C 03 02 14 */ add r0, r3, r0
/* 80093C74 0008FAB4 B0 01 00 3A */ sth r0, 0x3a(r1)
/* 80093C78 0008FAB8 48 00 01 88 */ b lbl_80093E00
.global lbl_80093C7C
lbl_80093C7C:
/* 80093C7C 0008FABC 9B 81 00 1E */ stb r28, 0x1e(r1)
/* 80093C80 0008FAC0 88 10 00 00 */ lbz r0, 0x0(r16)
/* 80093C84 0008FAC4 98 01 00 20 */ stb r0, 0x20(r1)
/* 80093C88 0008FAC8 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80093C8C 0008FACC 98 01 00 21 */ stb r0, 0x21(r1)
/* 80093C90 0008FAD0 88 70 00 05 */ lbz r3, 0x5(r16)
/* 80093C94 0008FAD4 88 B0 00 04 */ lbz r5, 0x4(r16)
/* 80093C98 0008FAD8 88 10 00 03 */ lbz r0, 0x3(r16)
/* 80093C9C 0008FADC 54 66 C0 0E */ slwi r6, r3, 24
/* 80093CA0 0008FAE0 88 70 00 02 */ lbz r3, 0x2(r16)
/* 80093CA4 0008FAE4 54 A5 80 1E */ slwi r5, r5, 16
/* 80093CA8 0008FAE8 54 00 40 2E */ slwi r0, r0, 8
/* 80093CAC 0008FAEC 7C 65 1A 14 */ add r3, r5, r3
/* 80093CB0 0008FAF0 7C 06 02 14 */ add r0, r6, r0
/* 80093CB4 0008FAF4 7C 03 02 14 */ add r0, r3, r0
/* 80093CB8 0008FAF8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80093CBC 0008FAFC 88 70 00 09 */ lbz r3, 0x9(r16)
/* 80093CC0 0008FB00 88 B0 00 08 */ lbz r5, 0x8(r16)
/* 80093CC4 0008FB04 88 10 00 07 */ lbz r0, 0x7(r16)
/* 80093CC8 0008FB08 54 66 C0 0E */ slwi r6, r3, 24
/* 80093CCC 0008FB0C 88 70 00 06 */ lbz r3, 0x6(r16)
/* 80093CD0 0008FB10 54 A5 80 1E */ slwi r5, r5, 16
/* 80093CD4 0008FB14 54 00 40 2E */ slwi r0, r0, 8
/* 80093CD8 0008FB18 7C 65 1A 14 */ add r3, r5, r3
/* 80093CDC 0008FB1C 7C 06 02 14 */ add r0, r6, r0
/* 80093CE0 0008FB20 7C 03 02 14 */ add r0, r3, r0
/* 80093CE4 0008FB24 90 01 00 28 */ stw r0, 0x28(r1)
/* 80093CE8 0008FB28 88 70 00 0D */ lbz r3, 0xd(r16)
/* 80093CEC 0008FB2C 88 B0 00 0C */ lbz r5, 0xc(r16)
/* 80093CF0 0008FB30 88 10 00 0B */ lbz r0, 0xb(r16)
/* 80093CF4 0008FB34 54 66 C0 0E */ slwi r6, r3, 24
/* 80093CF8 0008FB38 88 70 00 0A */ lbz r3, 0xa(r16)
/* 80093CFC 0008FB3C 54 A5 80 1E */ slwi r5, r5, 16
/* 80093D00 0008FB40 54 00 40 2E */ slwi r0, r0, 8
/* 80093D04 0008FB44 7C 65 1A 14 */ add r3, r5, r3
/* 80093D08 0008FB48 7C 06 02 14 */ add r0, r6, r0
/* 80093D0C 0008FB4C 7C 03 02 14 */ add r0, r3, r0
/* 80093D10 0008FB50 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80093D14 0008FB54 88 70 00 11 */ lbz r3, 0x11(r16)
/* 80093D18 0008FB58 88 B0 00 10 */ lbz r5, 0x10(r16)
/* 80093D1C 0008FB5C 88 10 00 0F */ lbz r0, 0xf(r16)
/* 80093D20 0008FB60 54 66 C0 0E */ slwi r6, r3, 24
/* 80093D24 0008FB64 88 70 00 0E */ lbz r3, 0xe(r16)
/* 80093D28 0008FB68 54 A5 80 1E */ slwi r5, r5, 16
/* 80093D2C 0008FB6C 54 00 40 2E */ slwi r0, r0, 8
/* 80093D30 0008FB70 7C 65 1A 14 */ add r3, r5, r3
/* 80093D34 0008FB74 7C 06 02 14 */ add r0, r6, r0
/* 80093D38 0008FB78 7C 03 02 14 */ add r0, r3, r0
/* 80093D3C 0008FB7C 90 01 00 30 */ stw r0, 0x30(r1)
/* 80093D40 0008FB80 88 70 00 15 */ lbz r3, 0x15(r16)
/* 80093D44 0008FB84 88 B0 00 14 */ lbz r5, 0x14(r16)
/* 80093D48 0008FB88 88 10 00 13 */ lbz r0, 0x13(r16)
/* 80093D4C 0008FB8C 54 66 C0 0E */ slwi r6, r3, 24
/* 80093D50 0008FB90 88 70 00 12 */ lbz r3, 0x12(r16)
/* 80093D54 0008FB94 54 A5 80 1E */ slwi r5, r5, 16
/* 80093D58 0008FB98 54 00 40 2E */ slwi r0, r0, 8
/* 80093D5C 0008FB9C 3A 10 00 16 */ addi r16, r16, 0x16
/* 80093D60 0008FBA0 7C 65 1A 14 */ add r3, r5, r3
/* 80093D64 0008FBA4 7C 06 02 14 */ add r0, r6, r0
/* 80093D68 0008FBA8 7C 03 02 14 */ add r0, r3, r0
/* 80093D6C 0008FBAC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80093D70 0008FBB0 48 00 00 90 */ b lbl_80093E00
.global lbl_80093D74
lbl_80093D74:
/* 80093D74 0008FBB4 9B 81 00 3C */ stb r28, 0x3c(r1)
/* 80093D78 0008FBB8 88 10 00 00 */ lbz r0, 0x0(r16)
/* 80093D7C 0008FBBC 98 01 00 3E */ stb r0, 0x3e(r1)
/* 80093D80 0008FBC0 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80093D84 0008FBC4 98 01 00 3F */ stb r0, 0x3f(r1)
/* 80093D88 0008FBC8 88 10 00 02 */ lbz r0, 0x2(r16)
/* 80093D8C 0008FBCC 98 01 00 40 */ stb r0, 0x40(r1)
/* 80093D90 0008FBD0 88 10 00 04 */ lbz r0, 0x4(r16)
/* 80093D94 0008FBD4 88 70 00 03 */ lbz r3, 0x3(r16)
/* 80093D98 0008FBD8 54 00 40 2E */ slwi r0, r0, 8
/* 80093D9C 0008FBDC 7C 03 02 14 */ add r0, r3, r0
/* 80093DA0 0008FBE0 B0 01 00 42 */ sth r0, 0x42(r1)
/* 80093DA4 0008FBE4 88 10 00 06 */ lbz r0, 0x6(r16)
/* 80093DA8 0008FBE8 88 70 00 05 */ lbz r3, 0x5(r16)
/* 80093DAC 0008FBEC 54 00 40 2E */ slwi r0, r0, 8
/* 80093DB0 0008FBF0 7C 03 02 14 */ add r0, r3, r0
/* 80093DB4 0008FBF4 B0 01 00 44 */ sth r0, 0x44(r1)
/* 80093DB8 0008FBF8 88 10 00 08 */ lbz r0, 0x8(r16)
/* 80093DBC 0008FBFC 88 70 00 07 */ lbz r3, 0x7(r16)
/* 80093DC0 0008FC00 3A 10 00 09 */ addi r16, r16, 0x9
/* 80093DC4 0008FC04 54 00 40 2E */ slwi r0, r0, 8
/* 80093DC8 0008FC08 7C 03 02 14 */ add r0, r3, r0
/* 80093DCC 0008FC0C B0 01 00 46 */ sth r0, 0x46(r1)
/* 80093DD0 0008FC10 48 00 00 30 */ b lbl_80093E00
.global lbl_80093DD4
lbl_80093DD4:
/* 80093DD4 0008FC14 38 C3 00 02 */ addi r6, r3, 0x2
/* 80093DD8 0008FC18 7C 06 88 00 */ cmpw r6, r17
/* 80093DDC 0008FC1C 41 81 00 20 */ bgt lbl_80093DFC
/* 80093DE0 0008FC20 54 A0 06 31 */ rlwinm. r0, r5, 0, 24, 24
/* 80093DE4 0008FC24 7E 10 1A 14 */ add r16, r16, r3
/* 80093DE8 0008FC28 40 82 00 18 */ bne lbl_80093E00
/* 80093DEC 0008FC2C 7C 12 32 14 */ add r0, r18, r6
/* 80093DF0 0008FC30 3A 60 00 01 */ li r19, 0x1
/* 80093DF4 0008FC34 54 12 04 3E */ clrlwi r18, r0, 16
/* 80093DF8 0008FC38 48 00 00 08 */ b lbl_80093E00
.global lbl_80093DFC
lbl_80093DFC:
/* 80093DFC 0008FC3C 7E B0 AB 78 */ mr r16, r21
.global lbl_80093E00
lbl_80093E00:
/* 80093E00 0008FC40 7C 10 A8 40 */ cmplw r16, r21
/* 80093E04 0008FC44 41 80 FE 00 */ blt lbl_80093C04
/* 80093E08 0008FC48 7D E3 7B 78 */ mr r3, r15
/* 80093E0C 0008FC4C 48 00 1C E5 */ bl l2cu_find_ccb_by_cid
/* 80093E10 0008FC50 2C 03 00 00 */ cmpwi r3, 0x0
/* 80093E14 0008FC54 41 82 00 38 */ beq lbl_80093E4C
/* 80093E18 0008FC58 2C 13 00 00 */ cmpwi r19, 0x0
/* 80093E1C 0008FC5C 9B 23 00 36 */ stb r25, 0x36(r3)
/* 80093E20 0008FC60 41 82 00 1C */ beq lbl_80093E3C
/* 80093E24 0008FC64 38 11 FF FC */ addi r0, r17, -0x4
/* 80093E28 0008FC68 7E 84 A3 78 */ mr r4, r20
/* 80093E2C 0008FC6C 7E 46 93 78 */ mr r6, r18
/* 80093E30 0008FC70 54 05 04 3E */ clrlwi r5, r0, 16
/* 80093E34 0008FC74 48 00 13 15 */ bl l2cu_send_peer_config_rej
/* 80093E38 0008FC78 4B FF FA 68 */ b lbl_800938A0
.global lbl_80093E3C
lbl_80093E3C:
/* 80093E3C 0008FC7C 38 A1 00 18 */ addi r5, r1, 0x18
/* 80093E40 0008FC80 38 80 00 0E */ li r4, 0xe
/* 80093E44 0008FC84 4B FF CF 65 */ bl l2c_csm_execute
/* 80093E48 0008FC88 4B FF FA 58 */ b lbl_800938A0
.global lbl_80093E4C
lbl_80093E4C:
/* 80093E4C 0008FC8C 7D E3 7B 78 */ mr r3, r15
/* 80093E50 0008FC90 7F 25 CB 78 */ mr r5, r25
/* 80093E54 0008FC94 38 80 00 02 */ li r4, 0x2
/* 80093E58 0008FC98 38 C0 00 00 */ li r6, 0x0
/* 80093E5C 0008FC9C 38 E0 00 00 */ li r7, 0x0
/* 80093E60 0008FCA0 48 00 09 A1 */ bl l2cu_send_peer_cmd_reject
/* 80093E64 0008FCA4 4B FF FA 3C */ b lbl_800938A0
.global lbl_80093E68
lbl_80093E68:
/* 80093E68 0008FCA8 88 10 00 07 */ lbz r0, 0x7(r16)
/* 80093E6C 0008FCAC 88 70 00 06 */ lbz r3, 0x6(r16)
/* 80093E70 0008FCB0 54 00 40 2E */ slwi r0, r0, 8
/* 80093E74 0008FCB4 88 90 00 05 */ lbz r4, 0x5(r16)
/* 80093E78 0008FCB8 7C 03 02 14 */ add r0, r3, r0
/* 80093E7C 0008FCBC 88 B0 00 04 */ lbz r5, 0x4(r16)
/* 80093E80 0008FCC0 54 83 40 2E */ slwi r3, r4, 8
/* 80093E84 0008FCC4 B0 01 00 50 */ sth r0, 0x50(r1)
/* 80093E88 0008FCC8 7C 05 1A 14 */ add r0, r5, r3
/* 80093E8C 0008FCCC 54 11 04 3E */ clrlwi r17, r0, 16
/* 80093E90 0008FCD0 88 10 00 09 */ lbz r0, 0x9(r16)
/* 80093E94 0008FCD4 88 70 00 08 */ lbz r3, 0x8(r16)
/* 80093E98 0008FCD8 3A 10 00 0A */ addi r16, r16, 0xa
/* 80093E9C 0008FCDC 54 00 40 2E */ slwi r0, r0, 8
/* 80093EA0 0008FCE0 7C 03 02 14 */ add r0, r3, r0
/* 80093EA4 0008FCE4 9B E1 00 1E */ stb r31, 0x1e(r1)
/* 80093EA8 0008FCE8 B0 01 00 18 */ sth r0, 0x18(r1)
/* 80093EAC 0008FCEC 9B E1 00 1A */ stb r31, 0x1a(r1)
/* 80093EB0 0008FCF0 9B E1 00 38 */ stb r31, 0x38(r1)
/* 80093EB4 0008FCF4 9B E1 00 3C */ stb r31, 0x3c(r1)
/* 80093EB8 0008FCF8 48 00 01 CC */ b lbl_80094084
.global lbl_80093EBC
lbl_80093EBC:
/* 80093EBC 0008FCFC 88 10 00 00 */ lbz r0, 0x0(r16)
/* 80093EC0 0008FD00 3A 10 00 02 */ addi r16, r16, 0x2
/* 80093EC4 0008FD04 54 00 06 7E */ clrlwi r0, r0, 25
/* 80093EC8 0008FD08 2C 00 00 03 */ cmpwi r0, 0x3
/* 80093ECC 0008FD0C 41 82 00 64 */ beq lbl_80093F30
/* 80093ED0 0008FD10 40 80 00 14 */ bge lbl_80093EE4
/* 80093ED4 0008FD14 2C 00 00 01 */ cmpwi r0, 0x1
/* 80093ED8 0008FD18 41 82 00 18 */ beq lbl_80093EF0
/* 80093EDC 0008FD1C 40 80 00 34 */ bge lbl_80093F10
/* 80093EE0 0008FD20 48 00 01 A4 */ b lbl_80094084
.global lbl_80093EE4
lbl_80093EE4:
/* 80093EE4 0008FD24 2C 00 00 05 */ cmpwi r0, 0x5
/* 80093EE8 0008FD28 40 80 01 9C */ bge lbl_80094084
/* 80093EEC 0008FD2C 48 00 01 3C */ b lbl_80094028
.global lbl_80093EF0
lbl_80093EF0:
/* 80093EF0 0008FD30 9B 81 00 1A */ stb r28, 0x1a(r1)
/* 80093EF4 0008FD34 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80093EF8 0008FD38 88 70 00 00 */ lbz r3, 0x0(r16)
/* 80093EFC 0008FD3C 3A 10 00 02 */ addi r16, r16, 0x2
/* 80093F00 0008FD40 54 00 40 2E */ slwi r0, r0, 8
/* 80093F04 0008FD44 7C 03 02 14 */ add r0, r3, r0
/* 80093F08 0008FD48 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 80093F0C 0008FD4C 48 00 01 78 */ b lbl_80094084
.global lbl_80093F10
lbl_80093F10:
/* 80093F10 0008FD50 9B 81 00 38 */ stb r28, 0x38(r1)
/* 80093F14 0008FD54 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80093F18 0008FD58 88 70 00 00 */ lbz r3, 0x0(r16)
/* 80093F1C 0008FD5C 3A 10 00 02 */ addi r16, r16, 0x2
/* 80093F20 0008FD60 54 00 40 2E */ slwi r0, r0, 8
/* 80093F24 0008FD64 7C 03 02 14 */ add r0, r3, r0
/* 80093F28 0008FD68 B0 01 00 3A */ sth r0, 0x3a(r1)
/* 80093F2C 0008FD6C 48 00 01 58 */ b lbl_80094084
.global lbl_80093F30
lbl_80093F30:
/* 80093F30 0008FD70 9B 81 00 1E */ stb r28, 0x1e(r1)
/* 80093F34 0008FD74 88 10 00 00 */ lbz r0, 0x0(r16)
/* 80093F38 0008FD78 98 01 00 20 */ stb r0, 0x20(r1)
/* 80093F3C 0008FD7C 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80093F40 0008FD80 98 01 00 21 */ stb r0, 0x21(r1)
/* 80093F44 0008FD84 88 70 00 05 */ lbz r3, 0x5(r16)
/* 80093F48 0008FD88 88 90 00 04 */ lbz r4, 0x4(r16)
/* 80093F4C 0008FD8C 88 10 00 03 */ lbz r0, 0x3(r16)
/* 80093F50 0008FD90 54 65 C0 0E */ slwi r5, r3, 24
/* 80093F54 0008FD94 88 70 00 02 */ lbz r3, 0x2(r16)
/* 80093F58 0008FD98 54 84 80 1E */ slwi r4, r4, 16
/* 80093F5C 0008FD9C 54 00 40 2E */ slwi r0, r0, 8
/* 80093F60 0008FDA0 7C 64 1A 14 */ add r3, r4, r3
/* 80093F64 0008FDA4 7C 05 02 14 */ add r0, r5, r0
/* 80093F68 0008FDA8 7C 03 02 14 */ add r0, r3, r0
/* 80093F6C 0008FDAC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80093F70 0008FDB0 88 70 00 09 */ lbz r3, 0x9(r16)
/* 80093F74 0008FDB4 88 90 00 08 */ lbz r4, 0x8(r16)
/* 80093F78 0008FDB8 88 10 00 07 */ lbz r0, 0x7(r16)
/* 80093F7C 0008FDBC 54 65 C0 0E */ slwi r5, r3, 24
/* 80093F80 0008FDC0 88 70 00 06 */ lbz r3, 0x6(r16)
/* 80093F84 0008FDC4 54 84 80 1E */ slwi r4, r4, 16
/* 80093F88 0008FDC8 54 00 40 2E */ slwi r0, r0, 8
/* 80093F8C 0008FDCC 7C 64 1A 14 */ add r3, r4, r3
/* 80093F90 0008FDD0 7C 05 02 14 */ add r0, r5, r0
/* 80093F94 0008FDD4 7C 03 02 14 */ add r0, r3, r0
/* 80093F98 0008FDD8 90 01 00 28 */ stw r0, 0x28(r1)
/* 80093F9C 0008FDDC 88 70 00 0D */ lbz r3, 0xd(r16)
/* 80093FA0 0008FDE0 88 90 00 0C */ lbz r4, 0xc(r16)
/* 80093FA4 0008FDE4 88 10 00 0B */ lbz r0, 0xb(r16)
/* 80093FA8 0008FDE8 54 65 C0 0E */ slwi r5, r3, 24
/* 80093FAC 0008FDEC 88 70 00 0A */ lbz r3, 0xa(r16)
/* 80093FB0 0008FDF0 54 84 80 1E */ slwi r4, r4, 16
/* 80093FB4 0008FDF4 54 00 40 2E */ slwi r0, r0, 8
/* 80093FB8 0008FDF8 7C 64 1A 14 */ add r3, r4, r3
/* 80093FBC 0008FDFC 7C 05 02 14 */ add r0, r5, r0
/* 80093FC0 0008FE00 7C 03 02 14 */ add r0, r3, r0
/* 80093FC4 0008FE04 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80093FC8 0008FE08 88 70 00 11 */ lbz r3, 0x11(r16)
/* 80093FCC 0008FE0C 88 90 00 10 */ lbz r4, 0x10(r16)
/* 80093FD0 0008FE10 88 10 00 0F */ lbz r0, 0xf(r16)
/* 80093FD4 0008FE14 54 65 C0 0E */ slwi r5, r3, 24
/* 80093FD8 0008FE18 88 70 00 0E */ lbz r3, 0xe(r16)
/* 80093FDC 0008FE1C 54 84 80 1E */ slwi r4, r4, 16
/* 80093FE0 0008FE20 54 00 40 2E */ slwi r0, r0, 8
/* 80093FE4 0008FE24 7C 64 1A 14 */ add r3, r4, r3
/* 80093FE8 0008FE28 7C 05 02 14 */ add r0, r5, r0
/* 80093FEC 0008FE2C 7C 03 02 14 */ add r0, r3, r0
/* 80093FF0 0008FE30 90 01 00 30 */ stw r0, 0x30(r1)
/* 80093FF4 0008FE34 88 70 00 15 */ lbz r3, 0x15(r16)
/* 80093FF8 0008FE38 88 90 00 14 */ lbz r4, 0x14(r16)
/* 80093FFC 0008FE3C 88 10 00 13 */ lbz r0, 0x13(r16)
/* 80094000 0008FE40 54 65 C0 0E */ slwi r5, r3, 24
/* 80094004 0008FE44 88 70 00 12 */ lbz r3, 0x12(r16)
/* 80094008 0008FE48 54 84 80 1E */ slwi r4, r4, 16
/* 8009400C 0008FE4C 54 00 40 2E */ slwi r0, r0, 8
/* 80094010 0008FE50 3A 10 00 16 */ addi r16, r16, 0x16
/* 80094014 0008FE54 7C 64 1A 14 */ add r3, r4, r3
/* 80094018 0008FE58 7C 05 02 14 */ add r0, r5, r0
/* 8009401C 0008FE5C 7C 03 02 14 */ add r0, r3, r0
/* 80094020 0008FE60 90 01 00 34 */ stw r0, 0x34(r1)
/* 80094024 0008FE64 48 00 00 60 */ b lbl_80094084
.global lbl_80094028
lbl_80094028:
/* 80094028 0008FE68 9B 81 00 3C */ stb r28, 0x3c(r1)
/* 8009402C 0008FE6C 88 10 00 00 */ lbz r0, 0x0(r16)
/* 80094030 0008FE70 98 01 00 3E */ stb r0, 0x3e(r1)
/* 80094034 0008FE74 88 10 00 01 */ lbz r0, 0x1(r16)
/* 80094038 0008FE78 98 01 00 3F */ stb r0, 0x3f(r1)
/* 8009403C 0008FE7C 88 10 00 02 */ lbz r0, 0x2(r16)
/* 80094040 0008FE80 98 01 00 40 */ stb r0, 0x40(r1)
/* 80094044 0008FE84 88 10 00 04 */ lbz r0, 0x4(r16)
/* 80094048 0008FE88 88 70 00 03 */ lbz r3, 0x3(r16)
/* 8009404C 0008FE8C 54 00 40 2E */ slwi r0, r0, 8
/* 80094050 0008FE90 7C 03 02 14 */ add r0, r3, r0
/* 80094054 0008FE94 B0 01 00 42 */ sth r0, 0x42(r1)
/* 80094058 0008FE98 88 10 00 06 */ lbz r0, 0x6(r16)
/* 8009405C 0008FE9C 88 70 00 05 */ lbz r3, 0x5(r16)
/* 80094060 0008FEA0 54 00 40 2E */ slwi r0, r0, 8
/* 80094064 0008FEA4 7C 03 02 14 */ add r0, r3, r0
/* 80094068 0008FEA8 B0 01 00 44 */ sth r0, 0x44(r1)
/* 8009406C 0008FEAC 88 10 00 08 */ lbz r0, 0x8(r16)
/* 80094070 0008FEB0 88 70 00 07 */ lbz r3, 0x7(r16)
/* 80094074 0008FEB4 3A 10 00 09 */ addi r16, r16, 0x9
/* 80094078 0008FEB8 54 00 40 2E */ slwi r0, r0, 8
/* 8009407C 0008FEBC 7C 03 02 14 */ add r0, r3, r0
/* 80094080 0008FEC0 B0 01 00 46 */ sth r0, 0x46(r1)
.global lbl_80094084
lbl_80094084:
/* 80094084 0008FEC4 7C 10 A8 40 */ cmplw r16, r21
/* 80094088 0008FEC8 41 80 FE 34 */ blt lbl_80093EBC
/* 8009408C 0008FECC 7D E3 7B 78 */ mr r3, r15
/* 80094090 0008FED0 7E 24 8B 78 */ mr r4, r17
/* 80094094 0008FED4 48 00 1A 5D */ bl l2cu_find_ccb_by_cid
/* 80094098 0008FED8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8009409C 0008FEDC 41 82 00 5C */ beq lbl_800940F8
/* 800940A0 0008FEE0 88 A3 00 35 */ lbz r5, 0x35(r3)
/* 800940A4 0008FEE4 7C 05 C8 40 */ cmplw r5, r25
/* 800940A8 0008FEE8 41 82 00 24 */ beq lbl_800940CC
/* 800940AC 0008FEEC 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 800940B0 0008FEF0 28 00 00 02 */ cmplwi r0, 0x2
/* 800940B4 0008FEF4 41 80 F7 EC */ blt lbl_800938A0
/* 800940B8 0008FEF8 7F 26 CB 78 */ mr r6, r25
/* 800940BC 0008FEFC 38 7D 00 01 */ addi r3, r29, 0x1
/* 800940C0 0008FF00 38 97 02 30 */ addi r4, r23, 0x230
/* 800940C4 0008FF04 4B FE 38 9D */ bl LogMsg_0
/* 800940C8 0008FF08 4B FF F7 D8 */ b lbl_800938A0
.global lbl_800940CC
lbl_800940CC:
/* 800940CC 0008FF0C A0 01 00 18 */ lhz r0, 0x18(r1)
/* 800940D0 0008FF10 2C 00 00 00 */ cmpwi r0, 0x0
/* 800940D4 0008FF14 40 82 00 14 */ bne lbl_800940E8
/* 800940D8 0008FF18 38 A1 00 18 */ addi r5, r1, 0x18
/* 800940DC 0008FF1C 38 80 00 0F */ li r4, 0xf
/* 800940E0 0008FF20 4B FF CC C9 */ bl l2c_csm_execute
/* 800940E4 0008FF24 4B FF F7 BC */ b lbl_800938A0
.global lbl_800940E8
lbl_800940E8:
/* 800940E8 0008FF28 38 A1 00 18 */ addi r5, r1, 0x18
/* 800940EC 0008FF2C 38 80 00 10 */ li r4, 0x10
/* 800940F0 0008FF30 4B FF CC B9 */ bl l2c_csm_execute
/* 800940F4 0008FF34 4B FF F7 AC */ b lbl_800938A0
.global lbl_800940F8
lbl_800940F8:
/* 800940F8 0008FF38 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 800940FC 0008FF3C 28 00 00 02 */ cmplwi r0, 0x2
/* 80094100 0008FF40 41 80 F7 A0 */ blt lbl_800938A0
/* 80094104 0008FF44 7E 25 8B 78 */ mr r5, r17
/* 80094108 0008FF48 38 7D 00 01 */ addi r3, r29, 0x1
/* 8009410C 0008FF4C 38 97 02 5C */ addi r4, r23, 0x25c
/* 80094110 0008FF50 4B FE 38 51 */ bl LogMsg_0
/* 80094114 0008FF54 4B FF F7 8C */ b lbl_800938A0
.global lbl_80094118
lbl_80094118:
/* 80094118 0008FF58 88 90 00 05 */ lbz r4, 0x5(r16)
/* 8009411C 0008FF5C 7D E3 7B 78 */ mr r3, r15
/* 80094120 0008FF60 88 10 00 07 */ lbz r0, 0x7(r16)
/* 80094124 0008FF64 54 85 40 2E */ slwi r5, r4, 8
/* 80094128 0008FF68 88 D0 00 04 */ lbz r6, 0x4(r16)
/* 8009412C 0008FF6C 88 90 00 06 */ lbz r4, 0x6(r16)
/* 80094130 0008FF70 54 00 40 2E */ slwi r0, r0, 8
/* 80094134 0008FF74 7C A6 2A 14 */ add r5, r6, r5
/* 80094138 0008FF78 7C 04 02 14 */ add r0, r4, r0
/* 8009413C 0008FF7C 54 B0 04 3E */ clrlwi r16, r5, 16
/* 80094140 0008FF80 7E 04 83 78 */ mr r4, r16
/* 80094144 0008FF84 54 11 04 3E */ clrlwi r17, r0, 16
/* 80094148 0008FF88 48 00 19 A9 */ bl l2cu_find_ccb_by_cid
/* 8009414C 0008FF8C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80094150 0008FF90 41 82 00 24 */ beq lbl_80094174
/* 80094154 0008FF94 A0 03 00 16 */ lhz r0, 0x16(r3)
/* 80094158 0008FF98 7C 00 88 40 */ cmplw r0, r17
/* 8009415C 0008FF9C 40 82 F7 44 */ bne lbl_800938A0
/* 80094160 0008FFA0 9B 23 00 36 */ stb r25, 0x36(r3)
/* 80094164 0008FFA4 38 A1 00 08 */ addi r5, r1, 0x8
/* 80094168 0008FFA8 38 80 00 11 */ li r4, 0x11
/* 8009416C 0008FFAC 4B FF CC 3D */ bl l2c_csm_execute
/* 80094170 0008FFB0 4B FF F7 30 */ b lbl_800938A0
.global lbl_80094174
lbl_80094174:
/* 80094174 0008FFB4 7D E3 7B 78 */ mr r3, r15
/* 80094178 0008FFB8 7F 24 CB 78 */ mr r4, r25
/* 8009417C 0008FFBC 7E 05 83 78 */ mr r5, r16
/* 80094180 0008FFC0 7E 26 8B 78 */ mr r6, r17
/* 80094184 0008FFC4 48 00 12 4D */ bl l2cu_send_peer_disc_rsp
/* 80094188 0008FFC8 4B FF F7 18 */ b lbl_800938A0
.global lbl_8009418C
lbl_8009418C:
/* 8009418C 0008FFCC 88 90 00 05 */ lbz r4, 0x5(r16)
/* 80094190 0008FFD0 7D E3 7B 78 */ mr r3, r15
/* 80094194 0008FFD4 88 10 00 07 */ lbz r0, 0x7(r16)
/* 80094198 0008FFD8 54 85 40 2E */ slwi r5, r4, 8
/* 8009419C 0008FFDC 88 D0 00 04 */ lbz r6, 0x4(r16)
/* 800941A0 0008FFE0 88 90 00 06 */ lbz r4, 0x6(r16)
/* 800941A4 0008FFE4 54 00 40 2E */ slwi r0, r0, 8
/* 800941A8 0008FFE8 7C A6 2A 14 */ add r5, r6, r5
/* 800941AC 0008FFEC 7C 04 02 14 */ add r0, r4, r0
/* 800941B0 0008FFF0 54 B0 04 3E */ clrlwi r16, r5, 16
/* 800941B4 0008FFF4 54 04 04 3E */ clrlwi r4, r0, 16
/* 800941B8 0008FFF8 48 00 19 39 */ bl l2cu_find_ccb_by_cid
/* 800941BC 0008FFFC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800941C0 00090000 41 82 F6 E0 */ beq lbl_800938A0
/* 800941C4 00090004 A0 03 00 16 */ lhz r0, 0x16(r3)
/* 800941C8 00090008 7C 00 80 40 */ cmplw r0, r16
/* 800941CC 0009000C 40 82 F6 D4 */ bne lbl_800938A0
/* 800941D0 00090010 88 03 00 35 */ lbz r0, 0x35(r3)
/* 800941D4 00090014 7C 00 C8 40 */ cmplw r0, r25
/* 800941D8 00090018 40 82 F6 C8 */ bne lbl_800938A0
/* 800941DC 0009001C 38 A1 00 08 */ addi r5, r1, 0x8
/* 800941E0 00090020 38 80 00 12 */ li r4, 0x12
/* 800941E4 00090024 4B FF CB C5 */ bl l2c_csm_execute
/* 800941E8 00090028 4B FF F6 B8 */ b lbl_800938A0
.global lbl_800941EC
lbl_800941EC:
/* 800941EC 0009002C A0 7E 00 7E */ lhz r3, 0x7e(r30)
/* 800941F0 00090030 38 03 FF F4 */ addi r0, r3, -0xc
/* 800941F4 00090034 7C 11 00 00 */ cmpw r17, r0
/* 800941F8 00090038 40 80 00 1C */ bge lbl_80094214
/* 800941FC 0009003C 7D E3 7B 78 */ mr r3, r15
/* 80094200 00090040 7F 24 CB 78 */ mr r4, r25
/* 80094204 00090044 7E 26 8B 78 */ mr r6, r17
/* 80094208 00090048 38 B0 00 04 */ addi r5, r16, 0x4
/* 8009420C 0009004C 48 00 13 F5 */ bl l2cu_send_peer_echo_rsp
/* 80094210 00090050 4B FF F6 90 */ b lbl_800938A0
.global lbl_80094214
lbl_80094214:
/* 80094214 00090054 7D E3 7B 78 */ mr r3, r15
/* 80094218 00090058 7F 24 CB 78 */ mr r4, r25
/* 8009421C 0009005C 38 A0 00 00 */ li r5, 0x0
/* 80094220 00090060 38 C0 00 00 */ li r6, 0x0
/* 80094224 00090064 48 00 13 DD */ bl l2cu_send_peer_echo_rsp
/* 80094228 00090068 4B FF F6 78 */ b lbl_800938A0
.global lbl_8009422C
lbl_8009422C:
/* 8009422C 0009006C 81 8F 00 54 */ lwz r12, 0x54(r15)
/* 80094230 00090070 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80094234 00090074 41 82 F6 6C */ beq lbl_800938A0
/* 80094238 00090078 93 EF 00 54 */ stw r31, 0x54(r15)
/* 8009423C 0009007C 38 60 00 00 */ li r3, 0x0
/* 80094240 00090080 7D 89 03 A6 */ mtctr r12
/* 80094244 00090084 4E 80 04 21 */ bctrl
/* 80094248 00090088 4B FF F6 58 */ b lbl_800938A0
.global lbl_8009424C
lbl_8009424C:
/* 8009424C 0009008C 88 10 00 05 */ lbz r0, 0x5(r16)
/* 80094250 00090090 7D E3 7B 78 */ mr r3, r15
/* 80094254 00090094 88 B0 00 04 */ lbz r5, 0x4(r16)
/* 80094258 00090098 7F 24 CB 78 */ mr r4, r25
/* 8009425C 0009009C 54 00 40 2E */ slwi r0, r0, 8
/* 80094260 000900A0 7C 05 02 14 */ add r0, r5, r0
/* 80094264 000900A4 54 05 04 3E */ clrlwi r5, r0, 16
/* 80094268 000900A8 48 00 15 35 */ bl l2cu_send_peer_info_rsp
/* 8009426C 000900AC 4B FF F6 34 */ b lbl_800938A0
.global lbl_80094270
lbl_80094270:
/* 80094270 000900B0 3C 60 80 50 */ lis r3, l2cb@ha
/* 80094274 000900B4 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80094278 000900B8 28 00 00 02 */ cmplwi r0, 0x2
/* 8009427C 000900BC 41 80 00 18 */ blt lbl_80094294
/* 80094280 000900C0 3C 60 00 08 */ lis r3, 0x8
/* 80094284 000900C4 7C E5 3B 78 */ mr r5, r7
/* 80094288 000900C8 38 63 00 01 */ addi r3, r3, 0x1
/* 8009428C 000900CC 38 97 02 88 */ addi r4, r23, 0x288
/* 80094290 000900D0 4B FE 36 D1 */ bl LogMsg_0
.global lbl_80094294
lbl_80094294:
/* 80094294 000900D4 7D E3 7B 78 */ mr r3, r15
/* 80094298 000900D8 7F 25 CB 78 */ mr r5, r25
/* 8009429C 000900DC 38 80 00 00 */ li r4, 0x0
/* 800942A0 000900E0 38 C0 00 00 */ li r6, 0x0
/* 800942A4 000900E4 38 E0 00 00 */ li r7, 0x0
/* 800942A8 000900E8 48 00 05 59 */ bl l2cu_send_peer_cmd_reject
.global lbl_800942AC
lbl_800942AC:
/* 800942AC 000900EC 39 61 00 A0 */ addi r11, r1, 0xa0
/* 800942B0 000900F0 4B F7 30 A5 */ bl __restore_gpr
/* 800942B4 000900F4 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 800942B8 000900F8 7C 08 03 A6 */ mtlr r0
/* 800942BC 000900FC 38 21 00 A0 */ addi r1, r1, 0xa0
/* 800942C0 00090100 4E 80 00 20 */ blr
.global l2c_process_timeout
l2c_process_timeout:
/* 800942C4 00090104 A0 03 00 14 */ lhz r0, 0x14(r3)
/* 800942C8 00090108 2C 00 00 04 */ cmpwi r0, 0x4
/* 800942CC 0009010C 41 82 00 3C */ beq lbl_80094308
/* 800942D0 00090110 40 80 00 14 */ bge lbl_800942E4
/* 800942D4 00090114 2C 00 00 02 */ cmpwi r0, 0x2
/* 800942D8 00090118 41 82 00 18 */ beq lbl_800942F0
/* 800942DC 0009011C 40 80 00 1C */ bge lbl_800942F8
/* 800942E0 00090120 4E 80 00 20 */ blr
.global lbl_800942E4
lbl_800942E4:
/* 800942E4 00090124 2C 00 00 49 */ cmpwi r0, 0x49
/* 800942E8 00090128 4D 82 00 20 */ beqlr
/* 800942EC 0009012C 4E 80 00 20 */ blr
.global lbl_800942F0
lbl_800942F0:
/* 800942F0 00090130 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800942F4 00090134 4B FF E4 FC */ b l2c_link_timeout
.global lbl_800942F8
lbl_800942F8:
/* 800942F8 00090138 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800942FC 0009013C 38 80 00 1E */ li r4, 0x1e
/* 80094300 00090140 38 A0 00 00 */ li r5, 0x0
/* 80094304 00090144 4B FF CA A4 */ b l2c_csm_execute
.global lbl_80094308
lbl_80094308:
/* 80094308 00090148 38 60 00 01 */ li r3, 0x1
/* 8009430C 0009014C 48 00 00 08 */ b l2c_process_held_packets
/* 80094310 00090150 4E 80 00 20 */ blr
.global l2c_process_held_packets
l2c_process_held_packets:
/* 80094314 00090154 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80094318 00090158 7C 08 02 A6 */ mflr r0
/* 8009431C 0009015C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80094320 00090160 39 61 00 20 */ addi r11, r1, 0x20
/* 80094324 00090164 4B F7 30 19 */ bl lbl_8000733C
/* 80094328 00090168 3F E0 80 50 */ lis r31, l2cb@ha
/* 8009432C 0009016C 7C 7B 1B 78 */ mr r27, r3
/* 80094330 00090170 38 9F 90 20 */ addi r4, r31, l2cb@l
/* 80094334 00090174 A0 04 07 C8 */ lhz r0, 0x7c8(r4)
/* 80094338 00090178 3B 84 07 C0 */ addi r28, r4, 0x7c0
/* 8009433C 0009017C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80094340 00090180 41 82 00 E8 */ beq lbl_80094428
/* 80094344 00090184 2C 03 00 00 */ cmpwi r3, 0x0
/* 80094348 00090188 40 82 00 30 */ bne lbl_80094378
/* 8009434C 0009018C 38 64 07 CC */ addi r3, r4, 0x7cc
/* 80094350 00090190 4B FE 3B D1 */ bl btu_stop_timer
/* 80094354 00090194 88 1F 90 20 */ lbz r0, -0x6fe0(r31)
/* 80094358 00090198 28 00 00 02 */ cmplwi r0, 0x2
/* 8009435C 0009019C 41 80 00 3C */ blt lbl_80094398
/* 80094360 000901A0 3C 60 00 08 */ lis r3, 0x8
/* 80094364 000901A4 3C 80 80 44 */ lis r4, "@1693"@ha
/* 80094368 000901A8 38 63 00 01 */ addi r3, r3, 0x1
/* 8009436C 000901AC 38 84 EB 3C */ addi r4, r4, "@1693"@l
/* 80094370 000901B0 4B FE 35 F1 */ bl LogMsg_0
/* 80094374 000901B4 48 00 00 24 */ b lbl_80094398
.global lbl_80094378
lbl_80094378:
/* 80094378 000901B8 88 1F 90 20 */ lbz r0, -0x6fe0(r31)
/* 8009437C 000901BC 28 00 00 02 */ cmplwi r0, 0x2
/* 80094380 000901C0 41 80 00 18 */ blt lbl_80094398
/* 80094384 000901C4 3C 60 00 08 */ lis r3, 0x8
/* 80094388 000901C8 3C 80 80 44 */ lis r4, "@1694"@ha
/* 8009438C 000901CC 38 63 00 01 */ addi r3, r3, 0x1
/* 80094390 000901D0 38 84 EB 50 */ addi r4, r4, "@1694"@l
/* 80094394 000901D4 4B FE 35 CD */ bl LogMsg_0
.global lbl_80094398
lbl_80094398:
/* 80094398 000901D8 7F 83 E3 78 */ mr r3, r28
/* 8009439C 000901DC 4B FE 13 95 */ bl GKI_getfirst
/* 800943A0 000901E0 3C 80 00 01 */ lis r4, 0x1
/* 800943A4 000901E4 7C 7E 1B 78 */ mr r30, r3
/* 800943A8 000901E8 3B E4 FF FF */ addi r31, r4, -0x1
/* 800943AC 000901EC 48 00 00 50 */ b lbl_800943FC
.global lbl_800943B0
lbl_800943B0:
/* 800943B0 000901F0 7F C3 F3 78 */ mr r3, r30
/* 800943B4 000901F4 4B FE 13 8D */ bl GKI_getnext
/* 800943B8 000901F8 2C 1B 00 00 */ cmpwi r27, 0x0
/* 800943BC 000901FC 7C 7D 1B 78 */ mr r29, r3
/* 800943C0 00090200 41 82 00 20 */ beq lbl_800943E0
/* 800943C4 00090204 A0 7E 00 06 */ lhz r3, 0x6(r30)
/* 800943C8 00090208 2C 03 00 00 */ cmpwi r3, 0x0
/* 800943CC 0009020C 41 82 00 14 */ beq lbl_800943E0
/* 800943D0 00090210 38 63 FF FF */ addi r3, r3, -0x1
/* 800943D4 00090214 54 60 04 3F */ clrlwi. r0, r3, 16
/* 800943D8 00090218 B0 7E 00 06 */ sth r3, 0x6(r30)
/* 800943DC 0009021C 40 82 00 1C */ bne lbl_800943F8
.global lbl_800943E0
lbl_800943E0:
/* 800943E0 00090220 7F 83 E3 78 */ mr r3, r28
/* 800943E4 00090224 7F C4 F3 78 */ mr r4, r30
/* 800943E8 00090228 4B FE 12 79 */ bl GKI_remove_from_queue
/* 800943EC 0009022C B3 FE 00 06 */ sth r31, 0x6(r30)
/* 800943F0 00090230 7F C3 F3 78 */ mr r3, r30
/* 800943F4 00090234 4B FF F1 31 */ bl l2c_rcv_acl_data
.global lbl_800943F8
lbl_800943F8:
/* 800943F8 00090238 7F BE EB 78 */ mr r30, r29
.global lbl_800943FC
lbl_800943FC:
/* 800943FC 0009023C 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80094400 00090240 40 82 FF B0 */ bne lbl_800943B0
/* 80094404 00090244 A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 80094408 00090248 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009440C 0009024C 41 82 00 1C */ beq lbl_80094428
/* 80094410 00090250 3C 60 80 50 */ lis r3, l2cb@ha
/* 80094414 00090254 38 80 00 04 */ li r4, 0x4
/* 80094418 00090258 38 63 90 20 */ addi r3, r3, l2cb@l
/* 8009441C 0009025C 38 A0 00 01 */ li r5, 0x1
/* 80094420 00090260 38 63 07 CC */ addi r3, r3, 0x7cc
/* 80094424 00090264 4B FE 3A 8D */ bl btu_start_timer
.global lbl_80094428
lbl_80094428:
/* 80094428 00090268 39 61 00 20 */ addi r11, r1, 0x20
/* 8009442C 0009026C 4B F7 2F 5D */ bl lbl_80007388
/* 80094430 00090270 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80094434 00090274 7C 08 03 A6 */ mtlr r0
/* 80094438 00090278 38 21 00 20 */ addi r1, r1, 0x20
/* 8009443C 0009027C 4E 80 00 20 */ blr