2022-10-16 16:05:58 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_SecRegister
|
|
|
|
BTM_SecRegister:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085268 000810A8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8008526C 000810AC 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085270 000810B0 3C C0 80 4F */ lis r6, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085274 000810B4 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085278 000810B8 38 C6 5F 58 */ addi r6, r6, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008527C 000810BC 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
|
|
/* 80085280 000810C0 80 83 00 04 */ lwz r4, 0x4(r3)
|
|
|
|
/* 80085284 000810C4 88 06 27 C0 */ lbz r0, 0x27c0(r6)
|
|
|
|
/* 80085288 000810C8 90 A6 19 0C */ stw r5, 0x190c(r6)
|
|
|
|
/* 8008528C 000810CC 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80085290 000810D0 90 86 19 10 */ stw r4, 0x1910(r6)
|
|
|
|
/* 80085294 000810D4 80 83 00 08 */ lwz r4, 0x8(r3)
|
|
|
|
/* 80085298 000810D8 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
|
|
/* 8008529C 000810DC 90 86 19 14 */ stw r4, 0x1914(r6)
|
|
|
|
/* 800852A0 000810E0 90 06 19 18 */ stw r0, 0x1918(r6)
|
|
|
|
/* 800852A4 000810E4 80 83 00 10 */ lwz r4, 0x10(r3)
|
|
|
|
/* 800852A8 000810E8 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
|
|
/* 800852AC 000810EC 90 86 19 1C */ stw r4, 0x191c(r6)
|
|
|
|
/* 800852B0 000810F0 90 06 19 20 */ stw r0, 0x1920(r6)
|
|
|
|
/* 800852B4 000810F4 41 80 00 18 */ blt lbl_800852CC
|
|
|
|
/* 800852B8 000810F8 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800852BC 000810FC 3C 80 80 44 */ lis r4, "@2854"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800852C0 00081100 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800852C4 00081104 38 84 C2 80 */ addi r4, r4, "@2854"@l
|
|
|
|
/* 800852C8 00081108 4B FF 26 99 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800852CC
|
|
|
|
lbl_800852CC:
|
|
|
|
/* 800852CC 0008110C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800852D0 00081110 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 800852D4 00081114 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800852D8 00081118 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800852DC 0008111C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_SecAddRmtNameNotifyCallback
|
|
|
|
BTM_SecAddRmtNameNotifyCallback:
|
|
|
|
/* 800852E0 00081120 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800852E4 00081124 38 00 00 02 */ li r0, 0x2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800852E8 00081128 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800852EC 0008112C 38 A0 00 00 */ li r5, 0x0
|
|
|
|
/* 800852F0 00081130 7C 09 03 A6 */ mtctr r0
|
|
|
|
.global lbl_800852F4
|
|
|
|
lbl_800852F4:
|
|
|
|
/* 800852F4 00081134 80 04 19 2C */ lwz r0, 0x192c(r4)
|
|
|
|
/* 800852F8 00081138 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800852FC 0008113C 40 82 00 20 */ bne lbl_8008531C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085300 00081140 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085304 00081144 54 A0 10 3A */ slwi r0, r5, 2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085308 00081148 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008530C 0008114C 7C 84 02 14 */ add r4, r4, r0
|
|
|
|
/* 80085310 00081150 90 64 19 2C */ stw r3, 0x192c(r4)
|
|
|
|
/* 80085314 00081154 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80085318 00081158 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8008531C
|
|
|
|
lbl_8008531C:
|
|
|
|
/* 8008531C 0008115C 38 84 00 04 */ addi r4, r4, 0x4
|
|
|
|
/* 80085320 00081160 38 A5 00 01 */ addi r5, r5, 0x1
|
|
|
|
/* 80085324 00081164 42 00 FF D0 */ bdnz lbl_800852F4
|
|
|
|
/* 80085328 00081168 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 8008532C 0008116C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_SecDeleteRmtNameNotifyCallback
|
|
|
|
BTM_SecDeleteRmtNameNotifyCallback:
|
|
|
|
/* 80085330 00081170 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085334 00081174 38 00 00 02 */ li r0, 0x2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085338 00081178 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008533C 0008117C 38 A0 00 00 */ li r5, 0x0
|
|
|
|
/* 80085340 00081180 7C 09 03 A6 */ mtctr r0
|
|
|
|
.global lbl_80085344
|
|
|
|
lbl_80085344:
|
|
|
|
/* 80085344 00081184 80 04 19 2C */ lwz r0, 0x192c(r4)
|
|
|
|
/* 80085348 00081188 7C 00 18 40 */ cmplw r0, r3
|
|
|
|
/* 8008534C 0008118C 40 82 00 24 */ bne lbl_80085370
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085350 00081190 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085354 00081194 54 A0 10 3A */ slwi r0, r5, 2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085358 00081198 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008535C 0008119C 38 A0 00 00 */ li r5, 0x0
|
|
|
|
/* 80085360 000811A0 7C 83 02 14 */ add r4, r3, r0
|
|
|
|
/* 80085364 000811A4 90 A4 19 2C */ stw r5, 0x192c(r4)
|
|
|
|
/* 80085368 000811A8 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 8008536C 000811AC 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80085370
|
|
|
|
lbl_80085370:
|
|
|
|
/* 80085370 000811B0 38 84 00 04 */ addi r4, r4, 0x4
|
|
|
|
/* 80085374 000811B4 38 A5 00 01 */ addi r5, r5, 0x1
|
|
|
|
/* 80085378 000811B8 42 00 FF CC */ bdnz lbl_80085344
|
|
|
|
/* 8008537C 000811BC 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80085380 000811C0 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_SetPinType
|
|
|
|
BTM_SetPinType:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085384 000811C4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80085388 000811C8 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008538C 000811CC 3C C0 80 4F */ lis r6, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085390 000811D0 90 01 00 24 */ stw r0, 0x24(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085394 000811D4 38 C6 5F 58 */ addi r6, r6, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085398 000811D8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 8008539C 000811DC 7C BF 2B 78 */ mr r31, r5
|
|
|
|
/* 800853A0 000811E0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 800853A4 000811E4 7C 9E 23 78 */ mr r30, r4
|
|
|
|
/* 800853A8 000811E8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 800853AC 000811EC 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 800853B0 000811F0 88 06 27 C0 */ lbz r0, 0x27c0(r6)
|
|
|
|
/* 800853B4 000811F4 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800853B8 000811F8 41 80 00 24 */ blt lbl_800853DC
|
|
|
|
/* 800853BC 000811FC 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800853C0 00081200 3C 80 80 44 */ lis r4, "@2900"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800853C4 00081204 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 800853C8 00081208 7F C6 F3 78 */ mr r6, r30
|
|
|
|
/* 800853CC 0008120C 7F E7 FB 78 */ mr r7, r31
|
|
|
|
/* 800853D0 00081210 38 63 00 02 */ addi r3, r3, 0x2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800853D4 00081214 38 84 C3 18 */ addi r4, r4, "@2900"@l
|
|
|
|
/* 800853D8 00081218 4B FF 25 89 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800853DC
|
|
|
|
lbl_800853DC:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800853DC 0008121C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800853E0 00081220 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800853E4 00081224 88 03 06 4E */ lbz r0, 0x64e(r3)
|
|
|
|
/* 800853E8 00081228 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800853EC 0008122C 40 81 00 0C */ ble lbl_800853F8
|
|
|
|
/* 800853F0 00081230 7F A3 EB 78 */ mr r3, r29
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800853F4 00081234 48 00 6A 41 */ bl btsnd_hcic_write_pin_type
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800853F8
|
|
|
|
lbl_800853F8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800853F8 00081238 3C C0 80 4F */ lis r6, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800853FC 0008123C 7F C4 F3 78 */ mr r4, r30
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085400 00081240 38 C6 5F 58 */ addi r6, r6, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085404 00081244 7F E5 FB 78 */ mr r5, r31
|
|
|
|
/* 80085408 00081248 9B A6 00 20 */ stb r29, 0x20(r6)
|
|
|
|
/* 8008540C 0008124C 38 66 00 22 */ addi r3, r6, 0x22
|
|
|
|
/* 80085410 00081250 9B E6 00 21 */ stb r31, 0x21(r6)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085414 00081254 4B F7 EB ED */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085418 00081258 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8008541C 0008125C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 80085420 00081260 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 80085424 00081264 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 80085428 00081268 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8008542C 0008126C 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80085430 00081270 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_SetSecurityLevel
|
|
|
|
BTM_SetSecurityLevel:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085434 00081274 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
|
|
/* 80085438 00081278 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8008543C 0008127C 90 01 00 44 */ stw r0, 0x44(r1)
|
|
|
|
/* 80085440 00081280 39 61 00 40 */ addi r11, r1, 0x40
|
|
|
|
/* 80085444 00081284 4B F8 1E DD */ bl lbl_80007320
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085448 00081288 3D 40 80 4F */ lis r10, btm_cb@ha
|
|
|
|
/* 8008544C 0008128C 3F E0 80 44 */ lis r31, "@2854"@ha
|
|
|
|
/* 80085450 00081290 39 4A 5F 58 */ addi r10, r10, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085454 00081294 3D 60 00 01 */ lis r11, 0x1
|
|
|
|
/* 80085458 00081298 7C 74 1B 78 */ mr r20, r3
|
|
|
|
/* 8008545C 0008129C 7C 95 23 78 */ mr r21, r4
|
|
|
|
/* 80085460 000812A0 7C B6 2B 78 */ mr r22, r5
|
|
|
|
/* 80085464 000812A4 7C D7 33 78 */ mr r23, r6
|
|
|
|
/* 80085468 000812A8 7C F8 3B 78 */ mr r24, r7
|
|
|
|
/* 8008546C 000812AC 7D 19 43 78 */ mr r25, r8
|
|
|
|
/* 80085470 000812B0 7D 3A 4B 78 */ mr r26, r9
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085474 000812B4 3B FF C2 80 */ addi r31, r31, "@2854"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085478 000812B8 3B 8B FF FF */ addi r28, r11, -0x1
|
|
|
|
/* 8008547C 000812BC 3B CA 19 90 */ addi r30, r10, 0x1990
|
|
|
|
/* 80085480 000812C0 3B 60 00 00 */ li r27, 0x0
|
|
|
|
/* 80085484 000812C4 3B A0 00 00 */ li r29, 0x0
|
|
|
|
.global lbl_80085488
|
|
|
|
lbl_80085488:
|
|
|
|
/* 80085488 000812C8 88 1E 00 0E */ lbz r0, 0xe(r30)
|
|
|
|
/* 8008548C 000812CC 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085490 000812D0 41 82 00 60 */ beq lbl_800854F0
|
|
|
|
/* 80085494 000812D4 A0 1E 00 0C */ lhz r0, 0xc(r30)
|
|
|
|
/* 80085498 000812D8 7C 00 C0 40 */ cmplw r0, r24
|
|
|
|
/* 8008549C 000812DC 40 82 00 64 */ bne lbl_80085500
|
|
|
|
/* 800854A0 000812E0 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
|
|
/* 800854A4 000812E4 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 800854A8 000812E8 40 82 00 58 */ bne lbl_80085500
|
|
|
|
/* 800854AC 000812EC 88 1E 00 0F */ lbz r0, 0xf(r30)
|
|
|
|
/* 800854B0 000812F0 7C 16 00 40 */ cmplw r22, r0
|
|
|
|
/* 800854B4 000812F4 40 82 00 4C */ bne lbl_80085500
|
|
|
|
/* 800854B8 000812F8 7E A3 AB 78 */ mr r3, r21
|
|
|
|
/* 800854BC 000812FC 38 9E 00 10 */ addi r4, r30, 0x10
|
|
|
|
/* 800854C0 00081300 38 A0 00 15 */ li r5, 0x15
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800854C4 00081304 4B F8 87 95 */ bl strncmp
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800854C8 00081308 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800854CC 0008130C 41 82 00 1C */ beq lbl_800854E8
|
|
|
|
/* 800854D0 00081310 7E A3 AB 78 */ mr r3, r21
|
|
|
|
/* 800854D4 00081314 38 9E 00 26 */ addi r4, r30, 0x26
|
|
|
|
/* 800854D8 00081318 38 A0 00 15 */ li r5, 0x15
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800854DC 0008131C 4B F8 87 7D */ bl strncmp
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800854E0 00081320 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800854E4 00081324 40 82 00 1C */ bne lbl_80085500
|
|
|
|
.global lbl_800854E8
|
|
|
|
lbl_800854E8:
|
|
|
|
/* 800854E8 00081328 3B 60 00 01 */ li r27, 0x1
|
|
|
|
/* 800854EC 0008132C 48 00 00 24 */ b lbl_80085510
|
|
|
|
.global lbl_800854F0
|
|
|
|
lbl_800854F0:
|
|
|
|
/* 800854F0 00081330 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
|
|
/* 800854F4 00081334 40 82 00 0C */ bne lbl_80085500
|
|
|
|
/* 800854F8 00081338 3B 60 00 01 */ li r27, 0x1
|
|
|
|
/* 800854FC 0008133C 7F BC EB 78 */ mr r28, r29
|
|
|
|
.global lbl_80085500
|
|
|
|
lbl_80085500:
|
|
|
|
/* 80085500 00081340 3B BD 00 01 */ addi r29, r29, 0x1
|
|
|
|
/* 80085504 00081344 3B DE 00 3C */ addi r30, r30, 0x3c
|
|
|
|
/* 80085508 00081348 28 1D 00 18 */ cmplwi r29, 0x18
|
|
|
|
/* 8008550C 0008134C 41 80 FF 7C */ blt lbl_80085488
|
|
|
|
.global lbl_80085510
|
|
|
|
lbl_80085510:
|
|
|
|
/* 80085510 00081350 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
|
|
/* 80085514 00081354 41 82 01 04 */ beq lbl_80085618
|
|
|
|
/* 80085518 00081358 57 A0 04 3E */ clrlwi r0, r29, 16
|
|
|
|
/* 8008551C 0008135C 28 00 00 18 */ cmplwi r0, 0x18
|
|
|
|
/* 80085520 00081360 41 80 00 20 */ blt lbl_80085540
|
|
|
|
/* 80085524 00081364 57 80 04 3E */ clrlwi r0, r28, 16
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085528 00081368 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008552C 0008136C 1C 00 00 3C */ mulli r0, r0, 0x3c
|
|
|
|
/* 80085530 00081370 7F 9D E3 78 */ mr r29, r28
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085534 00081374 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085538 00081378 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 8008553C 0008137C 3B C3 19 90 */ addi r30, r3, 0x1990
|
|
|
|
.global lbl_80085540
|
|
|
|
lbl_80085540:
|
|
|
|
/* 80085540 00081380 B3 1E 00 0C */ sth r24, 0xc(r30)
|
|
|
|
/* 80085544 00081384 2C 14 00 00 */ cmpwi r20, 0x0
|
|
|
|
/* 80085548 00081388 9A DE 00 0F */ stb r22, 0xf(r30)
|
|
|
|
/* 8008554C 0008138C 93 3E 00 00 */ stw r25, 0x0(r30)
|
|
|
|
/* 80085550 00081390 41 82 00 28 */ beq lbl_80085578
|
|
|
|
/* 80085554 00081394 93 5E 00 04 */ stw r26, 0x4(r30)
|
|
|
|
/* 80085558 00081398 7E A4 AB 78 */ mr r4, r21
|
|
|
|
/* 8008555C 0008139C 38 7E 00 10 */ addi r3, r30, 0x10
|
|
|
|
/* 80085560 000813A0 38 A0 00 15 */ li r5, 0x15
|
|
|
|
/* 80085564 000813A4 88 1E 00 0E */ lbz r0, 0xe(r30)
|
|
|
|
/* 80085568 000813A8 54 00 07 72 */ rlwinm r0, r0, 0, 29, 25
|
|
|
|
/* 8008556C 000813AC 98 1E 00 0E */ stb r0, 0xe(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085570 000813B0 4B F8 85 11 */ bl strncpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085574 000813B4 48 00 00 24 */ b lbl_80085598
|
|
|
|
.global lbl_80085578
|
|
|
|
lbl_80085578:
|
|
|
|
/* 80085578 000813B8 93 5E 00 08 */ stw r26, 0x8(r30)
|
|
|
|
/* 8008557C 000813BC 7E A4 AB 78 */ mr r4, r21
|
|
|
|
/* 80085580 000813C0 38 7E 00 26 */ addi r3, r30, 0x26
|
|
|
|
/* 80085584 000813C4 38 A0 00 15 */ li r5, 0x15
|
|
|
|
/* 80085588 000813C8 88 1E 00 0E */ lbz r0, 0xe(r30)
|
|
|
|
/* 8008558C 000813CC 54 00 06 38 */ rlwinm r0, r0, 0, 24, 28
|
|
|
|
/* 80085590 000813D0 98 1E 00 0E */ stb r0, 0xe(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085594 000813D4 4B F8 84 ED */ bl strncpy
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085598
|
|
|
|
lbl_80085598:
|
|
|
|
/* 80085598 000813D8 88 9E 00 0E */ lbz r4, 0xe(r30)
|
|
|
|
/* 8008559C 000813DC 62 E0 00 80 */ ori r0, r23, 0x80
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800855A0 000813E0 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800855A4 000813E4 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 800855A8 000813E8 98 1E 00 0E */ stb r0, 0xe(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800855AC 000813EC 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800855B0 000813F0 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800855B4 000813F4 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800855B8 000813F8 41 80 00 2C */ blt lbl_800855E4
|
|
|
|
/* 800855BC 000813FC 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 800855C0 00081400 7E C6 B3 78 */ mr r6, r22
|
|
|
|
/* 800855C4 00081404 7E 87 A3 78 */ mr r7, r20
|
|
|
|
/* 800855C8 00081408 7F 08 C3 78 */ mr r8, r24
|
|
|
|
/* 800855CC 0008140C 7F 29 CB 78 */ mr r9, r25
|
|
|
|
/* 800855D0 00081410 7F 4A D3 78 */ mr r10, r26
|
|
|
|
/* 800855D4 00081414 38 63 00 02 */ addi r3, r3, 0x2
|
|
|
|
/* 800855D8 00081418 38 9F 00 E0 */ addi r4, r31, 0xe0
|
|
|
|
/* 800855DC 0008141C 57 A5 04 3E */ clrlwi r5, r29, 16
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800855E0 00081420 4B FF 23 81 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800855E4
|
|
|
|
lbl_800855E4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800855E4 00081424 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800855E8 00081428 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800855EC 0008142C 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800855F0 00081430 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800855F4 00081434 41 80 00 4C */ blt lbl_80085640
|
|
|
|
/* 800855F8 00081438 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 800855FC 0008143C 88 BE 00 0E */ lbz r5, 0xe(r30)
|
|
|
|
/* 80085600 00081440 7E A6 AB 78 */ mr r6, r21
|
|
|
|
/* 80085604 00081444 38 9F 01 28 */ addi r4, r31, 0x128
|
|
|
|
/* 80085608 00081448 38 63 00 02 */ addi r3, r3, 0x2
|
|
|
|
/* 8008560C 0008144C 38 E0 00 15 */ li r7, 0x15
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085610 00081450 4B FF 23 51 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085614 00081454 48 00 00 2C */ b lbl_80085640
|
|
|
|
.global lbl_80085618
|
|
|
|
lbl_80085618:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085618 00081458 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 8008561C 0008145C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085620 00081460 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085624 00081464 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80085628 00081468 41 80 00 18 */ blt lbl_80085640
|
|
|
|
/* 8008562C 0008146C 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80085630 00081470 38 9F 01 70 */ addi r4, r31, 0x170
|
|
|
|
/* 80085634 00081474 38 63 00 01 */ addi r3, r3, 0x1
|
|
|
|
/* 80085638 00081478 38 A0 00 18 */ li r5, 0x18
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008563C 0008147C 4B FF 23 25 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085640
|
|
|
|
lbl_80085640:
|
|
|
|
/* 80085640 00081480 39 61 00 40 */ addi r11, r1, 0x40
|
|
|
|
/* 80085644 00081484 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 80085648 00081488 4B F8 1D 25 */ bl lbl_8000736C
|
|
|
|
/* 8008564C 0008148C 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
|
|
/* 80085650 00081490 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80085654 00081494 38 21 00 40 */ addi r1, r1, 0x40
|
|
|
|
/* 80085658 00081498 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_PINCodeReply
|
|
|
|
BTM_PINCodeReply:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008565C 0008149C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 80085660 000814A0 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80085664 000814A4 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 80085668 000814A8 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 8008566C 000814AC 4B F8 1C C9 */ bl lbl_80007334
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085670 000814B0 3F C0 80 4F */ lis r30, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085674 000814B4 7C 79 1B 78 */ mr r25, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085678 000814B8 3B DE 5F 58 */ addi r30, r30, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008567C 000814BC 7C 9A 23 78 */ mr r26, r4
|
|
|
|
/* 80085680 000814C0 80 1E 19 4C */ lwz r0, 0x194c(r30)
|
|
|
|
/* 80085684 000814C4 7C BB 2B 78 */ mr r27, r5
|
|
|
|
/* 80085688 000814C8 7C DC 33 78 */ mr r28, r6
|
|
|
|
/* 8008568C 000814CC 7C FD 3B 78 */ mr r29, r7
|
|
|
|
/* 80085690 000814D0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80085694 000814D4 41 82 00 74 */ beq lbl_80085708
|
|
|
|
/* 80085698 000814D8 38 7E 19 3C */ addi r3, r30, 0x193c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008569C 000814DC 4B FF 28 85 */ bl btu_stop_timer
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800856A0 000814E0 3B E0 00 00 */ li r31, 0x0
|
|
|
|
/* 800856A4 000814E4 38 7E 19 54 */ addi r3, r30, 0x1954
|
|
|
|
/* 800856A8 000814E8 93 FE 19 4C */ stw r31, 0x194c(r30)
|
|
|
|
/* 800856AC 000814EC 38 80 00 FF */ li r4, 0xff
|
|
|
|
/* 800856B0 000814F0 38 A0 00 06 */ li r5, 0x6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800856B4 000814F4 4B F7 EC 9D */ bl memset
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800856B8 000814F8 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 800856BC 000814FC 41 82 00 18 */ beq lbl_800856D4
|
|
|
|
/* 800856C0 00081500 38 00 00 0E */ li r0, 0xe
|
|
|
|
/* 800856C4 00081504 7F 23 CB 78 */ mr r3, r25
|
|
|
|
/* 800856C8 00081508 98 1E 27 BF */ stb r0, 0x27bf(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800856CC 0008150C 48 00 59 69 */ bl btsnd_hcic_pin_code_neg_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800856D0 00081510 48 00 00 38 */ b lbl_80085708
|
|
|
|
.global lbl_800856D4
|
|
|
|
lbl_800856D4:
|
|
|
|
/* 800856D4 00081514 9B FE 27 BF */ stb r31, 0x27bf(r30)
|
|
|
|
/* 800856D8 00081518 7F 23 CB 78 */ mr r3, r25
|
|
|
|
/* 800856DC 0008151C 7F 64 DB 78 */ mr r4, r27
|
|
|
|
/* 800856E0 00081520 7F 85 E3 78 */ mr r5, r28
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800856E4 00081524 48 00 57 6D */ bl btsnd_hcic_pin_code_req_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800856E8 00081528 7F 23 CB 78 */ mr r3, r25
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800856EC 0008152C 4B FF A8 E9 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800856F0 00081530 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800856F4 00081534 41 82 00 14 */ beq lbl_80085708
|
|
|
|
/* 800856F8 00081538 80 1D 00 00 */ lwz r0, 0x0(r29)
|
|
|
|
/* 800856FC 0008153C 90 03 00 10 */ stw r0, 0x10(r3)
|
|
|
|
/* 80085700 00081540 80 1D 00 04 */ lwz r0, 0x4(r29)
|
|
|
|
/* 80085704 00081544 90 03 00 14 */ stw r0, 0x14(r3)
|
|
|
|
.global lbl_80085708
|
|
|
|
lbl_80085708:
|
|
|
|
/* 80085708 00081548 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 8008570C 0008154C 4B F8 1C 75 */ bl lbl_80007380
|
|
|
|
/* 80085710 00081550 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 80085714 00081554 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80085718 00081558 38 21 00 30 */ addi r1, r1, 0x30
|
|
|
|
/* 8008571C 0008155C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_DeviceAuthorized
|
|
|
|
BTM_DeviceAuthorized:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085720 00081560 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80085724 00081564 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80085728 00081568 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8008572C 0008156C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 80085730 00081570 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 80085734 00081574 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80085738 00081578 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 8008573C 0008157C 7C BD 2B 78 */ mr r29, r5
|
|
|
|
/* 80085740 00081580 93 81 00 10 */ stw r28, 0x10(r1)
|
|
|
|
/* 80085744 00081584 7C 9C 23 78 */ mr r28, r4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085748 00081588 4B FF A8 8D */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008574C 0008158C 2C 83 00 00 */ cmpwi cr1, r3, 0x0
|
|
|
|
/* 80085750 00081590 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80085754 00081594 40 86 00 48 */ bne cr1, lbl_8008579C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085758 00081598 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 8008575C 0008159C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085760 000815A0 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085764 000815A4 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80085768 000815A8 41 80 01 74 */ blt lbl_800858DC
|
|
|
|
/* 8008576C 000815AC 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085770 000815B0 3C 80 80 44 */ lis r4, "@2972_8043C420"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085774 000815B4 88 BE 00 00 */ lbz r5, 0x0(r30)
|
|
|
|
/* 80085778 000815B8 38 63 00 01 */ addi r3, r3, 0x1
|
|
|
|
/* 8008577C 000815BC 88 DE 00 01 */ lbz r6, 0x1(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085780 000815C0 38 84 C4 20 */ addi r4, r4, "@2972_8043C420"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085784 000815C4 88 FE 00 02 */ lbz r7, 0x2(r30)
|
|
|
|
/* 80085788 000815C8 89 1E 00 03 */ lbz r8, 0x3(r30)
|
|
|
|
/* 8008578C 000815CC 89 3E 00 04 */ lbz r9, 0x4(r30)
|
|
|
|
/* 80085790 000815D0 89 5E 00 05 */ lbz r10, 0x5(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085794 000815D4 4B FF 21 CD */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085798 000815D8 48 00 01 44 */ b lbl_800858DC
|
|
|
|
.global lbl_8008579C
|
|
|
|
lbl_8008579C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008579C 000815DC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800857A0 000815E0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800857A4 000815E4 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800857A8 000815E8 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 800857AC 000815EC 41 80 00 2C */ blt lbl_800857D8
|
|
|
|
/* 800857B0 000815F0 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800857B4 000815F4 3C 80 80 44 */ lis r4, "@2973_8043C480"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800857B8 000815F8 7F 85 E3 78 */ mr r5, r28
|
|
|
|
/* 800857BC 000815FC 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800857C0 00081600 38 84 C4 80 */ addi r4, r4, "@2973_8043C480"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800857C4 00081604 41 86 00 0C */ beq cr1, lbl_800857D0
|
|
|
|
/* 800857C8 00081608 88 DF 00 7F */ lbz r6, 0x7f(r31)
|
|
|
|
/* 800857CC 0008160C 48 00 00 08 */ b lbl_800857D4
|
|
|
|
.global lbl_800857D0
|
|
|
|
lbl_800857D0:
|
|
|
|
/* 800857D0 00081610 38 C0 00 00 */ li r6, 0x0
|
|
|
|
.global lbl_800857D4
|
|
|
|
lbl_800857D4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800857D4 00081614 4B FF 21 8D */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800857D8
|
|
|
|
lbl_800857D8:
|
|
|
|
/* 800857D8 00081618 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 800857DC 0008161C 40 82 00 20 */ bne lbl_800857FC
|
|
|
|
/* 800857E0 00081620 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 800857E4 00081624 60 00 00 01 */ ori r0, r0, 0x1
|
|
|
|
/* 800857E8 00081628 98 1F 00 76 */ stb r0, 0x76(r31)
|
|
|
|
/* 800857EC 0008162C 80 1D 00 00 */ lwz r0, 0x0(r29)
|
|
|
|
/* 800857F0 00081630 90 1F 00 10 */ stw r0, 0x10(r31)
|
|
|
|
/* 800857F4 00081634 80 1D 00 04 */ lwz r0, 0x4(r29)
|
|
|
|
/* 800857F8 00081638 90 1F 00 14 */ stw r0, 0x14(r31)
|
|
|
|
.global lbl_800857FC
|
|
|
|
lbl_800857FC:
|
|
|
|
/* 800857FC 0008163C 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 80085800 00081640 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80085804 00081644 40 82 00 D8 */ bne lbl_800858DC
|
|
|
|
/* 80085808 00081648 3B A0 00 00 */ li r29, 0x0
|
|
|
|
/* 8008580C 0008164C 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 80085810 00081650 9B BF 00 7F */ stb r29, 0x7f(r31)
|
|
|
|
/* 80085814 00081654 41 82 00 5C */ beq lbl_80085870
|
|
|
|
/* 80085818 00081658 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
|
|
/* 8008581C 0008165C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80085820 00081660 41 82 00 BC */ beq lbl_800858DC
|
|
|
|
/* 80085824 00081664 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 80085828 00081668 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 8008582C 0008166C 41 82 00 20 */ beq lbl_8008584C
|
|
|
|
/* 80085830 00081670 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
|
|
/* 80085834 00081674 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80085838 00081678 41 82 00 14 */ beq lbl_8008584C
|
|
|
|
/* 8008583C 0008167C 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 80085840 00081680 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80085844 00081684 40 82 00 08 */ bne lbl_8008584C
|
|
|
|
/* 80085848 00081688 93 A3 00 04 */ stw r29, 0x4(r3)
|
|
|
|
.global lbl_8008584C
|
|
|
|
lbl_8008584C:
|
|
|
|
/* 8008584C 0008168C 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 80085850 00081690 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 80085854 00081694 7F 85 E3 78 */ mr r5, r28
|
|
|
|
/* 80085858 00081698 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 8008585C 0008169C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80085860 000816A0 4E 80 04 21 */ bctrl
|
|
|
|
/* 80085864 000816A4 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80085868 000816A8 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
/* 8008586C 000816AC 48 00 00 70 */ b lbl_800858DC
|
|
|
|
.global lbl_80085870
|
|
|
|
lbl_80085870:
|
|
|
|
/* 80085870 000816B0 7F E3 FB 78 */ mr r3, r31
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085874 000816B4 48 00 23 A9 */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085878 000816B8 54 60 06 3E */ clrlwi r0, r3, 24
|
|
|
|
/* 8008587C 000816BC 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 80085880 000816C0 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80085884 000816C4 41 82 00 58 */ beq lbl_800858DC
|
|
|
|
/* 80085888 000816C8 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
|
|
/* 8008588C 000816CC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80085890 000816D0 41 82 00 4C */ beq lbl_800858DC
|
|
|
|
/* 80085894 000816D4 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 80085898 000816D8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 8008589C 000816DC 41 82 00 20 */ beq lbl_800858BC
|
|
|
|
/* 800858A0 000816E0 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
|
|
/* 800858A4 000816E4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800858A8 000816E8 41 82 00 14 */ beq lbl_800858BC
|
|
|
|
/* 800858AC 000816EC 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 800858B0 000816F0 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800858B4 000816F4 40 82 00 08 */ bne lbl_800858BC
|
|
|
|
/* 800858B8 000816F8 93 A3 00 04 */ stw r29, 0x4(r3)
|
|
|
|
.global lbl_800858BC
|
|
|
|
lbl_800858BC:
|
|
|
|
/* 800858BC 000816FC 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 800858C0 00081700 54 85 06 3E */ clrlwi r5, r4, 24
|
|
|
|
/* 800858C4 00081704 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 800858C8 00081708 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 800858CC 0008170C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800858D0 00081710 4E 80 04 21 */ bctrl
|
|
|
|
/* 800858D4 00081714 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800858D8 00081718 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
.global lbl_800858DC
|
|
|
|
lbl_800858DC:
|
|
|
|
/* 800858DC 0008171C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800858E0 00081720 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 800858E4 00081724 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 800858E8 00081728 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 800858EC 0008172C 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
|
|
/* 800858F0 00081730 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800858F4 00081734 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800858F8 00081738 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global BTM_SecBond
|
|
|
|
BTM_SecBond:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800858FC 0008173C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80085900 00081740 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80085904 00081744 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 80085908 00081748 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 8008590C 0008174C 4B F8 1A 2D */ bl lbl_80007338
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085910 00081750 3C E0 80 4F */ lis r7, btm_cb@ha
|
|
|
|
/* 80085914 00081754 3F E0 80 44 */ lis r31, "@2854"@ha
|
|
|
|
/* 80085918 00081758 38 E7 5F 58 */ addi r7, r7, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008591C 0008175C 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 80085920 00081760 88 07 27 C0 */ lbz r0, 0x27c0(r7)
|
|
|
|
/* 80085924 00081764 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 80085928 00081768 7C BA 2B 78 */ mr r26, r5
|
|
|
|
/* 8008592C 0008176C 7C DB 33 78 */ mr r27, r6
|
|
|
|
/* 80085930 00081770 28 00 00 03 */ cmplwi r0, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085934 00081774 3B FF C2 80 */ addi r31, r31, "@2854"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085938 00081778 41 80 00 2C */ blt lbl_80085964
|
|
|
|
/* 8008593C 0008177C 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80085940 00081780 88 BC 00 00 */ lbz r5, 0x0(r28)
|
|
|
|
/* 80085944 00081784 88 DC 00 01 */ lbz r6, 0x1(r28)
|
|
|
|
/* 80085948 00081788 38 63 00 02 */ addi r3, r3, 0x2
|
|
|
|
/* 8008594C 0008178C 88 FC 00 02 */ lbz r7, 0x2(r28)
|
|
|
|
/* 80085950 00081790 38 9F 02 30 */ addi r4, r31, 0x230
|
|
|
|
/* 80085954 00081794 89 1C 00 03 */ lbz r8, 0x3(r28)
|
|
|
|
/* 80085958 00081798 89 3C 00 04 */ lbz r9, 0x4(r28)
|
|
|
|
/* 8008595C 0008179C 89 5C 00 05 */ lbz r10, 0x5(r28)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085960 000817A0 4B FF 20 01 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085964
|
|
|
|
lbl_80085964:
|
|
|
|
/* 80085964 000817A4 28 1D 00 10 */ cmplwi r29, 0x10
|
|
|
|
/* 80085968 000817A8 40 81 00 30 */ ble lbl_80085998
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008596C 000817AC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085970 000817B0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085974 000817B4 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085978 000817B8 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 8008597C 000817BC 41 80 00 14 */ blt lbl_80085990
|
|
|
|
/* 80085980 000817C0 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 80085984 000817C4 38 9F 02 60 */ addi r4, r31, 0x260
|
|
|
|
/* 80085988 000817C8 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008598C 000817CC 4B FF 1F D5 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085990
|
|
|
|
lbl_80085990:
|
|
|
|
/* 80085990 000817D0 38 60 00 05 */ li r3, 0x5
|
|
|
|
/* 80085994 000817D4 48 00 03 1C */ b lbl_80085CB0
|
|
|
|
.global lbl_80085998
|
|
|
|
lbl_80085998:
|
|
|
|
/* 80085998 000817D8 7F 83 E3 78 */ mr r3, r28
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008599C 000817DC 4B FF A6 39 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800859A0 000817E0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800859A4 000817E4 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 800859A8 000817E8 40 82 00 40 */ bne lbl_800859E8
|
|
|
|
/* 800859AC 000817EC 7F 83 E3 78 */ mr r3, r28
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800859B0 000817F0 4B FF A4 4D */ bl btm_sec_alloc_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800859B4 000817F4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800859B8 000817F8 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 800859BC 000817FC 40 82 00 2C */ bne lbl_800859E8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800859C0 00081800 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800859C4 00081804 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800859C8 00081808 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800859CC 0008180C 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800859D0 00081810 41 80 00 10 */ blt lbl_800859E0
|
|
|
|
/* 800859D4 00081814 38 9F 02 80 */ addi r4, r31, 0x280
|
|
|
|
/* 800859D8 00081818 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800859DC 0008181C 4B FF 1F 85 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800859E0
|
|
|
|
lbl_800859E0:
|
|
|
|
/* 800859E0 00081820 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 800859E4 00081824 48 00 02 CC */ b lbl_80085CB0
|
|
|
|
.global lbl_800859E8
|
|
|
|
lbl_800859E8:
|
|
|
|
/* 800859E8 00081828 A0 1E 00 18 */ lhz r0, 0x18(r30)
|
|
|
|
/* 800859EC 0008182C 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 800859F0 00081830 41 82 00 3C */ beq lbl_80085A2C
|
|
|
|
/* 800859F4 00081834 88 1E 00 76 */ lbz r0, 0x76(r30)
|
|
|
|
/* 800859F8 00081838 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
|
|
|
|
/* 800859FC 0008183C 41 82 00 30 */ beq lbl_80085A2C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085A00 00081840 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085A04 00081844 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085A08 00081848 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085A0C 0008184C 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80085A10 00081850 41 80 00 14 */ blt lbl_80085A24
|
|
|
|
/* 80085A14 00081854 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80085A18 00081858 38 9F 02 A0 */ addi r4, r31, 0x2a0
|
|
|
|
/* 80085A1C 0008185C 38 63 00 01 */ addi r3, r3, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085A20 00081860 4B FF 1F 41 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085A24
|
|
|
|
lbl_80085A24:
|
|
|
|
/* 80085A24 00081864 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80085A28 00081868 48 00 02 88 */ b lbl_80085CB0
|
|
|
|
.global lbl_80085A2C
|
|
|
|
lbl_80085A2C:
|
|
|
|
/* 80085A2C 0008186C 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 80085A30 00081870 38 80 00 00 */ li r4, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085A34 00081874 4B FF BD 8D */ bl BTM_DeleteStoredLinkKey
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085A38 00081878 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80085A3C 0008187C 41 82 00 0C */ beq lbl_80085A48
|
|
|
|
/* 80085A40 00081880 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80085A44 00081884 48 00 02 6C */ b lbl_80085CB0
|
|
|
|
.global lbl_80085A48
|
|
|
|
lbl_80085A48:
|
|
|
|
/* 80085A48 00081888 38 00 00 50 */ li r0, 0x50
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085A4C 0008188C 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085A50 00081890 98 1E 00 81 */ stb r0, 0x81(r30)
|
|
|
|
/* 80085A54 00081894 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 80085A58 00081898 2C 1D 00 00 */ cmpwi r29, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085A5C 0008189C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085A60 000818A0 98 1E 00 80 */ stb r0, 0x80(r30)
|
|
|
|
/* 80085A64 000818A4 80 1B 00 00 */ lwz r0, 0x0(r27)
|
|
|
|
/* 80085A68 000818A8 90 1E 00 10 */ stw r0, 0x10(r30)
|
|
|
|
/* 80085A6C 000818AC 80 1B 00 04 */ lwz r0, 0x4(r27)
|
|
|
|
/* 80085A70 000818B0 90 1E 00 14 */ stw r0, 0x14(r30)
|
|
|
|
/* 80085A74 000818B4 9B A3 19 7F */ stb r29, 0x197f(r3)
|
|
|
|
/* 80085A78 000818B8 41 82 00 14 */ beq lbl_80085A8C
|
|
|
|
/* 80085A7C 000818BC 7F 44 D3 78 */ mr r4, r26
|
|
|
|
/* 80085A80 000818C0 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 80085A84 000818C4 38 63 19 80 */ addi r3, r3, 0x1980
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085A88 000818C8 4B F7 E5 79 */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085A8C
|
|
|
|
lbl_80085A8C:
|
|
|
|
/* 80085A8C 000818CC 88 7E 00 76 */ lbz r3, 0x76(r30)
|
|
|
|
/* 80085A90 000818D0 38 00 FF E9 */ li r0, -0x17
|
|
|
|
/* 80085A94 000818D4 7C 60 00 38 */ and r0, r3, r0
|
|
|
|
/* 80085A98 000818D8 98 1E 00 76 */ stb r0, 0x76(r30)
|
|
|
|
/* 80085A9C 000818DC 88 1E 00 23 */ lbz r0, 0x23(r30)
|
|
|
|
/* 80085AA0 000818E0 54 00 06 FE */ clrlwi r0, r0, 27
|
|
|
|
/* 80085AA4 000818E4 2C 00 00 05 */ cmpwi r0, 0x5
|
|
|
|
/* 80085AA8 000818E8 40 82 00 34 */ bne lbl_80085ADC
|
|
|
|
/* 80085AAC 000818EC 88 1E 00 24 */ lbz r0, 0x24(r30)
|
|
|
|
/* 80085AB0 000818F0 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80085AB4 000818F4 41 82 00 28 */ beq lbl_80085ADC
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085AB8 000818F8 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80085ABC 000818FC 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085AC0 00081900 88 04 00 20 */ lbz r0, 0x20(r4)
|
|
|
|
/* 80085AC4 00081904 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80085AC8 00081908 41 82 00 14 */ beq lbl_80085ADC
|
|
|
|
/* 80085ACC 0008190C 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 80085AD0 00081910 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80085AD4 00081914 98 04 19 7C */ stb r0, 0x197c(r4)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085AD8 00081918 48 00 63 5D */ bl btsnd_hcic_write_pin_type
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085ADC
|
|
|
|
lbl_80085ADC:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085ADC 0008191C 3F A0 80 4F */ lis r29, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085AE0 00081920 3B 60 00 00 */ li r27, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085AE4 00081924 3B BD 5F 58 */ addi r29, r29, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085AE8 00081928 9B 7D 19 7E */ stb r27, 0x197e(r29)
|
|
|
|
/* 80085AEC 0008192C A0 1E 00 18 */ lhz r0, 0x18(r30)
|
|
|
|
/* 80085AF0 00081930 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 80085AF4 00081934 41 82 00 3C */ beq lbl_80085B30
|
|
|
|
/* 80085AF8 00081938 88 7E 00 76 */ lbz r3, 0x76(r30)
|
|
|
|
/* 80085AFC 0008193C 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 80085B00 00081940 54 63 07 34 */ rlwinm r3, r3, 0, 28, 26
|
|
|
|
/* 80085B04 00081944 98 7E 00 76 */ stb r3, 0x76(r30)
|
|
|
|
/* 80085B08 00081948 98 1E 00 7F */ stb r0, 0x7f(r30)
|
|
|
|
/* 80085B0C 0008194C A0 7E 00 18 */ lhz r3, 0x18(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085B10 00081950 48 00 56 55 */ bl btsnd_hcic_auth_request
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085B14 00081954 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80085B18 00081958 40 82 00 0C */ bne lbl_80085B24
|
|
|
|
/* 80085B1C 0008195C 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80085B20 00081960 48 00 01 90 */ b lbl_80085CB0
|
|
|
|
.global lbl_80085B24
|
|
|
|
lbl_80085B24:
|
|
|
|
/* 80085B24 00081964 9B 7D 19 7D */ stb r27, 0x197d(r29)
|
|
|
|
/* 80085B28 00081968 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80085B2C 0008196C 48 00 01 84 */ b lbl_80085CB0
|
|
|
|
.global lbl_80085B30
|
|
|
|
lbl_80085B30:
|
|
|
|
/* 80085B30 00081970 88 1D 19 78 */ lbz r0, 0x1978(r29)
|
|
|
|
/* 80085B34 00081974 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80085B38 00081978 41 82 00 68 */ beq lbl_80085BA0
|
|
|
|
/* 80085B3C 0008197C 88 1D 27 C0 */ lbz r0, 0x27c0(r29)
|
|
|
|
/* 80085B40 00081980 28 00 00 05 */ cmplwi r0, 0x5
|
|
|
|
/* 80085B44 00081984 41 80 00 14 */ blt lbl_80085B58
|
|
|
|
/* 80085B48 00081988 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80085B4C 0008198C 38 9F 02 C0 */ addi r4, r31, 0x2c0
|
|
|
|
/* 80085B50 00081990 38 63 00 04 */ addi r3, r3, 0x4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085B54 00081994 4B FF 1E 0D */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085B58
|
|
|
|
lbl_80085B58:
|
|
|
|
/* 80085B58 00081998 38 60 00 01 */ li r3, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085B5C 0008199C 48 00 68 4D */ bl btsnd_hcic_write_auth_enable
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085B60 000819A0 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80085B64 000819A4 40 82 00 2C */ bne lbl_80085B90
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085B68 000819A8 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085B6C 000819AC 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085B70 000819B0 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085B74 000819B4 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80085B78 000819B8 41 80 00 10 */ blt lbl_80085B88
|
|
|
|
/* 80085B7C 000819BC 38 9F 02 E4 */ addi r4, r31, 0x2e4
|
|
|
|
/* 80085B80 000819C0 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085B84 000819C4 4B FF 1D DD */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085B88
|
|
|
|
lbl_80085B88:
|
|
|
|
/* 80085B88 000819C8 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80085B8C 000819CC 48 00 01 24 */ b lbl_80085CB0
|
|
|
|
.global lbl_80085B90
|
|
|
|
lbl_80085B90:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085B90 000819D0 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085B94 000819D4 38 00 00 01 */ li r0, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085B98 000819D8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085B9C 000819DC 98 03 19 7B */ stb r0, 0x197b(r3)
|
|
|
|
.global lbl_80085BA0
|
|
|
|
lbl_80085BA0:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085BA0 000819E0 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085BA4 000819E4 38 00 00 01 */ li r0, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085BA8 000819E8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085BAC 000819EC 98 03 19 7D */ stb r0, 0x197d(r3)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085BB0 000819F0 4B FF B7 69 */ bl BTM_ReadLocalFeatures
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085BB4 000819F4 88 83 00 00 */ lbz r4, 0x0(r3)
|
|
|
|
/* 80085BB8 000819F8 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80085BBC 000819FC 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 80085BC0 00081A00 98 1E 00 85 */ stb r0, 0x85(r30)
|
|
|
|
/* 80085BC4 00081A04 54 9B DF FE */ extrwi r27, r4, 1, 26
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085BC8 00081A08 4B FF CB 15 */ bl BTM_InqDbRead
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085BCC 00081A0C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80085BD0 00081A10 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 80085BD4 00081A14 41 82 00 28 */ beq lbl_80085BFC
|
|
|
|
/* 80085BD8 00081A18 A0 04 00 00 */ lhz r0, 0x0(r4)
|
|
|
|
/* 80085BDC 00081A1C 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 80085BE0 00081A20 88 A4 00 0B */ lbz r5, 0xb(r4)
|
|
|
|
/* 80085BE4 00081A24 7F 68 DB 78 */ mr r8, r27
|
|
|
|
/* 80085BE8 00081A28 88 C4 00 0D */ lbz r6, 0xd(r4)
|
|
|
|
/* 80085BEC 00081A2C 60 07 80 00 */ ori r7, r0, 0x8000
|
|
|
|
/* 80085BF0 00081A30 38 80 00 18 */ li r4, 0x18
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085BF4 00081A34 48 00 4D 6D */ bl btsnd_hcic_create_conn
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085BF8 00081A38 48 00 00 20 */ b lbl_80085C18
|
|
|
|
.global lbl_80085BFC
|
|
|
|
lbl_80085BFC:
|
|
|
|
/* 80085BFC 00081A3C A0 FE 00 1A */ lhz r7, 0x1a(r30)
|
|
|
|
/* 80085C00 00081A40 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 80085C04 00081A44 7F 68 DB 78 */ mr r8, r27
|
|
|
|
/* 80085C08 00081A48 38 80 00 18 */ li r4, 0x18
|
|
|
|
/* 80085C0C 00081A4C 38 A0 00 01 */ li r5, 0x1
|
|
|
|
/* 80085C10 00081A50 38 C0 00 00 */ li r6, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085C14 00081A54 48 00 4D 4D */ bl btsnd_hcic_create_conn
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085C18
|
|
|
|
lbl_80085C18:
|
|
|
|
/* 80085C18 00081A58 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80085C1C 00081A5C 41 82 00 0C */ beq lbl_80085C28
|
|
|
|
/* 80085C20 00081A60 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80085C24 00081A64 48 00 00 8C */ b lbl_80085CB0
|
|
|
|
.global lbl_80085C28
|
|
|
|
lbl_80085C28:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085C28 00081A68 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085C2C 00081A6C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085C30 00081A70 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085C34 00081A74 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80085C38 00081A78 41 80 00 10 */ blt lbl_80085C48
|
|
|
|
/* 80085C3C 00081A7C 38 9F 02 E4 */ addi r4, r31, 0x2e4
|
|
|
|
/* 80085C40 00081A80 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085C44 00081A84 4B FF 1D 1D */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085C48
|
|
|
|
lbl_80085C48:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085C48 00081A88 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80085C4C 00081A8C 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085C50 00081A90 88 04 19 7B */ lbz r0, 0x197b(r4)
|
|
|
|
/* 80085C54 00081A94 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80085C58 00081A98 41 82 00 54 */ beq lbl_80085CAC
|
|
|
|
/* 80085C5C 00081A9C 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80085C60 00081AA0 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80085C64 00081AA4 98 64 19 7B */ stb r3, 0x197b(r4)
|
|
|
|
/* 80085C68 00081AA8 28 00 00 05 */ cmplwi r0, 0x5
|
|
|
|
/* 80085C6C 00081AAC 41 80 00 24 */ blt lbl_80085C90
|
|
|
|
/* 80085C70 00081AB0 88 A4 19 78 */ lbz r5, 0x1978(r4)
|
|
|
|
/* 80085C74 00081AB4 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80085C78 00081AB8 38 63 00 04 */ addi r3, r3, 0x4
|
|
|
|
/* 80085C7C 00081ABC 38 9F 02 FC */ addi r4, r31, 0x2fc
|
|
|
|
/* 80085C80 00081AC0 38 05 FF FD */ addi r0, r5, -0x3
|
|
|
|
/* 80085C84 00081AC4 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 80085C88 00081AC8 54 05 D9 7E */ srwi r5, r0, 5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085C8C 00081ACC 4B FF 1C D5 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085C90
|
|
|
|
lbl_80085C90:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085C90 00081AD0 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085C94 00081AD4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085C98 00081AD8 88 63 19 78 */ lbz r3, 0x1978(r3)
|
|
|
|
/* 80085C9C 00081ADC 38 03 FF FD */ addi r0, r3, -0x3
|
|
|
|
/* 80085CA0 00081AE0 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 80085CA4 00081AE4 54 03 DE 3E */ extrwi r3, r0, 8, 19
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085CA8 00081AE8 48 00 67 01 */ bl btsnd_hcic_write_auth_enable
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085CAC
|
|
|
|
lbl_80085CAC:
|
|
|
|
/* 80085CAC 00081AEC 38 60 00 03 */ li r3, 0x3
|
|
|
|
.global lbl_80085CB0
|
|
|
|
lbl_80085CB0:
|
|
|
|
/* 80085CB0 00081AF0 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80085CB4 00081AF4 4B F8 16 D1 */ bl lbl_80007384
|
|
|
|
/* 80085CB8 00081AF8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 80085CBC 00081AFC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80085CC0 00081B00 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80085CC4 00081B04 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_l2cap_access_req
|
|
|
|
btm_sec_l2cap_access_req:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085CC8 00081B08 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 80085CCC 00081B0C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80085CD0 00081B10 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 80085CD4 00081B14 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 80085CD8 00081B18 4B F8 16 59 */ bl lbl_80007330
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085CDC 00081B1C 3F E0 80 44 */ lis r31, "@2854"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085CE0 00081B20 7C 78 1B 78 */ mr r24, r3
|
|
|
|
/* 80085CE4 00081B24 7C 99 23 78 */ mr r25, r4
|
|
|
|
/* 80085CE8 00081B28 7C BA 2B 78 */ mr r26, r5
|
|
|
|
/* 80085CEC 00081B2C 7C DB 33 78 */ mr r27, r6
|
|
|
|
/* 80085CF0 00081B30 7C FC 3B 78 */ mr r28, r7
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085CF4 00081B34 3B FF C2 80 */ addi r31, r31, "@2854"@l
|
|
|
|
/* 80085CF8 00081B38 4B FF A2 DD */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085CFC 00081B3C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80085D00 00081B40 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80085D04 00081B44 40 82 00 68 */ bne lbl_80085D6C
|
|
|
|
/* 80085D08 00081B48 7F 03 C3 78 */ mr r3, r24
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085D0C 00081B4C 4B FF A0 F1 */ bl btm_sec_alloc_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085D10 00081B50 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80085D14 00081B54 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80085D18 00081B58 40 82 00 54 */ bne lbl_80085D6C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085D1C 00081B5C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085D20 00081B60 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085D24 00081B64 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085D28 00081B68 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80085D2C 00081B6C 41 80 00 18 */ blt lbl_80085D44
|
|
|
|
/* 80085D30 00081B70 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80085D34 00081B74 7F 25 CB 78 */ mr r5, r25
|
|
|
|
/* 80085D38 00081B78 38 63 00 01 */ addi r3, r3, 0x1
|
|
|
|
/* 80085D3C 00081B7C 38 9F 04 10 */ addi r4, r31, 0x410
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085D40 00081B80 4B FF 1C 21 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085D44
|
|
|
|
lbl_80085D44:
|
|
|
|
/* 80085D44 00081B84 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 80085D48 00081B88 41 82 00 1C */ beq lbl_80085D64
|
|
|
|
/* 80085D4C 00081B8C 7F 8C E3 78 */ mr r12, r28
|
|
|
|
/* 80085D50 00081B90 7F 03 C3 78 */ mr r3, r24
|
|
|
|
/* 80085D54 00081B94 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 80085D58 00081B98 38 A0 00 03 */ li r5, 0x3
|
|
|
|
/* 80085D5C 00081B9C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80085D60 00081BA0 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80085D64
|
|
|
|
lbl_80085D64:
|
|
|
|
/* 80085D64 00081BA4 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80085D68 00081BA8 48 00 03 AC */ b lbl_80086114
|
|
|
|
.global lbl_80085D6C
|
|
|
|
lbl_80085D6C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085D6C 00081BAC 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085D70 00081BB0 38 00 00 04 */ li r0, 0x4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085D74 00081BB4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085D78 00081BB8 B3 5E 00 18 */ sth r26, 0x18(r30)
|
|
|
|
/* 80085D7C 00081BBC 38 83 19 90 */ addi r4, r3, 0x1990
|
|
|
|
/* 80085D80 00081BC0 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80085D84 00081BC4 7C 09 03 A6 */ mtctr r0
|
|
|
|
.global lbl_80085D88
|
|
|
|
lbl_80085D88:
|
|
|
|
/* 80085D88 00081BC8 88 04 00 0E */ lbz r0, 0xe(r4)
|
|
|
|
/* 80085D8C 00081BCC 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085D90 00081BD0 41 82 00 14 */ beq lbl_80085DA4
|
|
|
|
/* 80085D94 00081BD4 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085D98 00081BD8 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80085D9C 00081BDC 40 82 00 08 */ bne lbl_80085DA4
|
|
|
|
/* 80085DA0 00081BE0 48 00 00 B4 */ b lbl_80085E54
|
|
|
|
.global lbl_80085DA4
|
|
|
|
lbl_80085DA4:
|
|
|
|
/* 80085DA4 00081BE4 88 04 00 4A */ lbz r0, 0x4a(r4)
|
|
|
|
/* 80085DA8 00081BE8 38 84 00 3C */ addi r4, r4, 0x3c
|
|
|
|
/* 80085DAC 00081BEC 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085DB0 00081BF0 41 82 00 14 */ beq lbl_80085DC4
|
|
|
|
/* 80085DB4 00081BF4 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085DB8 00081BF8 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80085DBC 00081BFC 40 82 00 08 */ bne lbl_80085DC4
|
|
|
|
/* 80085DC0 00081C00 48 00 00 94 */ b lbl_80085E54
|
|
|
|
.global lbl_80085DC4
|
|
|
|
lbl_80085DC4:
|
|
|
|
/* 80085DC4 00081C04 88 04 00 4A */ lbz r0, 0x4a(r4)
|
|
|
|
/* 80085DC8 00081C08 38 84 00 3C */ addi r4, r4, 0x3c
|
|
|
|
/* 80085DCC 00081C0C 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085DD0 00081C10 41 82 00 14 */ beq lbl_80085DE4
|
|
|
|
/* 80085DD4 00081C14 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085DD8 00081C18 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80085DDC 00081C1C 40 82 00 08 */ bne lbl_80085DE4
|
|
|
|
/* 80085DE0 00081C20 48 00 00 74 */ b lbl_80085E54
|
|
|
|
.global lbl_80085DE4
|
|
|
|
lbl_80085DE4:
|
|
|
|
/* 80085DE4 00081C24 88 04 00 4A */ lbz r0, 0x4a(r4)
|
|
|
|
/* 80085DE8 00081C28 38 84 00 3C */ addi r4, r4, 0x3c
|
|
|
|
/* 80085DEC 00081C2C 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085DF0 00081C30 41 82 00 14 */ beq lbl_80085E04
|
|
|
|
/* 80085DF4 00081C34 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085DF8 00081C38 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80085DFC 00081C3C 40 82 00 08 */ bne lbl_80085E04
|
|
|
|
/* 80085E00 00081C40 48 00 00 54 */ b lbl_80085E54
|
|
|
|
.global lbl_80085E04
|
|
|
|
lbl_80085E04:
|
|
|
|
/* 80085E04 00081C44 88 04 00 4A */ lbz r0, 0x4a(r4)
|
|
|
|
/* 80085E08 00081C48 38 84 00 3C */ addi r4, r4, 0x3c
|
|
|
|
/* 80085E0C 00081C4C 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085E10 00081C50 41 82 00 14 */ beq lbl_80085E24
|
|
|
|
/* 80085E14 00081C54 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085E18 00081C58 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80085E1C 00081C5C 40 82 00 08 */ bne lbl_80085E24
|
|
|
|
/* 80085E20 00081C60 48 00 00 34 */ b lbl_80085E54
|
|
|
|
.global lbl_80085E24
|
|
|
|
lbl_80085E24:
|
|
|
|
/* 80085E24 00081C64 88 04 00 4A */ lbz r0, 0x4a(r4)
|
|
|
|
/* 80085E28 00081C68 38 84 00 3C */ addi r4, r4, 0x3c
|
|
|
|
/* 80085E2C 00081C6C 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085E30 00081C70 41 82 00 14 */ beq lbl_80085E44
|
|
|
|
/* 80085E34 00081C74 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085E38 00081C78 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80085E3C 00081C7C 40 82 00 08 */ bne lbl_80085E44
|
|
|
|
/* 80085E40 00081C80 48 00 00 14 */ b lbl_80085E54
|
|
|
|
.global lbl_80085E44
|
|
|
|
lbl_80085E44:
|
|
|
|
/* 80085E44 00081C84 38 63 00 05 */ addi r3, r3, 0x5
|
|
|
|
/* 80085E48 00081C88 38 84 00 3C */ addi r4, r4, 0x3c
|
|
|
|
/* 80085E4C 00081C8C 42 00 FF 3C */ bdnz lbl_80085D88
|
|
|
|
/* 80085E50 00081C90 38 80 00 00 */ li r4, 0x0
|
|
|
|
.global lbl_80085E54
|
|
|
|
lbl_80085E54:
|
|
|
|
/* 80085E54 00081C94 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 80085E58 00081C98 40 82 00 54 */ bne lbl_80085EAC
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085E5C 00081C9C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085E60 00081CA0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085E64 00081CA4 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085E68 00081CA8 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80085E6C 00081CAC 41 80 00 18 */ blt lbl_80085E84
|
|
|
|
/* 80085E70 00081CB0 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80085E74 00081CB4 7F 25 CB 78 */ mr r5, r25
|
|
|
|
/* 80085E78 00081CB8 38 63 00 01 */ addi r3, r3, 0x1
|
|
|
|
/* 80085E7C 00081CBC 38 9F 04 48 */ addi r4, r31, 0x448
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085E80 00081CC0 4B FF 1A E1 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80085E84
|
|
|
|
lbl_80085E84:
|
|
|
|
/* 80085E84 00081CC4 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 80085E88 00081CC8 41 82 00 1C */ beq lbl_80085EA4
|
|
|
|
/* 80085E8C 00081CCC 7F 8C E3 78 */ mr r12, r28
|
|
|
|
/* 80085E90 00081CD0 7F 03 C3 78 */ mr r3, r24
|
|
|
|
/* 80085E94 00081CD4 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 80085E98 00081CD8 38 A0 00 04 */ li r5, 0x4
|
|
|
|
/* 80085E9C 00081CDC 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80085EA0 00081CE0 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80085EA4
|
|
|
|
lbl_80085EA4:
|
|
|
|
/* 80085EA4 00081CE4 38 60 00 04 */ li r3, 0x4
|
|
|
|
/* 80085EA8 00081CE8 48 00 02 6C */ b lbl_80086114
|
|
|
|
.global lbl_80085EAC
|
|
|
|
lbl_80085EAC:
|
|
|
|
/* 80085EAC 00081CEC 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
|
|
/* 80085EB0 00081CF0 41 82 00 14 */ beq lbl_80085EC4
|
|
|
|
/* 80085EB4 00081CF4 41 82 00 14 */ beq lbl_80085EC8
|
|
|
|
/* 80085EB8 00081CF8 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
|
|
/* 80085EBC 00081CFC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80085EC0 00081D00 40 82 00 08 */ bne lbl_80085EC8
|
|
|
|
.global lbl_80085EC4
|
|
|
|
lbl_80085EC4:
|
|
|
|
/* 80085EC4 00081D04 90 9E 00 00 */ stw r4, 0x0(r30)
|
|
|
|
.global lbl_80085EC8
|
|
|
|
lbl_80085EC8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085EC8 00081D08 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085ECC 00081D0C 38 00 00 06 */ li r0, 0x6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085ED0 00081D10 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085ED4 00081D14 8B A4 00 0E */ lbz r29, 0xe(r4)
|
|
|
|
/* 80085ED8 00081D18 38 E3 19 90 */ addi r7, r3, 0x1990
|
|
|
|
/* 80085EDC 00081D1C 38 C0 00 00 */ li r6, 0x0
|
|
|
|
/* 80085EE0 00081D20 38 A0 00 00 */ li r5, 0x0
|
|
|
|
/* 80085EE4 00081D24 7C 09 03 A6 */ mtctr r0
|
|
|
|
.global lbl_80085EE8
|
|
|
|
lbl_80085EE8:
|
|
|
|
/* 80085EE8 00081D28 88 07 00 0E */ lbz r0, 0xe(r7)
|
|
|
|
/* 80085EEC 00081D2C 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085EF0 00081D30 41 82 00 30 */ beq lbl_80085F20
|
|
|
|
/* 80085EF4 00081D34 A0 67 00 0C */ lhz r3, 0xc(r7)
|
|
|
|
/* 80085EF8 00081D38 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085EFC 00081D3C 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 80085F00 00081D40 40 82 00 20 */ bne lbl_80085F20
|
|
|
|
/* 80085F04 00081D44 2C 06 00 00 */ cmpwi r6, 0x0
|
|
|
|
/* 80085F08 00081D48 40 82 00 DC */ bne lbl_80085FE4
|
|
|
|
/* 80085F0C 00081D4C 7C 04 38 40 */ cmplw r4, r7
|
|
|
|
/* 80085F10 00081D50 40 82 00 10 */ bne lbl_80085F20
|
|
|
|
/* 80085F14 00081D54 38 C0 00 01 */ li r6, 0x1
|
|
|
|
/* 80085F18 00081D58 48 00 00 08 */ b lbl_80085F20
|
|
|
|
/* 80085F1C 00081D5C 48 00 00 C8 */ b lbl_80085FE4
|
|
|
|
.global lbl_80085F20
|
|
|
|
lbl_80085F20:
|
|
|
|
/* 80085F20 00081D60 88 07 00 4A */ lbz r0, 0x4a(r7)
|
|
|
|
/* 80085F24 00081D64 38 E7 00 3C */ addi r7, r7, 0x3c
|
|
|
|
/* 80085F28 00081D68 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085F2C 00081D6C 41 82 00 30 */ beq lbl_80085F5C
|
|
|
|
/* 80085F30 00081D70 A0 67 00 0C */ lhz r3, 0xc(r7)
|
|
|
|
/* 80085F34 00081D74 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085F38 00081D78 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 80085F3C 00081D7C 40 82 00 20 */ bne lbl_80085F5C
|
|
|
|
/* 80085F40 00081D80 2C 06 00 00 */ cmpwi r6, 0x0
|
|
|
|
/* 80085F44 00081D84 40 82 00 A0 */ bne lbl_80085FE4
|
|
|
|
/* 80085F48 00081D88 7C 04 38 40 */ cmplw r4, r7
|
|
|
|
/* 80085F4C 00081D8C 40 82 00 10 */ bne lbl_80085F5C
|
|
|
|
/* 80085F50 00081D90 38 C0 00 01 */ li r6, 0x1
|
|
|
|
/* 80085F54 00081D94 48 00 00 08 */ b lbl_80085F5C
|
|
|
|
/* 80085F58 00081D98 48 00 00 8C */ b lbl_80085FE4
|
|
|
|
.global lbl_80085F5C
|
|
|
|
lbl_80085F5C:
|
|
|
|
/* 80085F5C 00081D9C 88 07 00 4A */ lbz r0, 0x4a(r7)
|
|
|
|
/* 80085F60 00081DA0 38 E7 00 3C */ addi r7, r7, 0x3c
|
|
|
|
/* 80085F64 00081DA4 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085F68 00081DA8 41 82 00 30 */ beq lbl_80085F98
|
|
|
|
/* 80085F6C 00081DAC A0 67 00 0C */ lhz r3, 0xc(r7)
|
|
|
|
/* 80085F70 00081DB0 A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085F74 00081DB4 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 80085F78 00081DB8 40 82 00 20 */ bne lbl_80085F98
|
|
|
|
/* 80085F7C 00081DBC 2C 06 00 00 */ cmpwi r6, 0x0
|
|
|
|
/* 80085F80 00081DC0 40 82 00 64 */ bne lbl_80085FE4
|
|
|
|
/* 80085F84 00081DC4 7C 04 38 40 */ cmplw r4, r7
|
|
|
|
/* 80085F88 00081DC8 40 82 00 10 */ bne lbl_80085F98
|
|
|
|
/* 80085F8C 00081DCC 38 C0 00 01 */ li r6, 0x1
|
|
|
|
/* 80085F90 00081DD0 48 00 00 08 */ b lbl_80085F98
|
|
|
|
/* 80085F94 00081DD4 48 00 00 50 */ b lbl_80085FE4
|
|
|
|
.global lbl_80085F98
|
|
|
|
lbl_80085F98:
|
|
|
|
/* 80085F98 00081DD8 88 07 00 4A */ lbz r0, 0x4a(r7)
|
|
|
|
/* 80085F9C 00081DDC 38 E7 00 3C */ addi r7, r7, 0x3c
|
|
|
|
/* 80085FA0 00081DE0 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80085FA4 00081DE4 41 82 00 30 */ beq lbl_80085FD4
|
|
|
|
/* 80085FA8 00081DE8 A0 67 00 0C */ lhz r3, 0xc(r7)
|
|
|
|
/* 80085FAC 00081DEC A0 04 00 0C */ lhz r0, 0xc(r4)
|
|
|
|
/* 80085FB0 00081DF0 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 80085FB4 00081DF4 40 82 00 20 */ bne lbl_80085FD4
|
|
|
|
/* 80085FB8 00081DF8 2C 06 00 00 */ cmpwi r6, 0x0
|
|
|
|
/* 80085FBC 00081DFC 40 82 00 28 */ bne lbl_80085FE4
|
|
|
|
/* 80085FC0 00081E00 7C 04 38 40 */ cmplw r4, r7
|
|
|
|
/* 80085FC4 00081E04 40 82 00 10 */ bne lbl_80085FD4
|
|
|
|
/* 80085FC8 00081E08 38 C0 00 01 */ li r6, 0x1
|
|
|
|
/* 80085FCC 00081E0C 48 00 00 08 */ b lbl_80085FD4
|
|
|
|
/* 80085FD0 00081E10 48 00 00 14 */ b lbl_80085FE4
|
|
|
|
.global lbl_80085FD4
|
|
|
|
lbl_80085FD4:
|
|
|
|
/* 80085FD4 00081E14 38 A5 00 03 */ addi r5, r5, 0x3
|
|
|
|
/* 80085FD8 00081E18 38 E7 00 3C */ addi r7, r7, 0x3c
|
|
|
|
/* 80085FDC 00081E1C 42 00 FF 0C */ bdnz lbl_80085EE8
|
|
|
|
/* 80085FE0 00081E20 38 E0 00 00 */ li r7, 0x0
|
|
|
|
.global lbl_80085FE4
|
|
|
|
lbl_80085FE4:
|
|
|
|
/* 80085FE4 00081E24 2C 07 00 00 */ cmpwi r7, 0x0
|
|
|
|
/* 80085FE8 00081E28 41 82 00 54 */ beq lbl_8008603C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80085FEC 00081E2C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80085FF0 00081E30 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80085FF4 00081E34 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80085FF8 00081E38 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80085FFC 00081E3C 41 80 00 18 */ blt lbl_80086014
|
|
|
|
/* 80086000 00081E40 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80086004 00081E44 7F 25 CB 78 */ mr r5, r25
|
|
|
|
/* 80086008 00081E48 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 8008600C 00081E4C 38 9F 04 8C */ addi r4, r31, 0x48c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086010 00081E50 4B FF 19 51 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086014
|
|
|
|
lbl_80086014:
|
|
|
|
/* 80086014 00081E54 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 80086018 00081E58 41 82 00 1C */ beq lbl_80086034
|
|
|
|
/* 8008601C 00081E5C 7F 8C E3 78 */ mr r12, r28
|
|
|
|
/* 80086020 00081E60 7F 03 C3 78 */ mr r3, r24
|
|
|
|
/* 80086024 00081E64 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 80086028 00081E68 38 A0 00 00 */ li r5, 0x0
|
|
|
|
/* 8008602C 00081E6C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086030 00081E70 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80086034
|
|
|
|
lbl_80086034:
|
|
|
|
/* 80086034 00081E74 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80086038 00081E78 48 00 00 DC */ b lbl_80086114
|
|
|
|
.global lbl_8008603C
|
|
|
|
lbl_8008603C:
|
|
|
|
/* 8008603C 00081E7C 93 9E 00 04 */ stw r28, 0x4(r30)
|
|
|
|
/* 80086040 00081E80 38 00 00 00 */ li r0, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086044 00081E84 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086048 00081E88 90 1E 00 08 */ stw r0, 0x8(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008604C 00081E8C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086050 00081E90 9B BE 00 81 */ stb r29, 0x81(r30)
|
|
|
|
/* 80086054 00081E94 9B 7E 00 80 */ stb r27, 0x80(r30)
|
|
|
|
/* 80086058 00081E98 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 8008605C 00081E9C 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80086060 00081EA0 41 80 00 28 */ blt lbl_80086088
|
|
|
|
/* 80086064 00081EA4 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80086068 00081EA8 88 FE 00 7F */ lbz r7, 0x7f(r30)
|
|
|
|
/* 8008606C 00081EAC 89 1E 00 76 */ lbz r8, 0x76(r30)
|
|
|
|
/* 80086070 00081EB0 7F 25 CB 78 */ mr r5, r25
|
|
|
|
/* 80086074 00081EB4 7F 46 D3 78 */ mr r6, r26
|
|
|
|
/* 80086078 00081EB8 7F A9 EB 78 */ mr r9, r29
|
|
|
|
/* 8008607C 00081EBC 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 80086080 00081EC0 38 9F 04 D0 */ addi r4, r31, 0x4d0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086084 00081EC4 4B FF 18 DD */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086088
|
|
|
|
lbl_80086088:
|
|
|
|
/* 80086088 00081EC8 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
|
|
/* 8008608C 00081ECC 40 82 00 48 */ bne lbl_800860D4
|
|
|
|
/* 80086090 00081ED0 57 A0 07 FF */ clrlwi. r0, r29, 31
|
|
|
|
/* 80086094 00081ED4 41 82 00 40 */ beq lbl_800860D4
|
|
|
|
/* 80086098 00081ED8 88 1E 00 76 */ lbz r0, 0x76(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008609C 00081EDC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800860A0 00081EE0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800860A4 00081EE4 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
|
|
|
|
/* 800860A8 00081EE8 98 1E 00 76 */ stb r0, 0x76(r30)
|
|
|
|
/* 800860AC 00081EEC 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800860B0 00081EF0 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 800860B4 00081EF4 41 80 00 20 */ blt lbl_800860D4
|
|
|
|
/* 800860B8 00081EF8 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 800860BC 00081EFC 80 BE 00 14 */ lwz r5, 0x14(r30)
|
|
|
|
/* 800860C0 00081F00 80 DE 00 10 */ lwz r6, 0x10(r30)
|
|
|
|
/* 800860C4 00081F04 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 800860C8 00081F08 88 FE 00 76 */ lbz r7, 0x76(r30)
|
|
|
|
/* 800860CC 00081F0C 38 9F 05 28 */ addi r4, r31, 0x528
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800860D0 00081F10 4B FF 18 91 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800860D4
|
|
|
|
lbl_800860D4:
|
|
|
|
/* 800860D4 00081F14 7F C3 F3 78 */ mr r3, r30
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800860D8 00081F18 48 00 1B 45 */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800860DC 00081F1C 54 65 06 3E */ clrlwi r5, r3, 24
|
|
|
|
/* 800860E0 00081F20 7C 79 1B 78 */ mr r25, r3
|
|
|
|
/* 800860E4 00081F24 28 05 00 01 */ cmplwi r5, 0x1
|
|
|
|
/* 800860E8 00081F28 41 82 00 28 */ beq lbl_80086110
|
|
|
|
/* 800860EC 00081F2C 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 800860F0 00081F30 41 82 00 20 */ beq lbl_80086110
|
|
|
|
/* 800860F4 00081F34 7F 8C E3 78 */ mr r12, r28
|
|
|
|
/* 800860F8 00081F38 7F 03 C3 78 */ mr r3, r24
|
|
|
|
/* 800860FC 00081F3C 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
|
|
/* 80086100 00081F40 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086104 00081F44 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086108 00081F48 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 8008610C 00081F4C 90 1E 00 04 */ stw r0, 0x4(r30)
|
|
|
|
.global lbl_80086110
|
|
|
|
lbl_80086110:
|
|
|
|
/* 80086110 00081F50 7F 23 CB 78 */ mr r3, r25
|
|
|
|
.global lbl_80086114
|
|
|
|
lbl_80086114:
|
|
|
|
/* 80086114 00081F54 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 80086118 00081F58 4B F8 12 65 */ bl lbl_8000737C
|
|
|
|
/* 8008611C 00081F5C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 80086120 00081F60 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80086124 00081F64 38 21 00 30 */ addi r1, r1, 0x30
|
|
|
|
/* 80086128 00081F68 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_mx_access_request
|
|
|
|
btm_sec_mx_access_request:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008612C 00081F6C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 80086130 00081F70 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80086134 00081F74 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 80086138 00081F78 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 8008613C 00081F7C 4B F8 11 F5 */ bl lbl_80007330
|
|
|
|
/* 80086140 00081F80 7C 78 1B 78 */ mr r24, r3
|
|
|
|
/* 80086144 00081F84 7C 99 23 78 */ mr r25, r4
|
|
|
|
/* 80086148 00081F88 7C BA 2B 78 */ mr r26, r5
|
|
|
|
/* 8008614C 00081F8C 7C DB 33 78 */ mr r27, r6
|
|
|
|
/* 80086150 00081F90 7C FC 3B 78 */ mr r28, r7
|
|
|
|
/* 80086154 00081F94 7D 1D 43 78 */ mr r29, r8
|
|
|
|
/* 80086158 00081F98 7D 3E 4B 78 */ mr r30, r9
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008615C 00081F9C 4B FF 9E 79 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086160 00081FA0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086164 00081FA4 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80086168 00081FA8 40 82 00 3C */ bne lbl_800861A4
|
|
|
|
/* 8008616C 00081FAC 7F 03 C3 78 */ mr r3, r24
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086170 00081FB0 4B FF 9C 8D */ bl btm_sec_alloc_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086174 00081FB4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086178 00081FB8 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8008617C 00081FBC 40 82 00 28 */ bne lbl_800861A4
|
|
|
|
/* 80086180 00081FC0 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
|
|
/* 80086184 00081FC4 41 82 02 2C */ beq lbl_800863B0
|
|
|
|
/* 80086188 00081FC8 7F AC EB 78 */ mr r12, r29
|
|
|
|
/* 8008618C 00081FCC 7F 03 C3 78 */ mr r3, r24
|
|
|
|
/* 80086190 00081FD0 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 80086194 00081FD4 38 A0 00 03 */ li r5, 0x3
|
|
|
|
/* 80086198 00081FD8 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 8008619C 00081FDC 4E 80 04 21 */ bctrl
|
|
|
|
/* 800861A0 00081FE0 48 00 02 10 */ b lbl_800863B0
|
|
|
|
.global lbl_800861A4
|
|
|
|
lbl_800861A4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800861A4 00081FE4 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800861A8 00081FE8 38 00 00 08 */ li r0, 0x8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800861AC 00081FEC 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800861B0 00081FF0 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 800861B4 00081FF4 38 A3 19 90 */ addi r5, r3, 0x1990
|
|
|
|
/* 800861B8 00081FF8 7C 09 03 A6 */ mtctr r0
|
|
|
|
.global lbl_800861BC
|
|
|
|
lbl_800861BC:
|
|
|
|
/* 800861BC 00081FFC 88 05 00 0E */ lbz r0, 0xe(r5)
|
|
|
|
/* 800861C0 00082000 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 800861C4 00082004 41 82 00 48 */ beq lbl_8008620C
|
|
|
|
/* 800861C8 00082008 A0 05 00 0C */ lhz r0, 0xc(r5)
|
|
|
|
/* 800861CC 0008200C 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 800861D0 00082010 40 82 00 3C */ bne lbl_8008620C
|
|
|
|
/* 800861D4 00082014 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
|
|
/* 800861D8 00082018 7C 00 D8 40 */ cmplw r0, r27
|
|
|
|
/* 800861DC 0008201C 40 82 00 30 */ bne lbl_8008620C
|
|
|
|
/* 800861E0 00082020 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 800861E4 00082024 41 82 00 10 */ beq lbl_800861F4
|
|
|
|
/* 800861E8 00082028 80 05 00 04 */ lwz r0, 0x4(r5)
|
|
|
|
/* 800861EC 0008202C 7C 00 E0 40 */ cmplw r0, r28
|
|
|
|
/* 800861F0 00082030 41 82 00 D4 */ beq lbl_800862C4
|
|
|
|
.global lbl_800861F4
|
|
|
|
lbl_800861F4:
|
|
|
|
/* 800861F4 00082034 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 800861F8 00082038 40 82 00 14 */ bne lbl_8008620C
|
|
|
|
/* 800861FC 0008203C 80 05 00 08 */ lwz r0, 0x8(r5)
|
|
|
|
/* 80086200 00082040 7C 00 E0 40 */ cmplw r0, r28
|
|
|
|
/* 80086204 00082044 40 82 00 08 */ bne lbl_8008620C
|
|
|
|
/* 80086208 00082048 48 00 00 BC */ b lbl_800862C4
|
|
|
|
.global lbl_8008620C
|
|
|
|
lbl_8008620C:
|
|
|
|
/* 8008620C 0008204C 88 05 00 4A */ lbz r0, 0x4a(r5)
|
|
|
|
/* 80086210 00082050 38 A5 00 3C */ addi r5, r5, 0x3c
|
|
|
|
/* 80086214 00082054 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80086218 00082058 41 82 00 48 */ beq lbl_80086260
|
|
|
|
/* 8008621C 0008205C A0 05 00 0C */ lhz r0, 0xc(r5)
|
|
|
|
/* 80086220 00082060 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80086224 00082064 40 82 00 3C */ bne lbl_80086260
|
|
|
|
/* 80086228 00082068 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
|
|
/* 8008622C 0008206C 7C 00 D8 40 */ cmplw r0, r27
|
|
|
|
/* 80086230 00082070 40 82 00 30 */ bne lbl_80086260
|
|
|
|
/* 80086234 00082074 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 80086238 00082078 41 82 00 10 */ beq lbl_80086248
|
|
|
|
/* 8008623C 0008207C 80 05 00 04 */ lwz r0, 0x4(r5)
|
|
|
|
/* 80086240 00082080 7C 00 E0 40 */ cmplw r0, r28
|
|
|
|
/* 80086244 00082084 41 82 00 80 */ beq lbl_800862C4
|
|
|
|
.global lbl_80086248
|
|
|
|
lbl_80086248:
|
|
|
|
/* 80086248 00082088 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 8008624C 0008208C 40 82 00 14 */ bne lbl_80086260
|
|
|
|
/* 80086250 00082090 80 05 00 08 */ lwz r0, 0x8(r5)
|
|
|
|
/* 80086254 00082094 7C 00 E0 40 */ cmplw r0, r28
|
|
|
|
/* 80086258 00082098 40 82 00 08 */ bne lbl_80086260
|
|
|
|
/* 8008625C 0008209C 48 00 00 68 */ b lbl_800862C4
|
|
|
|
.global lbl_80086260
|
|
|
|
lbl_80086260:
|
|
|
|
/* 80086260 000820A0 88 05 00 4A */ lbz r0, 0x4a(r5)
|
|
|
|
/* 80086264 000820A4 38 A5 00 3C */ addi r5, r5, 0x3c
|
|
|
|
/* 80086268 000820A8 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 8008626C 000820AC 41 82 00 48 */ beq lbl_800862B4
|
|
|
|
/* 80086270 000820B0 A0 05 00 0C */ lhz r0, 0xc(r5)
|
|
|
|
/* 80086274 000820B4 7C 00 C8 40 */ cmplw r0, r25
|
|
|
|
/* 80086278 000820B8 40 82 00 3C */ bne lbl_800862B4
|
|
|
|
/* 8008627C 000820BC 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
|
|
/* 80086280 000820C0 7C 00 D8 40 */ cmplw r0, r27
|
|
|
|
/* 80086284 000820C4 40 82 00 30 */ bne lbl_800862B4
|
|
|
|
/* 80086288 000820C8 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 8008628C 000820CC 41 82 00 10 */ beq lbl_8008629C
|
|
|
|
/* 80086290 000820D0 80 05 00 04 */ lwz r0, 0x4(r5)
|
|
|
|
/* 80086294 000820D4 7C 00 E0 40 */ cmplw r0, r28
|
|
|
|
/* 80086298 000820D8 41 82 00 2C */ beq lbl_800862C4
|
|
|
|
.global lbl_8008629C
|
|
|
|
lbl_8008629C:
|
|
|
|
/* 8008629C 000820DC 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 800862A0 000820E0 40 82 00 14 */ bne lbl_800862B4
|
|
|
|
/* 800862A4 000820E4 80 05 00 08 */ lwz r0, 0x8(r5)
|
|
|
|
/* 800862A8 000820E8 7C 00 E0 40 */ cmplw r0, r28
|
|
|
|
/* 800862AC 000820EC 40 82 00 08 */ bne lbl_800862B4
|
|
|
|
/* 800862B0 000820F0 48 00 00 14 */ b lbl_800862C4
|
|
|
|
.global lbl_800862B4
|
|
|
|
lbl_800862B4:
|
|
|
|
/* 800862B4 000820F4 38 84 00 02 */ addi r4, r4, 0x2
|
|
|
|
/* 800862B8 000820F8 38 A5 00 3C */ addi r5, r5, 0x3c
|
|
|
|
/* 800862BC 000820FC 42 00 FF 00 */ bdnz lbl_800861BC
|
|
|
|
/* 800862C0 00082100 38 A0 00 00 */ li r5, 0x0
|
|
|
|
.global lbl_800862C4
|
|
|
|
lbl_800862C4:
|
|
|
|
/* 800862C4 00082104 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800862C8 00082108 40 82 00 58 */ bne lbl_80086320
|
|
|
|
/* 800862CC 0008210C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
|
|
/* 800862D0 00082110 41 82 00 1C */ beq lbl_800862EC
|
|
|
|
/* 800862D4 00082114 7F AC EB 78 */ mr r12, r29
|
|
|
|
/* 800862D8 00082118 7F 03 C3 78 */ mr r3, r24
|
|
|
|
/* 800862DC 0008211C 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 800862E0 00082120 38 A0 00 04 */ li r5, 0x4
|
|
|
|
/* 800862E4 00082124 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800862E8 00082128 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_800862EC
|
|
|
|
lbl_800862EC:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800862EC 0008212C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800862F0 00082130 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800862F4 00082134 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800862F8 00082138 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800862FC 0008213C 41 80 00 B4 */ blt lbl_800863B0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086300 00082140 3C 80 80 44 */ lis r4, "@3105_8043C7D8"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086304 00082144 7F 25 CB 78 */ mr r5, r25
|
|
|
|
/* 80086308 00082148 7F 66 DB 78 */ mr r6, r27
|
|
|
|
/* 8008630C 0008214C 7F 87 E3 78 */ mr r7, r28
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086310 00082150 38 84 C7 D8 */ addi r4, r4, "@3105_8043C7D8"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086314 00082154 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086318 00082158 4B FF 16 49 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008631C 0008215C 48 00 00 94 */ b lbl_800863B0
|
|
|
|
.global lbl_80086320
|
|
|
|
lbl_80086320:
|
|
|
|
/* 80086320 00082160 90 BF 00 00 */ stw r5, 0x0(r31)
|
|
|
|
/* 80086324 00082164 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 80086328 00082168 88 05 00 0E */ lbz r0, 0xe(r5)
|
|
|
|
/* 8008632C 0008216C 98 1F 00 81 */ stb r0, 0x81(r31)
|
|
|
|
/* 80086330 00082170 9B 5F 00 80 */ stb r26, 0x80(r31)
|
|
|
|
/* 80086334 00082174 93 BF 00 04 */ stw r29, 0x4(r31)
|
|
|
|
/* 80086338 00082178 93 DF 00 08 */ stw r30, 0x8(r31)
|
|
|
|
/* 8008633C 0008217C 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80086340 00082180 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
|
|
|
|
/* 80086344 00082184 98 1F 00 76 */ stb r0, 0x76(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086348 00082188 48 00 18 D5 */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008634C 0008218C 54 60 06 3E */ clrlwi r0, r3, 24
|
|
|
|
/* 80086350 00082190 7C 65 1B 78 */ mr r5, r3
|
|
|
|
/* 80086354 00082194 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80086358 00082198 41 82 00 58 */ beq lbl_800863B0
|
|
|
|
/* 8008635C 0008219C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
|
|
/* 80086360 000821A0 41 82 00 50 */ beq lbl_800863B0
|
|
|
|
/* 80086364 000821A4 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 80086368 000821A8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 8008636C 000821AC 41 82 00 24 */ beq lbl_80086390
|
|
|
|
/* 80086370 000821B0 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
|
|
/* 80086374 000821B4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086378 000821B8 41 82 00 18 */ beq lbl_80086390
|
|
|
|
/* 8008637C 000821BC 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 80086380 000821C0 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80086384 000821C4 40 82 00 0C */ bne lbl_80086390
|
|
|
|
/* 80086388 000821C8 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 8008638C 000821CC 90 03 00 04 */ stw r0, 0x4(r3)
|
|
|
|
.global lbl_80086390
|
|
|
|
lbl_80086390:
|
|
|
|
/* 80086390 000821D0 7F AC EB 78 */ mr r12, r29
|
|
|
|
/* 80086394 000821D4 7F 03 C3 78 */ mr r3, r24
|
|
|
|
/* 80086398 000821D8 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 8008639C 000821DC 54 A5 06 3E */ clrlwi r5, r5, 24
|
|
|
|
/* 800863A0 000821E0 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800863A4 000821E4 4E 80 04 21 */ bctrl
|
|
|
|
/* 800863A8 000821E8 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800863AC 000821EC 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
.global lbl_800863B0
|
|
|
|
lbl_800863B0:
|
|
|
|
/* 800863B0 000821F0 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 800863B4 000821F4 4B F8 0F C9 */ bl lbl_8000737C
|
|
|
|
/* 800863B8 000821F8 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 800863BC 000821FC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800863C0 00082200 38 21 00 30 */ addi r1, r1, 0x30
|
|
|
|
/* 800863C4 00082204 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_conn_req
|
|
|
|
btm_sec_conn_req:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800863C8 00082208 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800863CC 0008220C 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800863D0 00082210 3C A0 80 4F */ lis r5, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800863D4 00082214 90 01 00 24 */ stw r0, 0x24(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800863D8 00082218 38 A5 5F 58 */ addi r5, r5, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800863DC 0008221C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 800863E0 00082220 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 800863E4 00082224 7C 9E 23 78 */ mr r30, r4
|
|
|
|
/* 800863E8 00082228 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 800863EC 0008222C 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 800863F0 00082230 88 05 19 7A */ lbz r0, 0x197a(r5)
|
|
|
|
/* 800863F4 00082234 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800863F8 00082238 41 82 00 64 */ beq lbl_8008645C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800863FC 0008223C 4B FF 9B D9 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086400 00082240 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086404 00082244 41 82 00 10 */ beq lbl_80086414
|
|
|
|
/* 80086408 00082248 88 03 00 76 */ lbz r0, 0x76(r3)
|
|
|
|
/* 8008640C 0008224C 54 00 06 F7 */ rlwinm. r0, r0, 0, 27, 27
|
|
|
|
/* 80086410 00082250 40 82 00 4C */ bne lbl_8008645C
|
|
|
|
.global lbl_80086414
|
|
|
|
lbl_80086414:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086414 00082254 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80086418 00082258 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008641C 0008225C 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80086420 00082260 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80086424 00082264 41 80 00 18 */ blt lbl_8008643C
|
|
|
|
/* 80086428 00082268 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008642C 0008226C 3C 80 80 44 */ lis r4, "@3125"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086430 00082270 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086434 00082274 38 84 C8 18 */ addi r4, r4, "@3125"@l
|
|
|
|
/* 80086438 00082278 4B FF 15 29 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_8008643C
|
|
|
|
lbl_8008643C:
|
|
|
|
/* 8008643C 0008227C 38 60 00 02 */ li r3, 0x2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086440 00082280 4B FE E9 E1 */ bl GKI_getpoolbuf
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086444 00082284 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086448 00082288 41 82 00 90 */ beq lbl_800864D8
|
|
|
|
/* 8008644C 0008228C 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 80086450 00082290 38 A0 00 0F */ li r5, 0xf
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086454 00082294 48 00 47 61 */ bl btsnd_hcic_reject_conn
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086458 00082298 48 00 00 80 */ b lbl_800864D8
|
|
|
|
.global lbl_8008645C
|
|
|
|
lbl_8008645C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008645C 0008229C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80086460 000822A0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086464 000822A4 81 83 19 34 */ lwz r12, 0x1934(r3)
|
|
|
|
/* 80086468 000822A8 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 8008646C 000822AC 41 82 00 3C */ beq lbl_800864A8
|
|
|
|
/* 80086470 000822B0 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 80086474 000822B4 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 80086478 000822B8 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 8008647C 000822BC 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086480 000822C0 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80086484 000822C4 40 82 00 24 */ bne lbl_800864A8
|
|
|
|
/* 80086488 000822C8 38 60 00 02 */ li r3, 0x2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008648C 000822CC 4B FE E9 95 */ bl GKI_getpoolbuf
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086490 000822D0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086494 000822D4 41 82 00 44 */ beq lbl_800864D8
|
|
|
|
/* 80086498 000822D8 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 8008649C 000822DC 38 A0 00 0F */ li r5, 0xf
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800864A0 000822E0 48 00 47 15 */ bl btsnd_hcic_reject_conn
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800864A4 000822E4 48 00 00 34 */ b lbl_800864D8
|
|
|
|
.global lbl_800864A8
|
|
|
|
lbl_800864A8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800864A8 000822E8 3F E0 80 4F */ lis r31, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800864AC 000822EC 7F A4 EB 78 */ mr r4, r29
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800864B0 000822F0 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800864B4 000822F4 38 A0 00 06 */ li r5, 0x6
|
|
|
|
/* 800864B8 000822F8 38 7F 27 B4 */ addi r3, r31, 0x27b4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800864BC 000822FC 4B F7 DB 45 */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800864C0 00082300 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 800864C4 00082304 38 7F 27 BA */ addi r3, r31, 0x27ba
|
|
|
|
/* 800864C8 00082308 38 A0 00 03 */ li r5, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800864CC 0008230C 4B F7 DB 35 */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800864D0 00082310 7F A3 EB 78 */ mr r3, r29
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800864D4 00082314 48 00 BD B1 */ bl l2c_link_hci_conn_req
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800864D8
|
|
|
|
lbl_800864D8:
|
|
|
|
/* 800864D8 00082318 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800864DC 0008231C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 800864E0 00082320 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 800864E4 00082324 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 800864E8 00082328 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800864EC 0008232C 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800864F0 00082330 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_init
|
|
|
|
btm_sec_init:
|
|
|
|
/* 800864F4 00082334 3C C0 80 4F */ lis r6, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800864F8 00082338 38 80 00 FF */ li r4, 0xff
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800864FC 0008233C 38 C6 5F 58 */ addi r6, r6, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086500 00082340 38 A0 00 06 */ li r5, 0x6
|
|
|
|
/* 80086504 00082344 98 66 19 78 */ stb r3, 0x1978(r6)
|
|
|
|
/* 80086508 00082348 38 66 19 54 */ addi r3, r6, 0x1954
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008650C 0008234C 4B F7 DE 44 */ b memset
|
|
|
|
.global btm_sec_dev_reset
|
|
|
|
btm_sec_dev_reset:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086510 00082350 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80086514 00082354 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086518 00082358 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008651C 0008235C 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086520 00082360 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086524 00082364 88 03 19 78 */ lbz r0, 0x1978(r3)
|
|
|
|
/* 80086528 00082368 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 8008652C 0008236C 40 82 00 14 */ bne lbl_80086540
|
|
|
|
/* 80086530 00082370 38 60 00 01 */ li r3, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086534 00082374 48 00 5E 75 */ bl btsnd_hcic_write_auth_enable
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086538 00082378 38 60 00 01 */ li r3, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008653C 0008237C 48 00 5E E1 */ bl btsnd_hcic_write_encr_mode
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086540
|
|
|
|
lbl_80086540:
|
|
|
|
/* 80086540 00082380 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80086544 00082384 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80086548 00082388 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 8008654C 0008238C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_abort_access_req
|
|
|
|
btm_sec_abort_access_req:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086550 00082390 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80086554 00082394 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80086558 00082398 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8008655C 0008239C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80086560 000823A0 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 80086564 000823A4 7C 7E 1B 78 */ mr r30, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086568 000823A8 4B FF 9A 6D */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008656C 000823AC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086570 000823B0 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80086574 000823B4 41 82 00 78 */ beq lbl_800865EC
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086578 000823B8 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 8008657C 000823BC 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086580 000823C0 81 83 19 20 */ lwz r12, 0x1920(r3)
|
|
|
|
/* 80086584 000823C4 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086588 000823C8 41 82 00 18 */ beq lbl_800865A0
|
|
|
|
/* 8008658C 000823CC 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 80086590 000823D0 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 80086594 000823D4 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80086598 000823D8 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 8008659C 000823DC 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_800865A0
|
|
|
|
lbl_800865A0:
|
|
|
|
/* 800865A0 000823E0 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 800865A4 000823E4 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 800865A8 000823E8 41 82 00 0C */ beq lbl_800865B4
|
|
|
|
/* 800865AC 000823EC 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800865B0 000823F0 40 82 00 3C */ bne lbl_800865EC
|
|
|
|
.global lbl_800865B4
|
|
|
|
lbl_800865B4:
|
|
|
|
/* 800865B4 000823F4 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800865B8 000823F8 98 7F 00 7F */ stb r3, 0x7f(r31)
|
|
|
|
/* 800865BC 000823FC 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 800865C0 00082400 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800865C4 00082404 41 82 00 20 */ beq lbl_800865E4
|
|
|
|
/* 800865C8 00082408 80 9F 00 00 */ lwz r4, 0x0(r31)
|
|
|
|
/* 800865CC 0008240C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800865D0 00082410 41 82 00 14 */ beq lbl_800865E4
|
|
|
|
/* 800865D4 00082414 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
|
|
/* 800865D8 00082418 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800865DC 0008241C 40 82 00 08 */ bne lbl_800865E4
|
|
|
|
/* 800865E0 00082420 90 64 00 04 */ stw r3, 0x4(r4)
|
|
|
|
.global lbl_800865E4
|
|
|
|
lbl_800865E4:
|
|
|
|
/* 800865E4 00082424 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800865E8 00082428 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
.global lbl_800865EC
|
|
|
|
lbl_800865EC:
|
|
|
|
/* 800865EC 0008242C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800865F0 00082430 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800865F4 00082434 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 800865F8 00082438 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800865FC 0008243C 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 80086600 00082440 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_rmt_name_request_complete
|
|
|
|
btm_sec_rmt_name_request_complete:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086604 00082444 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80086608 00082448 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8008660C 0008244C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 80086610 00082450 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80086614 00082454 4B F8 0D 29 */ bl lbl_8000733C
|
|
|
|
/* 80086618 00082458 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 8008661C 0008245C 7C 7B 1B 78 */ mr r27, r3
|
|
|
|
/* 80086620 00082460 7C 9C 23 78 */ mr r28, r4
|
|
|
|
/* 80086624 00082464 7C BE 2B 78 */ mr r30, r5
|
|
|
|
/* 80086628 00082468 41 82 00 10 */ beq lbl_80086638
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008662C 0008246C 4B FF 99 A9 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086630 00082470 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80086634 00082474 48 00 00 AC */ b lbl_800866E0
|
|
|
|
.global lbl_80086638
|
|
|
|
lbl_80086638:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086638 00082478 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008663C 0008247C 38 00 00 04 */ li r0, 0x4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086640 00082480 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086644 00082484 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 80086648 00082488 3B E3 1F 30 */ addi r31, r3, 0x1f30
|
|
|
|
/* 8008664C 0008248C 7C 09 03 A6 */ mtctr r0
|
|
|
|
.global lbl_80086650
|
|
|
|
lbl_80086650:
|
|
|
|
/* 80086650 00082490 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80086654 00082494 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80086658 00082498 41 82 00 10 */ beq lbl_80086668
|
|
|
|
/* 8008665C 0008249C 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 80086660 000824A0 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80086664 000824A4 41 82 00 70 */ beq lbl_800866D4
|
|
|
|
.global lbl_80086668
|
|
|
|
lbl_80086668:
|
|
|
|
/* 80086668 000824A8 88 1F 00 FE */ lbz r0, 0xfe(r31)
|
|
|
|
/* 8008666C 000824AC 38 84 00 01 */ addi r4, r4, 0x1
|
|
|
|
/* 80086670 000824B0 3B FF 00 88 */ addi r31, r31, 0x88
|
|
|
|
/* 80086674 000824B4 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80086678 000824B8 41 82 00 10 */ beq lbl_80086688
|
|
|
|
/* 8008667C 000824BC 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 80086680 000824C0 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80086684 000824C4 41 82 00 50 */ beq lbl_800866D4
|
|
|
|
.global lbl_80086688
|
|
|
|
lbl_80086688:
|
|
|
|
/* 80086688 000824C8 88 1F 00 FE */ lbz r0, 0xfe(r31)
|
|
|
|
/* 8008668C 000824CC 38 84 00 01 */ addi r4, r4, 0x1
|
|
|
|
/* 80086690 000824D0 3B FF 00 88 */ addi r31, r31, 0x88
|
|
|
|
/* 80086694 000824D4 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80086698 000824D8 41 82 00 10 */ beq lbl_800866A8
|
|
|
|
/* 8008669C 000824DC 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 800866A0 000824E0 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800866A4 000824E4 41 82 00 30 */ beq lbl_800866D4
|
|
|
|
.global lbl_800866A8
|
|
|
|
lbl_800866A8:
|
|
|
|
/* 800866A8 000824E8 88 1F 00 FE */ lbz r0, 0xfe(r31)
|
|
|
|
/* 800866AC 000824EC 38 84 00 01 */ addi r4, r4, 0x1
|
|
|
|
/* 800866B0 000824F0 3B FF 00 88 */ addi r31, r31, 0x88
|
|
|
|
/* 800866B4 000824F4 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 800866B8 000824F8 41 82 00 10 */ beq lbl_800866C8
|
|
|
|
/* 800866BC 000824FC 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 800866C0 00082500 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800866C4 00082504 41 82 00 10 */ beq lbl_800866D4
|
|
|
|
.global lbl_800866C8
|
|
|
|
lbl_800866C8:
|
|
|
|
/* 800866C8 00082508 38 84 00 01 */ addi r4, r4, 0x1
|
|
|
|
/* 800866CC 0008250C 3B FF 00 88 */ addi r31, r31, 0x88
|
|
|
|
/* 800866D0 00082510 42 00 FF 80 */ bdnz lbl_80086650
|
|
|
|
.global lbl_800866D4
|
|
|
|
lbl_800866D4:
|
|
|
|
/* 800866D4 00082514 2C 04 00 10 */ cmpwi r4, 0x10
|
|
|
|
/* 800866D8 00082518 40 82 00 08 */ bne lbl_800866E0
|
|
|
|
/* 800866DC 0008251C 3B E0 00 00 */ li r31, 0x0
|
|
|
|
.global lbl_800866E0
|
|
|
|
lbl_800866E0:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800866E0 00082520 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800866E4 00082524 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800866E8 00082528 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800866EC 0008252C 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 800866F0 00082530 41 80 00 30 */ blt lbl_80086720
|
|
|
|
/* 800866F4 00082534 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 800866F8 00082538 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800866FC 0008253C 3C 80 80 44 */ lis r4, "@3195_8043C854"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086700 00082540 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 80086704 00082544 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086708 00082548 38 84 C8 54 */ addi r4, r4, "@3195_8043C854"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008670C 0008254C 41 82 00 0C */ beq lbl_80086718
|
|
|
|
/* 80086710 00082550 88 DF 00 7F */ lbz r6, 0x7f(r31)
|
|
|
|
/* 80086714 00082554 48 00 00 08 */ b lbl_8008671C
|
|
|
|
.global lbl_80086718
|
|
|
|
lbl_80086718:
|
|
|
|
/* 80086718 00082558 38 C0 00 00 */ li r6, 0x0
|
|
|
|
.global lbl_8008671C
|
|
|
|
lbl_8008671C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008671C 0008255C 4B FF 12 45 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086720
|
|
|
|
lbl_80086720:
|
|
|
|
/* 80086720 00082560 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80086724 00082564 41 82 01 B0 */ beq lbl_800868D4
|
|
|
|
/* 80086728 00082568 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 8008672C 0008256C 40 82 00 5C */ bne lbl_80086788
|
|
|
|
/* 80086730 00082570 7F 84 E3 78 */ mr r4, r28
|
|
|
|
/* 80086734 00082574 38 7F 00 35 */ addi r3, r31, 0x35
|
|
|
|
/* 80086738 00082578 38 A0 00 40 */ li r5, 0x40
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008673C 0008257C 4B F7 D8 C5 */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086740 00082580 88 1F 00 76 */ lbz r0, 0x76(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086744 00082584 3F A0 80 4F */ lis r29, btm_cb@ha
|
|
|
|
/* 80086748 00082588 3B BD 5F 58 */ addi r29, r29, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008674C 0008258C 3B 80 00 00 */ li r28, 0x0
|
|
|
|
/* 80086750 00082590 60 00 00 08 */ ori r0, r0, 0x8
|
|
|
|
/* 80086754 00082594 98 1F 00 76 */ stb r0, 0x76(r31)
|
|
|
|
.global lbl_80086758
|
|
|
|
lbl_80086758:
|
|
|
|
/* 80086758 00082598 81 9D 19 2C */ lwz r12, 0x192c(r29)
|
|
|
|
/* 8008675C 0008259C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086760 000825A0 41 82 00 18 */ beq lbl_80086778
|
|
|
|
/* 80086764 000825A4 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 80086768 000825A8 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 8008676C 000825AC 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80086770 000825B0 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086774 000825B4 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80086778
|
|
|
|
lbl_80086778:
|
|
|
|
/* 80086778 000825B8 3B 9C 00 01 */ addi r28, r28, 0x1
|
|
|
|
/* 8008677C 000825BC 3B BD 00 04 */ addi r29, r29, 0x4
|
|
|
|
/* 80086780 000825C0 2C 1C 00 02 */ cmpwi r28, 0x2
|
|
|
|
/* 80086784 000825C4 41 80 FF D4 */ blt lbl_80086758
|
|
|
|
.global lbl_80086788
|
|
|
|
lbl_80086788:
|
|
|
|
/* 80086788 000825C8 88 1F 00 82 */ lbz r0, 0x82(r31)
|
|
|
|
/* 8008678C 000825CC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086790 000825D0 41 82 00 98 */ beq lbl_80086828
|
|
|
|
/* 80086794 000825D4 88 1F 00 81 */ lbz r0, 0x81(r31)
|
|
|
|
/* 80086798 000825D8 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 8008679C 000825DC 41 82 00 10 */ beq lbl_800867AC
|
|
|
|
/* 800867A0 000825E0 88 1F 00 85 */ lbz r0, 0x85(r31)
|
|
|
|
/* 800867A4 000825E4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800867A8 000825E8 41 82 01 2C */ beq lbl_800868D4
|
|
|
|
.global lbl_800867AC
|
|
|
|
lbl_800867AC:
|
|
|
|
/* 800867AC 000825EC 38 00 00 00 */ li r0, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800867B0 000825F0 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800867B4 000825F4 98 1F 00 82 */ stb r0, 0x82(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800867B8 000825F8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800867BC 000825FC 81 83 19 14 */ lwz r12, 0x1914(r3)
|
|
|
|
/* 800867C0 00082600 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 800867C4 00082604 41 82 00 20 */ beq lbl_800867E4
|
|
|
|
/* 800867C8 00082608 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 800867CC 0008260C 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 800867D0 00082610 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 800867D4 00082614 38 DF 00 25 */ addi r6, r31, 0x25
|
|
|
|
/* 800867D8 00082618 88 FF 00 83 */ lbz r7, 0x83(r31)
|
|
|
|
/* 800867DC 0008261C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800867E0 00082620 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_800867E4
|
|
|
|
lbl_800867E4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800867E4 00082624 3F A0 80 4F */ lis r29, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800867E8 00082628 3B 80 00 00 */ li r28, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800867EC 0008262C 3B BD 5F 58 */ addi r29, r29, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800867F0
|
|
|
|
lbl_800867F0:
|
|
|
|
/* 800867F0 00082630 81 9D 19 24 */ lwz r12, 0x1924(r29)
|
|
|
|
/* 800867F4 00082634 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 800867F8 00082638 41 82 00 20 */ beq lbl_80086818
|
|
|
|
/* 800867FC 0008263C 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80086800 00082640 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 80086804 00082644 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80086808 00082648 38 DF 00 25 */ addi r6, r31, 0x25
|
|
|
|
/* 8008680C 0008264C 88 FF 00 83 */ lbz r7, 0x83(r31)
|
|
|
|
/* 80086810 00082650 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086814 00082654 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80086818
|
|
|
|
lbl_80086818:
|
|
|
|
/* 80086818 00082658 3B 9C 00 01 */ addi r28, r28, 0x1
|
|
|
|
/* 8008681C 0008265C 3B BD 00 04 */ addi r29, r29, 0x4
|
|
|
|
/* 80086820 00082660 2C 1C 00 02 */ cmpwi r28, 0x2
|
|
|
|
/* 80086824 00082664 41 80 FF CC */ blt lbl_800867F0
|
|
|
|
.global lbl_80086828
|
|
|
|
lbl_80086828:
|
|
|
|
/* 80086828 00082668 88 7F 00 81 */ lbz r3, 0x81(r31)
|
|
|
|
/* 8008682C 0008266C 54 60 06 73 */ rlwinm. r0, r3, 0, 25, 25
|
|
|
|
/* 80086830 00082670 41 82 00 2C */ beq lbl_8008685C
|
|
|
|
/* 80086834 00082674 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80086838 00082678 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
|
|
|
|
/* 8008683C 0008267C 41 82 00 20 */ beq lbl_8008685C
|
|
|
|
/* 80086840 00082680 38 00 FF AF */ li r0, -0x51
|
|
|
|
/* 80086844 00082684 38 80 00 13 */ li r4, 0x13
|
|
|
|
/* 80086848 00082688 7C 60 00 38 */ and r0, r3, r0
|
|
|
|
/* 8008684C 0008268C 98 1F 00 81 */ stb r0, 0x81(r31)
|
|
|
|
/* 80086850 00082690 A0 7F 00 18 */ lhz r3, 0x18(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086854 00082694 48 00 41 ED */ bl btsnd_hcic_disconnect
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086858 00082698 48 00 00 7C */ b lbl_800868D4
|
|
|
|
.global lbl_8008685C
|
|
|
|
lbl_8008685C:
|
|
|
|
/* 8008685C 0008269C 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 80086860 000826A0 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80086864 000826A4 40 82 00 70 */ bne lbl_800868D4
|
|
|
|
/* 80086868 000826A8 3B A0 00 00 */ li r29, 0x0
|
|
|
|
/* 8008686C 000826AC 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 80086870 000826B0 9B BF 00 7F */ stb r29, 0x7f(r31)
|
|
|
|
/* 80086874 000826B4 41 82 00 2C */ beq lbl_800868A0
|
|
|
|
/* 80086878 000826B8 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 8008687C 000826BC 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086880 000826C0 41 82 00 54 */ beq lbl_800868D4
|
|
|
|
/* 80086884 000826C4 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80086888 000826C8 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 8008688C 000826CC 38 A0 00 0A */ li r5, 0xa
|
|
|
|
/* 80086890 000826D0 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086894 000826D4 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086898 000826D8 93 BF 00 04 */ stw r29, 0x4(r31)
|
|
|
|
/* 8008689C 000826DC 48 00 00 38 */ b lbl_800868D4
|
|
|
|
.global lbl_800868A0
|
|
|
|
lbl_800868A0:
|
|
|
|
/* 800868A0 000826E0 7F E3 FB 78 */ mr r3, r31
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800868A4 000826E4 48 00 13 79 */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800868A8 000826E8 54 65 06 3E */ clrlwi r5, r3, 24
|
|
|
|
/* 800868AC 000826EC 28 05 00 01 */ cmplwi r5, 0x1
|
|
|
|
/* 800868B0 000826F0 41 82 00 24 */ beq lbl_800868D4
|
|
|
|
/* 800868B4 000826F4 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 800868B8 000826F8 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 800868BC 000826FC 41 82 00 18 */ beq lbl_800868D4
|
|
|
|
/* 800868C0 00082700 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 800868C4 00082704 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 800868C8 00082708 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800868CC 0008270C 4E 80 04 21 */ bctrl
|
|
|
|
/* 800868D0 00082710 93 BF 00 04 */ stw r29, 0x4(r31)
|
|
|
|
.global lbl_800868D4
|
|
|
|
lbl_800868D4:
|
|
|
|
/* 800868D4 00082714 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 800868D8 00082718 4B F8 0A B1 */ bl lbl_80007388
|
|
|
|
/* 800868DC 0008271C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800868E0 00082720 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800868E4 00082724 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800868E8 00082728 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_auth_complete
|
|
|
|
btm_sec_auth_complete:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800868EC 0008272C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800868F0 00082730 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800868F4 00082734 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 800868F8 00082738 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 800868FC 0008273C 4B F8 0A 3D */ bl lbl_80007338
|
|
|
|
/* 80086900 00082740 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 80086904 00082744 7C 9E 23 78 */ mr r30, r4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086908 00082748 4B FF 96 15 */ bl btm_find_dev_by_handle
|
|
|
|
/* 8008690C 0008274C 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086910 00082750 7C 7F 1B 78 */ mr r31, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086914 00082754 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086918 00082758 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 8008691C 0008275C 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80086920 00082760 41 80 00 30 */ blt lbl_80086950
|
|
|
|
/* 80086924 00082764 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80086928 00082768 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008692C 0008276C 3C 80 80 44 */ lis r4, "@3238"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086930 00082770 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 80086934 00082774 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086938 00082778 38 84 C8 8C */ addi r4, r4, "@3238"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008693C 0008277C 41 82 00 0C */ beq lbl_80086948
|
|
|
|
/* 80086940 00082780 88 DF 00 7F */ lbz r6, 0x7f(r31)
|
|
|
|
/* 80086944 00082784 48 00 00 08 */ b lbl_8008694C
|
|
|
|
.global lbl_80086948
|
|
|
|
lbl_80086948:
|
|
|
|
/* 80086948 00082788 38 C0 00 00 */ li r6, 0x0
|
|
|
|
.global lbl_8008694C
|
|
|
|
lbl_8008694C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008694C 0008278C 4B FF 10 15 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086950
|
|
|
|
lbl_80086950:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086950 00082790 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80086954 00082794 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086958 00082798 88 04 19 7B */ lbz r0, 0x197b(r4)
|
|
|
|
/* 8008695C 0008279C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086960 000827A0 41 82 00 58 */ beq lbl_800869B8
|
|
|
|
/* 80086964 000827A4 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80086968 000827A8 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 8008696C 000827AC 98 64 19 7B */ stb r3, 0x197b(r4)
|
|
|
|
/* 80086970 000827B0 28 00 00 05 */ cmplwi r0, 0x5
|
|
|
|
/* 80086974 000827B4 41 80 00 28 */ blt lbl_8008699C
|
|
|
|
/* 80086978 000827B8 88 64 19 78 */ lbz r3, 0x1978(r4)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008697C 000827BC 3C 80 80 44 */ lis r4, "@3016_8043C57C"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086980 000827C0 3C A0 00 0D */ lis r5, 0xd
|
|
|
|
/* 80086984 000827C4 38 03 FF FD */ addi r0, r3, -0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086988 000827C8 38 84 C5 7C */ addi r4, r4, "@3016_8043C57C"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008698C 000827CC 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 80086990 000827D0 38 65 00 04 */ addi r3, r5, 0x4
|
|
|
|
/* 80086994 000827D4 54 05 D9 7E */ srwi r5, r0, 5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086998 000827D8 4B FF 0F C9 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_8008699C
|
|
|
|
lbl_8008699C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008699C 000827DC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800869A0 000827E0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800869A4 000827E4 88 63 19 78 */ lbz r3, 0x1978(r3)
|
|
|
|
/* 800869A8 000827E8 38 03 FF FD */ addi r0, r3, -0x3
|
|
|
|
/* 800869AC 000827EC 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 800869B0 000827F0 54 03 DE 3E */ extrwi r3, r0, 8, 19
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800869B4 000827F4 48 00 59 F5 */ bl btsnd_hcic_write_auth_enable
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800869B8
|
|
|
|
lbl_800869B8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800869B8 000827F8 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 800869BC 000827FC 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800869C0 00082800 88 04 19 7C */ lbz r0, 0x197c(r4)
|
|
|
|
/* 800869C4 00082804 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800869C8 00082808 41 82 00 14 */ beq lbl_800869DC
|
|
|
|
/* 800869CC 0008280C 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800869D0 00082810 88 64 00 20 */ lbz r3, 0x20(r4)
|
|
|
|
/* 800869D4 00082814 98 04 19 7C */ stb r0, 0x197c(r4)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800869D8 00082818 48 00 54 5D */ bl btsnd_hcic_write_pin_type
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800869DC
|
|
|
|
lbl_800869DC:
|
|
|
|
/* 800869DC 0008281C 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 800869E0 00082820 41 82 00 90 */ beq lbl_80086A70
|
|
|
|
/* 800869E4 00082824 88 7F 00 81 */ lbz r3, 0x81(r31)
|
|
|
|
/* 800869E8 00082828 54 60 06 73 */ rlwinm. r0, r3, 0, 25, 25
|
|
|
|
/* 800869EC 0008282C 41 82 00 84 */ beq lbl_80086A70
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800869F0 00082830 3F 60 80 4F */ lis r27, btm_cb@ha
|
|
|
|
/* 800869F4 00082834 3B 7B 5F 58 */ addi r27, r27, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800869F8 00082838 88 1B 19 7D */ lbz r0, 0x197d(r27)
|
|
|
|
/* 800869FC 0008283C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086A00 00082840 40 82 00 70 */ bne lbl_80086A70
|
|
|
|
/* 80086A04 00082844 38 00 FF AF */ li r0, -0x51
|
|
|
|
/* 80086A08 00082848 7C 60 00 38 */ and r0, r3, r0
|
|
|
|
/* 80086A0C 0008284C 98 1F 00 81 */ stb r0, 0x81(r31)
|
|
|
|
/* 80086A10 00082850 8B 5B 19 7E */ lbz r26, 0x197e(r27)
|
|
|
|
/* 80086A14 00082854 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 80086A18 00082858 41 82 00 58 */ beq lbl_80086A70
|
|
|
|
/* 80086A1C 0008285C 7F A3 EB 78 */ mr r3, r29
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086A20 00082860 4B FF 94 FD */ bl btm_find_dev_by_handle
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086A24 00082864 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086A28 00082868 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 80086A2C 0008286C 41 82 00 44 */ beq lbl_80086A70
|
|
|
|
/* 80086A30 00082870 88 03 00 81 */ lbz r0, 0x81(r3)
|
|
|
|
/* 80086A34 00082874 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80086A38 00082878 41 82 00 0C */ beq lbl_80086A44
|
|
|
|
/* 80086A3C 0008287C 9B 5B 19 7E */ stb r26, 0x197e(r27)
|
|
|
|
/* 80086A40 00082880 48 00 00 30 */ b lbl_80086A70
|
|
|
|
.global lbl_80086A44
|
|
|
|
lbl_80086A44:
|
|
|
|
/* 80086A44 00082884 8B 63 00 7F */ lbz r27, 0x7f(r3)
|
|
|
|
/* 80086A48 00082888 28 1B 00 05 */ cmplwi r27, 0x5
|
|
|
|
/* 80086A4C 0008288C 41 82 00 24 */ beq lbl_80086A70
|
|
|
|
/* 80086A50 00082890 38 00 00 05 */ li r0, 0x5
|
|
|
|
/* 80086A54 00082894 7F 44 D3 78 */ mr r4, r26
|
|
|
|
/* 80086A58 00082898 98 03 00 7F */ stb r0, 0x7f(r3)
|
|
|
|
/* 80086A5C 0008289C 7F A3 EB 78 */ mr r3, r29
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086A60 000828A0 48 00 3F E1 */ bl btsnd_hcic_disconnect
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086A64 000828A4 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80086A68 000828A8 40 82 00 08 */ bne lbl_80086A70
|
|
|
|
/* 80086A6C 000828AC 9B 7C 00 7F */ stb r27, 0x7f(r28)
|
|
|
|
.global lbl_80086A70
|
|
|
|
lbl_80086A70:
|
|
|
|
/* 80086A70 000828B0 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80086A74 000828B4 41 82 01 A4 */ beq lbl_80086C18
|
|
|
|
/* 80086A78 000828B8 88 1F 00 7F */ lbz r0, 0x7f(r31)
|
|
|
|
/* 80086A7C 000828BC 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80086A80 000828C0 41 82 00 3C */ beq lbl_80086ABC
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086A84 000828C4 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80086A88 000828C8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086A8C 000828CC 81 83 19 1C */ lwz r12, 0x191c(r3)
|
|
|
|
/* 80086A90 000828D0 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086A94 000828D4 41 82 01 84 */ beq lbl_80086C18
|
|
|
|
/* 80086A98 000828D8 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 80086A9C 000828DC 41 82 01 7C */ beq lbl_80086C18
|
|
|
|
/* 80086AA0 000828E0 7F C6 F3 78 */ mr r6, r30
|
|
|
|
/* 80086AA4 000828E4 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80086AA8 000828E8 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 80086AAC 000828EC 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80086AB0 000828F0 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086AB4 000828F4 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086AB8 000828F8 48 00 01 60 */ b lbl_80086C18
|
|
|
|
.global lbl_80086ABC
|
|
|
|
lbl_80086ABC:
|
|
|
|
/* 80086ABC 000828FC 28 1E 00 0C */ cmplwi r30, 0xc
|
|
|
|
/* 80086AC0 00082900 40 82 00 18 */ bne lbl_80086AD8
|
|
|
|
/* 80086AC4 00082904 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80086AC8 00082908 54 00 07 7C */ rlwinm r0, r0, 0, 29, 30
|
|
|
|
/* 80086ACC 0008290C 2C 00 00 06 */ cmpwi r0, 0x6
|
|
|
|
/* 80086AD0 00082910 40 82 00 08 */ bne lbl_80086AD8
|
|
|
|
/* 80086AD4 00082914 3B C0 00 00 */ li r30, 0x0
|
|
|
|
.global lbl_80086AD8
|
|
|
|
lbl_80086AD8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086AD8 00082918 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80086ADC 0008291C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086AE0 00082920 81 83 19 1C */ lwz r12, 0x191c(r3)
|
|
|
|
/* 80086AE4 00082924 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086AE8 00082928 41 82 00 1C */ beq lbl_80086B04
|
|
|
|
/* 80086AEC 0008292C 7F C6 F3 78 */ mr r6, r30
|
|
|
|
/* 80086AF0 00082930 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80086AF4 00082934 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 80086AF8 00082938 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80086AFC 0008293C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086B00 00082940 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80086B04
|
|
|
|
lbl_80086B04:
|
|
|
|
/* 80086B04 00082944 3B A0 00 00 */ li r29, 0x0
|
|
|
|
/* 80086B08 00082948 9B BF 00 7F */ stb r29, 0x7f(r31)
|
|
|
|
/* 80086B0C 0008294C 88 7F 00 81 */ lbz r3, 0x81(r31)
|
|
|
|
/* 80086B10 00082950 54 60 06 73 */ rlwinm. r0, r3, 0, 25, 25
|
|
|
|
/* 80086B14 00082954 41 82 00 20 */ beq lbl_80086B34
|
|
|
|
/* 80086B18 00082958 38 00 FF AF */ li r0, -0x51
|
|
|
|
/* 80086B1C 0008295C 38 80 00 13 */ li r4, 0x13
|
|
|
|
/* 80086B20 00082960 7C 60 00 38 */ and r0, r3, r0
|
|
|
|
/* 80086B24 00082964 98 1F 00 81 */ stb r0, 0x81(r31)
|
|
|
|
/* 80086B28 00082968 A0 7F 00 18 */ lhz r3, 0x18(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086B2C 0008296C 48 00 3F 15 */ bl btsnd_hcic_disconnect
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086B30 00082970 48 00 00 E8 */ b lbl_80086C18
|
|
|
|
.global lbl_80086B34
|
|
|
|
lbl_80086B34:
|
|
|
|
/* 80086B34 00082974 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 80086B38 00082978 41 82 00 68 */ beq lbl_80086BA0
|
|
|
|
/* 80086B3C 0008297C 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
|
|
/* 80086B40 00082980 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086B44 00082984 41 82 00 4C */ beq lbl_80086B90
|
|
|
|
/* 80086B48 00082988 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 80086B4C 0008298C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086B50 00082990 41 82 00 20 */ beq lbl_80086B70
|
|
|
|
/* 80086B54 00082994 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
|
|
/* 80086B58 00082998 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086B5C 0008299C 41 82 00 14 */ beq lbl_80086B70
|
|
|
|
/* 80086B60 000829A0 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 80086B64 000829A4 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80086B68 000829A8 40 82 00 08 */ bne lbl_80086B70
|
|
|
|
/* 80086B6C 000829AC 93 A3 00 04 */ stw r29, 0x4(r3)
|
|
|
|
.global lbl_80086B70
|
|
|
|
lbl_80086B70:
|
|
|
|
/* 80086B70 000829B0 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 80086B74 000829B4 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80086B78 000829B8 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 80086B7C 000829BC 38 A0 00 0A */ li r5, 0xa
|
|
|
|
/* 80086B80 000829C0 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086B84 000829C4 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086B88 000829C8 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80086B8C 000829CC 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
.global lbl_80086B90
|
|
|
|
lbl_80086B90:
|
|
|
|
/* 80086B90 000829D0 A0 7F 00 18 */ lhz r3, 0x18(r31)
|
|
|
|
/* 80086B94 000829D4 38 80 00 05 */ li r4, 0x5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086B98 000829D8 48 00 3E A9 */ bl btsnd_hcic_disconnect
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086B9C 000829DC 48 00 00 7C */ b lbl_80086C18
|
|
|
|
.global lbl_80086BA0
|
|
|
|
lbl_80086BA0:
|
|
|
|
/* 80086BA0 000829E0 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80086BA4 000829E4 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 80086BA8 000829E8 60 00 00 02 */ ori r0, r0, 0x2
|
|
|
|
/* 80086BAC 000829EC 98 1F 00 76 */ stb r0, 0x76(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086BB0 000829F0 48 00 10 6D */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086BB4 000829F4 54 60 06 3E */ clrlwi r0, r3, 24
|
|
|
|
/* 80086BB8 000829F8 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 80086BBC 000829FC 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80086BC0 00082A00 41 82 00 58 */ beq lbl_80086C18
|
|
|
|
/* 80086BC4 00082A04 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
|
|
/* 80086BC8 00082A08 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086BCC 00082A0C 41 82 00 4C */ beq lbl_80086C18
|
|
|
|
/* 80086BD0 00082A10 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 80086BD4 00082A14 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086BD8 00082A18 41 82 00 20 */ beq lbl_80086BF8
|
|
|
|
/* 80086BDC 00082A1C 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
|
|
/* 80086BE0 00082A20 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086BE4 00082A24 41 82 00 14 */ beq lbl_80086BF8
|
|
|
|
/* 80086BE8 00082A28 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 80086BEC 00082A2C 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80086BF0 00082A30 40 82 00 08 */ bne lbl_80086BF8
|
|
|
|
/* 80086BF4 00082A34 93 A3 00 04 */ stw r29, 0x4(r3)
|
|
|
|
.global lbl_80086BF8
|
|
|
|
lbl_80086BF8:
|
|
|
|
/* 80086BF8 00082A38 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 80086BFC 00082A3C 54 85 06 3E */ clrlwi r5, r4, 24
|
|
|
|
/* 80086C00 00082A40 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80086C04 00082A44 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 80086C08 00082A48 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086C0C 00082A4C 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086C10 00082A50 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80086C14 00082A54 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
.global lbl_80086C18
|
|
|
|
lbl_80086C18:
|
|
|
|
/* 80086C18 00082A58 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80086C1C 00082A5C 4B F8 07 69 */ bl lbl_80007384
|
|
|
|
/* 80086C20 00082A60 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 80086C24 00082A64 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80086C28 00082A68 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80086C2C 00082A6C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_mkey_comp_event
|
|
|
|
btm_sec_mkey_comp_event:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086C30 00082A70 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80086C34 00082A74 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80086C38 00082A78 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 80086C3C 00082A7C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 80086C40 00082A80 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 80086C44 00082A84 7C BE 2B 78 */ mr r30, r5
|
|
|
|
/* 80086C48 00082A88 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 80086C4C 00082A8C 7C 9D 23 78 */ mr r29, r4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086C50 00082A90 4B FF 92 CD */ bl btm_find_dev_by_handle
|
|
|
|
/* 80086C54 00082A94 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80086C58 00082A98 88 E2 89 D0 */ lbz r7, "@1779_8055E950"@sda21(r2)
|
|
|
|
/* 80086C5C 00082A9C 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086C60 00082AA0 88 C2 89 D1 */ lbz r6, lbl_8055E951@sda21(r2)
|
|
|
|
/* 80086C64 00082AA4 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80086C68 00082AA8 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80086C6C 00082AAC 88 A2 89 D2 */ lbz r5, lbl_8055E952@sda21(r2)
|
|
|
|
/* 80086C70 00082AB0 88 82 89 D3 */ lbz r4, lbl_8055E953@sda21(r2)
|
|
|
|
/* 80086C74 00082AB4 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80086C78 00082AB8 88 62 89 D4 */ lbz r3, lbl_8055E954@sda21(r2)
|
|
|
|
/* 80086C7C 00082ABC 88 02 89 D5 */ lbz r0, lbl_8055E955@sda21(r2)
|
|
|
|
/* 80086C80 00082AC0 98 E1 00 08 */ stb r7, 0x8(r1)
|
|
|
|
/* 80086C84 00082AC4 98 C1 00 09 */ stb r6, 0x9(r1)
|
|
|
|
/* 80086C88 00082AC8 98 A1 00 0A */ stb r5, 0xa(r1)
|
|
|
|
/* 80086C8C 00082ACC 98 81 00 0B */ stb r4, 0xb(r1)
|
|
|
|
/* 80086C90 00082AD0 98 61 00 0C */ stb r3, 0xc(r1)
|
|
|
|
/* 80086C94 00082AD4 98 01 00 0D */ stb r0, 0xd(r1)
|
|
|
|
/* 80086C98 00082AD8 41 80 00 30 */ blt lbl_80086CC8
|
|
|
|
/* 80086C9C 00082ADC 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80086CA0 00082AE0 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086CA4 00082AE4 3C 80 80 44 */ lis r4, "@3250_8043C8C0"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086CA8 00082AE8 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 80086CAC 00082AEC 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086CB0 00082AF0 38 84 C8 C0 */ addi r4, r4, "@3250_8043C8C0"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086CB4 00082AF4 41 82 00 0C */ beq lbl_80086CC0
|
|
|
|
/* 80086CB8 00082AF8 88 DF 00 7F */ lbz r6, 0x7f(r31)
|
|
|
|
/* 80086CBC 00082AFC 48 00 00 08 */ b lbl_80086CC4
|
|
|
|
.global lbl_80086CC0
|
|
|
|
lbl_80086CC0:
|
|
|
|
/* 80086CC0 00082B00 38 C0 00 00 */ li r6, 0x0
|
|
|
|
.global lbl_80086CC4
|
|
|
|
lbl_80086CC4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086CC4 00082B04 4B FF 0C 9D */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086CC8
|
|
|
|
lbl_80086CC8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086CC8 00082B08 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80086CCC 00082B0C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086CD0 00082B10 81 83 27 B0 */ lwz r12, 0x27b0(r3)
|
|
|
|
/* 80086CD4 00082B14 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086CD8 00082B18 41 82 00 38 */ beq lbl_80086D10
|
|
|
|
/* 80086CDC 00082B1C 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80086CE0 00082B20 40 82 00 1C */ bne lbl_80086CFC
|
|
|
|
/* 80086CE4 00082B24 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 80086CE8 00082B28 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 80086CEC 00082B2C 38 61 00 08 */ addi r3, r1, 0x8
|
|
|
|
/* 80086CF0 00082B30 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086CF4 00082B34 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086CF8 00082B38 48 00 00 18 */ b lbl_80086D10
|
|
|
|
.global lbl_80086CFC
|
|
|
|
lbl_80086CFC:
|
|
|
|
/* 80086CFC 00082B3C 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 80086D00 00082B40 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 80086D04 00082B44 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80086D08 00082B48 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086D0C 00082B4C 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80086D10
|
|
|
|
lbl_80086D10:
|
|
|
|
/* 80086D10 00082B50 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 80086D14 00082B54 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 80086D18 00082B58 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 80086D1C 00082B5C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 80086D20 00082B60 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80086D24 00082B64 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80086D28 00082B68 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_encrypt_change
|
|
|
|
btm_sec_encrypt_change:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086D2C 00082B6C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80086D30 00082B70 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80086D34 00082B74 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 80086D38 00082B78 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80086D3C 00082B7C 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 80086D40 00082B80 93 C1 00 08 */ stw r30, 0x8(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086D44 00082B84 4B FF 91 D9 */ bl btm_find_dev_by_handle
|
|
|
|
/* 80086D48 00082B88 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086D4C 00082B8C 7C 7E 1B 78 */ mr r30, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086D50 00082B90 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086D54 00082B94 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80086D58 00082B98 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80086D5C 00082B9C 41 80 00 30 */ blt lbl_80086D8C
|
|
|
|
/* 80086D60 00082BA0 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 80086D64 00082BA4 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086D68 00082BA8 3C 80 80 44 */ lis r4, "@3268"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086D6C 00082BAC 7F E5 FB 78 */ mr r5, r31
|
|
|
|
/* 80086D70 00082BB0 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086D74 00082BB4 38 84 C8 F0 */ addi r4, r4, "@3268"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086D78 00082BB8 41 82 00 0C */ beq lbl_80086D84
|
|
|
|
/* 80086D7C 00082BBC 88 DE 00 7F */ lbz r6, 0x7f(r30)
|
|
|
|
/* 80086D80 00082BC0 48 00 00 08 */ b lbl_80086D88
|
|
|
|
.global lbl_80086D84
|
|
|
|
lbl_80086D84:
|
|
|
|
/* 80086D84 00082BC4 38 C0 00 00 */ li r6, 0x0
|
|
|
|
.global lbl_80086D88
|
|
|
|
lbl_80086D88:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086D88 00082BC8 4B FF 0B D9 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086D8C
|
|
|
|
lbl_80086D8C:
|
|
|
|
/* 80086D8C 00082BCC 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 80086D90 00082BD0 41 82 00 C0 */ beq lbl_80086E50
|
|
|
|
/* 80086D94 00082BD4 28 1F 00 23 */ cmplwi r31, 0x23
|
|
|
|
/* 80086D98 00082BD8 40 82 00 30 */ bne lbl_80086DC8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086D9C 00082BDC 3C E0 80 4F */ lis r7, btm_cb@ha
|
|
|
|
/* 80086DA0 00082BE0 3C C0 80 09 */ lis r6, btm_sec_collision_timeout@ha
|
|
|
|
/* 80086DA4 00082BE4 38 E7 5F 58 */ addi r7, r7, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086DA8 00082BE8 38 80 00 16 */ li r4, 0x16
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086DAC 00082BEC 38 C6 81 18 */ addi r6, r6, btm_sec_collision_timeout@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086DB0 00082BF0 93 C7 19 38 */ stw r30, 0x1938(r7)
|
|
|
|
/* 80086DB4 00082BF4 38 67 19 5C */ addi r3, r7, 0x195c
|
|
|
|
/* 80086DB8 00082BF8 38 A0 00 01 */ li r5, 0x1
|
|
|
|
/* 80086DBC 00082BFC 90 C7 19 6C */ stw r6, 0x196c(r7)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086DC0 00082C00 4B FF 10 F1 */ bl btu_start_timer
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086DC4 00082C04 48 00 00 8C */ b lbl_80086E50
|
|
|
|
.global lbl_80086DC8
|
|
|
|
lbl_80086DC8:
|
|
|
|
/* 80086DC8 00082C08 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80086DCC 00082C0C 41 82 00 30 */ beq lbl_80086DFC
|
|
|
|
/* 80086DD0 00082C10 81 9E 00 04 */ lwz r12, 0x4(r30)
|
|
|
|
/* 80086DD4 00082C14 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086DD8 00082C18 41 82 00 78 */ beq lbl_80086E50
|
|
|
|
/* 80086DDC 00082C1C 38 7E 00 1C */ addi r3, r30, 0x1c
|
|
|
|
/* 80086DE0 00082C20 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
|
|
/* 80086DE4 00082C24 38 A0 00 0A */ li r5, 0xa
|
|
|
|
/* 80086DE8 00082C28 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086DEC 00082C2C 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086DF0 00082C30 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80086DF4 00082C34 90 1E 00 04 */ stw r0, 0x4(r30)
|
|
|
|
/* 80086DF8 00082C38 48 00 00 58 */ b lbl_80086E50
|
|
|
|
.global lbl_80086DFC
|
|
|
|
lbl_80086DFC:
|
|
|
|
/* 80086DFC 00082C3C 88 1E 00 76 */ lbz r0, 0x76(r30)
|
|
|
|
/* 80086E00 00082C40 60 00 00 06 */ ori r0, r0, 0x6
|
|
|
|
/* 80086E04 00082C44 98 1E 00 76 */ stb r0, 0x76(r30)
|
|
|
|
/* 80086E08 00082C48 88 1E 00 7F */ lbz r0, 0x7f(r30)
|
|
|
|
/* 80086E0C 00082C4C 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80086E10 00082C50 40 82 00 40 */ bne lbl_80086E50
|
|
|
|
/* 80086E14 00082C54 3B E0 00 00 */ li r31, 0x0
|
|
|
|
/* 80086E18 00082C58 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 80086E1C 00082C5C 9B FE 00 7F */ stb r31, 0x7f(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086E20 00082C60 48 00 0D FD */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086E24 00082C64 54 65 06 3E */ clrlwi r5, r3, 24
|
|
|
|
/* 80086E28 00082C68 28 05 00 01 */ cmplwi r5, 0x1
|
|
|
|
/* 80086E2C 00082C6C 41 82 00 24 */ beq lbl_80086E50
|
|
|
|
/* 80086E30 00082C70 81 9E 00 04 */ lwz r12, 0x4(r30)
|
|
|
|
/* 80086E34 00082C74 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80086E38 00082C78 41 82 00 18 */ beq lbl_80086E50
|
|
|
|
/* 80086E3C 00082C7C 38 7E 00 1C */ addi r3, r30, 0x1c
|
|
|
|
/* 80086E40 00082C80 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
|
|
/* 80086E44 00082C84 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80086E48 00082C88 4E 80 04 21 */ bctrl
|
|
|
|
/* 80086E4C 00082C8C 93 FE 00 04 */ stw r31, 0x4(r30)
|
|
|
|
.global lbl_80086E50
|
|
|
|
lbl_80086E50:
|
|
|
|
/* 80086E50 00082C90 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80086E54 00082C94 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 80086E58 00082C98 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 80086E5C 00082C9C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80086E60 00082CA0 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 80086E64 00082CA4 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_is_bonding
|
|
|
|
btm_sec_is_bonding:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086E68 00082CA8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80086E6C 00082CAC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80086E70 00082CB0 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086E74 00082CB4 4B FF 90 A9 */ bl btm_find_dev_by_handle
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086E78 00082CB8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086E7C 00082CBC 41 82 00 18 */ beq lbl_80086E94
|
|
|
|
/* 80086E80 00082CC0 88 03 00 81 */ lbz r0, 0x81(r3)
|
|
|
|
/* 80086E84 00082CC4 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80086E88 00082CC8 41 82 00 0C */ beq lbl_80086E94
|
|
|
|
/* 80086E8C 00082CCC 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80086E90 00082CD0 48 00 00 08 */ b lbl_80086E98
|
|
|
|
.global lbl_80086E94
|
|
|
|
lbl_80086E94:
|
|
|
|
/* 80086E94 00082CD4 38 60 00 00 */ li r3, 0x0
|
|
|
|
.global lbl_80086E98
|
|
|
|
lbl_80086E98:
|
|
|
|
/* 80086E98 00082CD8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80086E9C 00082CDC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80086EA0 00082CE0 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 80086EA4 00082CE4 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_connected
|
|
|
|
btm_sec_connected:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086EA8 00082CE8 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80086EAC 00082CEC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80086EB0 00082CF0 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 80086EB4 00082CF4 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80086EB8 00082CF8 4B F8 04 85 */ bl lbl_8000733C
|
|
|
|
/* 80086EBC 00082CFC 7C 7B 1B 78 */ mr r27, r3
|
|
|
|
/* 80086EC0 00082D00 7C 9C 23 78 */ mr r28, r4
|
|
|
|
/* 80086EC4 00082D04 7C BD 2B 78 */ mr r29, r5
|
|
|
|
/* 80086EC8 00082D08 7C DE 33 78 */ mr r30, r6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086ECC 00082D0C 4B FF 91 09 */ bl btm_find_dev
|
|
|
|
/* 80086ED0 00082D10 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086ED4 00082D14 7C 7F 1B 78 */ mr r31, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086ED8 00082D18 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086EDC 00082D1C 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80086EE0 00082D20 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80086EE4 00082D24 41 80 00 24 */ blt lbl_80086F08
|
|
|
|
/* 80086EE8 00082D28 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086EEC 00082D2C 3C 80 80 44 */ lis r4, "@3318"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086EF0 00082D30 7F 85 E3 78 */ mr r5, r28
|
|
|
|
/* 80086EF4 00082D34 7F A6 EB 78 */ mr r6, r29
|
|
|
|
/* 80086EF8 00082D38 7F C7 F3 78 */ mr r7, r30
|
|
|
|
/* 80086EFC 00082D3C 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086F00 00082D40 38 84 C9 24 */ addi r4, r4, "@3318"@l
|
|
|
|
/* 80086F04 00082D44 4B FF 0A 5D */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086F08
|
|
|
|
lbl_80086F08:
|
|
|
|
/* 80086F08 00082D48 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80086F0C 00082D4C 40 82 00 28 */ bne lbl_80086F34
|
|
|
|
/* 80086F10 00082D50 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
|
|
/* 80086F14 00082D54 40 82 03 FC */ bne lbl_80087310
|
|
|
|
/* 80086F18 00082D58 7F 63 DB 78 */ mr r3, r27
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086F1C 00082D5C 4B FF 8E E1 */ bl btm_sec_alloc_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086F20 00082D60 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80086F24 00082D64 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80086F28 00082D68 40 82 00 2C */ bne lbl_80086F54
|
|
|
|
/* 80086F2C 00082D6C 48 00 03 E4 */ b lbl_80087310
|
|
|
|
/* 80086F30 00082D70 48 00 03 E0 */ b lbl_80087310
|
|
|
|
.global lbl_80086F34
|
|
|
|
lbl_80086F34:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086F34 00082D74 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086F38 00082D78 38 00 00 01 */ li r0, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086F3C 00082D7C 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086F40 00082D80 80 64 19 74 */ lwz r3, 0x1974(r4)
|
|
|
|
/* 80086F44 00082D84 90 7F 00 0C */ stw r3, 0xc(r31)
|
|
|
|
/* 80086F48 00082D88 38 63 00 01 */ addi r3, r3, 0x1
|
|
|
|
/* 80086F4C 00082D8C 90 64 19 74 */ stw r3, 0x1974(r4)
|
|
|
|
/* 80086F50 00082D90 98 1F 00 85 */ stb r0, 0x85(r31)
|
|
|
|
.global lbl_80086F54
|
|
|
|
lbl_80086F54:
|
|
|
|
/* 80086F54 00082D94 88 1F 00 81 */ lbz r0, 0x81(r31)
|
|
|
|
/* 80086F58 00082D98 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80086F5C 00082D9C 41 82 00 90 */ beq lbl_80086FEC
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086F60 00082DA0 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80086F64 00082DA4 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086F68 00082DA8 88 04 19 7B */ lbz r0, 0x197b(r4)
|
|
|
|
/* 80086F6C 00082DAC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086F70 00082DB0 41 82 00 58 */ beq lbl_80086FC8
|
|
|
|
/* 80086F74 00082DB4 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80086F78 00082DB8 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80086F7C 00082DBC 98 64 19 7B */ stb r3, 0x197b(r4)
|
|
|
|
/* 80086F80 00082DC0 28 00 00 05 */ cmplwi r0, 0x5
|
|
|
|
/* 80086F84 00082DC4 41 80 00 28 */ blt lbl_80086FAC
|
|
|
|
/* 80086F88 00082DC8 88 64 19 78 */ lbz r3, 0x1978(r4)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086F8C 00082DCC 3C 80 80 44 */ lis r4, "@3016_8043C57C"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086F90 00082DD0 3C A0 00 0D */ lis r5, 0xd
|
|
|
|
/* 80086F94 00082DD4 38 03 FF FD */ addi r0, r3, -0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086F98 00082DD8 38 84 C5 7C */ addi r4, r4, "@3016_8043C57C"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086F9C 00082DDC 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 80086FA0 00082DE0 38 65 00 04 */ addi r3, r5, 0x4
|
|
|
|
/* 80086FA4 00082DE4 54 05 D9 7E */ srwi r5, r0, 5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086FA8 00082DE8 4B FF 09 B9 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086FAC
|
|
|
|
lbl_80086FAC:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086FAC 00082DEC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80086FB0 00082DF0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086FB4 00082DF4 88 63 19 78 */ lbz r3, 0x1978(r3)
|
|
|
|
/* 80086FB8 00082DF8 38 03 FF FD */ addi r0, r3, -0x3
|
|
|
|
/* 80086FBC 00082DFC 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 80086FC0 00082E00 54 03 DE 3E */ extrwi r3, r0, 8, 19
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086FC4 00082E04 48 00 53 E5 */ bl btsnd_hcic_write_auth_enable
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086FC8
|
|
|
|
lbl_80086FC8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086FC8 00082E08 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80086FCC 00082E0C 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80086FD0 00082E10 88 04 19 7C */ lbz r0, 0x197c(r4)
|
|
|
|
/* 80086FD4 00082E14 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80086FD8 00082E18 41 82 00 14 */ beq lbl_80086FEC
|
|
|
|
/* 80086FDC 00082E1C 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80086FE0 00082E20 88 64 00 20 */ lbz r3, 0x20(r4)
|
|
|
|
/* 80086FE4 00082E24 98 04 19 7C */ stb r0, 0x197c(r4)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80086FE8 00082E28 48 00 4E 4D */ bl btsnd_hcic_write_pin_type
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80086FEC
|
|
|
|
lbl_80086FEC:
|
|
|
|
/* 80086FEC 00082E2C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
|
|
/* 80086FF0 00082E30 41 82 01 6C */ beq lbl_8008715C
|
|
|
|
/* 80086FF4 00082E34 28 1D 00 05 */ cmplwi r29, 0x5
|
|
|
|
/* 80086FF8 00082E38 41 82 00 50 */ beq lbl_80087048
|
|
|
|
/* 80086FFC 00082E3C 28 1D 00 06 */ cmplwi r29, 0x6
|
|
|
|
/* 80087000 00082E40 41 82 00 48 */ beq lbl_80087048
|
|
|
|
/* 80087004 00082E44 28 1D 00 0E */ cmplwi r29, 0xe
|
|
|
|
/* 80087008 00082E48 41 82 00 40 */ beq lbl_80087048
|
|
|
|
/* 8008700C 00082E4C 28 1D 00 18 */ cmplwi r29, 0x18
|
|
|
|
/* 80087010 00082E50 41 82 00 38 */ beq lbl_80087048
|
|
|
|
/* 80087014 00082E54 28 1D 00 26 */ cmplwi r29, 0x26
|
|
|
|
/* 80087018 00082E58 41 82 00 30 */ beq lbl_80087048
|
|
|
|
/* 8008701C 00082E5C 28 1D 00 29 */ cmplwi r29, 0x29
|
|
|
|
/* 80087020 00082E60 41 82 00 28 */ beq lbl_80087048
|
|
|
|
/* 80087024 00082E64 28 1D 00 25 */ cmplwi r29, 0x25
|
|
|
|
/* 80087028 00082E68 41 82 00 20 */ beq lbl_80087048
|
|
|
|
/* 8008702C 00082E6C 28 1D 00 17 */ cmplwi r29, 0x17
|
|
|
|
/* 80087030 00082E70 41 82 00 18 */ beq lbl_80087048
|
|
|
|
/* 80087034 00082E74 28 1D 00 22 */ cmplwi r29, 0x22
|
|
|
|
/* 80087038 00082E78 41 82 00 10 */ beq lbl_80087048
|
|
|
|
/* 8008703C 00082E7C 88 1F 00 81 */ lbz r0, 0x81(r31)
|
|
|
|
/* 80087040 00082E80 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80087044 00082E84 41 82 00 90 */ beq lbl_800870D4
|
|
|
|
.global lbl_80087048
|
|
|
|
lbl_80087048:
|
|
|
|
/* 80087048 00082E88 88 7F 00 81 */ lbz r3, 0x81(r31)
|
|
|
|
/* 8008704C 00082E8C 38 00 FF AF */ li r0, -0x51
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087050 00082E90 3F 80 80 4F */ lis r28, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087054 00082E94 7C 60 00 38 */ and r0, r3, r0
|
|
|
|
/* 80087058 00082E98 98 1F 00 81 */ stb r0, 0x81(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008705C 00082E9C 3B 9C 5F 58 */ addi r28, r28, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087060 00082EA0 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80087064 00082EA4 54 00 07 34 */ rlwinm r0, r0, 0, 28, 26
|
|
|
|
/* 80087068 00082EA8 98 1F 00 76 */ stb r0, 0x76(r31)
|
|
|
|
/* 8008706C 00082EAC 80 1C 19 4C */ lwz r0, 0x194c(r28)
|
|
|
|
/* 80087070 00082EB0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087074 00082EB4 41 82 00 18 */ beq lbl_8008708C
|
|
|
|
/* 80087078 00082EB8 38 7C 19 3C */ addi r3, r28, 0x193c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008707C 00082EBC 4B FF 0E A5 */ bl btu_stop_timer
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087080 00082EC0 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80087084 00082EC4 3B A0 00 0E */ li r29, 0xe
|
|
|
|
/* 80087088 00082EC8 90 1C 19 4C */ stw r0, 0x194c(r28)
|
|
|
|
.global lbl_8008708C
|
|
|
|
lbl_8008708C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008708C 00082ECC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087090 00082ED0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087094 00082ED4 88 03 27 BF */ lbz r0, 0x27bf(r3)
|
|
|
|
/* 80087098 00082ED8 28 00 00 0E */ cmplwi r0, 0xe
|
|
|
|
/* 8008709C 00082EDC 40 82 00 08 */ bne lbl_800870A4
|
|
|
|
/* 800870A0 00082EE0 3B A0 00 0E */ li r29, 0xe
|
|
|
|
.global lbl_800870A4
|
|
|
|
lbl_800870A4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800870A4 00082EE4 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800870A8 00082EE8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800870AC 00082EEC 81 83 19 1C */ lwz r12, 0x191c(r3)
|
|
|
|
/* 800870B0 00082EF0 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 800870B4 00082EF4 41 82 02 5C */ beq lbl_80087310
|
|
|
|
/* 800870B8 00082EF8 7F A6 EB 78 */ mr r6, r29
|
|
|
|
/* 800870BC 00082EFC 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 800870C0 00082F00 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 800870C4 00082F04 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 800870C8 00082F08 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800870CC 00082F0C 4E 80 04 21 */ bctrl
|
|
|
|
/* 800870D0 00082F10 48 00 02 40 */ b lbl_80087310
|
|
|
|
.global lbl_800870D4
|
|
|
|
lbl_800870D4:
|
|
|
|
/* 800870D4 00082F14 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
|
|
/* 800870D8 00082F18 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800870DC 00082F1C 41 82 02 34 */ beq lbl_80087310
|
|
|
|
/* 800870E0 00082F20 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 800870E4 00082F24 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800870E8 00082F28 41 82 00 24 */ beq lbl_8008710C
|
|
|
|
/* 800870EC 00082F2C 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
|
|
/* 800870F0 00082F30 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800870F4 00082F34 41 82 00 18 */ beq lbl_8008710C
|
|
|
|
/* 800870F8 00082F38 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 800870FC 00082F3C 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80087100 00082F40 40 82 00 0C */ bne lbl_8008710C
|
|
|
|
/* 80087104 00082F44 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80087108 00082F48 90 03 00 04 */ stw r0, 0x4(r3)
|
|
|
|
.global lbl_8008710C
|
|
|
|
lbl_8008710C:
|
|
|
|
/* 8008710C 00082F4C 28 1D 00 08 */ cmplwi r29, 0x8
|
|
|
|
/* 80087110 00082F50 41 82 00 14 */ beq lbl_80087124
|
|
|
|
/* 80087114 00082F54 28 1D 00 1F */ cmplwi r29, 0x1f
|
|
|
|
/* 80087118 00082F58 41 82 00 0C */ beq lbl_80087124
|
|
|
|
/* 8008711C 00082F5C 28 1D 00 04 */ cmplwi r29, 0x4
|
|
|
|
/* 80087120 00082F60 40 82 00 20 */ bne lbl_80087140
|
|
|
|
.global lbl_80087124
|
|
|
|
lbl_80087124:
|
|
|
|
/* 80087124 00082F64 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 80087128 00082F68 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 8008712C 00082F6C 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 80087130 00082F70 38 A0 00 08 */ li r5, 0x8
|
|
|
|
/* 80087134 00082F74 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087138 00082F78 4E 80 04 21 */ bctrl
|
|
|
|
/* 8008713C 00082F7C 48 00 01 D4 */ b lbl_80087310
|
|
|
|
.global lbl_80087140
|
|
|
|
lbl_80087140:
|
|
|
|
/* 80087140 00082F80 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 80087144 00082F84 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80087148 00082F88 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 8008714C 00082F8C 38 A0 00 0A */ li r5, 0xa
|
|
|
|
/* 80087150 00082F90 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087154 00082F94 4E 80 04 21 */ bctrl
|
|
|
|
/* 80087158 00082F98 48 00 01 B8 */ b lbl_80087310
|
|
|
|
.global lbl_8008715C
|
|
|
|
lbl_8008715C:
|
|
|
|
/* 8008715C 00082F9C 88 1F 00 81 */ lbz r0, 0x81(r31)
|
|
|
|
/* 80087160 00082FA0 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80087164 00082FA4 41 82 00 D8 */ beq lbl_8008723C
|
|
|
|
/* 80087168 00082FA8 88 1F 00 82 */ lbz r0, 0x82(r31)
|
|
|
|
/* 8008716C 00082FAC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087170 00082FB0 41 82 00 CC */ beq lbl_8008723C
|
|
|
|
/* 80087174 00082FB4 38 00 00 00 */ li r0, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087178 00082FB8 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008717C 00082FBC 98 1F 00 82 */ stb r0, 0x82(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087180 00082FC0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087184 00082FC4 81 83 19 14 */ lwz r12, 0x1914(r3)
|
|
|
|
/* 80087188 00082FC8 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 8008718C 00082FCC 41 82 00 20 */ beq lbl_800871AC
|
|
|
|
/* 80087190 00082FD0 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80087194 00082FD4 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 80087198 00082FD8 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 8008719C 00082FDC 38 DF 00 25 */ addi r6, r31, 0x25
|
|
|
|
/* 800871A0 00082FE0 88 FF 00 83 */ lbz r7, 0x83(r31)
|
|
|
|
/* 800871A4 00082FE4 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800871A8 00082FE8 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_800871AC
|
|
|
|
lbl_800871AC:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800871AC 00082FEC 3F A0 80 4F */ lis r29, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800871B0 00082FF0 3B C0 00 00 */ li r30, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800871B4 00082FF4 3B BD 5F 58 */ addi r29, r29, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800871B8
|
|
|
|
lbl_800871B8:
|
|
|
|
/* 800871B8 00082FF8 81 9D 19 24 */ lwz r12, 0x1924(r29)
|
|
|
|
/* 800871BC 00082FFC 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 800871C0 00083000 41 82 00 20 */ beq lbl_800871E0
|
|
|
|
/* 800871C4 00083004 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 800871C8 00083008 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 800871CC 0008300C 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 800871D0 00083010 38 DF 00 25 */ addi r6, r31, 0x25
|
|
|
|
/* 800871D4 00083014 88 FF 00 83 */ lbz r7, 0x83(r31)
|
|
|
|
/* 800871D8 00083018 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800871DC 0008301C 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_800871E0
|
|
|
|
lbl_800871E0:
|
|
|
|
/* 800871E0 00083020 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 800871E4 00083024 3B BD 00 04 */ addi r29, r29, 0x4
|
|
|
|
/* 800871E8 00083028 2C 1E 00 02 */ cmpwi r30, 0x2
|
|
|
|
/* 800871EC 0008302C 41 80 FF CC */ blt lbl_800871B8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800871F0 00083030 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800871F4 00083034 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800871F8 00083038 81 83 19 1C */ lwz r12, 0x191c(r3)
|
|
|
|
/* 800871FC 0008303C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80087200 00083040 41 82 00 1C */ beq lbl_8008721C
|
|
|
|
/* 80087204 00083044 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 80087208 00083048 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 8008720C 0008304C 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80087210 00083050 38 C0 00 00 */ li r6, 0x0
|
|
|
|
/* 80087214 00083054 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087218 00083058 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_8008721C
|
|
|
|
lbl_8008721C:
|
|
|
|
/* 8008721C 0008305C 88 BF 00 81 */ lbz r5, 0x81(r31)
|
|
|
|
/* 80087220 00083060 38 00 FF AF */ li r0, -0x51
|
|
|
|
/* 80087224 00083064 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 80087228 00083068 38 80 00 13 */ li r4, 0x13
|
|
|
|
/* 8008722C 0008306C 7C A0 00 38 */ and r0, r5, r0
|
|
|
|
/* 80087230 00083070 98 1F 00 81 */ stb r0, 0x81(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087234 00083074 48 00 38 0D */ bl btsnd_hcic_disconnect
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087238 00083078 48 00 00 D8 */ b lbl_80087310
|
|
|
|
.global lbl_8008723C
|
|
|
|
lbl_8008723C:
|
|
|
|
/* 8008723C 0008307C B3 9F 00 18 */ sth r28, 0x18(r31)
|
|
|
|
/* 80087240 00083080 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 80087244 00083084 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80087248 00083088 54 00 06 38 */ rlwinm r0, r0, 0, 24, 28
|
|
|
|
/* 8008724C 0008308C 98 1F 00 76 */ stb r0, 0x76(r31)
|
|
|
|
/* 80087250 00083090 41 82 00 10 */ beq lbl_80087260
|
|
|
|
/* 80087254 00083094 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80087258 00083098 60 00 00 06 */ ori r0, r0, 0x6
|
|
|
|
/* 8008725C 0008309C 98 1F 00 76 */ stb r0, 0x76(r31)
|
|
|
|
.global lbl_80087260
|
|
|
|
lbl_80087260:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087260 000830A0 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087264 000830A4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087268 000830A8 88 03 19 78 */ lbz r0, 0x1978(r3)
|
|
|
|
/* 8008726C 000830AC 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 80087270 000830B0 40 82 00 10 */ bne lbl_80087280
|
|
|
|
/* 80087274 000830B4 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80087278 000830B8 60 00 00 02 */ ori r0, r0, 0x2
|
|
|
|
/* 8008727C 000830BC 98 1F 00 76 */ stb r0, 0x76(r31)
|
|
|
|
.global lbl_80087280
|
|
|
|
lbl_80087280:
|
|
|
|
/* 80087280 000830C0 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80087284 000830C4 98 1F 00 84 */ stb r0, 0x84(r31)
|
|
|
|
/* 80087288 000830C8 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 8008728C 000830CC 54 00 07 39 */ rlwinm. r0, r0, 0, 28, 28
|
|
|
|
/* 80087290 000830D0 41 82 00 10 */ beq lbl_800872A0
|
|
|
|
/* 80087294 000830D4 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 80087298 000830D8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 8008729C 000830DC 41 82 00 74 */ beq lbl_80087310
|
|
|
|
.global lbl_800872A0
|
|
|
|
lbl_800872A0:
|
|
|
|
/* 800872A0 000830E0 7F E3 FB 78 */ mr r3, r31
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800872A4 000830E4 48 00 09 79 */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800872A8 000830E8 54 60 06 3E */ clrlwi r0, r3, 24
|
|
|
|
/* 800872AC 000830EC 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 800872B0 000830F0 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800872B4 000830F4 41 82 00 5C */ beq lbl_80087310
|
|
|
|
/* 800872B8 000830F8 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
|
|
/* 800872BC 000830FC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800872C0 00083100 41 82 00 50 */ beq lbl_80087310
|
|
|
|
/* 800872C4 00083104 88 1F 00 80 */ lbz r0, 0x80(r31)
|
|
|
|
/* 800872C8 00083108 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800872CC 0008310C 41 82 00 24 */ beq lbl_800872F0
|
|
|
|
/* 800872D0 00083110 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
|
|
/* 800872D4 00083114 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800872D8 00083118 41 82 00 18 */ beq lbl_800872F0
|
|
|
|
/* 800872DC 0008311C 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 800872E0 00083120 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800872E4 00083124 40 82 00 0C */ bne lbl_800872F0
|
|
|
|
/* 800872E8 00083128 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800872EC 0008312C 90 03 00 04 */ stw r0, 0x4(r3)
|
|
|
|
.global lbl_800872F0
|
|
|
|
lbl_800872F0:
|
|
|
|
/* 800872F0 00083130 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
|
|
/* 800872F4 00083134 54 85 06 3E */ clrlwi r5, r4, 24
|
|
|
|
/* 800872F8 00083138 38 7F 00 1C */ addi r3, r31, 0x1c
|
|
|
|
/* 800872FC 0008313C 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
|
|
/* 80087300 00083140 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087304 00083144 4E 80 04 21 */ bctrl
|
|
|
|
/* 80087308 00083148 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 8008730C 0008314C 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
.global lbl_80087310
|
|
|
|
lbl_80087310:
|
|
|
|
/* 80087310 00083150 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80087314 00083154 4B F8 00 75 */ bl lbl_80007388
|
|
|
|
/* 80087318 00083158 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8008731C 0008315C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80087320 00083160 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80087324 00083164 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_disconnect
|
|
|
|
btm_sec_disconnect:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087328 00083168 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 8008732C 0008316C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80087330 00083170 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 80087334 00083174 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 80087338 00083178 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 8008733C 0008317C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 80087340 00083180 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 80087344 00083184 93 81 00 10 */ stw r28, 0x10(r1)
|
|
|
|
/* 80087348 00083188 7C 7C 1B 78 */ mr r28, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008734C 0008318C 4B FF 8B D1 */ bl btm_find_dev_by_handle
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087350 00083190 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087354 00083194 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80087358 00083198 40 82 00 0C */ bne lbl_80087364
|
|
|
|
/* 8008735C 0008319C 38 60 00 05 */ li r3, 0x5
|
|
|
|
/* 80087360 000831A0 48 00 00 64 */ b lbl_800873C4
|
|
|
|
.global lbl_80087364
|
|
|
|
lbl_80087364:
|
|
|
|
/* 80087364 000831A4 88 03 00 81 */ lbz r0, 0x81(r3)
|
|
|
|
/* 80087368 000831A8 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 8008736C 000831AC 41 82 00 18 */ beq lbl_80087384
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087370 000831B0 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087374 000831B4 38 60 00 00 */ li r3, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087378 000831B8 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008737C 000831BC 9B A4 19 7E */ stb r29, 0x197e(r4)
|
|
|
|
/* 80087380 000831C0 48 00 00 44 */ b lbl_800873C4
|
|
|
|
.global lbl_80087384
|
|
|
|
lbl_80087384:
|
|
|
|
/* 80087384 000831C4 8B C3 00 7F */ lbz r30, 0x7f(r3)
|
|
|
|
/* 80087388 000831C8 28 1E 00 05 */ cmplwi r30, 0x5
|
|
|
|
/* 8008738C 000831CC 40 82 00 0C */ bne lbl_80087398
|
|
|
|
/* 80087390 000831D0 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80087394 000831D4 48 00 00 30 */ b lbl_800873C4
|
|
|
|
.global lbl_80087398
|
|
|
|
lbl_80087398:
|
|
|
|
/* 80087398 000831D8 38 00 00 05 */ li r0, 0x5
|
|
|
|
/* 8008739C 000831DC 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 800873A0 000831E0 98 03 00 7F */ stb r0, 0x7f(r3)
|
|
|
|
/* 800873A4 000831E4 7F 83 E3 78 */ mr r3, r28
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800873A8 000831E8 48 00 36 99 */ bl btsnd_hcic_disconnect
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800873AC 000831EC 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 800873B0 000831F0 41 82 00 0C */ beq lbl_800873BC
|
|
|
|
/* 800873B4 000831F4 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 800873B8 000831F8 48 00 00 0C */ b lbl_800873C4
|
|
|
|
.global lbl_800873BC
|
|
|
|
lbl_800873BC:
|
|
|
|
/* 800873BC 000831FC 9B DF 00 7F */ stb r30, 0x7f(r31)
|
|
|
|
/* 800873C0 00083200 38 60 00 03 */ li r3, 0x3
|
|
|
|
.global lbl_800873C4
|
|
|
|
lbl_800873C4:
|
|
|
|
/* 800873C4 00083204 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800873C8 00083208 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 800873CC 0008320C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 800873D0 00083210 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 800873D4 00083214 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
|
|
/* 800873D8 00083218 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800873DC 0008321C 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800873E0 00083220 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_disconnected
|
|
|
|
btm_sec_disconnected:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800873E4 00083224 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800873E8 00083228 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800873EC 0008322C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800873F0 00083230 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800873F4 00083234 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 800873F8 00083238 93 C1 00 08 */ stw r30, 0x8(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800873FC 0008323C 4B FF 8B 21 */ bl btm_find_dev_by_handle
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087400 00083240 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087404 00083244 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80087408 00083248 41 82 01 00 */ beq lbl_80087508
|
|
|
|
/* 8008740C 0008324C 88 03 00 81 */ lbz r0, 0x81(r3)
|
|
|
|
/* 80087410 00083250 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80087414 00083254 41 82 00 54 */ beq lbl_80087468
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087418 00083258 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 8008741C 0008325C 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087420 00083260 81 84 19 1C */ lwz r12, 0x191c(r4)
|
|
|
|
/* 80087424 00083264 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80087428 00083268 41 82 00 40 */ beq lbl_80087468
|
|
|
|
/* 8008742C 0008326C 28 1F 00 17 */ cmplwi r31, 0x17
|
|
|
|
/* 80087430 00083270 40 82 00 20 */ bne lbl_80087450
|
|
|
|
/* 80087434 00083274 38 83 00 22 */ addi r4, r3, 0x22
|
|
|
|
/* 80087438 00083278 38 A3 00 35 */ addi r5, r3, 0x35
|
|
|
|
/* 8008743C 0008327C 38 C0 00 17 */ li r6, 0x17
|
|
|
|
/* 80087440 00083280 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087444 00083284 38 63 00 1C */ addi r3, r3, 0x1c
|
|
|
|
/* 80087448 00083288 4E 80 04 21 */ bctrl
|
|
|
|
/* 8008744C 0008328C 48 00 00 1C */ b lbl_80087468
|
|
|
|
.global lbl_80087450
|
|
|
|
lbl_80087450:
|
|
|
|
/* 80087450 00083290 38 83 00 22 */ addi r4, r3, 0x22
|
|
|
|
/* 80087454 00083294 38 A3 00 35 */ addi r5, r3, 0x35
|
|
|
|
/* 80087458 00083298 38 C0 00 05 */ li r6, 0x5
|
|
|
|
/* 8008745C 0008329C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087460 000832A0 38 63 00 1C */ addi r3, r3, 0x1c
|
|
|
|
/* 80087464 000832A4 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80087468
|
|
|
|
lbl_80087468:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087468 000832A8 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
|
|
/* 8008746C 000832AC 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087470 000832B0 80 1F 19 4C */ lwz r0, 0x194c(r31)
|
|
|
|
/* 80087474 000832B4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087478 000832B8 41 82 00 60 */ beq lbl_800874D8
|
|
|
|
/* 8008747C 000832BC 38 7F 19 54 */ addi r3, r31, 0x1954
|
|
|
|
/* 80087480 000832C0 38 9E 00 1C */ addi r4, r30, 0x1c
|
|
|
|
/* 80087484 000832C4 38 A0 00 06 */ li r5, 0x6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087488 000832C8 4B F8 39 E9 */ bl memcmp
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008748C 000832CC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087490 000832D0 40 82 00 48 */ bne lbl_800874D8
|
|
|
|
/* 80087494 000832D4 38 7F 19 3C */ addi r3, r31, 0x193c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087498 000832D8 4B FF 0A 89 */ bl btu_stop_timer
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008749C 000832DC 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800874A0 000832E0 38 7F 19 54 */ addi r3, r31, 0x1954
|
|
|
|
/* 800874A4 000832E4 90 1F 19 4C */ stw r0, 0x194c(r31)
|
|
|
|
/* 800874A8 000832E8 38 80 00 FF */ li r4, 0xff
|
|
|
|
/* 800874AC 000832EC 38 A0 00 06 */ li r5, 0x6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800874B0 000832F0 4B F7 CE A1 */ bl memset
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800874B4 000832F4 81 9F 19 1C */ lwz r12, 0x191c(r31)
|
|
|
|
/* 800874B8 000832F8 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 800874BC 000832FC 41 82 00 1C */ beq lbl_800874D8
|
|
|
|
/* 800874C0 00083300 38 7E 00 1C */ addi r3, r30, 0x1c
|
|
|
|
/* 800874C4 00083304 38 9E 00 22 */ addi r4, r30, 0x22
|
|
|
|
/* 800874C8 00083308 38 BE 00 35 */ addi r5, r30, 0x35
|
|
|
|
/* 800874CC 0008330C 38 C0 00 0E */ li r6, 0xe
|
|
|
|
/* 800874D0 00083310 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800874D4 00083314 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_800874D8
|
|
|
|
lbl_800874D8:
|
|
|
|
/* 800874D8 00083318 3C 80 00 01 */ lis r4, 0x1
|
|
|
|
/* 800874DC 0008331C 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800874E0 00083320 38 04 FF FF */ addi r0, r4, -0x1
|
|
|
|
/* 800874E4 00083324 B0 1E 00 18 */ sth r0, 0x18(r30)
|
|
|
|
/* 800874E8 00083328 98 7E 00 7F */ stb r3, 0x7f(r30)
|
|
|
|
/* 800874EC 0008332C 88 1E 00 76 */ lbz r0, 0x76(r30)
|
|
|
|
/* 800874F0 00083330 54 00 06 38 */ rlwinm r0, r0, 0, 24, 28
|
|
|
|
/* 800874F4 00083334 98 1E 00 76 */ stb r0, 0x76(r30)
|
|
|
|
/* 800874F8 00083338 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 800874FC 0008333C 54 00 06 30 */ rlwinm r0, r0, 0, 24, 24
|
|
|
|
/* 80087500 00083340 98 1E 00 81 */ stb r0, 0x81(r30)
|
|
|
|
/* 80087504 00083344 90 7E 00 04 */ stw r3, 0x4(r30)
|
|
|
|
.global lbl_80087508
|
|
|
|
lbl_80087508:
|
|
|
|
/* 80087508 00083348 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8008750C 0008334C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 80087510 00083350 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 80087514 00083354 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80087518 00083358 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 8008751C 0008335C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_link_key_notification
|
|
|
|
btm_sec_link_key_notification:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087520 00083360 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80087524 00083364 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80087528 00083368 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8008752C 0008336C 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80087530 00083370 4B F7 FE 0D */ bl lbl_8000733C
|
|
|
|
/* 80087534 00083374 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 80087538 00083378 7C 9E 23 78 */ mr r30, r4
|
|
|
|
/* 8008753C 0008337C 7C BB 2B 78 */ mr r27, r5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087540 00083380 4B FF 8A 95 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087544 00083384 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087548 00083388 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8008754C 0008338C 40 82 00 18 */ bne lbl_80087564
|
|
|
|
/* 80087550 00083390 7F A3 EB 78 */ mr r3, r29
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087554 00083394 4B FF 88 A9 */ bl btm_sec_alloc_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087558 00083398 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 8008755C 0008339C 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 80087560 000833A0 41 82 01 54 */ beq lbl_800876B4
|
|
|
|
.global lbl_80087564
|
|
|
|
lbl_80087564:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087564 000833A4 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087568 000833A8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008756C 000833AC 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087570 000833B0 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087574 000833B4 41 80 00 30 */ blt lbl_800875A4
|
|
|
|
/* 80087578 000833B8 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008757C 000833BC 3C 80 80 44 */ lis r4, "@3358"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087580 000833C0 88 BD 00 00 */ lbz r5, 0x0(r29)
|
|
|
|
/* 80087584 000833C4 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 80087588 000833C8 88 DD 00 01 */ lbz r6, 0x1(r29)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008758C 000833CC 38 84 C9 68 */ addi r4, r4, "@3358"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087590 000833D0 88 FD 00 02 */ lbz r7, 0x2(r29)
|
|
|
|
/* 80087594 000833D4 89 1D 00 03 */ lbz r8, 0x3(r29)
|
|
|
|
/* 80087598 000833D8 89 3D 00 04 */ lbz r9, 0x4(r29)
|
|
|
|
/* 8008759C 000833DC 89 5D 00 05 */ lbz r10, 0x5(r29)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800875A0 000833E0 4B FF 03 C1 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800875A4
|
|
|
|
lbl_800875A4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800875A4 000833E4 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800875A8 000833E8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800875AC 000833EC 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 800875B0 000833F0 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 800875B4 000833F4 41 80 00 1C */ blt lbl_800875D0
|
|
|
|
/* 800875B8 000833F8 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800875BC 000833FC 3C 80 80 44 */ lis r4, "@3359"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800875C0 00083400 7F 65 DB 78 */ mr r5, r27
|
|
|
|
/* 800875C4 00083404 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800875C8 00083408 38 84 C9 AC */ addi r4, r4, "@3359"@l
|
|
|
|
/* 800875CC 0008340C 4B FF 03 95 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800875D0
|
|
|
|
lbl_800875D0:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800875D0 00083410 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 800875D4 00083414 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800875D8 00083418 88 03 06 36 */ lbz r0, 0x636(r3)
|
|
|
|
/* 800875DC 0008341C 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800875E0 00083420 40 80 00 10 */ bge lbl_800875F0
|
|
|
|
/* 800875E4 00083424 38 00 00 FF */ li r0, 0xff
|
|
|
|
/* 800875E8 00083428 98 1F 00 83 */ stb r0, 0x83(r31)
|
|
|
|
/* 800875EC 0008342C 48 00 00 08 */ b lbl_800875F4
|
|
|
|
.global lbl_800875F0
|
|
|
|
lbl_800875F0:
|
|
|
|
/* 800875F0 00083430 9B 7F 00 83 */ stb r27, 0x83(r31)
|
|
|
|
.global lbl_800875F4
|
|
|
|
lbl_800875F4:
|
|
|
|
/* 800875F4 00083434 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 800875F8 00083438 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 800875FC 0008343C 38 7F 00 25 */ addi r3, r31, 0x25
|
|
|
|
/* 80087600 00083440 38 A0 00 10 */ li r5, 0x10
|
|
|
|
/* 80087604 00083444 60 00 00 10 */ ori r0, r0, 0x10
|
|
|
|
/* 80087608 00083448 98 1F 00 76 */ stb r0, 0x76(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008760C 0008344C 4B F7 C9 F5 */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087610 00083450 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80087614 00083454 54 00 07 39 */ rlwinm. r0, r0, 0, 28, 28
|
|
|
|
/* 80087618 00083458 41 82 00 1C */ beq lbl_80087634
|
|
|
|
/* 8008761C 0008345C 88 1F 00 81 */ lbz r0, 0x81(r31)
|
|
|
|
/* 80087620 00083460 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80087624 00083464 41 82 00 1C */ beq lbl_80087640
|
|
|
|
/* 80087628 00083468 88 1F 00 85 */ lbz r0, 0x85(r31)
|
|
|
|
/* 8008762C 0008346C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087630 00083470 40 82 00 10 */ bne lbl_80087640
|
|
|
|
.global lbl_80087634
|
|
|
|
lbl_80087634:
|
|
|
|
/* 80087634 00083474 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 80087638 00083478 98 1F 00 82 */ stb r0, 0x82(r31)
|
|
|
|
/* 8008763C 0008347C 48 00 00 78 */ b lbl_800876B4
|
|
|
|
.global lbl_80087640
|
|
|
|
lbl_80087640:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087640 00083480 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087644 00083484 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087648 00083488 81 83 19 14 */ lwz r12, 0x1914(r3)
|
|
|
|
/* 8008764C 0008348C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80087650 00083490 41 82 00 20 */ beq lbl_80087670
|
|
|
|
/* 80087654 00083494 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 80087658 00083498 7F C6 F3 78 */ mr r6, r30
|
|
|
|
/* 8008765C 0008349C 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 80087660 000834A0 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80087664 000834A4 88 FF 00 83 */ lbz r7, 0x83(r31)
|
|
|
|
/* 80087668 000834A8 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 8008766C 000834AC 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_80087670
|
|
|
|
lbl_80087670:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087670 000834B0 3F 80 80 4F */ lis r28, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087674 000834B4 3B 60 00 00 */ li r27, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087678 000834B8 3B 9C 5F 58 */ addi r28, r28, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_8008767C
|
|
|
|
lbl_8008767C:
|
|
|
|
/* 8008767C 000834BC 81 9C 19 24 */ lwz r12, 0x1924(r28)
|
|
|
|
/* 80087680 000834C0 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80087684 000834C4 41 82 00 20 */ beq lbl_800876A4
|
|
|
|
/* 80087688 000834C8 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 8008768C 000834CC 7F C6 F3 78 */ mr r6, r30
|
|
|
|
/* 80087690 000834D0 38 9F 00 22 */ addi r4, r31, 0x22
|
|
|
|
/* 80087694 000834D4 38 BF 00 35 */ addi r5, r31, 0x35
|
|
|
|
/* 80087698 000834D8 88 FF 00 83 */ lbz r7, 0x83(r31)
|
|
|
|
/* 8008769C 000834DC 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800876A0 000834E0 4E 80 04 21 */ bctrl
|
|
|
|
.global lbl_800876A4
|
|
|
|
lbl_800876A4:
|
|
|
|
/* 800876A4 000834E4 3B 7B 00 01 */ addi r27, r27, 0x1
|
|
|
|
/* 800876A8 000834E8 3B 9C 00 04 */ addi r28, r28, 0x4
|
|
|
|
/* 800876AC 000834EC 2C 1B 00 02 */ cmpwi r27, 0x2
|
|
|
|
/* 800876B0 000834F0 41 80 FF CC */ blt lbl_8008767C
|
|
|
|
.global lbl_800876B4
|
|
|
|
lbl_800876B4:
|
|
|
|
/* 800876B4 000834F4 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 800876B8 000834F8 4B F7 FC D1 */ bl lbl_80007388
|
|
|
|
/* 800876BC 000834FC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800876C0 00083500 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800876C4 00083504 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800876C8 00083508 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_link_key_request
|
|
|
|
btm_sec_link_key_request:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800876CC 0008350C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800876D0 00083510 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800876D4 00083514 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 800876D8 00083518 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 800876DC 0008351C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 800876E0 00083520 7C 7E 1B 78 */ mr r30, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800876E4 00083524 4B FF 88 F1 */ bl btm_find_dev
|
|
|
|
/* 800876E8 00083528 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800876EC 0008352C 7C 7F 1B 78 */ mr r31, r3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800876F0 00083530 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800876F4 00083534 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 800876F8 00083538 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 800876FC 0008353C 41 80 00 30 */ blt lbl_8008772C
|
|
|
|
/* 80087700 00083540 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087704 00083544 3C 80 80 44 */ lis r4, "@3373"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087708 00083548 88 BE 00 00 */ lbz r5, 0x0(r30)
|
|
|
|
/* 8008770C 0008354C 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 80087710 00083550 88 DE 00 01 */ lbz r6, 0x1(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087714 00083554 38 84 C9 D8 */ addi r4, r4, "@3373"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087718 00083558 88 FE 00 02 */ lbz r7, 0x2(r30)
|
|
|
|
/* 8008771C 0008355C 89 1E 00 03 */ lbz r8, 0x3(r30)
|
|
|
|
/* 80087720 00083560 89 3E 00 04 */ lbz r9, 0x4(r30)
|
|
|
|
/* 80087724 00083564 89 5E 00 05 */ lbz r10, 0x5(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087728 00083568 4B FF 02 39 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_8008772C
|
|
|
|
lbl_8008772C:
|
|
|
|
/* 8008772C 0008356C 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80087730 00083570 41 82 00 20 */ beq lbl_80087750
|
|
|
|
/* 80087734 00083574 88 1F 00 76 */ lbz r0, 0x76(r31)
|
|
|
|
/* 80087738 00083578 54 00 06 F7 */ rlwinm. r0, r0, 0, 27, 27
|
|
|
|
/* 8008773C 0008357C 41 82 00 14 */ beq lbl_80087750
|
|
|
|
/* 80087740 00083580 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 80087744 00083584 38 9F 00 25 */ addi r4, r31, 0x25
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087748 00083588 48 00 34 C9 */ bl btsnd_hcic_link_key_req_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008774C 0008358C 48 00 00 98 */ b lbl_800877E4
|
|
|
|
.global lbl_80087750
|
|
|
|
lbl_80087750:
|
|
|
|
/* 80087750 00083590 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80087754 00083594 40 82 00 10 */ bne lbl_80087764
|
|
|
|
/* 80087758 00083598 7F C3 F3 78 */ mr r3, r30
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008775C 0008359C 4B FF 86 A1 */ bl btm_sec_alloc_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087760 000835A0 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
.global lbl_80087764
|
|
|
|
lbl_80087764:
|
|
|
|
/* 80087764 000835A4 88 1F 00 81 */ lbz r0, 0x81(r31)
|
|
|
|
/* 80087768 000835A8 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 8008776C 000835AC 40 82 00 70 */ bne lbl_800877DC
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087770 000835B0 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087774 000835B4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087778 000835B8 81 83 19 18 */ lwz r12, 0x1918(r3)
|
|
|
|
/* 8008777C 000835BC 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
|
|
/* 80087780 000835C0 41 82 00 5C */ beq lbl_800877DC
|
|
|
|
/* 80087784 000835C4 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80087788 000835C8 41 82 00 2C */ beq lbl_800877B4
|
|
|
|
/* 8008778C 000835CC 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 80087790 000835D0 38 9F 00 25 */ addi r4, r31, 0x25
|
|
|
|
/* 80087794 000835D4 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087798 000835D8 4E 80 04 21 */ bctrl
|
|
|
|
/* 8008779C 000835DC 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 800877A0 000835E0 40 82 00 3C */ bne lbl_800877DC
|
|
|
|
/* 800877A4 000835E4 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 800877A8 000835E8 38 9F 00 25 */ addi r4, r31, 0x25
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800877AC 000835EC 48 00 34 65 */ bl btsnd_hcic_link_key_req_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800877B0 000835F0 48 00 00 34 */ b lbl_800877E4
|
|
|
|
.global lbl_800877B4
|
|
|
|
lbl_800877B4:
|
|
|
|
/* 800877B4 000835F4 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 800877B8 000835F8 38 81 00 08 */ addi r4, r1, 0x8
|
|
|
|
/* 800877BC 000835FC 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800877C0 00083600 4E 80 04 21 */ bctrl
|
|
|
|
/* 800877C4 00083604 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 800877C8 00083608 40 82 00 14 */ bne lbl_800877DC
|
|
|
|
/* 800877CC 0008360C 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 800877D0 00083610 38 81 00 08 */ addi r4, r1, 0x8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800877D4 00083614 48 00 34 3D */ bl btsnd_hcic_link_key_req_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800877D8 00083618 48 00 00 0C */ b lbl_800877E4
|
|
|
|
.global lbl_800877DC
|
|
|
|
lbl_800877DC:
|
|
|
|
/* 800877DC 0008361C 7F C3 F3 78 */ mr r3, r30
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800877E0 00083620 48 00 35 D1 */ bl btsnd_hcic_link_key_neg_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800877E4
|
|
|
|
lbl_800877E4:
|
|
|
|
/* 800877E4 00083624 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800877E8 00083628 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 800877EC 0008362C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 800877F0 00083630 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800877F4 00083634 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800877F8 00083638 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_pin_code_request_timeout
|
|
|
|
btm_sec_pin_code_request_timeout:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800877FC 0008363C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80087800 00083640 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80087804 00083644 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 80087808 00083648 93 E1 00 0C */ stw r31, 0xc(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008780C 0008364C 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
|
|
/* 80087810 00083650 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087814 00083654 88 1F 27 C0 */ lbz r0, 0x27c0(r31)
|
|
|
|
/* 80087818 00083658 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 8008781C 0008365C 41 80 00 18 */ blt lbl_80087834
|
|
|
|
/* 80087820 00083660 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087824 00083664 3C 80 80 44 */ lis r4, "@3377_8043CA18"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087828 00083668 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008782C 0008366C 38 84 CA 18 */ addi r4, r4, "@3377_8043CA18"@l
|
|
|
|
/* 80087830 00083670 4B FF 01 31 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087834
|
|
|
|
lbl_80087834:
|
|
|
|
/* 80087834 00083674 38 00 00 00 */ li r0, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087838 00083678 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 8008783C 0008367C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087840 00083680 90 1F 19 4C */ stw r0, 0x194c(r31)
|
|
|
|
/* 80087844 00083684 38 63 19 54 */ addi r3, r3, 0x1954
|
|
|
|
/* 80087848 00083688 38 80 00 FF */ li r4, 0xff
|
|
|
|
/* 8008784C 0008368C 38 A0 00 06 */ li r5, 0x6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087850 00083690 4B F7 CB 01 */ bl memset
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087854 00083694 38 7F 27 B4 */ addi r3, r31, 0x27b4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087858 00083698 48 00 37 DD */ bl btsnd_hcic_pin_code_neg_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008785C 0008369C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80087860 000836A0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 80087864 000836A4 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80087868 000836A8 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 8008786C 000836AC 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_pin_code_request
|
|
|
|
btm_sec_pin_code_request:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087870 000836B0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80087874 000836B4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80087878 000836B8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8008787C 000836BC 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80087880 000836C0 4B F7 FA BD */ bl lbl_8000733C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087884 000836C4 3F A0 80 4F */ lis r29, btm_cb@ha
|
|
|
|
/* 80087888 000836C8 3F E0 80 44 */ lis r31, "@2854"@ha
|
|
|
|
/* 8008788C 000836CC 3B BD 5F 58 */ addi r29, r29, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087890 000836D0 7C 7B 1B 78 */ mr r27, r3
|
|
|
|
/* 80087894 000836D4 88 1D 27 C0 */ lbz r0, 0x27c0(r29)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087898 000836D8 3B FF C2 80 */ addi r31, r31, "@2854"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008789C 000836DC 3B 80 00 00 */ li r28, 0x0
|
|
|
|
/* 800878A0 000836E0 3B C0 00 00 */ li r30, 0x0
|
|
|
|
/* 800878A4 000836E4 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 800878A8 000836E8 41 80 00 2C */ blt lbl_800878D4
|
|
|
|
/* 800878AC 000836EC 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 800878B0 000836F0 88 BB 00 00 */ lbz r5, 0x0(r27)
|
|
|
|
/* 800878B4 000836F4 88 DB 00 01 */ lbz r6, 0x1(r27)
|
|
|
|
/* 800878B8 000836F8 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 800878BC 000836FC 88 FB 00 02 */ lbz r7, 0x2(r27)
|
|
|
|
/* 800878C0 00083700 38 9F 07 BC */ addi r4, r31, 0x7bc
|
|
|
|
/* 800878C4 00083704 89 1B 00 03 */ lbz r8, 0x3(r27)
|
|
|
|
/* 800878C8 00083708 89 3B 00 04 */ lbz r9, 0x4(r27)
|
|
|
|
/* 800878CC 0008370C 89 5B 00 05 */ lbz r10, 0x5(r27)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800878D0 00083710 4B FF 00 91 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800878D4
|
|
|
|
lbl_800878D4:
|
|
|
|
/* 800878D4 00083714 88 1D 19 79 */ lbz r0, 0x1979(r29)
|
|
|
|
/* 800878D8 00083718 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800878DC 0008371C 40 82 00 E4 */ bne lbl_800879C0
|
|
|
|
/* 800878E0 00083720 88 1D 00 20 */ lbz r0, 0x20(r29)
|
|
|
|
/* 800878E4 00083724 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800878E8 00083728 40 82 00 D8 */ bne lbl_800879C0
|
|
|
|
/* 800878EC 0008372C 7F 63 DB 78 */ mr r3, r27
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800878F0 00083730 4B FF 86 E5 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800878F4 00083734 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800878F8 00083738 40 82 00 A0 */ bne lbl_80087998
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800878FC 0008373C 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087900 00083740 38 00 00 02 */ li r0, 0x2
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087904 00083744 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087908 00083748 38 63 1F 30 */ addi r3, r3, 0x1f30
|
|
|
|
/* 8008790C 0008374C 7C 09 03 A6 */ mtctr r0
|
|
|
|
.global lbl_80087910
|
|
|
|
lbl_80087910:
|
|
|
|
/* 80087910 00083750 88 03 00 76 */ lbz r0, 0x76(r3)
|
|
|
|
/* 80087914 00083754 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087918 00083758 41 82 00 80 */ beq lbl_80087998
|
|
|
|
/* 8008791C 0008375C 88 03 00 FE */ lbz r0, 0xfe(r3)
|
|
|
|
/* 80087920 00083760 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087924 00083764 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087928 00083768 41 82 00 70 */ beq lbl_80087998
|
|
|
|
/* 8008792C 0008376C 88 03 01 86 */ lbz r0, 0x186(r3)
|
|
|
|
/* 80087930 00083770 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087934 00083774 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087938 00083778 41 82 00 60 */ beq lbl_80087998
|
|
|
|
/* 8008793C 0008377C 88 03 02 0E */ lbz r0, 0x20e(r3)
|
|
|
|
/* 80087940 00083780 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087944 00083784 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087948 00083788 41 82 00 50 */ beq lbl_80087998
|
|
|
|
/* 8008794C 0008378C 88 03 02 96 */ lbz r0, 0x296(r3)
|
|
|
|
/* 80087950 00083790 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087954 00083794 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087958 00083798 41 82 00 40 */ beq lbl_80087998
|
|
|
|
/* 8008795C 0008379C 88 03 03 1E */ lbz r0, 0x31e(r3)
|
|
|
|
/* 80087960 000837A0 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087964 000837A4 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087968 000837A8 41 82 00 30 */ beq lbl_80087998
|
|
|
|
/* 8008796C 000837AC 88 03 03 A6 */ lbz r0, 0x3a6(r3)
|
|
|
|
/* 80087970 000837B0 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087974 000837B4 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087978 000837B8 41 82 00 20 */ beq lbl_80087998
|
|
|
|
/* 8008797C 000837BC 88 03 04 2E */ lbz r0, 0x42e(r3)
|
|
|
|
/* 80087980 000837C0 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087984 000837C4 54 00 06 31 */ rlwinm. r0, r0, 0, 24, 24
|
|
|
|
/* 80087988 000837C8 41 82 00 10 */ beq lbl_80087998
|
|
|
|
/* 8008798C 000837CC 3B DE 00 01 */ addi r30, r30, 0x1
|
|
|
|
/* 80087990 000837D0 38 63 04 40 */ addi r3, r3, 0x440
|
|
|
|
/* 80087994 000837D4 42 00 FF 7C */ bdnz lbl_80087910
|
|
|
|
.global lbl_80087998
|
|
|
|
lbl_80087998:
|
|
|
|
/* 80087998 000837D8 2C 1E 00 10 */ cmpwi r30, 0x10
|
|
|
|
/* 8008799C 000837DC 41 80 00 10 */ blt lbl_800879AC
|
|
|
|
/* 800879A0 000837E0 7F 63 DB 78 */ mr r3, r27
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800879A4 000837E4 48 00 36 91 */ bl btsnd_hcic_pin_code_neg_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800879A8 000837E8 48 00 02 0C */ b lbl_80087BB4
|
|
|
|
.global lbl_800879AC
|
|
|
|
lbl_800879AC:
|
|
|
|
/* 800879AC 000837EC 88 9D 00 21 */ lbz r4, 0x21(r29)
|
|
|
|
/* 800879B0 000837F0 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 800879B4 000837F4 38 BD 00 22 */ addi r5, r29, 0x22
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800879B8 000837F8 48 00 34 99 */ bl btsnd_hcic_pin_code_req_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800879BC 000837FC 48 00 01 F8 */ b lbl_80087BB4
|
|
|
|
.global lbl_800879C0
|
|
|
|
lbl_800879C0:
|
|
|
|
/* 800879C0 00083800 7F 63 DB 78 */ mr r3, r27
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800879C4 00083804 4B FF 86 11 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800879C8 00083808 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800879CC 0008380C 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 800879D0 00083810 40 82 00 10 */ bne lbl_800879E0
|
|
|
|
/* 800879D4 00083814 7F 63 DB 78 */ mr r3, r27
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800879D8 00083818 4B FF 84 25 */ bl btm_sec_alloc_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800879DC 0008381C 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
.global lbl_800879E0
|
|
|
|
lbl_800879E0:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800879E0 00083820 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800879E4 00083824 7F 64 DB 78 */ mr r4, r27
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800879E8 00083828 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800879EC 0008382C 38 A0 00 06 */ li r5, 0x6
|
|
|
|
/* 800879F0 00083830 38 63 19 54 */ addi r3, r3, 0x1954
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800879F4 00083834 4B F7 C6 0D */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800879F8 00083838 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
|
|
/* 800879FC 0008383C 41 82 01 74 */ beq lbl_80087B70
|
|
|
|
/* 80087A00 00083840 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 80087A04 00083844 38 9D 27 B4 */ addi r4, r29, 0x27b4
|
|
|
|
/* 80087A08 00083848 38 A0 00 06 */ li r5, 0x6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087A0C 0008384C 4B F8 34 65 */ bl memcmp
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087A10 00083850 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087A14 00083854 40 82 00 14 */ bne lbl_80087A28
|
|
|
|
/* 80087A18 00083858 38 7E 00 22 */ addi r3, r30, 0x22
|
|
|
|
/* 80087A1C 0008385C 38 9D 27 BA */ addi r4, r29, 0x27ba
|
|
|
|
/* 80087A20 00083860 38 A0 00 03 */ li r5, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087A24 00083864 4B F7 C5 DD */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087A28
|
|
|
|
lbl_80087A28:
|
|
|
|
/* 80087A28 00083868 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 80087A2C 0008386C 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80087A30 00083870 41 82 00 A0 */ beq lbl_80087AD0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087A34 00083874 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087A38 00083878 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087A3C 0008387C 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087A40 00083880 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087A44 00083884 41 80 00 14 */ blt lbl_80087A58
|
|
|
|
/* 80087A48 00083888 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087A4C 0008388C 38 9F 07 FC */ addi r4, r31, 0x7fc
|
|
|
|
/* 80087A50 00083890 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087A54 00083894 4B FE FF 0D */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087A58
|
|
|
|
lbl_80087A58:
|
|
|
|
/* 80087A58 00083898 88 9D 19 7F */ lbz r4, 0x197f(r29)
|
|
|
|
/* 80087A5C 0008389C 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 80087A60 000838A0 38 BD 19 80 */ addi r5, r29, 0x1980
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087A64 000838A4 48 00 33 ED */ bl btsnd_hcic_pin_code_req_reply
|
|
|
|
/* 80087A68 000838A8 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80087A6C 000838AC 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087A70 000838B0 88 04 19 7B */ lbz r0, 0x197b(r4)
|
|
|
|
/* 80087A74 000838B4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087A78 000838B8 41 82 00 FC */ beq lbl_80087B74
|
|
|
|
/* 80087A7C 000838BC 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80087A80 000838C0 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80087A84 000838C4 98 64 19 7B */ stb r3, 0x197b(r4)
|
|
|
|
/* 80087A88 000838C8 28 00 00 05 */ cmplwi r0, 0x5
|
|
|
|
/* 80087A8C 000838CC 41 80 00 24 */ blt lbl_80087AB0
|
|
|
|
/* 80087A90 000838D0 88 A4 19 78 */ lbz r5, 0x1978(r4)
|
|
|
|
/* 80087A94 000838D4 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087A98 000838D8 38 63 00 04 */ addi r3, r3, 0x4
|
|
|
|
/* 80087A9C 000838DC 38 9F 08 2C */ addi r4, r31, 0x82c
|
|
|
|
/* 80087AA0 000838E0 38 05 FF FD */ addi r0, r5, -0x3
|
|
|
|
/* 80087AA4 000838E4 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 80087AA8 000838E8 54 05 D9 7E */ srwi r5, r0, 5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087AAC 000838EC 4B FE FE B5 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087AB0
|
|
|
|
lbl_80087AB0:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087AB0 000838F0 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087AB4 000838F4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087AB8 000838F8 88 63 19 78 */ lbz r3, 0x1978(r3)
|
|
|
|
/* 80087ABC 000838FC 38 03 FF FD */ addi r0, r3, -0x3
|
|
|
|
/* 80087AC0 00083900 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 80087AC4 00083904 54 03 DE 3E */ extrwi r3, r0, 8, 19
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087AC8 00083908 48 00 48 E1 */ bl btsnd_hcic_write_auth_enable
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087ACC 0008390C 48 00 00 A8 */ b lbl_80087B74
|
|
|
|
.global lbl_80087AD0
|
|
|
|
lbl_80087AD0:
|
|
|
|
/* 80087AD0 00083910 88 1D 19 79 */ lbz r0, 0x1979(r29)
|
|
|
|
/* 80087AD4 00083914 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087AD8 00083918 40 82 00 38 */ bne lbl_80087B10
|
|
|
|
/* 80087ADC 0008391C 80 1D 19 10 */ lwz r0, 0x1910(r29)
|
|
|
|
/* 80087AE0 00083920 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087AE4 00083924 41 82 00 2C */ beq lbl_80087B10
|
|
|
|
/* 80087AE8 00083928 88 1E 00 80 */ lbz r0, 0x80(r30)
|
|
|
|
/* 80087AEC 0008392C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087AF0 00083930 40 82 00 28 */ bne lbl_80087B18
|
|
|
|
/* 80087AF4 00083934 88 1E 00 23 */ lbz r0, 0x23(r30)
|
|
|
|
/* 80087AF8 00083938 54 00 06 FE */ clrlwi r0, r0, 27
|
|
|
|
/* 80087AFC 0008393C 2C 00 00 05 */ cmpwi r0, 0x5
|
|
|
|
/* 80087B00 00083940 40 82 00 18 */ bne lbl_80087B18
|
|
|
|
/* 80087B04 00083944 88 1E 00 24 */ lbz r0, 0x24(r30)
|
|
|
|
/* 80087B08 00083948 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
|
|
/* 80087B0C 0008394C 41 82 00 0C */ beq lbl_80087B18
|
|
|
|
.global lbl_80087B10
|
|
|
|
lbl_80087B10:
|
|
|
|
/* 80087B10 00083950 3B 80 00 01 */ li r28, 0x1
|
|
|
|
/* 80087B14 00083954 48 00 00 60 */ b lbl_80087B74
|
|
|
|
.global lbl_80087B18
|
|
|
|
lbl_80087B18:
|
|
|
|
/* 80087B18 00083958 7F 64 DB 78 */ mr r4, r27
|
|
|
|
/* 80087B1C 0008395C 38 7D 27 B4 */ addi r3, r29, 0x27b4
|
|
|
|
/* 80087B20 00083960 38 A0 00 06 */ li r5, 0x6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087B24 00083964 4B F7 C4 DD */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087B28 00083968 38 7D 27 BA */ addi r3, r29, 0x27ba
|
|
|
|
/* 80087B2C 0008396C 38 9E 00 22 */ addi r4, r30, 0x22
|
|
|
|
/* 80087B30 00083970 38 A0 00 03 */ li r5, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087B34 00083974 4B F7 C4 CD */ bl memcpy
|
|
|
|
/* 80087B38 00083978 3C A0 80 08 */ lis r5, btm_sec_pin_code_request_timeout@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087B3C 0008397C 38 7D 19 3C */ addi r3, r29, 0x193c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087B40 00083980 38 A5 77 FC */ addi r5, r5, btm_sec_pin_code_request_timeout@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087B44 00083984 38 80 00 16 */ li r4, 0x16
|
|
|
|
/* 80087B48 00083988 90 BD 19 4C */ stw r5, 0x194c(r29)
|
|
|
|
/* 80087B4C 0008398C 38 A0 00 3C */ li r5, 0x3c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087B50 00083990 4B FF 03 61 */ bl btu_start_timer
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087B54 00083994 81 9D 19 10 */ lwz r12, 0x1910(r29)
|
|
|
|
/* 80087B58 00083998 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 80087B5C 0008399C 38 9E 00 22 */ addi r4, r30, 0x22
|
|
|
|
/* 80087B60 000839A0 38 BE 00 35 */ addi r5, r30, 0x35
|
|
|
|
/* 80087B64 000839A4 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80087B68 000839A8 4E 80 04 21 */ bctrl
|
|
|
|
/* 80087B6C 000839AC 48 00 00 08 */ b lbl_80087B74
|
|
|
|
.global lbl_80087B70
|
|
|
|
lbl_80087B70:
|
|
|
|
/* 80087B70 000839B0 3B 80 00 01 */ li r28, 0x1
|
|
|
|
.global lbl_80087B74
|
|
|
|
lbl_80087B74:
|
|
|
|
/* 80087B74 000839B4 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 80087B78 000839B8 41 82 00 3C */ beq lbl_80087BB4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087B7C 000839BC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087B80 000839C0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087B84 000839C4 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087B88 000839C8 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80087B8C 000839CC 41 80 00 20 */ blt lbl_80087BAC
|
|
|
|
/* 80087B90 000839D0 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087B94 000839D4 88 BD 19 79 */ lbz r5, 0x1979(r29)
|
|
|
|
/* 80087B98 000839D8 80 DD 19 10 */ lwz r6, 0x1910(r29)
|
|
|
|
/* 80087B9C 000839DC 7F C7 F3 78 */ mr r7, r30
|
|
|
|
/* 80087BA0 000839E0 38 63 00 01 */ addi r3, r3, 0x1
|
|
|
|
/* 80087BA4 000839E4 38 9F 08 5C */ addi r4, r31, 0x85c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087BA8 000839E8 4B FE FD B9 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087BAC
|
|
|
|
lbl_80087BAC:
|
|
|
|
/* 80087BAC 000839EC 7F 63 DB 78 */ mr r3, r27
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087BB0 000839F0 48 00 34 85 */ bl btsnd_hcic_pin_code_neg_reply
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087BB4
|
|
|
|
lbl_80087BB4:
|
|
|
|
/* 80087BB4 000839F4 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 80087BB8 000839F8 4B F7 F7 D1 */ bl lbl_80007388
|
|
|
|
/* 80087BBC 000839FC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 80087BC0 00083A00 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80087BC4 00083A04 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80087BC8 00083A08 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_update_clock_offset
|
|
|
|
btm_sec_update_clock_offset:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087BCC 00083A0C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80087BD0 00083A10 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80087BD4 00083A14 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 80087BD8 00083A18 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80087BDC 00083A1C 7C 9F 23 78 */ mr r31, r4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087BE0 00083A20 4B FF 83 3D */ bl btm_find_dev_by_handle
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087BE4 00083A24 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087BE8 00083A28 41 82 00 20 */ beq lbl_80087C08
|
|
|
|
/* 80087BEC 00083A2C 63 FF 80 00 */ ori r31, r31, 0x8000
|
|
|
|
/* 80087BF0 00083A30 B3 E3 00 1A */ sth r31, 0x1a(r3)
|
|
|
|
/* 80087BF4 00083A34 38 63 00 1C */ addi r3, r3, 0x1c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087BF8 00083A38 4B FF AA E5 */ bl BTM_InqDbRead
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087BFC 00083A3C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087C00 00083A40 41 82 00 08 */ beq lbl_80087C08
|
|
|
|
/* 80087C04 00083A44 B3 E3 00 00 */ sth r31, 0x0(r3)
|
|
|
|
.global lbl_80087C08
|
|
|
|
lbl_80087C08:
|
|
|
|
/* 80087C08 00083A48 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80087C0C 00083A4C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 80087C10 00083A50 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80087C14 00083A54 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 80087C18 00083A58 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_execute_procedure
|
|
|
|
btm_sec_execute_procedure:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087C1C 00083A5C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80087C20 00083A60 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087C24 00083A64 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087C28 00083A68 90 01 00 24 */ stw r0, 0x24(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087C2C 00083A6C 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087C30 00083A70 93 E1 00 1C */ stw r31, 0x1c(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087C34 00083A74 3F E0 80 44 */ lis r31, "@2854"@ha
|
|
|
|
/* 80087C38 00083A78 3B FF C2 80 */ addi r31, r31, "@2854"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087C3C 00083A7C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 80087C40 00083A80 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80087C44 00083A84 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 80087C48 00083A88 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
|
|
/* 80087C4C 00083A8C 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087C50 00083A90 41 80 00 20 */ blt lbl_80087C70
|
|
|
|
/* 80087C54 00083A94 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087C58 00083A98 88 BE 00 81 */ lbz r5, 0x81(r30)
|
|
|
|
/* 80087C5C 00083A9C 88 DE 00 76 */ lbz r6, 0x76(r30)
|
|
|
|
/* 80087C60 00083AA0 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 80087C64 00083AA4 88 FE 00 7F */ lbz r7, 0x7f(r30)
|
|
|
|
/* 80087C68 00083AA8 38 9F 08 AC */ addi r4, r31, 0x8ac
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087C6C 00083AAC 4B FE FC F5 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087C70
|
|
|
|
lbl_80087C70:
|
|
|
|
/* 80087C70 00083AB0 88 1E 00 7F */ lbz r0, 0x7f(r30)
|
|
|
|
/* 80087C74 00083AB4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087C78 00083AB8 41 82 00 0C */ beq lbl_80087C84
|
|
|
|
/* 80087C7C 00083ABC 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80087C80 00083AC0 48 00 03 60 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087C84
|
|
|
|
lbl_80087C84:
|
|
|
|
/* 80087C84 00083AC4 A0 1E 00 18 */ lhz r0, 0x18(r30)
|
|
|
|
/* 80087C88 00083AC8 28 80 FF FF */ cmplwi cr1, r0, 0xffff
|
|
|
|
/* 80087C8C 00083ACC 40 86 00 60 */ bne cr1, lbl_80087CEC
|
|
|
|
/* 80087C90 00083AD0 38 7E 00 1C */ addi r3, r30, 0x1c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087C94 00083AD4 48 00 C7 AD */ bl l2cu_allocate_lcb
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087C98 00083AD8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087C9C 00083ADC 40 82 00 2C */ bne lbl_80087CC8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087CA0 00083AE0 3C 60 80 50 */ lis r3, l2cb@ha
|
|
|
|
/* 80087CA4 00083AE4 88 03 90 20 */ lbz r0, l2cb@l(r3)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087CA8 00083AE8 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 80087CAC 00083AEC 41 80 00 14 */ blt lbl_80087CC0
|
|
|
|
/* 80087CB0 00083AF0 3C 60 00 08 */ lis r3, 0x8
|
|
|
|
/* 80087CB4 00083AF4 38 9F 08 EC */ addi r4, r31, 0x8ec
|
|
|
|
/* 80087CB8 00083AF8 38 63 00 01 */ addi r3, r3, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087CBC 00083AFC 4B FE FC A5 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087CC0
|
|
|
|
lbl_80087CC0:
|
|
|
|
/* 80087CC0 00083B00 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80087CC4 00083B04 48 00 03 1C */ b lbl_80087FE0
|
|
|
|
.global lbl_80087CC8
|
|
|
|
lbl_80087CC8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087CC8 00083B08 48 00 E2 DD */ bl l2cu_create_conn
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087CCC 00083B0C 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80087CD0 00083B10 40 82 00 0C */ bne lbl_80087CDC
|
|
|
|
/* 80087CD4 00083B14 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80087CD8 00083B18 48 00 03 08 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087CDC
|
|
|
|
lbl_80087CDC:
|
|
|
|
/* 80087CDC 00083B1C 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 80087CE0 00083B20 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80087CE4 00083B24 98 1E 00 80 */ stb r0, 0x80(r30)
|
|
|
|
/* 80087CE8 00083B28 48 00 02 F8 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087CEC
|
|
|
|
lbl_80087CEC:
|
|
|
|
/* 80087CEC 00083B2C 88 1E 00 76 */ lbz r0, 0x76(r30)
|
|
|
|
/* 80087CF0 00083B30 54 00 07 39 */ rlwinm. r0, r0, 0, 28, 28
|
|
|
|
/* 80087CF4 00083B34 40 82 00 88 */ bne lbl_80087D7C
|
|
|
|
/* 80087CF8 00083B38 41 86 00 84 */ beq cr1, lbl_80087D7C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087CFC 00083B3C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087D00 00083B40 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087D04 00083B44 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087D08 00083B48 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087D0C 00083B4C 41 80 00 14 */ blt lbl_80087D20
|
|
|
|
/* 80087D10 00083B50 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087D14 00083B54 38 9F 09 10 */ addi r4, r31, 0x910
|
|
|
|
/* 80087D18 00083B58 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087D1C 00083B5C 4B FE FC 45 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087D20
|
|
|
|
lbl_80087D20:
|
|
|
|
/* 80087D20 00083B60 8B BE 00 7F */ lbz r29, 0x7f(r30)
|
|
|
|
/* 80087D24 00083B64 38 00 00 03 */ li r0, 0x3
|
|
|
|
/* 80087D28 00083B68 38 7E 00 1C */ addi r3, r30, 0x1c
|
|
|
|
/* 80087D2C 00083B6C 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 80087D30 00083B70 98 1E 00 7F */ stb r0, 0x7f(r30)
|
|
|
|
/* 80087D34 00083B74 38 A0 00 02 */ li r5, 0x2
|
|
|
|
/* 80087D38 00083B78 38 C0 00 1E */ li r6, 0x1e
|
|
|
|
/* 80087D3C 00083B7C 38 E0 00 00 */ li r7, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087D40 00083B80 4B FF B7 19 */ bl btm_initiate_rem_name
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087D44 00083B84 54 60 06 3E */ clrlwi r0, r3, 24
|
|
|
|
/* 80087D48 00083B88 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80087D4C 00083B8C 41 82 00 10 */ beq lbl_80087D5C
|
|
|
|
/* 80087D50 00083B90 9B BE 00 7F */ stb r29, 0x7f(r30)
|
|
|
|
/* 80087D54 00083B94 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80087D58 00083B98 48 00 00 08 */ b lbl_80087D60
|
|
|
|
.global lbl_80087D5C
|
|
|
|
lbl_80087D5C:
|
|
|
|
/* 80087D5C 00083B9C 38 00 00 01 */ li r0, 0x1
|
|
|
|
.global lbl_80087D60
|
|
|
|
lbl_80087D60:
|
|
|
|
/* 80087D60 00083BA0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087D64 00083BA4 41 82 00 0C */ beq lbl_80087D70
|
|
|
|
/* 80087D68 00083BA8 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80087D6C 00083BAC 48 00 02 74 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087D70
|
|
|
|
lbl_80087D70:
|
|
|
|
/* 80087D70 00083BB0 88 1E 00 76 */ lbz r0, 0x76(r30)
|
|
|
|
/* 80087D74 00083BB4 60 00 00 08 */ ori r0, r0, 0x8
|
|
|
|
/* 80087D78 00083BB8 98 1E 00 76 */ stb r0, 0x76(r30)
|
|
|
|
.global lbl_80087D7C
|
|
|
|
lbl_80087D7C:
|
|
|
|
/* 80087D7C 00083BBC 88 9E 00 76 */ lbz r4, 0x76(r30)
|
|
|
|
/* 80087D80 00083BC0 54 80 07 BD */ rlwinm. r0, r4, 0, 30, 30
|
|
|
|
/* 80087D84 00083BC4 40 82 00 88 */ bne lbl_80087E0C
|
|
|
|
/* 80087D88 00083BC8 88 7E 00 80 */ lbz r3, 0x80(r30)
|
|
|
|
/* 80087D8C 00083BCC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087D90 00083BD0 41 82 00 10 */ beq lbl_80087DA0
|
|
|
|
/* 80087D94 00083BD4 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 80087D98 00083BD8 54 00 06 F7 */ rlwinm. r0, r0, 0, 27, 27
|
|
|
|
/* 80087D9C 00083BDC 40 82 00 18 */ bne lbl_80087DB4
|
|
|
|
.global lbl_80087DA0
|
|
|
|
lbl_80087DA0:
|
|
|
|
/* 80087DA0 00083BE0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087DA4 00083BE4 40 82 00 68 */ bne lbl_80087E0C
|
|
|
|
/* 80087DA8 00083BE8 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 80087DAC 00083BEC 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
|
|
|
|
/* 80087DB0 00083BF0 41 82 00 5C */ beq lbl_80087E0C
|
|
|
|
.global lbl_80087DB4
|
|
|
|
lbl_80087DB4:
|
|
|
|
/* 80087DB4 00083BF4 A0 1E 00 18 */ lhz r0, 0x18(r30)
|
|
|
|
/* 80087DB8 00083BF8 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 80087DBC 00083BFC 41 82 00 50 */ beq lbl_80087E0C
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087DC0 00083C00 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087DC4 00083C04 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087DC8 00083C08 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087DCC 00083C0C 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087DD0 00083C10 41 80 00 14 */ blt lbl_80087DE4
|
|
|
|
/* 80087DD4 00083C14 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087DD8 00083C18 38 9F 09 34 */ addi r4, r31, 0x934
|
|
|
|
/* 80087DDC 00083C1C 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087DE0 00083C20 4B FE FB 81 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087DE4
|
|
|
|
lbl_80087DE4:
|
|
|
|
/* 80087DE4 00083C24 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 80087DE8 00083C28 A0 7E 00 18 */ lhz r3, 0x18(r30)
|
|
|
|
/* 80087DEC 00083C2C 98 1E 00 7F */ stb r0, 0x7f(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087DF0 00083C30 48 00 33 75 */ bl btsnd_hcic_auth_request
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087DF4 00083C34 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80087DF8 00083C38 40 82 00 0C */ bne lbl_80087E04
|
|
|
|
/* 80087DFC 00083C3C 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80087E00 00083C40 48 00 01 E0 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087E04
|
|
|
|
lbl_80087E04:
|
|
|
|
/* 80087E04 00083C44 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80087E08 00083C48 48 00 01 D8 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087E0C
|
|
|
|
lbl_80087E0C:
|
|
|
|
/* 80087E0C 00083C4C 54 80 07 7B */ rlwinm. r0, r4, 0, 29, 29
|
|
|
|
/* 80087E10 00083C50 40 82 00 A0 */ bne lbl_80087EB0
|
|
|
|
/* 80087E14 00083C54 88 7E 00 80 */ lbz r3, 0x80(r30)
|
|
|
|
/* 80087E18 00083C58 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087E1C 00083C5C 41 82 00 10 */ beq lbl_80087E2C
|
|
|
|
/* 80087E20 00083C60 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 80087E24 00083C64 54 00 06 B5 */ rlwinm. r0, r0, 0, 26, 26
|
|
|
|
/* 80087E28 00083C68 40 82 00 18 */ bne lbl_80087E40
|
|
|
|
.global lbl_80087E2C
|
|
|
|
lbl_80087E2C:
|
|
|
|
/* 80087E2C 00083C6C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087E30 00083C70 40 82 00 80 */ bne lbl_80087EB0
|
|
|
|
/* 80087E34 00083C74 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 80087E38 00083C78 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
|
|
|
|
/* 80087E3C 00083C7C 41 82 00 74 */ beq lbl_80087EB0
|
|
|
|
.global lbl_80087E40
|
|
|
|
lbl_80087E40:
|
|
|
|
/* 80087E40 00083C80 A0 1E 00 18 */ lhz r0, 0x18(r30)
|
|
|
|
/* 80087E44 00083C84 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 80087E48 00083C88 41 82 00 68 */ beq lbl_80087EB0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087E4C 00083C8C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087E50 00083C90 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087E54 00083C94 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087E58 00083C98 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087E5C 00083C9C 41 80 00 14 */ blt lbl_80087E70
|
|
|
|
/* 80087E60 00083CA0 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087E64 00083CA4 38 9F 09 5C */ addi r4, r31, 0x95c
|
|
|
|
/* 80087E68 00083CA8 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087E6C 00083CAC 4B FE FA F5 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087E70
|
|
|
|
lbl_80087E70:
|
|
|
|
/* 80087E70 00083CB0 A0 7E 00 18 */ lhz r3, 0x18(r30)
|
|
|
|
/* 80087E74 00083CB4 38 80 00 01 */ li r4, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087E78 00083CB8 48 00 33 69 */ bl btsnd_hcic_set_conn_encrypt
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087E7C 00083CBC 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 80087E80 00083CC0 40 82 00 0C */ bne lbl_80087E8C
|
|
|
|
/* 80087E84 00083CC4 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 80087E88 00083CC8 48 00 00 10 */ b lbl_80087E98
|
|
|
|
.global lbl_80087E8C
|
|
|
|
lbl_80087E8C:
|
|
|
|
/* 80087E8C 00083CCC 38 00 00 02 */ li r0, 0x2
|
|
|
|
/* 80087E90 00083CD0 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80087E94 00083CD4 98 1E 00 7F */ stb r0, 0x7f(r30)
|
|
|
|
.global lbl_80087E98
|
|
|
|
lbl_80087E98:
|
|
|
|
/* 80087E98 00083CD8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087E9C 00083CDC 40 82 00 0C */ bne lbl_80087EA8
|
|
|
|
/* 80087EA0 00083CE0 38 60 00 03 */ li r3, 0x3
|
|
|
|
/* 80087EA4 00083CE4 48 00 01 3C */ b lbl_80087FE0
|
|
|
|
.global lbl_80087EA8
|
|
|
|
lbl_80087EA8:
|
|
|
|
/* 80087EA8 00083CE8 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80087EAC 00083CEC 48 00 01 34 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087EB0
|
|
|
|
lbl_80087EB0:
|
|
|
|
/* 80087EB0 00083CF0 54 80 07 FF */ clrlwi. r0, r4, 31
|
|
|
|
/* 80087EB4 00083CF4 40 82 00 CC */ bne lbl_80087F80
|
|
|
|
/* 80087EB8 00083CF8 88 7E 00 80 */ lbz r3, 0x80(r30)
|
|
|
|
/* 80087EBC 00083CFC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087EC0 00083D00 41 82 00 10 */ beq lbl_80087ED0
|
|
|
|
/* 80087EC4 00083D04 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 80087EC8 00083D08 54 00 07 39 */ rlwinm. r0, r0, 0, 28, 28
|
|
|
|
/* 80087ECC 00083D0C 40 82 00 18 */ bne lbl_80087EE4
|
|
|
|
.global lbl_80087ED0
|
|
|
|
lbl_80087ED0:
|
|
|
|
/* 80087ED0 00083D10 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 80087ED4 00083D14 40 82 00 AC */ bne lbl_80087F80
|
|
|
|
/* 80087ED8 00083D18 88 1E 00 81 */ lbz r0, 0x81(r30)
|
|
|
|
/* 80087EDC 00083D1C 54 00 07 FF */ clrlwi. r0, r0, 31
|
|
|
|
/* 80087EE0 00083D20 41 82 00 A0 */ beq lbl_80087F80
|
|
|
|
.global lbl_80087EE4
|
|
|
|
lbl_80087EE4:
|
|
|
|
/* 80087EE4 00083D24 80 7E 00 10 */ lwz r3, 0x10(r30)
|
|
|
|
/* 80087EE8 00083D28 3C 03 00 01 */ addis r0, r3, 0x1
|
|
|
|
/* 80087EEC 00083D2C 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 80087EF0 00083D30 41 82 00 0C */ beq lbl_80087EFC
|
|
|
|
/* 80087EF4 00083D34 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80087EF8 00083D38 48 00 00 20 */ b lbl_80087F18
|
|
|
|
.global lbl_80087EFC
|
|
|
|
lbl_80087EFC:
|
|
|
|
/* 80087EFC 00083D3C 80 7E 00 14 */ lwz r3, 0x14(r30)
|
|
|
|
/* 80087F00 00083D40 3C 03 00 01 */ addis r0, r3, 0x1
|
|
|
|
/* 80087F04 00083D44 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 80087F08 00083D48 41 82 00 0C */ beq lbl_80087F14
|
|
|
|
/* 80087F0C 00083D4C 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80087F10 00083D50 48 00 00 08 */ b lbl_80087F18
|
|
|
|
.global lbl_80087F14
|
|
|
|
lbl_80087F14:
|
|
|
|
/* 80087F14 00083D54 38 00 00 01 */ li r0, 0x1
|
|
|
|
.global lbl_80087F18
|
|
|
|
lbl_80087F18:
|
|
|
|
/* 80087F18 00083D58 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80087F1C 00083D5C 40 82 00 64 */ bne lbl_80087F80
|
|
|
|
/* 80087F20 00083D60 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
|
|
/* 80087F24 00083D64 88 63 00 0F */ lbz r3, 0xf(r3)
|
|
|
|
/* 80087F28 00083D68 28 03 00 2E */ cmplwi r3, 0x2e
|
|
|
|
/* 80087F2C 00083D6C 40 80 00 54 */ bge lbl_80087F80
|
|
|
|
/* 80087F30 00083D70 54 60 EE FA */ rlwinm r0, r3, 29, 27, 29
|
|
|
|
/* 80087F34 00083D74 54 64 06 FE */ clrlwi r4, r3, 27
|
|
|
|
/* 80087F38 00083D78 7C 7E 02 14 */ add r3, r30, r0
|
|
|
|
/* 80087F3C 00083D7C 38 A0 00 01 */ li r5, 0x1
|
|
|
|
/* 80087F40 00083D80 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
|
|
/* 80087F44 00083D84 7C A3 20 30 */ slw r3, r5, r4
|
|
|
|
/* 80087F48 00083D88 7C 60 00 39 */ and. r0, r3, r0
|
|
|
|
/* 80087F4C 00083D8C 40 82 00 34 */ bne lbl_80087F80
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087F50 00083D90 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087F54 00083D94 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087F58 00083D98 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087F5C 00083D9C 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087F60 00083DA0 41 80 00 14 */ blt lbl_80087F74
|
|
|
|
/* 80087F64 00083DA4 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087F68 00083DA8 38 9F 09 80 */ addi r4, r31, 0x980
|
|
|
|
/* 80087F6C 00083DAC 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087F70 00083DB0 4B FE F9 F1 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087F74
|
|
|
|
lbl_80087F74:
|
|
|
|
/* 80087F74 00083DB4 7F C3 F3 78 */ mr r3, r30
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087F78 00083DB8 48 00 00 85 */ bl btm_sec_start_authorization
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087F7C 00083DBC 48 00 00 64 */ b lbl_80087FE0
|
|
|
|
.global lbl_80087F80
|
|
|
|
lbl_80087F80:
|
|
|
|
/* 80087F80 00083DC0 88 1E 00 81 */ lbz r0, 0x81(r30)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087F84 00083DC4 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087F88 00083DC8 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087F8C 00083DCC 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
|
|
|
|
/* 80087F90 00083DD0 98 1E 00 81 */ stb r0, 0x81(r30)
|
|
|
|
/* 80087F94 00083DD4 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087F98 00083DD8 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087F9C 00083DDC 41 80 00 1C */ blt lbl_80087FB8
|
|
|
|
/* 80087FA0 00083DE0 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087FA4 00083DE4 80 BE 00 14 */ lwz r5, 0x14(r30)
|
|
|
|
/* 80087FA8 00083DE8 80 DE 00 10 */ lwz r6, 0x10(r30)
|
|
|
|
/* 80087FAC 00083DEC 38 63 00 03 */ addi r3, r3, 0x3
|
|
|
|
/* 80087FB0 00083DF0 38 9F 09 A8 */ addi r4, r31, 0x9a8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087FB4 00083DF4 4B FE F9 AD */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087FB8
|
|
|
|
lbl_80087FB8:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087FB8 00083DF8 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
|
|
/* 80087FBC 00083DFC 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087FC0 00083E00 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80087FC4 00083E04 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 80087FC8 00083E08 41 80 00 14 */ blt lbl_80087FDC
|
|
|
|
/* 80087FCC 00083E0C 3C 60 00 0D */ lis r3, 0xd
|
|
|
|
/* 80087FD0 00083E10 38 9F 09 D0 */ addi r4, r31, 0x9d0
|
|
|
|
/* 80087FD4 00083E14 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80087FD8 00083E18 4B FE F9 89 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80087FDC
|
|
|
|
lbl_80087FDC:
|
|
|
|
/* 80087FDC 00083E1C 38 60 00 00 */ li r3, 0x0
|
|
|
|
.global lbl_80087FE0
|
|
|
|
lbl_80087FE0:
|
|
|
|
/* 80087FE0 00083E20 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 80087FE4 00083E24 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 80087FE8 00083E28 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 80087FEC 00083E2C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 80087FF0 00083E30 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80087FF4 00083E34 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80087FF8 00083E38 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_start_authorization
|
|
|
|
btm_sec_start_authorization:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80087FFC 00083E3C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80088000 00083E40 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80088004 00083E44 38 C0 00 00 */ li r6, 0x0
|
|
|
|
/* 80088008 00083E48 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8008800C 00083E4C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80088010 00083E50 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 80088014 00083E54 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80088018 00083E58 88 03 00 76 */ lbz r0, 0x76(r3)
|
|
|
|
/* 8008801C 00083E5C 54 00 07 39 */ rlwinm. r0, r0, 0, 28, 28
|
|
|
|
/* 80088020 00083E60 40 82 00 10 */ bne lbl_80088030
|
|
|
|
/* 80088024 00083E64 A0 03 00 18 */ lhz r0, 0x18(r3)
|
|
|
|
/* 80088028 00083E68 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8008802C 00083E6C 40 82 00 9C */ bne lbl_800880C8
|
|
|
|
.global lbl_80088030
|
|
|
|
lbl_80088030:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088030 00083E70 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
|
|
/* 80088034 00083E74 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088038 00083E78 80 04 19 0C */ lwz r0, 0x190c(r4)
|
|
|
|
/* 8008803C 00083E7C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80088040 00083E80 40 82 00 0C */ bne lbl_8008804C
|
|
|
|
/* 80088044 00083E84 38 60 00 04 */ li r3, 0x4
|
|
|
|
/* 80088048 00083E88 48 00 00 B8 */ b lbl_80088100
|
|
|
|
.global lbl_8008804C
|
|
|
|
lbl_8008804C:
|
|
|
|
/* 8008804C 00083E8C 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 80088050 00083E90 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 80088054 00083E94 41 82 00 24 */ beq lbl_80088078
|
|
|
|
/* 80088058 00083E98 88 03 00 80 */ lbz r0, 0x80(r3)
|
|
|
|
/* 8008805C 00083E9C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80088060 00083EA0 41 82 00 0C */ beq lbl_8008806C
|
|
|
|
/* 80088064 00083EA4 38 C4 00 10 */ addi r6, r4, 0x10
|
|
|
|
/* 80088068 00083EA8 48 00 00 08 */ b lbl_80088070
|
|
|
|
.global lbl_8008806C
|
|
|
|
lbl_8008806C:
|
|
|
|
/* 8008806C 00083EAC 38 C4 00 26 */ addi r6, r4, 0x26
|
|
|
|
.global lbl_80088070
|
|
|
|
lbl_80088070:
|
|
|
|
/* 80088070 00083EB0 88 E4 00 0F */ lbz r7, 0xf(r4)
|
|
|
|
/* 80088074 00083EB4 48 00 00 08 */ b lbl_8008807C
|
|
|
|
.global lbl_80088078
|
|
|
|
lbl_80088078:
|
|
|
|
/* 80088078 00083EB8 38 E0 00 00 */ li r7, 0x0
|
|
|
|
.global lbl_8008807C
|
|
|
|
lbl_8008807C:
|
|
|
|
/* 8008807C 00083EBC 38 00 00 04 */ li r0, 0x4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088080 00083EC0 3C 80 80 4F */ lis r4, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088084 00083EC4 98 03 00 7F */ stb r0, 0x7f(r3)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088088 00083EC8 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008808C 00083ECC 38 A3 00 35 */ addi r5, r3, 0x35
|
|
|
|
/* 80088090 00083ED0 89 03 00 80 */ lbz r8, 0x80(r3)
|
|
|
|
/* 80088094 00083ED4 81 84 19 0C */ lwz r12, 0x190c(r4)
|
|
|
|
/* 80088098 00083ED8 38 83 00 22 */ addi r4, r3, 0x22
|
|
|
|
/* 8008809C 00083EDC 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800880A0 00083EE0 38 63 00 1C */ addi r3, r3, 0x1c
|
|
|
|
/* 800880A4 00083EE4 4E 80 04 21 */ bctrl
|
|
|
|
/* 800880A8 00083EE8 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
|
|
/* 800880AC 00083EEC 40 82 00 54 */ bne lbl_80088100
|
|
|
|
/* 800880B0 00083EF0 88 9E 00 76 */ lbz r4, 0x76(r30)
|
|
|
|
/* 800880B4 00083EF4 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800880B8 00083EF8 98 1E 00 7F */ stb r0, 0x7f(r30)
|
|
|
|
/* 800880BC 00083EFC 60 80 00 01 */ ori r0, r4, 0x1
|
|
|
|
/* 800880C0 00083F00 98 1E 00 76 */ stb r0, 0x76(r30)
|
|
|
|
/* 800880C4 00083F04 48 00 00 3C */ b lbl_80088100
|
|
|
|
.global lbl_800880C8
|
|
|
|
lbl_800880C8:
|
|
|
|
/* 800880C8 00083F08 8B E3 00 7F */ lbz r31, 0x7f(r3)
|
|
|
|
/* 800880CC 00083F0C 38 00 00 03 */ li r0, 0x3
|
|
|
|
/* 800880D0 00083F10 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 800880D4 00083F14 38 A0 00 02 */ li r5, 0x2
|
|
|
|
/* 800880D8 00083F18 98 03 00 7F */ stb r0, 0x7f(r3)
|
|
|
|
/* 800880DC 00083F1C 38 C0 00 1E */ li r6, 0x1e
|
|
|
|
/* 800880E0 00083F20 38 E0 00 00 */ li r7, 0x0
|
|
|
|
/* 800880E4 00083F24 38 63 00 1C */ addi r3, r3, 0x1c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800880E8 00083F28 4B FF B3 71 */ bl btm_initiate_rem_name
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800880EC 00083F2C 54 60 06 3E */ clrlwi r0, r3, 24
|
|
|
|
/* 800880F0 00083F30 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 800880F4 00083F34 41 82 00 08 */ beq lbl_800880FC
|
|
|
|
/* 800880F8 00083F38 9B FE 00 7F */ stb r31, 0x7f(r30)
|
|
|
|
.global lbl_800880FC
|
|
|
|
lbl_800880FC:
|
|
|
|
/* 800880FC 00083F3C 38 60 00 01 */ li r3, 0x1
|
|
|
|
.global lbl_80088100
|
|
|
|
lbl_80088100:
|
|
|
|
/* 80088100 00083F40 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80088104 00083F44 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 80088108 00083F48 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 8008810C 00083F4C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80088110 00083F50 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 80088114 00083F54 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_sec_collision_timeout
|
|
|
|
btm_sec_collision_timeout:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088118 00083F58 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8008811C 00083F5C 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088120 00083F60 3C 60 80 4F */ lis r3, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088124 00083F64 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088128 00083F68 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008812C 00083F6C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80088130 00083F70 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 80088134 00083F74 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
|
|
/* 80088138 00083F78 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 8008813C 00083F7C 41 80 00 18 */ blt lbl_80088154
|
|
|
|
/* 80088140 00083F80 3C 60 00 0D */ lis r3, 0xd
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088144 00083F84 3C 80 80 44 */ lis r4, "@3519_8043CC74"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088148 00083F88 38 63 00 03 */ addi r3, r3, 0x3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008814C 00083F8C 38 84 CC 74 */ addi r4, r4, "@3519_8043CC74"@l
|
|
|
|
/* 80088150 00083F90 4B FE F8 11 */ bl LogMsg_0
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80088154
|
|
|
|
lbl_80088154:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088154 00083F94 3F E0 80 4F */ lis r31, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088158 00083F98 3B C0 00 00 */ li r30, 0x0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8008815C 00083F9C 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088160 00083FA0 93 DF 19 6C */ stw r30, 0x196c(r31)
|
|
|
|
/* 80088164 00083FA4 80 7F 19 38 */ lwz r3, 0x1938(r31)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088168 00083FA8 4B FF FA B5 */ bl btm_sec_execute_procedure
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8008816C 00083FAC 54 60 06 3E */ clrlwi r0, r3, 24
|
|
|
|
/* 80088170 00083FB0 28 00 00 01 */ cmplwi r0, 0x1
|
|
|
|
/* 80088174 00083FB4 41 82 00 6C */ beq lbl_800881E0
|
|
|
|
/* 80088178 00083FB8 80 9F 19 38 */ lwz r4, 0x1938(r31)
|
|
|
|
/* 8008817C 00083FBC 80 04 00 04 */ lwz r0, 0x4(r4)
|
|
|
|
/* 80088180 00083FC0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80088184 00083FC4 41 82 00 5C */ beq lbl_800881E0
|
|
|
|
/* 80088188 00083FC8 88 04 00 80 */ lbz r0, 0x80(r4)
|
|
|
|
/* 8008818C 00083FCC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 80088190 00083FD0 41 82 00 20 */ beq lbl_800881B0
|
|
|
|
/* 80088194 00083FD4 80 84 00 00 */ lwz r4, 0x0(r4)
|
|
|
|
/* 80088198 00083FD8 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 8008819C 00083FDC 41 82 00 14 */ beq lbl_800881B0
|
|
|
|
/* 800881A0 00083FE0 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
|
|
/* 800881A4 00083FE4 28 00 00 03 */ cmplwi r0, 0x3
|
|
|
|
/* 800881A8 00083FE8 40 82 00 08 */ bne lbl_800881B0
|
|
|
|
/* 800881AC 00083FEC 93 C4 00 04 */ stw r30, 0x4(r4)
|
|
|
|
.global lbl_800881B0
|
|
|
|
lbl_800881B0:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800881B0 00083FF0 3F E0 80 4F */ lis r31, btm_cb@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800881B4 00083FF4 54 65 06 3E */ clrlwi r5, r3, 24
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800881B8 00083FF8 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800881BC 00083FFC 80 9F 19 38 */ lwz r4, 0x1938(r31)
|
|
|
|
/* 800881C0 00084000 81 84 00 04 */ lwz r12, 0x4(r4)
|
|
|
|
/* 800881C4 00084004 38 64 00 1C */ addi r3, r4, 0x1c
|
|
|
|
/* 800881C8 00084008 80 84 00 08 */ lwz r4, 0x8(r4)
|
|
|
|
/* 800881CC 0008400C 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 800881D0 00084010 4E 80 04 21 */ bctrl
|
|
|
|
/* 800881D4 00084014 80 7F 19 38 */ lwz r3, 0x1938(r31)
|
|
|
|
/* 800881D8 00084018 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800881DC 0008401C 90 03 00 04 */ stw r0, 0x4(r3)
|
|
|
|
.global lbl_800881E0
|
|
|
|
lbl_800881E0:
|
|
|
|
/* 800881E0 00084020 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800881E4 00084024 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800881E8 00084028 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 800881EC 0008402C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800881F0 00084030 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800881F4 00084034 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global btm_read_trusted_mask
|
|
|
|
btm_read_trusted_mask:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800881F8 00084038 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800881FC 0008403C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80088200 00084040 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80088204 00084044 4B FF 7D D1 */ bl btm_find_dev
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80088208 00084048 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 8008820C 0008404C 41 82 00 0C */ beq lbl_80088218
|
|
|
|
/* 80088210 00084050 38 63 00 10 */ addi r3, r3, 0x10
|
|
|
|
/* 80088214 00084054 48 00 00 08 */ b lbl_8008821C
|
|
|
|
.global lbl_80088218
|
|
|
|
lbl_80088218:
|
|
|
|
/* 80088218 00084058 38 60 00 00 */ li r3, 0x0
|
|
|
|
.global lbl_8008821C
|
|
|
|
lbl_8008821C:
|
|
|
|
/* 8008821C 0008405C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80088220 00084060 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80088224 00084064 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 80088228 00084068 4E 80 00 20 */ blr
|
2022-10-17 08:41:13 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
|
|
|
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
|
|
|
|
.global "@2854"
|
|
|
|
"@2854":
|
|
|
|
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x5365633A
|
|
|
|
.4byte 0x20617070
|
|
|
|
.4byte 0x6C696361
|
|
|
|
.4byte 0x74696F6E
|
|
|
|
.4byte 0x20726567
|
|
|
|
.4byte 0x69737465
|
|
|
|
.4byte 0x72656400
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53657453
|
|
|
|
.4byte 0x65637572
|
|
|
|
.4byte 0x6974794D
|
|
|
|
.4byte 0x6F64653A
|
|
|
|
.4byte 0x206D6F64
|
|
|
|
.4byte 0x653A2564
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53657453
|
|
|
|
.4byte 0x65637572
|
|
|
|
.4byte 0x6974794D
|
|
|
|
.4byte 0x6F64653A
|
|
|
|
.4byte 0x20417574
|
|
|
|
.4byte 0x68656E20
|
|
|
|
.4byte 0x456E6162
|
|
|
|
.4byte 0x6C65202D
|
|
|
|
.4byte 0x3E204641
|
|
|
|
.4byte 0x4C534500
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53657453
|
|
|
|
.4byte 0x65637572
|
|
|
|
.4byte 0x6974794D
|
|
|
|
.4byte 0x6F64653A
|
|
|
|
.4byte 0x20417574
|
|
|
|
.4byte 0x68656E20
|
|
|
|
.4byte 0x456E6162
|
|
|
|
.4byte 0x6C65202D
|
|
|
|
.4byte 0x3E205452
|
|
|
|
.4byte 0x55450000
|
|
|
|
|
|
|
|
.global "@2900"
|
|
|
|
"@2900":
|
|
|
|
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53657450
|
|
|
|
.4byte 0x696E5479
|
|
|
|
.4byte 0x70653A20
|
|
|
|
.4byte 0x70696E20
|
|
|
|
.4byte 0x74797065
|
|
|
|
.4byte 0x20256420
|
|
|
|
.4byte 0x5B766172
|
|
|
|
.4byte 0x6961626C
|
|
|
|
.4byte 0x652D302C
|
|
|
|
.4byte 0x20666978
|
|
|
|
.4byte 0x65642D31
|
|
|
|
.4byte 0x5D2C2063
|
|
|
|
.4byte 0x6F646520
|
|
|
|
.4byte 0x25732C20
|
|
|
|
.4byte 0x6C656E67
|
|
|
|
.4byte 0x74682025
|
|
|
|
.4byte 0x64000000
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x5345435F
|
|
|
|
.4byte 0x5245475B
|
|
|
|
.4byte 0x25645D3A
|
|
|
|
.4byte 0x20696420
|
|
|
|
.4byte 0x25642C20
|
|
|
|
.4byte 0x69735F6F
|
|
|
|
.4byte 0x72696720
|
|
|
|
.4byte 0x25642C20
|
|
|
|
.4byte 0x70736D20
|
|
|
|
.4byte 0x30782530
|
|
|
|
.4byte 0x34782C20
|
|
|
|
.4byte 0x70726F74
|
|
|
|
.4byte 0x6F5F6964
|
|
|
|
.4byte 0x2025642C
|
|
|
|
.4byte 0x20636861
|
|
|
|
.4byte 0x6E5F6964
|
|
|
|
.4byte 0x20256400
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x2020203A
|
|
|
|
.4byte 0x20736563
|
|
|
|
.4byte 0x3A203078
|
|
|
|
.4byte 0x25782C20
|
|
|
|
.4byte 0x73657276
|
|
|
|
.4byte 0x69636520
|
|
|
|
.4byte 0x6E616D65
|
|
|
|
.4byte 0x205B2573
|
|
|
|
.4byte 0x5D202875
|
|
|
|
.4byte 0x7020746F
|
|
|
|
.4byte 0x20256420
|
|
|
|
.4byte 0x63686172
|
|
|
|
.4byte 0x73207361
|
|
|
|
.4byte 0x76656429
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x5345435F
|
|
|
|
.4byte 0x5245473A
|
|
|
|
.4byte 0x204F7574
|
|
|
|
.4byte 0x206F6620
|
|
|
|
.4byte 0x53657276
|
|
|
|
.4byte 0x69636520
|
|
|
|
.4byte 0x5265636F
|
|
|
|
.4byte 0x72647320
|
|
|
|
.4byte 0x28256429
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global "@2972_8043C420"
|
|
|
|
"@2972_8043C420":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A204174
|
|
|
|
.4byte 0x74656D70
|
|
|
|
.4byte 0x74696E67
|
|
|
|
.4byte 0x20417574
|
|
|
|
.4byte 0x686F7269
|
|
|
|
.4byte 0x7A617469
|
|
|
|
.4byte 0x6F6E206F
|
|
|
|
.4byte 0x6620556E
|
|
|
|
.4byte 0x6B6E6F77
|
|
|
|
.4byte 0x6E204465
|
|
|
|
.4byte 0x76696365
|
|
|
|
.4byte 0x20416464
|
|
|
|
.4byte 0x72657373
|
|
|
|
.4byte 0x205B2530
|
|
|
|
.4byte 0x32782530
|
|
|
|
.4byte 0x32782530
|
|
|
|
.4byte 0x32782530
|
|
|
|
.4byte 0x32782530
|
|
|
|
.4byte 0x32782530
|
|
|
|
.4byte 0x32785D00
|
|
|
|
|
|
|
|
.global "@2973_8043C480"
|
|
|
|
"@2973_8043C480":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206175
|
|
|
|
.4byte 0x74686F72
|
|
|
|
.4byte 0x697A6564
|
|
|
|
.4byte 0x20737461
|
|
|
|
.4byte 0x7475733A
|
|
|
|
.4byte 0x25642053
|
|
|
|
.4byte 0x74617465
|
|
|
|
.4byte 0x3A256400
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53656342
|
|
|
|
.4byte 0x6F6E6420
|
|
|
|
.4byte 0x4244413A
|
|
|
|
.4byte 0x20253032
|
|
|
|
.4byte 0x783A2530
|
|
|
|
.4byte 0x32783A25
|
|
|
|
.4byte 0x3032783A
|
|
|
|
.4byte 0x25303278
|
|
|
|
.4byte 0x3A253032
|
|
|
|
.4byte 0x783A2530
|
|
|
|
.4byte 0x32780000
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53656342
|
|
|
|
.4byte 0x6F6E643A
|
|
|
|
.4byte 0x20496C6C
|
|
|
|
.4byte 0x6567616C
|
|
|
|
.4byte 0x2050696E
|
|
|
|
.4byte 0x206C656E
|
|
|
|
.4byte 0x3A256400
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53656342
|
|
|
|
.4byte 0x6F6E643A
|
|
|
|
.4byte 0x206E6F20
|
|
|
|
.4byte 0x64657669
|
|
|
|
.4byte 0x63652062
|
|
|
|
.4byte 0x6C6F636B
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53656342
|
|
|
|
.4byte 0x6F6E6420
|
|
|
|
.4byte 0x2D3E2041
|
|
|
|
.4byte 0x6C726561
|
|
|
|
.4byte 0x64792050
|
|
|
|
.4byte 0x61697265
|
|
|
|
.4byte 0x64000000
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53656342
|
|
|
|
.4byte 0x6F6E643A
|
|
|
|
.4byte 0x20417574
|
|
|
|
.4byte 0x68656E20
|
|
|
|
.4byte 0x456E6162
|
|
|
|
.4byte 0x6C65202D
|
|
|
|
.4byte 0x3E205452
|
|
|
|
.4byte 0x55450000
|
|
|
|
.4byte 0x42544D5F
|
|
|
|
.4byte 0x53656342
|
|
|
|
.4byte 0x6F6E643A
|
|
|
|
.4byte 0x206E6F20
|
|
|
|
.4byte 0x62756666
|
|
|
|
.4byte 0x65720000
|
|
|
|
|
|
|
|
.global "@3016_8043C57C"
|
|
|
|
"@3016_8043C57C":
|
|
|
|
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x72657374
|
|
|
|
.4byte 0x6F72655F
|
|
|
|
.4byte 0x6D6F6465
|
|
|
|
.4byte 0x3A204175
|
|
|
|
.4byte 0x7468656E
|
|
|
|
.4byte 0x20456E61
|
|
|
|
.4byte 0x626C6520
|
|
|
|
.4byte 0x2D3E2025
|
|
|
|
.4byte 0x64000000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A204254
|
|
|
|
.4byte 0x4D5F5365
|
|
|
|
.4byte 0x74456E63
|
|
|
|
.4byte 0x72797074
|
|
|
|
.4byte 0x696F6E20
|
|
|
|
.4byte 0x6E6F7420
|
|
|
|
.4byte 0x636F6E6E
|
|
|
|
.4byte 0x65637465
|
|
|
|
.4byte 0x64000000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A204254
|
|
|
|
.4byte 0x4D5F5365
|
|
|
|
.4byte 0x74456E63
|
|
|
|
.4byte 0x72797074
|
|
|
|
.4byte 0x696F6E20
|
|
|
|
.4byte 0x616C7265
|
|
|
|
.4byte 0x61647920
|
|
|
|
.4byte 0x656E6372
|
|
|
|
.4byte 0x79707465
|
|
|
|
.4byte 0x64000000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A204254
|
|
|
|
.4byte 0x4D5F5365
|
|
|
|
.4byte 0x74456E63
|
|
|
|
.4byte 0x72797074
|
|
|
|
.4byte 0x696F6E20
|
|
|
|
.4byte 0x62757379
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A204254
|
|
|
|
.4byte 0x4D5F5365
|
|
|
|
.4byte 0x74456E63
|
|
|
|
.4byte 0x72797074
|
|
|
|
.4byte 0x696F6E20
|
|
|
|
.4byte 0x48616E64
|
|
|
|
.4byte 0x6C653A25
|
|
|
|
.4byte 0x64205374
|
|
|
|
.4byte 0x6174653A
|
|
|
|
.4byte 0x25642046
|
|
|
|
.4byte 0x6C616773
|
|
|
|
.4byte 0x3A307825
|
|
|
|
.4byte 0x78205265
|
|
|
|
.4byte 0x71756972
|
|
|
|
.4byte 0x65643A30
|
|
|
|
.4byte 0x78257800
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206C32
|
|
|
|
.4byte 0x6361705F
|
|
|
|
.4byte 0x61636365
|
|
|
|
.4byte 0x73735F72
|
|
|
|
.4byte 0x65712050
|
|
|
|
.4byte 0x534D3A25
|
|
|
|
.4byte 0x64206E6F
|
|
|
|
.4byte 0x20726573
|
|
|
|
.4byte 0x6F757263
|
|
|
|
.4byte 0x65730000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206C32
|
|
|
|
.4byte 0x6361705F
|
|
|
|
.4byte 0x61636365
|
|
|
|
.4byte 0x73735F72
|
|
|
|
.4byte 0x65712050
|
|
|
|
.4byte 0x534D3A25
|
|
|
|
.4byte 0x64206E6F
|
|
|
|
.4byte 0x20617070
|
|
|
|
.4byte 0x6C696361
|
|
|
|
.4byte 0x74696F6E
|
|
|
|
.4byte 0x20726567
|
|
|
|
.4byte 0x69737465
|
|
|
|
.4byte 0x72640000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206C32
|
|
|
|
.4byte 0x6361705F
|
|
|
|
.4byte 0x61636365
|
|
|
|
.4byte 0x73735F72
|
|
|
|
.4byte 0x65712050
|
|
|
|
.4byte 0x534D3A25
|
|
|
|
.4byte 0x6420706F
|
|
|
|
.4byte 0x7374706F
|
|
|
|
.4byte 0x6E656420
|
|
|
|
.4byte 0x666F7220
|
|
|
|
.4byte 0x6D756C74
|
|
|
|
.4byte 0x69706C65
|
|
|
|
.4byte 0x78657200
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206C32
|
|
|
|
.4byte 0x6361705F
|
|
|
|
.4byte 0x61636365
|
|
|
|
.4byte 0x73735F72
|
|
|
|
.4byte 0x65712050
|
|
|
|
.4byte 0x534D3A25
|
|
|
|
.4byte 0x64204861
|
|
|
|
.4byte 0x6E646C65
|
|
|
|
.4byte 0x3A256420
|
|
|
|
.4byte 0x53746174
|
|
|
|
.4byte 0x653A2564
|
|
|
|
.4byte 0x20466C61
|
|
|
|
.4byte 0x67733A30
|
|
|
|
.4byte 0x78257820
|
|
|
|
.4byte 0x52657175
|
|
|
|
.4byte 0x69726564
|
|
|
|
.4byte 0x3A307825
|
|
|
|
.4byte 0x78000000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A207472
|
|
|
|
.4byte 0x75737465
|
|
|
|
.4byte 0x643A3078
|
|
|
|
.4byte 0x25303478
|
|
|
|
.4byte 0x25303478
|
|
|
|
.4byte 0x20466C61
|
|
|
|
.4byte 0x67733A30
|
|
|
|
.4byte 0x78257800
|
|
|
|
|
|
|
|
.global "@3105_8043C7D8"
|
|
|
|
"@3105_8043C7D8":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A204D58
|
|
|
|
.4byte 0x20736572
|
|
|
|
.4byte 0x76696365
|
|
|
|
.4byte 0x206E6F74
|
|
|
|
.4byte 0x20666F75
|
|
|
|
.4byte 0x6E642050
|
|
|
|
.4byte 0x534D3A25
|
|
|
|
.4byte 0x64205072
|
|
|
|
.4byte 0x6F746F3A
|
|
|
|
.4byte 0x25642053
|
|
|
|
.4byte 0x434E3A25
|
|
|
|
.4byte 0x64000000
|
|
|
|
|
|
|
|
.global "@3125"
|
|
|
|
"@3125":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A20636F
|
|
|
|
.4byte 0x6E6E6563
|
|
|
|
.4byte 0x74207265
|
|
|
|
.4byte 0x71756573
|
|
|
|
.4byte 0x74206672
|
|
|
|
.4byte 0x6F6D206E
|
|
|
|
.4byte 0x6F742070
|
|
|
|
.4byte 0x61697265
|
|
|
|
.4byte 0x64206465
|
|
|
|
.4byte 0x76696365
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global "@3195_8043C854"
|
|
|
|
"@3195_8043C854":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A20726D
|
|
|
|
.4byte 0x745F6E61
|
|
|
|
.4byte 0x6D655F63
|
|
|
|
.4byte 0x6F6D706C
|
|
|
|
.4byte 0x65746520
|
|
|
|
.4byte 0x73746174
|
|
|
|
.4byte 0x75733A25
|
|
|
|
.4byte 0x64205374
|
|
|
|
.4byte 0x6174653A
|
|
|
|
.4byte 0x25640000
|
|
|
|
|
|
|
|
.global "@3238"
|
|
|
|
"@3238":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206175
|
|
|
|
.4byte 0x74685F63
|
|
|
|
.4byte 0x6F6D706C
|
|
|
|
.4byte 0x65746520
|
|
|
|
.4byte 0x73746174
|
|
|
|
.4byte 0x75733A25
|
|
|
|
.4byte 0x64205374
|
|
|
|
.4byte 0x6174653A
|
|
|
|
.4byte 0x25640000
|
|
|
|
|
|
|
|
.global "@3250_8043C8C0"
|
|
|
|
"@3250_8043C8C0":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206D6B
|
|
|
|
.4byte 0x65792063
|
|
|
|
.4byte 0x6F6D7020
|
|
|
|
.4byte 0x73746174
|
|
|
|
.4byte 0x75733A25
|
|
|
|
.4byte 0x64205374
|
|
|
|
.4byte 0x6174653A
|
|
|
|
.4byte 0x25640000
|
|
|
|
|
|
|
|
.global "@3268"
|
|
|
|
"@3268":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A20656E
|
|
|
|
.4byte 0x63727970
|
|
|
|
.4byte 0x745F6368
|
|
|
|
.4byte 0x616E6765
|
|
|
|
.4byte 0x20737461
|
|
|
|
.4byte 0x7475733A
|
|
|
|
.4byte 0x25642053
|
|
|
|
.4byte 0x74617465
|
|
|
|
.4byte 0x3A256400
|
|
|
|
|
|
|
|
.global "@3318"
|
|
|
|
"@3318":
|
|
|
|
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206274
|
|
|
|
.4byte 0x6D5F7365
|
|
|
|
.4byte 0x635F636F
|
|
|
|
.4byte 0x6E6E6563
|
|
|
|
.4byte 0x74656420
|
|
|
|
.4byte 0x68616E64
|
|
|
|
.4byte 0x6C653A25
|
|
|
|
.4byte 0x64207374
|
|
|
|
.4byte 0x61747573
|
|
|
|
.4byte 0x3A256420
|
|
|
|
.4byte 0x656E635F
|
|
|
|
.4byte 0x6D6F6465
|
|
|
|
.4byte 0x3A256400
|
|
|
|
|
|
|
|
.global "@3358"
|
|
|
|
"@3358":
|
|
|
|
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x6C696E6B
|
|
|
|
.4byte 0x5F6B6579
|
|
|
|
.4byte 0x5F6E6F74
|
|
|
|
.4byte 0x69666963
|
|
|
|
.4byte 0x6174696F
|
|
|
|
.4byte 0x6E282920
|
|
|
|
.4byte 0x20424441
|
|
|
|
.4byte 0x3A202530
|
|
|
|
.4byte 0x32783A25
|
|
|
|
.4byte 0x3032783A
|
|
|
|
.4byte 0x25303278
|
|
|
|
.4byte 0x3A253032
|
|
|
|
.4byte 0x783A2530
|
|
|
|
.4byte 0x32783A25
|
|
|
|
.4byte 0x30327800
|
|
|
|
|
|
|
|
.global "@3359"
|
|
|
|
"@3359":
|
|
|
|
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x20202020
|
|
|
|
.4byte 0x54595045
|
|
|
|
.4byte 0x3A202564
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global "@3373"
|
|
|
|
"@3373":
|
|
|
|
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x6C696E6B
|
|
|
|
.4byte 0x5F6B6579
|
|
|
|
.4byte 0x5F726571
|
|
|
|
.4byte 0x75657374
|
|
|
|
.4byte 0x28292020
|
|
|
|
.4byte 0x4244413A
|
|
|
|
.4byte 0x20253032
|
|
|
|
.4byte 0x783A2530
|
|
|
|
.4byte 0x32783A25
|
|
|
|
.4byte 0x3032783A
|
|
|
|
.4byte 0x25303278
|
|
|
|
.4byte 0x3A253032
|
|
|
|
.4byte 0x783A2530
|
|
|
|
.4byte 0x32780000
|
|
|
|
|
|
|
|
.global "@3377_8043CA18"
|
|
|
|
"@3377_8043CA18":
|
|
|
|
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x70696E5F
|
|
|
|
.4byte 0x636F6465
|
|
|
|
.4byte 0x5F726571
|
|
|
|
.4byte 0x75657374
|
|
|
|
.4byte 0x5F74696D
|
|
|
|
.4byte 0x656F7574
|
|
|
|
.4byte 0x28290000
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x70696E5F
|
|
|
|
.4byte 0x636F6465
|
|
|
|
.4byte 0x5F726571
|
|
|
|
.4byte 0x75657374
|
|
|
|
.4byte 0x28292020
|
|
|
|
.4byte 0x4244413A
|
|
|
|
.4byte 0x20253032
|
|
|
|
.4byte 0x783A2530
|
|
|
|
.4byte 0x32783A25
|
|
|
|
.4byte 0x3032783A
|
|
|
|
.4byte 0x25303278
|
|
|
|
.4byte 0x3A253032
|
|
|
|
.4byte 0x783A2530
|
|
|
|
.4byte 0x32780000
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x70696E5F
|
|
|
|
.4byte 0x636F6465
|
|
|
|
.4byte 0x5F726571
|
|
|
|
.4byte 0x75657374
|
|
|
|
.4byte 0x20626F6E
|
|
|
|
.4byte 0x64696E67
|
|
|
|
.4byte 0x2073656E
|
|
|
|
.4byte 0x64696E67
|
|
|
|
.4byte 0x20726570
|
|
|
|
.4byte 0x6C790000
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x70696E5F
|
|
|
|
.4byte 0x636F6465
|
|
|
|
.4byte 0x5F726571
|
|
|
|
.4byte 0x75657374
|
|
|
|
.4byte 0x3A204175
|
|
|
|
.4byte 0x7468656E
|
|
|
|
.4byte 0x20456E61
|
|
|
|
.4byte 0x626C6520
|
|
|
|
.4byte 0x2D3E2025
|
|
|
|
.4byte 0x64000000
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x70696E5F
|
|
|
|
.4byte 0x636F6465
|
|
|
|
.4byte 0x5F726571
|
|
|
|
.4byte 0x75657374
|
|
|
|
.4byte 0x28293A20
|
|
|
|
.4byte 0x50616972
|
|
|
|
.4byte 0x696E6720
|
|
|
|
.4byte 0x64697361
|
|
|
|
.4byte 0x626C6564
|
|
|
|
.4byte 0x3A25643B
|
|
|
|
.4byte 0x2050494E
|
|
|
|
.4byte 0x2063616C
|
|
|
|
.4byte 0x6C626163
|
|
|
|
.4byte 0x6B3A2578
|
|
|
|
.4byte 0x2C204465
|
|
|
|
.4byte 0x76205265
|
|
|
|
.4byte 0x633A2578
|
|
|
|
.4byte 0x21000000
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x65786563
|
|
|
|
.4byte 0x7574655F
|
|
|
|
.4byte 0x70726F63
|
|
|
|
.4byte 0x65647572
|
|
|
|
.4byte 0x653A2052
|
|
|
|
.4byte 0x65717569
|
|
|
|
.4byte 0x7265643A
|
|
|
|
.4byte 0x30782578
|
|
|
|
.4byte 0x20466C61
|
|
|
|
.4byte 0x67733A30
|
|
|
|
.4byte 0x78257820
|
|
|
|
.4byte 0x53746174
|
|
|
|
.4byte 0x653A2564
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x4C324341
|
|
|
|
.4byte 0x50202D20
|
|
|
|
.4byte 0x6E6F204C
|
|
|
|
.4byte 0x43422066
|
|
|
|
.4byte 0x6F72204C
|
|
|
|
.4byte 0x3243415F
|
|
|
|
.4byte 0x636F6E6E
|
|
|
|
.4byte 0x5F726571
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A205374
|
|
|
|
.4byte 0x61727420
|
|
|
|
.4byte 0x67657420
|
|
|
|
.4byte 0x6E616D65
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A205374
|
|
|
|
.4byte 0x61727420
|
|
|
|
.4byte 0x61757468
|
|
|
|
.4byte 0x656E7469
|
|
|
|
.4byte 0x63617469
|
|
|
|
.4byte 0x6F6E0000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A205374
|
|
|
|
.4byte 0x61727420
|
|
|
|
.4byte 0x656E6372
|
|
|
|
.4byte 0x79707469
|
|
|
|
.4byte 0x6F6E0000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A205374
|
|
|
|
.4byte 0x61727420
|
|
|
|
.4byte 0x61757468
|
|
|
|
.4byte 0x6F72697A
|
|
|
|
.4byte 0x6174696F
|
|
|
|
.4byte 0x6E000000
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A207472
|
|
|
|
.4byte 0x75737465
|
|
|
|
.4byte 0x643A3078
|
|
|
|
.4byte 0x25303478
|
|
|
|
.4byte 0x25303478
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0x53656375
|
|
|
|
.4byte 0x72697479
|
|
|
|
.4byte 0x204D616E
|
|
|
|
.4byte 0x61676572
|
|
|
|
.4byte 0x3A206163
|
|
|
|
.4byte 0x63657373
|
|
|
|
.4byte 0x20677261
|
|
|
|
.4byte 0x6E746564
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global "@3519_8043CC74"
|
|
|
|
"@3519_8043CC74":
|
|
|
|
|
|
|
|
.4byte 0x62746D5F
|
|
|
|
.4byte 0x7365635F
|
|
|
|
.4byte 0x636F6C6C
|
|
|
|
.4byte 0x6973696F
|
|
|
|
.4byte 0x6E5F7469
|
|
|
|
.4byte 0x6D656F75
|
|
|
|
.4byte 0x74282900
|
|
|
|
.include "macros.inc"
|
|
|
|
|
|
|
|
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
|
|
|
|
.global "@1779_8055E950"
|
|
|
|
"@1779_8055E950":
|
|
|
|
|
|
|
|
.byte 0xFF
|
|
|
|
|
|
|
|
.global lbl_8055E951
|
|
|
|
lbl_8055E951:
|
|
|
|
|
|
|
|
.byte 0xFF
|
|
|
|
|
|
|
|
.global lbl_8055E952
|
|
|
|
lbl_8055E952:
|
|
|
|
|
|
|
|
.byte 0xFF
|
|
|
|
|
|
|
|
.global lbl_8055E953
|
|
|
|
lbl_8055E953:
|
|
|
|
|
|
|
|
.byte 0xFF
|
|
|
|
|
|
|
|
.global lbl_8055E954
|
|
|
|
lbl_8055E954:
|
|
|
|
|
|
|
|
.byte 0xFF
|
|
|
|
|
|
|
|
.global lbl_8055E955
|
|
|
|
lbl_8055E955:
|
|
|
|
|
|
|
|
.byte 0xFF, 0x00, 0x00
|