donut-decomp/asm/bte/l2c_link.s
2022-10-17 09:41:13 +01:00

1584 lines
66 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global l2c_link_hci_conn_req
l2c_link_hci_conn_req:
/* 80092284 0008E0C4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80092288 0008E0C8 7C 08 02 A6 */ mflr r0
/* 8009228C 0008E0CC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80092290 0008E0D0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80092294 0008E0D4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80092298 0008E0D8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8009229C 0008E0DC 7C 7D 1B 78 */ mr r29, r3
/* 800922A0 0008E0E0 38 60 00 02 */ li r3, 0x2
/* 800922A4 0008E0E4 4B FE 2B 7D */ bl GKI_getpoolbuf
/* 800922A8 0008E0E8 2C 03 00 00 */ cmpwi r3, 0x0
/* 800922AC 0008E0EC 7C 7E 1B 78 */ mr r30, r3
/* 800922B0 0008E0F0 41 82 01 0C */ beq lbl_800923BC
/* 800922B4 0008E0F4 7F A3 EB 78 */ mr r3, r29
/* 800922B8 0008E0F8 48 00 23 5D */ bl l2cu_find_lcb_by_bd_addr
/* 800922BC 0008E0FC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800922C0 0008E100 7C 7F 1B 78 */ mr r31, r3
/* 800922C4 0008E104 40 82 00 84 */ bne lbl_80092348
/* 800922C8 0008E108 7F A3 EB 78 */ mr r3, r29
/* 800922CC 0008E10C 48 00 21 75 */ bl l2cu_allocate_lcb
/* 800922D0 0008E110 2C 03 00 00 */ cmpwi r3, 0x0
/* 800922D4 0008E114 7C 7F 1B 78 */ mr r31, r3
/* 800922D8 0008E118 40 82 00 38 */ bne lbl_80092310
/* 800922DC 0008E11C 7F C3 F3 78 */ mr r3, r30
/* 800922E0 0008E120 7F A4 EB 78 */ mr r4, r29
/* 800922E4 0008E124 38 A0 00 14 */ li r5, 0x14
/* 800922E8 0008E128 4B FF 88 CD */ bl btsnd_hcic_reject_conn
/* 800922EC 0008E12C 3C 60 80 50 */ lis r3, l2cb@ha
/* 800922F0 0008E130 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 800922F4 0008E134 28 00 00 01 */ cmplwi r0, 0x1
/* 800922F8 0008E138 41 80 00 C4 */ blt lbl_800923BC
/* 800922FC 0008E13C 3C 80 80 44 */ lis r4, "@1744_8043E5F8"@ha
/* 80092300 0008E140 3C 60 00 08 */ lis r3, 0x8
/* 80092304 0008E144 38 84 E5 F8 */ addi r4, r4, "@1744_8043E5F8"@l
/* 80092308 0008E148 4B FE 56 59 */ bl LogMsg_0
/* 8009230C 0008E14C 48 00 00 B0 */ b lbl_800923BC
.global lbl_80092310
lbl_80092310:
/* 80092310 0008E150 48 00 24 1D */ bl l2cu_get_conn_role
/* 80092314 0008E154 7C 60 1B 78 */ mr r0, r3
/* 80092318 0008E158 98 7F 00 30 */ stb r3, 0x30(r31)
/* 8009231C 0008E15C 7F C3 F3 78 */ mr r3, r30
/* 80092320 0008E160 7F A4 EB 78 */ mr r4, r29
/* 80092324 0008E164 54 05 06 3E */ clrlwi r5, r0, 24
/* 80092328 0008E168 4B FF 88 2D */ bl btsnd_hcic_accept_conn
/* 8009232C 0008E16C 38 00 00 03 */ li r0, 0x3
/* 80092330 0008E170 38 7F 00 10 */ addi r3, r31, 0x10
/* 80092334 0008E174 90 1F 00 04 */ stw r0, 0x4(r31)
/* 80092338 0008E178 38 80 00 02 */ li r4, 0x2
/* 8009233C 0008E17C 38 A0 00 3C */ li r5, 0x3c
/* 80092340 0008E180 4B FE 5B 71 */ bl btu_start_timer
/* 80092344 0008E184 48 00 00 78 */ b lbl_800923BC
.global lbl_80092348
lbl_80092348:
/* 80092348 0008E188 80 03 00 04 */ lwz r0, 0x4(r3)
/* 8009234C 0008E18C 2C 00 00 03 */ cmpwi r0, 0x3
/* 80092350 0008E190 41 82 00 0C */ beq lbl_8009235C
/* 80092354 0008E194 2C 00 00 01 */ cmpwi r0, 0x1
/* 80092358 0008E198 40 82 00 20 */ bne lbl_80092378
.global lbl_8009235C
lbl_8009235C:
/* 8009235C 0008E19C 88 BF 00 30 */ lbz r5, 0x30(r31)
/* 80092360 0008E1A0 7F C3 F3 78 */ mr r3, r30
/* 80092364 0008E1A4 7F A4 EB 78 */ mr r4, r29
/* 80092368 0008E1A8 4B FF 87 ED */ bl btsnd_hcic_accept_conn
/* 8009236C 0008E1AC 38 00 00 03 */ li r0, 0x3
/* 80092370 0008E1B0 90 1F 00 04 */ stw r0, 0x4(r31)
/* 80092374 0008E1B4 48 00 00 48 */ b lbl_800923BC
.global lbl_80092378
lbl_80092378:
/* 80092378 0008E1B8 2C 00 00 05 */ cmpwi r0, 0x5
/* 8009237C 0008E1BC 40 82 00 18 */ bne lbl_80092394
/* 80092380 0008E1C0 7F C3 F3 78 */ mr r3, r30
/* 80092384 0008E1C4 7F A4 EB 78 */ mr r4, r29
/* 80092388 0008E1C8 38 A0 00 15 */ li r5, 0x15
/* 8009238C 0008E1CC 4B FF 88 29 */ bl btsnd_hcic_reject_conn
/* 80092390 0008E1D0 48 00 00 2C */ b lbl_800923BC
.global lbl_80092394
lbl_80092394:
/* 80092394 0008E1D4 3C 60 80 50 */ lis r3, l2cb@ha
/* 80092398 0008E1D8 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 8009239C 0008E1DC 28 00 00 01 */ cmplwi r0, 0x1
/* 800923A0 0008E1E0 41 80 00 14 */ blt lbl_800923B4
/* 800923A4 0008E1E4 3C 80 80 44 */ lis r4, "@1745_8043E618"@ha
/* 800923A8 0008E1E8 3C 60 00 08 */ lis r3, 0x8
/* 800923AC 0008E1EC 38 84 E6 18 */ addi r4, r4, "@1745_8043E618"@l
/* 800923B0 0008E1F0 4B FE 55 B1 */ bl LogMsg_0
.global lbl_800923B4
lbl_800923B4:
/* 800923B4 0008E1F4 7F C3 F3 78 */ mr r3, r30
/* 800923B8 0008E1F8 4B FE 2B 59 */ bl GKI_freebuf
.global lbl_800923BC
lbl_800923BC:
/* 800923BC 0008E1FC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800923C0 0008E200 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800923C4 0008E204 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800923C8 0008E208 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800923CC 0008E20C 7C 08 03 A6 */ mtlr r0
/* 800923D0 0008E210 38 21 00 20 */ addi r1, r1, 0x20
/* 800923D4 0008E214 4E 80 00 20 */ blr
.global l2c_link_hci_conn_comp
l2c_link_hci_conn_comp:
/* 800923D8 0008E218 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800923DC 0008E21C 7C 08 02 A6 */ mflr r0
/* 800923E0 0008E220 90 01 00 34 */ stw r0, 0x34(r1)
/* 800923E4 0008E224 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800923E8 0008E228 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800923EC 0008E22C 7C BE 2B 78 */ mr r30, r5
/* 800923F0 0008E230 38 A0 00 06 */ li r5, 0x6
/* 800923F4 0008E234 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800923F8 0008E238 7C 9D 23 78 */ mr r29, r4
/* 800923FC 0008E23C 7F C4 F3 78 */ mr r4, r30
/* 80092400 0008E240 93 81 00 20 */ stw r28, 0x20(r1)
/* 80092404 0008E244 7C 7C 1B 78 */ mr r28, r3
/* 80092408 0008E248 98 61 00 0E */ stb r3, 0xe(r1)
/* 8009240C 0008E24C 38 61 00 08 */ addi r3, r1, 0x8
/* 80092410 0008E250 4B F7 1B F1 */ bl memcpy
/* 80092414 0008E254 38 61 00 08 */ addi r3, r1, 0x8
/* 80092418 0008E258 48 00 21 FD */ bl l2cu_find_lcb_by_bd_addr
/* 8009241C 0008E25C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80092420 0008E260 7C 7F 1B 78 */ mr r31, r3
/* 80092424 0008E264 40 82 00 40 */ bne lbl_80092464
/* 80092428 0008E268 7F A3 EB 78 */ mr r3, r29
/* 8009242C 0008E26C 4B FF 4A 3D */ bl btm_sec_is_bonding
/* 80092430 0008E270 54 60 06 3F */ clrlwi. r0, r3, 24
/* 80092434 0008E274 40 82 00 28 */ bne lbl_8009245C
/* 80092438 0008E278 3C 60 80 50 */ lis r3, l2cb@ha
/* 8009243C 0008E27C 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80092440 0008E280 28 00 00 02 */ cmplwi r0, 0x2
/* 80092444 0008E284 41 80 00 18 */ blt lbl_8009245C
/* 80092448 0008E288 3C 60 00 08 */ lis r3, 0x8
/* 8009244C 0008E28C 3C 80 80 44 */ lis r4, "@1771"@ha
/* 80092450 0008E290 38 63 00 01 */ addi r3, r3, 0x1
/* 80092454 0008E294 38 84 E6 40 */ addi r4, r4, "@1771"@l
/* 80092458 0008E298 4B FE 55 09 */ bl LogMsg_0
.global lbl_8009245C
lbl_8009245C:
/* 8009245C 0008E29C 38 60 00 00 */ li r3, 0x0
/* 80092460 0008E2A0 48 00 01 90 */ b lbl_800925F0
.global lbl_80092464
lbl_80092464:
/* 80092464 0008E2A4 80 A3 00 04 */ lwz r5, 0x4(r3)
/* 80092468 0008E2A8 2C 05 00 03 */ cmpwi r5, 0x3
/* 8009246C 0008E2AC 41 82 00 44 */ beq lbl_800924B0
/* 80092470 0008E2B0 3C 60 80 50 */ lis r3, l2cb@ha
/* 80092474 0008E2B4 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80092478 0008E2B8 28 00 00 01 */ cmplwi r0, 0x1
/* 8009247C 0008E2BC 41 80 00 18 */ blt lbl_80092494
/* 80092480 0008E2C0 3C 80 80 44 */ lis r4, "@1772"@ha
/* 80092484 0008E2C4 7F 86 E3 78 */ mr r6, r28
/* 80092488 0008E2C8 3C 60 00 08 */ lis r3, 0x8
/* 8009248C 0008E2CC 38 84 E6 68 */ addi r4, r4, "@1772"@l
/* 80092490 0008E2D0 4B FE 54 D1 */ bl LogMsg_0
.global lbl_80092494
lbl_80092494:
/* 80092494 0008E2D4 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80092498 0008E2D8 41 82 00 10 */ beq lbl_800924A8
/* 8009249C 0008E2DC A0 7F 00 28 */ lhz r3, 0x28(r31)
/* 800924A0 0008E2E0 7F 84 E3 78 */ mr r4, r28
/* 800924A4 0008E2E4 48 00 02 21 */ bl l2c_link_hci_disc_comp
.global lbl_800924A8
lbl_800924A8:
/* 800924A8 0008E2E8 38 60 00 00 */ li r3, 0x0
/* 800924AC 0008E2EC 48 00 01 44 */ b lbl_800925F0
.global lbl_800924B0
lbl_800924B0:
/* 800924B0 0008E2F0 B3 A3 00 28 */ sth r29, 0x28(r3)
/* 800924B4 0008E2F4 88 01 00 0E */ lbz r0, 0xe(r1)
/* 800924B8 0008E2F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800924BC 0008E2FC 40 82 00 D8 */ bne lbl_80092594
/* 800924C0 0008E300 38 00 00 04 */ li r0, 0x4
/* 800924C4 0008E304 90 03 00 04 */ stw r0, 0x4(r3)
/* 800924C8 0008E308 7F C3 F3 78 */ mr r3, r30
/* 800924CC 0008E30C 4B FE DB 09 */ bl btm_find_dev
/* 800924D0 0008E310 2C 03 00 00 */ cmpwi r3, 0x0
/* 800924D4 0008E314 7C 65 1B 78 */ mr r5, r3
/* 800924D8 0008E318 41 82 00 20 */ beq lbl_800924F8
/* 800924DC 0008E31C 88 FF 00 30 */ lbz r7, 0x30(r31)
/* 800924E0 0008E320 38 85 00 22 */ addi r4, r5, 0x22
/* 800924E4 0008E324 7F A6 EB 78 */ mr r6, r29
/* 800924E8 0008E328 38 61 00 08 */ addi r3, r1, 0x8
/* 800924EC 0008E32C 38 A5 00 35 */ addi r5, r5, 0x35
/* 800924F0 0008E330 4B FE B9 95 */ bl btm_acl_created
/* 800924F4 0008E334 48 00 00 1C */ b lbl_80092510
.global lbl_800924F8
lbl_800924F8:
/* 800924F8 0008E338 88 FF 00 30 */ lbz r7, 0x30(r31)
/* 800924FC 0008E33C 7F A6 EB 78 */ mr r6, r29
/* 80092500 0008E340 38 61 00 08 */ addi r3, r1, 0x8
/* 80092504 0008E344 38 80 00 00 */ li r4, 0x0
/* 80092508 0008E348 38 A0 00 00 */ li r5, 0x0
/* 8009250C 0008E34C 4B FE B9 79 */ bl btm_acl_created
.global lbl_80092510
lbl_80092510:
/* 80092510 0008E350 38 60 00 00 */ li r3, 0x0
/* 80092514 0008E354 48 00 1E 01 */ bl l2c_process_held_packets
/* 80092518 0008E358 38 7F 00 10 */ addi r3, r31, 0x10
/* 8009251C 0008E35C 4B FE 5A 05 */ bl btu_stop_timer
/* 80092520 0008E360 83 DF 00 08 */ lwz r30, 0x8(r31)
/* 80092524 0008E364 48 00 00 18 */ b lbl_8009253C
.global lbl_80092528
lbl_80092528:
/* 80092528 0008E368 7F C3 F3 78 */ mr r3, r30
/* 8009252C 0008E36C 38 A1 00 08 */ addi r5, r1, 0x8
/* 80092530 0008E370 38 80 00 00 */ li r4, 0x0
/* 80092534 0008E374 4B FF E8 75 */ bl l2c_csm_execute
/* 80092538 0008E378 83 DE 00 08 */ lwz r30, 0x8(r30)
.global lbl_8009253C
lbl_8009253C:
/* 8009253C 0008E37C 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80092540 0008E380 40 82 FF E8 */ bne lbl_80092528
/* 80092544 0008E384 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 80092548 0008E388 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009254C 0008E38C 41 82 00 28 */ beq lbl_80092574
/* 80092550 0008E390 7F E3 FB 78 */ mr r3, r31
/* 80092554 0008E394 38 80 00 00 */ li r4, 0x0
/* 80092558 0008E398 38 A0 00 00 */ li r5, 0x0
/* 8009255C 0008E39C 48 00 2F 35 */ bl l2cu_send_peer_echo_req
/* 80092560 0008E3A0 38 7F 00 10 */ addi r3, r31, 0x10
/* 80092564 0008E3A4 38 80 00 02 */ li r4, 0x2
/* 80092568 0008E3A8 38 A0 00 1E */ li r5, 0x1e
/* 8009256C 0008E3AC 4B FE 59 45 */ bl btu_start_timer
/* 80092570 0008E3B0 48 00 00 7C */ b lbl_800925EC
.global lbl_80092574
lbl_80092574:
/* 80092574 0008E3B4 80 1F 00 08 */ lwz r0, 0x8(r31)
/* 80092578 0008E3B8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009257C 0008E3BC 40 82 00 70 */ bne lbl_800925EC
/* 80092580 0008E3C0 38 7F 00 10 */ addi r3, r31, 0x10
/* 80092584 0008E3C4 38 80 00 02 */ li r4, 0x2
/* 80092588 0008E3C8 38 A0 00 3C */ li r5, 0x3c
/* 8009258C 0008E3CC 4B FE 59 25 */ bl btu_start_timer
/* 80092590 0008E3D0 48 00 00 5C */ b lbl_800925EC
.global lbl_80092594
lbl_80092594:
/* 80092594 0008E3D4 28 00 00 09 */ cmplwi r0, 0x9
/* 80092598 0008E3D8 40 82 00 28 */ bne lbl_800925C0
/* 8009259C 0008E3DC 48 00 3C 81 */ bl l2cu_lcb_disconnecting
/* 800925A0 0008E3E0 54 60 06 3F */ clrlwi. r0, r3, 24
/* 800925A4 0008E3E4 41 82 00 1C */ beq lbl_800925C0
/* 800925A8 0008E3E8 38 00 00 01 */ li r0, 0x1
/* 800925AC 0008E3EC 3C 60 00 01 */ lis r3, 0x1
/* 800925B0 0008E3F0 90 1F 00 04 */ stw r0, 0x4(r31)
/* 800925B4 0008E3F4 38 03 FF FF */ addi r0, r3, -0x1
/* 800925B8 0008E3F8 B0 1F 00 28 */ sth r0, 0x28(r31)
/* 800925BC 0008E3FC 48 00 00 30 */ b lbl_800925EC
.global lbl_800925C0
lbl_800925C0:
/* 800925C0 0008E400 80 7F 00 08 */ lwz r3, 0x8(r31)
/* 800925C4 0008E404 48 00 00 18 */ b lbl_800925DC
.global lbl_800925C8
lbl_800925C8:
/* 800925C8 0008E408 83 C3 00 08 */ lwz r30, 0x8(r3)
/* 800925CC 0008E40C 38 A1 00 08 */ addi r5, r1, 0x8
/* 800925D0 0008E410 38 80 00 01 */ li r4, 0x1
/* 800925D4 0008E414 4B FF E7 D5 */ bl l2c_csm_execute
/* 800925D8 0008E418 7F C3 F3 78 */ mr r3, r30
.global lbl_800925DC
lbl_800925DC:
/* 800925DC 0008E41C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800925E0 0008E420 40 82 FF E8 */ bne lbl_800925C8
/* 800925E4 0008E424 7F E3 FB 78 */ mr r3, r31
/* 800925E8 0008E428 48 00 1F 2D */ bl l2cu_release_lcb
.global lbl_800925EC
lbl_800925EC:
/* 800925EC 0008E42C 38 60 00 01 */ li r3, 0x1
.global lbl_800925F0
lbl_800925F0:
/* 800925F0 0008E430 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800925F4 0008E434 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800925F8 0008E438 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800925FC 0008E43C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80092600 0008E440 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80092604 0008E444 7C 08 03 A6 */ mtlr r0
/* 80092608 0008E448 38 21 00 30 */ addi r1, r1, 0x30
/* 8009260C 0008E44C 4E 80 00 20 */ blr
.global l2c_link_sec_comp
l2c_link_sec_comp:
/* 80092610 0008E450 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80092614 0008E454 7C 08 02 A6 */ mflr r0
/* 80092618 0008E458 90 01 00 24 */ stw r0, 0x24(r1)
/* 8009261C 0008E45C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80092620 0008E460 7C 7F 1B 78 */ mr r31, r3
/* 80092624 0008E464 38 61 00 08 */ addi r3, r1, 0x8
/* 80092628 0008E468 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8009262C 0008E46C 7C BE 2B 78 */ mr r30, r5
/* 80092630 0008E470 7F E4 FB 78 */ mr r4, r31
/* 80092634 0008E474 98 A1 00 0E */ stb r5, 0xe(r1)
/* 80092638 0008E478 38 A0 00 06 */ li r5, 0x6
/* 8009263C 0008E47C 4B F7 19 C5 */ bl memcpy
/* 80092640 0008E480 7F E3 FB 78 */ mr r3, r31
/* 80092644 0008E484 48 00 1F D1 */ bl l2cu_find_lcb_by_bd_addr
/* 80092648 0008E488 2C 03 00 00 */ cmpwi r3, 0x0
/* 8009264C 0008E48C 40 82 00 2C */ bne lbl_80092678
/* 80092650 0008E490 3C 60 80 50 */ lis r3, l2cb@ha
/* 80092654 0008E494 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80092658 0008E498 28 00 00 02 */ cmplwi r0, 0x2
/* 8009265C 0008E49C 41 80 00 50 */ blt lbl_800926AC
/* 80092660 0008E4A0 3C 60 00 08 */ lis r3, 0x8
/* 80092664 0008E4A4 3C 80 80 44 */ lis r4, "@1783_8043E69C"@ha
/* 80092668 0008E4A8 38 63 00 01 */ addi r3, r3, 0x1
/* 8009266C 0008E4AC 38 84 E6 9C */ addi r4, r4, "@1783_8043E69C"@l
/* 80092670 0008E4B0 4B FE 52 F1 */ bl LogMsg_0
/* 80092674 0008E4B4 48 00 00 38 */ b lbl_800926AC
.global lbl_80092678
lbl_80092678:
/* 80092678 0008E4B8 7F C0 00 34 */ cntlzw r0, r30
/* 8009267C 0008E4BC 80 63 00 08 */ lwz r3, 0x8(r3)
/* 80092680 0008E4C0 54 00 DF FE */ extrwi r0, r0, 1, 26
/* 80092684 0008E4C4 7F E0 00 D0 */ neg r31, r0
/* 80092688 0008E4C8 48 00 00 1C */ b lbl_800926A4
.global lbl_8009268C
lbl_8009268C:
/* 8009268C 0008E4CC 38 1F 00 08 */ addi r0, r31, 0x8
/* 80092690 0008E4D0 83 C3 00 08 */ lwz r30, 0x8(r3)
/* 80092694 0008E4D4 54 04 06 3E */ clrlwi r4, r0, 24
/* 80092698 0008E4D8 38 A1 00 08 */ addi r5, r1, 0x8
/* 8009269C 0008E4DC 4B FF E7 0D */ bl l2c_csm_execute
/* 800926A0 0008E4E0 7F C3 F3 78 */ mr r3, r30
.global lbl_800926A4
lbl_800926A4:
/* 800926A4 0008E4E4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800926A8 0008E4E8 40 82 FF E4 */ bne lbl_8009268C
.global lbl_800926AC
lbl_800926AC:
/* 800926AC 0008E4EC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800926B0 0008E4F0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800926B4 0008E4F4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800926B8 0008E4F8 7C 08 03 A6 */ mtlr r0
/* 800926BC 0008E4FC 38 21 00 20 */ addi r1, r1, 0x20
/* 800926C0 0008E500 4E 80 00 20 */ blr
.global l2c_link_hci_disc_comp
l2c_link_hci_disc_comp:
/* 800926C4 0008E504 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800926C8 0008E508 7C 08 02 A6 */ mflr r0
/* 800926CC 0008E50C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800926D0 0008E510 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800926D4 0008E514 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800926D8 0008E518 3B C0 00 01 */ li r30, 0x1
/* 800926DC 0008E51C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800926E0 0008E520 98 81 00 08 */ stb r4, 0x8(r1)
/* 800926E4 0008E524 48 00 1F B9 */ bl l2cu_find_lcb_by_handle
/* 800926E8 0008E528 2C 03 00 00 */ cmpwi r3, 0x0
/* 800926EC 0008E52C 7C 7F 1B 78 */ mr r31, r3
/* 800926F0 0008E530 40 82 00 0C */ bne lbl_800926FC
/* 800926F4 0008E534 3B C0 00 00 */ li r30, 0x0
/* 800926F8 0008E538 48 00 00 54 */ b lbl_8009274C
.global lbl_800926FC
lbl_800926FC:
/* 800926FC 0008E53C 3C 80 80 4F */ lis r4, btm_cb@ha
/* 80092700 0008E540 38 84 5F 58 */ addi r4, r4, btm_cb@l
/* 80092704 0008E544 88 04 27 BF */ lbz r0, 0x27bf(r4)
/* 80092708 0008E548 28 00 00 0E */ cmplwi r0, 0xe
/* 8009270C 0008E54C 41 82 00 0C */ beq lbl_80092718
/* 80092710 0008E550 88 01 00 08 */ lbz r0, 0x8(r1)
/* 80092714 0008E554 98 04 27 BF */ stb r0, 0x27bf(r4)
.global lbl_80092718
lbl_80092718:
/* 80092718 0008E558 80 63 00 08 */ lwz r3, 0x8(r3)
/* 8009271C 0008E55C 48 00 00 18 */ b lbl_80092734
.global lbl_80092720
lbl_80092720:
/* 80092720 0008E560 83 A3 00 08 */ lwz r29, 0x8(r3)
/* 80092724 0008E564 38 A1 00 08 */ addi r5, r1, 0x8
/* 80092728 0008E568 38 80 00 03 */ li r4, 0x3
/* 8009272C 0008E56C 4B FF E6 7D */ bl l2c_csm_execute
/* 80092730 0008E570 7F A3 EB 78 */ mr r3, r29
.global lbl_80092734
lbl_80092734:
/* 80092734 0008E574 2C 03 00 00 */ cmpwi r3, 0x0
/* 80092738 0008E578 40 82 FF E8 */ bne lbl_80092720
/* 8009273C 0008E57C 38 7F 00 2A */ addi r3, r31, 0x2a
/* 80092740 0008E580 4B FF 26 6D */ bl btm_sco_acl_removed
/* 80092744 0008E584 7F E3 FB 78 */ mr r3, r31
/* 80092748 0008E588 48 00 1D CD */ bl l2cu_release_lcb
.global lbl_8009274C
lbl_8009274C:
/* 8009274C 0008E58C 38 60 00 01 */ li r3, 0x1
/* 80092750 0008E590 48 00 3A 3D */ bl l2cu_find_lcb_by_state
/* 80092754 0008E594 2C 03 00 00 */ cmpwi r3, 0x0
/* 80092758 0008E598 41 82 00 08 */ beq lbl_80092760
/* 8009275C 0008E59C 48 00 38 49 */ bl l2cu_create_conn
.global lbl_80092760
lbl_80092760:
/* 80092760 0008E5A0 7F C3 F3 78 */ mr r3, r30
/* 80092764 0008E5A4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80092768 0008E5A8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8009276C 0008E5AC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80092770 0008E5B0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80092774 0008E5B4 7C 08 03 A6 */ mtlr r0
/* 80092778 0008E5B8 38 21 00 20 */ addi r1, r1, 0x20
/* 8009277C 0008E5BC 4E 80 00 20 */ blr
.global l2c_link_hci_qos_violation
l2c_link_hci_qos_violation:
/* 80092780 0008E5C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80092784 0008E5C4 7C 08 02 A6 */ mflr r0
/* 80092788 0008E5C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009278C 0008E5CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80092790 0008E5D0 48 00 1F 0D */ bl l2cu_find_lcb_by_handle
/* 80092794 0008E5D4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80092798 0008E5D8 40 82 00 0C */ bne lbl_800927A4
/* 8009279C 0008E5DC 38 60 00 00 */ li r3, 0x0
/* 800927A0 0008E5E0 48 00 00 3C */ b lbl_800927DC
.global lbl_800927A4
lbl_800927A4:
/* 800927A4 0008E5E4 83 E3 00 08 */ lwz r31, 0x8(r3)
/* 800927A8 0008E5E8 48 00 00 28 */ b lbl_800927D0
.global lbl_800927AC
lbl_800927AC:
/* 800927AC 0008E5EC 80 7F 00 30 */ lwz r3, 0x30(r31)
/* 800927B0 0008E5F0 80 03 00 20 */ lwz r0, 0x20(r3)
/* 800927B4 0008E5F4 2C 00 00 00 */ cmpwi r0, 0x0
/* 800927B8 0008E5F8 41 82 00 14 */ beq lbl_800927CC
/* 800927BC 0008E5FC 7F E3 FB 78 */ mr r3, r31
/* 800927C0 0008E600 38 80 00 06 */ li r4, 0x6
/* 800927C4 0008E604 38 A0 00 00 */ li r5, 0x0
/* 800927C8 0008E608 4B FF E5 E1 */ bl l2c_csm_execute
.global lbl_800927CC
lbl_800927CC:
/* 800927CC 0008E60C 83 FF 00 08 */ lwz r31, 0x8(r31)
.global lbl_800927D0
lbl_800927D0:
/* 800927D0 0008E610 2C 1F 00 00 */ cmpwi r31, 0x0
/* 800927D4 0008E614 40 82 FF D8 */ bne lbl_800927AC
/* 800927D8 0008E618 38 60 00 01 */ li r3, 0x1
.global lbl_800927DC
lbl_800927DC:
/* 800927DC 0008E61C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800927E0 0008E620 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800927E4 0008E624 7C 08 03 A6 */ mtlr r0
/* 800927E8 0008E628 38 21 00 10 */ addi r1, r1, 0x10
/* 800927EC 0008E62C 4E 80 00 20 */ blr
.global l2c_link_timeout
l2c_link_timeout:
/* 800927F0 0008E630 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800927F4 0008E634 7C 08 02 A6 */ mflr r0
/* 800927F8 0008E638 90 01 00 14 */ stw r0, 0x14(r1)
/* 800927FC 0008E63C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80092800 0008E640 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80092804 0008E644 7C 7E 1B 78 */ mr r30, r3
/* 80092808 0008E648 80 03 00 04 */ lwz r0, 0x4(r3)
/* 8009280C 0008E64C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80092810 0008E650 41 82 00 1C */ beq lbl_8009282C
/* 80092814 0008E654 2C 00 00 03 */ cmpwi r0, 0x3
/* 80092818 0008E658 41 82 00 14 */ beq lbl_8009282C
/* 8009281C 0008E65C 2C 00 00 01 */ cmpwi r0, 0x1
/* 80092820 0008E660 41 82 00 0C */ beq lbl_8009282C
/* 80092824 0008E664 2C 00 00 05 */ cmpwi r0, 0x5
/* 80092828 0008E668 40 82 00 30 */ bne lbl_80092858
.global lbl_8009282C
lbl_8009282C:
/* 8009282C 0008E66C 80 63 00 08 */ lwz r3, 0x8(r3)
/* 80092830 0008E670 48 00 00 18 */ b lbl_80092848
.global lbl_80092834
lbl_80092834:
/* 80092834 0008E674 83 E3 00 08 */ lwz r31, 0x8(r3)
/* 80092838 0008E678 38 80 00 03 */ li r4, 0x3
/* 8009283C 0008E67C 38 A0 00 00 */ li r5, 0x0
/* 80092840 0008E680 4B FF E5 69 */ bl l2c_csm_execute
/* 80092844 0008E684 7F E3 FB 78 */ mr r3, r31
.global lbl_80092848
lbl_80092848:
/* 80092848 0008E688 2C 03 00 00 */ cmpwi r3, 0x0
/* 8009284C 0008E68C 40 82 FF E8 */ bne lbl_80092834
/* 80092850 0008E690 7F C3 F3 78 */ mr r3, r30
/* 80092854 0008E694 48 00 1C C1 */ bl l2cu_release_lcb
.global lbl_80092858
lbl_80092858:
/* 80092858 0008E698 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 8009285C 0008E69C 2C 00 00 04 */ cmpwi r0, 0x4
/* 80092860 0008E6A0 40 82 00 EC */ bne lbl_8009294C
/* 80092864 0008E6A4 81 9E 00 54 */ lwz r12, 0x54(r30)
/* 80092868 0008E6A8 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8009286C 0008E6AC 41 82 00 60 */ beq lbl_800928CC
/* 80092870 0008E6B0 38 00 00 00 */ li r0, 0x0
/* 80092874 0008E6B4 38 60 00 02 */ li r3, 0x2
/* 80092878 0008E6B8 90 1E 00 54 */ stw r0, 0x54(r30)
/* 8009287C 0008E6BC 7D 89 03 A6 */ mtctr r12
/* 80092880 0008E6C0 4E 80 04 21 */ bctrl
/* 80092884 0008E6C4 3C 60 80 50 */ lis r3, l2cb@ha
/* 80092888 0008E6C8 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 8009288C 0008E6CC 28 00 00 02 */ cmplwi r0, 0x2
/* 80092890 0008E6D0 41 80 00 18 */ blt lbl_800928A8
/* 80092894 0008E6D4 3C 60 00 08 */ lis r3, 0x8
/* 80092898 0008E6D8 3C 80 80 44 */ lis r4, "@1822_8043E6C4"@ha
/* 8009289C 0008E6DC 38 63 00 01 */ addi r3, r3, 0x1
/* 800928A0 0008E6E0 38 84 E6 C4 */ addi r4, r4, "@1822_8043E6C4"@l
/* 800928A4 0008E6E4 4B FE 50 BD */ bl LogMsg_0
.global lbl_800928A8
lbl_800928A8:
/* 800928A8 0008E6E8 80 7E 00 08 */ lwz r3, 0x8(r30)
/* 800928AC 0008E6EC 48 00 00 18 */ b lbl_800928C4
.global lbl_800928B0
lbl_800928B0:
/* 800928B0 0008E6F0 83 E3 00 08 */ lwz r31, 0x8(r3)
/* 800928B4 0008E6F4 38 80 00 03 */ li r4, 0x3
/* 800928B8 0008E6F8 38 A0 00 00 */ li r5, 0x0
/* 800928BC 0008E6FC 4B FF E4 ED */ bl l2c_csm_execute
/* 800928C0 0008E700 7F E3 FB 78 */ mr r3, r31
.global lbl_800928C4
lbl_800928C4:
/* 800928C4 0008E704 2C 03 00 00 */ cmpwi r3, 0x0
/* 800928C8 0008E708 40 82 FF E8 */ bne lbl_800928B0
.global lbl_800928CC
lbl_800928CC:
/* 800928CC 0008E70C 80 1E 00 08 */ lwz r0, 0x8(r30)
/* 800928D0 0008E710 2C 00 00 00 */ cmpwi r0, 0x0
/* 800928D4 0008E714 40 82 00 68 */ bne lbl_8009293C
/* 800928D8 0008E718 A0 7E 00 28 */ lhz r3, 0x28(r30)
/* 800928DC 0008E71C 38 80 00 13 */ li r4, 0x13
/* 800928E0 0008E720 4B FF 4A 49 */ bl btm_sec_disconnect
/* 800928E4 0008E724 54 60 06 3E */ clrlwi r0, r3, 24
/* 800928E8 0008E728 28 00 00 01 */ cmplwi r0, 0x1
/* 800928EC 0008E72C 40 82 00 14 */ bne lbl_80092900
/* 800928F0 0008E730 38 00 00 05 */ li r0, 0x5
/* 800928F4 0008E734 38 60 00 1E */ li r3, 0x1e
/* 800928F8 0008E738 90 1E 00 04 */ stw r0, 0x4(r30)
/* 800928FC 0008E73C 48 00 00 24 */ b lbl_80092920
.global lbl_80092900
lbl_80092900:
/* 80092900 0008E740 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092904 0008E744 40 82 00 18 */ bne lbl_8009291C
/* 80092908 0008E748 38 00 00 05 */ li r0, 0x5
/* 8009290C 0008E74C 3C 60 00 01 */ lis r3, 0x1
/* 80092910 0008E750 90 1E 00 04 */ stw r0, 0x4(r30)
/* 80092914 0008E754 38 63 FF FF */ addi r3, r3, -0x1
/* 80092918 0008E758 48 00 00 08 */ b lbl_80092920
.global lbl_8009291C
lbl_8009291C:
/* 8009291C 0008E75C 38 60 00 01 */ li r3, 0x1
.global lbl_80092920
lbl_80092920:
/* 80092920 0008E760 54 65 04 3E */ clrlwi r5, r3, 16
/* 80092924 0008E764 28 05 FF FF */ cmplwi r5, 0xffff
/* 80092928 0008E768 41 82 00 24 */ beq lbl_8009294C
/* 8009292C 0008E76C 38 7E 00 10 */ addi r3, r30, 0x10
/* 80092930 0008E770 38 80 00 02 */ li r4, 0x2
/* 80092934 0008E774 4B FE 55 7D */ bl btu_start_timer
/* 80092938 0008E778 48 00 00 14 */ b lbl_8009294C
.global lbl_8009293C
lbl_8009293C:
/* 8009293C 0008E77C 7F C3 F3 78 */ mr r3, r30
/* 80092940 0008E780 38 80 00 00 */ li r4, 0x0
/* 80092944 0008E784 38 A0 00 00 */ li r5, 0x0
/* 80092948 0008E788 48 00 01 25 */ bl l2c_link_check_send_pkts
.global lbl_8009294C
lbl_8009294C:
/* 8009294C 0008E78C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80092950 0008E790 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80092954 0008E794 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80092958 0008E798 7C 08 03 A6 */ mtlr r0
/* 8009295C 0008E79C 38 21 00 10 */ addi r1, r1, 0x10
/* 80092960 0008E7A0 4E 80 00 20 */ blr
.global l2c_link_send_to_lower
l2c_link_send_to_lower:
/* 80092964 0008E7A4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80092968 0008E7A8 7C 08 02 A6 */ mflr r0
/* 8009296C 0008E7AC 3C C0 80 4F */ lis r6, btu_cb@ha
/* 80092970 0008E7B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80092974 0008E7B4 38 C6 5A 30 */ addi r6, r6, btu_cb@l
/* 80092978 0008E7B8 7C 80 23 78 */ mr r0, r4
/* 8009297C 0008E7BC A0 E4 00 02 */ lhz r7, 0x2(r4)
/* 80092980 0008E7C0 A0 A6 00 7E */ lhz r5, 0x7e(r6)
/* 80092984 0008E7C4 7C 07 28 40 */ cmplw r7, r5
/* 80092988 0008E7C8 41 81 00 40 */ bgt lbl_800929C8
/* 8009298C 0008E7CC A0 83 00 36 */ lhz r4, 0x36(r3)
/* 80092990 0008E7D0 3C C0 80 50 */ lis r6, l2cb@ha
/* 80092994 0008E7D4 A0 A3 00 38 */ lhz r5, 0x38(r3)
/* 80092998 0008E7D8 38 C6 90 20 */ addi r6, r6, l2cb@l
/* 8009299C 0008E7DC 38 E4 FF FF */ addi r7, r4, -0x1
/* 800929A0 0008E7E0 38 80 21 00 */ li r4, 0x2100
/* 800929A4 0008E7E4 38 A5 00 01 */ addi r5, r5, 0x1
/* 800929A8 0008E7E8 B0 E3 00 36 */ sth r7, 0x36(r3)
/* 800929AC 0008E7EC B0 A3 00 38 */ sth r5, 0x38(r3)
/* 800929B0 0008E7F0 7C 03 03 78 */ mr r3, r0
/* 800929B4 0008E7F4 A0 A6 00 04 */ lhz r5, 0x4(r6)
/* 800929B8 0008E7F8 38 05 FF FF */ addi r0, r5, -0x1
/* 800929BC 0008E7FC B0 06 00 04 */ sth r0, 0x4(r6)
/* 800929C0 0008E800 4B FE 4D E1 */ bl bte_hcisu_send
/* 800929C4 0008E804 48 00 00 94 */ b lbl_80092A58
.global lbl_800929C8
lbl_800929C8:
/* 800929C8 0008E808 A1 06 00 7C */ lhz r8, 0x7c(r6)
/* 800929CC 0008E80C 3C A0 80 50 */ lis r5, l2cb@ha
/* 800929D0 0008E810 38 A5 90 20 */ addi r5, r5, l2cb@l
/* 800929D4 0008E814 7C C7 42 14 */ add r6, r7, r8
/* 800929D8 0008E818 A0 E5 00 04 */ lhz r7, 0x4(r5)
/* 800929DC 0008E81C 38 A6 FF FB */ addi r5, r6, -0x5
/* 800929E0 0008E820 7C A5 43 D6 */ divw r5, r5, r8
/* 800929E4 0008E824 54 A8 04 3E */ clrlwi r8, r5, 16
/* 800929E8 0008E828 7C 08 38 40 */ cmplw r8, r7
/* 800929EC 0008E82C 40 81 00 14 */ ble lbl_80092A00
/* 800929F0 0008E830 B0 E4 00 06 */ sth r7, 0x6(r4)
/* 800929F4 0008E834 38 A0 00 01 */ li r5, 0x1
/* 800929F8 0008E838 7C E8 3B 78 */ mr r8, r7
/* 800929FC 0008E83C 98 A3 00 40 */ stb r5, 0x40(r3)
.global lbl_80092A00
lbl_80092A00:
/* 80092A00 0008E840 A0 C3 00 36 */ lhz r6, 0x36(r3)
/* 80092A04 0008E844 55 05 04 3E */ clrlwi r5, r8, 16
/* 80092A08 0008E848 7C 05 30 40 */ cmplw r5, r6
/* 80092A0C 0008E84C 40 81 00 14 */ ble lbl_80092A20
/* 80092A10 0008E850 B0 C4 00 06 */ sth r6, 0x6(r4)
/* 80092A14 0008E854 38 80 00 01 */ li r4, 0x1
/* 80092A18 0008E858 7C C8 33 78 */ mr r8, r6
/* 80092A1C 0008E85C 98 83 00 40 */ stb r4, 0x40(r3)
.global lbl_80092A20
lbl_80092A20:
/* 80092A20 0008E860 3C C0 80 50 */ lis r6, l2cb@ha
/* 80092A24 0008E864 38 80 21 00 */ li r4, 0x2100
/* 80092A28 0008E868 38 C6 90 20 */ addi r6, r6, l2cb@l
/* 80092A2C 0008E86C A0 A6 00 04 */ lhz r5, 0x4(r6)
/* 80092A30 0008E870 7C A8 28 50 */ subf r5, r8, r5
/* 80092A34 0008E874 B0 A6 00 04 */ sth r5, 0x4(r6)
/* 80092A38 0008E878 A0 C3 00 36 */ lhz r6, 0x36(r3)
/* 80092A3C 0008E87C A0 A3 00 38 */ lhz r5, 0x38(r3)
/* 80092A40 0008E880 7C C8 30 50 */ subf r6, r8, r6
/* 80092A44 0008E884 7C A5 42 14 */ add r5, r5, r8
/* 80092A48 0008E888 B0 C3 00 36 */ sth r6, 0x36(r3)
/* 80092A4C 0008E88C B0 A3 00 38 */ sth r5, 0x38(r3)
/* 80092A50 0008E890 7C 03 03 78 */ mr r3, r0
/* 80092A54 0008E894 4B FE 4D 4D */ bl bte_hcisu_send
.global lbl_80092A58
lbl_80092A58:
/* 80092A58 0008E898 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80092A5C 0008E89C 38 60 00 01 */ li r3, 0x1
/* 80092A60 0008E8A0 7C 08 03 A6 */ mtlr r0
/* 80092A64 0008E8A4 38 21 00 10 */ addi r1, r1, 0x10
/* 80092A68 0008E8A8 4E 80 00 20 */ blr
.global l2c_link_check_send_pkts
l2c_link_check_send_pkts:
/* 80092A6C 0008E8AC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80092A70 0008E8B0 7C 08 02 A6 */ mflr r0
/* 80092A74 0008E8B4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80092A78 0008E8B8 39 61 00 30 */ addi r11, r1, 0x30
/* 80092A7C 0008E8BC 4B F7 48 BD */ bl lbl_80007338
/* 80092A80 0008E8C0 2C 05 00 00 */ cmpwi r5, 0x0
/* 80092A84 0008E8C4 3F E0 80 44 */ lis r31, "@1744_8043E5F8"@ha
/* 80092A88 0008E8C8 7C 7D 1B 78 */ mr r29, r3
/* 80092A8C 0008E8CC 7C BE 2B 78 */ mr r30, r5
/* 80092A90 0008E8D0 3B FF E5 F8 */ addi r31, r31, "@1744_8043E5F8"@l
/* 80092A94 0008E8D4 41 82 00 F4 */ beq lbl_80092B88
/* 80092A98 0008E8D8 A0 83 00 4C */ lhz r4, 0x4c(r3)
/* 80092A9C 0008E8DC A0 03 00 3A */ lhz r0, 0x3a(r3)
/* 80092AA0 0008E8E0 7C 04 00 40 */ cmplw r4, r0
/* 80092AA4 0008E8E4 41 80 00 94 */ blt lbl_80092B38
/* 80092AA8 0008E8E8 88 03 00 41 */ lbz r0, 0x41(r3)
/* 80092AAC 0008E8EC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092AB0 0008E8F0 40 82 00 88 */ bne lbl_80092B38
/* 80092AB4 0008E8F4 83 43 00 08 */ lwz r26, 0x8(r3)
/* 80092AB8 0008E8F8 3F 80 00 08 */ lis r28, 0x8
/* 80092ABC 0008E8FC 3F 60 80 50 */ lis r27, l2cb@ha
/* 80092AC0 0008E900 48 00 00 68 */ b lbl_80092B28
.global lbl_80092AC4
lbl_80092AC4:
/* 80092AC4 0008E904 88 1B 90 20 */ lbz r0, l2cb@l(r27)
/* 80092AC8 0008E908 28 00 00 02 */ cmplwi r0, 0x2
/* 80092ACC 0008E90C 41 80 00 14 */ blt lbl_80092AE0
/* 80092AD0 0008E910 A0 BA 00 14 */ lhz r5, 0x14(r26)
/* 80092AD4 0008E914 38 7C 00 01 */ addi r3, r28, 0x1
/* 80092AD8 0008E918 38 9F 00 E4 */ addi r4, r31, 0xe4
/* 80092ADC 0008E91C 4B FE 4E 85 */ bl LogMsg_0
.global lbl_80092AE0
lbl_80092AE0:
/* 80092AE0 0008E920 80 7A 00 30 */ lwz r3, 0x30(r26)
/* 80092AE4 0008E924 80 03 00 28 */ lwz r0, 0x28(r3)
/* 80092AE8 0008E928 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092AEC 0008E92C 41 82 00 38 */ beq lbl_80092B24
/* 80092AF0 0008E930 88 1B 90 20 */ lbz r0, -0x6fe0(r27)
/* 80092AF4 0008E934 28 00 00 03 */ cmplwi r0, 0x3
/* 80092AF8 0008E938 41 80 00 14 */ blt lbl_80092B0C
/* 80092AFC 0008E93C A0 BA 00 14 */ lhz r5, 0x14(r26)
/* 80092B00 0008E940 38 7C 00 02 */ addi r3, r28, 0x2
/* 80092B04 0008E944 38 9F 01 10 */ addi r4, r31, 0x110
/* 80092B08 0008E948 4B FE 4E 59 */ bl LogMsg_0
.global lbl_80092B0C
lbl_80092B0C:
/* 80092B0C 0008E94C 80 BA 00 30 */ lwz r5, 0x30(r26)
/* 80092B10 0008E950 38 80 00 01 */ li r4, 0x1
/* 80092B14 0008E954 A0 7A 00 14 */ lhz r3, 0x14(r26)
/* 80092B18 0008E958 81 85 00 28 */ lwz r12, 0x28(r5)
/* 80092B1C 0008E95C 7D 89 03 A6 */ mtctr r12
/* 80092B20 0008E960 4E 80 04 21 */ bctrl
.global lbl_80092B24
lbl_80092B24:
/* 80092B24 0008E964 83 5A 00 08 */ lwz r26, 0x8(r26)
.global lbl_80092B28
lbl_80092B28:
/* 80092B28 0008E968 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80092B2C 0008E96C 40 82 FF 98 */ bne lbl_80092AC4
/* 80092B30 0008E970 38 00 00 01 */ li r0, 0x1
/* 80092B34 0008E974 98 1D 00 41 */ stb r0, 0x41(r29)
.global lbl_80092B38
lbl_80092B38:
/* 80092B38 0008E978 A0 7D 00 4C */ lhz r3, 0x4c(r29)
/* 80092B3C 0008E97C A0 1D 00 3E */ lhz r0, 0x3e(r29)
/* 80092B40 0008E980 7C 03 00 40 */ cmplw r3, r0
/* 80092B44 0008E984 41 81 00 1C */ bgt lbl_80092B60
/* 80092B48 0008E988 38 00 00 00 */ li r0, 0x0
/* 80092B4C 0008E98C 7F C4 F3 78 */ mr r4, r30
/* 80092B50 0008E990 B0 1E 00 06 */ sth r0, 0x6(r30)
/* 80092B54 0008E994 38 7D 00 44 */ addi r3, r29, 0x44
/* 80092B58 0008E998 4B FE 27 E9 */ bl GKI_enqueue
/* 80092B5C 0008E99C 48 00 00 2C */ b lbl_80092B88
.global lbl_80092B60
lbl_80092B60:
/* 80092B60 0008E9A0 7F C3 F3 78 */ mr r3, r30
/* 80092B64 0008E9A4 4B FE 23 AD */ bl GKI_freebuf
/* 80092B68 0008E9A8 3C 60 80 50 */ lis r3, l2cb@ha
/* 80092B6C 0008E9AC 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80092B70 0008E9B0 28 00 00 02 */ cmplwi r0, 0x2
/* 80092B74 0008E9B4 41 80 00 14 */ blt lbl_80092B88
/* 80092B78 0008E9B8 3C 60 00 08 */ lis r3, 0x8
/* 80092B7C 0008E9BC 38 9F 01 50 */ addi r4, r31, 0x150
/* 80092B80 0008E9C0 38 63 00 01 */ addi r3, r3, 0x1
/* 80092B84 0008E9C4 4B FE 4D DD */ bl LogMsg_0
.global lbl_80092B88
lbl_80092B88:
/* 80092B88 0008E9C8 88 1D 00 40 */ lbz r0, 0x40(r29)
/* 80092B8C 0008E9CC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092B90 0008E9D0 40 82 01 90 */ bne lbl_80092D20
/* 80092B94 0008E9D4 38 7D 00 2A */ addi r3, r29, 0x2a
/* 80092B98 0008E9D8 38 81 00 08 */ addi r4, r1, 0x8
/* 80092B9C 0008E9DC 4B FF 0E 8D */ bl BTM_ReadPowerMode
/* 80092BA0 0008E9E0 54 60 06 3F */ clrlwi. r0, r3, 24
/* 80092BA4 0008E9E4 40 82 00 48 */ bne lbl_80092BEC
/* 80092BA8 0008E9E8 88 01 00 08 */ lbz r0, 0x8(r1)
/* 80092BAC 0008E9EC 28 00 00 03 */ cmplwi r0, 0x3
/* 80092BB0 0008E9F0 40 82 00 3C */ bne lbl_80092BEC
/* 80092BB4 0008E9F4 A0 1D 00 4C */ lhz r0, 0x4c(r29)
/* 80092BB8 0008E9F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092BBC 0008E9FC 41 82 00 30 */ beq lbl_80092BEC
/* 80092BC0 0008EA00 38 00 00 00 */ li r0, 0x0
/* 80092BC4 0008EA04 38 9D 00 2A */ addi r4, r29, 0x2a
/* 80092BC8 0008EA08 98 01 00 14 */ stb r0, 0x14(r1)
/* 80092BCC 0008EA0C 38 A1 00 0C */ addi r5, r1, 0xc
/* 80092BD0 0008EA10 38 60 00 80 */ li r3, 0x80
/* 80092BD4 0008EA14 4B FF 0C 85 */ bl BTM_SetPowerMode
/* 80092BD8 0008EA18 38 7D 00 10 */ addi r3, r29, 0x10
/* 80092BDC 0008EA1C 38 80 00 02 */ li r4, 0x2
/* 80092BE0 0008EA20 38 A0 00 01 */ li r5, 0x1
/* 80092BE4 0008EA24 4B FE 52 CD */ bl btu_start_timer
/* 80092BE8 0008EA28 48 00 01 38 */ b lbl_80092D20
.global lbl_80092BEC
lbl_80092BEC:
/* 80092BEC 0008EA2C 3F 80 80 50 */ lis r28, l2cb@ha
/* 80092BF0 0008EA30 3B 9C 90 20 */ addi r28, r28, l2cb@l
/* 80092BF4 0008EA34 48 00 00 50 */ b lbl_80092C44
.global lbl_80092BF8
lbl_80092BF8:
/* 80092BF8 0008EA38 80 7D 00 44 */ lwz r3, 0x44(r29)
/* 80092BFC 0008EA3C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80092C00 0008EA40 41 82 00 5C */ beq lbl_80092C5C
/* 80092C04 0008EA44 A0 03 00 06 */ lhz r0, 0x6(r3)
/* 80092C08 0008EA48 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C0C 0008EA4C 40 82 00 50 */ bne lbl_80092C5C
/* 80092C10 0008EA50 88 1D 00 40 */ lbz r0, 0x40(r29)
/* 80092C14 0008EA54 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C18 0008EA58 40 82 01 08 */ bne lbl_80092D20
/* 80092C1C 0008EA5C 38 7D 00 44 */ addi r3, r29, 0x44
/* 80092C20 0008EA60 4B FE 29 A1 */ bl GKI_dequeue
/* 80092C24 0008EA64 2C 03 00 00 */ cmpwi r3, 0x0
/* 80092C28 0008EA68 7C 7E 1B 78 */ mr r30, r3
/* 80092C2C 0008EA6C 41 82 00 30 */ beq lbl_80092C5C
/* 80092C30 0008EA70 7F A3 EB 78 */ mr r3, r29
/* 80092C34 0008EA74 7F C4 F3 78 */ mr r4, r30
/* 80092C38 0008EA78 4B FF FD 2D */ bl l2c_link_send_to_lower
/* 80092C3C 0008EA7C 54 60 06 3F */ clrlwi. r0, r3, 24
/* 80092C40 0008EA80 41 82 00 1C */ beq lbl_80092C5C
.global lbl_80092C44
lbl_80092C44:
/* 80092C44 0008EA84 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 80092C48 0008EA88 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C4C 0008EA8C 41 82 00 10 */ beq lbl_80092C5C
/* 80092C50 0008EA90 A0 1D 00 36 */ lhz r0, 0x36(r29)
/* 80092C54 0008EA94 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C58 0008EA98 40 82 FF A0 */ bne lbl_80092BF8
.global lbl_80092C5C
lbl_80092C5C:
/* 80092C5C 0008EA9C 88 1D 00 40 */ lbz r0, 0x40(r29)
/* 80092C60 0008EAA0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C64 0008EAA4 40 82 00 BC */ bne lbl_80092D20
/* 80092C68 0008EAA8 A0 1D 00 4C */ lhz r0, 0x4c(r29)
/* 80092C6C 0008EAAC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C70 0008EAB0 41 82 00 20 */ beq lbl_80092C90
/* 80092C74 0008EAB4 A0 1D 00 36 */ lhz r0, 0x36(r29)
/* 80092C78 0008EAB8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C7C 0008EABC 41 82 00 14 */ beq lbl_80092C90
/* 80092C80 0008EAC0 38 7D 00 10 */ addi r3, r29, 0x10
/* 80092C84 0008EAC4 38 80 00 02 */ li r4, 0x2
/* 80092C88 0008EAC8 38 A0 00 02 */ li r5, 0x2
/* 80092C8C 0008EACC 4B FE 52 25 */ bl btu_start_timer
.global lbl_80092C90
lbl_80092C90:
/* 80092C90 0008EAD0 88 1D 00 41 */ lbz r0, 0x41(r29)
/* 80092C94 0008EAD4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092C98 0008EAD8 41 82 00 88 */ beq lbl_80092D20
/* 80092C9C 0008EADC A0 7D 00 4C */ lhz r3, 0x4c(r29)
/* 80092CA0 0008EAE0 A0 1D 00 3C */ lhz r0, 0x3c(r29)
/* 80092CA4 0008EAE4 7C 03 00 40 */ cmplw r3, r0
/* 80092CA8 0008EAE8 41 81 00 78 */ bgt lbl_80092D20
/* 80092CAC 0008EAEC 38 00 00 00 */ li r0, 0x0
/* 80092CB0 0008EAF0 83 7D 00 08 */ lwz r27, 0x8(r29)
/* 80092CB4 0008EAF4 98 1D 00 41 */ stb r0, 0x41(r29)
/* 80092CB8 0008EAF8 3F C0 00 08 */ lis r30, 0x8
/* 80092CBC 0008EAFC 3F 80 80 50 */ lis r28, l2cb@ha
/* 80092CC0 0008EB00 48 00 00 58 */ b lbl_80092D18
.global lbl_80092CC4
lbl_80092CC4:
/* 80092CC4 0008EB04 80 7B 00 30 */ lwz r3, 0x30(r27)
/* 80092CC8 0008EB08 80 03 00 28 */ lwz r0, 0x28(r3)
/* 80092CCC 0008EB0C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092CD0 0008EB10 41 82 00 44 */ beq lbl_80092D14
/* 80092CD4 0008EB14 88 1C 90 20 */ lbz r0, l2cb@l(r28)
/* 80092CD8 0008EB18 28 00 00 03 */ cmplwi r0, 0x3
/* 80092CDC 0008EB1C 41 80 00 14 */ blt lbl_80092CF0
/* 80092CE0 0008EB20 A0 BB 00 14 */ lhz r5, 0x14(r27)
/* 80092CE4 0008EB24 38 7E 00 02 */ addi r3, r30, 0x2
/* 80092CE8 0008EB28 38 9F 01 70 */ addi r4, r31, 0x170
/* 80092CEC 0008EB2C 4B FE 4C 75 */ bl LogMsg_0
.global lbl_80092CF0
lbl_80092CF0:
/* 80092CF0 0008EB30 80 BB 00 30 */ lwz r5, 0x30(r27)
/* 80092CF4 0008EB34 38 80 00 00 */ li r4, 0x0
/* 80092CF8 0008EB38 A0 7B 00 14 */ lhz r3, 0x14(r27)
/* 80092CFC 0008EB3C 81 85 00 28 */ lwz r12, 0x28(r5)
/* 80092D00 0008EB40 7D 89 03 A6 */ mtctr r12
/* 80092D04 0008EB44 4E 80 04 21 */ bctrl
/* 80092D08 0008EB48 88 1D 00 41 */ lbz r0, 0x41(r29)
/* 80092D0C 0008EB4C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092D10 0008EB50 40 82 00 10 */ bne lbl_80092D20
.global lbl_80092D14
lbl_80092D14:
/* 80092D14 0008EB54 83 7B 00 08 */ lwz r27, 0x8(r27)
.global lbl_80092D18
lbl_80092D18:
/* 80092D18 0008EB58 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80092D1C 0008EB5C 40 82 FF A8 */ bne lbl_80092CC4
.global lbl_80092D20
lbl_80092D20:
/* 80092D20 0008EB60 39 61 00 30 */ addi r11, r1, 0x30
/* 80092D24 0008EB64 4B F7 46 61 */ bl lbl_80007384
/* 80092D28 0008EB68 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80092D2C 0008EB6C 7C 08 03 A6 */ mtlr r0
/* 80092D30 0008EB70 38 21 00 30 */ addi r1, r1, 0x30
/* 80092D34 0008EB74 4E 80 00 20 */ blr
.global l2c_link_adjust_allocation
l2c_link_adjust_allocation:
/* 80092D38 0008EB78 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80092D3C 0008EB7C 7C 08 02 A6 */ mflr r0
/* 80092D40 0008EB80 90 01 00 34 */ stw r0, 0x34(r1)
/* 80092D44 0008EB84 39 61 00 30 */ addi r11, r1, 0x30
/* 80092D48 0008EB88 4B F7 45 E5 */ bl lbl_8000732C
/* 80092D4C 0008EB8C 3C 60 80 50 */ lis r3, l2cb@ha
/* 80092D50 0008EB90 3B 40 00 00 */ li r26, 0x0
/* 80092D54 0008EB94 38 63 90 20 */ addi r3, r3, l2cb@l
/* 80092D58 0008EB98 A0 83 07 B8 */ lhz r4, 0x7b8(r3)
/* 80092D5C 0008EB9C 2C 04 00 00 */ cmpwi r4, 0x0
/* 80092D60 0008EBA0 41 82 01 58 */ beq lbl_80092EB8
/* 80092D64 0008EBA4 88 03 00 08 */ lbz r0, 0x8(r3)
/* 80092D68 0008EBA8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092D6C 0008EBAC 41 82 00 14 */ beq lbl_80092D80
/* 80092D70 0008EBB0 88 03 00 62 */ lbz r0, 0x62(r3)
/* 80092D74 0008EBB4 28 00 00 01 */ cmplwi r0, 0x1
/* 80092D78 0008EBB8 40 82 00 08 */ bne lbl_80092D80
/* 80092D7C 0008EBBC 3B 40 00 01 */ li r26, 0x1
.global lbl_80092D80
lbl_80092D80:
/* 80092D80 0008EBC0 88 03 00 64 */ lbz r0, 0x64(r3)
/* 80092D84 0008EBC4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092D88 0008EBC8 41 82 00 14 */ beq lbl_80092D9C
/* 80092D8C 0008EBCC 88 03 00 BE */ lbz r0, 0xbe(r3)
/* 80092D90 0008EBD0 28 00 00 01 */ cmplwi r0, 0x1
/* 80092D94 0008EBD4 40 82 00 08 */ bne lbl_80092D9C
/* 80092D98 0008EBD8 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_80092D9C
lbl_80092D9C:
/* 80092D9C 0008EBDC 88 03 00 C0 */ lbz r0, 0xc0(r3)
/* 80092DA0 0008EBE0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092DA4 0008EBE4 41 82 00 14 */ beq lbl_80092DB8
/* 80092DA8 0008EBE8 88 03 01 1A */ lbz r0, 0x11a(r3)
/* 80092DAC 0008EBEC 28 00 00 01 */ cmplwi r0, 0x1
/* 80092DB0 0008EBF0 40 82 00 08 */ bne lbl_80092DB8
/* 80092DB4 0008EBF4 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_80092DB8
lbl_80092DB8:
/* 80092DB8 0008EBF8 88 03 01 1C */ lbz r0, 0x11c(r3)
/* 80092DBC 0008EBFC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092DC0 0008EC00 41 82 00 14 */ beq lbl_80092DD4
/* 80092DC4 0008EC04 88 03 01 76 */ lbz r0, 0x176(r3)
/* 80092DC8 0008EC08 28 00 00 01 */ cmplwi r0, 0x1
/* 80092DCC 0008EC0C 40 82 00 08 */ bne lbl_80092DD4
/* 80092DD0 0008EC10 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_80092DD4
lbl_80092DD4:
/* 80092DD4 0008EC14 3F C0 80 50 */ lis r30, l2cb@ha
/* 80092DD8 0008EC18 3B A0 00 00 */ li r29, 0x0
/* 80092DDC 0008EC1C 38 7E 90 20 */ addi r3, r30, l2cb@l
/* 80092DE0 0008EC20 3B E0 00 03 */ li r31, 0x3
/* 80092DE4 0008EC24 A0 03 00 02 */ lhz r0, 0x2(r3)
/* 80092DE8 0008EC28 3B 83 00 08 */ addi r28, r3, 0x8
/* 80092DEC 0008EC2C 3F 00 00 08 */ lis r24, 0x8
/* 80092DF0 0008EC30 3F 20 80 44 */ lis r25, "@1907"@ha
/* 80092DF4 0008EC34 7C 60 23 D6 */ divw r3, r0, r4
/* 80092DF8 0008EC38 3E E0 51 EC */ lis r23, 0x51ec
/* 80092DFC 0008EC3C 38 03 00 01 */ addi r0, r3, 0x1
/* 80092E00 0008EC40 54 1B 04 3E */ clrlwi r27, r0, 16
.global lbl_80092E04
lbl_80092E04:
/* 80092E04 0008EC44 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 80092E08 0008EC48 2C 00 00 00 */ cmpwi r0, 0x0
/* 80092E0C 0008EC4C 41 82 00 9C */ beq lbl_80092EA8
/* 80092E10 0008EC50 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80092E14 0008EC54 41 82 00 10 */ beq lbl_80092E24
/* 80092E18 0008EC58 88 1C 00 5A */ lbz r0, 0x5a(r28)
/* 80092E1C 0008EC5C 28 00 00 01 */ cmplwi r0, 0x1
/* 80092E20 0008EC60 40 82 00 10 */ bne lbl_80092E30
.global lbl_80092E24
lbl_80092E24:
/* 80092E24 0008EC64 B3 7C 00 34 */ sth r27, 0x34(r28)
/* 80092E28 0008EC68 B3 7C 00 36 */ sth r27, 0x36(r28)
/* 80092E2C 0008EC6C 48 00 00 0C */ b lbl_80092E38
.global lbl_80092E30
lbl_80092E30:
/* 80092E30 0008EC70 B3 FC 00 34 */ sth r31, 0x34(r28)
/* 80092E34 0008EC74 B3 FC 00 36 */ sth r31, 0x36(r28)
.global lbl_80092E38
lbl_80092E38:
/* 80092E38 0008EC78 A0 1C 00 34 */ lhz r0, 0x34(r28)
/* 80092E3C 0008EC7C 38 77 85 1F */ addi r3, r23, -0x7ae1
/* 80092E40 0008EC80 1C 00 00 78 */ mulli r0, r0, 0x78
/* 80092E44 0008EC84 7C 03 00 96 */ mulhw r0, r3, r0
/* 80092E48 0008EC88 7C 00 2E 70 */ srawi r0, r0, 5
/* 80092E4C 0008EC8C 54 03 0F FE */ srwi r3, r0, 31
/* 80092E50 0008EC90 7C 00 1A 14 */ add r0, r0, r3
/* 80092E54 0008EC94 54 04 04 3E */ clrlwi r4, r0, 16
/* 80092E58 0008EC98 B0 1C 00 3A */ sth r0, 0x3a(r28)
/* 80092E5C 0008EC9C 7C 04 F8 10 */ subfc r0, r4, r31
/* 80092E60 0008ECA0 7C 60 01 10 */ subfe r3, r0, r0
/* 80092E64 0008ECA4 38 04 FF FD */ addi r0, r4, -0x3
/* 80092E68 0008ECA8 7C 03 18 38 */ and r3, r0, r3
/* 80092E6C 0008ECAC B0 7C 00 3C */ sth r3, 0x3c(r28)
/* 80092E70 0008ECB0 38 04 00 02 */ addi r0, r4, 0x2
/* 80092E74 0008ECB4 B0 1C 00 3E */ sth r0, 0x3e(r28)
/* 80092E78 0008ECB8 88 1E 90 20 */ lbz r0, -0x6fe0(r30)
/* 80092E7C 0008ECBC 28 00 00 05 */ cmplwi r0, 0x5
/* 80092E80 0008ECC0 41 80 00 28 */ blt lbl_80092EA8
/* 80092E84 0008ECC4 88 DC 00 5A */ lbz r6, 0x5a(r28)
/* 80092E88 0008ECC8 38 78 00 04 */ addi r3, r24, 0x4
/* 80092E8C 0008ECCC A0 FC 00 36 */ lhz r7, 0x36(r28)
/* 80092E90 0008ECD0 38 99 E7 A8 */ addi r4, r25, "@1907"@l
/* 80092E94 0008ECD4 A1 1C 00 3A */ lhz r8, 0x3a(r28)
/* 80092E98 0008ECD8 57 A5 04 3E */ clrlwi r5, r29, 16
/* 80092E9C 0008ECDC A1 3C 00 3C */ lhz r9, 0x3c(r28)
/* 80092EA0 0008ECE0 A1 5C 00 3E */ lhz r10, 0x3e(r28)
/* 80092EA4 0008ECE4 4B FE 4A BD */ bl LogMsg_0
.global lbl_80092EA8
lbl_80092EA8:
/* 80092EA8 0008ECE8 3B BD 00 01 */ addi r29, r29, 0x1
/* 80092EAC 0008ECEC 3B 9C 00 5C */ addi r28, r28, 0x5c
/* 80092EB0 0008ECF0 28 1D 00 04 */ cmplwi r29, 0x4
/* 80092EB4 0008ECF4 41 80 FF 50 */ blt lbl_80092E04
.global lbl_80092EB8
lbl_80092EB8:
/* 80092EB8 0008ECF8 39 61 00 30 */ addi r11, r1, 0x30
/* 80092EBC 0008ECFC 4B F7 44 BD */ bl lbl_80007378
/* 80092EC0 0008ED00 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80092EC4 0008ED04 7C 08 03 A6 */ mtlr r0
/* 80092EC8 0008ED08 38 21 00 30 */ addi r1, r1, 0x30
/* 80092ECC 0008ED0C 4E 80 00 20 */ blr
.global l2c_link_process_num_completed_pkts
l2c_link_process_num_completed_pkts:
/* 80092ED0 0008ED10 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80092ED4 0008ED14 7C 08 02 A6 */ mflr r0
/* 80092ED8 0008ED18 90 01 00 24 */ stw r0, 0x24(r1)
/* 80092EDC 0008ED1C 39 61 00 20 */ addi r11, r1, 0x20
/* 80092EE0 0008ED20 4B F7 44 59 */ bl lbl_80007338
/* 80092EE4 0008ED24 3F 80 80 50 */ lis r28, l2cb@ha
/* 80092EE8 0008ED28 8B E3 00 00 */ lbz r31, 0x0(r3)
/* 80092EEC 0008ED2C 3B A3 00 01 */ addi r29, r3, 0x1
/* 80092EF0 0008ED30 3B C0 00 00 */ li r30, 0x0
/* 80092EF4 0008ED34 3B 9C 90 20 */ addi r28, r28, l2cb@l
/* 80092EF8 0008ED38 3B 60 00 00 */ li r27, 0x0
/* 80092EFC 0008ED3C 48 00 00 94 */ b lbl_80092F90
.global lbl_80092F00
lbl_80092F00:
/* 80092F00 0008ED40 88 7D 00 01 */ lbz r3, 0x1(r29)
/* 80092F04 0008ED44 88 1D 00 03 */ lbz r0, 0x3(r29)
/* 80092F08 0008ED48 54 64 40 2E */ slwi r4, r3, 8
/* 80092F0C 0008ED4C 88 BD 00 00 */ lbz r5, 0x0(r29)
/* 80092F10 0008ED50 88 7D 00 02 */ lbz r3, 0x2(r29)
/* 80092F14 0008ED54 54 00 40 2E */ slwi r0, r0, 8
/* 80092F18 0008ED58 7C 85 22 14 */ add r4, r5, r4
/* 80092F1C 0008ED5C 3B BD 00 04 */ addi r29, r29, 0x4
/* 80092F20 0008ED60 7C 03 02 14 */ add r0, r3, r0
/* 80092F24 0008ED64 54 83 04 3E */ clrlwi r3, r4, 16
/* 80092F28 0008ED68 54 1A 04 3E */ clrlwi r26, r0, 16
/* 80092F2C 0008ED6C 48 00 17 71 */ bl l2cu_find_lcb_by_handle
/* 80092F30 0008ED70 2C 03 00 00 */ cmpwi r3, 0x0
/* 80092F34 0008ED74 41 82 00 58 */ beq lbl_80092F8C
/* 80092F38 0008ED78 A0 03 00 36 */ lhz r0, 0x36(r3)
/* 80092F3C 0008ED7C 7C 00 D2 14 */ add r0, r0, r26
/* 80092F40 0008ED80 B0 03 00 36 */ sth r0, 0x36(r3)
/* 80092F44 0008ED84 54 00 04 3E */ clrlwi r0, r0, 16
/* 80092F48 0008ED88 A0 83 00 34 */ lhz r4, 0x34(r3)
/* 80092F4C 0008ED8C 7C 00 20 40 */ cmplw r0, r4
/* 80092F50 0008ED90 40 81 00 08 */ ble lbl_80092F58
/* 80092F54 0008ED94 B0 83 00 36 */ sth r4, 0x36(r3)
.global lbl_80092F58
lbl_80092F58:
/* 80092F58 0008ED98 A0 03 00 38 */ lhz r0, 0x38(r3)
/* 80092F5C 0008ED9C 7C 00 D0 40 */ cmplw r0, r26
/* 80092F60 0008EDA0 40 81 00 10 */ ble lbl_80092F70
/* 80092F64 0008EDA4 7C 1A 00 50 */ subf r0, r26, r0
/* 80092F68 0008EDA8 B0 03 00 38 */ sth r0, 0x38(r3)
/* 80092F6C 0008EDAC 48 00 00 08 */ b lbl_80092F74
.global lbl_80092F70
lbl_80092F70:
/* 80092F70 0008EDB0 B3 63 00 38 */ sth r27, 0x38(r3)
.global lbl_80092F74
lbl_80092F74:
/* 80092F74 0008EDB4 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 80092F78 0008EDB8 38 80 00 00 */ li r4, 0x0
/* 80092F7C 0008EDBC 38 A0 00 00 */ li r5, 0x0
/* 80092F80 0008EDC0 7C 00 D2 14 */ add r0, r0, r26
/* 80092F84 0008EDC4 B0 1C 00 04 */ sth r0, 0x4(r28)
/* 80092F88 0008EDC8 4B FF FA E5 */ bl l2c_link_check_send_pkts
.global lbl_80092F8C
lbl_80092F8C:
/* 80092F8C 0008EDCC 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_80092F90
lbl_80092F90:
/* 80092F90 0008EDD0 57 C0 06 3E */ clrlwi r0, r30, 24
/* 80092F94 0008EDD4 7C 00 F8 40 */ cmplw r0, r31
/* 80092F98 0008EDD8 41 80 FF 68 */ blt lbl_80092F00
/* 80092F9C 0008EDDC 39 61 00 20 */ addi r11, r1, 0x20
/* 80092FA0 0008EDE0 4B F7 43 E5 */ bl lbl_80007384
/* 80092FA4 0008EDE4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80092FA8 0008EDE8 7C 08 03 A6 */ mtlr r0
/* 80092FAC 0008EDEC 38 21 00 20 */ addi r1, r1, 0x20
/* 80092FB0 0008EDF0 4E 80 00 20 */ blr
.global l2c_link_processs_num_bufs
l2c_link_processs_num_bufs:
/* 80092FB4 0008EDF4 3C 80 80 50 */ lis r4, l2cb@ha
/* 80092FB8 0008EDF8 38 84 90 20 */ addi r4, r4, l2cb@l
/* 80092FBC 0008EDFC B0 64 00 02 */ sth r3, 0x2(r4)
/* 80092FC0 0008EE00 B0 64 00 04 */ sth r3, 0x4(r4)
/* 80092FC4 0008EE04 4E 80 00 20 */ blr
.global l2cap_link_chk_pkt_start
l2cap_link_chk_pkt_start:
/* 80092FC8 0008EE08 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80092FCC 0008EE0C 7C 08 02 A6 */ mflr r0
/* 80092FD0 0008EE10 90 01 00 34 */ stw r0, 0x34(r1)
/* 80092FD4 0008EE14 39 61 00 30 */ addi r11, r1, 0x30
/* 80092FD8 0008EE18 4B F7 43 59 */ bl lbl_80007330
/* 80092FDC 0008EE1C A0 03 00 04 */ lhz r0, 0x4(r3)
/* 80092FE0 0008EE20 38 C0 00 00 */ li r6, 0x0
/* 80092FE4 0008EE24 B0 C3 00 06 */ sth r6, 0x6(r3)
/* 80092FE8 0008EE28 3F 00 80 50 */ lis r24, l2cb@ha
/* 80092FEC 0008EE2C 7C E3 02 14 */ add r7, r3, r0
/* 80092FF0 0008EE30 7C 7C 1B 78 */ mr r28, r3
/* 80092FF4 0008EE34 88 67 00 09 */ lbz r3, 0x9(r7)
/* 80092FF8 0008EE38 3B 38 90 20 */ addi r25, r24, l2cb@l
/* 80092FFC 0008EE3C 88 07 00 0B */ lbz r0, 0xb(r7)
/* 80093000 0008EE40 54 64 40 2E */ slwi r4, r3, 8
/* 80093004 0008EE44 88 A7 00 08 */ lbz r5, 0x8(r7)
/* 80093008 0008EE48 88 67 00 0A */ lbz r3, 0xa(r7)
/* 8009300C 0008EE4C 54 00 40 2E */ slwi r0, r0, 8
/* 80093010 0008EE50 7C 85 22 14 */ add r4, r5, r4
/* 80093014 0008EE54 7C 03 02 14 */ add r0, r3, r0
/* 80093018 0008EE58 90 D9 07 BC */ stw r6, 0x7bc(r25)
/* 8009301C 0008EE5C 54 1F 04 3E */ clrlwi r31, r0, 16
/* 80093020 0008EE60 54 9B A7 BE */ extrwi r27, r4, 2, 18
/* 80093024 0008EE64 54 83 05 3E */ clrlwi r3, r4, 20
/* 80093028 0008EE68 48 00 16 75 */ bl l2cu_find_lcb_by_handle
/* 8009302C 0008EE6C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80093030 0008EE70 7C 7A 1B 78 */ mr r26, r3
/* 80093034 0008EE74 40 82 00 0C */ bne lbl_80093040
/* 80093038 0008EE78 7F 83 E3 78 */ mr r3, r28
/* 8009303C 0008EE7C 48 00 01 44 */ b lbl_80093180
.global lbl_80093040
lbl_80093040:
/* 80093040 0008EE80 28 1B 00 02 */ cmplwi r27, 0x2
/* 80093044 0008EE84 40 82 00 50 */ bne lbl_80093094
/* 80093048 0008EE88 80 03 00 50 */ lwz r0, 0x50(r3)
/* 8009304C 0008EE8C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80093050 0008EE90 41 82 00 2C */ beq lbl_8009307C
/* 80093054 0008EE94 88 18 90 20 */ lbz r0, -0x6fe0(r24)
/* 80093058 0008EE98 28 00 00 02 */ cmplwi r0, 0x2
/* 8009305C 0008EE9C 41 80 00 18 */ blt lbl_80093074
/* 80093060 0008EEA0 3C 60 00 08 */ lis r3, 0x8
/* 80093064 0008EEA4 3C 80 80 44 */ lis r4, "@1949"@ha
/* 80093068 0008EEA8 38 63 00 01 */ addi r3, r3, 0x1
/* 8009306C 0008EEAC 38 84 E7 F0 */ addi r4, r4, "@1949"@l
/* 80093070 0008EEB0 4B FE 48 F1 */ bl LogMsg_0
.global lbl_80093074
lbl_80093074:
/* 80093074 0008EEB4 80 7A 00 50 */ lwz r3, 0x50(r26)
/* 80093078 0008EEB8 4B FE 1E 99 */ bl GKI_freebuf
.global lbl_8009307C
lbl_8009307C:
/* 8009307C 0008EEBC 3C 60 80 50 */ lis r3, l2cb@ha
/* 80093080 0008EEC0 93 9A 00 50 */ stw r28, 0x50(r26)
/* 80093084 0008EEC4 38 63 90 20 */ addi r3, r3, l2cb@l
/* 80093088 0008EEC8 7F 9E E3 78 */ mr r30, r28
/* 8009308C 0008EECC 93 43 07 BC */ stw r26, 0x7bc(r3)
/* 80093090 0008EED0 48 00 00 DC */ b lbl_8009316C
.global lbl_80093094
lbl_80093094:
/* 80093094 0008EED4 83 C3 00 50 */ lwz r30, 0x50(r3)
/* 80093098 0008EED8 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8009309C 0008EEDC 41 82 00 CC */ beq lbl_80093168
/* 800930A0 0008EEE0 A0 1E 00 04 */ lhz r0, 0x4(r30)
/* 800930A4 0008EEE4 7F 7E 02 14 */ add r27, r30, r0
/* 800930A8 0008EEE8 88 1B 00 0B */ lbz r0, 0xb(r27)
/* 800930AC 0008EEEC 88 9B 00 0A */ lbz r4, 0xa(r27)
/* 800930B0 0008EEF0 54 00 40 2E */ slwi r0, r0, 8
/* 800930B4 0008EEF4 7C 04 02 14 */ add r0, r4, r0
/* 800930B8 0008EEF8 54 1D 04 3E */ clrlwi r29, r0, 16
/* 800930BC 0008EEFC 7C 1D FA 14 */ add r0, r29, r31
/* 800930C0 0008EF00 2C 00 06 9F */ cmpwi r0, 0x69f
/* 800930C4 0008EF04 41 81 00 6C */ bgt lbl_80093130
/* 800930C8 0008EF08 90 79 07 BC */ stw r3, 0x7bc(r25)
/* 800930CC 0008EF0C A0 7C 00 02 */ lhz r3, 0x2(r28)
/* 800930D0 0008EF10 28 03 00 04 */ cmplwi r3, 0x4
/* 800930D4 0008EF14 40 81 00 40 */ ble lbl_80093114
/* 800930D8 0008EF18 A0 9E 00 04 */ lhz r4, 0x4(r30)
/* 800930DC 0008EF1C 38 A3 FF FC */ addi r5, r3, -0x4
/* 800930E0 0008EF20 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800930E4 0008EF24 7C DE 22 14 */ add r6, r30, r4
/* 800930E8 0008EF28 A0 7E 00 02 */ lhz r3, 0x2(r30)
/* 800930EC 0008EF2C 7C 9C 02 14 */ add r4, r28, r0
/* 800930F0 0008EF30 7C 66 1A 14 */ add r3, r6, r3
/* 800930F4 0008EF34 38 63 00 08 */ addi r3, r3, 0x8
/* 800930F8 0008EF38 38 84 00 0C */ addi r4, r4, 0xc
/* 800930FC 0008EF3C 4B F7 0F 05 */ bl memcpy
/* 80093100 0008EF40 A0 7E 00 02 */ lhz r3, 0x2(r30)
/* 80093104 0008EF44 A0 1C 00 02 */ lhz r0, 0x2(r28)
/* 80093108 0008EF48 7C 60 1A 14 */ add r3, r0, r3
/* 8009310C 0008EF4C 38 03 FF FC */ addi r0, r3, -0x4
/* 80093110 0008EF50 B0 1E 00 02 */ sth r0, 0x2(r30)
.global lbl_80093114
lbl_80093114:
/* 80093114 0008EF54 7F 83 E3 78 */ mr r3, r28
/* 80093118 0008EF58 4B FE 1D F9 */ bl GKI_freebuf
/* 8009311C 0008EF5C 7F BD FA 14 */ add r29, r29, r31
/* 80093120 0008EF60 9B BB 00 0A */ stb r29, 0xa(r27)
/* 80093124 0008EF64 57 A0 C6 3E */ extrwi r0, r29, 8, 16
/* 80093128 0008EF68 98 1B 00 0B */ stb r0, 0xb(r27)
/* 8009312C 0008EF6C 48 00 00 40 */ b lbl_8009316C
.global lbl_80093130
lbl_80093130:
/* 80093130 0008EF70 88 18 90 20 */ lbz r0, -0x6fe0(r24)
/* 80093134 0008EF74 28 00 00 02 */ cmplwi r0, 0x2
/* 80093138 0008EF78 41 80 00 18 */ blt lbl_80093150
/* 8009313C 0008EF7C 3C 60 00 08 */ lis r3, 0x8
/* 80093140 0008EF80 3C 80 80 44 */ lis r4, "@1950"@ha
/* 80093144 0008EF84 38 63 00 01 */ addi r3, r3, 0x1
/* 80093148 0008EF88 38 84 E8 10 */ addi r4, r4, "@1950"@l
/* 8009314C 0008EF8C 4B FE 48 15 */ bl LogMsg_0
.global lbl_80093150
lbl_80093150:
/* 80093150 0008EF90 80 7A 00 50 */ lwz r3, 0x50(r26)
/* 80093154 0008EF94 4B FE 1D BD */ bl GKI_freebuf
/* 80093158 0008EF98 38 00 00 00 */ li r0, 0x0
/* 8009315C 0008EF9C 3B C0 00 00 */ li r30, 0x0
/* 80093160 0008EFA0 90 1A 00 50 */ stw r0, 0x50(r26)
/* 80093164 0008EFA4 48 00 00 08 */ b lbl_8009316C
.global lbl_80093168
lbl_80093168:
/* 80093168 0008EFA8 3B C0 00 00 */ li r30, 0x0
.global lbl_8009316C
lbl_8009316C:
/* 8009316C 0008EFAC 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80093170 0008EFB0 40 82 00 0C */ bne lbl_8009317C
/* 80093174 0008EFB4 7F 83 E3 78 */ mr r3, r28
/* 80093178 0008EFB8 4B FE 1D 99 */ bl GKI_freebuf
.global lbl_8009317C
lbl_8009317C:
/* 8009317C 0008EFBC 7F C3 F3 78 */ mr r3, r30
.global lbl_80093180
lbl_80093180:
/* 80093180 0008EFC0 39 61 00 30 */ addi r11, r1, 0x30
/* 80093184 0008EFC4 4B F7 41 F9 */ bl lbl_8000737C
/* 80093188 0008EFC8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8009318C 0008EFCC 7C 08 03 A6 */ mtlr r0
/* 80093190 0008EFD0 38 21 00 30 */ addi r1, r1, 0x30
/* 80093194 0008EFD4 4E 80 00 20 */ blr
.global l2cap_link_chk_pkt_end
l2cap_link_chk_pkt_end:
/* 80093198 0008EFD8 3C 60 80 50 */ lis r3, l2cb@ha
/* 8009319C 0008EFDC 38 63 90 20 */ addi r3, r3, l2cb@l
/* 800931A0 0008EFE0 80 C3 07 BC */ lwz r6, 0x7bc(r3)
/* 800931A4 0008EFE4 2C 06 00 00 */ cmpwi r6, 0x0
/* 800931A8 0008EFE8 41 82 00 10 */ beq lbl_800931B8
/* 800931AC 0008EFEC 80 86 00 50 */ lwz r4, 0x50(r6)
/* 800931B0 0008EFF0 2C 04 00 00 */ cmpwi r4, 0x0
/* 800931B4 0008EFF4 40 82 00 0C */ bne lbl_800931C0
.global lbl_800931B8
lbl_800931B8:
/* 800931B8 0008EFF8 38 60 00 01 */ li r3, 0x1
/* 800931BC 0008EFFC 4E 80 00 20 */ blr
.global lbl_800931C0
lbl_800931C0:
/* 800931C0 0008F000 A0 04 00 04 */ lhz r0, 0x4(r4)
/* 800931C4 0008F004 A0 64 00 02 */ lhz r3, 0x2(r4)
/* 800931C8 0008F008 7C A4 02 14 */ add r5, r4, r0
/* 800931CC 0008F00C 88 85 00 0D */ lbz r4, 0xd(r5)
/* 800931D0 0008F010 38 03 FF F8 */ addi r0, r3, -0x8
/* 800931D4 0008F014 88 A5 00 0C */ lbz r5, 0xc(r5)
/* 800931D8 0008F018 54 83 40 2E */ slwi r3, r4, 8
/* 800931DC 0008F01C 7C 65 1A 14 */ add r3, r5, r3
/* 800931E0 0008F020 54 63 04 3E */ clrlwi r3, r3, 16
/* 800931E4 0008F024 7C 03 00 00 */ cmpw r3, r0
/* 800931E8 0008F028 40 81 00 0C */ ble lbl_800931F4
/* 800931EC 0008F02C 38 60 00 00 */ li r3, 0x0
/* 800931F0 0008F030 4E 80 00 20 */ blr
.global lbl_800931F4
lbl_800931F4:
/* 800931F4 0008F034 38 00 00 00 */ li r0, 0x0
/* 800931F8 0008F038 38 60 00 01 */ li r3, 0x1
/* 800931FC 0008F03C 90 06 00 50 */ stw r0, 0x50(r6)
/* 80093200 0008F040 4E 80 00 20 */ blr
.global l2c_link_role_changed
l2c_link_role_changed:
/* 80093204 0008F044 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80093208 0008F048 7C 08 02 A6 */ mflr r0
/* 8009320C 0008F04C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80093210 0008F050 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80093214 0008F054 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80093218 0008F058 7C 9E 23 78 */ mr r30, r4
/* 8009321C 0008F05C 48 00 13 F9 */ bl l2cu_find_lcb_by_bd_addr
/* 80093220 0008F060 2C 03 00 00 */ cmpwi r3, 0x0
/* 80093224 0008F064 41 82 00 08 */ beq lbl_8009322C
/* 80093228 0008F068 9B C3 00 30 */ stb r30, 0x30(r3)
.global lbl_8009322C
lbl_8009322C:
/* 8009322C 0008F06C 3C 60 80 50 */ lis r3, l2cb@ha
/* 80093230 0008F070 3B C0 00 00 */ li r30, 0x0
/* 80093234 0008F074 38 63 90 20 */ addi r3, r3, l2cb@l
/* 80093238 0008F078 3B E3 00 08 */ addi r31, r3, 0x8
.global lbl_8009323C
lbl_8009323C:
/* 8009323C 0008F07C 88 1F 00 00 */ lbz r0, 0x0(r31)
/* 80093240 0008F080 2C 00 00 00 */ cmpwi r0, 0x0
/* 80093244 0008F084 41 82 00 18 */ beq lbl_8009325C
/* 80093248 0008F088 80 1F 00 04 */ lwz r0, 0x4(r31)
/* 8009324C 0008F08C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80093250 0008F090 40 82 00 0C */ bne lbl_8009325C
/* 80093254 0008F094 7F E3 FB 78 */ mr r3, r31
/* 80093258 0008F098 48 00 2E 65 */ bl l2cu_create_conn_after_switch
.global lbl_8009325C
lbl_8009325C:
/* 8009325C 0008F09C 3B DE 00 01 */ addi r30, r30, 0x1
/* 80093260 0008F0A0 3B FF 00 5C */ addi r31, r31, 0x5c
/* 80093264 0008F0A4 2C 1E 00 04 */ cmpwi r30, 0x4
/* 80093268 0008F0A8 41 80 FF D4 */ blt lbl_8009323C
/* 8009326C 0008F0AC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80093270 0008F0B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80093274 0008F0B4 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80093278 0008F0B8 7C 08 03 A6 */ mtlr r0
/* 8009327C 0008F0BC 38 21 00 10 */ addi r1, r1, 0x10
/* 80093280 0008F0C0 4E 80 00 20 */ blr
.global l2c_link_role_change_failed
l2c_link_role_change_failed:
/* 80093284 0008F0C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80093288 0008F0C8 7C 08 02 A6 */ mflr r0
/* 8009328C 0008F0CC 3C 60 80 50 */ lis r3, l2cb@ha
/* 80093290 0008F0D0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80093294 0008F0D4 38 63 90 20 */ addi r3, r3, l2cb@l
/* 80093298 0008F0D8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009329C 0008F0DC 3B E3 00 08 */ addi r31, r3, 0x8
/* 800932A0 0008F0E0 93 C1 00 08 */ stw r30, 0x8(r1)
/* 800932A4 0008F0E4 3B C0 00 00 */ li r30, 0x0
.global lbl_800932A8
lbl_800932A8:
/* 800932A8 0008F0E8 88 1F 00 00 */ lbz r0, 0x0(r31)
/* 800932AC 0008F0EC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800932B0 0008F0F0 41 82 00 18 */ beq lbl_800932C8
/* 800932B4 0008F0F4 80 1F 00 04 */ lwz r0, 0x4(r31)
/* 800932B8 0008F0F8 2C 00 00 02 */ cmpwi r0, 0x2
/* 800932BC 0008F0FC 40 82 00 0C */ bne lbl_800932C8
/* 800932C0 0008F100 7F E3 FB 78 */ mr r3, r31
/* 800932C4 0008F104 48 00 2D F9 */ bl l2cu_create_conn_after_switch
.global lbl_800932C8
lbl_800932C8:
/* 800932C8 0008F108 3B DE 00 01 */ addi r30, r30, 0x1
/* 800932CC 0008F10C 3B FF 00 5C */ addi r31, r31, 0x5c
/* 800932D0 0008F110 2C 1E 00 04 */ cmpwi r30, 0x4
/* 800932D4 0008F114 41 80 FF D4 */ blt lbl_800932A8
/* 800932D8 0008F118 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800932DC 0008F11C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800932E0 0008F120 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 800932E4 0008F124 7C 08 03 A6 */ mtlr r0
/* 800932E8 0008F128 38 21 00 10 */ addi r1, r1, 0x10
/* 800932EC 0008F12C 4E 80 00 20 */ blr
.global l2c_link_segments_xmitted
l2c_link_segments_xmitted:
/* 800932F0 0008F130 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800932F4 0008F134 7C 08 02 A6 */ mflr r0
/* 800932F8 0008F138 90 01 00 24 */ stw r0, 0x24(r1)
/* 800932FC 0008F13C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80093300 0008F140 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80093304 0008F144 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80093308 0008F148 7C 7D 1B 78 */ mr r29, r3
/* 8009330C 0008F14C A0 03 00 04 */ lhz r0, 0x4(r3)
/* 80093310 0008F150 7C 63 02 14 */ add r3, r3, r0
/* 80093314 0008F154 88 03 00 09 */ lbz r0, 0x9(r3)
/* 80093318 0008F158 88 63 00 08 */ lbz r3, 0x8(r3)
/* 8009331C 0008F15C 54 00 40 2E */ slwi r0, r0, 8
/* 80093320 0008F160 7C 03 02 14 */ add r0, r3, r0
/* 80093324 0008F164 54 1F 05 3E */ clrlwi r31, r0, 20
/* 80093328 0008F168 7F E3 FB 78 */ mr r3, r31
/* 8009332C 0008F16C 48 00 13 71 */ bl l2cu_find_lcb_by_handle
/* 80093330 0008F170 2C 03 00 00 */ cmpwi r3, 0x0
/* 80093334 0008F174 7C 7E 1B 78 */ mr r30, r3
/* 80093338 0008F178 40 82 00 38 */ bne lbl_80093370
/* 8009333C 0008F17C 3C 60 80 50 */ lis r3, l2cb@ha
/* 80093340 0008F180 88 03 90 20 */ lbz r0, l2cb@l(r3)
/* 80093344 0008F184 28 00 00 02 */ cmplwi r0, 0x2
/* 80093348 0008F188 41 80 00 1C */ blt lbl_80093364
/* 8009334C 0008F18C 3C 60 00 08 */ lis r3, 0x8
/* 80093350 0008F190 3C 80 80 44 */ lis r4, "@1986"@ha
/* 80093354 0008F194 7F E5 FB 78 */ mr r5, r31
/* 80093358 0008F198 38 63 00 01 */ addi r3, r3, 0x1
/* 8009335C 0008F19C 38 84 E8 30 */ addi r4, r4, "@1986"@l
/* 80093360 0008F1A0 4B FE 46 01 */ bl LogMsg_0
.global lbl_80093364
lbl_80093364:
/* 80093364 0008F1A4 7F A3 EB 78 */ mr r3, r29
/* 80093368 0008F1A8 4B FE 1B A9 */ bl GKI_freebuf
/* 8009336C 0008F1AC 48 00 00 44 */ b lbl_800933B0
.global lbl_80093370
lbl_80093370:
/* 80093370 0008F1B0 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80093374 0008F1B4 2C 00 00 04 */ cmpwi r0, 0x4
/* 80093378 0008F1B8 40 82 00 30 */ bne lbl_800933A8
/* 8009337C 0008F1BC 3B E0 00 00 */ li r31, 0x0
/* 80093380 0008F1C0 7F A4 EB 78 */ mr r4, r29
/* 80093384 0008F1C4 B3 FD 00 06 */ sth r31, 0x6(r29)
/* 80093388 0008F1C8 38 63 00 44 */ addi r3, r3, 0x44
/* 8009338C 0008F1CC 4B FE 20 F5 */ bl GKI_enqueue_head
/* 80093390 0008F1D0 9B FE 00 40 */ stb r31, 0x40(r30)
/* 80093394 0008F1D4 7F C3 F3 78 */ mr r3, r30
/* 80093398 0008F1D8 38 80 00 00 */ li r4, 0x0
/* 8009339C 0008F1DC 38 A0 00 00 */ li r5, 0x0
/* 800933A0 0008F1E0 4B FF F6 CD */ bl l2c_link_check_send_pkts
/* 800933A4 0008F1E4 48 00 00 0C */ b lbl_800933B0
.global lbl_800933A8
lbl_800933A8:
/* 800933A8 0008F1E8 7F A3 EB 78 */ mr r3, r29
/* 800933AC 0008F1EC 4B FE 1B 65 */ bl GKI_freebuf
.global lbl_800933B0
lbl_800933B0:
/* 800933B0 0008F1F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800933B4 0008F1F4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800933B8 0008F1F8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800933BC 0008F1FC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800933C0 0008F200 7C 08 03 A6 */ mtlr r0
/* 800933C4 0008F204 38 21 00 20 */ addi r1, r1, 0x20
/* 800933C8 0008F208 4E 80 00 20 */ blr
.global l2c_pin_code_request
l2c_pin_code_request:
/* 800933CC 0008F20C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800933D0 0008F210 7C 08 02 A6 */ mflr r0
/* 800933D4 0008F214 90 01 00 14 */ stw r0, 0x14(r1)
/* 800933D8 0008F218 48 00 12 3D */ bl l2cu_find_lcb_by_bd_addr
/* 800933DC 0008F21C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800933E0 0008F220 41 82 00 20 */ beq lbl_80093400
/* 800933E4 0008F224 80 03 00 08 */ lwz r0, 0x8(r3)
/* 800933E8 0008F228 2C 00 00 00 */ cmpwi r0, 0x0
/* 800933EC 0008F22C 40 82 00 14 */ bne lbl_80093400
/* 800933F0 0008F230 38 80 00 02 */ li r4, 0x2
/* 800933F4 0008F234 38 A0 00 78 */ li r5, 0x78
/* 800933F8 0008F238 38 63 00 10 */ addi r3, r3, 0x10
/* 800933FC 0008F23C 4B FE 4A B5 */ bl btu_start_timer
.global lbl_80093400
lbl_80093400:
/* 80093400 0008F240 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80093404 0008F244 7C 08 03 A6 */ mtlr r0
/* 80093408 0008F248 38 21 00 10 */ addi r1, r1, 0x10
/* 8009340C 0008F24C 4E 80 00 20 */ blr
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@1744_8043E5F8"
"@1744_8043E5F8":
.4byte 0x4C324341
.4byte 0x50206661
.4byte 0x696C6564
.4byte 0x20746F20
.4byte 0x616C6C6F
.4byte 0x63617465
.4byte 0x204C4342
.4byte 0
.global "@1745_8043E618"
"@1745_8043E618":
.4byte 0x4C324341
.4byte 0x5020676F
.4byte 0x7420636F
.4byte 0x6E6E5F72
.4byte 0x65712077
.4byte 0x68696C65
.4byte 0x20636F6E
.4byte 0x6E656374
.4byte 0x65640000
.4byte 0
.global "@1771"
"@1771":
.4byte 0x4C324341
.4byte 0x5020676F
.4byte 0x7420636F
.4byte 0x6E6E5F63
.4byte 0x6F6D7020
.4byte 0x666F7220
.4byte 0x756E6B6E
.4byte 0x6F776E20
.4byte 0x42445F41
.4byte 0x44445200
.global "@1772"
"@1772":
.4byte 0x4C324341
.4byte 0x5020676F
.4byte 0x7420636F
.4byte 0x6E6E5F63
.4byte 0x6F6D7020
.4byte 0x696E2062
.4byte 0x61642073
.4byte 0x74617465
.4byte 0x3A202564
.4byte 0x20207374
.4byte 0x61747573
.4byte 0x3A203078
.4byte 0x25640000
.global "@1783_8043E69C"
"@1783_8043E69C":
.4byte 0x4C324341
.4byte 0x5020676F
.4byte 0x74207365
.4byte 0x635F636F
.4byte 0x6D702066
.4byte 0x6F722075
.4byte 0x6E6B6E6F
.4byte 0x776E2042
.4byte 0x445F4144
.4byte 0x44520000
.global "@1822_8043E6C4"
"@1822_8043E6C4":
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x70696E67
.4byte 0x2074696D
.4byte 0x656F7574
.4byte 0
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x436F6E67
.4byte 0x65737465
.4byte 0x6428292C
.4byte 0x20434944
.4byte 0x3A203078
.4byte 0x25303478
.4byte 0x2C20436F
.4byte 0x6E676573
.4byte 0x74656400
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x43616C6C
.4byte 0x696E6720
.4byte 0x436F6E67
.4byte 0x65737469
.4byte 0x6F6E5374
.4byte 0x61747573
.4byte 0x5F436228
.4byte 0x292C2043
.4byte 0x49443A20
.4byte 0x30782530
.4byte 0x34782C20
.4byte 0x436F6E67
.4byte 0x65737465
.4byte 0x64000000
.4byte 0x21212120
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x62756666
.4byte 0x65722064
.4byte 0x726F7070
.4byte 0x65640000
.4byte 0
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x43616C6C
.4byte 0x696E6720
.4byte 0x436F6E67
.4byte 0x65737469
.4byte 0x6F6E5374
.4byte 0x61747573
.4byte 0x5F436228
.4byte 0x292C2043
.4byte 0x49443A20
.4byte 0x30782530
.4byte 0x34782C20
.4byte 0x556E636F
.4byte 0x6E676573
.4byte 0x74656400
.global "@1907"
"@1907":
.4byte 0x4C434220
.4byte 0x25642050
.4byte 0x72696F72
.4byte 0x6974793A
.4byte 0x25642058
.4byte 0x6D697457
.4byte 0x696E646F
.4byte 0x773A2564
.4byte 0x20436F6E
.4byte 0x67657374
.4byte 0x696F6E20
.4byte 0x53746172
.4byte 0x743A2564
.4byte 0x20456E64
.4byte 0x3A256420
.4byte 0x44697363
.4byte 0x6172643A
.4byte 0x25640000
.global "@1949"
"@1949":
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x64726F70
.4byte 0x70696E67
.4byte 0x20696E63
.4byte 0x6F6D706C
.4byte 0x65746520
.4byte 0x706B7400
.global "@1950"
"@1950":
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x64726F70
.4byte 0x70696E67
.4byte 0x20746F6F
.4byte 0x206C6F6E
.4byte 0x6720706B
.4byte 0x74000000
.global "@1986"
"@1986":
.4byte 0x4C324341
.4byte 0x50202D20
.4byte 0x72637664
.4byte 0x20736567
.4byte 0x6D656E74
.4byte 0x20636F6D
.4byte 0x706C6574
.4byte 0x652C2075
.4byte 0x6E6B6E6F
.4byte 0x776E2068
.4byte 0x616E646C
.4byte 0x653A2025
.4byte 0x64000000
.4byte 0