2122 lines
96 KiB
ArmAsm
2122 lines
96 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global BTM_SetDiscoverability
|
|
BTM_SetDiscoverability:
|
|
/* 80081CAC 0007DAEC 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80081CB0 0007DAF0 7C 08 02 A6 */ mflr r0
|
|
/* 80081CB4 0007DAF4 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80081CB8 0007DAF8 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80081CBC 0007DAFC 4B F8 56 81 */ bl lbl_8000733C
|
|
/* 80081CC0 0007DB00 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80081CC4 0007DB04 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80081CC8 0007DB08 7C 9B 23 78 */ mr r27, r4
|
|
/* 80081CCC 0007DB0C 7C BC 2B 78 */ mr r28, r5
|
|
/* 80081CD0 0007DB10 3B C0 00 00 */ li r30, 0x0
|
|
/* 80081CD4 0007DB14 41 82 00 1C */ beq lbl_80081CF0
|
|
/* 80081CD8 0007DB18 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 80081CDC 0007DB1C 41 82 00 14 */ beq lbl_80081CF0
|
|
/* 80081CE0 0007DB20 28 03 00 02 */ cmplwi r3, 0x2
|
|
/* 80081CE4 0007DB24 41 82 00 0C */ beq lbl_80081CF0
|
|
/* 80081CE8 0007DB28 38 60 00 05 */ li r3, 0x5
|
|
/* 80081CEC 0007DB2C 48 00 02 2C */ b lbl_80081F18
|
|
.global lbl_80081CF0
|
|
lbl_80081CF0:
|
|
/* 80081CF0 0007DB30 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 80081CF4 0007DB34 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 80081CF8 0007DB38 88 03 06 4E */ lbz r0, 0x64e(r3)
|
|
/* 80081CFC 0007DB3C 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 80081D00 0007DB40 40 80 00 0C */ bge lbl_80081D0C
|
|
/* 80081D04 0007DB44 38 60 00 0C */ li r3, 0xc
|
|
/* 80081D08 0007DB48 48 00 02 10 */ b lbl_80081F18
|
|
.global lbl_80081D0C
|
|
lbl_80081D0C:
|
|
/* 80081D0C 0007DB4C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 80081D10 0007DB50 40 82 00 08 */ bne lbl_80081D18
|
|
/* 80081D14 0007DB54 3B 60 00 12 */ li r27, 0x12
|
|
.global lbl_80081D18
|
|
lbl_80081D18:
|
|
/* 80081D18 0007DB58 2C 05 00 00 */ cmpwi r5, 0x0
|
|
/* 80081D1C 0007DB5C 40 82 00 08 */ bne lbl_80081D24
|
|
/* 80081D20 0007DB60 3B 80 08 00 */ li r28, 0x800
|
|
.global lbl_80081D24
|
|
lbl_80081D24:
|
|
/* 80081D24 0007DB64 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 80081D28 0007DB68 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 80081D2C 0007DB6C 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
/* 80081D30 0007DB70 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 80081D34 0007DB74 41 80 00 24 */ blt lbl_80081D58
|
|
/* 80081D38 0007DB78 3C 60 00 0D */ lis r3, 0xd
|
|
/* 80081D3C 0007DB7C 3C 80 80 44 */ lis r4, "@2304"@ha
|
|
/* 80081D40 0007DB80 7F E5 FB 78 */ mr r5, r31
|
|
/* 80081D44 0007DB84 7F 66 DB 78 */ mr r6, r27
|
|
/* 80081D48 0007DB88 7F 87 E3 78 */ mr r7, r28
|
|
/* 80081D4C 0007DB8C 38 63 00 02 */ addi r3, r3, 0x2
|
|
/* 80081D50 0007DB90 38 84 BD 30 */ addi r4, r4, "@2304"@l
|
|
/* 80081D54 0007DB94 4B FF 5C 0D */ bl LogMsg_0
|
|
.global lbl_80081D58
|
|
lbl_80081D58:
|
|
/* 80081D58 0007DB98 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80081D5C 0007DB9C 41 82 00 34 */ beq lbl_80081D90
|
|
/* 80081D60 0007DBA0 28 1B 00 12 */ cmplwi r27, 0x12
|
|
/* 80081D64 0007DBA4 41 80 00 24 */ blt lbl_80081D88
|
|
/* 80081D68 0007DBA8 28 1B 10 00 */ cmplwi r27, 0x1000
|
|
/* 80081D6C 0007DBAC 41 81 00 1C */ bgt lbl_80081D88
|
|
/* 80081D70 0007DBB0 28 1C 00 12 */ cmplwi r28, 0x12
|
|
/* 80081D74 0007DBB4 41 80 00 14 */ blt lbl_80081D88
|
|
/* 80081D78 0007DBB8 28 1C 10 00 */ cmplwi r28, 0x1000
|
|
/* 80081D7C 0007DBBC 41 81 00 0C */ bgt lbl_80081D88
|
|
/* 80081D80 0007DBC0 7C 1B E0 40 */ cmplw r27, r28
|
|
/* 80081D84 0007DBC4 40 81 00 0C */ ble lbl_80081D90
|
|
.global lbl_80081D88
|
|
lbl_80081D88:
|
|
/* 80081D88 0007DBC8 38 60 00 05 */ li r3, 0x5
|
|
/* 80081D8C 0007DBCC 48 00 01 8C */ b lbl_80081F18
|
|
.global lbl_80081D90
|
|
lbl_80081D90:
|
|
/* 80081D90 0007DBD0 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80081D94 0007DBD4 41 82 00 70 */ beq lbl_80081E04
|
|
/* 80081D98 0007DBD8 38 60 00 02 */ li r3, 0x2
|
|
/* 80081D9C 0007DBDC 4B FF 30 85 */ bl GKI_getpoolbuf
|
|
/* 80081DA0 0007DBE0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80081DA4 0007DBE4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80081DA8 0007DBE8 41 82 00 54 */ beq lbl_80081DFC
|
|
/* 80081DAC 0007DBEC 57 E0 07 FF */ clrlwi. r0, r31, 31
|
|
/* 80081DB0 0007DBF0 41 82 00 38 */ beq lbl_80081DE8
|
|
/* 80081DB4 0007DBF4 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 80081DB8 0007DBF8 38 82 89 C4 */ addi r4, r2, limited_inq_lap@sda21
|
|
/* 80081DBC 0007DBFC 38 A0 00 03 */ li r5, 0x3
|
|
/* 80081DC0 0007DC00 4B F8 22 41 */ bl memcpy
|
|
/* 80081DC4 0007DC04 38 61 00 0F */ addi r3, r1, 0xf
|
|
/* 80081DC8 0007DC08 38 82 89 C0 */ addi r4, r2, general_inq_lap@sda21
|
|
/* 80081DCC 0007DC0C 38 A0 00 03 */ li r5, 0x3
|
|
/* 80081DD0 0007DC10 4B F8 22 31 */ bl memcpy
|
|
/* 80081DD4 0007DC14 7F A3 EB 78 */ mr r3, r29
|
|
/* 80081DD8 0007DC18 38 A1 00 0C */ addi r5, r1, 0xc
|
|
/* 80081DDC 0007DC1C 38 80 00 02 */ li r4, 0x2
|
|
/* 80081DE0 0007DC20 48 00 A8 89 */ bl btsnd_hcic_write_cur_iac_lap
|
|
/* 80081DE4 0007DC24 48 00 00 10 */ b lbl_80081DF4
|
|
.global lbl_80081DE8
|
|
lbl_80081DE8:
|
|
/* 80081DE8 0007DC28 38 80 00 01 */ li r4, 0x1
|
|
/* 80081DEC 0007DC2C 38 A2 89 C0 */ addi r5, r2, general_inq_lap@sda21
|
|
/* 80081DF0 0007DC30 48 00 A8 79 */ bl btsnd_hcic_write_cur_iac_lap
|
|
.global lbl_80081DF4
|
|
lbl_80081DF4:
|
|
/* 80081DF4 0007DC34 63 DE 00 01 */ ori r30, r30, 0x1
|
|
/* 80081DF8 0007DC38 48 00 00 0C */ b lbl_80081E04
|
|
.global lbl_80081DFC
|
|
lbl_80081DFC:
|
|
/* 80081DFC 0007DC3C 38 60 00 03 */ li r3, 0x3
|
|
/* 80081E00 0007DC40 48 00 01 18 */ b lbl_80081F18
|
|
.global lbl_80081E04
|
|
lbl_80081E04:
|
|
/* 80081E04 0007DC44 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 80081E08 0007DC48 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 80081E0C 0007DC4C A0 03 16 A0 */ lhz r0, 0x16a0(r3)
|
|
/* 80081E10 0007DC50 7C 1B 00 40 */ cmplw r27, r0
|
|
/* 80081E14 0007DC54 40 82 00 10 */ bne lbl_80081E24
|
|
/* 80081E18 0007DC58 A0 03 16 A2 */ lhz r0, 0x16a2(r3)
|
|
/* 80081E1C 0007DC5C 7C 1C 00 40 */ cmplw r28, r0
|
|
/* 80081E20 0007DC60 41 82 00 3C */ beq lbl_80081E5C
|
|
.global lbl_80081E24
|
|
lbl_80081E24:
|
|
/* 80081E24 0007DC64 38 60 00 02 */ li r3, 0x2
|
|
/* 80081E28 0007DC68 4B FF 2F F9 */ bl GKI_getpoolbuf
|
|
/* 80081E2C 0007DC6C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80081E30 0007DC70 41 82 00 24 */ beq lbl_80081E54
|
|
/* 80081E34 0007DC74 3C C0 80 4F */ lis r6, btm_cb@ha
|
|
/* 80081E38 0007DC78 7F 84 E3 78 */ mr r4, r28
|
|
/* 80081E3C 0007DC7C 38 C6 5F 58 */ addi r6, r6, btm_cb@l
|
|
/* 80081E40 0007DC80 7F 65 DB 78 */ mr r5, r27
|
|
/* 80081E44 0007DC84 B3 66 16 A0 */ sth r27, 0x16a0(r6)
|
|
/* 80081E48 0007DC88 B3 86 16 A2 */ sth r28, 0x16a2(r6)
|
|
/* 80081E4C 0007DC8C 48 00 A5 19 */ bl btsnd_hcic_write_inqscan_cfg
|
|
/* 80081E50 0007DC90 48 00 00 0C */ b lbl_80081E5C
|
|
.global lbl_80081E54
|
|
lbl_80081E54:
|
|
/* 80081E54 0007DC94 38 60 00 03 */ li r3, 0x3
|
|
/* 80081E58 0007DC98 48 00 00 C0 */ b lbl_80081F18
|
|
.global lbl_80081E5C
|
|
lbl_80081E5C:
|
|
/* 80081E5C 0007DC9C 38 60 00 02 */ li r3, 0x2
|
|
/* 80081E60 0007DCA0 4B FF 2F C1 */ bl GKI_getpoolbuf
|
|
/* 80081E64 0007DCA4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80081E68 0007DCA8 41 82 00 38 */ beq lbl_80081EA0
|
|
/* 80081E6C 0007DCAC 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
/* 80081E70 0007DCB0 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
|
/* 80081E74 0007DCB4 A0 04 16 9A */ lhz r0, 0x169a(r4)
|
|
/* 80081E78 0007DCB8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80081E7C 0007DCBC 41 82 00 0C */ beq lbl_80081E88
|
|
/* 80081E80 0007DCC0 63 C0 00 02 */ ori r0, r30, 0x2
|
|
/* 80081E84 0007DCC4 54 1E 06 3E */ clrlwi r30, r0, 24
|
|
.global lbl_80081E88
|
|
lbl_80081E88:
|
|
/* 80081E88 0007DCC8 3C A0 80 4F */ lis r5, btm_cb@ha
|
|
/* 80081E8C 0007DCCC 57 C4 06 3E */ clrlwi r4, r30, 24
|
|
/* 80081E90 0007DCD0 38 A5 5F 58 */ addi r5, r5, btm_cb@l
|
|
/* 80081E94 0007DCD4 B3 E5 16 98 */ sth r31, 0x1698(r5)
|
|
/* 80081E98 0007DCD8 48 00 A4 59 */ bl btsnd_hcic_write_scan_enable
|
|
/* 80081E9C 0007DCDC 48 00 00 0C */ b lbl_80081EA8
|
|
.global lbl_80081EA0
|
|
lbl_80081EA0:
|
|
/* 80081EA0 0007DCE0 38 60 00 03 */ li r3, 0x3
|
|
/* 80081EA4 0007DCE4 48 00 00 74 */ b lbl_80081F18
|
|
.global lbl_80081EA8
|
|
lbl_80081EA8:
|
|
/* 80081EA8 0007DCE8 4B FF F4 61 */ bl BTM_ReadDeviceClass
|
|
/* 80081EAC 0007DCEC 88 83 00 00 */ lbz r4, 0x0(r3)
|
|
/* 80081EB0 0007DCF0 57 E6 07 FE */ clrlwi r6, r31, 31
|
|
/* 80081EB4 0007DCF4 88 A3 00 01 */ lbz r5, 0x1(r3)
|
|
/* 80081EB8 0007DCF8 54 84 44 2E */ rlwinm r4, r4, 8, 16, 23
|
|
/* 80081EBC 0007DCFC 54 A0 06 34 */ rlwinm r0, r5, 0, 24, 26
|
|
/* 80081EC0 0007DD00 7C 84 02 14 */ add r4, r4, r0
|
|
/* 80081EC4 0007DD04 54 80 DF FE */ extrwi r0, r4, 1, 26
|
|
/* 80081EC8 0007DD08 7C C0 02 79 */ xor. r0, r6, r0
|
|
/* 80081ECC 0007DD0C 54 84 04 3E */ clrlwi r4, r4, 16
|
|
/* 80081ED0 0007DD10 41 82 00 44 */ beq lbl_80081F14
|
|
/* 80081ED4 0007DD14 88 63 00 02 */ lbz r3, 0x2(r3)
|
|
/* 80081ED8 0007DD18 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 80081EDC 0007DD1C 54 80 06 F2 */ rlwinm r0, r4, 0, 27, 25
|
|
/* 80081EE0 0007DD20 54 A5 06 FE */ clrlwi r5, r5, 27
|
|
/* 80081EE4 0007DD24 54 66 06 3A */ rlwinm r6, r3, 0, 24, 29
|
|
/* 80081EE8 0007DD28 54 00 04 3E */ clrlwi r0, r0, 16
|
|
/* 80081EEC 0007DD2C 41 82 00 08 */ beq lbl_80081EF4
|
|
/* 80081EF0 0007DD30 60 80 00 20 */ ori r0, r4, 0x20
|
|
.global lbl_80081EF4
|
|
lbl_80081EF4:
|
|
/* 80081EF4 0007DD34 54 03 06 34 */ rlwinm r3, r0, 0, 24, 26
|
|
/* 80081EF8 0007DD38 54 00 C6 3E */ extrwi r0, r0, 8, 16
|
|
/* 80081EFC 0007DD3C 7C 85 1A 14 */ add r4, r5, r3
|
|
/* 80081F00 0007DD40 98 C1 00 0A */ stb r6, 0xa(r1)
|
|
/* 80081F04 0007DD44 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80081F08 0007DD48 98 81 00 09 */ stb r4, 0x9(r1)
|
|
/* 80081F0C 0007DD4C 98 01 00 08 */ stb r0, 0x8(r1)
|
|
/* 80081F10 0007DD50 4B FF F3 79 */ bl BTM_SetDeviceClass
|
|
.global lbl_80081F14
|
|
lbl_80081F14:
|
|
/* 80081F14 0007DD54 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80081F18
|
|
lbl_80081F18:
|
|
/* 80081F18 0007DD58 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80081F1C 0007DD5C 4B F8 54 6D */ bl lbl_80007388
|
|
/* 80081F20 0007DD60 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80081F24 0007DD64 7C 08 03 A6 */ mtlr r0
|
|
/* 80081F28 0007DD68 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80081F2C 0007DD6C 4E 80 00 20 */ blr
|
|
.global BTM_SetInquiryScanType
|
|
BTM_SetInquiryScanType:
|
|
/* 80081F30 0007DD70 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80081F34 0007DD74 7C 08 02 A6 */ mflr r0
|
|
/* 80081F38 0007DD78 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80081F3C 0007DD7C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80081F40 0007DD80 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80081F44 0007DD84 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80081F48 0007DD88 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80081F4C 0007DD8C 41 82 00 14 */ beq lbl_80081F60
|
|
/* 80081F50 0007DD90 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 80081F54 0007DD94 41 82 00 0C */ beq lbl_80081F60
|
|
/* 80081F58 0007DD98 38 60 00 05 */ li r3, 0x5
|
|
/* 80081F5C 0007DD9C 48 00 00 6C */ b lbl_80081FC8
|
|
.global lbl_80081F60
|
|
lbl_80081F60:
|
|
/* 80081F60 0007DDA0 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80081F64 0007DDA4 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80081F68 0007DDA8 88 1F 06 43 */ lbz r0, 0x643(r31)
|
|
/* 80081F6C 0007DDAC 54 00 06 F7 */ rlwinm. r0, r0, 0, 27, 27
|
|
/* 80081F70 0007DDB0 40 82 00 0C */ bne lbl_80081F7C
|
|
/* 80081F74 0007DDB4 38 60 00 04 */ li r3, 0x4
|
|
/* 80081F78 0007DDB8 48 00 00 50 */ b lbl_80081FC8
|
|
.global lbl_80081F7C
|
|
lbl_80081F7C:
|
|
/* 80081F7C 0007DDBC A0 1F 16 A4 */ lhz r0, 0x16a4(r31)
|
|
/* 80081F80 0007DDC0 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80081F84 0007DDC4 41 82 00 40 */ beq lbl_80081FC4
|
|
/* 80081F88 0007DDC8 4B FF E5 01 */ bl BTM_IsDeviceUp
|
|
/* 80081F8C 0007DDCC 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 80081F90 0007DDD0 41 82 00 2C */ beq lbl_80081FBC
|
|
/* 80081F94 0007DDD4 38 60 00 02 */ li r3, 0x2
|
|
/* 80081F98 0007DDD8 4B FF 2E 89 */ bl GKI_getpoolbuf
|
|
/* 80081F9C 0007DDDC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80081FA0 0007DDE0 41 82 00 14 */ beq lbl_80081FB4
|
|
/* 80081FA4 0007DDE4 57 C4 06 3E */ clrlwi r4, r30, 24
|
|
/* 80081FA8 0007DDE8 48 00 AD 89 */ bl btsnd_hcic_write_inqscan_type
|
|
/* 80081FAC 0007DDEC B3 DF 16 A4 */ sth r30, 0x16a4(r31)
|
|
/* 80081FB0 0007DDF0 48 00 00 14 */ b lbl_80081FC4
|
|
.global lbl_80081FB4
|
|
lbl_80081FB4:
|
|
/* 80081FB4 0007DDF4 38 60 00 03 */ li r3, 0x3
|
|
/* 80081FB8 0007DDF8 48 00 00 10 */ b lbl_80081FC8
|
|
.global lbl_80081FBC
|
|
lbl_80081FBC:
|
|
/* 80081FBC 0007DDFC 38 60 00 06 */ li r3, 0x6
|
|
/* 80081FC0 0007DE00 48 00 00 08 */ b lbl_80081FC8
|
|
.global lbl_80081FC4
|
|
lbl_80081FC4:
|
|
/* 80081FC4 0007DE04 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80081FC8
|
|
lbl_80081FC8:
|
|
/* 80081FC8 0007DE08 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80081FCC 0007DE0C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80081FD0 0007DE10 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80081FD4 0007DE14 7C 08 03 A6 */ mtlr r0
|
|
/* 80081FD8 0007DE18 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80081FDC 0007DE1C 4E 80 00 20 */ blr
|
|
.global BTM_SetPageScanType
|
|
BTM_SetPageScanType:
|
|
/* 80081FE0 0007DE20 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80081FE4 0007DE24 7C 08 02 A6 */ mflr r0
|
|
/* 80081FE8 0007DE28 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80081FEC 0007DE2C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80081FF0 0007DE30 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80081FF4 0007DE34 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80081FF8 0007DE38 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80081FFC 0007DE3C 41 82 00 14 */ beq lbl_80082010
|
|
/* 80082000 0007DE40 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 80082004 0007DE44 41 82 00 0C */ beq lbl_80082010
|
|
/* 80082008 0007DE48 38 60 00 05 */ li r3, 0x5
|
|
/* 8008200C 0007DE4C 48 00 00 6C */ b lbl_80082078
|
|
.global lbl_80082010
|
|
lbl_80082010:
|
|
/* 80082010 0007DE50 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082014 0007DE54 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80082018 0007DE58 88 1F 06 43 */ lbz r0, 0x643(r31)
|
|
/* 8008201C 0007DE5C 54 00 06 B5 */ rlwinm. r0, r0, 0, 26, 26
|
|
/* 80082020 0007DE60 40 82 00 0C */ bne lbl_8008202C
|
|
/* 80082024 0007DE64 38 60 00 04 */ li r3, 0x4
|
|
/* 80082028 0007DE68 48 00 00 50 */ b lbl_80082078
|
|
.global lbl_8008202C
|
|
lbl_8008202C:
|
|
/* 8008202C 0007DE6C A0 1F 16 A6 */ lhz r0, 0x16a6(r31)
|
|
/* 80082030 0007DE70 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80082034 0007DE74 41 82 00 40 */ beq lbl_80082074
|
|
/* 80082038 0007DE78 4B FF E4 51 */ bl BTM_IsDeviceUp
|
|
/* 8008203C 0007DE7C 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 80082040 0007DE80 41 82 00 2C */ beq lbl_8008206C
|
|
/* 80082044 0007DE84 38 60 00 02 */ li r3, 0x2
|
|
/* 80082048 0007DE88 4B FF 2D D9 */ bl GKI_getpoolbuf
|
|
/* 8008204C 0007DE8C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082050 0007DE90 41 82 00 14 */ beq lbl_80082064
|
|
/* 80082054 0007DE94 57 C4 06 3E */ clrlwi r4, r30, 24
|
|
/* 80082058 0007DE98 48 00 AD 39 */ bl btsnd_hcic_write_pagescan_type
|
|
/* 8008205C 0007DE9C B3 DF 16 A6 */ sth r30, 0x16a6(r31)
|
|
/* 80082060 0007DEA0 48 00 00 14 */ b lbl_80082074
|
|
.global lbl_80082064
|
|
lbl_80082064:
|
|
/* 80082064 0007DEA4 38 60 00 03 */ li r3, 0x3
|
|
/* 80082068 0007DEA8 48 00 00 10 */ b lbl_80082078
|
|
.global lbl_8008206C
|
|
lbl_8008206C:
|
|
/* 8008206C 0007DEAC 38 60 00 06 */ li r3, 0x6
|
|
/* 80082070 0007DEB0 48 00 00 08 */ b lbl_80082078
|
|
.global lbl_80082074
|
|
lbl_80082074:
|
|
/* 80082074 0007DEB4 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80082078
|
|
lbl_80082078:
|
|
/* 80082078 0007DEB8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8008207C 0007DEBC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80082080 0007DEC0 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80082084 0007DEC4 7C 08 03 A6 */ mtlr r0
|
|
/* 80082088 0007DEC8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8008208C 0007DECC 4E 80 00 20 */ blr
|
|
.global BTM_SetInquiryMode
|
|
BTM_SetInquiryMode:
|
|
/* 80082090 0007DED0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80082094 0007DED4 7C 08 02 A6 */ mflr r0
|
|
/* 80082098 0007DED8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8008209C 0007DEDC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800820A0 0007DEE0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800820A4 0007DEE4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800820A8 0007DEE8 41 82 00 14 */ beq lbl_800820BC
|
|
/* 800820AC 0007DEEC 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 800820B0 0007DEF0 41 82 00 0C */ beq lbl_800820BC
|
|
/* 800820B4 0007DEF4 38 60 00 05 */ li r3, 0x5
|
|
/* 800820B8 0007DEF8 48 00 00 5C */ b lbl_80082114
|
|
.global lbl_800820BC
|
|
lbl_800820BC:
|
|
/* 800820BC 0007DEFC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 800820C0 0007DF00 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 800820C4 0007DF04 88 03 06 43 */ lbz r0, 0x643(r3)
|
|
/* 800820C8 0007DF08 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
|
|
/* 800820CC 0007DF0C 40 82 00 0C */ bne lbl_800820D8
|
|
/* 800820D0 0007DF10 38 60 00 04 */ li r3, 0x4
|
|
/* 800820D4 0007DF14 48 00 00 40 */ b lbl_80082114
|
|
.global lbl_800820D8
|
|
lbl_800820D8:
|
|
/* 800820D8 0007DF18 4B FF E3 B1 */ bl BTM_IsDeviceUp
|
|
/* 800820DC 0007DF1C 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 800820E0 0007DF20 40 82 00 0C */ bne lbl_800820EC
|
|
/* 800820E4 0007DF24 38 60 00 06 */ li r3, 0x6
|
|
/* 800820E8 0007DF28 48 00 00 2C */ b lbl_80082114
|
|
.global lbl_800820EC
|
|
lbl_800820EC:
|
|
/* 800820EC 0007DF2C 38 60 00 02 */ li r3, 0x2
|
|
/* 800820F0 0007DF30 4B FF 2D 31 */ bl GKI_getpoolbuf
|
|
/* 800820F4 0007DF34 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800820F8 0007DF38 41 82 00 10 */ beq lbl_80082108
|
|
/* 800820FC 0007DF3C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80082100 0007DF40 48 00 AC 61 */ bl btsnd_hcic_write_inquiry_mode
|
|
/* 80082104 0007DF44 48 00 00 0C */ b lbl_80082110
|
|
.global lbl_80082108
|
|
lbl_80082108:
|
|
/* 80082108 0007DF48 38 60 00 03 */ li r3, 0x3
|
|
/* 8008210C 0007DF4C 48 00 00 08 */ b lbl_80082114
|
|
.global lbl_80082110
|
|
lbl_80082110:
|
|
/* 80082110 0007DF50 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80082114
|
|
lbl_80082114:
|
|
/* 80082114 0007DF54 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80082118 0007DF58 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8008211C 0007DF5C 7C 08 03 A6 */ mtlr r0
|
|
/* 80082120 0007DF60 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80082124 0007DF64 4E 80 00 20 */ blr
|
|
.global BTM_SetConnectability
|
|
BTM_SetConnectability:
|
|
/* 80082128 0007DF68 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8008212C 0007DF6C 7C 08 02 A6 */ mflr r0
|
|
/* 80082130 0007DF70 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80082134 0007DF74 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80082138 0007DF78 4B F8 52 05 */ bl lbl_8000733C
|
|
/* 8008213C 0007DF7C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082140 0007DF80 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082144 0007DF84 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80082148 0007DF88 7C 9C 23 78 */ mr r28, r4
|
|
/* 8008214C 0007DF8C 7C BD 2B 78 */ mr r29, r5
|
|
/* 80082150 0007DF90 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80082154 0007DF94 3B C0 00 00 */ li r30, 0x0
|
|
/* 80082158 0007DF98 41 82 00 14 */ beq lbl_8008216C
|
|
/* 8008215C 0007DF9C 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 80082160 0007DFA0 41 82 00 0C */ beq lbl_8008216C
|
|
/* 80082164 0007DFA4 38 60 00 05 */ li r3, 0x5
|
|
/* 80082168 0007DFA8 48 00 01 30 */ b lbl_80082298
|
|
.global lbl_8008216C
|
|
lbl_8008216C:
|
|
/* 8008216C 0007DFAC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 80082170 0007DFB0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 80082174 0007DFB4 88 03 06 4E */ lbz r0, 0x64e(r3)
|
|
/* 80082178 0007DFB8 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 8008217C 0007DFBC 40 80 00 0C */ bge lbl_80082188
|
|
/* 80082180 0007DFC0 38 60 00 0C */ li r3, 0xc
|
|
/* 80082184 0007DFC4 48 00 01 14 */ b lbl_80082298
|
|
.global lbl_80082188
|
|
lbl_80082188:
|
|
/* 80082188 0007DFC8 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8008218C 0007DFCC 40 82 00 08 */ bne lbl_80082194
|
|
/* 80082190 0007DFD0 3B 80 00 12 */ li r28, 0x12
|
|
.global lbl_80082194
|
|
lbl_80082194:
|
|
/* 80082194 0007DFD4 2C 05 00 00 */ cmpwi r5, 0x0
|
|
/* 80082198 0007DFD8 40 82 00 08 */ bne lbl_800821A0
|
|
/* 8008219C 0007DFDC 3B A0 08 00 */ li r29, 0x800
|
|
.global lbl_800821A0
|
|
lbl_800821A0:
|
|
/* 800821A0 0007DFE0 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 800821A4 0007DFE4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 800821A8 0007DFE8 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
/* 800821AC 0007DFEC 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 800821B0 0007DFF0 41 80 00 24 */ blt lbl_800821D4
|
|
/* 800821B4 0007DFF4 3C 60 00 0D */ lis r3, 0xd
|
|
/* 800821B8 0007DFF8 3C 80 80 44 */ lis r4, "@2377"@ha
|
|
/* 800821BC 0007DFFC 7F 65 DB 78 */ mr r5, r27
|
|
/* 800821C0 0007E000 7F 86 E3 78 */ mr r6, r28
|
|
/* 800821C4 0007E004 7F A7 EB 78 */ mr r7, r29
|
|
/* 800821C8 0007E008 38 63 00 02 */ addi r3, r3, 0x2
|
|
/* 800821CC 0007E00C 38 84 BD 8C */ addi r4, r4, "@2377"@l
|
|
/* 800821D0 0007E010 4B FF 57 91 */ bl LogMsg_0
|
|
.global lbl_800821D4
|
|
lbl_800821D4:
|
|
/* 800821D4 0007E014 28 1B 00 01 */ cmplwi r27, 0x1
|
|
/* 800821D8 0007E018 40 82 00 38 */ bne lbl_80082210
|
|
/* 800821DC 0007E01C 28 1C 00 12 */ cmplwi r28, 0x12
|
|
/* 800821E0 0007E020 41 80 00 24 */ blt lbl_80082204
|
|
/* 800821E4 0007E024 28 1C 10 00 */ cmplwi r28, 0x1000
|
|
/* 800821E8 0007E028 41 81 00 1C */ bgt lbl_80082204
|
|
/* 800821EC 0007E02C 28 1D 00 12 */ cmplwi r29, 0x12
|
|
/* 800821F0 0007E030 41 80 00 14 */ blt lbl_80082204
|
|
/* 800821F4 0007E034 28 1D 10 00 */ cmplwi r29, 0x1000
|
|
/* 800821F8 0007E038 41 81 00 0C */ bgt lbl_80082204
|
|
/* 800821FC 0007E03C 7C 1C E8 40 */ cmplw r28, r29
|
|
/* 80082200 0007E040 40 81 00 0C */ ble lbl_8008220C
|
|
.global lbl_80082204
|
|
lbl_80082204:
|
|
/* 80082204 0007E044 38 60 00 05 */ li r3, 0x5
|
|
/* 80082208 0007E048 48 00 00 90 */ b lbl_80082298
|
|
.global lbl_8008220C
|
|
lbl_8008220C:
|
|
/* 8008220C 0007E04C 63 DE 00 02 */ ori r30, r30, 0x2
|
|
.global lbl_80082210
|
|
lbl_80082210:
|
|
/* 80082210 0007E050 A0 1F 16 9C */ lhz r0, 0x169c(r31)
|
|
/* 80082214 0007E054 7C 1C 00 40 */ cmplw r28, r0
|
|
/* 80082218 0007E058 40 82 00 10 */ bne lbl_80082228
|
|
/* 8008221C 0007E05C A0 1F 16 9E */ lhz r0, 0x169e(r31)
|
|
/* 80082220 0007E060 7C 1D 00 40 */ cmplw r29, r0
|
|
/* 80082224 0007E064 41 82 00 34 */ beq lbl_80082258
|
|
.global lbl_80082228
|
|
lbl_80082228:
|
|
/* 80082228 0007E068 38 60 00 02 */ li r3, 0x2
|
|
/* 8008222C 0007E06C 4B FF 2B F5 */ bl GKI_getpoolbuf
|
|
/* 80082230 0007E070 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082234 0007E074 41 82 00 1C */ beq lbl_80082250
|
|
/* 80082238 0007E078 B3 9F 16 9C */ sth r28, 0x169c(r31)
|
|
/* 8008223C 0007E07C 7F A4 EB 78 */ mr r4, r29
|
|
/* 80082240 0007E080 7F 85 E3 78 */ mr r5, r28
|
|
/* 80082244 0007E084 B3 BF 16 9E */ sth r29, 0x169e(r31)
|
|
/* 80082248 0007E088 48 00 A0 D9 */ bl btsnd_hcic_write_pagescan_cfg
|
|
/* 8008224C 0007E08C 48 00 00 0C */ b lbl_80082258
|
|
.global lbl_80082250
|
|
lbl_80082250:
|
|
/* 80082250 0007E090 38 60 00 03 */ li r3, 0x3
|
|
/* 80082254 0007E094 48 00 00 44 */ b lbl_80082298
|
|
.global lbl_80082258
|
|
lbl_80082258:
|
|
/* 80082258 0007E098 38 60 00 02 */ li r3, 0x2
|
|
/* 8008225C 0007E09C 4B FF 2B C5 */ bl GKI_getpoolbuf
|
|
/* 80082260 0007E0A0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082264 0007E0A4 41 82 00 28 */ beq lbl_8008228C
|
|
/* 80082268 0007E0A8 A0 1F 16 98 */ lhz r0, 0x1698(r31)
|
|
/* 8008226C 0007E0AC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082270 0007E0B0 41 82 00 0C */ beq lbl_8008227C
|
|
/* 80082274 0007E0B4 63 C0 00 01 */ ori r0, r30, 0x1
|
|
/* 80082278 0007E0B8 54 1E 06 3E */ clrlwi r30, r0, 24
|
|
.global lbl_8008227C
|
|
lbl_8008227C:
|
|
/* 8008227C 0007E0BC B3 7F 16 9A */ sth r27, 0x169a(r31)
|
|
/* 80082280 0007E0C0 57 C4 06 3E */ clrlwi r4, r30, 24
|
|
/* 80082284 0007E0C4 48 00 A0 6D */ bl btsnd_hcic_write_scan_enable
|
|
/* 80082288 0007E0C8 48 00 00 0C */ b lbl_80082294
|
|
.global lbl_8008228C
|
|
lbl_8008228C:
|
|
/* 8008228C 0007E0CC 38 60 00 03 */ li r3, 0x3
|
|
/* 80082290 0007E0D0 48 00 00 08 */ b lbl_80082298
|
|
.global lbl_80082294
|
|
lbl_80082294:
|
|
/* 80082294 0007E0D4 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80082298
|
|
lbl_80082298:
|
|
/* 80082298 0007E0D8 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 8008229C 0007E0DC 4B F8 50 ED */ bl lbl_80007388
|
|
/* 800822A0 0007E0E0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800822A4 0007E0E4 7C 08 03 A6 */ mtlr r0
|
|
/* 800822A8 0007E0E8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800822AC 0007E0EC 4E 80 00 20 */ blr
|
|
.global BTM_IsInquiryActive
|
|
BTM_IsInquiryActive:
|
|
/* 800822B0 0007E0F0 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 800822B4 0007E0F4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 800822B8 0007E0F8 88 63 18 48 */ lbz r3, 0x1848(r3)
|
|
/* 800822BC 0007E0FC 4E 80 00 20 */ blr
|
|
.global BTM_CancelInquiry
|
|
BTM_CancelInquiry:
|
|
/* 800822C0 0007E100 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800822C4 0007E104 7C 08 02 A6 */ mflr r0
|
|
/* 800822C8 0007E108 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800822CC 0007E10C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800822D0 0007E110 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800822D4 0007E114 3F C0 80 4F */ lis r30, btm_cb@ha
|
|
/* 800822D8 0007E118 3B DE 5F 58 */ addi r30, r30, btm_cb@l
|
|
/* 800822DC 0007E11C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800822E0 0007E120 3B A0 00 00 */ li r29, 0x0
|
|
/* 800822E4 0007E124 88 1E 27 C0 */ lbz r0, 0x27c0(r30)
|
|
/* 800822E8 0007E128 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 800822EC 0007E12C 41 80 00 18 */ blt lbl_80082304
|
|
/* 800822F0 0007E130 3C 60 00 0D */ lis r3, 0xd
|
|
/* 800822F4 0007E134 3C 80 80 44 */ lis r4, "@2396"@ha
|
|
/* 800822F8 0007E138 38 63 00 02 */ addi r3, r3, 0x2
|
|
/* 800822FC 0007E13C 38 84 BD E0 */ addi r4, r4, "@2396"@l
|
|
/* 80082300 0007E140 4B FF 56 61 */ bl LogMsg_0
|
|
.global lbl_80082304
|
|
lbl_80082304:
|
|
/* 80082304 0007E144 4B FF E1 85 */ bl BTM_IsDeviceUp
|
|
/* 80082308 0007E148 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 8008230C 0007E14C 40 82 00 0C */ bne lbl_80082318
|
|
/* 80082310 0007E150 38 60 00 06 */ li r3, 0x6
|
|
/* 80082314 0007E154 48 00 00 98 */ b lbl_800823AC
|
|
.global lbl_80082318
|
|
lbl_80082318:
|
|
/* 80082318 0007E158 88 1E 18 48 */ lbz r0, 0x1848(r30)
|
|
/* 8008231C 0007E15C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082320 0007E160 41 82 00 88 */ beq lbl_800823A8
|
|
/* 80082324 0007E164 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
|
|
/* 80082328 0007E168 40 82 00 80 */ bne lbl_800823A8
|
|
/* 8008232C 0007E16C 88 1E 18 44 */ lbz r0, 0x1844(r30)
|
|
/* 80082330 0007E170 38 80 00 00 */ li r4, 0x0
|
|
/* 80082334 0007E174 98 9E 18 48 */ stb r4, 0x1848(r30)
|
|
/* 80082338 0007E178 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8008233C 0007E17C 98 9E 18 47 */ stb r4, 0x1847(r30)
|
|
/* 80082340 0007E180 90 9E 16 B4 */ stw r4, 0x16b4(r30)
|
|
/* 80082344 0007E184 90 9E 16 B0 */ stw r4, 0x16b0(r30)
|
|
/* 80082348 0007E188 41 82 00 18 */ beq lbl_80082360
|
|
/* 8008234C 0007E18C 88 7E 18 45 */ lbz r3, 0x1845(r30)
|
|
/* 80082350 0007E190 98 9E 18 44 */ stb r4, 0x1844(r30)
|
|
/* 80082354 0007E194 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80082358 0007E198 98 1E 18 45 */ stb r0, 0x1845(r30)
|
|
/* 8008235C 0007E19C 48 00 00 14 */ b lbl_80082370
|
|
.global lbl_80082360
|
|
lbl_80082360:
|
|
/* 80082360 0007E1A0 48 00 84 E1 */ bl btsnd_hcic_inq_cancel
|
|
/* 80082364 0007E1A4 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 80082368 0007E1A8 40 82 00 08 */ bne lbl_80082370
|
|
/* 8008236C 0007E1AC 3B A0 00 03 */ li r29, 0x3
|
|
.global lbl_80082370
|
|
lbl_80082370:
|
|
/* 80082370 0007E1B0 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082374 0007E1B4 80 9E 16 C0 */ lwz r4, 0x16c0(r30)
|
|
/* 80082378 0007E1B8 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 8008237C 0007E1BC 80 7F 16 DC */ lwz r3, 0x16dc(r31)
|
|
/* 80082380 0007E1C0 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 80082384 0007E1C4 90 1E 16 C0 */ stw r0, 0x16c0(r30)
|
|
/* 80082388 0007E1C8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8008238C 0007E1CC 41 82 00 10 */ beq lbl_8008239C
|
|
/* 80082390 0007E1D0 4B FF 2B 81 */ bl GKI_freebuf
|
|
/* 80082394 0007E1D4 38 00 00 00 */ li r0, 0x0
|
|
/* 80082398 0007E1D8 90 1F 16 DC */ stw r0, 0x16dc(r31)
|
|
.global lbl_8008239C
|
|
lbl_8008239C:
|
|
/* 8008239C 0007E1DC 38 00 00 00 */ li r0, 0x0
|
|
/* 800823A0 0007E1E0 B0 1F 16 E0 */ sth r0, 0x16e0(r31)
|
|
/* 800823A4 0007E1E4 B0 1F 16 E2 */ sth r0, 0x16e2(r31)
|
|
.global lbl_800823A8
|
|
lbl_800823A8:
|
|
/* 800823A8 0007E1E8 7F A3 EB 78 */ mr r3, r29
|
|
.global lbl_800823AC
|
|
lbl_800823AC:
|
|
/* 800823AC 0007E1EC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800823B0 0007E1F0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800823B4 0007E1F4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800823B8 0007E1F8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 800823BC 0007E1FC 7C 08 03 A6 */ mtlr r0
|
|
/* 800823C0 0007E200 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800823C4 0007E204 4E 80 00 20 */ blr
|
|
.global BTM_StartInquiry
|
|
BTM_StartInquiry:
|
|
/* 800823C8 0007E208 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800823CC 0007E20C 7C 08 02 A6 */ mflr r0
|
|
/* 800823D0 0007E210 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800823D4 0007E214 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800823D8 0007E218 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 800823DC 0007E21C 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 800823E0 0007E220 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800823E4 0007E224 7C BE 2B 78 */ mr r30, r5
|
|
/* 800823E8 0007E228 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800823EC 0007E22C 7C 9D 23 78 */ mr r29, r4
|
|
/* 800823F0 0007E230 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 800823F4 0007E234 7C 7C 1B 78 */ mr r28, r3
|
|
/* 800823F8 0007E238 88 1F 27 C0 */ lbz r0, 0x27c0(r31)
|
|
/* 800823FC 0007E23C 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 80082400 0007E240 41 80 00 28 */ blt lbl_80082428
|
|
/* 80082404 0007E244 3C 60 00 0D */ lis r3, 0xd
|
|
/* 80082408 0007E248 3C 80 80 44 */ lis r4, "@2415"@ha
|
|
/* 8008240C 0007E24C 88 BC 00 00 */ lbz r5, 0x0(r28)
|
|
/* 80082410 0007E250 38 63 00 02 */ addi r3, r3, 0x2
|
|
/* 80082414 0007E254 88 DC 00 01 */ lbz r6, 0x1(r28)
|
|
/* 80082418 0007E258 38 84 BD FC */ addi r4, r4, "@2415"@l
|
|
/* 8008241C 0007E25C 88 FC 00 02 */ lbz r7, 0x2(r28)
|
|
/* 80082420 0007E260 89 1C 00 03 */ lbz r8, 0x3(r28)
|
|
/* 80082424 0007E264 4B FF 55 3D */ bl LogMsg_0
|
|
.global lbl_80082428
|
|
lbl_80082428:
|
|
/* 80082428 0007E268 88 1F 18 48 */ lbz r0, 0x1848(r31)
|
|
/* 8008242C 0007E26C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082430 0007E270 40 82 00 10 */ bne lbl_80082440
|
|
/* 80082434 0007E274 88 1F 18 44 */ lbz r0, 0x1844(r31)
|
|
/* 80082438 0007E278 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8008243C 0007E27C 41 82 00 0C */ beq lbl_80082448
|
|
.global lbl_80082440
|
|
lbl_80082440:
|
|
/* 80082440 0007E280 38 60 00 02 */ li r3, 0x2
|
|
/* 80082444 0007E284 48 00 01 18 */ b lbl_8008255C
|
|
.global lbl_80082448
|
|
lbl_80082448:
|
|
/* 80082448 0007E288 88 1C 00 00 */ lbz r0, 0x0(r28)
|
|
/* 8008244C 0007E28C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082450 0007E290 41 82 00 14 */ beq lbl_80082464
|
|
/* 80082454 0007E294 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80082458 0007E298 41 82 00 0C */ beq lbl_80082464
|
|
/* 8008245C 0007E29C 38 60 00 05 */ li r3, 0x5
|
|
/* 80082460 0007E2A0 48 00 00 FC */ b lbl_8008255C
|
|
.global lbl_80082464
|
|
lbl_80082464:
|
|
/* 80082464 0007E2A4 4B FF E0 25 */ bl BTM_IsDeviceUp
|
|
/* 80082468 0007E2A8 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 8008246C 0007E2AC 40 82 00 0C */ bne lbl_80082478
|
|
/* 80082470 0007E2B0 38 60 00 06 */ li r3, 0x6
|
|
/* 80082474 0007E2B4 48 00 00 E8 */ b lbl_8008255C
|
|
.global lbl_80082478
|
|
lbl_80082478:
|
|
/* 80082478 0007E2B8 88 BC 00 00 */ lbz r5, 0x0(r28)
|
|
/* 8008247C 0007E2BC 38 00 00 03 */ li r0, 0x3
|
|
/* 80082480 0007E2C0 88 7C 00 01 */ lbz r3, 0x1(r28)
|
|
/* 80082484 0007E2C4 38 C0 00 00 */ li r6, 0x0
|
|
/* 80082488 0007E2C8 38 80 00 01 */ li r4, 0x1
|
|
/* 8008248C 0007E2CC 98 BF 18 34 */ stb r5, 0x1834(r31)
|
|
/* 80082490 0007E2D0 98 7F 18 35 */ stb r3, 0x1835(r31)
|
|
/* 80082494 0007E2D4 88 BC 00 02 */ lbz r5, 0x2(r28)
|
|
/* 80082498 0007E2D8 88 7C 00 03 */ lbz r3, 0x3(r28)
|
|
/* 8008249C 0007E2DC 98 BF 18 36 */ stb r5, 0x1836(r31)
|
|
/* 800824A0 0007E2E0 98 7F 18 37 */ stb r3, 0x1837(r31)
|
|
/* 800824A4 0007E2E4 88 BC 00 04 */ lbz r5, 0x4(r28)
|
|
/* 800824A8 0007E2E8 88 7C 00 05 */ lbz r3, 0x5(r28)
|
|
/* 800824AC 0007E2EC 98 BF 18 38 */ stb r5, 0x1838(r31)
|
|
/* 800824B0 0007E2F0 98 7F 18 39 */ stb r3, 0x1839(r31)
|
|
/* 800824B4 0007E2F4 88 BC 00 06 */ lbz r5, 0x6(r28)
|
|
/* 800824B8 0007E2F8 88 7C 00 07 */ lbz r3, 0x7(r28)
|
|
/* 800824BC 0007E2FC 98 BF 18 3A */ stb r5, 0x183a(r31)
|
|
/* 800824C0 0007E300 98 7F 18 3B */ stb r3, 0x183b(r31)
|
|
/* 800824C4 0007E304 88 7C 00 08 */ lbz r3, 0x8(r28)
|
|
/* 800824C8 0007E308 98 7F 18 3C */ stb r3, 0x183c(r31)
|
|
/* 800824CC 0007E30C 88 7C 00 09 */ lbz r3, 0x9(r28)
|
|
/* 800824D0 0007E310 98 7F 18 3D */ stb r3, 0x183d(r31)
|
|
/* 800824D4 0007E314 98 1F 18 47 */ stb r0, 0x1847(r31)
|
|
/* 800824D8 0007E318 93 DF 16 B0 */ stw r30, 0x16b0(r31)
|
|
/* 800824DC 0007E31C 93 BF 16 B4 */ stw r29, 0x16b4(r31)
|
|
/* 800824E0 0007E320 98 DF 18 3F */ stb r6, 0x183f(r31)
|
|
/* 800824E4 0007E324 88 BC 00 00 */ lbz r5, 0x0(r28)
|
|
/* 800824E8 0007E328 38 65 FF FF */ addi r3, r5, -0x1
|
|
/* 800824EC 0007E32C 20 05 00 01 */ subfic r0, r5, 0x1
|
|
/* 800824F0 0007E330 7C 60 00 F8 */ nor r0, r3, r0
|
|
/* 800824F4 0007E334 7C 03 FE 70 */ srawi r3, r0, 31
|
|
/* 800824F8 0007E338 38 03 00 02 */ addi r0, r3, 0x2
|
|
/* 800824FC 0007E33C 98 1F 18 48 */ stb r0, 0x1848(r31)
|
|
/* 80082500 0007E340 88 1C 00 03 */ lbz r0, 0x3(r28)
|
|
/* 80082504 0007E344 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082508 0007E348 41 82 00 14 */ beq lbl_8008251C
|
|
/* 8008250C 0007E34C 41 80 00 28 */ blt lbl_80082534
|
|
/* 80082510 0007E350 2C 00 00 03 */ cmpwi r0, 0x3
|
|
/* 80082514 0007E354 40 80 00 20 */ bge lbl_80082534
|
|
/* 80082518 0007E358 48 00 00 10 */ b lbl_80082528
|
|
.global lbl_8008251C
|
|
lbl_8008251C:
|
|
/* 8008251C 0007E35C 38 00 00 02 */ li r0, 0x2
|
|
/* 80082520 0007E360 98 1F 18 47 */ stb r0, 0x1847(r31)
|
|
/* 80082524 0007E364 48 00 00 18 */ b lbl_8008253C
|
|
.global lbl_80082528
|
|
lbl_80082528:
|
|
/* 80082528 0007E368 98 9F 18 47 */ stb r4, 0x1847(r31)
|
|
/* 8008252C 0007E36C 98 DC 00 03 */ stb r6, 0x3(r28)
|
|
/* 80082530 0007E370 48 00 00 0C */ b lbl_8008253C
|
|
.global lbl_80082534
|
|
lbl_80082534:
|
|
/* 80082534 0007E374 38 60 00 05 */ li r3, 0x5
|
|
/* 80082538 0007E378 48 00 00 24 */ b lbl_8008255C
|
|
.global lbl_8008253C
|
|
lbl_8008253C:
|
|
/* 8008253C 0007E37C 88 7C 00 03 */ lbz r3, 0x3(r28)
|
|
/* 80082540 0007E380 38 9C 00 04 */ addi r4, r28, 0x4
|
|
/* 80082544 0007E384 48 00 08 95 */ bl btm_set_inq_event_filter
|
|
/* 80082548 0007E388 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 8008254C 0007E38C 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80082550 0007E390 41 82 00 0C */ beq lbl_8008255C
|
|
/* 80082554 0007E394 38 00 00 00 */ li r0, 0x0
|
|
/* 80082558 0007E398 98 1F 18 47 */ stb r0, 0x1847(r31)
|
|
.global lbl_8008255C
|
|
lbl_8008255C:
|
|
/* 8008255C 0007E39C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80082560 0007E3A0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80082564 0007E3A4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80082568 0007E3A8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8008256C 0007E3AC 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80082570 0007E3B0 7C 08 03 A6 */ mtlr r0
|
|
/* 80082574 0007E3B4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80082578 0007E3B8 4E 80 00 20 */ blr
|
|
.global BTM_ReadRemoteDeviceName
|
|
BTM_ReadRemoteDeviceName:
|
|
/* 8008257C 0007E3BC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80082580 0007E3C0 7C 08 02 A6 */ mflr r0
|
|
/* 80082584 0007E3C4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80082588 0007E3C8 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 8008258C 0007E3CC 4B F8 4D B1 */ bl lbl_8000733C
|
|
/* 80082590 0007E3D0 3C A0 80 4F */ lis r5, btm_cb@ha
|
|
/* 80082594 0007E3D4 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80082598 0007E3D8 38 A5 5F 58 */ addi r5, r5, btm_cb@l
|
|
/* 8008259C 0007E3DC 7C 9C 23 78 */ mr r28, r4
|
|
/* 800825A0 0007E3E0 88 05 27 C0 */ lbz r0, 0x27c0(r5)
|
|
/* 800825A4 0007E3E4 3B A0 00 00 */ li r29, 0x0
|
|
/* 800825A8 0007E3E8 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 800825AC 0007E3EC 41 80 00 30 */ blt lbl_800825DC
|
|
/* 800825B0 0007E3F0 3C 60 00 0D */ lis r3, 0xd
|
|
/* 800825B4 0007E3F4 3C 80 80 44 */ lis r4, "@2426"@ha
|
|
/* 800825B8 0007E3F8 88 BB 00 00 */ lbz r5, 0x0(r27)
|
|
/* 800825BC 0007E3FC 38 63 00 02 */ addi r3, r3, 0x2
|
|
/* 800825C0 0007E400 88 DB 00 01 */ lbz r6, 0x1(r27)
|
|
/* 800825C4 0007E404 38 84 BE 34 */ addi r4, r4, "@2426"@l
|
|
/* 800825C8 0007E408 88 FB 00 02 */ lbz r7, 0x2(r27)
|
|
/* 800825CC 0007E40C 89 1B 00 03 */ lbz r8, 0x3(r27)
|
|
/* 800825D0 0007E410 89 3B 00 04 */ lbz r9, 0x4(r27)
|
|
/* 800825D4 0007E414 89 5B 00 05 */ lbz r10, 0x5(r27)
|
|
/* 800825D8 0007E418 4B FF 53 89 */ bl LogMsg_0
|
|
.global lbl_800825DC
|
|
lbl_800825DC:
|
|
/* 800825DC 0007E41C 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 800825E0 0007E420 3B C0 00 00 */ li r30, 0x0
|
|
/* 800825E4 0007E424 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 800825E8 0007E428 3B E3 16 E4 */ addi r31, r3, 0x16e4
|
|
.global lbl_800825EC
|
|
lbl_800825EC:
|
|
/* 800825EC 0007E42C 88 1F 00 1A */ lbz r0, 0x1a(r31)
|
|
/* 800825F0 0007E430 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800825F4 0007E434 41 82 00 20 */ beq lbl_80082614
|
|
/* 800825F8 0007E438 7F 64 DB 78 */ mr r4, r27
|
|
/* 800825FC 0007E43C 38 7F 00 0A */ addi r3, r31, 0xa
|
|
/* 80082600 0007E440 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082604 0007E444 4B F8 88 6D */ bl memcmp
|
|
/* 80082608 0007E448 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8008260C 0007E44C 40 82 00 08 */ bne lbl_80082614
|
|
/* 80082610 0007E450 48 00 00 18 */ b lbl_80082628
|
|
.global lbl_80082614
|
|
lbl_80082614:
|
|
/* 80082614 0007E454 3B DE 00 01 */ addi r30, r30, 0x1
|
|
/* 80082618 0007E458 3B FF 00 1C */ addi r31, r31, 0x1c
|
|
/* 8008261C 0007E45C 28 1E 00 0C */ cmplwi r30, 0xc
|
|
/* 80082620 0007E460 41 80 FF CC */ blt lbl_800825EC
|
|
/* 80082624 0007E464 3B E0 00 00 */ li r31, 0x0
|
|
.global lbl_80082628
|
|
lbl_80082628:
|
|
/* 80082628 0007E468 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8008262C 0007E46C 41 82 00 08 */ beq lbl_80082634
|
|
/* 80082630 0007E470 3B BF 00 08 */ addi r29, r31, 0x8
|
|
.global lbl_80082634
|
|
lbl_80082634:
|
|
/* 80082634 0007E474 7F 63 DB 78 */ mr r3, r27
|
|
/* 80082638 0007E478 7F A4 EB 78 */ mr r4, r29
|
|
/* 8008263C 0007E47C 7F 87 E3 78 */ mr r7, r28
|
|
/* 80082640 0007E480 38 A0 00 01 */ li r5, 0x1
|
|
/* 80082644 0007E484 38 C0 00 28 */ li r6, 0x28
|
|
/* 80082648 0007E488 48 00 0E 11 */ bl btm_initiate_rem_name
|
|
/* 8008264C 0007E48C 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80082650 0007E490 4B F8 4D 39 */ bl lbl_80007388
|
|
/* 80082654 0007E494 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80082658 0007E498 7C 08 03 A6 */ mtlr r0
|
|
/* 8008265C 0007E49C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80082660 0007E4A0 4E 80 00 20 */ blr
|
|
.global BTM_CancelRemoteDeviceName
|
|
BTM_CancelRemoteDeviceName:
|
|
/* 80082664 0007E4A4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80082668 0007E4A8 7C 08 02 A6 */ mflr r0
|
|
/* 8008266C 0007E4AC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80082670 0007E4B0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80082674 0007E4B4 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082678 0007E4B8 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 8008267C 0007E4BC 88 1F 27 C0 */ lbz r0, 0x27c0(r31)
|
|
/* 80082680 0007E4C0 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 80082684 0007E4C4 41 80 00 18 */ blt lbl_8008269C
|
|
/* 80082688 0007E4C8 3C 60 00 0D */ lis r3, 0xd
|
|
/* 8008268C 0007E4CC 3C 80 80 44 */ lis r4, "@2433"@ha
|
|
/* 80082690 0007E4D0 38 63 00 02 */ addi r3, r3, 0x2
|
|
/* 80082694 0007E4D4 38 84 BE 74 */ addi r4, r4, "@2433"@l
|
|
/* 80082698 0007E4D8 4B FF 52 C9 */ bl LogMsg_0
|
|
.global lbl_8008269C
|
|
lbl_8008269C:
|
|
/* 8008269C 0007E4DC 88 1F 16 AE */ lbz r0, 0x16ae(r31)
|
|
/* 800826A0 0007E4E0 54 00 07 FF */ clrlwi. r0, r0, 31
|
|
/* 800826A4 0007E4E4 41 82 00 20 */ beq lbl_800826C4
|
|
/* 800826A8 0007E4E8 38 7F 16 A8 */ addi r3, r31, 0x16a8
|
|
/* 800826AC 0007E4EC 48 00 8C 99 */ bl btsnd_hcic_rmt_name_req_cancel
|
|
/* 800826B0 0007E4F0 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 800826B4 0007E4F4 38 60 00 03 */ li r3, 0x3
|
|
/* 800826B8 0007E4F8 41 82 00 10 */ beq lbl_800826C8
|
|
/* 800826BC 0007E4FC 38 60 00 01 */ li r3, 0x1
|
|
/* 800826C0 0007E500 48 00 00 08 */ b lbl_800826C8
|
|
.global lbl_800826C4
|
|
lbl_800826C4:
|
|
/* 800826C4 0007E504 38 60 00 06 */ li r3, 0x6
|
|
.global lbl_800826C8
|
|
lbl_800826C8:
|
|
/* 800826C8 0007E508 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 800826CC 0007E50C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 800826D0 0007E510 7C 08 03 A6 */ mtlr r0
|
|
/* 800826D4 0007E514 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 800826D8 0007E518 4E 80 00 20 */ blr
|
|
.global BTM_InqDbRead
|
|
BTM_InqDbRead:
|
|
/* 800826DC 0007E51C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800826E0 0007E520 7C 08 02 A6 */ mflr r0
|
|
/* 800826E4 0007E524 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
/* 800826E8 0007E528 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800826EC 0007E52C 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
|
/* 800826F0 0007E530 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800826F4 0007E534 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800826F8 0007E538 3B C4 16 E4 */ addi r30, r4, 0x16e4
|
|
/* 800826FC 0007E53C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80082700 0007E540 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80082704 0007E544 88 04 27 C0 */ lbz r0, 0x27c0(r4)
|
|
/* 80082708 0007E548 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 8008270C 0007E54C 41 80 00 30 */ blt lbl_8008273C
|
|
/* 80082710 0007E550 3C 60 00 0D */ lis r3, 0xd
|
|
/* 80082714 0007E554 3C 80 80 44 */ lis r4, "@2457_8043BE94"@ha
|
|
/* 80082718 0007E558 88 BD 00 00 */ lbz r5, 0x0(r29)
|
|
/* 8008271C 0007E55C 38 63 00 02 */ addi r3, r3, 0x2
|
|
/* 80082720 0007E560 88 DD 00 01 */ lbz r6, 0x1(r29)
|
|
/* 80082724 0007E564 38 84 BE 94 */ addi r4, r4, "@2457_8043BE94"@l
|
|
/* 80082728 0007E568 88 FD 00 02 */ lbz r7, 0x2(r29)
|
|
/* 8008272C 0007E56C 89 1D 00 03 */ lbz r8, 0x3(r29)
|
|
/* 80082730 0007E570 89 3D 00 04 */ lbz r9, 0x4(r29)
|
|
/* 80082734 0007E574 89 5D 00 05 */ lbz r10, 0x5(r29)
|
|
/* 80082738 0007E578 4B FF 52 29 */ bl LogMsg_0
|
|
.global lbl_8008273C
|
|
lbl_8008273C:
|
|
/* 8008273C 0007E57C 3B E0 00 00 */ li r31, 0x0
|
|
.global lbl_80082740
|
|
lbl_80082740:
|
|
/* 80082740 0007E580 88 1E 00 1A */ lbz r0, 0x1a(r30)
|
|
/* 80082744 0007E584 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082748 0007E588 41 82 00 24 */ beq lbl_8008276C
|
|
/* 8008274C 0007E58C 7F A4 EB 78 */ mr r4, r29
|
|
/* 80082750 0007E590 38 7E 00 0A */ addi r3, r30, 0xa
|
|
/* 80082754 0007E594 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082758 0007E598 4B F8 87 19 */ bl memcmp
|
|
/* 8008275C 0007E59C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082760 0007E5A0 40 82 00 0C */ bne lbl_8008276C
|
|
/* 80082764 0007E5A4 38 7E 00 08 */ addi r3, r30, 0x8
|
|
/* 80082768 0007E5A8 48 00 00 18 */ b lbl_80082780
|
|
.global lbl_8008276C
|
|
lbl_8008276C:
|
|
/* 8008276C 0007E5AC 3B FF 00 01 */ addi r31, r31, 0x1
|
|
/* 80082770 0007E5B0 3B DE 00 1C */ addi r30, r30, 0x1c
|
|
/* 80082774 0007E5B4 28 1F 00 0C */ cmplwi r31, 0xc
|
|
/* 80082778 0007E5B8 41 80 FF C8 */ blt lbl_80082740
|
|
/* 8008277C 0007E5BC 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80082780
|
|
lbl_80082780:
|
|
/* 80082780 0007E5C0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80082784 0007E5C4 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80082788 0007E5C8 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8008278C 0007E5CC 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80082790 0007E5D0 7C 08 03 A6 */ mtlr r0
|
|
/* 80082794 0007E5D4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80082798 0007E5D8 4E 80 00 20 */ blr
|
|
.global BTM_InqDbFirst
|
|
BTM_InqDbFirst:
|
|
/* 8008279C 0007E5DC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 800827A0 0007E5E0 38 00 00 02 */ li r0, 0x2
|
|
/* 800827A4 0007E5E4 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 800827A8 0007E5E8 38 80 00 00 */ li r4, 0x0
|
|
/* 800827AC 0007E5EC 38 63 16 E4 */ addi r3, r3, 0x16e4
|
|
/* 800827B0 0007E5F0 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_800827B4
|
|
lbl_800827B4:
|
|
/* 800827B4 0007E5F4 88 03 00 1A */ lbz r0, 0x1a(r3)
|
|
/* 800827B8 0007E5F8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800827BC 0007E5FC 41 82 00 0C */ beq lbl_800827C8
|
|
/* 800827C0 0007E600 38 63 00 08 */ addi r3, r3, 0x8
|
|
/* 800827C4 0007E604 4E 80 00 20 */ blr
|
|
.global lbl_800827C8
|
|
lbl_800827C8:
|
|
/* 800827C8 0007E608 88 03 00 36 */ lbz r0, 0x36(r3)
|
|
/* 800827CC 0007E60C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800827D0 0007E610 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800827D4 0007E614 41 82 00 0C */ beq lbl_800827E0
|
|
/* 800827D8 0007E618 38 63 00 24 */ addi r3, r3, 0x24
|
|
/* 800827DC 0007E61C 4E 80 00 20 */ blr
|
|
.global lbl_800827E0
|
|
lbl_800827E0:
|
|
/* 800827E0 0007E620 88 03 00 52 */ lbz r0, 0x52(r3)
|
|
/* 800827E4 0007E624 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800827E8 0007E628 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800827EC 0007E62C 41 82 00 0C */ beq lbl_800827F8
|
|
/* 800827F0 0007E630 38 63 00 40 */ addi r3, r3, 0x40
|
|
/* 800827F4 0007E634 4E 80 00 20 */ blr
|
|
.global lbl_800827F8
|
|
lbl_800827F8:
|
|
/* 800827F8 0007E638 88 03 00 6E */ lbz r0, 0x6e(r3)
|
|
/* 800827FC 0007E63C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80082800 0007E640 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082804 0007E644 41 82 00 0C */ beq lbl_80082810
|
|
/* 80082808 0007E648 38 63 00 5C */ addi r3, r3, 0x5c
|
|
/* 8008280C 0007E64C 4E 80 00 20 */ blr
|
|
.global lbl_80082810
|
|
lbl_80082810:
|
|
/* 80082810 0007E650 88 03 00 8A */ lbz r0, 0x8a(r3)
|
|
/* 80082814 0007E654 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80082818 0007E658 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8008281C 0007E65C 41 82 00 0C */ beq lbl_80082828
|
|
/* 80082820 0007E660 38 63 00 78 */ addi r3, r3, 0x78
|
|
/* 80082824 0007E664 4E 80 00 20 */ blr
|
|
.global lbl_80082828
|
|
lbl_80082828:
|
|
/* 80082828 0007E668 88 03 00 A6 */ lbz r0, 0xa6(r3)
|
|
/* 8008282C 0007E66C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80082830 0007E670 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082834 0007E674 41 82 00 0C */ beq lbl_80082840
|
|
/* 80082838 0007E678 38 63 00 94 */ addi r3, r3, 0x94
|
|
/* 8008283C 0007E67C 4E 80 00 20 */ blr
|
|
.global lbl_80082840
|
|
lbl_80082840:
|
|
/* 80082840 0007E680 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80082844 0007E684 38 63 00 A8 */ addi r3, r3, 0xa8
|
|
/* 80082848 0007E688 42 00 FF 6C */ bdnz lbl_800827B4
|
|
/* 8008284C 0007E68C 38 60 00 00 */ li r3, 0x0
|
|
/* 80082850 0007E690 4E 80 00 20 */ blr
|
|
.global BTM_InqDbNext
|
|
BTM_InqDbNext:
|
|
/* 80082854 0007E694 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082858 0007E698 41 82 00 80 */ beq lbl_800828D8
|
|
/* 8008285C 0007E69C 3C A0 80 4F */ lis r5, btm_cb@ha
|
|
/* 80082860 0007E6A0 3C 80 92 49 */ lis r4, 0x92492493@ha
|
|
/* 80082864 0007E6A4 38 A5 5F 58 */ addi r5, r5, btm_cb@l
|
|
/* 80082868 0007E6A8 38 03 FF F8 */ addi r0, r3, -0x8
|
|
/* 8008286C 0007E6AC 38 65 16 E4 */ addi r3, r5, 0x16e4
|
|
/* 80082870 0007E6B0 38 84 24 93 */ addi r4, r4, 0x92492493@l
|
|
/* 80082874 0007E6B4 7C 03 00 50 */ subf r0, r3, r0
|
|
/* 80082878 0007E6B8 7C 64 00 96 */ mulhw r3, r4, r0
|
|
/* 8008287C 0007E6BC 7C 03 02 14 */ add r0, r3, r0
|
|
/* 80082880 0007E6C0 7C 00 26 70 */ srawi r0, r0, 4
|
|
/* 80082884 0007E6C4 54 03 0F FE */ srwi r3, r0, 31
|
|
/* 80082888 0007E6C8 7C 60 1A 14 */ add r3, r0, r3
|
|
/* 8008288C 0007E6CC 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80082890 0007E6D0 54 04 04 3E */ clrlwi r4, r0, 16
|
|
/* 80082894 0007E6D4 1C 64 00 1C */ mulli r3, r4, 0x1c
|
|
/* 80082898 0007E6D8 20 04 00 0C */ subfic r0, r4, 0xc
|
|
/* 8008289C 0007E6DC 7C 65 1A 14 */ add r3, r5, r3
|
|
/* 800828A0 0007E6E0 38 63 16 E4 */ addi r3, r3, 0x16e4
|
|
/* 800828A4 0007E6E4 7C 09 03 A6 */ mtctr r0
|
|
/* 800828A8 0007E6E8 28 04 00 0C */ cmplwi r4, 0xc
|
|
/* 800828AC 0007E6EC 40 80 00 24 */ bge lbl_800828D0
|
|
.global lbl_800828B0
|
|
lbl_800828B0:
|
|
/* 800828B0 0007E6F0 88 03 00 1A */ lbz r0, 0x1a(r3)
|
|
/* 800828B4 0007E6F4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800828B8 0007E6F8 41 82 00 0C */ beq lbl_800828C4
|
|
/* 800828BC 0007E6FC 38 63 00 08 */ addi r3, r3, 0x8
|
|
/* 800828C0 0007E700 4E 80 00 20 */ blr
|
|
.global lbl_800828C4
|
|
lbl_800828C4:
|
|
/* 800828C4 0007E704 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800828C8 0007E708 38 63 00 1C */ addi r3, r3, 0x1c
|
|
/* 800828CC 0007E70C 42 00 FF E4 */ bdnz lbl_800828B0
|
|
.global lbl_800828D0
|
|
lbl_800828D0:
|
|
/* 800828D0 0007E710 38 60 00 00 */ li r3, 0x0
|
|
/* 800828D4 0007E714 4E 80 00 20 */ blr
|
|
.global lbl_800828D8
|
|
lbl_800828D8:
|
|
/* 800828D8 0007E718 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 800828DC 0007E71C 38 00 00 02 */ li r0, 0x2
|
|
/* 800828E0 0007E720 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 800828E4 0007E724 38 80 00 00 */ li r4, 0x0
|
|
/* 800828E8 0007E728 38 63 16 E4 */ addi r3, r3, 0x16e4
|
|
/* 800828EC 0007E72C 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_800828F0
|
|
lbl_800828F0:
|
|
/* 800828F0 0007E730 88 03 00 1A */ lbz r0, 0x1a(r3)
|
|
/* 800828F4 0007E734 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800828F8 0007E738 41 82 00 0C */ beq lbl_80082904
|
|
/* 800828FC 0007E73C 38 63 00 08 */ addi r3, r3, 0x8
|
|
/* 80082900 0007E740 4E 80 00 20 */ blr
|
|
.global lbl_80082904
|
|
lbl_80082904:
|
|
/* 80082904 0007E744 88 03 00 36 */ lbz r0, 0x36(r3)
|
|
/* 80082908 0007E748 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 8008290C 0007E74C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082910 0007E750 41 82 00 0C */ beq lbl_8008291C
|
|
/* 80082914 0007E754 38 63 00 24 */ addi r3, r3, 0x24
|
|
/* 80082918 0007E758 4E 80 00 20 */ blr
|
|
.global lbl_8008291C
|
|
lbl_8008291C:
|
|
/* 8008291C 0007E75C 88 03 00 52 */ lbz r0, 0x52(r3)
|
|
/* 80082920 0007E760 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80082924 0007E764 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082928 0007E768 41 82 00 0C */ beq lbl_80082934
|
|
/* 8008292C 0007E76C 38 63 00 40 */ addi r3, r3, 0x40
|
|
/* 80082930 0007E770 4E 80 00 20 */ blr
|
|
.global lbl_80082934
|
|
lbl_80082934:
|
|
/* 80082934 0007E774 88 03 00 6E */ lbz r0, 0x6e(r3)
|
|
/* 80082938 0007E778 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 8008293C 0007E77C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082940 0007E780 41 82 00 0C */ beq lbl_8008294C
|
|
/* 80082944 0007E784 38 63 00 5C */ addi r3, r3, 0x5c
|
|
/* 80082948 0007E788 4E 80 00 20 */ blr
|
|
.global lbl_8008294C
|
|
lbl_8008294C:
|
|
/* 8008294C 0007E78C 88 03 00 8A */ lbz r0, 0x8a(r3)
|
|
/* 80082950 0007E790 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80082954 0007E794 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082958 0007E798 41 82 00 0C */ beq lbl_80082964
|
|
/* 8008295C 0007E79C 38 63 00 78 */ addi r3, r3, 0x78
|
|
/* 80082960 0007E7A0 4E 80 00 20 */ blr
|
|
.global lbl_80082964
|
|
lbl_80082964:
|
|
/* 80082964 0007E7A4 88 03 00 A6 */ lbz r0, 0xa6(r3)
|
|
/* 80082968 0007E7A8 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 8008296C 0007E7AC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082970 0007E7B0 41 82 00 0C */ beq lbl_8008297C
|
|
/* 80082974 0007E7B4 38 63 00 94 */ addi r3, r3, 0x94
|
|
/* 80082978 0007E7B8 4E 80 00 20 */ blr
|
|
.global lbl_8008297C
|
|
lbl_8008297C:
|
|
/* 8008297C 0007E7BC 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80082980 0007E7C0 38 63 00 A8 */ addi r3, r3, 0xa8
|
|
/* 80082984 0007E7C4 42 00 FF 6C */ bdnz lbl_800828F0
|
|
/* 80082988 0007E7C8 38 60 00 00 */ li r3, 0x0
|
|
/* 8008298C 0007E7CC 4E 80 00 20 */ blr
|
|
.global BTM_ClearInqDb
|
|
BTM_ClearInqDb:
|
|
/* 80082990 0007E7D0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80082994 0007E7D4 7C 08 02 A6 */ mflr r0
|
|
/* 80082998 0007E7D8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8008299C 0007E7DC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800829A0 0007E7E0 4B F8 49 9D */ bl lbl_8000733C
|
|
/* 800829A4 0007E7E4 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
/* 800829A8 0007E7E8 7C 7B 1B 78 */ mr r27, r3
|
|
/* 800829AC 0007E7EC 3B C4 5F 58 */ addi r30, r4, btm_cb@l
|
|
/* 800829B0 0007E7F0 88 1E 18 48 */ lbz r0, 0x1848(r30)
|
|
/* 800829B4 0007E7F4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800829B8 0007E7F8 40 82 00 1C */ bne lbl_800829D4
|
|
/* 800829BC 0007E7FC 88 1E 16 AE */ lbz r0, 0x16ae(r30)
|
|
/* 800829C0 0007E800 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800829C4 0007E804 40 82 00 10 */ bne lbl_800829D4
|
|
/* 800829C8 0007E808 88 1E 18 44 */ lbz r0, 0x1844(r30)
|
|
/* 800829CC 0007E80C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800829D0 0007E810 41 82 00 0C */ beq lbl_800829DC
|
|
.global lbl_800829D4
|
|
lbl_800829D4:
|
|
/* 800829D4 0007E814 38 60 00 02 */ li r3, 0x2
|
|
/* 800829D8 0007E818 48 00 00 70 */ b lbl_80082A48
|
|
.global lbl_800829DC
|
|
lbl_800829DC:
|
|
/* 800829DC 0007E81C 3B 9E 16 E4 */ addi r28, r30, 0x16e4
|
|
/* 800829E0 0007E820 3B A0 00 00 */ li r29, 0x0
|
|
/* 800829E4 0007E824 3B E0 00 00 */ li r31, 0x0
|
|
.global lbl_800829E8
|
|
lbl_800829E8:
|
|
/* 800829E8 0007E828 88 1C 00 1A */ lbz r0, 0x1a(r28)
|
|
/* 800829EC 0007E82C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800829F0 0007E830 41 82 00 44 */ beq lbl_80082A34
|
|
/* 800829F4 0007E834 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
/* 800829F8 0007E838 41 82 00 1C */ beq lbl_80082A14
|
|
/* 800829FC 0007E83C 7F 64 DB 78 */ mr r4, r27
|
|
/* 80082A00 0007E840 38 7C 00 0A */ addi r3, r28, 0xa
|
|
/* 80082A04 0007E844 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082A08 0007E848 4B F8 84 69 */ bl memcmp
|
|
/* 80082A0C 0007E84C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082A10 0007E850 40 82 00 24 */ bne lbl_80082A34
|
|
.global lbl_80082A14
|
|
lbl_80082A14:
|
|
/* 80082A14 0007E854 9B FC 00 1A */ stb r31, 0x1a(r28)
|
|
/* 80082A18 0007E858 81 9E 16 BC */ lwz r12, 0x16bc(r30)
|
|
/* 80082A1C 0007E85C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80082A20 0007E860 41 82 00 14 */ beq lbl_80082A34
|
|
/* 80082A24 0007E864 38 7C 00 08 */ addi r3, r28, 0x8
|
|
/* 80082A28 0007E868 38 80 00 00 */ li r4, 0x0
|
|
/* 80082A2C 0007E86C 7D 89 03 A6 */ mtctr r12
|
|
/* 80082A30 0007E870 4E 80 04 21 */ bctrl
|
|
.global lbl_80082A34
|
|
lbl_80082A34:
|
|
/* 80082A34 0007E874 3B BD 00 01 */ addi r29, r29, 0x1
|
|
/* 80082A38 0007E878 3B 9C 00 1C */ addi r28, r28, 0x1c
|
|
/* 80082A3C 0007E87C 28 1D 00 0C */ cmplwi r29, 0xc
|
|
/* 80082A40 0007E880 41 80 FF A8 */ blt lbl_800829E8
|
|
/* 80082A44 0007E884 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80082A48
|
|
lbl_80082A48:
|
|
/* 80082A48 0007E888 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80082A4C 0007E88C 4B F8 49 3D */ bl lbl_80007388
|
|
/* 80082A50 0007E890 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80082A54 0007E894 7C 08 03 A6 */ mtlr r0
|
|
/* 80082A58 0007E898 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80082A5C 0007E89C 4E 80 00 20 */ blr
|
|
.global btm_inq_db_reset
|
|
btm_inq_db_reset:
|
|
/* 80082A60 0007E8A0 94 21 FE E0 */ stwu r1, -0x120(r1)
|
|
/* 80082A64 0007E8A4 7C 08 02 A6 */ mflr r0
|
|
/* 80082A68 0007E8A8 90 01 01 24 */ stw r0, 0x124(r1)
|
|
/* 80082A6C 0007E8AC 39 61 01 20 */ addi r11, r1, 0x120
|
|
/* 80082A70 0007E8B0 4B F8 48 CD */ bl lbl_8000733C
|
|
/* 80082A74 0007E8B4 3F A0 80 4F */ lis r29, btm_cb@ha
|
|
/* 80082A78 0007E8B8 3B BD 5F 58 */ addi r29, r29, btm_cb@l
|
|
/* 80082A7C 0007E8BC 38 7D 16 C4 */ addi r3, r29, 0x16c4
|
|
/* 80082A80 0007E8C0 4B FF 54 A1 */ bl btu_stop_timer
|
|
/* 80082A84 0007E8C4 88 7D 18 48 */ lbz r3, 0x1848(r29)
|
|
/* 80082A88 0007E8C8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082A8C 0007E8CC 41 82 00 38 */ beq lbl_80082AC4
|
|
/* 80082A90 0007E8D0 38 03 00 FF */ addi r0, r3, 0xff
|
|
/* 80082A94 0007E8D4 38 60 00 00 */ li r3, 0x0
|
|
/* 80082A98 0007E8D8 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 80082A9C 0007E8DC 98 7D 18 48 */ stb r3, 0x1848(r29)
|
|
/* 80082AA0 0007E8E0 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80082AA4 0007E8E4 41 81 00 20 */ bgt lbl_80082AC4
|
|
/* 80082AA8 0007E8E8 81 9D 16 B0 */ lwz r12, 0x16b0(r29)
|
|
/* 80082AAC 0007E8EC 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80082AB0 0007E8F0 41 82 00 14 */ beq lbl_80082AC4
|
|
/* 80082AB4 0007E8F4 98 61 00 09 */ stb r3, 0x9(r1)
|
|
/* 80082AB8 0007E8F8 38 61 00 09 */ addi r3, r1, 0x9
|
|
/* 80082ABC 0007E8FC 7D 89 03 A6 */ mtctr r12
|
|
/* 80082AC0 0007E900 4E 80 04 21 */ bctrl
|
|
.global lbl_80082AC4
|
|
lbl_80082AC4:
|
|
/* 80082AC4 0007E904 88 1D 16 AE */ lbz r0, 0x16ae(r29)
|
|
/* 80082AC8 0007E908 54 00 07 FF */ clrlwi. r0, r0, 31
|
|
/* 80082ACC 0007E90C 41 82 00 48 */ beq lbl_80082B14
|
|
/* 80082AD0 0007E910 38 7D 16 80 */ addi r3, r29, 0x1680
|
|
/* 80082AD4 0007E914 4B FF 54 4D */ bl btu_stop_timer
|
|
/* 80082AD8 0007E918 3B C0 00 00 */ li r30, 0x0
|
|
/* 80082ADC 0007E91C 38 7D 16 A8 */ addi r3, r29, 0x16a8
|
|
/* 80082AE0 0007E920 9B DD 16 AE */ stb r30, 0x16ae(r29)
|
|
/* 80082AE4 0007E924 38 80 00 00 */ li r4, 0x0
|
|
/* 80082AE8 0007E928 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082AEC 0007E92C 4B F8 18 65 */ bl memset
|
|
/* 80082AF0 0007E930 81 9D 16 7C */ lwz r12, 0x167c(r29)
|
|
/* 80082AF4 0007E934 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80082AF8 0007E938 41 82 00 1C */ beq lbl_80082B14
|
|
/* 80082AFC 0007E93C 38 00 00 0C */ li r0, 0xc
|
|
/* 80082B00 0007E940 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 80082B04 0007E944 B0 01 00 0C */ sth r0, 0xc(r1)
|
|
/* 80082B08 0007E948 7D 89 03 A6 */ mtctr r12
|
|
/* 80082B0C 0007E94C 4E 80 04 21 */ bctrl
|
|
/* 80082B10 0007E950 93 DD 16 7C */ stw r30, 0x167c(r29)
|
|
.global lbl_80082B14
|
|
lbl_80082B14:
|
|
/* 80082B14 0007E954 88 1D 18 44 */ lbz r0, 0x1844(r29)
|
|
/* 80082B18 0007E958 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082B1C 0007E95C 41 82 00 2C */ beq lbl_80082B48
|
|
/* 80082B20 0007E960 81 9D 16 B8 */ lwz r12, 0x16b8(r29)
|
|
/* 80082B24 0007E964 38 00 00 00 */ li r0, 0x0
|
|
/* 80082B28 0007E968 98 1D 18 44 */ stb r0, 0x1844(r29)
|
|
/* 80082B2C 0007E96C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80082B30 0007E970 41 82 00 18 */ beq lbl_80082B48
|
|
/* 80082B34 0007E974 38 00 00 0C */ li r0, 0xc
|
|
/* 80082B38 0007E978 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80082B3C 0007E97C 98 01 00 08 */ stb r0, 0x8(r1)
|
|
/* 80082B40 0007E980 7D 89 03 A6 */ mtctr r12
|
|
/* 80082B44 0007E984 4E 80 04 21 */ bctrl
|
|
.global lbl_80082B48
|
|
lbl_80082B48:
|
|
/* 80082B48 0007E988 3B C0 00 00 */ li r30, 0x0
|
|
/* 80082B4C 0007E98C 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082B50 0007E990 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80082B54 0007E994 9B DD 18 47 */ stb r30, 0x1847(r29)
|
|
/* 80082B58 0007E998 3B 80 00 00 */ li r28, 0x0
|
|
/* 80082B5C 0007E99C 9B DD 18 45 */ stb r30, 0x1845(r29)
|
|
/* 80082B60 0007E9A0 3B 7F 16 E4 */ addi r27, r31, 0x16e4
|
|
/* 80082B64 0007E9A4 93 DD 16 B4 */ stw r30, 0x16b4(r29)
|
|
.global lbl_80082B68
|
|
lbl_80082B68:
|
|
/* 80082B68 0007E9A8 88 1B 00 1A */ lbz r0, 0x1a(r27)
|
|
/* 80082B6C 0007E9AC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082B70 0007E9B0 41 82 00 24 */ beq lbl_80082B94
|
|
/* 80082B74 0007E9B4 9B DB 00 1A */ stb r30, 0x1a(r27)
|
|
/* 80082B78 0007E9B8 81 9F 16 BC */ lwz r12, 0x16bc(r31)
|
|
/* 80082B7C 0007E9BC 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80082B80 0007E9C0 41 82 00 14 */ beq lbl_80082B94
|
|
/* 80082B84 0007E9C4 38 7B 00 08 */ addi r3, r27, 0x8
|
|
/* 80082B88 0007E9C8 38 80 00 00 */ li r4, 0x0
|
|
/* 80082B8C 0007E9CC 7D 89 03 A6 */ mtctr r12
|
|
/* 80082B90 0007E9D0 4E 80 04 21 */ bctrl
|
|
.global lbl_80082B94
|
|
lbl_80082B94:
|
|
/* 80082B94 0007E9D4 3B 9C 00 01 */ addi r28, r28, 0x1
|
|
/* 80082B98 0007E9D8 3B 7B 00 1C */ addi r27, r27, 0x1c
|
|
/* 80082B9C 0007E9DC 28 1C 00 0C */ cmplwi r28, 0xc
|
|
/* 80082BA0 0007E9E0 41 80 FF C8 */ blt lbl_80082B68
|
|
/* 80082BA4 0007E9E4 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082BA8 0007E9E8 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80082BAC 0007E9EC 80 7F 16 DC */ lwz r3, 0x16dc(r31)
|
|
/* 80082BB0 0007E9F0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082BB4 0007E9F4 41 82 00 10 */ beq lbl_80082BC4
|
|
/* 80082BB8 0007E9F8 4B FF 23 59 */ bl GKI_freebuf
|
|
/* 80082BBC 0007E9FC 38 00 00 00 */ li r0, 0x0
|
|
/* 80082BC0 0007EA00 90 1F 16 DC */ stw r0, 0x16dc(r31)
|
|
.global lbl_80082BC4
|
|
lbl_80082BC4:
|
|
/* 80082BC4 0007EA04 38 00 00 00 */ li r0, 0x0
|
|
/* 80082BC8 0007EA08 39 61 01 20 */ addi r11, r1, 0x120
|
|
/* 80082BCC 0007EA0C B0 1F 16 E0 */ sth r0, 0x16e0(r31)
|
|
/* 80082BD0 0007EA10 B0 1F 16 E2 */ sth r0, 0x16e2(r31)
|
|
/* 80082BD4 0007EA14 B0 1D 16 98 */ sth r0, 0x1698(r29)
|
|
/* 80082BD8 0007EA18 B0 1D 16 9A */ sth r0, 0x169a(r29)
|
|
/* 80082BDC 0007EA1C B0 1D 16 A6 */ sth r0, 0x16a6(r29)
|
|
/* 80082BE0 0007EA20 B0 1D 16 A4 */ sth r0, 0x16a4(r29)
|
|
/* 80082BE4 0007EA24 4B F8 47 A5 */ bl lbl_80007388
|
|
/* 80082BE8 0007EA28 80 01 01 24 */ lwz r0, 0x124(r1)
|
|
/* 80082BEC 0007EA2C 7C 08 03 A6 */ mtlr r0
|
|
/* 80082BF0 0007EA30 38 21 01 20 */ addi r1, r1, 0x120
|
|
/* 80082BF4 0007EA34 4E 80 00 20 */ blr
|
|
.global btm_inq_find_bdaddr
|
|
btm_inq_find_bdaddr:
|
|
/* 80082BF8 0007EA38 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80082BFC 0007EA3C 7C 08 02 A6 */ mflr r0
|
|
/* 80082C00 0007EA40 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80082C04 0007EA44 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80082C08 0007EA48 4B F8 47 35 */ bl lbl_8000733C
|
|
/* 80082C0C 0007EA4C 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082C10 0007EA50 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80082C14 0007EA54 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80082C18 0007EA58 88 1F 18 48 */ lbz r0, 0x1848(r31)
|
|
/* 80082C1C 0007EA5C 83 BF 16 DC */ lwz r29, 0x16dc(r31)
|
|
/* 80082C20 0007EA60 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
|
|
/* 80082C24 0007EA64 40 82 00 0C */ bne lbl_80082C30
|
|
/* 80082C28 0007EA68 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80082C2C 0007EA6C 40 82 00 0C */ bne lbl_80082C38
|
|
.global lbl_80082C30
|
|
lbl_80082C30:
|
|
/* 80082C30 0007EA70 38 60 00 00 */ li r3, 0x0
|
|
/* 80082C34 0007EA74 48 00 00 88 */ b lbl_80082CBC
|
|
.global lbl_80082C38
|
|
lbl_80082C38:
|
|
/* 80082C38 0007EA78 A3 DF 16 E0 */ lhz r30, 0x16e0(r31)
|
|
/* 80082C3C 0007EA7C 3B 80 00 00 */ li r28, 0x0
|
|
/* 80082C40 0007EA80 48 00 00 3C */ b lbl_80082C7C
|
|
.global lbl_80082C44
|
|
lbl_80082C44:
|
|
/* 80082C44 0007EA84 7F 64 DB 78 */ mr r4, r27
|
|
/* 80082C48 0007EA88 38 7D 00 04 */ addi r3, r29, 0x4
|
|
/* 80082C4C 0007EA8C 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082C50 0007EA90 4B F8 82 21 */ bl memcmp
|
|
/* 80082C54 0007EA94 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082C58 0007EA98 40 82 00 1C */ bne lbl_80082C74
|
|
/* 80082C5C 0007EA9C 80 7D 00 00 */ lwz r3, 0x0(r29)
|
|
/* 80082C60 0007EAA0 80 1F 16 C0 */ lwz r0, 0x16c0(r31)
|
|
/* 80082C64 0007EAA4 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80082C68 0007EAA8 40 82 00 0C */ bne lbl_80082C74
|
|
/* 80082C6C 0007EAAC 38 60 00 01 */ li r3, 0x1
|
|
/* 80082C70 0007EAB0 48 00 00 4C */ b lbl_80082CBC
|
|
.global lbl_80082C74
|
|
lbl_80082C74:
|
|
/* 80082C74 0007EAB4 3B 9C 00 01 */ addi r28, r28, 0x1
|
|
/* 80082C78 0007EAB8 3B BD 00 0C */ addi r29, r29, 0xc
|
|
.global lbl_80082C7C
|
|
lbl_80082C7C:
|
|
/* 80082C7C 0007EABC 57 83 04 3E */ clrlwi r3, r28, 16
|
|
/* 80082C80 0007EAC0 7C 03 F0 40 */ cmplw r3, r30
|
|
/* 80082C84 0007EAC4 41 80 FF C0 */ blt lbl_80082C44
|
|
/* 80082C88 0007EAC8 A0 1F 16 E2 */ lhz r0, 0x16e2(r31)
|
|
/* 80082C8C 0007EACC 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80082C90 0007EAD0 40 80 00 28 */ bge lbl_80082CB8
|
|
/* 80082C94 0007EAD4 80 1F 16 C0 */ lwz r0, 0x16c0(r31)
|
|
/* 80082C98 0007EAD8 7F 64 DB 78 */ mr r4, r27
|
|
/* 80082C9C 0007EADC 38 7D 00 04 */ addi r3, r29, 0x4
|
|
/* 80082CA0 0007EAE0 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082CA4 0007EAE4 90 1D 00 00 */ stw r0, 0x0(r29)
|
|
/* 80082CA8 0007EAE8 4B F8 13 59 */ bl memcpy
|
|
/* 80082CAC 0007EAEC A0 7F 16 E0 */ lhz r3, 0x16e0(r31)
|
|
/* 80082CB0 0007EAF0 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80082CB4 0007EAF4 B0 1F 16 E0 */ sth r0, 0x16e0(r31)
|
|
.global lbl_80082CB8
|
|
lbl_80082CB8:
|
|
/* 80082CB8 0007EAF8 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80082CBC
|
|
lbl_80082CBC:
|
|
/* 80082CBC 0007EAFC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80082CC0 0007EB00 4B F8 46 C9 */ bl lbl_80007388
|
|
/* 80082CC4 0007EB04 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80082CC8 0007EB08 7C 08 03 A6 */ mtlr r0
|
|
/* 80082CCC 0007EB0C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80082CD0 0007EB10 4E 80 00 20 */ blr
|
|
.global btm_inq_db_new
|
|
btm_inq_db_new:
|
|
/* 80082CD4 0007EB14 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80082CD8 0007EB18 7C 08 02 A6 */ mflr r0
|
|
/* 80082CDC 0007EB1C 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
/* 80082CE0 0007EB20 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80082CE4 0007EB24 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
|
/* 80082CE8 0007EB28 38 00 00 0C */ li r0, 0xc
|
|
/* 80082CEC 0007EB2C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80082CF0 0007EB30 3B E4 16 E4 */ addi r31, r4, 0x16e4
|
|
/* 80082CF4 0007EB34 38 80 FF FF */ li r4, -0x1
|
|
/* 80082CF8 0007EB38 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80082CFC 0007EB3C 7F FE FB 78 */ mr r30, r31
|
|
/* 80082D00 0007EB40 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80082D04 0007EB44 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80082D08 0007EB48 38 60 00 00 */ li r3, 0x0
|
|
/* 80082D0C 0007EB4C 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_80082D10
|
|
lbl_80082D10:
|
|
/* 80082D10 0007EB50 88 1F 00 1A */ lbz r0, 0x1a(r31)
|
|
/* 80082D14 0007EB54 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082D18 0007EB58 40 82 00 34 */ bne lbl_80082D4C
|
|
/* 80082D1C 0007EB5C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80082D20 0007EB60 38 80 00 00 */ li r4, 0x0
|
|
/* 80082D24 0007EB64 38 A0 00 1C */ li r5, 0x1c
|
|
/* 80082D28 0007EB68 4B F8 16 29 */ bl memset
|
|
/* 80082D2C 0007EB6C 7F A4 EB 78 */ mr r4, r29
|
|
/* 80082D30 0007EB70 38 7F 00 0A */ addi r3, r31, 0xa
|
|
/* 80082D34 0007EB74 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082D38 0007EB78 4B F8 12 C9 */ bl memcpy
|
|
/* 80082D3C 0007EB7C 38 00 00 01 */ li r0, 0x1
|
|
/* 80082D40 0007EB80 7F E3 FB 78 */ mr r3, r31
|
|
/* 80082D44 0007EB84 98 1F 00 1A */ stb r0, 0x1a(r31)
|
|
/* 80082D48 0007EB88 48 00 00 74 */ b lbl_80082DBC
|
|
.global lbl_80082D4C
|
|
lbl_80082D4C:
|
|
/* 80082D4C 0007EB8C 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 80082D50 0007EB90 7C 00 20 40 */ cmplw r0, r4
|
|
/* 80082D54 0007EB94 40 80 00 0C */ bge lbl_80082D60
|
|
/* 80082D58 0007EB98 7F FE FB 78 */ mr r30, r31
|
|
/* 80082D5C 0007EB9C 7C 04 03 78 */ mr r4, r0
|
|
.global lbl_80082D60
|
|
lbl_80082D60:
|
|
/* 80082D60 0007EBA0 38 63 00 01 */ addi r3, r3, 0x1
|
|
/* 80082D64 0007EBA4 3B FF 00 1C */ addi r31, r31, 0x1c
|
|
/* 80082D68 0007EBA8 42 00 FF A8 */ bdnz lbl_80082D10
|
|
/* 80082D6C 0007EBAC 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 80082D70 0007EBB0 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 80082D74 0007EBB4 81 83 16 BC */ lwz r12, 0x16bc(r3)
|
|
/* 80082D78 0007EBB8 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80082D7C 0007EBBC 41 82 00 14 */ beq lbl_80082D90
|
|
/* 80082D80 0007EBC0 38 7E 00 08 */ addi r3, r30, 0x8
|
|
/* 80082D84 0007EBC4 38 80 00 00 */ li r4, 0x0
|
|
/* 80082D88 0007EBC8 7D 89 03 A6 */ mtctr r12
|
|
/* 80082D8C 0007EBCC 4E 80 04 21 */ bctrl
|
|
.global lbl_80082D90
|
|
lbl_80082D90:
|
|
/* 80082D90 0007EBD0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80082D94 0007EBD4 38 80 00 00 */ li r4, 0x0
|
|
/* 80082D98 0007EBD8 38 A0 00 1C */ li r5, 0x1c
|
|
/* 80082D9C 0007EBDC 4B F8 15 B5 */ bl memset
|
|
/* 80082DA0 0007EBE0 7F A4 EB 78 */ mr r4, r29
|
|
/* 80082DA4 0007EBE4 38 7E 00 0A */ addi r3, r30, 0xa
|
|
/* 80082DA8 0007EBE8 38 A0 00 06 */ li r5, 0x6
|
|
/* 80082DAC 0007EBEC 4B F8 12 55 */ bl memcpy
|
|
/* 80082DB0 0007EBF0 38 00 00 01 */ li r0, 0x1
|
|
/* 80082DB4 0007EBF4 7F C3 F3 78 */ mr r3, r30
|
|
/* 80082DB8 0007EBF8 98 1E 00 1A */ stb r0, 0x1a(r30)
|
|
.global lbl_80082DBC
|
|
lbl_80082DBC:
|
|
/* 80082DBC 0007EBFC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80082DC0 0007EC00 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80082DC4 0007EC04 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80082DC8 0007EC08 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80082DCC 0007EC0C 7C 08 03 A6 */ mtlr r0
|
|
/* 80082DD0 0007EC10 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80082DD4 0007EC14 4E 80 00 20 */ blr
|
|
.global btm_set_inq_event_filter
|
|
btm_set_inq_event_filter:
|
|
/* 80082DD8 0007EC18 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80082DDC 0007EC1C 7C 08 02 A6 */ mflr r0
|
|
/* 80082DE0 0007EC20 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80082DE4 0007EC24 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80082DE8 0007EC28 4B F8 45 55 */ bl lbl_8000733C
|
|
/* 80082DEC 0007EC2C 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80082DF0 0007EC30 7C 9C 23 78 */ mr r28, r4
|
|
/* 80082DF4 0007EC34 3B A1 00 08 */ addi r29, r1, 0x8
|
|
/* 80082DF8 0007EC38 3B C0 00 06 */ li r30, 0x6
|
|
/* 80082DFC 0007EC3C 38 60 00 02 */ li r3, 0x2
|
|
/* 80082E00 0007EC40 4B FF 20 21 */ bl GKI_getpoolbuf
|
|
/* 80082E04 0007EC44 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082E08 0007EC48 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80082E0C 0007EC4C 41 82 00 94 */ beq lbl_80082EA0
|
|
/* 80082E10 0007EC50 2C 1B 00 01 */ cmpwi r27, 0x1
|
|
/* 80082E14 0007EC54 41 82 00 20 */ beq lbl_80082E34
|
|
/* 80082E18 0007EC58 40 80 00 10 */ bge lbl_80082E28
|
|
/* 80082E1C 0007EC5C 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
/* 80082E20 0007EC60 40 80 00 40 */ bge lbl_80082E60
|
|
/* 80082E24 0007EC64 48 00 00 44 */ b lbl_80082E68
|
|
.global lbl_80082E28
|
|
lbl_80082E28:
|
|
/* 80082E28 0007EC68 2C 1B 00 03 */ cmpwi r27, 0x3
|
|
/* 80082E2C 0007EC6C 40 80 00 3C */ bge lbl_80082E68
|
|
/* 80082E30 0007EC70 48 00 00 28 */ b lbl_80082E58
|
|
.global lbl_80082E34
|
|
lbl_80082E34:
|
|
/* 80082E34 0007EC74 7F A3 EB 78 */ mr r3, r29
|
|
/* 80082E38 0007EC78 7F 84 E3 78 */ mr r4, r28
|
|
/* 80082E3C 0007EC7C 38 A0 00 03 */ li r5, 0x3
|
|
/* 80082E40 0007EC80 4B F8 11 C1 */ bl memcpy
|
|
/* 80082E44 0007EC84 38 61 00 0B */ addi r3, r1, 0xb
|
|
/* 80082E48 0007EC88 38 9C 00 03 */ addi r4, r28, 0x3
|
|
/* 80082E4C 0007EC8C 38 A0 00 03 */ li r5, 0x3
|
|
/* 80082E50 0007EC90 4B F8 11 B1 */ bl memcpy
|
|
/* 80082E54 0007EC94 48 00 00 1C */ b lbl_80082E70
|
|
.global lbl_80082E58
|
|
lbl_80082E58:
|
|
/* 80082E58 0007EC98 7F 9D E3 78 */ mr r29, r28
|
|
/* 80082E5C 0007EC9C 48 00 00 14 */ b lbl_80082E70
|
|
.global lbl_80082E60
|
|
lbl_80082E60:
|
|
/* 80082E60 0007ECA0 3B C0 00 00 */ li r30, 0x0
|
|
/* 80082E64 0007ECA4 48 00 00 0C */ b lbl_80082E70
|
|
.global lbl_80082E68
|
|
lbl_80082E68:
|
|
/* 80082E68 0007ECA8 38 60 00 05 */ li r3, 0x5
|
|
/* 80082E6C 0007ECAC 48 00 00 38 */ b lbl_80082EA4
|
|
.global lbl_80082E70
|
|
lbl_80082E70:
|
|
/* 80082E70 0007ECB0 3C 80 80 4F */ lis r4, btm_cb@ha
|
|
/* 80082E74 0007ECB4 38 00 00 01 */ li r0, 0x1
|
|
/* 80082E78 0007ECB8 38 84 5F 58 */ addi r4, r4, btm_cb@l
|
|
/* 80082E7C 0007ECBC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80082E80 0007ECC0 98 04 18 44 */ stb r0, 0x1844(r4)
|
|
/* 80082E84 0007ECC4 7F 65 DB 78 */ mr r5, r27
|
|
/* 80082E88 0007ECC8 7F A6 EB 78 */ mr r6, r29
|
|
/* 80082E8C 0007ECCC 7F C7 F3 78 */ mr r7, r30
|
|
/* 80082E90 0007ECD0 38 80 00 01 */ li r4, 0x1
|
|
/* 80082E94 0007ECD4 48 00 8D E5 */ bl btsnd_hcic_set_event_filter
|
|
/* 80082E98 0007ECD8 38 60 00 01 */ li r3, 0x1
|
|
/* 80082E9C 0007ECDC 48 00 00 08 */ b lbl_80082EA4
|
|
.global lbl_80082EA0
|
|
lbl_80082EA0:
|
|
/* 80082EA0 0007ECE0 38 60 00 03 */ li r3, 0x3
|
|
.global lbl_80082EA4
|
|
lbl_80082EA4:
|
|
/* 80082EA4 0007ECE4 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80082EA8 0007ECE8 4B F8 44 E1 */ bl lbl_80007388
|
|
/* 80082EAC 0007ECEC 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80082EB0 0007ECF0 7C 08 03 A6 */ mtlr r0
|
|
/* 80082EB4 0007ECF4 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80082EB8 0007ECF8 4E 80 00 20 */ blr
|
|
.global btm_event_filter_complete
|
|
btm_event_filter_complete:
|
|
/* 80082EBC 0007ECFC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80082EC0 0007ED00 7C 08 02 A6 */ mflr r0
|
|
/* 80082EC4 0007ED04 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80082EC8 0007ED08 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80082ECC 0007ED0C 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80082ED0 0007ED10 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80082ED4 0007ED14 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80082ED8 0007ED18 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80082EDC 0007ED1C 88 9F 18 45 */ lbz r4, 0x1845(r31)
|
|
/* 80082EE0 0007ED20 83 BF 16 B8 */ lwz r29, 0x16b8(r31)
|
|
/* 80082EE4 0007ED24 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 80082EE8 0007ED28 41 82 00 10 */ beq lbl_80082EF8
|
|
/* 80082EEC 0007ED2C 38 04 FF FF */ addi r0, r4, -0x1
|
|
/* 80082EF0 0007ED30 98 1F 18 45 */ stb r0, 0x1845(r31)
|
|
/* 80082EF4 0007ED34 48 00 01 CC */ b lbl_800830C0
|
|
.global lbl_80082EF8
|
|
lbl_80082EF8:
|
|
/* 80082EF8 0007ED38 88 1F 18 44 */ lbz r0, 0x1844(r31)
|
|
/* 80082EFC 0007ED3C 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80082F00 0007ED40 40 82 01 C0 */ bne lbl_800830C0
|
|
/* 80082F04 0007ED44 88 A3 00 00 */ lbz r5, 0x0(r3)
|
|
/* 80082F08 0007ED48 2C 05 00 00 */ cmpwi r5, 0x0
|
|
/* 80082F0C 0007ED4C 41 82 00 30 */ beq lbl_80082F3C
|
|
/* 80082F10 0007ED50 88 1F 27 C0 */ lbz r0, 0x27c0(r31)
|
|
/* 80082F14 0007ED54 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 80082F18 0007ED58 41 80 00 18 */ blt lbl_80082F30
|
|
/* 80082F1C 0007ED5C 3C 60 00 0D */ lis r3, 0xd
|
|
/* 80082F20 0007ED60 3C 80 80 44 */ lis r4, "@2602_8043BEC8"@ha
|
|
/* 80082F24 0007ED64 38 63 00 01 */ addi r3, r3, 0x1
|
|
/* 80082F28 0007ED68 38 84 BE C8 */ addi r4, r4, "@2602_8043BEC8"@l
|
|
/* 80082F2C 0007ED6C 4B FF 4A 35 */ bl LogMsg_0
|
|
.global lbl_80082F30
|
|
lbl_80082F30:
|
|
/* 80082F30 0007ED70 38 00 00 0A */ li r0, 0xa
|
|
/* 80082F34 0007ED74 98 01 00 08 */ stb r0, 0x8(r1)
|
|
/* 80082F38 0007ED78 48 00 00 0C */ b lbl_80082F44
|
|
.global lbl_80082F3C
|
|
lbl_80082F3C:
|
|
/* 80082F3C 0007ED7C 38 00 00 00 */ li r0, 0x0
|
|
/* 80082F40 0007ED80 98 01 00 08 */ stb r0, 0x8(r1)
|
|
.global lbl_80082F44
|
|
lbl_80082F44:
|
|
/* 80082F44 0007ED84 88 7F 18 47 */ lbz r3, 0x1847(r31)
|
|
/* 80082F48 0007ED88 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80082F4C 0007ED8C 40 82 00 28 */ bne lbl_80082F74
|
|
/* 80082F50 0007ED90 38 00 00 00 */ li r0, 0x0
|
|
/* 80082F54 0007ED94 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80082F58 0007ED98 98 1F 18 44 */ stb r0, 0x1844(r31)
|
|
/* 80082F5C 0007ED9C 41 82 01 64 */ beq lbl_800830C0
|
|
/* 80082F60 0007EDA0 7F AC EB 78 */ mr r12, r29
|
|
/* 80082F64 0007EDA4 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80082F68 0007EDA8 7D 89 03 A6 */ mtctr r12
|
|
/* 80082F6C 0007EDAC 4E 80 04 21 */ bctrl
|
|
/* 80082F70 0007EDB0 48 00 01 50 */ b lbl_800830C0
|
|
.global lbl_80082F74
|
|
lbl_80082F74:
|
|
/* 80082F74 0007EDB4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80082F78 0007EDB8 41 82 00 20 */ beq lbl_80082F98
|
|
/* 80082F7C 0007EDBC 38 60 00 0A */ li r3, 0xa
|
|
/* 80082F80 0007EDC0 48 00 03 D5 */ bl btm_process_inq_complete
|
|
/* 80082F84 0007EDC4 38 00 00 00 */ li r0, 0x0
|
|
/* 80082F88 0007EDC8 98 1F 18 44 */ stb r0, 0x1844(r31)
|
|
/* 80082F8C 0007EDCC 98 1F 18 48 */ stb r0, 0x1848(r31)
|
|
/* 80082F90 0007EDD0 98 1F 18 47 */ stb r0, 0x1847(r31)
|
|
/* 80082F94 0007EDD4 48 00 01 2C */ b lbl_800830C0
|
|
.global lbl_80082F98
|
|
lbl_80082F98:
|
|
/* 80082F98 0007EDD8 28 03 00 01 */ cmplwi r3, 0x1
|
|
/* 80082F9C 0007EDDC 40 82 00 40 */ bne lbl_80082FDC
|
|
/* 80082FA0 0007EDE0 88 7F 18 37 */ lbz r3, 0x1837(r31)
|
|
/* 80082FA4 0007EDE4 38 9F 18 38 */ addi r4, r31, 0x1838
|
|
/* 80082FA8 0007EDE8 4B FF FE 31 */ bl btm_set_inq_event_filter
|
|
/* 80082FAC 0007EDEC 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 80082FB0 0007EDF0 98 61 00 08 */ stb r3, 0x8(r1)
|
|
/* 80082FB4 0007EDF4 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80082FB8 0007EDF8 40 82 00 10 */ bne lbl_80082FC8
|
|
/* 80082FBC 0007EDFC 38 00 00 02 */ li r0, 0x2
|
|
/* 80082FC0 0007EE00 98 1F 18 47 */ stb r0, 0x1847(r31)
|
|
/* 80082FC4 0007EE04 48 00 00 FC */ b lbl_800830C0
|
|
.global lbl_80082FC8
|
|
lbl_80082FC8:
|
|
/* 80082FC8 0007EE08 38 00 00 00 */ li r0, 0x0
|
|
/* 80082FCC 0007EE0C 38 60 00 0A */ li r3, 0xa
|
|
/* 80082FD0 0007EE10 98 1F 18 44 */ stb r0, 0x1844(r31)
|
|
/* 80082FD4 0007EE14 48 00 03 81 */ bl btm_process_inq_complete
|
|
/* 80082FD8 0007EE18 48 00 00 E8 */ b lbl_800830C0
|
|
.global lbl_80082FDC
|
|
lbl_80082FDC:
|
|
/* 80082FDC 0007EE1C 88 9F 18 36 */ lbz r4, 0x1836(r31)
|
|
/* 80082FE0 0007EE20 38 00 00 03 */ li r0, 0x3
|
|
/* 80082FE4 0007EE24 38 60 00 00 */ li r3, 0x0
|
|
/* 80082FE8 0007EE28 98 1F 18 47 */ stb r0, 0x1847(r31)
|
|
/* 80082FEC 0007EE2C 28 04 00 0C */ cmplwi r4, 0xc
|
|
/* 80082FF0 0007EE30 38 00 00 0C */ li r0, 0xc
|
|
/* 80082FF4 0007EE34 98 7F 18 44 */ stb r3, 0x1844(r31)
|
|
/* 80082FF8 0007EE38 41 81 00 08 */ bgt lbl_80083000
|
|
/* 80082FFC 0007EE3C 7C 80 23 78 */ mr r0, r4
|
|
.global lbl_80083000
|
|
lbl_80083000:
|
|
/* 80083000 0007EE40 88 7F 18 48 */ lbz r3, 0x1848(r31)
|
|
/* 80083004 0007EE44 3B A2 89 C0 */ addi r29, r2, general_inq_lap@sda21
|
|
/* 80083008 0007EE48 98 1F 18 36 */ stb r0, 0x1836(r31)
|
|
/* 8008300C 0007EE4C 54 60 07 FF */ clrlwi. r0, r3, 31
|
|
/* 80083010 0007EE50 41 82 00 08 */ beq lbl_80083018
|
|
/* 80083014 0007EE54 3B A2 89 C4 */ addi r29, r2, limited_inq_lap@sda21
|
|
.global lbl_80083018
|
|
lbl_80083018:
|
|
/* 80083018 0007EE58 54 60 07 7B */ rlwinm. r0, r3, 0, 29, 29
|
|
/* 8008301C 0007EE5C 41 82 00 30 */ beq lbl_8008304C
|
|
/* 80083020 0007EE60 A0 7F 18 42 */ lhz r3, 0x1842(r31)
|
|
/* 80083024 0007EE64 7F A5 EB 78 */ mr r5, r29
|
|
/* 80083028 0007EE68 A0 9F 18 40 */ lhz r4, 0x1840(r31)
|
|
/* 8008302C 0007EE6C 88 DF 18 35 */ lbz r6, 0x1835(r31)
|
|
/* 80083030 0007EE70 88 FF 18 36 */ lbz r7, 0x1836(r31)
|
|
/* 80083034 0007EE74 48 00 78 6D */ bl btsnd_hcic_per_inq_mode
|
|
/* 80083038 0007EE78 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 8008303C 0007EE7C 40 82 00 84 */ bne lbl_800830C0
|
|
/* 80083040 0007EE80 38 60 00 03 */ li r3, 0x3
|
|
/* 80083044 0007EE84 48 00 03 11 */ bl btm_process_inq_complete
|
|
/* 80083048 0007EE88 48 00 00 78 */ b lbl_800830C0
|
|
.global lbl_8008304C
|
|
lbl_8008304C:
|
|
/* 8008304C 0007EE8C 3F C0 80 4F */ lis r30, btm_cb@ha
|
|
/* 80083050 0007EE90 3B DE 5F 58 */ addi r30, r30, btm_cb@l
|
|
/* 80083054 0007EE94 80 7E 16 DC */ lwz r3, 0x16dc(r30)
|
|
/* 80083058 0007EE98 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8008305C 0007EE9C 41 82 00 10 */ beq lbl_8008306C
|
|
/* 80083060 0007EEA0 4B FF 1E B1 */ bl GKI_freebuf
|
|
/* 80083064 0007EEA4 38 00 00 00 */ li r0, 0x0
|
|
/* 80083068 0007EEA8 90 1E 16 DC */ stw r0, 0x16dc(r30)
|
|
.global lbl_8008306C
|
|
lbl_8008306C:
|
|
/* 8008306C 0007EEAC 38 00 00 00 */ li r0, 0x0
|
|
/* 80083070 0007EEB0 38 60 07 08 */ li r3, 0x708
|
|
/* 80083074 0007EEB4 B0 1E 16 E0 */ sth r0, 0x16e0(r30)
|
|
/* 80083078 0007EEB8 B0 1E 16 E2 */ sth r0, 0x16e2(r30)
|
|
/* 8008307C 0007EEBC 4B FF 1C 05 */ bl GKI_getbuf
|
|
/* 80083080 0007EEC0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80083084 0007EEC4 90 7F 16 DC */ stw r3, 0x16dc(r31)
|
|
/* 80083088 0007EEC8 41 82 00 18 */ beq lbl_800830A0
|
|
/* 8008308C 0007EECC 38 00 00 96 */ li r0, 0x96
|
|
/* 80083090 0007EED0 38 80 00 00 */ li r4, 0x0
|
|
/* 80083094 0007EED4 B0 1F 16 E2 */ sth r0, 0x16e2(r31)
|
|
/* 80083098 0007EED8 38 A0 07 08 */ li r5, 0x708
|
|
/* 8008309C 0007EEDC 4B F8 12 B5 */ bl memset
|
|
.global lbl_800830A0
|
|
lbl_800830A0:
|
|
/* 800830A0 0007EEE0 88 9F 18 35 */ lbz r4, 0x1835(r31)
|
|
/* 800830A4 0007EEE4 7F A3 EB 78 */ mr r3, r29
|
|
/* 800830A8 0007EEE8 38 A0 00 00 */ li r5, 0x0
|
|
/* 800830AC 0007EEEC 48 00 76 ED */ bl btsnd_hcic_inquiry
|
|
/* 800830B0 0007EEF0 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 800830B4 0007EEF4 40 82 00 0C */ bne lbl_800830C0
|
|
/* 800830B8 0007EEF8 38 60 00 03 */ li r3, 0x3
|
|
/* 800830BC 0007EEFC 48 00 02 99 */ bl btm_process_inq_complete
|
|
.global lbl_800830C0
|
|
lbl_800830C0:
|
|
/* 800830C0 0007EF00 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800830C4 0007EF04 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800830C8 0007EF08 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800830CC 0007EF0C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 800830D0 0007EF10 7C 08 03 A6 */ mtlr r0
|
|
/* 800830D4 0007EF14 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800830D8 0007EF18 4E 80 00 20 */ blr
|
|
.global btm_process_inq_results
|
|
btm_process_inq_results:
|
|
/* 800830DC 0007EF1C 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 800830E0 0007EF20 7C 08 02 A6 */ mflr r0
|
|
/* 800830E4 0007EF24 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 800830E8 0007EF28 39 61 00 60 */ addi r11, r1, 0x60
|
|
/* 800830EC 0007EF2C 4B F8 42 25 */ bl lbl_80007310
|
|
/* 800830F0 0007EF30 3C A0 80 4F */ lis r5, btm_cb@ha
|
|
/* 800830F4 0007EF34 7C 92 23 78 */ mr r18, r4
|
|
/* 800830F8 0007EF38 3B 65 5F 58 */ addi r27, r5, btm_cb@l
|
|
/* 800830FC 0007EF3C 3A E0 00 01 */ li r23, 0x1
|
|
/* 80083100 0007EF40 88 1B 18 48 */ lbz r0, 0x1848(r27)
|
|
/* 80083104 0007EF44 3A A0 00 00 */ li r21, 0x0
|
|
/* 80083108 0007EF48 82 DB 16 B4 */ lwz r22, 0x16b4(r27)
|
|
/* 8008310C 0007EF4C 3A 80 00 00 */ li r20, 0x0
|
|
/* 80083110 0007EF50 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80083114 0007EF54 41 82 02 28 */ beq lbl_8008333C
|
|
/* 80083118 0007EF58 8B 83 00 00 */ lbz r28, 0x0(r3)
|
|
/* 8008311C 0007EF5C 3A 23 00 01 */ addi r17, r3, 0x1
|
|
/* 80083120 0007EF60 3B 40 00 00 */ li r26, 0x0
|
|
/* 80083124 0007EF64 3B E0 00 7F */ li r31, 0x7f
|
|
/* 80083128 0007EF68 3A 00 00 00 */ li r16, 0x0
|
|
/* 8008312C 0007EF6C 48 00 02 04 */ b lbl_80083330
|
|
.global lbl_80083130
|
|
lbl_80083130:
|
|
/* 80083130 0007EF70 88 11 00 00 */ lbz r0, 0x0(r17)
|
|
/* 80083134 0007EF74 2C 12 00 00 */ cmpwi r18, 0x0
|
|
/* 80083138 0007EF78 98 01 00 11 */ stb r0, 0x11(r1)
|
|
/* 8008313C 0007EF7C 88 11 00 01 */ lbz r0, 0x1(r17)
|
|
/* 80083140 0007EF80 98 01 00 10 */ stb r0, 0x10(r1)
|
|
/* 80083144 0007EF84 88 11 00 02 */ lbz r0, 0x2(r17)
|
|
/* 80083148 0007EF88 98 01 00 0F */ stb r0, 0xf(r1)
|
|
/* 8008314C 0007EF8C 88 11 00 03 */ lbz r0, 0x3(r17)
|
|
/* 80083150 0007EF90 98 01 00 0E */ stb r0, 0xe(r1)
|
|
/* 80083154 0007EF94 88 11 00 04 */ lbz r0, 0x4(r17)
|
|
/* 80083158 0007EF98 98 01 00 0D */ stb r0, 0xd(r1)
|
|
/* 8008315C 0007EF9C 88 11 00 05 */ lbz r0, 0x5(r17)
|
|
/* 80083160 0007EFA0 98 01 00 0C */ stb r0, 0xc(r1)
|
|
/* 80083164 0007EFA4 8B B1 00 06 */ lbz r29, 0x6(r17)
|
|
/* 80083168 0007EFA8 8B D1 00 07 */ lbz r30, 0x7(r17)
|
|
/* 8008316C 0007EFAC 3A 31 00 08 */ addi r17, r17, 0x8
|
|
/* 80083170 0007EFB0 40 82 00 0C */ bne lbl_8008317C
|
|
/* 80083174 0007EFB4 8A B1 00 00 */ lbz r21, 0x0(r17)
|
|
/* 80083178 0007EFB8 3A 31 00 01 */ addi r17, r17, 0x1
|
|
.global lbl_8008317C
|
|
lbl_8008317C:
|
|
/* 8008317C 0007EFBC 88 11 00 00 */ lbz r0, 0x0(r17)
|
|
/* 80083180 0007EFC0 2C 12 00 00 */ cmpwi r18, 0x0
|
|
/* 80083184 0007EFC4 98 01 00 0A */ stb r0, 0xa(r1)
|
|
/* 80083188 0007EFC8 88 11 00 01 */ lbz r0, 0x1(r17)
|
|
/* 8008318C 0007EFCC 98 01 00 09 */ stb r0, 0x9(r1)
|
|
/* 80083190 0007EFD0 88 11 00 02 */ lbz r0, 0x2(r17)
|
|
/* 80083194 0007EFD4 98 01 00 08 */ stb r0, 0x8(r1)
|
|
/* 80083198 0007EFD8 88 11 00 04 */ lbz r0, 0x4(r17)
|
|
/* 8008319C 0007EFDC 88 71 00 03 */ lbz r3, 0x3(r17)
|
|
/* 800831A0 0007EFE0 3A 31 00 05 */ addi r17, r17, 0x5
|
|
/* 800831A4 0007EFE4 54 00 40 2E */ slwi r0, r0, 8
|
|
/* 800831A8 0007EFE8 7C 03 02 14 */ add r0, r3, r0
|
|
/* 800831AC 0007EFEC 54 13 04 3E */ clrlwi r19, r0, 16
|
|
/* 800831B0 0007EFF0 41 82 00 0C */ beq lbl_800831BC
|
|
/* 800831B4 0007EFF4 8A 91 00 00 */ lbz r20, 0x0(r17)
|
|
/* 800831B8 0007EFF8 3A 31 00 01 */ addi r17, r17, 0x1
|
|
.global lbl_800831BC
|
|
lbl_800831BC:
|
|
/* 800831BC 0007EFFC 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 800831C0 0007F000 4B FF FA 39 */ bl btm_inq_find_bdaddr
|
|
/* 800831C4 0007F004 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 800831C8 0007F008 40 82 01 64 */ bne lbl_8008332C
|
|
/* 800831CC 0007F00C 81 9B 18 4C */ lwz r12, 0x184c(r27)
|
|
/* 800831D0 0007F010 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 800831D4 0007F014 41 82 00 1C */ beq lbl_800831F0
|
|
/* 800831D8 0007F018 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 800831DC 0007F01C 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 800831E0 0007F020 7D 89 03 A6 */ mtctr r12
|
|
/* 800831E4 0007F024 4E 80 04 21 */ bctrl
|
|
/* 800831E8 0007F028 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 800831EC 0007F02C 41 82 01 40 */ beq lbl_8008332C
|
|
.global lbl_800831F0
|
|
lbl_800831F0:
|
|
/* 800831F0 0007F030 3B 3B 16 E4 */ addi r25, r27, 0x16e4
|
|
/* 800831F4 0007F034 3B 00 00 00 */ li r24, 0x0
|
|
.global lbl_800831F8
|
|
lbl_800831F8:
|
|
/* 800831F8 0007F038 88 19 00 1A */ lbz r0, 0x1a(r25)
|
|
/* 800831FC 0007F03C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80083200 0007F040 41 82 00 20 */ beq lbl_80083220
|
|
/* 80083204 0007F044 38 79 00 0A */ addi r3, r25, 0xa
|
|
/* 80083208 0007F048 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8008320C 0007F04C 38 A0 00 06 */ li r5, 0x6
|
|
/* 80083210 0007F050 4B F8 7C 61 */ bl memcmp
|
|
/* 80083214 0007F054 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80083218 0007F058 40 82 00 08 */ bne lbl_80083220
|
|
/* 8008321C 0007F05C 48 00 00 18 */ b lbl_80083234
|
|
.global lbl_80083220
|
|
lbl_80083220:
|
|
/* 80083220 0007F060 3B 18 00 01 */ addi r24, r24, 0x1
|
|
/* 80083224 0007F064 3B 39 00 1C */ addi r25, r25, 0x1c
|
|
/* 80083228 0007F068 28 18 00 0C */ cmplwi r24, 0xc
|
|
/* 8008322C 0007F06C 41 80 FF CC */ blt lbl_800831F8
|
|
/* 80083230 0007F070 3B 20 00 00 */ li r25, 0x0
|
|
.global lbl_80083234
|
|
lbl_80083234:
|
|
/* 80083234 0007F074 2C 19 00 00 */ cmpwi r25, 0x0
|
|
/* 80083238 0007F078 40 82 00 18 */ bne lbl_80083250
|
|
/* 8008323C 0007F07C 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 80083240 0007F080 4B FF FA 95 */ bl btm_inq_db_new
|
|
/* 80083244 0007F084 7C 79 1B 78 */ mr r25, r3
|
|
/* 80083248 0007F088 3A E0 00 01 */ li r23, 0x1
|
|
/* 8008324C 0007F08C 48 00 00 18 */ b lbl_80083264
|
|
.global lbl_80083250
|
|
lbl_80083250:
|
|
/* 80083250 0007F090 80 79 00 04 */ lwz r3, 0x4(r25)
|
|
/* 80083254 0007F094 80 1B 16 C0 */ lwz r0, 0x16c0(r27)
|
|
/* 80083258 0007F098 7C 03 00 40 */ cmplw r3, r0
|
|
/* 8008325C 0007F09C 40 82 00 08 */ bne lbl_80083264
|
|
/* 80083260 0007F0A0 3A E0 00 00 */ li r23, 0x0
|
|
.global lbl_80083264
|
|
lbl_80083264:
|
|
/* 80083264 0007F0A4 28 17 00 01 */ cmplwi r23, 0x1
|
|
/* 80083268 0007F0A8 40 82 00 C4 */ bne lbl_8008332C
|
|
/* 8008326C 0007F0AC 9B B9 00 13 */ stb r29, 0x13(r25)
|
|
/* 80083270 0007F0B0 2C 12 00 00 */ cmpwi r18, 0x0
|
|
/* 80083274 0007F0B4 88 A1 00 08 */ lbz r5, 0x8(r1)
|
|
/* 80083278 0007F0B8 62 60 80 00 */ ori r0, r19, 0x8000
|
|
/* 8008327C 0007F0BC 9B D9 00 14 */ stb r30, 0x14(r25)
|
|
/* 80083280 0007F0C0 3B 19 00 08 */ addi r24, r25, 0x8
|
|
/* 80083284 0007F0C4 88 81 00 09 */ lbz r4, 0x9(r1)
|
|
/* 80083288 0007F0C8 9A B9 00 15 */ stb r21, 0x15(r25)
|
|
/* 8008328C 0007F0CC 88 61 00 0A */ lbz r3, 0xa(r1)
|
|
/* 80083290 0007F0D0 98 B9 00 10 */ stb r5, 0x10(r25)
|
|
/* 80083294 0007F0D4 98 99 00 11 */ stb r4, 0x11(r25)
|
|
/* 80083298 0007F0D8 98 79 00 12 */ stb r3, 0x12(r25)
|
|
/* 8008329C 0007F0DC B0 19 00 08 */ sth r0, 0x8(r25)
|
|
/* 800832A0 0007F0E0 41 82 00 0C */ beq lbl_800832AC
|
|
/* 800832A4 0007F0E4 9A 98 00 0E */ stb r20, 0xe(r24)
|
|
/* 800832A8 0007F0E8 48 00 00 08 */ b lbl_800832B0
|
|
.global lbl_800832AC
|
|
lbl_800832AC:
|
|
/* 800832AC 0007F0EC 9B F8 00 0E */ stb r31, 0xe(r24)
|
|
.global lbl_800832B0
|
|
lbl_800832B0:
|
|
/* 800832B0 0007F0F0 4B FF 2A 41 */ bl GKI_get_tick_count
|
|
/* 800832B4 0007F0F4 90 79 00 00 */ stw r3, 0x0(r25)
|
|
/* 800832B8 0007F0F8 80 1B 16 C0 */ lwz r0, 0x16c0(r27)
|
|
/* 800832BC 0007F0FC 90 19 00 04 */ stw r0, 0x4(r25)
|
|
/* 800832C0 0007F100 88 1B 18 48 */ lbz r0, 0x1848(r27)
|
|
/* 800832C4 0007F104 88 7B 18 3F */ lbz r3, 0x183f(r27)
|
|
/* 800832C8 0007F108 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
|
|
/* 800832CC 0007F10C 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 800832D0 0007F110 98 1B 18 3F */ stb r0, 0x183f(r27)
|
|
/* 800832D4 0007F114 40 82 00 20 */ bne lbl_800832F4
|
|
/* 800832D8 0007F118 88 7B 18 36 */ lbz r3, 0x1836(r27)
|
|
/* 800832DC 0007F11C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800832E0 0007F120 41 82 00 14 */ beq lbl_800832F4
|
|
/* 800832E4 0007F124 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 800832E8 0007F128 7C 00 18 40 */ cmplw r0, r3
|
|
/* 800832EC 0007F12C 40 82 00 08 */ bne lbl_800832F4
|
|
/* 800832F0 0007F130 48 00 75 51 */ bl btsnd_hcic_inq_cancel
|
|
.global lbl_800832F4
|
|
lbl_800832F4:
|
|
/* 800832F4 0007F134 2C 16 00 00 */ cmpwi r22, 0x0
|
|
/* 800832F8 0007F138 9A 19 00 18 */ stb r16, 0x18(r25)
|
|
/* 800832FC 0007F13C 41 82 00 14 */ beq lbl_80083310
|
|
/* 80083300 0007F140 7E CC B3 78 */ mr r12, r22
|
|
/* 80083304 0007F144 7F 03 C3 78 */ mr r3, r24
|
|
/* 80083308 0007F148 7D 89 03 A6 */ mtctr r12
|
|
/* 8008330C 0007F14C 4E 80 04 21 */ bctrl
|
|
.global lbl_80083310
|
|
lbl_80083310:
|
|
/* 80083310 0007F150 81 9B 16 BC */ lwz r12, 0x16bc(r27)
|
|
/* 80083314 0007F154 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80083318 0007F158 41 82 00 14 */ beq lbl_8008332C
|
|
/* 8008331C 0007F15C 38 79 00 08 */ addi r3, r25, 0x8
|
|
/* 80083320 0007F160 38 80 00 01 */ li r4, 0x1
|
|
/* 80083324 0007F164 7D 89 03 A6 */ mtctr r12
|
|
/* 80083328 0007F168 4E 80 04 21 */ bctrl
|
|
.global lbl_8008332C
|
|
lbl_8008332C:
|
|
/* 8008332C 0007F16C 3B 5A 00 01 */ addi r26, r26, 0x1
|
|
.global lbl_80083330
|
|
lbl_80083330:
|
|
/* 80083330 0007F170 57 40 06 3E */ clrlwi r0, r26, 24
|
|
/* 80083334 0007F174 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 80083338 0007F178 41 80 FD F8 */ blt lbl_80083130
|
|
.global lbl_8008333C
|
|
lbl_8008333C:
|
|
/* 8008333C 0007F17C 39 61 00 60 */ addi r11, r1, 0x60
|
|
/* 80083340 0007F180 4B F8 40 1D */ bl lbl_8000735C
|
|
/* 80083344 0007F184 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 80083348 0007F188 7C 08 03 A6 */ mtlr r0
|
|
/* 8008334C 0007F18C 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 80083350 0007F190 4E 80 00 20 */ blr
|
|
.global btm_process_inq_complete
|
|
btm_process_inq_complete:
|
|
/* 80083354 0007F194 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80083358 0007F198 7C 08 02 A6 */ mflr r0
|
|
/* 8008335C 0007F19C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80083360 0007F1A0 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80083364 0007F1A4 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80083368 0007F1A8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8008336C 0007F1AC 3F A0 80 4F */ lis r29, btm_cb@ha
|
|
/* 80083370 0007F1B0 3B BD 5F 58 */ addi r29, r29, btm_cb@l
|
|
/* 80083374 0007F1B4 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80083378 0007F1B8 88 1D 18 48 */ lbz r0, 0x1848(r29)
|
|
/* 8008337C 0007F1BC 83 9D 16 B0 */ lwz r28, 0x16b0(r29)
|
|
/* 80083380 0007F1C0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80083384 0007F1C4 41 82 00 B4 */ beq lbl_80083438
|
|
/* 80083388 0007F1C8 80 9D 16 C0 */ lwz r4, 0x16c0(r29)
|
|
/* 8008338C 0007F1CC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80083390 0007F1D0 38 60 00 0A */ li r3, 0xa
|
|
/* 80083394 0007F1D4 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 80083398 0007F1D8 90 1D 16 C0 */ stw r0, 0x16c0(r29)
|
|
/* 8008339C 0007F1DC 40 82 00 08 */ bne lbl_800833A4
|
|
/* 800833A0 0007F1E0 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_800833A4
|
|
lbl_800833A4:
|
|
/* 800833A4 0007F1E4 88 1D 18 48 */ lbz r0, 0x1848(r29)
|
|
/* 800833A8 0007F1E8 98 7D 18 3E */ stb r3, 0x183e(r29)
|
|
/* 800833AC 0007F1EC 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
|
|
/* 800833B0 0007F1F0 40 82 00 88 */ bne lbl_80083438
|
|
/* 800833B4 0007F1F4 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 800833B8 0007F1F8 3B C0 00 00 */ li r30, 0x0
|
|
/* 800833BC 0007F1FC 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 800833C0 0007F200 93 DD 16 B4 */ stw r30, 0x16b4(r29)
|
|
/* 800833C4 0007F204 80 7F 16 DC */ lwz r3, 0x16dc(r31)
|
|
/* 800833C8 0007F208 9B DD 18 48 */ stb r30, 0x1848(r29)
|
|
/* 800833CC 0007F20C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800833D0 0007F210 9B DD 18 47 */ stb r30, 0x1847(r29)
|
|
/* 800833D4 0007F214 93 DD 16 B0 */ stw r30, 0x16b0(r29)
|
|
/* 800833D8 0007F218 41 82 00 0C */ beq lbl_800833E4
|
|
/* 800833DC 0007F21C 4B FF 1B 35 */ bl GKI_freebuf
|
|
/* 800833E0 0007F220 93 DF 16 DC */ stw r30, 0x16dc(r31)
|
|
.global lbl_800833E4
|
|
lbl_800833E4:
|
|
/* 800833E4 0007F224 3C 60 80 4F */ lis r3, btm_cb@ha
|
|
/* 800833E8 0007F228 38 80 00 00 */ li r4, 0x0
|
|
/* 800833EC 0007F22C 38 63 5F 58 */ addi r3, r3, btm_cb@l
|
|
/* 800833F0 0007F230 B0 9F 16 E0 */ sth r4, 0x16e0(r31)
|
|
/* 800833F4 0007F234 88 03 27 C0 */ lbz r0, 0x27c0(r3)
|
|
/* 800833F8 0007F238 B0 9F 16 E2 */ sth r4, 0x16e2(r31)
|
|
/* 800833FC 0007F23C 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 80083400 0007F240 41 80 00 20 */ blt lbl_80083420
|
|
/* 80083404 0007F244 3C 60 00 0D */ lis r3, 0xd
|
|
/* 80083408 0007F248 3C 80 80 44 */ lis r4, "@2672_8043BF04"@ha
|
|
/* 8008340C 0007F24C 88 BD 18 3E */ lbz r5, 0x183e(r29)
|
|
/* 80083410 0007F250 38 63 00 04 */ addi r3, r3, 0x4
|
|
/* 80083414 0007F254 88 DD 18 3F */ lbz r6, 0x183f(r29)
|
|
/* 80083418 0007F258 38 84 BF 04 */ addi r4, r4, "@2672_8043BF04"@l
|
|
/* 8008341C 0007F25C 4B FF 45 45 */ bl LogMsg_0
|
|
.global lbl_80083420
|
|
lbl_80083420:
|
|
/* 80083420 0007F260 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 80083424 0007F264 41 82 00 14 */ beq lbl_80083438
|
|
/* 80083428 0007F268 7F 8C E3 78 */ mr r12, r28
|
|
/* 8008342C 0007F26C 38 7D 18 3E */ addi r3, r29, 0x183e
|
|
/* 80083430 0007F270 7D 89 03 A6 */ mtctr r12
|
|
/* 80083434 0007F274 4E 80 04 21 */ bctrl
|
|
.global lbl_80083438
|
|
lbl_80083438:
|
|
/* 80083438 0007F278 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8008343C 0007F27C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80083440 0007F280 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80083444 0007F284 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80083448 0007F288 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 8008344C 0007F28C 7C 08 03 A6 */ mtlr r0
|
|
/* 80083450 0007F290 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80083454 0007F294 4E 80 00 20 */ blr
|
|
.global btm_initiate_rem_name
|
|
btm_initiate_rem_name:
|
|
/* 80083458 0007F298 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8008345C 0007F29C 7C 08 02 A6 */ mflr r0
|
|
/* 80083460 0007F2A0 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80083464 0007F2A4 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80083468 0007F2A8 4B F8 3E C5 */ bl lbl_8000732C
|
|
/* 8008346C 0007F2AC 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 80083470 0007F2B0 7C 77 1B 78 */ mr r23, r3
|
|
/* 80083474 0007F2B4 7C 98 23 78 */ mr r24, r4
|
|
/* 80083478 0007F2B8 7C B9 2B 78 */ mr r25, r5
|
|
/* 8008347C 0007F2BC 7C DA 33 78 */ mr r26, r6
|
|
/* 80083480 0007F2C0 7C FB 3B 78 */ mr r27, r7
|
|
/* 80083484 0007F2C4 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 80083488 0007F2C8 3B C0 00 01 */ li r30, 0x1
|
|
/* 8008348C 0007F2CC 3B A0 00 01 */ li r29, 0x1
|
|
/* 80083490 0007F2D0 3B 80 00 01 */ li r28, 0x1
|
|
/* 80083494 0007F2D4 4B FF CF F5 */ bl BTM_IsDeviceUp
|
|
/* 80083498 0007F2D8 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 8008349C 0007F2DC 40 82 00 0C */ bne lbl_800834A8
|
|
/* 800834A0 0007F2E0 38 60 00 06 */ li r3, 0x6
|
|
/* 800834A4 0007F2E4 48 00 00 EC */ b lbl_80083590
|
|
.global lbl_800834A8
|
|
lbl_800834A8:
|
|
/* 800834A8 0007F2E8 88 7F 16 AE */ lbz r3, 0x16ae(r31)
|
|
/* 800834AC 0007F2EC 7C 60 C8 39 */ and. r0, r3, r25
|
|
/* 800834B0 0007F2F0 40 82 00 D8 */ bne lbl_80083588
|
|
/* 800834B4 0007F2F4 28 19 00 01 */ cmplwi r25, 0x1
|
|
/* 800834B8 0007F2F8 40 82 00 3C */ bne lbl_800834F4
|
|
/* 800834BC 0007F2FC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800834C0 0007F300 41 82 00 2C */ beq lbl_800834EC
|
|
/* 800834C4 0007F304 7E E3 BB 78 */ mr r3, r23
|
|
/* 800834C8 0007F308 38 9F 16 A8 */ addi r4, r31, 0x16a8
|
|
/* 800834CC 0007F30C 38 A0 00 06 */ li r5, 0x6
|
|
/* 800834D0 0007F310 4B F8 79 A1 */ bl memcmp
|
|
/* 800834D4 0007F314 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800834D8 0007F318 40 82 00 0C */ bne lbl_800834E4
|
|
/* 800834DC 0007F31C 3B C0 00 00 */ li r30, 0x0
|
|
/* 800834E0 0007F320 48 00 00 0C */ b lbl_800834EC
|
|
.global lbl_800834E4
|
|
lbl_800834E4:
|
|
/* 800834E4 0007F324 38 60 00 02 */ li r3, 0x2
|
|
/* 800834E8 0007F328 48 00 00 A8 */ b lbl_80083590
|
|
.global lbl_800834EC
|
|
lbl_800834EC:
|
|
/* 800834EC 0007F32C 93 7F 16 7C */ stw r27, 0x167c(r31)
|
|
/* 800834F0 0007F330 48 00 00 14 */ b lbl_80083504
|
|
.global lbl_800834F4
|
|
lbl_800834F4:
|
|
/* 800834F4 0007F334 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800834F8 0007F338 41 82 00 0C */ beq lbl_80083504
|
|
/* 800834FC 0007F33C 38 60 00 02 */ li r3, 0x2
|
|
/* 80083500 0007F340 48 00 00 90 */ b lbl_80083590
|
|
.global lbl_80083504
|
|
lbl_80083504:
|
|
/* 80083504 0007F344 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80083508 0007F348 41 82 00 60 */ beq lbl_80083568
|
|
/* 8008350C 0007F34C 7E E4 BB 78 */ mr r4, r23
|
|
/* 80083510 0007F350 38 7F 16 A8 */ addi r3, r31, 0x16a8
|
|
/* 80083514 0007F354 38 A0 00 06 */ li r5, 0x6
|
|
/* 80083518 0007F358 4B F8 0A E9 */ bl memcpy
|
|
/* 8008351C 0007F35C 7F 45 D3 78 */ mr r5, r26
|
|
/* 80083520 0007F360 38 7F 16 80 */ addi r3, r31, 0x1680
|
|
/* 80083524 0007F364 38 80 00 0A */ li r4, 0xa
|
|
/* 80083528 0007F368 4B FF 49 89 */ bl btu_start_timer
|
|
/* 8008352C 0007F36C 2C 18 00 00 */ cmpwi r24, 0x0
|
|
/* 80083530 0007F370 41 82 00 20 */ beq lbl_80083550
|
|
/* 80083534 0007F374 A0 18 00 00 */ lhz r0, 0x0(r24)
|
|
/* 80083538 0007F378 7E E3 BB 78 */ mr r3, r23
|
|
/* 8008353C 0007F37C 88 98 00 0B */ lbz r4, 0xb(r24)
|
|
/* 80083540 0007F380 88 B8 00 0D */ lbz r5, 0xd(r24)
|
|
/* 80083544 0007F384 60 06 80 00 */ ori r6, r0, 0x8000
|
|
/* 80083548 0007F388 48 00 7D 25 */ bl btsnd_hcic_rmt_name_req
|
|
/* 8008354C 0007F38C 48 00 00 18 */ b lbl_80083564
|
|
.global lbl_80083550
|
|
lbl_80083550:
|
|
/* 80083550 0007F390 7E E3 BB 78 */ mr r3, r23
|
|
/* 80083554 0007F394 38 80 00 01 */ li r4, 0x1
|
|
/* 80083558 0007F398 38 A0 00 00 */ li r5, 0x0
|
|
/* 8008355C 0007F39C 38 C0 00 00 */ li r6, 0x0
|
|
/* 80083560 0007F3A0 48 00 7D 0D */ bl btsnd_hcic_rmt_name_req
|
|
.global lbl_80083564
|
|
lbl_80083564:
|
|
/* 80083564 0007F3A4 7C 7D 1B 78 */ mr r29, r3
|
|
.global lbl_80083568
|
|
lbl_80083568:
|
|
/* 80083568 0007F3A8 57 A0 06 3F */ clrlwi. r0, r29, 24
|
|
/* 8008356C 0007F3AC 41 82 00 14 */ beq lbl_80083580
|
|
/* 80083570 0007F3B0 88 1F 16 AE */ lbz r0, 0x16ae(r31)
|
|
/* 80083574 0007F3B4 7C 00 CB 78 */ or r0, r0, r25
|
|
/* 80083578 0007F3B8 98 1F 16 AE */ stb r0, 0x16ae(r31)
|
|
/* 8008357C 0007F3BC 48 00 00 10 */ b lbl_8008358C
|
|
.global lbl_80083580
|
|
lbl_80083580:
|
|
/* 80083580 0007F3C0 3B 80 00 03 */ li r28, 0x3
|
|
/* 80083584 0007F3C4 48 00 00 08 */ b lbl_8008358C
|
|
.global lbl_80083588
|
|
lbl_80083588:
|
|
/* 80083588 0007F3C8 3B 80 00 02 */ li r28, 0x2
|
|
.global lbl_8008358C
|
|
lbl_8008358C:
|
|
/* 8008358C 0007F3CC 7F 83 E3 78 */ mr r3, r28
|
|
.global lbl_80083590
|
|
lbl_80083590:
|
|
/* 80083590 0007F3D0 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80083594 0007F3D4 4B F8 3D E5 */ bl lbl_80007378
|
|
/* 80083598 0007F3D8 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8008359C 0007F3DC 7C 08 03 A6 */ mtlr r0
|
|
/* 800835A0 0007F3E0 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 800835A4 0007F3E4 4E 80 00 20 */ blr
|
|
.global btm_process_remote_name
|
|
btm_process_remote_name:
|
|
/* 800835A8 0007F3E8 94 21 FE E0 */ stwu r1, -0x120(r1)
|
|
/* 800835AC 0007F3EC 7C 08 02 A6 */ mflr r0
|
|
/* 800835B0 0007F3F0 90 01 01 24 */ stw r0, 0x124(r1)
|
|
/* 800835B4 0007F3F4 39 61 01 20 */ addi r11, r1, 0x120
|
|
/* 800835B8 0007F3F8 4B F8 3D 81 */ bl lbl_80007338
|
|
/* 800835BC 0007F3FC 3F E0 80 4F */ lis r31, btm_cb@ha
|
|
/* 800835C0 0007F400 7C 9A 23 78 */ mr r26, r4
|
|
/* 800835C4 0007F404 3B FF 5F 58 */ addi r31, r31, btm_cb@l
|
|
/* 800835C8 0007F408 7C BB 2B 78 */ mr r27, r5
|
|
/* 800835CC 0007F40C 83 DF 16 7C */ lwz r30, 0x167c(r31)
|
|
/* 800835D0 0007F410 7C DC 33 78 */ mr r28, r6
|
|
/* 800835D4 0007F414 8B BF 16 AE */ lbz r29, 0x16ae(r31)
|
|
/* 800835D8 0007F418 38 7F 16 80 */ addi r3, r31, 0x1680
|
|
/* 800835DC 0007F41C 4B FF 49 45 */ bl btu_stop_timer
|
|
/* 800835E0 0007F420 38 60 00 00 */ li r3, 0x0
|
|
/* 800835E4 0007F424 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 800835E8 0007F428 98 7F 16 AE */ stb r3, 0x16ae(r31)
|
|
/* 800835EC 0007F42C 40 82 00 B4 */ bne lbl_800836A0
|
|
/* 800835F0 0007F430 28 1B 00 F8 */ cmplwi r27, 0xf8
|
|
/* 800835F4 0007F434 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 800835F8 0007F438 38 60 00 F8 */ li r3, 0xf8
|
|
/* 800835FC 0007F43C 40 80 00 08 */ bge lbl_80083604
|
|
/* 80083600 0007F440 7F 63 DB 78 */ mr r3, r27
|
|
.global lbl_80083604
|
|
lbl_80083604:
|
|
/* 80083604 0007F444 54 65 04 3F */ clrlwi. r5, r3, 16
|
|
/* 80083608 0007F448 38 00 00 00 */ li r0, 0x0
|
|
/* 8008360C 0007F44C B0 61 00 0A */ sth r3, 0xa(r1)
|
|
/* 80083610 0007F450 B0 01 00 08 */ sth r0, 0x8(r1)
|
|
/* 80083614 0007F454 7C A3 2B 78 */ mr r3, r5
|
|
/* 80083618 0007F458 41 82 00 98 */ beq lbl_800836B0
|
|
/* 8008361C 0007F45C 54 A0 E8 FF */ srwi. r0, r5, 3
|
|
/* 80083620 0007F460 7C 09 03 A6 */ mtctr r0
|
|
/* 80083624 0007F464 41 82 00 5C */ beq lbl_80083680
|
|
.global lbl_80083628
|
|
lbl_80083628:
|
|
/* 80083628 0007F468 88 1A 00 00 */ lbz r0, 0x0(r26)
|
|
/* 8008362C 0007F46C 38 A5 FF F8 */ addi r5, r5, -0x8
|
|
/* 80083630 0007F470 98 04 00 00 */ stb r0, 0x0(r4)
|
|
/* 80083634 0007F474 88 1A 00 01 */ lbz r0, 0x1(r26)
|
|
/* 80083638 0007F478 98 04 00 01 */ stb r0, 0x1(r4)
|
|
/* 8008363C 0007F47C 88 1A 00 02 */ lbz r0, 0x2(r26)
|
|
/* 80083640 0007F480 98 04 00 02 */ stb r0, 0x2(r4)
|
|
/* 80083644 0007F484 88 1A 00 03 */ lbz r0, 0x3(r26)
|
|
/* 80083648 0007F488 98 04 00 03 */ stb r0, 0x3(r4)
|
|
/* 8008364C 0007F48C 88 1A 00 04 */ lbz r0, 0x4(r26)
|
|
/* 80083650 0007F490 98 04 00 04 */ stb r0, 0x4(r4)
|
|
/* 80083654 0007F494 88 1A 00 05 */ lbz r0, 0x5(r26)
|
|
/* 80083658 0007F498 98 04 00 05 */ stb r0, 0x5(r4)
|
|
/* 8008365C 0007F49C 88 1A 00 06 */ lbz r0, 0x6(r26)
|
|
/* 80083660 0007F4A0 98 04 00 06 */ stb r0, 0x6(r4)
|
|
/* 80083664 0007F4A4 88 1A 00 07 */ lbz r0, 0x7(r26)
|
|
/* 80083668 0007F4A8 3B 5A 00 08 */ addi r26, r26, 0x8
|
|
/* 8008366C 0007F4AC 98 04 00 07 */ stb r0, 0x7(r4)
|
|
/* 80083670 0007F4B0 38 84 00 08 */ addi r4, r4, 0x8
|
|
/* 80083674 0007F4B4 42 00 FF B4 */ bdnz lbl_80083628
|
|
/* 80083678 0007F4B8 70 63 00 07 */ andi. r3, r3, 0x7
|
|
/* 8008367C 0007F4BC 41 82 00 34 */ beq lbl_800836B0
|
|
.global lbl_80083680
|
|
lbl_80083680:
|
|
/* 80083680 0007F4C0 7C 69 03 A6 */ mtctr r3
|
|
.global lbl_80083684
|
|
lbl_80083684:
|
|
/* 80083684 0007F4C4 88 1A 00 00 */ lbz r0, 0x0(r26)
|
|
/* 80083688 0007F4C8 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 8008368C 0007F4CC 3B 5A 00 01 */ addi r26, r26, 0x1
|
|
/* 80083690 0007F4D0 98 04 00 00 */ stb r0, 0x0(r4)
|
|
/* 80083694 0007F4D4 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80083698 0007F4D8 42 00 FF EC */ bdnz lbl_80083684
|
|
/* 8008369C 0007F4DC 48 00 00 14 */ b lbl_800836B0
|
|
.global lbl_800836A0
|
|
lbl_800836A0:
|
|
/* 800836A0 0007F4E0 38 00 00 09 */ li r0, 0x9
|
|
/* 800836A4 0007F4E4 B0 61 00 0A */ sth r3, 0xa(r1)
|
|
/* 800836A8 0007F4E8 B0 01 00 08 */ sth r0, 0x8(r1)
|
|
/* 800836AC 0007F4EC 98 61 00 0C */ stb r3, 0xc(r1)
|
|
.global lbl_800836B0
|
|
lbl_800836B0:
|
|
/* 800836B0 0007F4F0 38 7F 16 A8 */ addi r3, r31, 0x16a8
|
|
/* 800836B4 0007F4F4 38 80 00 00 */ li r4, 0x0
|
|
/* 800836B8 0007F4F8 38 A0 00 06 */ li r5, 0x6
|
|
/* 800836BC 0007F4FC 4B F8 0C 95 */ bl memset
|
|
/* 800836C0 0007F500 57 A0 07 FF */ clrlwi. r0, r29, 31
|
|
/* 800836C4 0007F504 41 82 00 24 */ beq lbl_800836E8
|
|
/* 800836C8 0007F508 38 00 00 00 */ li r0, 0x0
|
|
/* 800836CC 0007F50C 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 800836D0 0007F510 90 1F 16 7C */ stw r0, 0x167c(r31)
|
|
/* 800836D4 0007F514 41 82 00 14 */ beq lbl_800836E8
|
|
/* 800836D8 0007F518 7F CC F3 78 */ mr r12, r30
|
|
/* 800836DC 0007F51C 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800836E0 0007F520 7D 89 03 A6 */ mtctr r12
|
|
/* 800836E4 0007F524 4E 80 04 21 */ bctrl
|
|
.global lbl_800836E8
|
|
lbl_800836E8:
|
|
/* 800836E8 0007F528 39 61 01 20 */ addi r11, r1, 0x120
|
|
/* 800836EC 0007F52C 4B F8 3C 99 */ bl lbl_80007384
|
|
/* 800836F0 0007F530 80 01 01 24 */ lwz r0, 0x124(r1)
|
|
/* 800836F4 0007F534 7C 08 03 A6 */ mtlr r0
|
|
/* 800836F8 0007F538 38 21 01 20 */ addi r1, r1, 0x120
|
|
/* 800836FC 0007F53C 4E 80 00 20 */ blr
|
|
.global btm_inq_rmt_name_failed
|
|
btm_inq_rmt_name_failed:
|
|
/* 80083700 0007F540 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80083704 0007F544 7C 08 02 A6 */ mflr r0
|
|
/* 80083708 0007F548 38 60 00 00 */ li r3, 0x0
|
|
/* 8008370C 0007F54C 38 80 00 00 */ li r4, 0x0
|
|
/* 80083710 0007F550 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80083714 0007F554 38 A0 00 00 */ li r5, 0x0
|
|
/* 80083718 0007F558 38 C0 00 1F */ li r6, 0x1f
|
|
/* 8008371C 0007F55C 4B FF FE 8D */ bl btm_process_remote_name
|
|
/* 80083720 0007F560 38 60 00 00 */ li r3, 0x0
|
|
/* 80083724 0007F564 38 80 00 00 */ li r4, 0x0
|
|
/* 80083728 0007F568 38 A0 00 1F */ li r5, 0x1f
|
|
/* 8008372C 0007F56C 48 00 2E D9 */ bl btm_sec_rmt_name_request_complete
|
|
/* 80083730 0007F570 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80083734 0007F574 7C 08 03 A6 */ mtlr r0
|
|
/* 80083738 0007F578 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8008373C 0007F57C 4E 80 00 20 */ blr
|