1553 lines
71 KiB
ArmAsm
1553 lines
71 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260
|
|
.global PORT_StartCnf
|
|
PORT_StartCnf:
|
|
/* 80096354 00092194 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 80096358 00092198 7C 08 02 A6 */ mflr r0
|
|
/* 8009635C 0009219C 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80096360 000921A0 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 80096364 000921A4 4B F7 0F BD */ bl func_80007320
|
|
/* 80096368 000921A8 3C A0 80 50 */ lis r5, rfc_cb@ha
|
|
/* 8009636C 000921AC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80096370 000921B0 38 A5 98 08 */ addi r5, r5, rfc_cb@l
|
|
/* 80096374 000921B4 7C 9E 23 78 */ mr r30, r4
|
|
/* 80096378 000921B8 88 05 04 14 */ lbz r0, 0x414(r5)
|
|
/* 8009637C 000921BC 3B E0 00 01 */ li r31, 1
|
|
/* 80096380 000921C0 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096384 000921C4 41 80 00 1C */ blt lbl_800963A0
|
|
/* 80096388 000921C8 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 8009638C 000921CC 3C 80 80 44 */ lis r4, $$21560@ha
|
|
/* 80096390 000921D0 7F C5 F3 78 */ mr r5, r30
|
|
/* 80096394 000921D4 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096398 000921D8 38 84 EC 88 */ addi r4, r4, $$21560@l
|
|
/* 8009639C 000921DC 4B FE 15 C5 */ bl LogMsg_0
|
|
lbl_800963A0:
|
|
/* 800963A0 000921E0 3E C0 80 50 */ lis r22, rfc_cb@ha
|
|
/* 800963A4 000921E4 3A 80 00 00 */ li r20, 0
|
|
/* 800963A8 000921E8 3A D6 98 08 */ addi r22, r22, rfc_cb@l
|
|
/* 800963AC 000921EC 3E E0 00 09 */ lis r23, 9
|
|
/* 800963B0 000921F0 3F 00 80 44 */ lis r24, 0x8044
|
|
/* 800963B4 000921F4 3B 40 00 0C */ li r26, 0xc
|
|
/* 800963B8 000921F8 3A B6 00 68 */ addi r21, r22, 0x68
|
|
/* 800963BC 000921FC 3B 20 00 18 */ li r25, 0x18
|
|
/* 800963C0 00092200 3F 80 00 01 */ lis r28, 1
|
|
/* 800963C4 00092204 3B 60 00 00 */ li r27, 0
|
|
lbl_800963C8:
|
|
/* 800963C8 00092208 80 15 00 6C */ lwz r0, 0x6c(r21)
|
|
/* 800963CC 0009220C 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 800963D0 00092210 40 82 00 AC */ bne lbl_8009647C
|
|
/* 800963D4 00092214 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 800963D8 00092218 3B E0 00 00 */ li r31, 0
|
|
/* 800963DC 0009221C 40 82 00 18 */ bne lbl_800963F4
|
|
/* 800963E0 00092220 88 95 00 0D */ lbz r4, 0xd(r21)
|
|
/* 800963E4 00092224 7F A3 EB 78 */ mr r3, r29
|
|
/* 800963E8 00092228 A0 B5 00 12 */ lhz r5, 0x12(r21)
|
|
/* 800963EC 0009222C 48 00 41 55 */ bl RFCOMM_ParNegReq
|
|
/* 800963F0 00092230 48 00 00 8C */ b lbl_8009647C
|
|
lbl_800963F4:
|
|
/* 800963F4 00092234 88 16 04 14 */ lbz r0, 0x414(r22)
|
|
/* 800963F8 00092238 28 00 00 02 */ cmplwi r0, 2
|
|
/* 800963FC 0009223C 41 80 00 14 */ blt lbl_80096410
|
|
/* 80096400 00092240 7F C5 F3 78 */ mr r5, r30
|
|
/* 80096404 00092244 38 77 00 01 */ addi r3, r23, 1
|
|
/* 80096408 00092248 38 98 EC A0 */ addi r4, r24, -4960
|
|
/* 8009640C 0009224C 4B FE 15 55 */ bl LogMsg_0
|
|
lbl_80096410:
|
|
/* 80096410 00092250 28 1E 00 04 */ cmplwi r30, 4
|
|
/* 80096414 00092254 40 82 00 0C */ bne lbl_80096420
|
|
/* 80096418 00092258 9B 35 00 0E */ stb r25, 0xe(r21)
|
|
/* 8009641C 0009225C 48 00 00 08 */ b lbl_80096424
|
|
lbl_80096420:
|
|
/* 80096420 00092260 9B 55 00 0E */ stb r26, 0xe(r21)
|
|
lbl_80096424:
|
|
/* 80096424 00092264 7F A3 EB 78 */ mr r3, r29
|
|
/* 80096428 00092268 48 00 5D 65 */ bl rfc_release_multiplexer_channel
|
|
/* 8009642C 0009226C 93 75 00 6C */ stw r27, 0x6c(r21)
|
|
/* 80096430 00092270 81 95 00 8C */ lwz r12, 0x8c(r21)
|
|
/* 80096434 00092274 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80096438 00092278 41 82 00 20 */ beq lbl_80096458
|
|
/* 8009643C 0009227C 80 15 00 88 */ lwz r0, 0x88(r21)
|
|
/* 80096440 00092280 54 00 04 21 */ rlwinm. r0, r0, 0, 0x10, 0x10
|
|
/* 80096444 00092284 41 82 00 14 */ beq lbl_80096458
|
|
/* 80096448 00092288 38 7C 80 00 */ addi r3, r28, -32768
|
|
/* 8009644C 0009228C 88 95 00 00 */ lbz r4, 0(r21)
|
|
/* 80096450 00092290 7D 89 03 A6 */ mtctr r12
|
|
/* 80096454 00092294 4E 80 04 21 */ bctrl
|
|
lbl_80096458:
|
|
/* 80096458 00092298 81 95 00 90 */ lwz r12, 0x90(r21)
|
|
/* 8009645C 0009229C 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80096460 000922A0 41 82 00 14 */ beq lbl_80096474
|
|
/* 80096464 000922A4 88 95 00 00 */ lbz r4, 0(r21)
|
|
/* 80096468 000922A8 38 60 00 0C */ li r3, 0xc
|
|
/* 8009646C 000922AC 7D 89 03 A6 */ mtctr r12
|
|
/* 80096470 000922B0 4E 80 04 21 */ bctrl
|
|
lbl_80096474:
|
|
/* 80096474 000922B4 7E A3 AB 78 */ mr r3, r21
|
|
/* 80096478 000922B8 48 00 14 55 */ bl port_release_port
|
|
lbl_8009647C:
|
|
/* 8009647C 000922BC 3A 94 00 01 */ addi r20, r20, 1
|
|
/* 80096480 000922C0 3A B5 00 A4 */ addi r21, r21, 0xa4
|
|
/* 80096484 000922C4 2C 14 00 05 */ cmpwi r20, 5
|
|
/* 80096488 000922C8 41 80 FF 40 */ blt lbl_800963C8
|
|
/* 8009648C 000922CC 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 80096490 000922D0 41 82 00 0C */ beq lbl_8009649C
|
|
/* 80096494 000922D4 7F A3 EB 78 */ mr r3, r29
|
|
/* 80096498 000922D8 48 00 5F 21 */ bl rfc_check_mcb_active
|
|
lbl_8009649C:
|
|
/* 8009649C 000922DC 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 800964A0 000922E0 4B F7 0E CD */ bl func_8000736C
|
|
/* 800964A4 000922E4 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 800964A8 000922E8 7C 08 03 A6 */ mtlr r0
|
|
/* 800964AC 000922EC 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 800964B0 000922F0 4E 80 00 20 */ blr
|
|
|
|
.global PORT_StartInd
|
|
PORT_StartInd:
|
|
/* 800964B4 000922F4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800964B8 000922F8 7C 08 02 A6 */ mflr r0
|
|
/* 800964BC 000922FC 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 800964C0 00092300 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800964C4 00092304 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 800964C8 00092308 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800964CC 0009230C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800964D0 00092310 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 800964D4 00092314 28 00 00 04 */ cmplwi r0, 4
|
|
/* 800964D8 00092318 41 80 00 18 */ blt lbl_800964F0
|
|
/* 800964DC 0009231C 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 800964E0 00092320 3C 80 80 44 */ lis r4, $$21573@ha
|
|
/* 800964E4 00092324 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 800964E8 00092328 38 84 EC C0 */ addi r4, r4, $$21573@l
|
|
/* 800964EC 0009232C 4B FE 14 75 */ bl LogMsg_0
|
|
lbl_800964F0:
|
|
/* 800964F0 00092330 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 800964F4 00092334 38 00 00 05 */ li r0, 5
|
|
/* 800964F8 00092338 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 800964FC 0009233C 38 63 00 68 */ addi r3, r3, 0x68
|
|
/* 80096500 00092340 7C 09 03 A6 */ mtctr r0
|
|
lbl_80096504:
|
|
/* 80096504 00092344 80 03 00 6C */ lwz r0, 0x6c(r3)
|
|
/* 80096508 00092348 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8009650C 0009234C 41 82 00 0C */ beq lbl_80096518
|
|
/* 80096510 00092350 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 80096514 00092354 40 82 00 14 */ bne lbl_80096528
|
|
lbl_80096518:
|
|
/* 80096518 00092358 7F E3 FB 78 */ mr r3, r31
|
|
/* 8009651C 0009235C 38 80 00 00 */ li r4, 0
|
|
/* 80096520 00092360 48 00 3F 1D */ bl RFCOMM_StartRsp
|
|
/* 80096524 00092364 48 00 00 18 */ b lbl_8009653C
|
|
lbl_80096528:
|
|
/* 80096528 00092368 38 63 00 A4 */ addi r3, r3, 0xa4
|
|
/* 8009652C 0009236C 42 00 FF D8 */ bdnz lbl_80096504
|
|
/* 80096530 00092370 7F E3 FB 78 */ mr r3, r31
|
|
/* 80096534 00092374 38 80 00 01 */ li r4, 1
|
|
/* 80096538 00092378 48 00 3F 05 */ bl RFCOMM_StartRsp
|
|
lbl_8009653C:
|
|
/* 8009653C 0009237C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80096540 00092380 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80096544 00092384 7C 08 03 A6 */ mtlr r0
|
|
/* 80096548 00092388 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8009654C 0009238C 4E 80 00 20 */ blr
|
|
|
|
.global PORT_ParNegInd
|
|
PORT_ParNegInd:
|
|
/* 80096550 00092390 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096554 00092394 7C 08 02 A6 */ mflr r0
|
|
/* 80096558 00092398 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8009655C 0009239C 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80096560 000923A0 4B F7 0D D9 */ bl func_80007338
|
|
/* 80096564 000923A4 7C 9F 23 78 */ mr r31, r4
|
|
/* 80096568 000923A8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8009656C 000923AC 7C BA 2B 78 */ mr r26, r5
|
|
/* 80096570 000923B0 7C DB 33 78 */ mr r27, r6
|
|
/* 80096574 000923B4 7C FC 3B 78 */ mr r28, r7
|
|
/* 80096578 000923B8 48 00 14 31 */ bl port_find_mcb_dlci_port
|
|
/* 8009657C 000923BC 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096580 000923C0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80096584 000923C4 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096588 000923C8 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 8009658C 000923CC 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096590 000923D0 41 80 00 20 */ blt lbl_800965B0
|
|
/* 80096594 000923D4 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096598 000923D8 3C 80 80 44 */ lis r4, $$21600@ha
|
|
/* 8009659C 000923DC 7F E5 FB 78 */ mr r5, r31
|
|
/* 800965A0 000923E0 7F 46 D3 78 */ mr r6, r26
|
|
/* 800965A4 000923E4 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 800965A8 000923E8 38 84 EC D0 */ addi r4, r4, $$21600@l
|
|
/* 800965AC 000923EC 4B FE 13 B5 */ bl LogMsg_0
|
|
lbl_800965B0:
|
|
/* 800965B0 000923F0 2C 1D 00 00 */ cmpwi r29, 0
|
|
/* 800965B4 000923F4 40 82 00 68 */ bne lbl_8009661C
|
|
/* 800965B8 000923F8 7F E3 FB 78 */ mr r3, r31
|
|
/* 800965BC 000923FC 48 00 14 41 */ bl port_find_dlci_port
|
|
/* 800965C0 00092400 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 800965C4 00092404 7C 7D 1B 78 */ mr r29, r3
|
|
/* 800965C8 00092408 40 82 00 48 */ bne lbl_80096610
|
|
/* 800965CC 0009240C 7F C3 F3 78 */ mr r3, r30
|
|
/* 800965D0 00092410 7F E4 FB 78 */ mr r4, r31
|
|
/* 800965D4 00092414 38 A0 00 00 */ li r5, 0
|
|
/* 800965D8 00092418 48 00 44 F1 */ bl rfc_send_dm
|
|
/* 800965DC 0009241C 7F C3 F3 78 */ mr r3, r30
|
|
/* 800965E0 00092420 48 00 5D D9 */ bl rfc_check_mcb_active
|
|
/* 800965E4 00092424 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 800965E8 00092428 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 800965EC 0009242C 88 03 04 14 */ lbz r0, 0x414(r3)
|
|
/* 800965F0 00092430 28 00 00 04 */ cmplwi r0, 4
|
|
/* 800965F4 00092434 41 80 00 F4 */ blt lbl_800966E8
|
|
/* 800965F8 00092438 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 800965FC 0009243C 3C 80 80 44 */ lis r4, $$21601@ha
|
|
/* 80096600 00092440 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096604 00092444 38 84 EC F0 */ addi r4, r4, $$21601@l
|
|
/* 80096608 00092448 4B FE 13 59 */ bl LogMsg_0
|
|
/* 8009660C 0009244C 48 00 00 DC */ b lbl_800966E8
|
|
lbl_80096610:
|
|
/* 80096610 00092450 88 03 00 00 */ lbz r0, 0(r3)
|
|
/* 80096614 00092454 7C 7E FA 14 */ add r3, r30, r31
|
|
/* 80096618 00092458 98 03 00 24 */ stb r0, 0x24(r3)
|
|
lbl_8009661C:
|
|
/* 8009661C 0009245C 38 7D 00 06 */ addi r3, r29, 6
|
|
/* 80096620 00092460 38 9E 00 62 */ addi r4, r30, 0x62
|
|
/* 80096624 00092464 38 A0 00 06 */ li r5, 6
|
|
/* 80096628 00092468 4B F6 D9 D9 */ bl memcpy
|
|
/* 8009662C 0009246C 7F A3 EB 78 */ mr r3, r29
|
|
/* 80096630 00092470 48 00 11 21 */ bl port_select_mtu
|
|
/* 80096634 00092474 93 DD 00 6C */ stw r30, 0x6c(r29)
|
|
/* 80096638 00092478 A0 1D 00 12 */ lhz r0, 0x12(r29)
|
|
/* 8009663C 0009247C 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80096640 00092480 40 80 00 08 */ bge lbl_80096648
|
|
/* 80096644 00092484 7C 1A 03 78 */ mr r26, r0
|
|
lbl_80096648:
|
|
/* 80096648 00092488 B3 5D 00 12 */ sth r26, 0x12(r29)
|
|
/* 8009664C 0009248C B3 5D 00 14 */ sth r26, 0x14(r29)
|
|
/* 80096650 00092490 88 1E 00 72 */ lbz r0, 0x72(r30)
|
|
/* 80096654 00092494 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80096658 00092498 40 82 00 20 */ bne lbl_80096678
|
|
/* 8009665C 0009249C 2C 1B 00 00 */ cmpwi r27, 0
|
|
/* 80096660 000924A0 40 82 00 10 */ bne lbl_80096670
|
|
/* 80096664 000924A4 38 00 00 01 */ li r0, 1
|
|
/* 80096668 000924A8 98 1E 00 72 */ stb r0, 0x72(r30)
|
|
/* 8009666C 000924AC 48 00 00 0C */ b lbl_80096678
|
|
lbl_80096670:
|
|
/* 80096670 000924B0 38 00 00 02 */ li r0, 2
|
|
/* 80096674 000924B4 98 1E 00 72 */ stb r0, 0x72(r30)
|
|
lbl_80096678:
|
|
/* 80096678 000924B8 2C 1B 00 00 */ cmpwi r27, 0
|
|
/* 8009667C 000924BC 40 82 00 10 */ bne lbl_8009668C
|
|
/* 80096680 000924C0 38 C0 00 00 */ li r6, 0
|
|
/* 80096684 000924C4 38 E0 00 00 */ li r7, 0
|
|
/* 80096688 000924C8 48 00 00 50 */ b lbl_800966D8
|
|
lbl_8009668C:
|
|
/* 8009668C 000924CC 88 1E 00 72 */ lbz r0, 0x72(r30)
|
|
/* 80096690 000924D0 28 00 00 02 */ cmplwi r0, 2
|
|
/* 80096694 000924D4 40 82 00 3C */ bne lbl_800966D0
|
|
/* 80096698 000924D8 2C 1C 00 00 */ cmpwi r28, 0
|
|
/* 8009669C 000924DC B3 9D 00 98 */ sth r28, 0x98(r29)
|
|
/* 800966A0 000924E0 40 82 00 0C */ bne lbl_800966AC
|
|
/* 800966A4 000924E4 38 00 00 01 */ li r0, 1
|
|
/* 800966A8 000924E8 98 1D 00 24 */ stb r0, 0x24(r29)
|
|
lbl_800966AC:
|
|
/* 800966AC 000924EC A0 7D 00 9C */ lhz r3, 0x9c(r29)
|
|
/* 800966B0 000924F0 38 C0 00 E0 */ li r6, 0xe0
|
|
/* 800966B4 000924F4 38 00 00 07 */ li r0, 7
|
|
/* 800966B8 000924F8 28 03 00 07 */ cmplwi r3, 7
|
|
/* 800966BC 000924FC 40 80 00 08 */ bge lbl_800966C4
|
|
/* 800966C0 00092500 7C 60 1B 78 */ mr r0, r3
|
|
lbl_800966C4:
|
|
/* 800966C4 00092504 54 07 06 3E */ clrlwi r7, r0, 0x18
|
|
/* 800966C8 00092508 B0 FD 00 9A */ sth r7, 0x9a(r29)
|
|
/* 800966CC 0009250C 48 00 00 0C */ b lbl_800966D8
|
|
lbl_800966D0:
|
|
/* 800966D0 00092510 38 C0 00 00 */ li r6, 0
|
|
/* 800966D4 00092514 38 E0 00 00 */ li r7, 0
|
|
lbl_800966D8:
|
|
/* 800966D8 00092518 A0 BD 00 12 */ lhz r5, 0x12(r29)
|
|
/* 800966DC 0009251C 7F C3 F3 78 */ mr r3, r30
|
|
/* 800966E0 00092520 7F E4 FB 78 */ mr r4, r31
|
|
/* 800966E4 00092524 48 00 3F 3D */ bl RFCOMM_ParNegRsp
|
|
lbl_800966E8:
|
|
/* 800966E8 00092528 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800966EC 0009252C 4B F7 0C 99 */ bl func_80007384
|
|
/* 800966F0 00092530 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800966F4 00092534 7C 08 03 A6 */ mtlr r0
|
|
/* 800966F8 00092538 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800966FC 0009253C 4E 80 00 20 */ blr
|
|
|
|
.global PORT_ParNegCnf
|
|
PORT_ParNegCnf:
|
|
/* 80096700 00092540 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096704 00092544 7C 08 02 A6 */ mflr r0
|
|
/* 80096708 00092548 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8009670C 0009254C 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80096710 00092550 4B F7 0C 29 */ bl func_80007338
|
|
/* 80096714 00092554 7C 9B 23 78 */ mr r27, r4
|
|
/* 80096718 00092558 7C 7A 1B 78 */ mr r26, r3
|
|
/* 8009671C 0009255C 7C BC 2B 78 */ mr r28, r5
|
|
/* 80096720 00092560 7C DD 33 78 */ mr r29, r6
|
|
/* 80096724 00092564 7C FE 3B 78 */ mr r30, r7
|
|
/* 80096728 00092568 48 00 12 81 */ bl port_find_mcb_dlci_port
|
|
/* 8009672C 0009256C 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096730 00092570 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80096734 00092574 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096738 00092578 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 8009673C 0009257C 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096740 00092580 41 80 00 28 */ blt lbl_80096768
|
|
/* 80096744 00092584 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096748 00092588 3C 80 80 44 */ lis r4, $$21618@ha
|
|
/* 8009674C 0009258C 7F 65 DB 78 */ mr r5, r27
|
|
/* 80096750 00092590 7F 86 E3 78 */ mr r6, r28
|
|
/* 80096754 00092594 7F A7 EB 78 */ mr r7, r29
|
|
/* 80096758 00092598 7F C8 F3 78 */ mr r8, r30
|
|
/* 8009675C 0009259C 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096760 000925A0 38 84 ED 10 */ addi r4, r4, $$21618@l
|
|
/* 80096764 000925A4 4B FE 11 FD */ bl LogMsg_0
|
|
lbl_80096768:
|
|
/* 80096768 000925A8 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 8009676C 000925AC 41 82 00 80 */ beq lbl_800967EC
|
|
/* 80096770 000925B0 88 1A 00 72 */ lbz r0, 0x72(r26)
|
|
/* 80096774 000925B4 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80096778 000925B8 40 82 00 20 */ bne lbl_80096798
|
|
/* 8009677C 000925BC 28 1D 00 E0 */ cmplwi r29, 0xe0
|
|
/* 80096780 000925C0 40 82 00 10 */ bne lbl_80096790
|
|
/* 80096784 000925C4 38 00 00 02 */ li r0, 2
|
|
/* 80096788 000925C8 98 1A 00 72 */ stb r0, 0x72(r26)
|
|
/* 8009678C 000925CC 48 00 00 0C */ b lbl_80096798
|
|
lbl_80096790:
|
|
/* 80096790 000925D0 38 00 00 01 */ li r0, 1
|
|
/* 80096794 000925D4 98 1A 00 72 */ stb r0, 0x72(r26)
|
|
lbl_80096798:
|
|
/* 80096798 000925D8 A0 1F 00 12 */ lhz r0, 0x12(r31)
|
|
/* 8009679C 000925DC 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 800967A0 000925E0 40 80 00 08 */ bge lbl_800967A8
|
|
/* 800967A4 000925E4 7C 1C 03 78 */ mr r28, r0
|
|
lbl_800967A8:
|
|
/* 800967A8 000925E8 B3 9F 00 12 */ sth r28, 0x12(r31)
|
|
/* 800967AC 000925EC B3 9F 00 14 */ sth r28, 0x14(r31)
|
|
/* 800967B0 000925F0 88 1A 00 72 */ lbz r0, 0x72(r26)
|
|
/* 800967B4 000925F4 28 00 00 02 */ cmplwi r0, 2
|
|
/* 800967B8 000925F8 40 82 00 18 */ bne lbl_800967D0
|
|
/* 800967BC 000925FC 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 800967C0 00092600 B3 DF 00 98 */ sth r30, 0x98(r31)
|
|
/* 800967C4 00092604 40 82 00 0C */ bne lbl_800967D0
|
|
/* 800967C8 00092608 38 00 00 01 */ li r0, 1
|
|
/* 800967CC 0009260C 98 1F 00 24 */ stb r0, 0x24(r31)
|
|
lbl_800967D0:
|
|
/* 800967D0 00092610 88 1F 00 02 */ lbz r0, 2(r31)
|
|
/* 800967D4 00092614 28 00 00 01 */ cmplwi r0, 1
|
|
/* 800967D8 00092618 40 82 00 14 */ bne lbl_800967EC
|
|
/* 800967DC 0009261C 88 9F 00 0D */ lbz r4, 0xd(r31)
|
|
/* 800967E0 00092620 7F 43 D3 78 */ mr r3, r26
|
|
/* 800967E4 00092624 A0 BF 00 12 */ lhz r5, 0x12(r31)
|
|
/* 800967E8 00092628 48 00 3C 81 */ bl RFCOMM_DlcEstablishReq
|
|
lbl_800967EC:
|
|
/* 800967EC 0009262C 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800967F0 00092630 4B F7 0B 95 */ bl func_80007384
|
|
/* 800967F4 00092634 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800967F8 00092638 7C 08 03 A6 */ mtlr r0
|
|
/* 800967FC 0009263C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80096800 00092640 4E 80 00 20 */ blr
|
|
|
|
.global PORT_DlcEstablishInd
|
|
PORT_DlcEstablishInd:
|
|
/* 80096804 00092644 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096808 00092648 7C 08 02 A6 */ mflr r0
|
|
/* 8009680C 0009264C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80096810 00092650 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80096814 00092654 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80096818 00092658 7C BE 2B 78 */ mr r30, r5
|
|
/* 8009681C 0009265C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80096820 00092660 7C 9D 23 78 */ mr r29, r4
|
|
/* 80096824 00092664 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80096828 00092668 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8009682C 0009266C 48 00 11 7D */ bl port_find_mcb_dlci_port
|
|
/* 80096830 00092670 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096834 00092674 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80096838 00092678 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 8009683C 0009267C 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80096840 00092680 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096844 00092684 41 80 00 20 */ blt lbl_80096864
|
|
/* 80096848 00092688 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 8009684C 0009268C 3C 80 80 44 */ lis r4, $$21631@ha
|
|
/* 80096850 00092690 7F A5 EB 78 */ mr r5, r29
|
|
/* 80096854 00092694 7F C6 F3 78 */ mr r6, r30
|
|
/* 80096858 00092698 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 8009685C 0009269C 38 84 ED 3C */ addi r4, r4, $$21631@l
|
|
/* 80096860 000926A0 4B FE 11 01 */ bl LogMsg_0
|
|
lbl_80096864:
|
|
/* 80096864 000926A4 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 80096868 000926A8 40 82 00 3C */ bne lbl_800968A4
|
|
/* 8009686C 000926AC 7F A3 EB 78 */ mr r3, r29
|
|
/* 80096870 000926B0 48 00 11 8D */ bl port_find_dlci_port
|
|
/* 80096874 000926B4 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80096878 000926B8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8009687C 000926BC 40 82 00 1C */ bne lbl_80096898
|
|
/* 80096880 000926C0 7F 83 E3 78 */ mr r3, r28
|
|
/* 80096884 000926C4 7F A4 EB 78 */ mr r4, r29
|
|
/* 80096888 000926C8 38 A0 00 00 */ li r5, 0
|
|
/* 8009688C 000926CC 38 C0 00 01 */ li r6, 1
|
|
/* 80096890 000926D0 48 00 3C 41 */ bl RFCOMM_DlcEstablishRsp
|
|
/* 80096894 000926D4 48 00 00 90 */ b lbl_80096924
|
|
lbl_80096898:
|
|
/* 80096898 000926D8 88 03 00 00 */ lbz r0, 0(r3)
|
|
/* 8009689C 000926DC 7C 7C EA 14 */ add r3, r28, r29
|
|
/* 800968A0 000926E0 98 03 00 24 */ stb r0, 0x24(r3)
|
|
lbl_800968A4:
|
|
/* 800968A4 000926E4 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 800968A8 000926E8 41 82 00 14 */ beq lbl_800968BC
|
|
/* 800968AC 000926EC A0 1F 00 14 */ lhz r0, 0x14(r31)
|
|
/* 800968B0 000926F0 7C 1E 00 40 */ cmplw r30, r0
|
|
/* 800968B4 000926F4 40 80 00 08 */ bge lbl_800968BC
|
|
/* 800968B8 000926F8 B3 DF 00 14 */ sth r30, 0x14(r31)
|
|
lbl_800968BC:
|
|
/* 800968BC 000926FC 7F 83 E3 78 */ mr r3, r28
|
|
/* 800968C0 00092700 48 00 59 C9 */ bl rfc_timer_stop
|
|
/* 800968C4 00092704 A0 BF 00 12 */ lhz r5, 0x12(r31)
|
|
/* 800968C8 00092708 7F 83 E3 78 */ mr r3, r28
|
|
/* 800968CC 0009270C 7F A4 EB 78 */ mr r4, r29
|
|
/* 800968D0 00092710 38 C0 00 00 */ li r6, 0
|
|
/* 800968D4 00092714 48 00 3B FD */ bl RFCOMM_DlcEstablishRsp
|
|
/* 800968D8 00092718 81 9F 00 8C */ lwz r12, 0x8c(r31)
|
|
/* 800968DC 0009271C 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 800968E0 00092720 41 82 00 20 */ beq lbl_80096900
|
|
/* 800968E4 00092724 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 800968E8 00092728 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
|
|
/* 800968EC 0009272C 41 82 00 14 */ beq lbl_80096900
|
|
/* 800968F0 00092730 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 800968F4 00092734 38 60 02 00 */ li r3, 0x200
|
|
/* 800968F8 00092738 7D 89 03 A6 */ mtctr r12
|
|
/* 800968FC 0009273C 4E 80 04 21 */ bctrl
|
|
lbl_80096900:
|
|
/* 80096900 00092740 81 9F 00 90 */ lwz r12, 0x90(r31)
|
|
/* 80096904 00092744 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80096908 00092748 41 82 00 14 */ beq lbl_8009691C
|
|
/* 8009690C 0009274C 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80096910 00092750 38 60 00 00 */ li r3, 0
|
|
/* 80096914 00092754 7D 89 03 A6 */ mtctr r12
|
|
/* 80096918 00092758 4E 80 04 21 */ bctrl
|
|
lbl_8009691C:
|
|
/* 8009691C 0009275C 38 00 00 02 */ li r0, 2
|
|
/* 80096920 00092760 98 1F 00 02 */ stb r0, 2(r31)
|
|
lbl_80096924:
|
|
/* 80096924 00092764 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80096928 00092768 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8009692C 0009276C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80096930 00092770 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80096934 00092774 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80096938 00092778 7C 08 03 A6 */ mtlr r0
|
|
/* 8009693C 0009277C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80096940 00092780 4E 80 00 20 */ blr
|
|
|
|
.global PORT_DlcEstablishCnf
|
|
PORT_DlcEstablishCnf:
|
|
/* 80096944 00092784 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096948 00092788 7C 08 02 A6 */ mflr r0
|
|
/* 8009694C 0009278C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80096950 00092790 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80096954 00092794 4B F7 09 E9 */ bl func_8000733C
|
|
/* 80096958 00092798 7C 9C 23 78 */ mr r28, r4
|
|
/* 8009695C 0009279C 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80096960 000927A0 7C BD 2B 78 */ mr r29, r5
|
|
/* 80096964 000927A4 7C DE 33 78 */ mr r30, r6
|
|
/* 80096968 000927A8 48 00 10 41 */ bl port_find_mcb_dlci_port
|
|
/* 8009696C 000927AC 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096970 000927B0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80096974 000927B4 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096978 000927B8 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 8009697C 000927BC 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096980 000927C0 41 80 00 24 */ blt lbl_800969A4
|
|
/* 80096984 000927C4 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096988 000927C8 3C 80 80 44 */ lis r4, $$21649@ha
|
|
/* 8009698C 000927CC 7F 85 E3 78 */ mr r5, r28
|
|
/* 80096990 000927D0 7F A6 EB 78 */ mr r6, r29
|
|
/* 80096994 000927D4 7F C7 F3 78 */ mr r7, r30
|
|
/* 80096998 000927D8 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 8009699C 000927DC 38 84 ED 60 */ addi r4, r4, $$21649@l
|
|
/* 800969A0 000927E0 4B FE 0F C1 */ bl LogMsg_0
|
|
lbl_800969A4:
|
|
/* 800969A4 000927E4 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 800969A8 000927E8 41 82 00 C8 */ beq lbl_80096A70
|
|
/* 800969AC 000927EC 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 800969B0 000927F0 41 82 00 1C */ beq lbl_800969CC
|
|
/* 800969B4 000927F4 38 00 00 0C */ li r0, 0xc
|
|
/* 800969B8 000927F8 7F E3 FB 78 */ mr r3, r31
|
|
/* 800969BC 000927FC 98 1F 00 0E */ stb r0, 0xe(r31)
|
|
/* 800969C0 00092800 38 80 00 0C */ li r4, 0xc
|
|
/* 800969C4 00092804 48 00 0B F9 */ bl port_rfc_closed
|
|
/* 800969C8 00092808 48 00 00 A8 */ b lbl_80096A70
|
|
lbl_800969CC:
|
|
/* 800969CC 0009280C 2C 1D 00 00 */ cmpwi r29, 0
|
|
/* 800969D0 00092810 41 82 00 14 */ beq lbl_800969E4
|
|
/* 800969D4 00092814 A0 1F 00 14 */ lhz r0, 0x14(r31)
|
|
/* 800969D8 00092818 7C 1D 00 40 */ cmplw r29, r0
|
|
/* 800969DC 0009281C 40 80 00 08 */ bge lbl_800969E4
|
|
/* 800969E0 00092820 B3 BF 00 14 */ sth r29, 0x14(r31)
|
|
lbl_800969E4:
|
|
/* 800969E4 00092824 7F 63 DB 78 */ mr r3, r27
|
|
/* 800969E8 00092828 48 00 58 A1 */ bl rfc_timer_stop
|
|
/* 800969EC 0009282C 81 9F 00 8C */ lwz r12, 0x8c(r31)
|
|
/* 800969F0 00092830 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 800969F4 00092834 41 82 00 20 */ beq lbl_80096A14
|
|
/* 800969F8 00092838 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 800969FC 0009283C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
|
|
/* 80096A00 00092840 41 82 00 14 */ beq lbl_80096A14
|
|
/* 80096A04 00092844 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80096A08 00092848 38 60 02 00 */ li r3, 0x200
|
|
/* 80096A0C 0009284C 7D 89 03 A6 */ mtctr r12
|
|
/* 80096A10 00092850 4E 80 04 21 */ bctrl
|
|
lbl_80096A14:
|
|
/* 80096A14 00092854 81 9F 00 90 */ lwz r12, 0x90(r31)
|
|
/* 80096A18 00092858 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80096A1C 0009285C 41 82 00 14 */ beq lbl_80096A30
|
|
/* 80096A20 00092860 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80096A24 00092864 38 60 00 00 */ li r3, 0
|
|
/* 80096A28 00092868 7D 89 03 A6 */ mtctr r12
|
|
/* 80096A2C 0009286C 4E 80 04 21 */ bctrl
|
|
lbl_80096A30:
|
|
/* 80096A30 00092870 38 00 00 02 */ li r0, 2
|
|
/* 80096A34 00092874 98 1F 00 02 */ stb r0, 2(r31)
|
|
/* 80096A38 00092878 A0 1F 00 04 */ lhz r0, 4(r31)
|
|
/* 80096A3C 0009287C 28 00 11 03 */ cmplwi r0, 0x1103
|
|
/* 80096A40 00092880 41 82 00 0C */ beq lbl_80096A4C
|
|
/* 80096A44 00092884 28 00 11 11 */ cmplwi r0, 0x1111
|
|
/* 80096A48 00092888 40 82 00 18 */ bne lbl_80096A60
|
|
lbl_80096A4C:
|
|
/* 80096A4C 0009288C 80 7F 00 6C */ lwz r3, 0x6c(r31)
|
|
/* 80096A50 00092890 38 A0 00 00 */ li r5, 0
|
|
/* 80096A54 00092894 88 9F 00 0D */ lbz r4, 0xd(r31)
|
|
/* 80096A58 00092898 48 00 3B F1 */ bl RFCOMM_PortNegReq
|
|
/* 80096A5C 0009289C 48 00 00 14 */ b lbl_80096A70
|
|
lbl_80096A60:
|
|
/* 80096A60 000928A0 80 7F 00 6C */ lwz r3, 0x6c(r31)
|
|
/* 80096A64 000928A4 38 BF 00 5A */ addi r5, r31, 0x5a
|
|
/* 80096A68 000928A8 88 9F 00 0D */ lbz r4, 0xd(r31)
|
|
/* 80096A6C 000928AC 48 00 3C B9 */ bl RFCOMM_ControlReq
|
|
lbl_80096A70:
|
|
/* 80096A70 000928B0 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80096A74 000928B4 4B F7 09 15 */ bl func_80007388
|
|
/* 80096A78 000928B8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80096A7C 000928BC 7C 08 03 A6 */ mtlr r0
|
|
/* 80096A80 000928C0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80096A84 000928C4 4E 80 00 20 */ blr
|
|
|
|
.global PORT_PortNegInd
|
|
PORT_PortNegInd:
|
|
/* 80096A88 000928C8 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096A8C 000928CC 7C 08 02 A6 */ mflr r0
|
|
/* 80096A90 000928D0 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80096A94 000928D4 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80096A98 000928D8 4B F7 08 A5 */ bl func_8000733C
|
|
/* 80096A9C 000928DC 7C 9B 23 78 */ mr r27, r4
|
|
/* 80096AA0 000928E0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80096AA4 000928E4 7C BF 2B 78 */ mr r31, r5
|
|
/* 80096AA8 000928E8 7C DC 33 78 */ mr r28, r6
|
|
/* 80096AAC 000928EC 48 00 0E FD */ bl port_find_mcb_dlci_port
|
|
/* 80096AB0 000928F0 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096AB4 000928F4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80096AB8 000928F8 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096ABC 000928FC 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80096AC0 00092900 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096AC4 00092904 41 80 00 18 */ blt lbl_80096ADC
|
|
/* 80096AC8 00092908 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096ACC 0009290C 3C 80 80 44 */ lis r4, $$21655@ha
|
|
/* 80096AD0 00092910 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096AD4 00092914 38 84 ED 90 */ addi r4, r4, $$21655@l
|
|
/* 80096AD8 00092918 4B FE 0E 89 */ bl LogMsg_0
|
|
lbl_80096ADC:
|
|
/* 80096ADC 0009291C 2C 1D 00 00 */ cmpwi r29, 0
|
|
/* 80096AE0 00092920 40 82 00 84 */ bne lbl_80096B64
|
|
/* 80096AE4 00092924 7F 63 DB 78 */ mr r3, r27
|
|
/* 80096AE8 00092928 48 00 0F 15 */ bl port_find_dlci_port
|
|
/* 80096AEC 0009292C 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80096AF0 00092930 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80096AF4 00092934 40 82 00 64 */ bne lbl_80096B58
|
|
/* 80096AF8 00092938 88 FF 00 00 */ lbz r7, 0(r31)
|
|
/* 80096AFC 0009293C 7F 64 DB 78 */ mr r4, r27
|
|
/* 80096B00 00092940 88 1F 00 01 */ lbz r0, 1(r31)
|
|
/* 80096B04 00092944 7F E5 FB 78 */ mr r5, r31
|
|
/* 80096B08 00092948 38 C0 00 00 */ li r6, 0
|
|
/* 80096B0C 0009294C 98 E3 00 51 */ stb r7, 0x51(r3)
|
|
/* 80096B10 00092950 98 03 00 52 */ stb r0, 0x52(r3)
|
|
/* 80096B14 00092954 88 FF 00 02 */ lbz r7, 2(r31)
|
|
/* 80096B18 00092958 88 1F 00 03 */ lbz r0, 3(r31)
|
|
/* 80096B1C 0009295C 98 E3 00 53 */ stb r7, 0x53(r3)
|
|
/* 80096B20 00092960 98 03 00 54 */ stb r0, 0x54(r3)
|
|
/* 80096B24 00092964 88 FF 00 04 */ lbz r7, 4(r31)
|
|
/* 80096B28 00092968 88 1F 00 05 */ lbz r0, 5(r31)
|
|
/* 80096B2C 0009296C 98 E3 00 55 */ stb r7, 0x55(r3)
|
|
/* 80096B30 00092970 98 03 00 56 */ stb r0, 0x56(r3)
|
|
/* 80096B34 00092974 88 FF 00 06 */ lbz r7, 6(r31)
|
|
/* 80096B38 00092978 88 1F 00 07 */ lbz r0, 7(r31)
|
|
/* 80096B3C 0009297C 98 E3 00 57 */ stb r7, 0x57(r3)
|
|
/* 80096B40 00092980 98 03 00 58 */ stb r0, 0x58(r3)
|
|
/* 80096B44 00092984 88 1F 00 08 */ lbz r0, 8(r31)
|
|
/* 80096B48 00092988 98 03 00 59 */ stb r0, 0x59(r3)
|
|
/* 80096B4C 0009298C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80096B50 00092990 48 00 3B B5 */ bl RFCOMM_PortNegRsp
|
|
/* 80096B54 00092994 48 00 00 6C */ b lbl_80096BC0
|
|
lbl_80096B58:
|
|
/* 80096B58 00092998 88 03 00 00 */ lbz r0, 0(r3)
|
|
/* 80096B5C 0009299C 7C 7E DA 14 */ add r3, r30, r27
|
|
/* 80096B60 000929A0 98 03 00 24 */ stb r0, 0x24(r3)
|
|
lbl_80096B64:
|
|
/* 80096B64 000929A4 88 FF 00 00 */ lbz r7, 0(r31)
|
|
/* 80096B68 000929A8 7F C3 F3 78 */ mr r3, r30
|
|
/* 80096B6C 000929AC 88 1F 00 01 */ lbz r0, 1(r31)
|
|
/* 80096B70 000929B0 7F 64 DB 78 */ mr r4, r27
|
|
/* 80096B74 000929B4 7F E5 FB 78 */ mr r5, r31
|
|
/* 80096B78 000929B8 7F 86 E3 78 */ mr r6, r28
|
|
/* 80096B7C 000929BC 98 FD 00 51 */ stb r7, 0x51(r29)
|
|
/* 80096B80 000929C0 98 1D 00 52 */ stb r0, 0x52(r29)
|
|
/* 80096B84 000929C4 88 FF 00 02 */ lbz r7, 2(r31)
|
|
/* 80096B88 000929C8 88 1F 00 03 */ lbz r0, 3(r31)
|
|
/* 80096B8C 000929CC 98 FD 00 53 */ stb r7, 0x53(r29)
|
|
/* 80096B90 000929D0 98 1D 00 54 */ stb r0, 0x54(r29)
|
|
/* 80096B94 000929D4 88 FF 00 04 */ lbz r7, 4(r31)
|
|
/* 80096B98 000929D8 88 1F 00 05 */ lbz r0, 5(r31)
|
|
/* 80096B9C 000929DC 98 FD 00 55 */ stb r7, 0x55(r29)
|
|
/* 80096BA0 000929E0 98 1D 00 56 */ stb r0, 0x56(r29)
|
|
/* 80096BA4 000929E4 88 FF 00 06 */ lbz r7, 6(r31)
|
|
/* 80096BA8 000929E8 88 1F 00 07 */ lbz r0, 7(r31)
|
|
/* 80096BAC 000929EC 98 FD 00 57 */ stb r7, 0x57(r29)
|
|
/* 80096BB0 000929F0 98 1D 00 58 */ stb r0, 0x58(r29)
|
|
/* 80096BB4 000929F4 88 1F 00 08 */ lbz r0, 8(r31)
|
|
/* 80096BB8 000929F8 98 1D 00 59 */ stb r0, 0x59(r29)
|
|
/* 80096BBC 000929FC 48 00 3B 49 */ bl RFCOMM_PortNegRsp
|
|
lbl_80096BC0:
|
|
/* 80096BC0 00092A00 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80096BC4 00092A04 4B F7 07 C5 */ bl func_80007388
|
|
/* 80096BC8 00092A08 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80096BCC 00092A0C 7C 08 03 A6 */ mtlr r0
|
|
/* 80096BD0 00092A10 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80096BD4 00092A14 4E 80 00 20 */ blr
|
|
|
|
.global PORT_PortNegCnf
|
|
PORT_PortNegCnf:
|
|
/* 80096BD8 00092A18 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096BDC 00092A1C 7C 08 02 A6 */ mflr r0
|
|
/* 80096BE0 00092A20 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80096BE4 00092A24 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80096BE8 00092A28 3F E0 80 44 */ lis r31, $$21517@ha
|
|
/* 80096BEC 00092A2C 3B FF EC 50 */ addi r31, r31, $$21517@l
|
|
/* 80096BF0 00092A30 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80096BF4 00092A34 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80096BF8 00092A38 7C DD 33 78 */ mr r29, r6
|
|
/* 80096BFC 00092A3C 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80096C00 00092A40 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80096C04 00092A44 48 00 0D A5 */ bl port_find_mcb_dlci_port
|
|
/* 80096C08 00092A48 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096C0C 00092A4C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80096C10 00092A50 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096C14 00092A54 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80096C18 00092A58 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096C1C 00092A5C 41 80 00 14 */ blt lbl_80096C30
|
|
/* 80096C20 00092A60 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096C24 00092A64 38 9F 01 50 */ addi r4, r31, 0x150
|
|
/* 80096C28 00092A68 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096C2C 00092A6C 4B FE 0D 35 */ bl LogMsg_0
|
|
lbl_80096C30:
|
|
/* 80096C30 00092A70 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 80096C34 00092A74 40 82 00 2C */ bne lbl_80096C60
|
|
/* 80096C38 00092A78 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 80096C3C 00092A7C 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 80096C40 00092A80 88 03 04 14 */ lbz r0, 0x414(r3)
|
|
/* 80096C44 00092A84 28 00 00 02 */ cmplwi r0, 2
|
|
/* 80096C48 00092A88 41 80 00 88 */ blt lbl_80096CD0
|
|
/* 80096C4C 00092A8C 3C 60 00 09 */ lis r3, 0x00090001@ha
|
|
/* 80096C50 00092A90 38 9F 01 60 */ addi r4, r31, 0x160
|
|
/* 80096C54 00092A94 38 63 00 01 */ addi r3, r3, 0x00090001@l
|
|
/* 80096C58 00092A98 4B FE 0D 09 */ bl LogMsg_0
|
|
/* 80096C5C 00092A9C 48 00 00 74 */ b lbl_80096CD0
|
|
lbl_80096C60:
|
|
/* 80096C60 00092AA0 2C 1D 00 00 */ cmpwi r29, 0
|
|
/* 80096C64 00092AA4 41 82 00 28 */ beq lbl_80096C8C
|
|
/* 80096C68 00092AA8 38 00 00 0E */ li r0, 0xe
|
|
/* 80096C6C 00092AAC 7F 83 E3 78 */ mr r3, r28
|
|
/* 80096C70 00092AB0 98 1E 00 0E */ stb r0, 0xe(r30)
|
|
/* 80096C74 00092AB4 88 9E 00 0D */ lbz r4, 0xd(r30)
|
|
/* 80096C78 00092AB8 48 00 3C 8D */ bl RFCOMM_DlcReleaseReq
|
|
/* 80096C7C 00092ABC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80096C80 00092AC0 38 80 00 0E */ li r4, 0xe
|
|
/* 80096C84 00092AC4 48 00 09 39 */ bl port_rfc_closed
|
|
/* 80096C88 00092AC8 48 00 00 48 */ b lbl_80096CD0
|
|
lbl_80096C8C:
|
|
/* 80096C8C 00092ACC 88 1E 00 64 */ lbz r0, 0x64(r30)
|
|
/* 80096C90 00092AD0 54 00 07 FF */ clrlwi. r0, r0, 0x1f
|
|
/* 80096C94 00092AD4 40 82 00 18 */ bne lbl_80096CAC
|
|
/* 80096C98 00092AD8 80 7E 00 6C */ lwz r3, 0x6c(r30)
|
|
/* 80096C9C 00092ADC 38 BE 00 5A */ addi r5, r30, 0x5a
|
|
/* 80096CA0 00092AE0 88 9E 00 0D */ lbz r4, 0xd(r30)
|
|
/* 80096CA4 00092AE4 48 00 3A 81 */ bl RFCOMM_ControlReq
|
|
/* 80096CA8 00092AE8 48 00 00 28 */ b lbl_80096CD0
|
|
lbl_80096CAC:
|
|
/* 80096CAC 00092AEC 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 80096CB0 00092AF0 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 80096CB4 00092AF4 88 03 04 14 */ lbz r0, 0x414(r3)
|
|
/* 80096CB8 00092AF8 28 00 00 02 */ cmplwi r0, 2
|
|
/* 80096CBC 00092AFC 41 80 00 14 */ blt lbl_80096CD0
|
|
/* 80096CC0 00092B00 3C 60 00 09 */ lis r3, 0x00090001@ha
|
|
/* 80096CC4 00092B04 38 9F 01 78 */ addi r4, r31, 0x178
|
|
/* 80096CC8 00092B08 38 63 00 01 */ addi r3, r3, 0x00090001@l
|
|
/* 80096CCC 00092B0C 4B FE 0C 95 */ bl LogMsg_0
|
|
lbl_80096CD0:
|
|
/* 80096CD0 00092B10 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80096CD4 00092B14 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80096CD8 00092B18 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80096CDC 00092B1C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80096CE0 00092B20 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80096CE4 00092B24 7C 08 03 A6 */ mtlr r0
|
|
/* 80096CE8 00092B28 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80096CEC 00092B2C 4E 80 00 20 */ blr
|
|
|
|
.global PORT_ControlInd
|
|
PORT_ControlInd:
|
|
/* 80096CF0 00092B30 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096CF4 00092B34 7C 08 02 A6 */ mflr r0
|
|
/* 80096CF8 00092B38 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80096CFC 00092B3C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80096D00 00092B40 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80096D04 00092B44 7C BE 2B 78 */ mr r30, r5
|
|
/* 80096D08 00092B48 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80096D0C 00092B4C 48 00 0C 9D */ bl port_find_mcb_dlci_port
|
|
/* 80096D10 00092B50 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096D14 00092B54 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80096D18 00092B58 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096D1C 00092B5C 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80096D20 00092B60 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096D24 00092B64 41 80 00 18 */ blt lbl_80096D3C
|
|
/* 80096D28 00092B68 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096D2C 00092B6C 3C 80 80 44 */ lis r4, $$21702@ha
|
|
/* 80096D30 00092B70 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096D34 00092B74 38 84 ED F0 */ addi r4, r4, $$21702@l
|
|
/* 80096D38 00092B78 4B FE 0C 29 */ bl LogMsg_0
|
|
lbl_80096D3C:
|
|
/* 80096D3C 00092B7C 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 80096D40 00092B80 41 82 01 0C */ beq lbl_80096E4C
|
|
/* 80096D44 00092B84 88 9F 00 5F */ lbz r4, 0x5f(r31)
|
|
/* 80096D48 00092B88 7F E3 FB 78 */ mr r3, r31
|
|
/* 80096D4C 00092B8C 88 BE 00 00 */ lbz r5, 0(r30)
|
|
/* 80096D50 00092B90 48 00 0D A5 */ bl port_get_signal_changes
|
|
/* 80096D54 00092B94 88 1E 00 00 */ lbz r0, 0(r30)
|
|
/* 80096D58 00092B98 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80096D5C 00092B9C 98 1F 00 5F */ stb r0, 0x5f(r31)
|
|
/* 80096D60 00092BA0 88 1E 00 01 */ lbz r0, 1(r30)
|
|
/* 80096D64 00092BA4 98 1F 00 60 */ stb r0, 0x60(r31)
|
|
/* 80096D68 00092BA8 88 1E 00 02 */ lbz r0, 2(r30)
|
|
/* 80096D6C 00092BAC 98 1F 00 61 */ stb r0, 0x61(r31)
|
|
/* 80096D70 00092BB0 88 1E 00 03 */ lbz r0, 3(r30)
|
|
/* 80096D74 00092BB4 98 1F 00 62 */ stb r0, 0x62(r31)
|
|
/* 80096D78 00092BB8 88 1E 00 04 */ lbz r0, 4(r30)
|
|
/* 80096D7C 00092BBC 98 1F 00 63 */ stb r0, 0x63(r31)
|
|
/* 80096D80 00092BC0 88 9F 00 64 */ lbz r4, 0x64(r31)
|
|
/* 80096D84 00092BC4 54 80 07 FF */ clrlwi. r0, r4, 0x1f
|
|
/* 80096D88 00092BC8 40 82 00 18 */ bne lbl_80096DA0
|
|
/* 80096D8C 00092BCC 80 7F 00 6C */ lwz r3, 0x6c(r31)
|
|
/* 80096D90 00092BD0 38 BF 00 5A */ addi r5, r31, 0x5a
|
|
/* 80096D94 00092BD4 88 9F 00 0D */ lbz r4, 0xd(r31)
|
|
/* 80096D98 00092BD8 48 00 39 8D */ bl RFCOMM_ControlReq
|
|
/* 80096D9C 00092BDC 48 00 00 2C */ b lbl_80096DC8
|
|
lbl_80096DA0:
|
|
/* 80096DA0 00092BE0 54 80 07 7B */ rlwinm. r0, r4, 0, 0x1d, 0x1d
|
|
/* 80096DA4 00092BE4 40 82 00 10 */ bne lbl_80096DB4
|
|
/* 80096DA8 00092BE8 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 80096DAC 00092BEC 54 00 05 AC */ rlwinm r0, r0, 0, 0x16, 0x16
|
|
/* 80096DB0 00092BF0 7C 7D 03 78 */ or r29, r3, r0
|
|
lbl_80096DB4:
|
|
/* 80096DB4 00092BF4 54 80 07 BD */ rlwinm. r0, r4, 0, 0x1e, 0x1e
|
|
/* 80096DB8 00092BF8 41 82 00 10 */ beq lbl_80096DC8
|
|
/* 80096DBC 00092BFC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80096DC0 00092C00 48 00 07 05 */ bl port_rfc_send_tx_data
|
|
/* 80096DC4 00092C04 7F BD 1B 78 */ or r29, r29, r3
|
|
lbl_80096DC8:
|
|
/* 80096DC8 00092C08 88 1F 00 64 */ lbz r0, 0x64(r31)
|
|
/* 80096DCC 00092C0C 60 00 00 0C */ ori r0, r0, 0xc
|
|
/* 80096DD0 00092C10 98 1F 00 64 */ stb r0, 0x64(r31)
|
|
/* 80096DD4 00092C14 88 1E 00 01 */ lbz r0, 1(r30)
|
|
/* 80096DD8 00092C18 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80096DDC 00092C1C 41 82 00 10 */ beq lbl_80096DEC
|
|
/* 80096DE0 00092C20 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 80096DE4 00092C24 54 00 06 72 */ rlwinm r0, r0, 0, 0x19, 0x19
|
|
/* 80096DE8 00092C28 7F BD 03 78 */ or r29, r29, r0
|
|
lbl_80096DEC:
|
|
/* 80096DEC 00092C2C 2C 1D 00 00 */ cmpwi r29, 0
|
|
/* 80096DF0 00092C30 41 82 00 20 */ beq lbl_80096E10
|
|
/* 80096DF4 00092C34 81 9F 00 8C */ lwz r12, 0x8c(r31)
|
|
/* 80096DF8 00092C38 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80096DFC 00092C3C 41 82 00 14 */ beq lbl_80096E10
|
|
/* 80096E00 00092C40 7F A3 EB 78 */ mr r3, r29
|
|
/* 80096E04 00092C44 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80096E08 00092C48 7D 89 03 A6 */ mtctr r12
|
|
/* 80096E0C 00092C4C 4E 80 04 21 */ bctrl
|
|
lbl_80096E10:
|
|
/* 80096E10 00092C50 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 80096E14 00092C54 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 80096E18 00092C58 88 03 04 14 */ lbz r0, 0x414(r3)
|
|
/* 80096E1C 00092C5C 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096E20 00092C60 41 80 00 2C */ blt lbl_80096E4C
|
|
/* 80096E24 00092C64 88 1F 00 5F */ lbz r0, 0x5f(r31)
|
|
/* 80096E28 00092C68 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096E2C 00092C6C 3C 80 80 44 */ lis r4, $$21703@ha
|
|
/* 80096E30 00092C70 54 08 EF FE */ rlwinm r8, r0, 0x1d, 0x1f, 0x1f
|
|
/* 80096E34 00092C74 54 07 F7 FE */ rlwinm r7, r0, 0x1e, 0x1f, 0x1f
|
|
/* 80096E38 00092C78 54 06 FF FE */ rlwinm r6, r0, 0x1f, 0x1f, 0x1f
|
|
/* 80096E3C 00092C7C 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096E40 00092C80 38 84 EE 00 */ addi r4, r4, $$21703@l
|
|
/* 80096E44 00092C84 54 05 07 FE */ clrlwi r5, r0, 0x1f
|
|
/* 80096E48 00092C88 4B FE 0B 19 */ bl LogMsg_0
|
|
lbl_80096E4C:
|
|
/* 80096E4C 00092C8C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80096E50 00092C90 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80096E54 00092C94 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80096E58 00092C98 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80096E5C 00092C9C 7C 08 03 A6 */ mtlr r0
|
|
/* 80096E60 00092CA0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80096E64 00092CA4 4E 80 00 20 */ blr
|
|
|
|
.global PORT_ControlCnf
|
|
PORT_ControlCnf:
|
|
/* 80096E68 00092CA8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80096E6C 00092CAC 7C 08 02 A6 */ mflr r0
|
|
/* 80096E70 00092CB0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80096E74 00092CB4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80096E78 00092CB8 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80096E7C 00092CBC 48 00 0B 2D */ bl port_find_mcb_dlci_port
|
|
/* 80096E80 00092CC0 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096E84 00092CC4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80096E88 00092CC8 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096E8C 00092CCC 3B C0 00 00 */ li r30, 0
|
|
/* 80096E90 00092CD0 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80096E94 00092CD4 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096E98 00092CD8 41 80 00 18 */ blt lbl_80096EB0
|
|
/* 80096E9C 00092CDC 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096EA0 00092CE0 3C 80 80 44 */ lis r4, $$21717@ha
|
|
/* 80096EA4 00092CE4 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096EA8 00092CE8 38 84 EE 40 */ addi r4, r4, $$21717@l
|
|
/* 80096EAC 00092CEC 4B FE 0A B5 */ bl LogMsg_0
|
|
lbl_80096EB0:
|
|
/* 80096EB0 00092CF0 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 80096EB4 00092CF4 41 82 00 60 */ beq lbl_80096F14
|
|
/* 80096EB8 00092CF8 88 7F 00 64 */ lbz r3, 0x64(r31)
|
|
/* 80096EBC 00092CFC 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
|
|
/* 80096EC0 00092D00 40 82 00 1C */ bne lbl_80096EDC
|
|
/* 80096EC4 00092D04 60 63 00 02 */ ori r3, r3, 2
|
|
/* 80096EC8 00092D08 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d
|
|
/* 80096ECC 00092D0C 98 7F 00 64 */ stb r3, 0x64(r31)
|
|
/* 80096ED0 00092D10 41 82 00 0C */ beq lbl_80096EDC
|
|
/* 80096ED4 00092D14 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 80096ED8 00092D18 54 1E 05 AC */ rlwinm r30, r0, 0, 0x16, 0x16
|
|
lbl_80096EDC:
|
|
/* 80096EDC 00092D1C 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d
|
|
/* 80096EE0 00092D20 41 82 00 10 */ beq lbl_80096EF0
|
|
/* 80096EE4 00092D24 7F E3 FB 78 */ mr r3, r31
|
|
/* 80096EE8 00092D28 48 00 05 DD */ bl port_rfc_send_tx_data
|
|
/* 80096EEC 00092D2C 7F DE 1B 78 */ or r30, r30, r3
|
|
lbl_80096EF0:
|
|
/* 80096EF0 00092D30 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 80096EF4 00092D34 41 82 00 20 */ beq lbl_80096F14
|
|
/* 80096EF8 00092D38 81 9F 00 8C */ lwz r12, 0x8c(r31)
|
|
/* 80096EFC 00092D3C 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80096F00 00092D40 41 82 00 14 */ beq lbl_80096F14
|
|
/* 80096F04 00092D44 7F C3 F3 78 */ mr r3, r30
|
|
/* 80096F08 00092D48 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80096F0C 00092D4C 7D 89 03 A6 */ mtctr r12
|
|
/* 80096F10 00092D50 4E 80 04 21 */ bctrl
|
|
lbl_80096F14:
|
|
/* 80096F14 00092D54 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80096F18 00092D58 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80096F1C 00092D5C 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80096F20 00092D60 7C 08 03 A6 */ mtlr r0
|
|
/* 80096F24 00092D64 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80096F28 00092D68 4E 80 00 20 */ blr
|
|
|
|
.global PORT_LineStatusInd
|
|
PORT_LineStatusInd:
|
|
/* 80096F2C 00092D6C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80096F30 00092D70 7C 08 02 A6 */ mflr r0
|
|
/* 80096F34 00092D74 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80096F38 00092D78 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80096F3C 00092D7C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80096F40 00092D80 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80096F44 00092D84 7C BD 2B 78 */ mr r29, r5
|
|
/* 80096F48 00092D88 48 00 0A 61 */ bl port_find_mcb_dlci_port
|
|
/* 80096F4C 00092D8C 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80096F50 00092D90 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80096F54 00092D94 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80096F58 00092D98 3B C0 00 00 */ li r30, 0
|
|
/* 80096F5C 00092D9C 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80096F60 00092DA0 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80096F64 00092DA4 41 80 00 18 */ blt lbl_80096F7C
|
|
/* 80096F68 00092DA8 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80096F6C 00092DAC 3C 80 80 44 */ lis r4, $$21732@ha
|
|
/* 80096F70 00092DB0 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80096F74 00092DB4 38 84 EE 50 */ addi r4, r4, $$21732@l
|
|
/* 80096F78 00092DB8 4B FE 09 E9 */ bl LogMsg_0
|
|
lbl_80096F7C:
|
|
/* 80096F7C 00092DBC 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 80096F80 00092DC0 41 82 00 58 */ beq lbl_80096FD8
|
|
/* 80096F84 00092DC4 88 7F 00 0F */ lbz r3, 0xf(r31)
|
|
/* 80096F88 00092DC8 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e
|
|
/* 80096F8C 00092DCC 7C 60 EB 78 */ or r0, r3, r29
|
|
/* 80096F90 00092DD0 98 1F 00 0F */ stb r0, 0xf(r31)
|
|
/* 80096F94 00092DD4 41 82 00 08 */ beq lbl_80096F9C
|
|
/* 80096F98 00092DD8 63 DE 20 00 */ ori r30, r30, 0x2000
|
|
lbl_80096F9C:
|
|
/* 80096F9C 00092DDC 57 A0 07 FF */ clrlwi. r0, r29, 0x1f
|
|
/* 80096FA0 00092DE0 41 82 00 08 */ beq lbl_80096FA8
|
|
/* 80096FA4 00092DE4 63 DE 00 40 */ ori r30, r30, 0x40
|
|
lbl_80096FA8:
|
|
/* 80096FA8 00092DE8 57 A0 06 3B */ rlwinm. r0, r29, 0, 0x18, 0x1d
|
|
/* 80096FAC 00092DEC 41 82 00 08 */ beq lbl_80096FB4
|
|
/* 80096FB0 00092DF0 63 DE 00 80 */ ori r30, r30, 0x80
|
|
lbl_80096FB4:
|
|
/* 80096FB4 00092DF4 81 9F 00 8C */ lwz r12, 0x8c(r31)
|
|
/* 80096FB8 00092DF8 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80096FBC 00092DFC 41 82 00 1C */ beq lbl_80096FD8
|
|
/* 80096FC0 00092E00 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 80096FC4 00092E04 7C 03 F0 39 */ and. r3, r0, r30
|
|
/* 80096FC8 00092E08 41 82 00 10 */ beq lbl_80096FD8
|
|
/* 80096FCC 00092E0C 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80096FD0 00092E10 7D 89 03 A6 */ mtctr r12
|
|
/* 80096FD4 00092E14 4E 80 04 21 */ bctrl
|
|
lbl_80096FD8:
|
|
/* 80096FD8 00092E18 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80096FDC 00092E1C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80096FE0 00092E20 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80096FE4 00092E24 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80096FE8 00092E28 7C 08 03 A6 */ mtlr r0
|
|
/* 80096FEC 00092E2C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80096FF0 00092E30 4E 80 00 20 */ blr
|
|
|
|
.global PORT_DlcReleaseInd
|
|
PORT_DlcReleaseInd:
|
|
/* 80096FF4 00092E34 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80096FF8 00092E38 7C 08 02 A6 */ mflr r0
|
|
/* 80096FFC 00092E3C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80097000 00092E40 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80097004 00092E44 48 00 09 A5 */ bl port_find_mcb_dlci_port
|
|
/* 80097008 00092E48 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 8009700C 00092E4C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80097010 00092E50 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80097014 00092E54 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80097018 00092E58 28 00 00 04 */ cmplwi r0, 4
|
|
/* 8009701C 00092E5C 41 80 00 18 */ blt lbl_80097034
|
|
/* 80097020 00092E60 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80097024 00092E64 3C 80 80 44 */ lis r4, $$21737@ha
|
|
/* 80097028 00092E68 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 8009702C 00092E6C 38 84 EE 64 */ addi r4, r4, $$21737@l
|
|
/* 80097030 00092E70 4B FE 09 31 */ bl LogMsg_0
|
|
lbl_80097034:
|
|
/* 80097034 00092E74 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 80097038 00092E78 41 82 00 10 */ beq lbl_80097048
|
|
/* 8009703C 00092E7C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80097040 00092E80 38 80 00 13 */ li r4, 0x13
|
|
/* 80097044 00092E84 48 00 05 79 */ bl port_rfc_closed
|
|
lbl_80097048:
|
|
/* 80097048 00092E88 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8009704C 00092E8C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80097050 00092E90 7C 08 03 A6 */ mtlr r0
|
|
/* 80097054 00092E94 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80097058 00092E98 4E 80 00 20 */ blr
|
|
|
|
.global PORT_CloseInd
|
|
PORT_CloseInd:
|
|
/* 8009705C 00092E9C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80097060 00092EA0 7C 08 02 A6 */ mflr r0
|
|
/* 80097064 00092EA4 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80097068 00092EA8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8009706C 00092EAC 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80097070 00092EB0 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80097074 00092EB4 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80097078 00092EB8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8009707C 00092EBC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80097080 00092EC0 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80097084 00092EC4 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80097088 00092EC8 41 80 00 18 */ blt lbl_800970A0
|
|
/* 8009708C 00092ECC 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80097090 00092ED0 3C 80 80 44 */ lis r4, $$21746@ha
|
|
/* 80097094 00092ED4 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80097098 00092ED8 38 84 EE 78 */ addi r4, r4, $$21746@l
|
|
/* 8009709C 00092EDC 4B FE 08 C5 */ bl LogMsg_0
|
|
lbl_800970A0:
|
|
/* 800970A0 00092EE0 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 800970A4 00092EE4 3B C0 00 00 */ li r30, 0
|
|
/* 800970A8 00092EE8 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 800970AC 00092EEC 3B E3 00 68 */ addi r31, r3, 0x68
|
|
lbl_800970B0:
|
|
/* 800970B0 00092EF0 80 1F 00 6C */ lwz r0, 0x6c(r31)
|
|
/* 800970B4 00092EF4 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 800970B8 00092EF8 40 82 00 10 */ bne lbl_800970C8
|
|
/* 800970BC 00092EFC 7F E3 FB 78 */ mr r3, r31
|
|
/* 800970C0 00092F00 38 80 00 10 */ li r4, 0x10
|
|
/* 800970C4 00092F04 48 00 04 F9 */ bl port_rfc_closed
|
|
lbl_800970C8:
|
|
/* 800970C8 00092F08 3B DE 00 01 */ addi r30, r30, 1
|
|
/* 800970CC 00092F0C 3B FF 00 A4 */ addi r31, r31, 0xa4
|
|
/* 800970D0 00092F10 2C 1E 00 05 */ cmpwi r30, 5
|
|
/* 800970D4 00092F14 41 80 FF DC */ blt lbl_800970B0
|
|
/* 800970D8 00092F18 7F A3 EB 78 */ mr r3, r29
|
|
/* 800970DC 00092F1C 48 00 50 B1 */ bl rfc_release_multiplexer_channel
|
|
/* 800970E0 00092F20 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800970E4 00092F24 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800970E8 00092F28 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800970EC 00092F2C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 800970F0 00092F30 7C 08 03 A6 */ mtlr r0
|
|
/* 800970F4 00092F34 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800970F8 00092F38 4E 80 00 20 */ blr
|
|
|
|
.global Port_TimeOutCloseMux
|
|
Port_TimeOutCloseMux:
|
|
/* 800970FC 00092F3C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80097100 00092F40 7C 08 02 A6 */ mflr r0
|
|
/* 80097104 00092F44 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 80097108 00092F48 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8009710C 00092F4C 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 80097110 00092F50 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80097114 00092F54 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80097118 00092F58 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8009711C 00092F5C 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80097120 00092F60 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 80097124 00092F64 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80097128 00092F68 41 80 00 18 */ blt lbl_80097140
|
|
/* 8009712C 00092F6C 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80097130 00092F70 3C 80 80 44 */ lis r4, $$21755@ha
|
|
/* 80097134 00092F74 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80097138 00092F78 38 84 EE 88 */ addi r4, r4, $$21755@l
|
|
/* 8009713C 00092F7C 4B FE 08 25 */ bl LogMsg_0
|
|
lbl_80097140:
|
|
/* 80097140 00092F80 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 80097144 00092F84 3B C0 00 00 */ li r30, 0
|
|
/* 80097148 00092F88 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 8009714C 00092F8C 3B E3 00 68 */ addi r31, r3, 0x68
|
|
lbl_80097150:
|
|
/* 80097150 00092F90 80 1F 00 6C */ lwz r0, 0x6c(r31)
|
|
/* 80097154 00092F94 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 80097158 00092F98 40 82 00 10 */ bne lbl_80097168
|
|
/* 8009715C 00092F9C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80097160 00092FA0 38 80 00 12 */ li r4, 0x12
|
|
/* 80097164 00092FA4 48 00 04 59 */ bl port_rfc_closed
|
|
lbl_80097168:
|
|
/* 80097168 00092FA8 3B DE 00 01 */ addi r30, r30, 1
|
|
/* 8009716C 00092FAC 3B FF 00 A4 */ addi r31, r31, 0xa4
|
|
/* 80097170 00092FB0 2C 1E 00 05 */ cmpwi r30, 5
|
|
/* 80097174 00092FB4 41 80 FF DC */ blt lbl_80097150
|
|
/* 80097178 00092FB8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8009717C 00092FBC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80097180 00092FC0 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80097184 00092FC4 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80097188 00092FC8 7C 08 03 A6 */ mtlr r0
|
|
/* 8009718C 00092FCC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80097190 00092FD0 4E 80 00 20 */ blr
|
|
|
|
.global PORT_DataInd
|
|
PORT_DataInd:
|
|
/* 80097194 00092FD4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80097198 00092FD8 7C 08 02 A6 */ mflr r0
|
|
/* 8009719C 00092FDC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800971A0 00092FE0 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800971A4 00092FE4 4B F7 01 99 */ bl func_8000733C
|
|
/* 800971A8 00092FE8 7C 9C 23 78 */ mr r28, r4
|
|
/* 800971AC 00092FEC 7C 7B 1B 78 */ mr r27, r3
|
|
/* 800971B0 00092FF0 7C BD 2B 78 */ mr r29, r5
|
|
/* 800971B4 00092FF4 48 00 07 F5 */ bl port_find_mcb_dlci_port
|
|
/* 800971B8 00092FF8 3C 80 80 50 */ lis r4, rfc_cb@ha
|
|
/* 800971BC 00092FFC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800971C0 00093000 38 84 98 08 */ addi r4, r4, rfc_cb@l
|
|
/* 800971C4 00093004 3B C0 00 00 */ li r30, 0
|
|
/* 800971C8 00093008 88 04 04 14 */ lbz r0, 0x414(r4)
|
|
/* 800971CC 0009300C 28 00 00 04 */ cmplwi r0, 4
|
|
/* 800971D0 00093010 41 80 00 1C */ blt lbl_800971EC
|
|
/* 800971D4 00093014 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 800971D8 00093018 3C 80 80 44 */ lis r4, $$21780@ha
|
|
/* 800971DC 0009301C A0 BD 00 02 */ lhz r5, 2(r29)
|
|
/* 800971E0 00093020 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 800971E4 00093024 38 84 EE A0 */ addi r4, r4, $$21780@l
|
|
/* 800971E8 00093028 4B FE 07 79 */ bl LogMsg_0
|
|
lbl_800971EC:
|
|
/* 800971EC 0009302C 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 800971F0 00093030 40 82 00 10 */ bne lbl_80097200
|
|
/* 800971F4 00093034 7F A3 EB 78 */ mr r3, r29
|
|
/* 800971F8 00093038 4B FD DD 19 */ bl GKI_freebuf
|
|
/* 800971FC 0009303C 48 00 01 80 */ b lbl_8009737C
|
|
lbl_80097200:
|
|
/* 80097200 00093040 80 1F 00 94 */ lwz r0, 0x94(r31)
|
|
/* 80097204 00093044 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80097208 00093048 41 82 00 40 */ beq lbl_80097248
|
|
/* 8009720C 0009304C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80097210 00093050 38 80 00 01 */ li r4, 1
|
|
/* 80097214 00093054 38 A0 00 01 */ li r5, 1
|
|
/* 80097218 00093058 48 00 09 45 */ bl port_flow_control_peer
|
|
/* 8009721C 0009305C A0 1D 00 04 */ lhz r0, 4(r29)
|
|
/* 80097220 00093060 81 9F 00 94 */ lwz r12, 0x94(r31)
|
|
/* 80097224 00093064 7C 9D 02 14 */ add r4, r29, r0
|
|
/* 80097228 00093068 88 7F 00 00 */ lbz r3, 0(r31)
|
|
/* 8009722C 0009306C 38 84 00 08 */ addi r4, r4, 8
|
|
/* 80097230 00093070 A0 BD 00 02 */ lhz r5, 2(r29)
|
|
/* 80097234 00093074 7D 89 03 A6 */ mtctr r12
|
|
/* 80097238 00093078 4E 80 04 21 */ bctrl
|
|
/* 8009723C 0009307C 7F A3 EB 78 */ mr r3, r29
|
|
/* 80097240 00093080 4B FD DC D1 */ bl GKI_freebuf
|
|
/* 80097244 00093084 48 00 01 38 */ b lbl_8009737C
|
|
lbl_80097248:
|
|
/* 80097248 00093088 A0 9D 00 02 */ lhz r4, 2(r29)
|
|
/* 8009724C 0009308C 80 1F 00 40 */ lwz r0, 0x40(r31)
|
|
/* 80097250 00093090 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80097254 00093094 28 00 2E E0 */ cmplwi r0, 0x2ee0
|
|
/* 80097258 00093098 41 81 00 18 */ bgt lbl_80097270
|
|
/* 8009725C 0009309C A0 7F 00 38 */ lhz r3, 0x38(r31)
|
|
/* 80097260 000930A0 A0 1F 00 A0 */ lhz r0, 0xa0(r31)
|
|
/* 80097264 000930A4 38 63 00 01 */ addi r3, r3, 1
|
|
/* 80097268 000930A8 7C 03 00 00 */ cmpw r3, r0
|
|
/* 8009726C 000930AC 40 81 00 48 */ ble lbl_800972B4
|
|
lbl_80097270:
|
|
/* 80097270 000930B0 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 80097274 000930B4 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 80097278 000930B8 88 03 04 14 */ lbz r0, 0x414(r3)
|
|
/* 8009727C 000930BC 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80097280 000930C0 41 80 00 18 */ blt lbl_80097298
|
|
/* 80097284 000930C4 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80097288 000930C8 3C 80 80 44 */ lis r4, $$21781@ha
|
|
/* 8009728C 000930CC 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80097290 000930D0 38 84 EE C4 */ addi r4, r4, $$21781@l
|
|
/* 80097294 000930D4 4B FE 06 CD */ bl LogMsg_0
|
|
lbl_80097298:
|
|
/* 80097298 000930D8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8009729C 000930DC 4B FD DC 75 */ bl GKI_freebuf
|
|
/* 800972A0 000930E0 7F 63 DB 78 */ mr r3, r27
|
|
/* 800972A4 000930E4 7F 84 E3 78 */ mr r4, r28
|
|
/* 800972A8 000930E8 38 A0 00 02 */ li r5, 2
|
|
/* 800972AC 000930EC 48 00 35 C1 */ bl RFCOMM_LineStatusReq
|
|
/* 800972B0 000930F0 48 00 00 CC */ b lbl_8009737C
|
|
lbl_800972B4:
|
|
/* 800972B4 000930F4 88 BF 00 4E */ lbz r5, 0x4e(r31)
|
|
/* 800972B8 000930F8 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 800972BC 000930FC 41 82 00 44 */ beq lbl_80097300
|
|
/* 800972C0 00093100 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 800972C4 00093104 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e
|
|
/* 800972C8 00093108 41 82 00 38 */ beq lbl_80097300
|
|
/* 800972CC 0009310C A0 1D 00 04 */ lhz r0, 4(r29)
|
|
/* 800972D0 00093110 7C 7D 02 14 */ add r3, r29, r0
|
|
/* 800972D4 00093114 38 63 00 08 */ addi r3, r3, 8
|
|
/* 800972D8 00093118 7C 89 03 A6 */ mtctr r4
|
|
/* 800972DC 0009311C 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 800972E0 00093120 40 81 00 20 */ ble lbl_80097300
|
|
lbl_800972E4:
|
|
/* 800972E4 00093124 88 03 00 00 */ lbz r0, 0(r3)
|
|
/* 800972E8 00093128 38 63 00 01 */ addi r3, r3, 1
|
|
/* 800972EC 0009312C 7C 00 28 40 */ cmplw r0, r5
|
|
/* 800972F0 00093130 40 82 00 0C */ bne lbl_800972FC
|
|
/* 800972F4 00093134 63 DE 00 02 */ ori r30, r30, 2
|
|
/* 800972F8 00093138 48 00 00 08 */ b lbl_80097300
|
|
lbl_800972FC:
|
|
/* 800972FC 0009313C 42 00 FF E8 */ bdnz lbl_800972E4
|
|
lbl_80097300:
|
|
/* 80097300 00093140 7F A4 EB 78 */ mr r4, r29
|
|
/* 80097304 00093144 38 7F 00 30 */ addi r3, r31, 0x30
|
|
/* 80097308 00093148 4B FD E0 39 */ bl GKI_enqueue
|
|
/* 8009730C 0009314C 80 DF 00 40 */ lwz r6, 0x40(r31)
|
|
/* 80097310 00093150 7F E3 FB 78 */ mr r3, r31
|
|
/* 80097314 00093154 A0 1D 00 02 */ lhz r0, 2(r29)
|
|
/* 80097318 00093158 38 80 00 00 */ li r4, 0
|
|
/* 8009731C 0009315C 38 A0 00 00 */ li r5, 0
|
|
/* 80097320 00093160 7C 06 02 14 */ add r0, r6, r0
|
|
/* 80097324 00093164 90 1F 00 40 */ stw r0, 0x40(r31)
|
|
/* 80097328 00093168 48 00 08 35 */ bl port_flow_control_peer
|
|
/* 8009732C 0009316C 88 1F 00 3D */ lbz r0, 0x3d(r31)
|
|
/* 80097330 00093170 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80097334 00093174 41 82 00 18 */ beq lbl_8009734C
|
|
/* 80097338 00093178 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e
|
|
/* 8009733C 0009317C 41 82 00 40 */ beq lbl_8009737C
|
|
/* 80097340 00093180 38 00 00 01 */ li r0, 1
|
|
/* 80097344 00093184 98 1F 00 65 */ stb r0, 0x65(r31)
|
|
/* 80097348 00093188 48 00 00 34 */ b lbl_8009737C
|
|
lbl_8009734C:
|
|
/* 8009734C 0009318C 81 9F 00 8C */ lwz r12, 0x8c(r31)
|
|
/* 80097350 00093190 63 DE 00 01 */ ori r30, r30, 1
|
|
/* 80097354 00093194 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 80097358 00093198 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 8009735C 0009319C 7F DE 00 38 */ and r30, r30, r0
|
|
/* 80097360 000931A0 41 82 00 1C */ beq lbl_8009737C
|
|
/* 80097364 000931A4 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 80097368 000931A8 41 82 00 14 */ beq lbl_8009737C
|
|
/* 8009736C 000931AC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80097370 000931B0 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80097374 000931B4 7D 89 03 A6 */ mtctr r12
|
|
/* 80097378 000931B8 4E 80 04 21 */ bctrl
|
|
lbl_8009737C:
|
|
/* 8009737C 000931BC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80097380 000931C0 4B F7 00 09 */ bl func_80007388
|
|
/* 80097384 000931C4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80097388 000931C8 7C 08 03 A6 */ mtlr r0
|
|
/* 8009738C 000931CC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80097390 000931D0 4E 80 00 20 */ blr
|
|
|
|
.global PORT_FlowInd
|
|
PORT_FlowInd:
|
|
/* 80097394 000931D4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80097398 000931D8 7C 08 02 A6 */ mflr r0
|
|
/* 8009739C 000931DC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800973A0 000931E0 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800973A4 000931E4 4B F6 FF 95 */ bl func_80007338
|
|
/* 800973A8 000931E8 3C C0 80 50 */ lis r6, rfc_cb@ha
|
|
/* 800973AC 000931EC 7C 7A 1B 78 */ mr r26, r3
|
|
/* 800973B0 000931F0 38 C6 98 08 */ addi r6, r6, rfc_cb@l
|
|
/* 800973B4 000931F4 7C 9B 23 78 */ mr r27, r4
|
|
/* 800973B8 000931F8 88 06 04 14 */ lbz r0, 0x414(r6)
|
|
/* 800973BC 000931FC 7C BC 2B 78 */ mr r28, r5
|
|
/* 800973C0 00093200 3B A0 00 00 */ li r29, 0
|
|
/* 800973C4 00093204 28 00 00 04 */ cmplwi r0, 4
|
|
/* 800973C8 00093208 41 80 00 18 */ blt lbl_800973E0
|
|
/* 800973CC 0009320C 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 800973D0 00093210 3C 80 80 44 */ lis r4, $$21799@ha
|
|
/* 800973D4 00093214 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 800973D8 00093218 38 84 EE F8 */ addi r4, r4, $$21799@l
|
|
/* 800973DC 0009321C 4B FE 05 85 */ bl LogMsg_0
|
|
lbl_800973E0:
|
|
/* 800973E0 00093220 2C 1B 00 00 */ cmpwi r27, 0
|
|
/* 800973E4 00093224 40 82 00 0C */ bne lbl_800973F0
|
|
/* 800973E8 00093228 9B 9A 00 71 */ stb r28, 0x71(r26)
|
|
/* 800973EC 0009322C 48 00 00 28 */ b lbl_80097414
|
|
lbl_800973F0:
|
|
/* 800973F0 00093230 7F 43 D3 78 */ mr r3, r26
|
|
/* 800973F4 00093234 7F 64 DB 78 */ mr r4, r27
|
|
/* 800973F8 00093238 48 00 05 B1 */ bl port_find_mcb_dlci_port
|
|
/* 800973FC 0009323C 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80097400 00093240 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80097404 00093244 41 82 00 A8 */ beq lbl_800974AC
|
|
/* 80097408 00093248 7F 80 00 34 */ cntlzw r0, r28
|
|
/* 8009740C 0009324C 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f
|
|
/* 80097410 00093250 98 03 00 24 */ stb r0, 0x24(r3)
|
|
lbl_80097414:
|
|
/* 80097414 00093254 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 80097418 00093258 3B 80 00 00 */ li r28, 0
|
|
/* 8009741C 0009325C 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 80097420 00093260 3B C3 00 68 */ addi r30, r3, 0x68
|
|
lbl_80097424:
|
|
/* 80097424 00093264 2C 1B 00 00 */ cmpwi r27, 0
|
|
/* 80097428 00093268 40 82 00 2C */ bne lbl_80097454
|
|
/* 8009742C 0009326C 88 1E 00 01 */ lbz r0, 1(r30)
|
|
/* 80097430 00093270 7F DD F3 78 */ mr r29, r30
|
|
/* 80097434 00093274 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80097438 00093278 41 82 00 64 */ beq lbl_8009749C
|
|
/* 8009743C 0009327C 80 1E 00 6C */ lwz r0, 0x6c(r30)
|
|
/* 80097440 00093280 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80097444 00093284 40 82 00 58 */ bne lbl_8009749C
|
|
/* 80097448 00093288 88 1E 00 68 */ lbz r0, 0x68(r30)
|
|
/* 8009744C 0009328C 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80097450 00093290 40 82 00 4C */ bne lbl_8009749C
|
|
lbl_80097454:
|
|
/* 80097454 00093294 7F A3 EB 78 */ mr r3, r29
|
|
/* 80097458 00093298 48 00 06 2D */ bl port_flow_control_user
|
|
/* 8009745C 0009329C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80097460 000932A0 7F A3 EB 78 */ mr r3, r29
|
|
/* 80097464 000932A4 48 00 00 61 */ bl port_rfc_send_tx_data
|
|
/* 80097468 000932A8 81 9D 00 8C */ lwz r12, 0x8c(r29)
|
|
/* 8009746C 000932AC 7F E3 1B 78 */ or r3, r31, r3
|
|
/* 80097470 000932B0 80 1D 00 88 */ lwz r0, 0x88(r29)
|
|
/* 80097474 000932B4 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 80097478 000932B8 7C 63 00 38 */ and r3, r3, r0
|
|
/* 8009747C 000932BC 41 82 00 18 */ beq lbl_80097494
|
|
/* 80097480 000932C0 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80097484 000932C4 41 82 00 10 */ beq lbl_80097494
|
|
/* 80097488 000932C8 88 9D 00 00 */ lbz r4, 0(r29)
|
|
/* 8009748C 000932CC 7D 89 03 A6 */ mtctr r12
|
|
/* 80097490 000932D0 4E 80 04 21 */ bctrl
|
|
lbl_80097494:
|
|
/* 80097494 000932D4 2C 1B 00 00 */ cmpwi r27, 0
|
|
/* 80097498 000932D8 40 82 00 14 */ bne lbl_800974AC
|
|
lbl_8009749C:
|
|
/* 8009749C 000932DC 3B 9C 00 01 */ addi r28, r28, 1
|
|
/* 800974A0 000932E0 3B DE 00 A4 */ addi r30, r30, 0xa4
|
|
/* 800974A4 000932E4 2C 1C 00 05 */ cmpwi r28, 5
|
|
/* 800974A8 000932E8 41 80 FF 7C */ blt lbl_80097424
|
|
lbl_800974AC:
|
|
/* 800974AC 000932EC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800974B0 000932F0 4B F6 FE D5 */ bl func_80007384
|
|
/* 800974B4 000932F4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800974B8 000932F8 7C 08 03 A6 */ mtlr r0
|
|
/* 800974BC 000932FC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800974C0 00093300 4E 80 00 20 */ blr
|
|
|
|
.global port_rfc_send_tx_data
|
|
port_rfc_send_tx_data:
|
|
/* 800974C4 00093304 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800974C8 00093308 7C 08 02 A6 */ mflr r0
|
|
/* 800974CC 0009330C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800974D0 00093310 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800974D4 00093314 4B F6 FE 65 */ bl func_80007338
|
|
/* 800974D8 00093318 80 03 00 28 */ lwz r0, 0x28(r3)
|
|
/* 800974DC 0009331C 7C 7A 1B 78 */ mr r26, r3
|
|
/* 800974E0 00093320 3B 80 00 00 */ li r28, 0
|
|
/* 800974E4 00093324 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 800974E8 00093328 41 82 00 B4 */ beq lbl_8009759C
|
|
/* 800974EC 0009332C 3F A0 80 50 */ lis r29, rfc_cb@ha
|
|
/* 800974F0 00093330 3F C0 00 09 */ lis r30, 9
|
|
/* 800974F4 00093334 3B BD 98 08 */ addi r29, r29, rfc_cb@l
|
|
/* 800974F8 00093338 3F E0 80 44 */ lis r31, 0x8044
|
|
/* 800974FC 0009333C 48 00 00 70 */ b lbl_8009756C
|
|
lbl_80097500:
|
|
/* 80097500 00093340 38 7A 00 18 */ addi r3, r26, 0x18
|
|
/* 80097504 00093344 4B FD E0 BD */ bl GKI_dequeue
|
|
/* 80097508 00093348 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8009750C 0009334C 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80097510 00093350 41 82 00 54 */ beq lbl_80097564
|
|
/* 80097514 00093354 88 1D 04 14 */ lbz r0, 0x414(r29)
|
|
/* 80097518 00093358 28 00 00 04 */ cmplwi r0, 4
|
|
/* 8009751C 0009335C 41 80 00 10 */ blt lbl_8009752C
|
|
/* 80097520 00093360 38 7E 00 03 */ addi r3, r30, 3
|
|
/* 80097524 00093364 38 9F EF 0C */ addi r4, r31, -4340
|
|
/* 80097528 00093368 4B FE 04 39 */ bl LogMsg_0
|
|
lbl_8009752C:
|
|
/* 8009752C 0009336C A0 9B 00 02 */ lhz r4, 2(r27)
|
|
/* 80097530 00093370 7F 65 DB 78 */ mr r5, r27
|
|
/* 80097534 00093374 80 1A 00 28 */ lwz r0, 0x28(r26)
|
|
/* 80097538 00093378 80 7A 00 6C */ lwz r3, 0x6c(r26)
|
|
/* 8009753C 0009337C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80097540 00093380 88 9A 00 0D */ lbz r4, 0xd(r26)
|
|
/* 80097544 00093384 90 1A 00 28 */ stw r0, 0x28(r26)
|
|
/* 80097548 00093388 48 00 33 E9 */ bl RFCOMM_DataReq
|
|
/* 8009754C 0009338C 80 1A 00 28 */ lwz r0, 0x28(r26)
|
|
/* 80097550 00093390 63 9C 40 00 */ ori r28, r28, 0x4000
|
|
/* 80097554 00093394 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80097558 00093398 40 82 00 14 */ bne lbl_8009756C
|
|
/* 8009755C 0009339C 63 9C 00 04 */ ori r28, r28, 4
|
|
/* 80097560 000933A0 48 00 00 30 */ b lbl_80097590
|
|
lbl_80097564:
|
|
/* 80097564 000933A4 63 9C 00 04 */ ori r28, r28, 4
|
|
/* 80097568 000933A8 48 00 00 28 */ b lbl_80097590
|
|
lbl_8009756C:
|
|
/* 8009756C 000933AC 88 1A 00 24 */ lbz r0, 0x24(r26)
|
|
/* 80097570 000933B0 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80097574 000933B4 40 82 00 1C */ bne lbl_80097590
|
|
/* 80097578 000933B8 80 7A 00 6C */ lwz r3, 0x6c(r26)
|
|
/* 8009757C 000933BC 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80097580 000933C0 41 82 00 10 */ beq lbl_80097590
|
|
/* 80097584 000933C4 88 03 00 71 */ lbz r0, 0x71(r3)
|
|
/* 80097588 000933C8 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8009758C 000933CC 40 82 FF 74 */ bne lbl_80097500
|
|
lbl_80097590:
|
|
/* 80097590 000933D0 7F 43 D3 78 */ mr r3, r26
|
|
/* 80097594 000933D4 48 00 04 F1 */ bl port_flow_control_user
|
|
/* 80097598 000933D8 7F 9C 1B 78 */ or r28, r28, r3
|
|
lbl_8009759C:
|
|
/* 8009759C 000933DC 80 1A 00 88 */ lwz r0, 0x88(r26)
|
|
/* 800975A0 000933E0 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800975A4 000933E4 7F 83 00 38 */ and r3, r28, r0
|
|
/* 800975A8 000933E8 4B F6 FD DD */ bl func_80007384
|
|
/* 800975AC 000933EC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800975B0 000933F0 7C 08 03 A6 */ mtlr r0
|
|
/* 800975B4 000933F4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800975B8 000933F8 4E 80 00 20 */ blr
|
|
|
|
.global port_rfc_closed
|
|
port_rfc_closed:
|
|
/* 800975BC 000933FC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800975C0 00093400 7C 08 02 A6 */ mflr r0
|
|
/* 800975C4 00093404 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800975C8 00093408 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800975CC 0009340C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800975D0 00093410 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800975D4 00093414 3B C0 00 00 */ li r30, 0
|
|
/* 800975D8 00093418 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800975DC 0009341C 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 800975E0 00093420 7C 9C 23 78 */ mr r28, r4
|
|
/* 800975E4 00093424 88 A3 00 02 */ lbz r5, 2(r3)
|
|
/* 800975E8 00093428 83 A3 00 6C */ lwz r29, 0x6c(r3)
|
|
/* 800975EC 0009342C 28 05 00 01 */ cmplwi r5, 1
|
|
/* 800975F0 00093430 40 82 00 78 */ bne lbl_80097668
|
|
/* 800975F4 00093434 88 03 00 0C */ lbz r0, 0xc(r3)
|
|
/* 800975F8 00093438 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 800975FC 0009343C 41 82 00 6C */ beq lbl_80097668
|
|
/* 80097600 00093440 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 80097604 00093444 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 80097608 00093448 88 03 04 14 */ lbz r0, 0x414(r3)
|
|
/* 8009760C 0009344C 28 00 00 04 */ cmplwi r0, 4
|
|
/* 80097610 00093450 41 80 00 18 */ blt lbl_80097628
|
|
/* 80097614 00093454 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 80097618 00093458 3C 80 80 44 */ lis r4, $$21829@ha
|
|
/* 8009761C 0009345C 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 80097620 00093460 38 84 EF 24 */ addi r4, r4, $$21829@l
|
|
/* 80097624 00093464 4B FE 03 3D */ bl LogMsg_0
|
|
lbl_80097628:
|
|
/* 80097628 00093468 7F E3 FB 78 */ mr r3, r31
|
|
/* 8009762C 0009346C 48 00 4D 35 */ bl rfc_port_timer_stop
|
|
/* 80097630 00093470 3B C0 00 00 */ li r30, 0
|
|
/* 80097634 00093474 2C 1D 00 00 */ cmpwi r29, 0
|
|
/* 80097638 00093478 9B DF 00 68 */ stb r30, 0x68(r31)
|
|
/* 8009763C 0009347C 41 82 00 1C */ beq lbl_80097658
|
|
/* 80097640 00093480 88 1F 00 0D */ lbz r0, 0xd(r31)
|
|
/* 80097644 00093484 7F A3 EB 78 */ mr r3, r29
|
|
/* 80097648 00093488 7C 9D 02 14 */ add r4, r29, r0
|
|
/* 8009764C 0009348C 9B C4 00 24 */ stb r30, 0x24(r4)
|
|
/* 80097650 00093490 48 00 4D 69 */ bl rfc_check_mcb_active
|
|
/* 80097654 00093494 93 DF 00 6C */ stw r30, 0x6c(r31)
|
|
lbl_80097658:
|
|
/* 80097658 00093498 88 1F 00 0D */ lbz r0, 0xd(r31)
|
|
/* 8009765C 0009349C 54 00 06 3C */ rlwinm r0, r0, 0, 0x18, 0x1e
|
|
/* 80097660 000934A0 98 1F 00 0D */ stb r0, 0xd(r31)
|
|
/* 80097664 000934A4 48 00 00 CC */ b lbl_80097730
|
|
lbl_80097668:
|
|
/* 80097668 000934A8 28 05 00 03 */ cmplwi r5, 3
|
|
/* 8009766C 000934AC 41 82 00 44 */ beq lbl_800976B0
|
|
/* 80097670 000934B0 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 80097674 000934B4 41 82 00 3C */ beq lbl_800976B0
|
|
/* 80097678 000934B8 88 A3 00 0F */ lbz r5, 0xf(r3)
|
|
/* 8009767C 000934BC 38 00 FF F4 */ li r0, -12
|
|
/* 80097680 000934C0 88 83 00 5F */ lbz r4, 0x5f(r3)
|
|
/* 80097684 000934C4 60 A6 00 10 */ ori r6, r5, 0x10
|
|
/* 80097688 000934C8 7C 85 00 38 */ and r5, r4, r0
|
|
/* 8009768C 000934CC 98 C3 00 0F */ stb r6, 0xf(r3)
|
|
/* 80097690 000934D0 98 A3 00 5F */ stb r5, 0x5f(r3)
|
|
/* 80097694 000934D4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80097698 000934D8 48 00 04 5D */ bl port_get_signal_changes
|
|
/* 8009769C 000934DC 80 1F 00 88 */ lwz r0, 0x88(r31)
|
|
/* 800976A0 000934E0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 800976A4 000934E4 54 00 04 21 */ rlwinm. r0, r0, 0, 0x10, 0x10
|
|
/* 800976A8 000934E8 41 82 00 08 */ beq lbl_800976B0
|
|
/* 800976AC 000934EC 60 7E 80 00 */ ori r30, r3, 0x8000
|
|
lbl_800976B0:
|
|
/* 800976B0 000934F0 3C 60 80 50 */ lis r3, rfc_cb@ha
|
|
/* 800976B4 000934F4 38 63 98 08 */ addi r3, r3, rfc_cb@l
|
|
/* 800976B8 000934F8 88 03 04 14 */ lbz r0, 0x414(r3)
|
|
/* 800976BC 000934FC 28 00 00 04 */ cmplwi r0, 4
|
|
/* 800976C0 00093500 41 80 00 20 */ blt lbl_800976E0
|
|
/* 800976C4 00093504 3C 60 00 09 */ lis r3, 0x00090003@ha
|
|
/* 800976C8 00093508 3C 80 80 44 */ lis r4, $$21830@ha
|
|
/* 800976CC 0009350C 88 BF 00 02 */ lbz r5, 2(r31)
|
|
/* 800976D0 00093510 7F C6 F3 78 */ mr r6, r30
|
|
/* 800976D4 00093514 38 63 00 03 */ addi r3, r3, 0x00090003@l
|
|
/* 800976D8 00093518 38 84 EF 50 */ addi r4, r4, $$21830@l
|
|
/* 800976DC 0009351C 4B FE 02 85 */ bl LogMsg_0
|
|
lbl_800976E0:
|
|
/* 800976E0 00093520 81 9F 00 8C */ lwz r12, 0x8c(r31)
|
|
/* 800976E4 00093524 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 800976E8 00093528 41 82 00 1C */ beq lbl_80097704
|
|
/* 800976EC 0009352C 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 800976F0 00093530 41 82 00 14 */ beq lbl_80097704
|
|
/* 800976F4 00093534 7F C3 F3 78 */ mr r3, r30
|
|
/* 800976F8 00093538 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 800976FC 0009353C 7D 89 03 A6 */ mtctr r12
|
|
/* 80097700 00093540 4E 80 04 21 */ bctrl
|
|
lbl_80097704:
|
|
/* 80097704 00093544 81 9F 00 90 */ lwz r12, 0x90(r31)
|
|
/* 80097708 00093548 2C 0C 00 00 */ cmpwi r12, 0
|
|
/* 8009770C 0009354C 41 82 00 14 */ beq lbl_80097720
|
|
/* 80097710 00093550 7F 83 E3 78 */ mr r3, r28
|
|
/* 80097714 00093554 88 9F 00 00 */ lbz r4, 0(r31)
|
|
/* 80097718 00093558 7D 89 03 A6 */ mtctr r12
|
|
/* 8009771C 0009355C 4E 80 04 21 */ bctrl
|
|
lbl_80097720:
|
|
/* 80097720 00093560 38 00 00 00 */ li r0, 0
|
|
/* 80097724 00093564 7F E3 FB 78 */ mr r3, r31
|
|
/* 80097728 00093568 98 1F 00 68 */ stb r0, 0x68(r31)
|
|
/* 8009772C 0009356C 48 00 01 A1 */ bl port_release_port
|
|
lbl_80097730:
|
|
/* 80097730 00093570 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80097734 00093574 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80097738 00093578 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8009773C 0009357C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80097740 00093580 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80097744 00093584 7C 08 03 A6 */ mtlr r0
|
|
/* 80097748 00093588 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8009774C 0009358C 4E 80 00 20 */ blr
|
|
|
|
.section .data, "wa" # 0x80421040 - 0x80496700
|
|
.global $$21517
|
|
$$21517:
|
|
.asciz "port_open_continue"
|
|
.balign 4
|
|
.global $$21518
|
|
$$21518:
|
|
.asciz "port_open_continue no mx channel"
|
|
.balign 4
|
|
.global $$21560
|
|
$$21560:
|
|
.asciz "PORT_StartCnf result:%d"
|
|
.global $$21561
|
|
$$21561:
|
|
.asciz "PORT_StartCnf failed result:%d"
|
|
.balign 4
|
|
.global $$21573
|
|
$$21573:
|
|
.asciz "PORT_StartInd"
|
|
.balign 4
|
|
.global $$21600
|
|
$$21600:
|
|
.asciz "PORT_ParNegInd dlci:%d mtu:%d"
|
|
.balign 4
|
|
.global $$21601
|
|
$$21601:
|
|
.asciz "PORT_ParNegInd: port not found"
|
|
.balign 4
|
|
.global $$21618
|
|
$$21618:
|
|
.asciz "PORT_ParNegCnf dlci:%d mtu:%d cl: %d k: %d"
|
|
.balign 4
|
|
.global $$21631
|
|
$$21631:
|
|
.asciz "PORT_DlcEstablishInd dlci:%d mtu:%d"
|
|
.global $$21649
|
|
$$21649:
|
|
.asciz "PORT_DlcEstablishCnf dlci:%d mtu:%d result:%d"
|
|
.balign 4
|
|
.global $$21655
|
|
$$21655:
|
|
.asciz "PORT_PortNegInd"
|
|
.global $$21666
|
|
$$21666:
|
|
.asciz "PORT_PortNegCnf"
|
|
.global $$21667
|
|
$$21667:
|
|
.asciz "PORT_PortNegCnf no port"
|
|
.global $$21668
|
|
$$21668:
|
|
.asciz "PORT_PortNegCnf Control Already sent"
|
|
.balign 4
|
|
.global $$21702
|
|
$$21702:
|
|
.asciz "PORT_ControlInd"
|
|
.global $$21703
|
|
$$21703:
|
|
.asciz "PORT_ControlInd DTR_DSR : %d, RTS_CTS : %d, RI : %d, DCD : %d"
|
|
.balign 4
|
|
.global $$21717
|
|
$$21717:
|
|
.asciz "PORT_ControlCnf"
|
|
.global $$21732
|
|
$$21732:
|
|
.asciz "PORT_LineStatusInd"
|
|
.balign 4
|
|
.global $$21737
|
|
$$21737:
|
|
.asciz "PORT_DlcReleaseInd"
|
|
.balign 4
|
|
.global $$21746
|
|
$$21746:
|
|
.asciz "PORT_CloseInd"
|
|
.balign 4
|
|
.global $$21755
|
|
$$21755:
|
|
.asciz "Port_TimeOutCloseMux"
|
|
.balign 4
|
|
.global $$21780
|
|
$$21780:
|
|
.asciz "PORT_DataInd with data length %d"
|
|
.balign 4
|
|
.global $$21781
|
|
$$21781:
|
|
.asciz "PORT_DataInd. Buffer over run. Dropping the buffer"
|
|
.balign 4
|
|
.global $$21799
|
|
$$21799:
|
|
.asciz "PORT_FlowInd fc:%d"
|
|
.balign 4
|
|
.global $$21812
|
|
$$21812:
|
|
.asciz "Sending RFCOMM_DataReq"
|
|
.balign 4
|
|
.global $$21829
|
|
$$21829:
|
|
.asciz "port_rfc_closed in OPENING state ignored"
|
|
.balign 4
|
|
.global $$21830
|
|
$$21830:
|
|
.asciz "port_rfc_closed state:%d sending events:%x"
|
|
.balign 4
|
|
.4byte 0
|