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

806 lines
35 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global rfcomm_l2cap_if_init
rfcomm_l2cap_if_init:
/* 80097D28 00093B68 3C 60 80 09 */ lis r3, RFCOMM_ConnectInd@ha
/* 80097D2C 00093B6C 3C 80 80 50 */ lis r4, rfc_cb@ha
/* 80097D30 00093B70 38 63 7D A4 */ addi r3, r3, RFCOMM_ConnectInd@l
/* 80097D34 00093B74 3D 60 80 09 */ lis r11, RFCOMM_ConnectCnf@ha
/* 80097D38 00093B78 38 84 98 08 */ addi r4, r4, rfc_cb@l
/* 80097D3C 00093B7C 3D 40 80 09 */ lis r10, RFCOMM_ConfigInd@ha
/* 80097D40 00093B80 3D 20 80 0A */ lis r9, RFCOMM_ConfigCnf@ha
/* 80097D44 00093B84 3D 00 80 0A */ lis r8, RFCOMM_DisconnectInd@ha
/* 80097D48 00093B88 3C E0 80 0A */ lis r7, RFCOMM_QoSViolationInd@ha
/* 80097D4C 00093B8C 3C C0 80 0A */ lis r6, RFCOMM_BufDataInd@ha
/* 80097D50 00093B90 3C A0 80 0A */ lis r5, RFCOMM_CongestionStatusInd@ha
/* 80097D54 00093B94 94 64 00 14 */ stwu r3, 0x14(r4)
/* 80097D58 00093B98 38 00 00 00 */ li r0, 0x0
/* 80097D5C 00093B9C 39 6B 7E 30 */ addi r11, r11, RFCOMM_ConnectCnf@l
/* 80097D60 00093BA0 39 4A 7F 34 */ addi r10, r10, RFCOMM_ConfigInd@l
/* 80097D64 00093BA4 39 29 80 3C */ addi r9, r9, RFCOMM_ConfigCnf@l
/* 80097D68 00093BA8 39 08 81 48 */ addi r8, r8, RFCOMM_DisconnectInd@l
/* 80097D6C 00093BAC 38 E7 81 44 */ addi r7, r7, RFCOMM_QoSViolationInd@l
/* 80097D70 00093BB0 38 C6 82 6C */ addi r6, r6, RFCOMM_BufDataInd@l
/* 80097D74 00093BB4 38 A5 85 0C */ addi r5, r5, RFCOMM_CongestionStatusInd@l
/* 80097D78 00093BB8 91 64 00 04 */ stw r11, 0x4(r4)
/* 80097D7C 00093BBC 38 60 00 03 */ li r3, 0x3
/* 80097D80 00093BC0 90 04 00 08 */ stw r0, 0x8(r4)
/* 80097D84 00093BC4 91 44 00 0C */ stw r10, 0xc(r4)
/* 80097D88 00093BC8 91 24 00 10 */ stw r9, 0x10(r4)
/* 80097D8C 00093BCC 91 04 00 14 */ stw r8, 0x14(r4)
/* 80097D90 00093BD0 90 04 00 18 */ stw r0, 0x18(r4)
/* 80097D94 00093BD4 90 E4 00 1C */ stw r7, 0x1c(r4)
/* 80097D98 00093BD8 90 C4 00 20 */ stw r6, 0x20(r4)
/* 80097D9C 00093BDC 90 A4 00 24 */ stw r5, 0x24(r4)
/* 80097DA0 00093BE0 4B FF 84 40 */ b L2CA_Register
.global RFCOMM_ConnectInd
RFCOMM_ConnectInd:
/* 80097DA4 00093BE4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80097DA8 00093BE8 7C 08 02 A6 */ mflr r0
/* 80097DAC 00093BEC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80097DB0 00093BF0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80097DB4 00093BF4 7C 9F 23 78 */ mr r31, r4
/* 80097DB8 00093BF8 38 80 00 00 */ li r4, 0x0
/* 80097DBC 00093BFC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80097DC0 00093C00 7C 7E 1B 78 */ mr r30, r3
/* 80097DC4 00093C04 98 C1 00 08 */ stb r6, 0x8(r1)
/* 80097DC8 00093C08 48 00 42 6D */ bl rfc_alloc_multiplexer_channel
/* 80097DCC 00093C0C 38 1F FF C0 */ addi r0, r31, -0x40
/* 80097DD0 00093C10 3C 80 80 50 */ lis r4, rfc_cb@ha
/* 80097DD4 00093C14 38 84 98 08 */ addi r4, r4, rfc_cb@l
/* 80097DD8 00093C18 2C 03 00 00 */ cmpwi r3, 0x0
/* 80097DDC 00093C1C 54 00 10 3A */ slwi r0, r0, 2
/* 80097DE0 00093C20 7C 84 02 14 */ add r4, r4, r0
/* 80097DE4 00093C24 90 64 00 3C */ stw r3, 0x3c(r4)
/* 80097DE8 00093C28 40 82 00 20 */ bne lbl_80097E08
/* 80097DEC 00093C2C 88 81 00 08 */ lbz r4, 0x8(r1)
/* 80097DF0 00093C30 7F C3 F3 78 */ mr r3, r30
/* 80097DF4 00093C34 7F E5 FB 78 */ mr r5, r31
/* 80097DF8 00093C38 38 C0 00 04 */ li r6, 0x4
/* 80097DFC 00093C3C 38 E0 00 00 */ li r7, 0x0
/* 80097E00 00093C40 4B FF 88 41 */ bl L2CA_ConnectRsp
/* 80097E04 00093C44 48 00 00 14 */ b lbl_80097E18
.global lbl_80097E08
lbl_80097E08:
/* 80097E08 00093C48 B3 E3 00 68 */ sth r31, 0x68(r3)
/* 80097E0C 00093C4C 38 A1 00 08 */ addi r5, r1, 0x8
/* 80097E10 00093C50 38 80 00 0A */ li r4, 0xa
/* 80097E14 00093C54 48 00 08 49 */ bl rfc_mx_sm_execute
.global lbl_80097E18
lbl_80097E18:
/* 80097E18 00093C58 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80097E1C 00093C5C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80097E20 00093C60 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80097E24 00093C64 7C 08 03 A6 */ mtlr r0
/* 80097E28 00093C68 38 21 00 20 */ addi r1, r1, 0x20
/* 80097E2C 00093C6C 4E 80 00 20 */ blr
.global RFCOMM_ConnectCnf
RFCOMM_ConnectCnf:
/* 80097E30 00093C70 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80097E34 00093C74 7C 08 02 A6 */ mflr r0
/* 80097E38 00093C78 90 01 00 24 */ stw r0, 0x24(r1)
/* 80097E3C 00093C7C 38 03 FF C0 */ addi r0, r3, -0x40
/* 80097E40 00093C80 2C 00 00 0A */ cmpwi r0, 0xa
/* 80097E44 00093C84 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80097E48 00093C88 3F E0 80 44 */ lis r31, "@712_8043F0C8"@ha
/* 80097E4C 00093C8C 3B FF F0 C8 */ addi r31, r31, "@712_8043F0C8"@l
/* 80097E50 00093C90 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80097E54 00093C94 7C 7E 1B 78 */ mr r30, r3
/* 80097E58 00093C98 B0 81 00 08 */ sth r4, 0x8(r1)
/* 80097E5C 00093C9C 41 80 00 30 */ blt lbl_80097E8C
/* 80097E60 00093CA0 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80097E64 00093CA4 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80097E68 00093CA8 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80097E6C 00093CAC 28 00 00 01 */ cmplwi r0, 0x1
/* 80097E70 00093CB0 41 80 00 14 */ blt lbl_80097E84
/* 80097E74 00093CB4 7F C5 F3 78 */ mr r5, r30
/* 80097E78 00093CB8 38 9F 00 00 */ addi r4, r31, 0x0
/* 80097E7C 00093CBC 3C 60 00 09 */ lis r3, 0x9
/* 80097E80 00093CC0 4B FD FA E1 */ bl LogMsg_0
.global lbl_80097E84
lbl_80097E84:
/* 80097E84 00093CC4 38 80 00 00 */ li r4, 0x0
/* 80097E88 00093CC8 48 00 00 50 */ b lbl_80097ED8
.global lbl_80097E8C
lbl_80097E8C:
/* 80097E8C 00093CCC 3C A0 80 50 */ lis r5, rfc_cb@ha
/* 80097E90 00093CD0 54 00 10 3A */ slwi r0, r0, 2
/* 80097E94 00093CD4 38 A5 98 08 */ addi r5, r5, rfc_cb@l
/* 80097E98 00093CD8 7C 85 02 14 */ add r4, r5, r0
/* 80097E9C 00093CDC 80 84 00 3C */ lwz r4, 0x3c(r4)
/* 80097EA0 00093CE0 2C 04 00 00 */ cmpwi r4, 0x0
/* 80097EA4 00093CE4 41 82 00 34 */ beq lbl_80097ED8
/* 80097EA8 00093CE8 A0 C4 00 68 */ lhz r6, 0x68(r4)
/* 80097EAC 00093CEC 7C 06 18 40 */ cmplw r6, r3
/* 80097EB0 00093CF0 41 82 00 28 */ beq lbl_80097ED8
/* 80097EB4 00093CF4 88 05 04 14 */ lbz r0, 0x414(r5)
/* 80097EB8 00093CF8 28 00 00 02 */ cmplwi r0, 0x2
/* 80097EBC 00093CFC 41 80 00 18 */ blt lbl_80097ED4
/* 80097EC0 00093D00 3C 60 00 09 */ lis r3, 0x9
/* 80097EC4 00093D04 7F C5 F3 78 */ mr r5, r30
/* 80097EC8 00093D08 38 9F 00 1C */ addi r4, r31, 0x1c
/* 80097ECC 00093D0C 38 63 00 01 */ addi r3, r3, 0x1
/* 80097ED0 00093D10 4B FD FA 91 */ bl LogMsg_0
.global lbl_80097ED4
lbl_80097ED4:
/* 80097ED4 00093D14 38 80 00 00 */ li r4, 0x0
.global lbl_80097ED8
lbl_80097ED8:
/* 80097ED8 00093D18 2C 04 00 00 */ cmpwi r4, 0x0
/* 80097EDC 00093D1C 40 82 00 2C */ bne lbl_80097F08
/* 80097EE0 00093D20 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80097EE4 00093D24 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80097EE8 00093D28 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80097EEC 00093D2C 28 00 00 01 */ cmplwi r0, 0x1
/* 80097EF0 00093D30 41 80 00 2C */ blt lbl_80097F1C
/* 80097EF4 00093D34 7F C5 F3 78 */ mr r5, r30
/* 80097EF8 00093D38 38 9F 00 54 */ addi r4, r31, 0x54
/* 80097EFC 00093D3C 3C 60 00 09 */ lis r3, 0x9
/* 80097F00 00093D40 4B FD FA 61 */ bl LogMsg_0
/* 80097F04 00093D44 48 00 00 18 */ b lbl_80097F1C
.global lbl_80097F08
lbl_80097F08:
/* 80097F08 00093D48 B3 C4 00 68 */ sth r30, 0x68(r4)
/* 80097F0C 00093D4C 7C 83 23 78 */ mr r3, r4
/* 80097F10 00093D50 38 A1 00 08 */ addi r5, r1, 0x8
/* 80097F14 00093D54 38 80 00 09 */ li r4, 0x9
/* 80097F18 00093D58 48 00 07 45 */ bl rfc_mx_sm_execute
.global lbl_80097F1C
lbl_80097F1C:
/* 80097F1C 00093D5C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80097F20 00093D60 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80097F24 00093D64 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80097F28 00093D68 7C 08 03 A6 */ mtlr r0
/* 80097F2C 00093D6C 38 21 00 20 */ addi r1, r1, 0x20
/* 80097F30 00093D70 4E 80 00 20 */ blr
.global RFCOMM_ConfigInd
RFCOMM_ConfigInd:
/* 80097F34 00093D74 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80097F38 00093D78 7C 08 02 A6 */ mflr r0
/* 80097F3C 00093D7C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80097F40 00093D80 38 03 FF C0 */ addi r0, r3, -0x40
/* 80097F44 00093D84 2C 00 00 0A */ cmpwi r0, 0xa
/* 80097F48 00093D88 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80097F4C 00093D8C 3F E0 80 44 */ lis r31, "@712_8043F0C8"@ha
/* 80097F50 00093D90 3B FF F0 C8 */ addi r31, r31, "@712_8043F0C8"@l
/* 80097F54 00093D94 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80097F58 00093D98 7C 9E 23 78 */ mr r30, r4
/* 80097F5C 00093D9C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80097F60 00093DA0 7C 7D 1B 78 */ mr r29, r3
/* 80097F64 00093DA4 41 80 00 30 */ blt lbl_80097F94
/* 80097F68 00093DA8 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80097F6C 00093DAC 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80097F70 00093DB0 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80097F74 00093DB4 28 00 00 01 */ cmplwi r0, 0x1
/* 80097F78 00093DB8 41 80 00 14 */ blt lbl_80097F8C
/* 80097F7C 00093DBC 7F A5 EB 78 */ mr r5, r29
/* 80097F80 00093DC0 38 9F 00 00 */ addi r4, r31, 0x0
/* 80097F84 00093DC4 3C 60 00 09 */ lis r3, 0x9
/* 80097F88 00093DC8 4B FD F9 D9 */ bl LogMsg_0
.global lbl_80097F8C
lbl_80097F8C:
/* 80097F8C 00093DCC 38 80 00 00 */ li r4, 0x0
/* 80097F90 00093DD0 48 00 00 50 */ b lbl_80097FE0
.global lbl_80097F94
lbl_80097F94:
/* 80097F94 00093DD4 3C A0 80 50 */ lis r5, rfc_cb@ha
/* 80097F98 00093DD8 54 00 10 3A */ slwi r0, r0, 2
/* 80097F9C 00093DDC 38 A5 98 08 */ addi r5, r5, rfc_cb@l
/* 80097FA0 00093DE0 7C 85 02 14 */ add r4, r5, r0
/* 80097FA4 00093DE4 80 84 00 3C */ lwz r4, 0x3c(r4)
/* 80097FA8 00093DE8 2C 04 00 00 */ cmpwi r4, 0x0
/* 80097FAC 00093DEC 41 82 00 34 */ beq lbl_80097FE0
/* 80097FB0 00093DF0 A0 C4 00 68 */ lhz r6, 0x68(r4)
/* 80097FB4 00093DF4 7C 06 18 40 */ cmplw r6, r3
/* 80097FB8 00093DF8 41 82 00 28 */ beq lbl_80097FE0
/* 80097FBC 00093DFC 88 05 04 14 */ lbz r0, 0x414(r5)
/* 80097FC0 00093E00 28 00 00 02 */ cmplwi r0, 0x2
/* 80097FC4 00093E04 41 80 00 18 */ blt lbl_80097FDC
/* 80097FC8 00093E08 3C 60 00 09 */ lis r3, 0x9
/* 80097FCC 00093E0C 7F A5 EB 78 */ mr r5, r29
/* 80097FD0 00093E10 38 9F 00 1C */ addi r4, r31, 0x1c
/* 80097FD4 00093E14 38 63 00 01 */ addi r3, r3, 0x1
/* 80097FD8 00093E18 4B FD F9 89 */ bl LogMsg_0
.global lbl_80097FDC
lbl_80097FDC:
/* 80097FDC 00093E1C 38 80 00 00 */ li r4, 0x0
.global lbl_80097FE0
lbl_80097FE0:
/* 80097FE0 00093E20 2C 04 00 00 */ cmpwi r4, 0x0
/* 80097FE4 00093E24 40 82 00 2C */ bne lbl_80098010
/* 80097FE8 00093E28 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80097FEC 00093E2C 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80097FF0 00093E30 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80097FF4 00093E34 28 00 00 01 */ cmplwi r0, 0x1
/* 80097FF8 00093E38 41 80 00 28 */ blt lbl_80098020
/* 80097FFC 00093E3C 7F A5 EB 78 */ mr r5, r29
/* 80098000 00093E40 38 9F 00 70 */ addi r4, r31, 0x70
/* 80098004 00093E44 3C 60 00 09 */ lis r3, 0x9
/* 80098008 00093E48 4B FD F9 59 */ bl LogMsg_0
/* 8009800C 00093E4C 48 00 00 14 */ b lbl_80098020
.global lbl_80098010
lbl_80098010:
/* 80098010 00093E50 7C 83 23 78 */ mr r3, r4
/* 80098014 00093E54 7F C5 F3 78 */ mr r5, r30
/* 80098018 00093E58 38 80 00 0C */ li r4, 0xc
/* 8009801C 00093E5C 48 00 06 41 */ bl rfc_mx_sm_execute
.global lbl_80098020
lbl_80098020:
/* 80098020 00093E60 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80098024 00093E64 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80098028 00093E68 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8009802C 00093E6C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80098030 00093E70 7C 08 03 A6 */ mtlr r0
/* 80098034 00093E74 38 21 00 20 */ addi r1, r1, 0x20
/* 80098038 00093E78 4E 80 00 20 */ blr
.global RFCOMM_ConfigCnf
RFCOMM_ConfigCnf:
/* 8009803C 00093E7C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80098040 00093E80 7C 08 02 A6 */ mflr r0
/* 80098044 00093E84 90 01 00 24 */ stw r0, 0x24(r1)
/* 80098048 00093E88 38 03 FF C0 */ addi r0, r3, -0x40
/* 8009804C 00093E8C 2C 00 00 0A */ cmpwi r0, 0xa
/* 80098050 00093E90 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80098054 00093E94 3F E0 80 44 */ lis r31, "@712_8043F0C8"@ha
/* 80098058 00093E98 3B FF F0 C8 */ addi r31, r31, "@712_8043F0C8"@l
/* 8009805C 00093E9C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80098060 00093EA0 7C 9E 23 78 */ mr r30, r4
/* 80098064 00093EA4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80098068 00093EA8 7C 7D 1B 78 */ mr r29, r3
/* 8009806C 00093EAC 41 80 00 30 */ blt lbl_8009809C
/* 80098070 00093EB0 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80098074 00093EB4 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80098078 00093EB8 88 03 04 14 */ lbz r0, 0x414(r3)
/* 8009807C 00093EBC 28 00 00 01 */ cmplwi r0, 0x1
/* 80098080 00093EC0 41 80 00 14 */ blt lbl_80098094
/* 80098084 00093EC4 7F A5 EB 78 */ mr r5, r29
/* 80098088 00093EC8 38 9F 00 00 */ addi r4, r31, 0x0
/* 8009808C 00093ECC 3C 60 00 09 */ lis r3, 0x9
/* 80098090 00093ED0 4B FD F8 D1 */ bl LogMsg_0
.global lbl_80098094
lbl_80098094:
/* 80098094 00093ED4 38 80 00 00 */ li r4, 0x0
/* 80098098 00093ED8 48 00 00 50 */ b lbl_800980E8
.global lbl_8009809C
lbl_8009809C:
/* 8009809C 00093EDC 3C A0 80 50 */ lis r5, rfc_cb@ha
/* 800980A0 00093EE0 54 00 10 3A */ slwi r0, r0, 2
/* 800980A4 00093EE4 38 A5 98 08 */ addi r5, r5, rfc_cb@l
/* 800980A8 00093EE8 7C 85 02 14 */ add r4, r5, r0
/* 800980AC 00093EEC 80 84 00 3C */ lwz r4, 0x3c(r4)
/* 800980B0 00093EF0 2C 04 00 00 */ cmpwi r4, 0x0
/* 800980B4 00093EF4 41 82 00 34 */ beq lbl_800980E8
/* 800980B8 00093EF8 A0 C4 00 68 */ lhz r6, 0x68(r4)
/* 800980BC 00093EFC 7C 06 18 40 */ cmplw r6, r3
/* 800980C0 00093F00 41 82 00 28 */ beq lbl_800980E8
/* 800980C4 00093F04 88 05 04 14 */ lbz r0, 0x414(r5)
/* 800980C8 00093F08 28 00 00 02 */ cmplwi r0, 0x2
/* 800980CC 00093F0C 41 80 00 18 */ blt lbl_800980E4
/* 800980D0 00093F10 3C 60 00 09 */ lis r3, 0x9
/* 800980D4 00093F14 7F A5 EB 78 */ mr r5, r29
/* 800980D8 00093F18 38 9F 00 1C */ addi r4, r31, 0x1c
/* 800980DC 00093F1C 38 63 00 01 */ addi r3, r3, 0x1
/* 800980E0 00093F20 4B FD F8 81 */ bl LogMsg_0
.global lbl_800980E4
lbl_800980E4:
/* 800980E4 00093F24 38 80 00 00 */ li r4, 0x0
.global lbl_800980E8
lbl_800980E8:
/* 800980E8 00093F28 2C 04 00 00 */ cmpwi r4, 0x0
/* 800980EC 00093F2C 40 82 00 2C */ bne lbl_80098118
/* 800980F0 00093F30 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800980F4 00093F34 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800980F8 00093F38 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800980FC 00093F3C 28 00 00 01 */ cmplwi r0, 0x1
/* 80098100 00093F40 41 80 00 28 */ blt lbl_80098128
/* 80098104 00093F44 7F A5 EB 78 */ mr r5, r29
/* 80098108 00093F48 38 9F 00 8C */ addi r4, r31, 0x8c
/* 8009810C 00093F4C 3C 60 00 09 */ lis r3, 0x9
/* 80098110 00093F50 4B FD F8 51 */ bl LogMsg_0
/* 80098114 00093F54 48 00 00 14 */ b lbl_80098128
.global lbl_80098118
lbl_80098118:
/* 80098118 00093F58 7C 83 23 78 */ mr r3, r4
/* 8009811C 00093F5C 7F C5 F3 78 */ mr r5, r30
/* 80098120 00093F60 38 80 00 0B */ li r4, 0xb
/* 80098124 00093F64 48 00 05 39 */ bl rfc_mx_sm_execute
.global lbl_80098128
lbl_80098128:
/* 80098128 00093F68 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8009812C 00093F6C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80098130 00093F70 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80098134 00093F74 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80098138 00093F78 7C 08 03 A6 */ mtlr r0
/* 8009813C 00093F7C 38 21 00 20 */ addi r1, r1, 0x20
/* 80098140 00093F80 4E 80 00 20 */ blr
.global RFCOMM_QoSViolationInd
RFCOMM_QoSViolationInd:
/* 80098144 00093F84 4E 80 00 20 */ blr
.global RFCOMM_DisconnectInd
RFCOMM_DisconnectInd:
/* 80098148 00093F88 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8009814C 00093F8C 7C 08 02 A6 */ mflr r0
/* 80098150 00093F90 90 01 00 24 */ stw r0, 0x24(r1)
/* 80098154 00093F94 38 03 FF C0 */ addi r0, r3, -0x40
/* 80098158 00093F98 2C 00 00 0A */ cmpwi r0, 0xa
/* 8009815C 00093F9C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80098160 00093FA0 3F E0 80 44 */ lis r31, "@712_8043F0C8"@ha
/* 80098164 00093FA4 3B FF F0 C8 */ addi r31, r31, "@712_8043F0C8"@l
/* 80098168 00093FA8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8009816C 00093FAC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80098170 00093FB0 7C 9D 23 78 */ mr r29, r4
/* 80098174 00093FB4 93 81 00 10 */ stw r28, 0x10(r1)
/* 80098178 00093FB8 7C 7C 1B 78 */ mr r28, r3
/* 8009817C 00093FBC 41 80 00 30 */ blt lbl_800981AC
/* 80098180 00093FC0 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80098184 00093FC4 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80098188 00093FC8 88 03 04 14 */ lbz r0, 0x414(r3)
/* 8009818C 00093FCC 28 00 00 01 */ cmplwi r0, 0x1
/* 80098190 00093FD0 41 80 00 14 */ blt lbl_800981A4
/* 80098194 00093FD4 7F 85 E3 78 */ mr r5, r28
/* 80098198 00093FD8 38 9F 00 00 */ addi r4, r31, 0x0
/* 8009819C 00093FDC 3C 60 00 09 */ lis r3, 0x9
/* 800981A0 00093FE0 4B FD F7 C1 */ bl LogMsg_0
.global lbl_800981A4
lbl_800981A4:
/* 800981A4 00093FE4 3B C0 00 00 */ li r30, 0x0
/* 800981A8 00093FE8 48 00 00 50 */ b lbl_800981F8
.global lbl_800981AC
lbl_800981AC:
/* 800981AC 00093FEC 3C A0 80 50 */ lis r5, rfc_cb@ha
/* 800981B0 00093FF0 54 00 10 3A */ slwi r0, r0, 2
/* 800981B4 00093FF4 38 A5 98 08 */ addi r5, r5, rfc_cb@l
/* 800981B8 00093FF8 7C 85 02 14 */ add r4, r5, r0
/* 800981BC 00093FFC 83 C4 00 3C */ lwz r30, 0x3c(r4)
/* 800981C0 00094000 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800981C4 00094004 41 82 00 34 */ beq lbl_800981F8
/* 800981C8 00094008 A0 DE 00 68 */ lhz r6, 0x68(r30)
/* 800981CC 0009400C 7C 06 18 40 */ cmplw r6, r3
/* 800981D0 00094010 41 82 00 28 */ beq lbl_800981F8
/* 800981D4 00094014 88 05 04 14 */ lbz r0, 0x414(r5)
/* 800981D8 00094018 28 00 00 02 */ cmplwi r0, 0x2
/* 800981DC 0009401C 41 80 00 18 */ blt lbl_800981F4
/* 800981E0 00094020 3C 60 00 09 */ lis r3, 0x9
/* 800981E4 00094024 7F 85 E3 78 */ mr r5, r28
/* 800981E8 00094028 38 9F 00 1C */ addi r4, r31, 0x1c
/* 800981EC 0009402C 38 63 00 01 */ addi r3, r3, 0x1
/* 800981F0 00094030 4B FD F7 71 */ bl LogMsg_0
.global lbl_800981F4
lbl_800981F4:
/* 800981F4 00094034 3B C0 00 00 */ li r30, 0x0
.global lbl_800981F8
lbl_800981F8:
/* 800981F8 00094038 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800981FC 0009403C 41 82 00 0C */ beq lbl_80098208
/* 80098200 00094040 7F 83 E3 78 */ mr r3, r28
/* 80098204 00094044 4B FF 87 F9 */ bl L2CA_DisconnectRsp
.global lbl_80098208
lbl_80098208:
/* 80098208 00094048 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8009820C 0009404C 40 82 00 30 */ bne lbl_8009823C
/* 80098210 00094050 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80098214 00094054 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80098218 00094058 88 03 04 14 */ lbz r0, 0x414(r3)
/* 8009821C 0009405C 28 00 00 02 */ cmplwi r0, 0x2
/* 80098220 00094060 41 80 00 2C */ blt lbl_8009824C
/* 80098224 00094064 3C 60 00 09 */ lis r3, 0x9
/* 80098228 00094068 7F 85 E3 78 */ mr r5, r28
/* 8009822C 0009406C 38 63 00 01 */ addi r3, r3, 0x1
/* 80098230 00094070 38 9F 00 A8 */ addi r4, r31, 0xa8
/* 80098234 00094074 4B FD F7 2D */ bl LogMsg_0
/* 80098238 00094078 48 00 00 14 */ b lbl_8009824C
.global lbl_8009823C
lbl_8009823C:
/* 8009823C 0009407C 7F C3 F3 78 */ mr r3, r30
/* 80098240 00094080 38 80 00 0E */ li r4, 0xe
/* 80098244 00094084 38 A0 00 00 */ li r5, 0x0
/* 80098248 00094088 48 00 04 15 */ bl rfc_mx_sm_execute
.global lbl_8009824C
lbl_8009824C:
/* 8009824C 0009408C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80098250 00094090 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80098254 00094094 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80098258 00094098 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8009825C 0009409C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80098260 000940A0 7C 08 03 A6 */ mtlr r0
/* 80098264 000940A4 38 21 00 20 */ addi r1, r1, 0x20
/* 80098268 000940A8 4E 80 00 20 */ blr
.global RFCOMM_BufDataInd
RFCOMM_BufDataInd:
/* 8009826C 000940AC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80098270 000940B0 7C 08 02 A6 */ mflr r0
/* 80098274 000940B4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80098278 000940B8 39 61 00 20 */ addi r11, r1, 0x20
/* 8009827C 000940BC 4B F6 F0 C1 */ bl lbl_8000733C
/* 80098280 000940C0 38 03 FF C0 */ addi r0, r3, -0x40
/* 80098284 000940C4 3F A0 80 44 */ lis r29, "@712_8043F0C8"@ha
/* 80098288 000940C8 2C 00 00 0A */ cmpwi r0, 0xa
/* 8009828C 000940CC 7C 7B 1B 78 */ mr r27, r3
/* 80098290 000940D0 7C 9F 23 78 */ mr r31, r4
/* 80098294 000940D4 3B BD F0 C8 */ addi r29, r29, "@712_8043F0C8"@l
/* 80098298 000940D8 41 80 00 30 */ blt lbl_800982C8
/* 8009829C 000940DC 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800982A0 000940E0 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800982A4 000940E4 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800982A8 000940E8 28 00 00 01 */ cmplwi r0, 0x1
/* 800982AC 000940EC 41 80 00 14 */ blt lbl_800982C0
/* 800982B0 000940F0 7F 65 DB 78 */ mr r5, r27
/* 800982B4 000940F4 38 9D 00 00 */ addi r4, r29, 0x0
/* 800982B8 000940F8 3C 60 00 09 */ lis r3, 0x9
/* 800982BC 000940FC 4B FD F6 A5 */ bl LogMsg_0
.global lbl_800982C0
lbl_800982C0:
/* 800982C0 00094100 3B 80 00 00 */ li r28, 0x0
/* 800982C4 00094104 48 00 00 50 */ b lbl_80098314
.global lbl_800982C8
lbl_800982C8:
/* 800982C8 00094108 3C A0 80 50 */ lis r5, rfc_cb@ha
/* 800982CC 0009410C 54 00 10 3A */ slwi r0, r0, 2
/* 800982D0 00094110 38 A5 98 08 */ addi r5, r5, rfc_cb@l
/* 800982D4 00094114 7C 85 02 14 */ add r4, r5, r0
/* 800982D8 00094118 83 84 00 3C */ lwz r28, 0x3c(r4)
/* 800982DC 0009411C 2C 1C 00 00 */ cmpwi r28, 0x0
/* 800982E0 00094120 41 82 00 34 */ beq lbl_80098314
/* 800982E4 00094124 A0 DC 00 68 */ lhz r6, 0x68(r28)
/* 800982E8 00094128 7C 06 18 40 */ cmplw r6, r3
/* 800982EC 0009412C 41 82 00 28 */ beq lbl_80098314
/* 800982F0 00094130 88 05 04 14 */ lbz r0, 0x414(r5)
/* 800982F4 00094134 28 00 00 02 */ cmplwi r0, 0x2
/* 800982F8 00094138 41 80 00 18 */ blt lbl_80098310
/* 800982FC 0009413C 3C 60 00 09 */ lis r3, 0x9
/* 80098300 00094140 7F 65 DB 78 */ mr r5, r27
/* 80098304 00094144 38 9D 00 1C */ addi r4, r29, 0x1c
/* 80098308 00094148 38 63 00 01 */ addi r3, r3, 0x1
/* 8009830C 0009414C 4B FD F6 55 */ bl LogMsg_0
.global lbl_80098310
lbl_80098310:
/* 80098310 00094150 3B 80 00 00 */ li r28, 0x0
.global lbl_80098314
lbl_80098314:
/* 80098314 00094154 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80098318 00094158 40 82 00 38 */ bne lbl_80098350
/* 8009831C 0009415C 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80098320 00094160 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80098324 00094164 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80098328 00094168 28 00 00 02 */ cmplwi r0, 0x2
/* 8009832C 0009416C 41 80 00 18 */ blt lbl_80098344
/* 80098330 00094170 3C 60 00 09 */ lis r3, 0x9
/* 80098334 00094174 7F 65 DB 78 */ mr r5, r27
/* 80098338 00094178 38 63 00 01 */ addi r3, r3, 0x1
/* 8009833C 0009417C 38 9D 00 C8 */ addi r4, r29, 0xc8
/* 80098340 00094180 4B FD F6 21 */ bl LogMsg_0
.global lbl_80098344
lbl_80098344:
/* 80098344 00094184 7F E3 FB 78 */ mr r3, r31
/* 80098348 00094188 4B FD CB C9 */ bl GKI_freebuf
/* 8009834C 0009418C 48 00 01 A8 */ b lbl_800984F4
.global lbl_80098350
lbl_80098350:
/* 80098350 00094190 3F C0 80 50 */ lis r30, rfc_cb@ha
/* 80098354 00094194 7F 83 E3 78 */ mr r3, r28
/* 80098358 00094198 7F E5 FB 78 */ mr r5, r31
/* 8009835C 0009419C 38 9E 98 08 */ addi r4, r30, rfc_cb@l
/* 80098360 000941A0 48 00 30 B9 */ bl rfc_parse_data
/* 80098364 000941A4 54 64 06 3E */ clrlwi r4, r3, 24
/* 80098368 000941A8 7C 7D 1B 78 */ mr r29, r3
/* 8009836C 000941AC 28 04 00 32 */ cmplwi r4, 0x32
/* 80098370 000941B0 40 82 00 10 */ bne lbl_80098380
/* 80098374 000941B4 7F E3 FB 78 */ mr r3, r31
/* 80098378 000941B8 4B FD CB 99 */ bl GKI_freebuf
/* 8009837C 000941BC 48 00 01 78 */ b lbl_800984F4
.global lbl_80098380
lbl_80098380:
/* 80098380 000941C0 88 1E 98 08 */ lbz r0, -0x67f8(r30)
/* 80098384 000941C4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80098388 000941C8 40 82 00 34 */ bne lbl_800983BC
/* 8009838C 000941CC 28 04 00 04 */ cmplwi r4, 0x4
/* 80098390 000941D0 40 82 00 14 */ bne lbl_800983A4
/* 80098394 000941D4 7F 83 E3 78 */ mr r3, r28
/* 80098398 000941D8 7F E4 FB 78 */ mr r4, r31
/* 8009839C 000941DC 48 00 35 F1 */ bl rfc_process_mx_message
/* 800983A0 000941E0 48 00 01 54 */ b lbl_800984F4
.global lbl_800983A4
lbl_800983A4:
/* 800983A4 000941E4 7F 83 E3 78 */ mr r3, r28
/* 800983A8 000941E8 38 A0 00 00 */ li r5, 0x0
/* 800983AC 000941EC 48 00 02 B1 */ bl rfc_mx_sm_execute
/* 800983B0 000941F0 7F E3 FB 78 */ mr r3, r31
/* 800983B4 000941F4 4B FD CB 5D */ bl GKI_freebuf
/* 800983B8 000941F8 48 00 01 3C */ b lbl_800984F4
.global lbl_800983BC
lbl_800983BC:
/* 800983BC 000941FC 7F 83 E3 78 */ mr r3, r28
/* 800983C0 00094200 7C 04 03 78 */ mr r4, r0
/* 800983C4 00094204 4B FF F5 E5 */ bl port_find_mcb_dlci_port
/* 800983C8 00094208 2C 03 00 00 */ cmpwi r3, 0x0
/* 800983CC 0009420C 7C 7B 1B 78 */ mr r27, r3
/* 800983D0 00094210 41 82 00 10 */ beq lbl_800983E0
/* 800983D4 00094214 80 03 00 6C */ lwz r0, 0x6c(r3)
/* 800983D8 00094218 2C 00 00 00 */ cmpwi r0, 0x0
/* 800983DC 0009421C 40 82 00 B4 */ bne lbl_80098490
.global lbl_800983E0
lbl_800983E0:
/* 800983E0 00094220 57 A0 06 3F */ clrlwi. r0, r29, 24
/* 800983E4 00094224 41 82 00 64 */ beq lbl_80098448
/* 800983E8 00094228 88 9C 00 6D */ lbz r4, 0x6d(r28)
/* 800983EC 0009422C 2C 04 00 00 */ cmpwi r4, 0x0
/* 800983F0 00094230 41 82 00 18 */ beq lbl_80098408
/* 800983F4 00094234 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800983F8 00094238 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800983FC 0009423C 88 03 00 02 */ lbz r0, 0x2(r3)
/* 80098400 00094240 2C 00 00 00 */ cmpwi r0, 0x0
/* 80098404 00094244 41 82 00 20 */ beq lbl_80098424
.global lbl_80098408
lbl_80098408:
/* 80098408 00094248 2C 04 00 00 */ cmpwi r4, 0x0
/* 8009840C 0009424C 40 82 00 30 */ bne lbl_8009843C
/* 80098410 00094250 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80098414 00094254 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80098418 00094258 88 03 00 02 */ lbz r0, 0x2(r3)
/* 8009841C 0009425C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80098420 00094260 41 82 00 1C */ beq lbl_8009843C
.global lbl_80098424
lbl_80098424:
/* 80098424 00094264 3C 80 80 50 */ lis r4, rfc_cb@ha
/* 80098428 00094268 7F 83 E3 78 */ mr r3, r28
/* 8009842C 0009426C 38 A4 98 08 */ addi r5, r4, rfc_cb@l
/* 80098430 00094270 88 84 98 08 */ lbz r4, -0x67f8(r4)
/* 80098434 00094274 88 A5 00 04 */ lbz r5, 0x4(r5)
/* 80098438 00094278 48 00 26 91 */ bl rfc_send_dm
.global lbl_8009843C
lbl_8009843C:
/* 8009843C 0009427C 7F E3 FB 78 */ mr r3, r31
/* 80098440 00094280 4B FD CA D1 */ bl GKI_freebuf
/* 80098444 00094284 48 00 00 B0 */ b lbl_800984F4
.global lbl_80098448
lbl_80098448:
/* 80098448 00094288 3F C0 80 50 */ lis r30, rfc_cb@ha
/* 8009844C 0009428C 88 7E 98 08 */ lbz r3, rfc_cb@l(r30)
/* 80098450 00094290 4B FF F5 AD */ bl port_find_dlci_port
/* 80098454 00094294 2C 03 00 00 */ cmpwi r3, 0x0
/* 80098458 00094298 7C 7B 1B 78 */ mr r27, r3
/* 8009845C 0009429C 40 82 00 20 */ bne lbl_8009847C
/* 80098460 000942A0 88 9E 98 08 */ lbz r4, -0x67f8(r30)
/* 80098464 000942A4 7F 83 E3 78 */ mr r3, r28
/* 80098468 000942A8 38 A0 00 01 */ li r5, 0x1
/* 8009846C 000942AC 48 00 26 5D */ bl rfc_send_dm
/* 80098470 000942B0 7F E3 FB 78 */ mr r3, r31
/* 80098474 000942B4 4B FD CA 9D */ bl GKI_freebuf
/* 80098478 000942B8 48 00 00 7C */ b lbl_800984F4
.global lbl_8009847C
lbl_8009847C:
/* 8009847C 000942BC 88 1E 98 08 */ lbz r0, -0x67f8(r30)
/* 80098480 000942C0 88 A3 00 00 */ lbz r5, 0x0(r3)
/* 80098484 000942C4 7C 9C 02 14 */ add r4, r28, r0
/* 80098488 000942C8 98 A4 00 24 */ stb r5, 0x24(r4)
/* 8009848C 000942CC 93 83 00 6C */ stw r28, 0x6c(r3)
.global lbl_80098490
lbl_80098490:
/* 80098490 000942D0 57 A4 06 3E */ clrlwi r4, r29, 24
/* 80098494 000942D4 28 04 00 04 */ cmplwi r4, 0x4
/* 80098498 000942D8 40 82 00 48 */ bne lbl_800984E0
/* 8009849C 000942DC A0 1F 00 02 */ lhz r0, 0x2(r31)
/* 800984A0 000942E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 800984A4 000942E4 41 82 00 14 */ beq lbl_800984B8
/* 800984A8 000942E8 7F 63 DB 78 */ mr r3, r27
/* 800984AC 000942EC 7F E5 FB 78 */ mr r5, r31
/* 800984B0 000942F0 48 00 0D F1 */ bl rfc_port_sm_execute
/* 800984B4 000942F4 48 00 00 0C */ b lbl_800984C0
.global lbl_800984B8
lbl_800984B8:
/* 800984B8 000942F8 7F E3 FB 78 */ mr r3, r31
/* 800984BC 000942FC 4B FD CA 55 */ bl GKI_freebuf
.global lbl_800984C0
lbl_800984C0:
/* 800984C0 00094300 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800984C4 00094304 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800984C8 00094308 88 83 00 05 */ lbz r4, 0x5(r3)
/* 800984CC 0009430C 2C 04 00 00 */ cmpwi r4, 0x0
/* 800984D0 00094310 41 82 00 24 */ beq lbl_800984F4
/* 800984D4 00094314 7F 63 DB 78 */ mr r3, r27
/* 800984D8 00094318 48 00 41 8D */ bl rfc_inc_credit
/* 800984DC 0009431C 48 00 00 18 */ b lbl_800984F4
.global lbl_800984E0
lbl_800984E0:
/* 800984E0 00094320 7F 63 DB 78 */ mr r3, r27
/* 800984E4 00094324 38 A0 00 00 */ li r5, 0x0
/* 800984E8 00094328 48 00 0D B9 */ bl rfc_port_sm_execute
/* 800984EC 0009432C 7F E3 FB 78 */ mr r3, r31
/* 800984F0 00094330 4B FD CA 21 */ bl GKI_freebuf
.global lbl_800984F4
lbl_800984F4:
/* 800984F4 00094334 39 61 00 20 */ addi r11, r1, 0x20
/* 800984F8 00094338 4B F6 EE 91 */ bl lbl_80007388
/* 800984FC 0009433C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80098500 00094340 7C 08 03 A6 */ mtlr r0
/* 80098504 00094344 38 21 00 20 */ addi r1, r1, 0x20
/* 80098508 00094348 4E 80 00 20 */ blr
.global RFCOMM_CongestionStatusInd
RFCOMM_CongestionStatusInd:
/* 8009850C 0009434C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80098510 00094350 7C 08 02 A6 */ mflr r0
/* 80098514 00094354 90 01 00 24 */ stw r0, 0x24(r1)
/* 80098518 00094358 38 03 FF C0 */ addi r0, r3, -0x40
/* 8009851C 0009435C 2C 00 00 0A */ cmpwi r0, 0xa
/* 80098520 00094360 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80098524 00094364 3F E0 80 44 */ lis r31, "@712_8043F0C8"@ha
/* 80098528 00094368 3B FF F0 C8 */ addi r31, r31, "@712_8043F0C8"@l
/* 8009852C 0009436C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80098530 00094370 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80098534 00094374 7C 9D 23 78 */ mr r29, r4
/* 80098538 00094378 93 81 00 10 */ stw r28, 0x10(r1)
/* 8009853C 0009437C 7C 7C 1B 78 */ mr r28, r3
/* 80098540 00094380 41 80 00 30 */ blt lbl_80098570
/* 80098544 00094384 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80098548 00094388 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 8009854C 0009438C 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80098550 00094390 28 00 00 01 */ cmplwi r0, 0x1
/* 80098554 00094394 41 80 00 14 */ blt lbl_80098568
/* 80098558 00094398 7F 85 E3 78 */ mr r5, r28
/* 8009855C 0009439C 38 9F 00 00 */ addi r4, r31, 0x0
/* 80098560 000943A0 3C 60 00 09 */ lis r3, 0x9
/* 80098564 000943A4 4B FD F3 FD */ bl LogMsg_0
.global lbl_80098568
lbl_80098568:
/* 80098568 000943A8 3B C0 00 00 */ li r30, 0x0
/* 8009856C 000943AC 48 00 00 50 */ b lbl_800985BC
.global lbl_80098570
lbl_80098570:
/* 80098570 000943B0 3C A0 80 50 */ lis r5, rfc_cb@ha
/* 80098574 000943B4 54 00 10 3A */ slwi r0, r0, 2
/* 80098578 000943B8 38 A5 98 08 */ addi r5, r5, rfc_cb@l
/* 8009857C 000943BC 7C 85 02 14 */ add r4, r5, r0
/* 80098580 000943C0 83 C4 00 3C */ lwz r30, 0x3c(r4)
/* 80098584 000943C4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80098588 000943C8 41 82 00 34 */ beq lbl_800985BC
/* 8009858C 000943CC A0 DE 00 68 */ lhz r6, 0x68(r30)
/* 80098590 000943D0 7C 06 18 40 */ cmplw r6, r3
/* 80098594 000943D4 41 82 00 28 */ beq lbl_800985BC
/* 80098598 000943D8 88 05 04 14 */ lbz r0, 0x414(r5)
/* 8009859C 000943DC 28 00 00 02 */ cmplwi r0, 0x2
/* 800985A0 000943E0 41 80 00 18 */ blt lbl_800985B8
/* 800985A4 000943E4 3C 60 00 09 */ lis r3, 0x9
/* 800985A8 000943E8 7F 85 E3 78 */ mr r5, r28
/* 800985AC 000943EC 38 9F 00 1C */ addi r4, r31, 0x1c
/* 800985B0 000943F0 38 63 00 01 */ addi r3, r3, 0x1
/* 800985B4 000943F4 4B FD F3 AD */ bl LogMsg_0
.global lbl_800985B8
lbl_800985B8:
/* 800985B8 000943F8 3B C0 00 00 */ li r30, 0x0
.global lbl_800985BC
lbl_800985BC:
/* 800985BC 000943FC 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800985C0 00094400 40 82 00 2C */ bne lbl_800985EC
/* 800985C4 00094404 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800985C8 00094408 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800985CC 0009440C 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800985D0 00094410 28 00 00 01 */ cmplwi r0, 0x1
/* 800985D4 00094414 41 80 00 4C */ blt lbl_80098620
/* 800985D8 00094418 7F 85 E3 78 */ mr r5, r28
/* 800985DC 0009441C 38 9F 00 E4 */ addi r4, r31, 0xe4
/* 800985E0 00094420 3C 60 00 09 */ lis r3, 0x9
/* 800985E4 00094424 4B FD F3 7D */ bl LogMsg_0
/* 800985E8 00094428 48 00 00 38 */ b lbl_80098620
.global lbl_800985EC
lbl_800985EC:
/* 800985EC 0009442C 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800985F0 00094430 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800985F4 00094434 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800985F8 00094438 28 00 00 04 */ cmplwi r0, 0x4
/* 800985FC 0009443C 41 80 00 18 */ blt lbl_80098614
/* 80098600 00094440 3C 60 00 09 */ lis r3, 0x9
/* 80098604 00094444 7F 85 E3 78 */ mr r5, r28
/* 80098608 00094448 38 63 00 03 */ addi r3, r3, 0x3
/* 8009860C 0009444C 38 9F 01 14 */ addi r4, r31, 0x114
/* 80098610 00094450 4B FD F3 51 */ bl LogMsg_0
.global lbl_80098614
lbl_80098614:
/* 80098614 00094454 7F C3 F3 78 */ mr r3, r30
/* 80098618 00094458 7F A4 EB 78 */ mr r4, r29
/* 8009861C 0009445C 48 00 1C F5 */ bl rfc_process_l2cap_congestion
.global lbl_80098620
lbl_80098620:
/* 80098620 00094460 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80098624 00094464 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80098628 00094468 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8009862C 0009446C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80098630 00094470 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80098634 00094474 7C 08 03 A6 */ mtlr r0
/* 80098638 00094478 38 21 00 20 */ addi r1, r1, 0x20
/* 8009863C 0009447C 4E 80 00 20 */ blr
.global rfc_save_lcid_mcb
rfc_save_lcid_mcb:
/* 80098640 00094480 38 04 FF C0 */ addi r0, r4, -0x40
/* 80098644 00094484 3C 80 80 50 */ lis r4, rfc_cb@ha
/* 80098648 00094488 38 84 98 08 */ addi r4, r4, rfc_cb@l
/* 8009864C 0009448C 54 00 10 3A */ slwi r0, r0, 2
/* 80098650 00094490 7C 84 02 14 */ add r4, r4, r0
/* 80098654 00094494 90 64 00 3C */ stw r3, 0x3c(r4)
/* 80098658 00094498 4E 80 00 20 */ blr
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@712_8043F0C8"
"@712_8043F0C8":
.4byte 0x7266635F
.4byte 0x66696E64
.4byte 0x5F6C6369
.4byte 0x645F6D63
.4byte 0x62204C43
.4byte 0x49443A30
.4byte 0x78257800
.4byte 0x7266635F
.4byte 0x66696E64
.4byte 0x5F6C6369
.4byte 0x645F6D63
.4byte 0x62204C43
.4byte 0x49442072
.4byte 0x65757365
.4byte 0x64204C43
.4byte 0x49443A30
.4byte 0x78257820
.4byte 0x63757272
.4byte 0x656E743A
.4byte 0x30782578
.4byte 0
.4byte 0x5246434F
.4byte 0x4D4D5F43
.4byte 0x6F6E6E65
.4byte 0x6374436E
.4byte 0x66204C43
.4byte 0x49443A30
.4byte 0x78257800
.4byte 0x5246434F
.4byte 0x4D4D5F43
.4byte 0x6F6E6669
.4byte 0x67496E64
.4byte 0x204C4349
.4byte 0x443A3078
.4byte 0x25780000
.4byte 0x5246434F
.4byte 0x4D4D5F43
.4byte 0x6F6E6669
.4byte 0x67436E66
.4byte 0x204C4349
.4byte 0x443A3078
.4byte 0x25780000
.4byte 0x5246434F
.4byte 0x4D4D5F44
.4byte 0x6973636F
.4byte 0x6E6E6563
.4byte 0x74496E64
.4byte 0x204C4349
.4byte 0x443A3078
.4byte 0x25780000
.4byte 0x5246434F
.4byte 0x4D4D5F42
.4byte 0x75664461
.4byte 0x7461496E
.4byte 0x64204C43
.4byte 0x49443A30
.4byte 0x78257800
.4byte 0x5246434F
.4byte 0x4D4D5F43
.4byte 0x6F6E6765
.4byte 0x7374696F
.4byte 0x6E537461
.4byte 0x74757349
.4byte 0x6E642064
.4byte 0x726F7070
.4byte 0x6564204C
.4byte 0x4349443A
.4byte 0x30782578
.4byte 0
.4byte 0x5246434F
.4byte 0x4D4D5F43
.4byte 0x6F6E6765
.4byte 0x7374696F
.4byte 0x6E537461
.4byte 0x74757349
.4byte 0x6E64204C
.4byte 0x4349443A
.4byte 0x30782578
.4byte 0
.4byte 0