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

1713 lines
68 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global rfc_port_sm_execute
rfc_port_sm_execute:
/* 800992A0 000950E0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800992A4 000950E4 7C 86 23 78 */ mr r6, r4
/* 800992A8 000950E8 40 82 00 34 */ bne lbl_800992DC
/* 800992AC 000950EC 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800992B0 000950F0 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800992B4 000950F4 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800992B8 000950F8 28 00 00 02 */ cmplwi r0, 0x2
/* 800992BC 000950FC 4D 80 00 20 */ bltlr
/* 800992C0 00095100 3C 60 00 09 */ lis r3, 0x9
/* 800992C4 00095104 3C 80 80 44 */ lis r4, "@1372"@ha
/* 800992C8 00095108 7C C5 33 78 */ mr r5, r6
/* 800992CC 0009510C 38 63 00 01 */ addi r3, r3, 0x1
/* 800992D0 00095110 38 84 F4 C0 */ addi r4, r4, "@1372"@l
/* 800992D4 00095114 4B FD E6 8C */ b LogMsg_0
/* 800992D8 00095118 4E 80 00 20 */ blr
.global lbl_800992DC
lbl_800992DC:
/* 800992DC 0009511C 88 03 00 68 */ lbz r0, 0x68(r3)
/* 800992E0 00095120 2C 00 00 03 */ cmpwi r0, 0x3
/* 800992E4 00095124 41 82 00 3C */ beq lbl_80099320
/* 800992E8 00095128 40 80 00 1C */ bge lbl_80099304
/* 800992EC 0009512C 2C 00 00 01 */ cmpwi r0, 0x1
/* 800992F0 00095130 41 82 00 28 */ beq lbl_80099318
/* 800992F4 00095134 40 80 00 28 */ bge lbl_8009931C
/* 800992F8 00095138 2C 00 00 00 */ cmpwi r0, 0x0
/* 800992FC 0009513C 40 80 00 18 */ bge lbl_80099314
/* 80099300 00095140 4E 80 00 20 */ blr
.global lbl_80099304
lbl_80099304:
/* 80099304 00095144 2C 00 00 05 */ cmpwi r0, 0x5
/* 80099308 00095148 41 82 00 20 */ beq lbl_80099328
/* 8009930C 0009514C 4C 80 00 20 */ bgelr
/* 80099310 00095150 48 00 00 14 */ b lbl_80099324
.global lbl_80099314
lbl_80099314:
/* 80099314 00095154 48 00 00 1C */ b rfc_port_sm_state_closed
.global lbl_80099318
lbl_80099318:
/* 80099318 00095158 48 00 01 8C */ b rfc_port_sm_sabme_wait_ua
.global lbl_8009931C
lbl_8009931C:
/* 8009931C 0009515C 48 00 04 E0 */ b rfc_port_sm_orig_wait_sec_check
.global lbl_80099320
lbl_80099320:
/* 80099320 00095160 48 00 03 20 */ b rfc_port_sm_term_wait_sec_check
.global lbl_80099324
lbl_80099324:
/* 80099324 00095164 48 00 06 28 */ b rfc_port_sm_opened
.global lbl_80099328
lbl_80099328:
/* 80099328 00095168 48 00 08 10 */ b rfc_port_sm_disc_wait_ua
/* 8009932C 0009516C 4E 80 00 20 */ blr
.global rfc_port_sm_state_closed
rfc_port_sm_state_closed:
/* 80099330 00095170 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80099334 00095174 7C 08 02 A6 */ mflr r0
/* 80099338 00095178 28 04 00 0E */ cmplwi r4, 0xe
/* 8009933C 0009517C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80099340 00095180 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80099344 00095184 7C 9F 23 78 */ mr r31, r4
/* 80099348 00095188 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8009934C 0009518C 7C 7E 1B 78 */ mr r30, r3
/* 80099350 00095190 41 81 01 10 */ bgt lbl_80099460
/* 80099354 00095194 3C C0 80 44 */ lis r6, "@1392"@ha
/* 80099358 00095198 54 80 10 3A */ slwi r0, r4, 2
/* 8009935C 0009519C 38 C6 F5 18 */ addi r6, r6, "@1392"@l
/* 80099360 000951A0 7C C6 00 2E */ lwzx r6, r6, r0
/* 80099364 000951A4 7C C9 03 A6 */ mtctr r6
/* 80099368 000951A8 4E 80 04 20 */ bctr
.global lbl_8009936C
lbl_8009936C:
/* 8009936C 000951AC 88 1E 00 0D */ lbz r0, 0xd(r30)
/* 80099370 000951B0 38 A0 00 02 */ li r5, 0x2
/* 80099374 000951B4 3D 00 80 0A */ lis r8, rfc_sec_check_complete@ha
/* 80099378 000951B8 98 A3 00 68 */ stb r5, 0x68(r3)
/* 8009937C 000951BC 80 83 00 6C */ lwz r4, 0x6c(r3)
/* 80099380 000951C0 7F C9 F3 78 */ mr r9, r30
/* 80099384 000951C4 54 07 F8 7E */ srwi r7, r0, 1
/* 80099388 000951C8 39 08 C4 B8 */ addi r8, r8, rfc_sec_check_complete@l
/* 8009938C 000951CC 38 64 00 62 */ addi r3, r4, 0x62
/* 80099390 000951D0 38 80 00 03 */ li r4, 0x3
/* 80099394 000951D4 38 A0 00 01 */ li r5, 0x1
/* 80099398 000951D8 38 C0 00 03 */ li r6, 0x3
/* 8009939C 000951DC 4B FE CD 91 */ bl btm_sec_mx_access_request
/* 800993A0 000951E0 48 00 00 EC */ b lbl_8009948C
.global lbl_800993A4
lbl_800993A4:
/* 800993A4 000951E4 48 00 00 E8 */ b lbl_8009948C
.global lbl_800993A8
lbl_800993A8:
/* 800993A8 000951E8 7C A3 2B 78 */ mr r3, r5
/* 800993AC 000951EC 4B FD BB 65 */ bl GKI_freebuf
/* 800993B0 000951F0 48 00 00 B0 */ b lbl_80099460
.global lbl_800993B4
lbl_800993B4:
/* 800993B4 000951F4 88 1E 00 0D */ lbz r0, 0xd(r30)
/* 800993B8 000951F8 38 A0 00 03 */ li r5, 0x3
/* 800993BC 000951FC 3D 00 80 0A */ lis r8, rfc_sec_check_complete@ha
/* 800993C0 00095200 98 A3 00 68 */ stb r5, 0x68(r3)
/* 800993C4 00095204 80 83 00 6C */ lwz r4, 0x6c(r3)
/* 800993C8 00095208 7F C9 F3 78 */ mr r9, r30
/* 800993CC 0009520C 54 07 F8 7E */ srwi r7, r0, 1
/* 800993D0 00095210 39 08 C4 B8 */ addi r8, r8, rfc_sec_check_complete@l
/* 800993D4 00095214 38 64 00 62 */ addi r3, r4, 0x62
/* 800993D8 00095218 38 80 00 03 */ li r4, 0x3
/* 800993DC 0009521C 38 A0 00 00 */ li r5, 0x0
/* 800993E0 00095220 38 C0 00 03 */ li r6, 0x3
/* 800993E4 00095224 4B FE CD 49 */ bl btm_sec_mx_access_request
/* 800993E8 00095228 48 00 00 A4 */ b lbl_8009948C
.global lbl_800993EC
lbl_800993EC:
/* 800993EC 0009522C 48 00 00 A0 */ b lbl_8009948C
.global lbl_800993F0
lbl_800993F0:
/* 800993F0 00095230 48 00 31 1D */ bl rfc_port_closed
/* 800993F4 00095234 48 00 00 98 */ b lbl_8009948C
.global lbl_800993F8
lbl_800993F8:
/* 800993F8 00095238 7C A3 2B 78 */ mr r3, r5
/* 800993FC 0009523C 4B FD BB 15 */ bl GKI_freebuf
/* 80099400 00095240 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 80099404 00095244 38 A0 00 00 */ li r5, 0x0
/* 80099408 00095248 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 8009940C 0009524C 48 00 16 BD */ bl rfc_send_dm
/* 80099410 00095250 48 00 00 7C */ b lbl_8009948C
.global lbl_80099414
lbl_80099414:
/* 80099414 00095254 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099418 00095258 38 A0 00 00 */ li r5, 0x0
/* 8009941C 0009525C 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099420 00095260 48 00 16 A9 */ bl rfc_send_dm
/* 80099424 00095264 48 00 00 68 */ b lbl_8009948C
.global lbl_80099428
lbl_80099428:
/* 80099428 00095268 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8009942C 0009526C 4B FF DC D1 */ bl Port_TimeOutCloseMux
/* 80099430 00095270 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099434 00095274 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099438 00095278 88 03 04 14 */ lbz r0, 0x414(r3)
/* 8009943C 0009527C 28 00 00 01 */ cmplwi r0, 0x1
/* 80099440 00095280 41 80 00 4C */ blt lbl_8009948C
/* 80099444 00095284 3C 80 80 44 */ lis r4, "@1388"@ha
/* 80099448 00095288 88 BE 00 68 */ lbz r5, 0x68(r30)
/* 8009944C 0009528C 7F E6 FB 78 */ mr r6, r31
/* 80099450 00095290 3C 60 00 09 */ lis r3, 0x9
/* 80099454 00095294 38 84 F4 D4 */ addi r4, r4, "@1388"@l
/* 80099458 00095298 4B FD E5 09 */ bl LogMsg_0
/* 8009945C 0009529C 48 00 00 30 */ b lbl_8009948C
.global lbl_80099460
lbl_80099460:
/* 80099460 000952A0 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099464 000952A4 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099468 000952A8 88 03 04 14 */ lbz r0, 0x414(r3)
/* 8009946C 000952AC 28 00 00 02 */ cmplwi r0, 0x2
/* 80099470 000952B0 41 80 00 1C */ blt lbl_8009948C
/* 80099474 000952B4 3C 60 00 09 */ lis r3, 0x9
/* 80099478 000952B8 3C 80 80 44 */ lis r4, "@1389"@ha
/* 8009947C 000952BC 7F E5 FB 78 */ mr r5, r31
/* 80099480 000952C0 38 63 00 01 */ addi r3, r3, 0x1
/* 80099484 000952C4 38 84 F4 F4 */ addi r4, r4, "@1389"@l
/* 80099488 000952C8 4B FD E4 D9 */ bl LogMsg_0
.global lbl_8009948C
lbl_8009948C:
/* 8009948C 000952CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80099490 000952D0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80099494 000952D4 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80099498 000952D8 7C 08 03 A6 */ mtlr r0
/* 8009949C 000952DC 38 21 00 10 */ addi r1, r1, 0x10
/* 800994A0 000952E0 4E 80 00 20 */ blr
.global rfc_port_sm_sabme_wait_ua
rfc_port_sm_sabme_wait_ua:
/* 800994A4 000952E4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800994A8 000952E8 7C 08 02 A6 */ mflr r0
/* 800994AC 000952EC 28 04 00 0E */ cmplwi r4, 0xe
/* 800994B0 000952F0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800994B4 000952F4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800994B8 000952F8 7C 9F 23 78 */ mr r31, r4
/* 800994BC 000952FC 93 C1 00 08 */ stw r30, 0x8(r1)
/* 800994C0 00095300 7C 7E 1B 78 */ mr r30, r3
/* 800994C4 00095304 41 81 01 38 */ bgt lbl_800995FC
/* 800994C8 00095308 3C C0 80 44 */ lis r6, "@1419"@ha
/* 800994CC 0009530C 54 80 10 3A */ slwi r0, r4, 2
/* 800994D0 00095310 38 C6 F5 80 */ addi r6, r6, "@1419"@l
/* 800994D4 00095314 7C C6 00 2E */ lwzx r6, r6, r0
/* 800994D8 00095318 7C C9 03 A6 */ mtctr r6
/* 800994DC 0009531C 4E 80 04 20 */ bctr
.global lbl_800994E0
lbl_800994E0:
/* 800994E0 00095320 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800994E4 00095324 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800994E8 00095328 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800994EC 0009532C 28 00 00 01 */ cmplwi r0, 0x1
/* 800994F0 00095330 41 80 01 38 */ blt lbl_80099628
/* 800994F4 00095334 3C 80 80 44 */ lis r4, "@1388"@ha
/* 800994F8 00095338 88 BE 00 68 */ lbz r5, 0x68(r30)
/* 800994FC 0009533C 7F E6 FB 78 */ mr r6, r31
/* 80099500 00095340 3C 60 00 09 */ lis r3, 0x9
/* 80099504 00095344 38 84 F4 D4 */ addi r4, r4, "@1388"@l
/* 80099508 00095348 4B FD E4 59 */ bl LogMsg_0
/* 8009950C 0009534C 48 00 01 1C */ b lbl_80099628
.global lbl_80099510
lbl_80099510:
/* 80099510 00095350 38 80 00 03 */ li r4, 0x3
/* 80099514 00095354 48 00 2D CD */ bl rfc_port_timer_start
/* 80099518 00095358 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 8009951C 0009535C 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099520 00095360 48 00 16 6D */ bl rfc_send_disc
/* 80099524 00095364 38 60 00 00 */ li r3, 0x0
/* 80099528 00095368 38 00 00 05 */ li r0, 0x5
/* 8009952C 0009536C 98 7E 00 69 */ stb r3, 0x69(r30)
/* 80099530 00095370 98 1E 00 68 */ stb r0, 0x68(r30)
/* 80099534 00095374 48 00 00 F4 */ b lbl_80099628
.global lbl_80099538
lbl_80099538:
/* 80099538 00095378 48 00 2F D5 */ bl rfc_port_closed
/* 8009953C 0009537C 48 00 00 EC */ b lbl_80099628
.global lbl_80099540
lbl_80099540:
/* 80099540 00095380 7C A3 2B 78 */ mr r3, r5
/* 80099544 00095384 4B FD B9 CD */ bl GKI_freebuf
/* 80099548 00095388 48 00 00 B4 */ b lbl_800995FC
.global lbl_8009954C
lbl_8009954C:
/* 8009954C 0009538C 48 00 2E 15 */ bl rfc_port_timer_stop
/* 80099550 00095390 38 00 00 04 */ li r0, 0x4
/* 80099554 00095394 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 80099558 00095398 98 1E 00 68 */ stb r0, 0x68(r30)
/* 8009955C 0009539C 38 C0 00 00 */ li r6, 0x0
/* 80099560 000953A0 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099564 000953A4 A0 A3 00 6A */ lhz r5, 0x6a(r3)
/* 80099568 000953A8 4B FF D3 DD */ bl PORT_DlcEstablishCnf
/* 8009956C 000953AC 48 00 00 BC */ b lbl_80099628
.global lbl_80099570
lbl_80099570:
/* 80099570 000953B0 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099574 000953B4 38 C0 00 01 */ li r6, 0x1
/* 80099578 000953B8 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 8009957C 000953BC A0 A3 00 6A */ lhz r5, 0x6a(r3)
/* 80099580 000953C0 4B FF D3 C5 */ bl PORT_DlcEstablishCnf
/* 80099584 000953C4 7F C3 F3 78 */ mr r3, r30
/* 80099588 000953C8 48 00 2F 85 */ bl rfc_port_closed
/* 8009958C 000953CC 48 00 00 9C */ b lbl_80099628
.global lbl_80099590
lbl_80099590:
/* 80099590 000953D0 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099594 000953D4 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099598 000953D8 48 00 14 81 */ bl rfc_send_ua
/* 8009959C 000953DC 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 800995A0 000953E0 38 C0 00 01 */ li r6, 0x1
/* 800995A4 000953E4 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 800995A8 000953E8 A0 A3 00 6A */ lhz r5, 0x6a(r3)
/* 800995AC 000953EC 4B FF D3 99 */ bl PORT_DlcEstablishCnf
/* 800995B0 000953F0 7F C3 F3 78 */ mr r3, r30
/* 800995B4 000953F4 48 00 2F 59 */ bl rfc_port_closed
/* 800995B8 000953F8 48 00 00 70 */ b lbl_80099628
.global lbl_800995BC
lbl_800995BC:
/* 800995BC 000953FC 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 800995C0 00095400 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 800995C4 00095404 48 00 14 55 */ bl rfc_send_ua
/* 800995C8 00095408 48 00 00 60 */ b lbl_80099628
.global lbl_800995CC
lbl_800995CC:
/* 800995CC 0009540C 7C A3 2B 78 */ mr r3, r5
/* 800995D0 00095410 4B FD B9 41 */ bl GKI_freebuf
/* 800995D4 00095414 48 00 00 54 */ b lbl_80099628
.global lbl_800995D8
lbl_800995D8:
/* 800995D8 00095418 38 00 00 00 */ li r0, 0x0
/* 800995DC 0009541C 80 A3 00 6C */ lwz r5, 0x6c(r3)
/* 800995E0 00095420 98 03 00 68 */ stb r0, 0x68(r3)
/* 800995E4 00095424 38 C0 00 01 */ li r6, 0x1
/* 800995E8 00095428 7C A3 2B 78 */ mr r3, r5
/* 800995EC 0009542C 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 800995F0 00095430 A0 A5 00 6A */ lhz r5, 0x6a(r5)
/* 800995F4 00095434 4B FF D3 51 */ bl PORT_DlcEstablishCnf
/* 800995F8 00095438 48 00 00 30 */ b lbl_80099628
.global lbl_800995FC
lbl_800995FC:
/* 800995FC 0009543C 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099600 00095440 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099604 00095444 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099608 00095448 28 00 00 02 */ cmplwi r0, 0x2
/* 8009960C 0009544C 41 80 00 1C */ blt lbl_80099628
/* 80099610 00095450 3C 60 00 09 */ lis r3, 0x9
/* 80099614 00095454 3C 80 80 44 */ lis r4, "@1416"@ha
/* 80099618 00095458 7F E5 FB 78 */ mr r5, r31
/* 8009961C 0009545C 38 63 00 01 */ addi r3, r3, 0x1
/* 80099620 00095460 38 84 F5 54 */ addi r4, r4, "@1416"@l
/* 80099624 00095464 4B FD E3 3D */ bl LogMsg_0
.global lbl_80099628
lbl_80099628:
/* 80099628 00095468 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009962C 0009546C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80099630 00095470 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80099634 00095474 7C 08 03 A6 */ mtlr r0
/* 80099638 00095478 38 21 00 10 */ addi r1, r1, 0x10
/* 8009963C 0009547C 4E 80 00 20 */ blr
.global rfc_port_sm_term_wait_sec_check
rfc_port_sm_term_wait_sec_check:
/* 80099640 00095480 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80099644 00095484 7C 08 02 A6 */ mflr r0
/* 80099648 00095488 3C E0 80 44 */ lis r7, "@1372"@ha
/* 8009964C 0009548C 28 04 00 0F */ cmplwi r4, 0xf
/* 80099650 00095490 90 01 00 14 */ stw r0, 0x14(r1)
/* 80099654 00095494 38 E7 F4 C0 */ addi r7, r7, "@1372"@l
/* 80099658 00095498 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009965C 0009549C 7C BF 2B 78 */ mr r31, r5
/* 80099660 000954A0 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80099664 000954A4 7C 7E 1B 78 */ mr r30, r3
/* 80099668 000954A8 41 81 01 54 */ bgt lbl_800997BC
/* 8009966C 000954AC 3C C0 80 44 */ lis r6, "@1448_8043F618"@ha
/* 80099670 000954B0 54 80 10 3A */ slwi r0, r4, 2
/* 80099674 000954B4 38 C6 F6 18 */ addi r6, r6, "@1448_8043F618"@l
/* 80099678 000954B8 7C C6 00 2E */ lwzx r6, r6, r0
/* 8009967C 000954BC 7C C9 03 A6 */ mtctr r6
/* 80099680 000954C0 4E 80 04 20 */ bctr
.global lbl_80099684
lbl_80099684:
/* 80099684 000954C4 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80099688 000954C8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009968C 000954CC 41 82 00 2C */ beq lbl_800996B8
/* 80099690 000954D0 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099694 000954D4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80099698 000954D8 41 82 01 4C */ beq lbl_800997E4
/* 8009969C 000954DC 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 800996A0 000954E0 38 A0 00 01 */ li r5, 0x1
/* 800996A4 000954E4 48 00 14 25 */ bl rfc_send_dm
/* 800996A8 000954E8 7F C3 F3 78 */ mr r3, r30
/* 800996AC 000954EC 38 80 00 0F */ li r4, 0xf
/* 800996B0 000954F0 4B FF DF 0D */ bl port_rfc_closed
/* 800996B4 000954F4 48 00 01 30 */ b lbl_800997E4
.global lbl_800996B8
lbl_800996B8:
/* 800996B8 000954F8 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 800996BC 000954FC 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 800996C0 00095500 A0 A3 00 6A */ lhz r5, 0x6a(r3)
/* 800996C4 00095504 4B FF D1 41 */ bl PORT_DlcEstablishInd
/* 800996C8 00095508 48 00 01 1C */ b lbl_800997E4
.global lbl_800996CC
lbl_800996CC:
/* 800996CC 0009550C 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800996D0 00095510 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800996D4 00095514 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800996D8 00095518 28 00 00 01 */ cmplwi r0, 0x1
/* 800996DC 0009551C 41 80 01 08 */ blt lbl_800997E4
/* 800996E0 00095520 88 BE 00 68 */ lbz r5, 0x68(r30)
/* 800996E4 00095524 7C 86 23 78 */ mr r6, r4
/* 800996E8 00095528 38 87 00 14 */ addi r4, r7, 0x14
/* 800996EC 0009552C 3C 60 00 09 */ lis r3, 0x9
/* 800996F0 00095530 4B FD E2 71 */ bl LogMsg_0
/* 800996F4 00095534 48 00 00 F0 */ b lbl_800997E4
.global lbl_800996F8
lbl_800996F8:
/* 800996F8 00095538 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 800996FC 0009553C 38 63 00 62 */ addi r3, r3, 0x62
/* 80099700 00095540 4B FE CE 51 */ bl btm_sec_abort_access_req
/* 80099704 00095544 7F C3 F3 78 */ mr r3, r30
/* 80099708 00095548 48 00 2E 05 */ bl rfc_port_closed
/* 8009970C 0009554C 48 00 00 D8 */ b lbl_800997E4
.global lbl_80099710
lbl_80099710:
/* 80099710 00095550 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099714 00095554 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099718 00095558 88 03 04 14 */ lbz r0, 0x414(r3)
/* 8009971C 0009555C 28 00 00 01 */ cmplwi r0, 0x1
/* 80099720 00095560 41 80 00 10 */ blt lbl_80099730
/* 80099724 00095564 38 87 00 FC */ addi r4, r7, 0xfc
/* 80099728 00095568 3C 60 00 09 */ lis r3, 0x9
/* 8009972C 0009556C 4B FD E2 35 */ bl LogMsg_0
.global lbl_80099730
lbl_80099730:
/* 80099730 00095570 7F E3 FB 78 */ mr r3, r31
/* 80099734 00095574 4B FD B7 DD */ bl GKI_freebuf
/* 80099738 00095578 48 00 00 AC */ b lbl_800997E4
.global lbl_8009973C
lbl_8009973C:
/* 8009973C 0009557C 48 00 00 A8 */ b lbl_800997E4
.global lbl_80099740
lbl_80099740:
/* 80099740 00095580 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099744 00095584 38 63 00 62 */ addi r3, r3, 0x62
/* 80099748 00095588 4B FE CE 09 */ bl btm_sec_abort_access_req
/* 8009974C 0009558C 38 00 00 00 */ li r0, 0x0
/* 80099750 00095590 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 80099754 00095594 98 1E 00 68 */ stb r0, 0x68(r30)
/* 80099758 00095598 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 8009975C 0009559C 48 00 12 BD */ bl rfc_send_ua
/* 80099760 000955A0 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 80099764 000955A4 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099768 000955A8 4B FF D8 8D */ bl PORT_DlcReleaseInd
/* 8009976C 000955AC 48 00 00 78 */ b lbl_800997E4
.global lbl_80099770
lbl_80099770:
/* 80099770 000955B0 7F E3 FB 78 */ mr r3, r31
/* 80099774 000955B4 4B FD B7 9D */ bl GKI_freebuf
/* 80099778 000955B8 48 00 00 6C */ b lbl_800997E4
.global lbl_8009977C
lbl_8009977C:
/* 8009977C 000955BC 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80099780 000955C0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80099784 000955C4 41 82 00 20 */ beq lbl_800997A4
/* 80099788 000955C8 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8009978C 000955CC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80099790 000955D0 41 82 00 54 */ beq lbl_800997E4
/* 80099794 000955D4 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099798 000955D8 38 A0 00 01 */ li r5, 0x1
/* 8009979C 000955DC 48 00 13 2D */ bl rfc_send_dm
/* 800997A0 000955E0 48 00 00 44 */ b lbl_800997E4
.global lbl_800997A4
lbl_800997A4:
/* 800997A4 000955E4 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 800997A8 000955E8 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 800997AC 000955EC 48 00 12 6D */ bl rfc_send_ua
/* 800997B0 000955F0 38 00 00 04 */ li r0, 0x4
/* 800997B4 000955F4 98 1E 00 68 */ stb r0, 0x68(r30)
/* 800997B8 000955F8 48 00 00 2C */ b lbl_800997E4
.global lbl_800997BC
lbl_800997BC:
/* 800997BC 000955FC 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800997C0 00095600 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800997C4 00095604 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800997C8 00095608 28 00 00 02 */ cmplwi r0, 0x2
/* 800997CC 0009560C 41 80 00 18 */ blt lbl_800997E4
/* 800997D0 00095610 3C 60 00 09 */ lis r3, 0x9
/* 800997D4 00095614 7C 85 23 78 */ mr r5, r4
/* 800997D8 00095618 38 63 00 01 */ addi r3, r3, 0x1
/* 800997DC 0009561C 38 87 01 28 */ addi r4, r7, 0x128
/* 800997E0 00095620 4B FD E1 81 */ bl LogMsg_0
.global lbl_800997E4
lbl_800997E4:
/* 800997E4 00095624 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800997E8 00095628 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800997EC 0009562C 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 800997F0 00095630 7C 08 03 A6 */ mtlr r0
/* 800997F4 00095634 38 21 00 10 */ addi r1, r1, 0x10
/* 800997F8 00095638 4E 80 00 20 */ blr
.global rfc_port_sm_orig_wait_sec_check
rfc_port_sm_orig_wait_sec_check:
/* 800997FC 0009563C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80099800 00095640 7C 08 02 A6 */ mflr r0
/* 80099804 00095644 3C E0 80 44 */ lis r7, "@1372"@ha
/* 80099808 00095648 28 04 00 0F */ cmplwi r4, 0xf
/* 8009980C 0009564C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80099810 00095650 38 E7 F4 C0 */ addi r7, r7, "@1372"@l
/* 80099814 00095654 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80099818 00095658 7C BF 2B 78 */ mr r31, r5
/* 8009981C 0009565C 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80099820 00095660 7C 7E 1B 78 */ mr r30, r3
/* 80099824 00095664 41 81 00 E8 */ bgt lbl_8009990C
/* 80099828 00095668 3C C0 80 44 */ lis r6, "@1465_8043F6B8"@ha
/* 8009982C 0009566C 54 80 10 3A */ slwi r0, r4, 2
/* 80099830 00095670 38 C6 F6 B8 */ addi r6, r6, "@1465_8043F6B8"@l
/* 80099834 00095674 7C C6 00 2E */ lwzx r6, r6, r0
/* 80099838 00095678 7C C9 03 A6 */ mtctr r6
/* 8009983C 0009567C 4E 80 04 20 */ bctr
.global lbl_80099840
lbl_80099840:
/* 80099840 00095680 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80099844 00095684 2C 00 00 00 */ cmpwi r0, 0x0
/* 80099848 00095688 41 82 00 24 */ beq lbl_8009986C
/* 8009984C 0009568C 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099850 00095690 38 A0 00 00 */ li r5, 0x0
/* 80099854 00095694 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099858 00095698 38 C0 00 70 */ li r6, 0x70
/* 8009985C 0009569C 4B FF D0 E9 */ bl PORT_DlcEstablishCnf
/* 80099860 000956A0 7F C3 F3 78 */ mr r3, r30
/* 80099864 000956A4 48 00 2C A9 */ bl rfc_port_closed
/* 80099868 000956A8 48 00 00 CC */ b lbl_80099934
.global lbl_8009986C
lbl_8009986C:
/* 8009986C 000956AC 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099870 000956B0 88 9E 00 0D */ lbz r4, 0xd(r30)
/* 80099874 000956B4 48 00 10 F5 */ bl rfc_send_sabme
/* 80099878 000956B8 7F C3 F3 78 */ mr r3, r30
/* 8009987C 000956BC 38 80 00 3C */ li r4, 0x3c
/* 80099880 000956C0 48 00 2A 61 */ bl rfc_port_timer_start
/* 80099884 000956C4 38 00 00 01 */ li r0, 0x1
/* 80099888 000956C8 98 1E 00 68 */ stb r0, 0x68(r30)
/* 8009988C 000956CC 48 00 00 A8 */ b lbl_80099934
.global lbl_80099890
lbl_80099890:
/* 80099890 000956D0 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099894 000956D4 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099898 000956D8 88 03 04 14 */ lbz r0, 0x414(r3)
/* 8009989C 000956DC 28 00 00 01 */ cmplwi r0, 0x1
/* 800998A0 000956E0 41 80 00 94 */ blt lbl_80099934
/* 800998A4 000956E4 88 BE 00 68 */ lbz r5, 0x68(r30)
/* 800998A8 000956E8 7C 86 23 78 */ mr r6, r4
/* 800998AC 000956EC 38 87 00 14 */ addi r4, r7, 0x14
/* 800998B0 000956F0 3C 60 00 09 */ lis r3, 0x9
/* 800998B4 000956F4 4B FD E0 AD */ bl LogMsg_0
/* 800998B8 000956F8 48 00 00 7C */ b lbl_80099934
.global lbl_800998BC
lbl_800998BC:
/* 800998BC 000956FC 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 800998C0 00095700 38 63 00 62 */ addi r3, r3, 0x62
/* 800998C4 00095704 4B FE CC 8D */ bl btm_sec_abort_access_req
/* 800998C8 00095708 7F C3 F3 78 */ mr r3, r30
/* 800998CC 0009570C 48 00 2C 41 */ bl rfc_port_closed
/* 800998D0 00095710 48 00 00 64 */ b lbl_80099934
.global lbl_800998D4
lbl_800998D4:
/* 800998D4 00095714 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 800998D8 00095718 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 800998DC 0009571C 88 03 04 14 */ lbz r0, 0x414(r3)
/* 800998E0 00095720 28 00 00 01 */ cmplwi r0, 0x1
/* 800998E4 00095724 41 80 00 10 */ blt lbl_800998F4
/* 800998E8 00095728 38 87 01 98 */ addi r4, r7, 0x198
/* 800998EC 0009572C 3C 60 00 09 */ lis r3, 0x9
/* 800998F0 00095730 4B FD E0 71 */ bl LogMsg_0
.global lbl_800998F4
lbl_800998F4:
/* 800998F4 00095734 7F E3 FB 78 */ mr r3, r31
/* 800998F8 00095738 4B FD B6 19 */ bl GKI_freebuf
/* 800998FC 0009573C 48 00 00 38 */ b lbl_80099934
.global lbl_80099900
lbl_80099900:
/* 80099900 00095740 7F E3 FB 78 */ mr r3, r31
/* 80099904 00095744 4B FD B6 0D */ bl GKI_freebuf
/* 80099908 00095748 48 00 00 2C */ b lbl_80099934
.global lbl_8009990C
lbl_8009990C:
/* 8009990C 0009574C 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099910 00095750 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099914 00095754 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099918 00095758 28 00 00 02 */ cmplwi r0, 0x2
/* 8009991C 0009575C 41 80 00 18 */ blt lbl_80099934
/* 80099920 00095760 3C 60 00 09 */ lis r3, 0x9
/* 80099924 00095764 7C 85 23 78 */ mr r5, r4
/* 80099928 00095768 38 63 00 01 */ addi r3, r3, 0x1
/* 8009992C 0009576C 38 87 01 C8 */ addi r4, r7, 0x1c8
/* 80099930 00095770 4B FD E0 31 */ bl LogMsg_0
.global lbl_80099934
lbl_80099934:
/* 80099934 00095774 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80099938 00095778 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8009993C 0009577C 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80099940 00095780 7C 08 03 A6 */ mtlr r0
/* 80099944 00095784 38 21 00 10 */ addi r1, r1, 0x10
/* 80099948 00095788 4E 80 00 20 */ blr
.global rfc_port_sm_opened
rfc_port_sm_opened:
/* 8009994C 0009578C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80099950 00095790 7C 08 02 A6 */ mflr r0
/* 80099954 00095794 28 04 00 0E */ cmplwi r4, 0xe
/* 80099958 00095798 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009995C 0009579C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80099960 000957A0 7C 7F 1B 78 */ mr r31, r3
/* 80099964 000957A4 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80099968 000957A8 7C 9E 23 78 */ mr r30, r4
/* 8009996C 000957AC 41 81 01 88 */ bgt lbl_80099AF4
/* 80099970 000957B0 3C C0 80 44 */ lis r6, "@1490"@ha
/* 80099974 000957B4 54 80 10 3A */ slwi r0, r4, 2
/* 80099978 000957B8 38 C6 F7 1C */ addi r6, r6, "@1490"@l
/* 8009997C 000957BC 7C C6 00 2E */ lwzx r6, r6, r0
/* 80099980 000957C0 7C C9 03 A6 */ mtctr r6
/* 80099984 000957C4 4E 80 04 20 */ bctr
.global lbl_80099988
lbl_80099988:
/* 80099988 000957C8 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 8009998C 000957CC 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099990 000957D0 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099994 000957D4 28 00 00 01 */ cmplwi r0, 0x1
/* 80099998 000957D8 41 80 01 88 */ blt lbl_80099B20
/* 8009999C 000957DC 3C 80 80 44 */ lis r4, "@1388"@ha
/* 800999A0 000957E0 88 BF 00 68 */ lbz r5, 0x68(r31)
/* 800999A4 000957E4 7F C6 F3 78 */ mr r6, r30
/* 800999A8 000957E8 3C 60 00 09 */ lis r3, 0x9
/* 800999AC 000957EC 38 84 F4 D4 */ addi r4, r4, "@1388"@l
/* 800999B0 000957F0 4B FD DF B1 */ bl LogMsg_0
/* 800999B4 000957F4 48 00 01 6C */ b lbl_80099B20
.global lbl_800999B8
lbl_800999B8:
/* 800999B8 000957F8 38 80 00 03 */ li r4, 0x3
/* 800999BC 000957FC 48 00 29 25 */ bl rfc_port_timer_start
/* 800999C0 00095800 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 800999C4 00095804 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 800999C8 00095808 48 00 11 C5 */ bl rfc_send_disc
/* 800999CC 0009580C 38 60 00 00 */ li r3, 0x0
/* 800999D0 00095810 38 00 00 05 */ li r0, 0x5
/* 800999D4 00095814 98 7F 00 69 */ stb r3, 0x69(r31)
/* 800999D8 00095818 98 1F 00 68 */ stb r0, 0x68(r31)
/* 800999DC 0009581C 48 00 01 44 */ b lbl_80099B20
.global lbl_800999E0
lbl_800999E0:
/* 800999E0 00095820 48 00 2B 2D */ bl rfc_port_closed
/* 800999E4 00095824 48 00 01 3C */ b lbl_80099B20
.global lbl_800999E8
lbl_800999E8:
/* 800999E8 00095828 80 83 00 6C */ lwz r4, 0x6c(r3)
/* 800999EC 0009582C 88 04 00 72 */ lbz r0, 0x72(r4)
/* 800999F0 00095830 28 00 00 02 */ cmplwi r0, 0x2
/* 800999F4 00095834 40 82 00 48 */ bne lbl_80099A3C
/* 800999F8 00095838 A0 85 00 02 */ lhz r4, 0x2(r5)
/* 800999FC 0009583C A0 03 00 14 */ lhz r0, 0x14(r3)
/* 80099A00 00095840 7C 04 00 40 */ cmplw r4, r0
/* 80099A04 00095844 40 80 00 38 */ bge lbl_80099A3C
/* 80099A08 00095848 88 03 00 3D */ lbz r0, 0x3d(r3)
/* 80099A0C 0009584C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80099A10 00095850 40 82 00 2C */ bne lbl_80099A3C
/* 80099A14 00095854 A0 03 00 9A */ lhz r0, 0x9a(r3)
/* 80099A18 00095858 A0 83 00 9C */ lhz r4, 0x9c(r3)
/* 80099A1C 0009585C 7C 04 00 40 */ cmplw r4, r0
/* 80099A20 00095860 40 81 00 1C */ ble lbl_80099A3C
/* 80099A24 00095864 7C 00 20 50 */ subf r0, r0, r4
/* 80099A28 00095868 54 00 06 3E */ clrlwi r0, r0, 24
/* 80099A2C 0009586C B0 05 00 06 */ sth r0, 0x6(r5)
/* 80099A30 00095870 A0 03 00 9C */ lhz r0, 0x9c(r3)
/* 80099A34 00095874 B0 03 00 9A */ sth r0, 0x9a(r3)
/* 80099A38 00095878 48 00 00 0C */ b lbl_80099A44
.global lbl_80099A3C
lbl_80099A3C:
/* 80099A3C 0009587C 38 00 00 00 */ li r0, 0x0
/* 80099A40 00095880 B0 05 00 06 */ sth r0, 0x6(r5)
.global lbl_80099A44
lbl_80099A44:
/* 80099A44 00095884 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099A48 00095888 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099A4C 0009588C 48 00 11 F1 */ bl rfc_send_buf_uih
/* 80099A50 00095890 7F E3 FB 78 */ mr r3, r31
/* 80099A54 00095894 48 00 2C 9D */ bl rfc_dec_credit
/* 80099A58 00095898 48 00 00 C8 */ b lbl_80099B20
.global lbl_80099A5C
lbl_80099A5C:
/* 80099A5C 0009589C 48 00 00 C4 */ b lbl_80099B20
.global lbl_80099A60
lbl_80099A60:
/* 80099A60 000958A0 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099A64 000958A4 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099A68 000958A8 48 00 0F B1 */ bl rfc_send_ua
/* 80099A6C 000958AC 48 00 00 B4 */ b lbl_80099B20
.global lbl_80099A70
lbl_80099A70:
/* 80099A70 000958B0 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099A74 000958B4 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099A78 000958B8 4B FF D5 7D */ bl PORT_DlcReleaseInd
/* 80099A7C 000958BC 7F E3 FB 78 */ mr r3, r31
/* 80099A80 000958C0 48 00 2A 8D */ bl rfc_port_closed
/* 80099A84 000958C4 48 00 00 9C */ b lbl_80099B20
.global lbl_80099A88
lbl_80099A88:
/* 80099A88 000958C8 38 00 00 00 */ li r0, 0x0
/* 80099A8C 000958CC 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099A90 000958D0 98 03 00 68 */ stb r0, 0x68(r3)
/* 80099A94 000958D4 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099A98 000958D8 48 00 0F 81 */ bl rfc_send_ua
/* 80099A9C 000958DC 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 80099AA0 000958E0 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099AA4 000958E4 4B FF D5 51 */ bl PORT_DlcReleaseInd
/* 80099AA8 000958E8 48 00 00 78 */ b lbl_80099B20
.global lbl_80099AAC
lbl_80099AAC:
/* 80099AAC 000958EC 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099AB0 000958F0 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099AB4 000958F4 4B FF D6 E1 */ bl PORT_DataInd
/* 80099AB8 000958F8 48 00 00 68 */ b lbl_80099B20
.global lbl_80099ABC
lbl_80099ABC:
/* 80099ABC 000958FC 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099AC0 00095900 4B FF D6 3D */ bl Port_TimeOutCloseMux
/* 80099AC4 00095904 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099AC8 00095908 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099ACC 0009590C 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099AD0 00095910 28 00 00 01 */ cmplwi r0, 0x1
/* 80099AD4 00095914 41 80 00 4C */ blt lbl_80099B20
/* 80099AD8 00095918 3C 80 80 44 */ lis r4, "@1388"@ha
/* 80099ADC 0009591C 88 BF 00 68 */ lbz r5, 0x68(r31)
/* 80099AE0 00095920 7F C6 F3 78 */ mr r6, r30
/* 80099AE4 00095924 3C 60 00 09 */ lis r3, 0x9
/* 80099AE8 00095928 38 84 F4 D4 */ addi r4, r4, "@1388"@l
/* 80099AEC 0009592C 4B FD DE 75 */ bl LogMsg_0
/* 80099AF0 00095930 48 00 00 30 */ b lbl_80099B20
.global lbl_80099AF4
lbl_80099AF4:
/* 80099AF4 00095934 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099AF8 00095938 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099AFC 0009593C 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099B00 00095940 28 00 00 02 */ cmplwi r0, 0x2
/* 80099B04 00095944 41 80 00 1C */ blt lbl_80099B20
/* 80099B08 00095948 3C 60 00 09 */ lis r3, 0x9
/* 80099B0C 0009594C 3C 80 80 44 */ lis r4, "@1487"@ha
/* 80099B10 00095950 7F C5 F3 78 */ mr r5, r30
/* 80099B14 00095954 38 63 00 01 */ addi r3, r3, 0x1
/* 80099B18 00095958 38 84 F6 F8 */ addi r4, r4, "@1487"@l
/* 80099B1C 0009595C 4B FD DE 45 */ bl LogMsg_0
.global lbl_80099B20
lbl_80099B20:
/* 80099B20 00095960 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80099B24 00095964 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80099B28 00095968 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80099B2C 0009596C 7C 08 03 A6 */ mtlr r0
/* 80099B30 00095970 38 21 00 10 */ addi r1, r1, 0x10
/* 80099B34 00095974 4E 80 00 20 */ blr
.global rfc_port_sm_disc_wait_ua
rfc_port_sm_disc_wait_ua:
/* 80099B38 00095978 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80099B3C 0009597C 7C 08 02 A6 */ mflr r0
/* 80099B40 00095980 28 04 00 0E */ cmplwi r4, 0xe
/* 80099B44 00095984 7C 86 23 78 */ mr r6, r4
/* 80099B48 00095988 90 01 00 14 */ stw r0, 0x14(r1)
/* 80099B4C 0009598C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80099B50 00095990 7C 7F 1B 78 */ mr r31, r3
/* 80099B54 00095994 41 81 00 C0 */ bgt lbl_80099C14
/* 80099B58 00095998 3C E0 80 44 */ lis r7, "@1508"@ha
/* 80099B5C 0009599C 54 80 10 3A */ slwi r0, r4, 2
/* 80099B60 000959A0 38 E7 F7 84 */ addi r7, r7, "@1508"@l
/* 80099B64 000959A4 7C E7 00 2E */ lwzx r7, r7, r0
/* 80099B68 000959A8 7C E9 03 A6 */ mtctr r7
/* 80099B6C 000959AC 4E 80 04 20 */ bctr
.global lbl_80099B70
lbl_80099B70:
/* 80099B70 000959B0 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099B74 000959B4 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099B78 000959B8 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099B7C 000959BC 28 00 00 01 */ cmplwi r0, 0x1
/* 80099B80 000959C0 41 80 00 C0 */ blt lbl_80099C40
/* 80099B84 000959C4 3C 80 80 44 */ lis r4, "@1388"@ha
/* 80099B88 000959C8 88 BF 00 68 */ lbz r5, 0x68(r31)
/* 80099B8C 000959CC 3C 60 00 09 */ lis r3, 0x9
/* 80099B90 000959D0 38 84 F4 D4 */ addi r4, r4, "@1388"@l
/* 80099B94 000959D4 4B FD DD CD */ bl LogMsg_0
/* 80099B98 000959D8 48 00 00 A8 */ b lbl_80099C40
.global lbl_80099B9C
lbl_80099B9C:
/* 80099B9C 000959DC 48 00 29 71 */ bl rfc_port_closed
/* 80099BA0 000959E0 48 00 00 A0 */ b lbl_80099C40
.global lbl_80099BA4
lbl_80099BA4:
/* 80099BA4 000959E4 7C A3 2B 78 */ mr r3, r5
/* 80099BA8 000959E8 4B FD B3 69 */ bl GKI_freebuf
/* 80099BAC 000959EC 48 00 00 94 */ b lbl_80099C40
.global lbl_80099BB0
lbl_80099BB0:
/* 80099BB0 000959F0 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099BB4 000959F4 38 00 00 01 */ li r0, 0x1
/* 80099BB8 000959F8 98 03 00 74 */ stb r0, 0x74(r3)
.global lbl_80099BBC
lbl_80099BBC:
/* 80099BBC 000959FC 7F E3 FB 78 */ mr r3, r31
/* 80099BC0 00095A00 48 00 29 4D */ bl rfc_port_closed
/* 80099BC4 00095A04 48 00 00 7C */ b lbl_80099C40
.global lbl_80099BC8
lbl_80099BC8:
/* 80099BC8 00095A08 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099BCC 00095A0C 38 A0 00 01 */ li r5, 0x1
/* 80099BD0 00095A10 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099BD4 00095A14 48 00 0E F5 */ bl rfc_send_dm
/* 80099BD8 00095A18 48 00 00 68 */ b lbl_80099C40
.global lbl_80099BDC
lbl_80099BDC:
/* 80099BDC 00095A1C 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 80099BE0 00095A20 38 A0 00 01 */ li r5, 0x1
/* 80099BE4 00095A24 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099BE8 00095A28 48 00 0E E1 */ bl rfc_send_dm
/* 80099BEC 00095A2C 48 00 00 54 */ b lbl_80099C40
.global lbl_80099BF0
lbl_80099BF0:
/* 80099BF0 00095A30 7C A3 2B 78 */ mr r3, r5
/* 80099BF4 00095A34 4B FD B3 1D */ bl GKI_freebuf
/* 80099BF8 00095A38 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 80099BFC 00095A3C 38 A0 00 00 */ li r5, 0x0
/* 80099C00 00095A40 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099C04 00095A44 48 00 0E C5 */ bl rfc_send_dm
/* 80099C08 00095A48 48 00 00 38 */ b lbl_80099C40
.global lbl_80099C0C
lbl_80099C0C:
/* 80099C0C 00095A4C 48 00 29 01 */ bl rfc_port_closed
/* 80099C10 00095A50 48 00 00 30 */ b lbl_80099C40
.global lbl_80099C14
lbl_80099C14:
/* 80099C14 00095A54 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099C18 00095A58 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099C1C 00095A5C 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099C20 00095A60 28 00 00 02 */ cmplwi r0, 0x2
/* 80099C24 00095A64 41 80 00 1C */ blt lbl_80099C40
/* 80099C28 00095A68 3C 60 00 09 */ lis r3, 0x9
/* 80099C2C 00095A6C 3C 80 80 44 */ lis r4, "@1505"@ha
/* 80099C30 00095A70 7C C5 33 78 */ mr r5, r6
/* 80099C34 00095A74 38 63 00 01 */ addi r3, r3, 0x1
/* 80099C38 00095A78 38 84 F7 58 */ addi r4, r4, "@1505"@l
/* 80099C3C 00095A7C 4B FD DD 25 */ bl LogMsg_0
.global lbl_80099C40
lbl_80099C40:
/* 80099C40 00095A80 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80099C44 00095A84 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80099C48 00095A88 7C 08 03 A6 */ mtlr r0
/* 80099C4C 00095A8C 38 21 00 10 */ addi r1, r1, 0x10
/* 80099C50 00095A90 4E 80 00 20 */ blr
.global rfc_process_pn
rfc_process_pn:
/* 80099C54 00095A94 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80099C58 00095A98 7C 08 02 A6 */ mflr r0
/* 80099C5C 00095A9C 2C 04 00 00 */ cmpwi r4, 0x0
/* 80099C60 00095AA0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80099C64 00095AA4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80099C68 00095AA8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80099C6C 00095AAC 7C BE 2B 78 */ mr r30, r5
/* 80099C70 00095AB0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80099C74 00095AB4 7C 7D 1B 78 */ mr r29, r3
/* 80099C78 00095AB8 8B E5 00 00 */ lbz r31, 0x0(r5)
/* 80099C7C 00095ABC 41 82 00 60 */ beq lbl_80099CDC
/* 80099C80 00095AC0 88 03 00 6C */ lbz r0, 0x6c(r3)
/* 80099C84 00095AC4 28 00 00 06 */ cmplwi r0, 0x6
/* 80099C88 00095AC8 41 82 00 1C */ beq lbl_80099CA4
/* 80099C8C 00095ACC A0 A5 00 0E */ lhz r5, 0xe(r5)
/* 80099C90 00095AD0 7F E4 FB 78 */ mr r4, r31
/* 80099C94 00095AD4 88 DE 00 0A */ lbz r6, 0xa(r30)
/* 80099C98 00095AD8 88 FE 00 11 */ lbz r7, 0x11(r30)
/* 80099C9C 00095ADC 4B FF C8 B5 */ bl PORT_ParNegInd
/* 80099CA0 00095AE0 48 00 00 80 */ b lbl_80099D20
.global lbl_80099CA4
lbl_80099CA4:
/* 80099CA4 00095AE4 7F E4 FB 78 */ mr r4, r31
/* 80099CA8 00095AE8 38 A0 00 00 */ li r5, 0x0
/* 80099CAC 00095AEC 48 00 0E 1D */ bl rfc_send_dm
/* 80099CB0 00095AF0 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 80099CB4 00095AF4 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 80099CB8 00095AF8 88 03 04 14 */ lbz r0, 0x414(r3)
/* 80099CBC 00095AFC 28 00 00 02 */ cmplwi r0, 0x2
/* 80099CC0 00095B00 41 80 00 60 */ blt lbl_80099D20
/* 80099CC4 00095B04 3C 60 00 09 */ lis r3, 0x9
/* 80099CC8 00095B08 3C 80 80 44 */ lis r4, "@1516_8043F7C0"@ha
/* 80099CCC 00095B0C 38 63 00 01 */ addi r3, r3, 0x1
/* 80099CD0 00095B10 38 84 F7 C0 */ addi r4, r4, "@1516_8043F7C0"@l
/* 80099CD4 00095B14 4B FD DC 8D */ bl LogMsg_0
/* 80099CD8 00095B18 48 00 00 48 */ b lbl_80099D20
.global lbl_80099CDC
lbl_80099CDC:
/* 80099CDC 00095B1C 7F E4 FB 78 */ mr r4, r31
/* 80099CE0 00095B20 4B FF DC C9 */ bl port_find_mcb_dlci_port
/* 80099CE4 00095B24 2C 03 00 00 */ cmpwi r3, 0x0
/* 80099CE8 00095B28 41 82 00 38 */ beq lbl_80099D20
/* 80099CEC 00095B2C 88 83 00 69 */ lbz r4, 0x69(r3)
/* 80099CF0 00095B30 54 80 07 FF */ clrlwi. r0, r4, 31
/* 80099CF4 00095B34 40 82 00 08 */ bne lbl_80099CFC
/* 80099CF8 00095B38 48 00 00 28 */ b lbl_80099D20
.global lbl_80099CFC
lbl_80099CFC:
/* 80099CFC 00095B3C 54 80 06 3C */ rlwinm r0, r4, 0, 24, 30
/* 80099D00 00095B40 98 03 00 69 */ stb r0, 0x69(r3)
/* 80099D04 00095B44 48 00 26 5D */ bl rfc_port_timer_stop
/* 80099D08 00095B48 A0 BE 00 0E */ lhz r5, 0xe(r30)
/* 80099D0C 00095B4C 7F A3 EB 78 */ mr r3, r29
/* 80099D10 00095B50 88 DE 00 0A */ lbz r6, 0xa(r30)
/* 80099D14 00095B54 7F E4 FB 78 */ mr r4, r31
/* 80099D18 00095B58 88 FE 00 11 */ lbz r7, 0x11(r30)
/* 80099D1C 00095B5C 4B FF C9 E5 */ bl PORT_ParNegCnf
.global lbl_80099D20
lbl_80099D20:
/* 80099D20 00095B60 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80099D24 00095B64 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80099D28 00095B68 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80099D2C 00095B6C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80099D30 00095B70 7C 08 03 A6 */ mtlr r0
/* 80099D34 00095B74 38 21 00 20 */ addi r1, r1, 0x20
/* 80099D38 00095B78 4E 80 00 20 */ blr
.global rfc_process_rpn
rfc_process_rpn:
/* 80099D3C 00095B7C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80099D40 00095B80 7C 08 02 A6 */ mflr r0
/* 80099D44 00095B84 90 01 00 34 */ stw r0, 0x34(r1)
/* 80099D48 00095B88 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80099D4C 00095B8C 7C BF 2B 78 */ mr r31, r5
/* 80099D50 00095B90 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80099D54 00095B94 7C DE 33 78 */ mr r30, r6
/* 80099D58 00095B98 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80099D5C 00095B9C 7C 7D 1B 78 */ mr r29, r3
/* 80099D60 00095BA0 93 81 00 20 */ stw r28, 0x20(r1)
/* 80099D64 00095BA4 7C 9C 23 78 */ mr r28, r4
/* 80099D68 00095BA8 88 86 00 00 */ lbz r4, 0x0(r6)
/* 80099D6C 00095BAC 4B FF DC 3D */ bl port_find_mcb_dlci_port
/* 80099D70 00095BB0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80099D74 00095BB4 40 82 00 40 */ bne lbl_80099DB4
/* 80099D78 00095BB8 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80099D7C 00095BBC 41 82 02 AC */ beq lbl_8009A028
/* 80099D80 00095BC0 38 61 00 08 */ addi r3, r1, 0x8
/* 80099D84 00095BC4 38 80 00 00 */ li r4, 0x0
/* 80099D88 00095BC8 38 A0 00 09 */ li r5, 0x9
/* 80099D8C 00095BCC 4B F6 A5 C5 */ bl memset
/* 80099D90 00095BD0 7F C4 F3 78 */ mr r4, r30
/* 80099D94 00095BD4 38 61 00 08 */ addi r3, r1, 0x8
/* 80099D98 00095BD8 48 00 06 01 */ bl rfc_set_port_state
/* 80099D9C 00095BDC 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 80099DA0 00095BE0 7F A3 EB 78 */ mr r3, r29
/* 80099DA4 00095BE4 A0 DE 00 12 */ lhz r6, 0x12(r30)
/* 80099DA8 00095BE8 38 A1 00 08 */ addi r5, r1, 0x8
/* 80099DAC 00095BEC 4B FF CC DD */ bl PORT_PortNegInd
/* 80099DB0 00095BF0 48 00 02 78 */ b lbl_8009A028
.global lbl_80099DB4
lbl_80099DB4:
/* 80099DB4 00095BF4 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80099DB8 00095BF8 41 82 00 70 */ beq lbl_80099E28
/* 80099DBC 00095BFC 2C 1F 00 00 */ cmpwi r31, 0x0
/* 80099DC0 00095C00 41 82 00 68 */ beq lbl_80099E28
/* 80099DC4 00095C04 88 83 00 51 */ lbz r4, 0x51(r3)
/* 80099DC8 00095C08 38 C3 00 51 */ addi r6, r3, 0x51
/* 80099DCC 00095C0C 88 03 00 52 */ lbz r0, 0x52(r3)
/* 80099DD0 00095C10 38 A0 00 00 */ li r5, 0x0
/* 80099DD4 00095C14 38 E0 00 00 */ li r7, 0x0
/* 80099DD8 00095C18 98 81 00 08 */ stb r4, 0x8(r1)
/* 80099DDC 00095C1C 98 01 00 09 */ stb r0, 0x9(r1)
/* 80099DE0 00095C20 88 83 00 53 */ lbz r4, 0x53(r3)
/* 80099DE4 00095C24 88 03 00 54 */ lbz r0, 0x54(r3)
/* 80099DE8 00095C28 98 81 00 0A */ stb r4, 0xa(r1)
/* 80099DEC 00095C2C 98 01 00 0B */ stb r0, 0xb(r1)
/* 80099DF0 00095C30 88 83 00 55 */ lbz r4, 0x55(r3)
/* 80099DF4 00095C34 88 03 00 56 */ lbz r0, 0x56(r3)
/* 80099DF8 00095C38 98 81 00 0C */ stb r4, 0xc(r1)
/* 80099DFC 00095C3C 98 01 00 0D */ stb r0, 0xd(r1)
/* 80099E00 00095C40 88 83 00 57 */ lbz r4, 0x57(r3)
/* 80099E04 00095C44 88 03 00 58 */ lbz r0, 0x58(r3)
/* 80099E08 00095C48 98 81 00 0E */ stb r4, 0xe(r1)
/* 80099E0C 00095C4C 98 01 00 0F */ stb r0, 0xf(r1)
/* 80099E10 00095C50 88 03 00 59 */ lbz r0, 0x59(r3)
/* 80099E14 00095C54 7F A3 EB 78 */ mr r3, r29
/* 80099E18 00095C58 98 01 00 10 */ stb r0, 0x10(r1)
/* 80099E1C 00095C5C 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 80099E20 00095C60 48 00 13 75 */ bl rfc_send_rpn
/* 80099E24 00095C64 48 00 02 04 */ b lbl_8009A028
.global lbl_80099E28
lbl_80099E28:
/* 80099E28 00095C68 88 A3 00 51 */ lbz r5, 0x51(r3)
/* 80099E2C 00095C6C 7F C4 F3 78 */ mr r4, r30
/* 80099E30 00095C70 88 03 00 52 */ lbz r0, 0x52(r3)
/* 80099E34 00095C74 98 A1 00 08 */ stb r5, 0x8(r1)
/* 80099E38 00095C78 98 01 00 09 */ stb r0, 0x9(r1)
/* 80099E3C 00095C7C 88 A3 00 53 */ lbz r5, 0x53(r3)
/* 80099E40 00095C80 88 03 00 54 */ lbz r0, 0x54(r3)
/* 80099E44 00095C84 98 A1 00 0A */ stb r5, 0xa(r1)
/* 80099E48 00095C88 98 01 00 0B */ stb r0, 0xb(r1)
/* 80099E4C 00095C8C 88 A3 00 55 */ lbz r5, 0x55(r3)
/* 80099E50 00095C90 88 03 00 56 */ lbz r0, 0x56(r3)
/* 80099E54 00095C94 98 A1 00 0C */ stb r5, 0xc(r1)
/* 80099E58 00095C98 98 01 00 0D */ stb r0, 0xd(r1)
/* 80099E5C 00095C9C 88 A3 00 57 */ lbz r5, 0x57(r3)
/* 80099E60 00095CA0 88 03 00 58 */ lbz r0, 0x58(r3)
/* 80099E64 00095CA4 98 A1 00 0E */ stb r5, 0xe(r1)
/* 80099E68 00095CA8 98 01 00 0F */ stb r0, 0xf(r1)
/* 80099E6C 00095CAC 88 03 00 59 */ lbz r0, 0x59(r3)
/* 80099E70 00095CB0 38 61 00 08 */ addi r3, r1, 0x8
/* 80099E74 00095CB4 98 01 00 10 */ stb r0, 0x10(r1)
/* 80099E78 00095CB8 48 00 05 21 */ bl rfc_set_port_state
/* 80099E7C 00095CBC 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80099E80 00095CC0 41 82 00 1C */ beq lbl_80099E9C
/* 80099E84 00095CC4 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 80099E88 00095CC8 7F A3 EB 78 */ mr r3, r29
/* 80099E8C 00095CCC A0 DE 00 12 */ lhz r6, 0x12(r30)
/* 80099E90 00095CD0 38 A1 00 08 */ addi r5, r1, 0x8
/* 80099E94 00095CD4 4B FF CB F5 */ bl PORT_PortNegInd
/* 80099E98 00095CD8 48 00 01 90 */ b lbl_8009A028
.global lbl_80099E9C
lbl_80099E9C:
/* 80099E9C 00095CDC 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 80099EA0 00095CE0 7F A3 EB 78 */ mr r3, r29
/* 80099EA4 00095CE4 4B FF DB 05 */ bl port_find_mcb_dlci_port
/* 80099EA8 00095CE8 2C 03 00 00 */ cmpwi r3, 0x0
/* 80099EAC 00095CEC 7C 7F 1B 78 */ mr r31, r3
/* 80099EB0 00095CF0 41 82 01 78 */ beq lbl_8009A028
/* 80099EB4 00095CF4 88 03 00 69 */ lbz r0, 0x69(r3)
/* 80099EB8 00095CF8 54 00 07 7D */ rlwinm. r0, r0, 0, 29, 30
/* 80099EBC 00095CFC 40 82 00 08 */ bne lbl_80099EC4
/* 80099EC0 00095D00 48 00 01 68 */ b lbl_8009A028
.global lbl_80099EC4
lbl_80099EC4:
/* 80099EC4 00095D04 48 00 24 9D */ bl rfc_port_timer_stop
/* 80099EC8 00095D08 88 7F 00 69 */ lbz r3, 0x69(r31)
/* 80099ECC 00095D0C 54 60 07 BD */ rlwinm. r0, r3, 0, 30, 30
/* 80099ED0 00095D10 41 82 00 B0 */ beq lbl_80099F80
/* 80099ED4 00095D14 54 60 07 FA */ rlwinm r0, r3, 0, 31, 29
/* 80099ED8 00095D18 98 1F 00 69 */ stb r0, 0x69(r31)
/* 80099EDC 00095D1C 88 61 00 08 */ lbz r3, 0x8(r1)
/* 80099EE0 00095D20 88 01 00 09 */ lbz r0, 0x9(r1)
/* 80099EE4 00095D24 98 7F 00 51 */ stb r3, 0x51(r31)
/* 80099EE8 00095D28 98 1F 00 52 */ stb r0, 0x52(r31)
/* 80099EEC 00095D2C 88 61 00 0A */ lbz r3, 0xa(r1)
/* 80099EF0 00095D30 88 01 00 0B */ lbz r0, 0xb(r1)
/* 80099EF4 00095D34 98 7F 00 53 */ stb r3, 0x53(r31)
/* 80099EF8 00095D38 98 1F 00 54 */ stb r0, 0x54(r31)
/* 80099EFC 00095D3C 88 61 00 0C */ lbz r3, 0xc(r1)
/* 80099F00 00095D40 88 01 00 0D */ lbz r0, 0xd(r1)
/* 80099F04 00095D44 98 7F 00 55 */ stb r3, 0x55(r31)
/* 80099F08 00095D48 98 1F 00 56 */ stb r0, 0x56(r31)
/* 80099F0C 00095D4C 88 61 00 0E */ lbz r3, 0xe(r1)
/* 80099F10 00095D50 88 01 00 0F */ lbz r0, 0xf(r1)
/* 80099F14 00095D54 98 7F 00 57 */ stb r3, 0x57(r31)
/* 80099F18 00095D58 98 1F 00 58 */ stb r0, 0x58(r31)
/* 80099F1C 00095D5C 88 01 00 10 */ lbz r0, 0x10(r1)
/* 80099F20 00095D60 98 1F 00 59 */ stb r0, 0x59(r31)
/* 80099F24 00095D64 88 01 00 0D */ lbz r0, 0xd(r1)
/* 80099F28 00095D68 28 00 00 0C */ cmplwi r0, 0xc
/* 80099F2C 00095D6C 41 82 00 0C */ beq lbl_80099F38
/* 80099F30 00095D70 28 00 00 30 */ cmplwi r0, 0x30
/* 80099F34 00095D74 40 82 00 10 */ bne lbl_80099F44
.global lbl_80099F38
lbl_80099F38:
/* 80099F38 00095D78 38 00 3F 7F */ li r0, 0x3f7f
/* 80099F3C 00095D7C B0 1E 00 12 */ sth r0, 0x12(r30)
/* 80099F40 00095D80 48 00 00 48 */ b lbl_80099F88
.global lbl_80099F44
lbl_80099F44:
/* 80099F44 00095D84 38 00 00 0C */ li r0, 0xc
/* 80099F48 00095D88 7F A3 EB 78 */ mr r3, r29
/* 80099F4C 00095D8C 98 1F 00 56 */ stb r0, 0x56(r31)
/* 80099F50 00095D90 38 DF 00 51 */ addi r6, r31, 0x51
/* 80099F54 00095D94 38 A0 00 01 */ li r5, 0x1
/* 80099F58 00095D98 38 E0 0C 00 */ li r7, 0xc00
/* 80099F5C 00095D9C 88 1F 00 69 */ lbz r0, 0x69(r31)
/* 80099F60 00095DA0 60 00 00 04 */ ori r0, r0, 0x4
/* 80099F64 00095DA4 98 1F 00 69 */ stb r0, 0x69(r31)
/* 80099F68 00095DA8 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 80099F6C 00095DAC 48 00 12 29 */ bl rfc_send_rpn
/* 80099F70 00095DB0 7F E3 FB 78 */ mr r3, r31
/* 80099F74 00095DB4 38 80 00 3C */ li r4, 0x3c
/* 80099F78 00095DB8 48 00 23 69 */ bl rfc_port_timer_start
/* 80099F7C 00095DBC 48 00 00 AC */ b lbl_8009A028
.global lbl_80099F80
lbl_80099F80:
/* 80099F80 00095DC0 54 60 07 B8 */ rlwinm r0, r3, 0, 30, 28
/* 80099F84 00095DC4 98 1F 00 69 */ stb r0, 0x69(r31)
.global lbl_80099F88
lbl_80099F88:
/* 80099F88 00095DC8 A0 7E 00 12 */ lhz r3, 0x12(r30)
/* 80099F8C 00095DCC 54 60 05 2A */ rlwinm r0, r3, 0, 20, 21
/* 80099F90 00095DD0 2C 00 0C 00 */ cmpwi r0, 0xc00
/* 80099F94 00095DD4 41 82 00 10 */ beq lbl_80099FA4
/* 80099F98 00095DD8 54 60 04 A6 */ rlwinm r0, r3, 0, 18, 19
/* 80099F9C 00095DDC 2C 00 30 00 */ cmpwi r0, 0x3000
/* 80099FA0 00095DE0 40 82 00 1C */ bne lbl_80099FBC
.global lbl_80099FA4
lbl_80099FA4:
/* 80099FA4 00095DE4 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 80099FA8 00095DE8 7F A3 EB 78 */ mr r3, r29
/* 80099FAC 00095DEC 38 A1 00 08 */ addi r5, r1, 0x8
/* 80099FB0 00095DF0 38 C0 00 00 */ li r6, 0x0
/* 80099FB4 00095DF4 4B FF CC 25 */ bl PORT_PortNegCnf
/* 80099FB8 00095DF8 48 00 00 70 */ b lbl_8009A028
.global lbl_80099FBC
lbl_80099FBC:
/* 80099FBC 00095DFC 88 1F 00 56 */ lbz r0, 0x56(r31)
/* 80099FC0 00095E00 28 00 00 0C */ cmplwi r0, 0xc
/* 80099FC4 00095E04 40 82 00 40 */ bne lbl_8009A004
/* 80099FC8 00095E08 38 00 00 30 */ li r0, 0x30
/* 80099FCC 00095E0C 7F A3 EB 78 */ mr r3, r29
/* 80099FD0 00095E10 98 1F 00 56 */ stb r0, 0x56(r31)
/* 80099FD4 00095E14 38 DF 00 51 */ addi r6, r31, 0x51
/* 80099FD8 00095E18 38 A0 00 01 */ li r5, 0x1
/* 80099FDC 00095E1C 38 E0 30 00 */ li r7, 0x3000
/* 80099FE0 00095E20 88 1F 00 69 */ lbz r0, 0x69(r31)
/* 80099FE4 00095E24 60 00 00 04 */ ori r0, r0, 0x4
/* 80099FE8 00095E28 98 1F 00 69 */ stb r0, 0x69(r31)
/* 80099FEC 00095E2C 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 80099FF0 00095E30 48 00 11 A5 */ bl rfc_send_rpn
/* 80099FF4 00095E34 7F E3 FB 78 */ mr r3, r31
/* 80099FF8 00095E38 38 80 00 3C */ li r4, 0x3c
/* 80099FFC 00095E3C 48 00 22 E5 */ bl rfc_port_timer_start
/* 8009A000 00095E40 48 00 00 28 */ b lbl_8009A028
.global lbl_8009A004
lbl_8009A004:
/* 8009A004 00095E44 28 00 00 30 */ cmplwi r0, 0x30
/* 8009A008 00095E48 40 82 00 20 */ bne lbl_8009A028
/* 8009A00C 00095E4C 38 00 00 00 */ li r0, 0x0
/* 8009A010 00095E50 7F A3 EB 78 */ mr r3, r29
/* 8009A014 00095E54 98 1F 00 56 */ stb r0, 0x56(r31)
/* 8009A018 00095E58 38 A1 00 08 */ addi r5, r1, 0x8
/* 8009A01C 00095E5C 38 C0 00 00 */ li r6, 0x0
/* 8009A020 00095E60 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 8009A024 00095E64 4B FF CB B5 */ bl PORT_PortNegCnf
.global lbl_8009A028
lbl_8009A028:
/* 8009A028 00095E68 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8009A02C 00095E6C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8009A030 00095E70 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8009A034 00095E74 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8009A038 00095E78 83 81 00 20 */ lwz r28, 0x20(r1)
/* 8009A03C 00095E7C 7C 08 03 A6 */ mtlr r0
/* 8009A040 00095E80 38 21 00 30 */ addi r1, r1, 0x30
/* 8009A044 00095E84 4E 80 00 20 */ blr
.global rfc_process_msc
rfc_process_msc:
/* 8009A048 00095E88 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8009A04C 00095E8C 7C 08 02 A6 */ mflr r0
/* 8009A050 00095E90 90 01 00 34 */ stw r0, 0x34(r1)
/* 8009A054 00095E94 39 61 00 30 */ addi r11, r1, 0x30
/* 8009A058 00095E98 4B F6 D2 E5 */ bl lbl_8000733C
/* 8009A05C 00095E9C 7C 9D 23 78 */ mr r29, r4
/* 8009A060 00095EA0 8B 65 00 09 */ lbz r27, 0x9(r5)
/* 8009A064 00095EA4 88 85 00 00 */ lbz r4, 0x0(r5)
/* 8009A068 00095EA8 7C 7C 1B 78 */ mr r28, r3
/* 8009A06C 00095EAC 7C BE 2B 78 */ mr r30, r5
/* 8009A070 00095EB0 4B FF D9 39 */ bl port_find_mcb_dlci_port
/* 8009A074 00095EB4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8009A078 00095EB8 7C 7F 1B 78 */ mr r31, r3
/* 8009A07C 00095EBC 41 82 01 20 */ beq lbl_8009A19C
/* 8009A080 00095EC0 57 60 07 7B */ rlwinm. r0, r27, 0, 29, 29
/* 8009A084 00095EC4 38 00 00 00 */ li r0, 0x0
/* 8009A088 00095EC8 98 01 00 08 */ stb r0, 0x8(r1)
/* 8009A08C 00095ECC 41 82 00 0C */ beq lbl_8009A098
/* 8009A090 00095ED0 60 00 00 01 */ ori r0, r0, 0x1
/* 8009A094 00095ED4 98 01 00 08 */ stb r0, 0x8(r1)
.global lbl_8009A098
lbl_8009A098:
/* 8009A098 00095ED8 57 60 07 39 */ rlwinm. r0, r27, 0, 28, 28
/* 8009A09C 00095EDC 41 82 00 10 */ beq lbl_8009A0AC
/* 8009A0A0 00095EE0 88 01 00 08 */ lbz r0, 0x8(r1)
/* 8009A0A4 00095EE4 60 00 00 02 */ ori r0, r0, 0x2
/* 8009A0A8 00095EE8 98 01 00 08 */ stb r0, 0x8(r1)
.global lbl_8009A0AC
lbl_8009A0AC:
/* 8009A0AC 00095EEC 57 60 06 73 */ rlwinm. r0, r27, 0, 25, 25
/* 8009A0B0 00095EF0 41 82 00 10 */ beq lbl_8009A0C0
/* 8009A0B4 00095EF4 88 01 00 08 */ lbz r0, 0x8(r1)
/* 8009A0B8 00095EF8 60 00 00 04 */ ori r0, r0, 0x4
/* 8009A0BC 00095EFC 98 01 00 08 */ stb r0, 0x8(r1)
.global lbl_8009A0C0
lbl_8009A0C0:
/* 8009A0C0 00095F00 57 60 06 31 */ rlwinm. r0, r27, 0, 24, 24
/* 8009A0C4 00095F04 41 82 00 10 */ beq lbl_8009A0D4
/* 8009A0C8 00095F08 88 01 00 08 */ lbz r0, 0x8(r1)
/* 8009A0CC 00095F0C 60 00 00 08 */ ori r0, r0, 0x8
/* 8009A0D0 00095F10 98 01 00 08 */ stb r0, 0x8(r1)
.global lbl_8009A0D4
lbl_8009A0D4:
/* 8009A0D4 00095F14 57 60 FF FE */ extrwi r0, r27, 1, 30
/* 8009A0D8 00095F18 98 01 00 0C */ stb r0, 0xc(r1)
/* 8009A0DC 00095F1C 88 1E 00 0A */ lbz r0, 0xa(r30)
/* 8009A0E0 00095F20 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009A0E4 00095F24 41 82 00 0C */ beq lbl_8009A0F0
/* 8009A0E8 00095F28 88 BE 00 0B */ lbz r5, 0xb(r30)
/* 8009A0EC 00095F2C 48 00 00 08 */ b lbl_8009A0F4
.global lbl_8009A0F0
lbl_8009A0F0:
/* 8009A0F0 00095F30 38 A0 00 00 */ li r5, 0x0
.global lbl_8009A0F4
lbl_8009A0F4:
/* 8009A0F4 00095F34 38 80 00 00 */ li r4, 0x0
/* 8009A0F8 00095F38 38 00 00 01 */ li r0, 0x1
/* 8009A0FC 00095F3C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8009A100 00095F40 98 A1 00 09 */ stb r5, 0x9(r1)
/* 8009A104 00095F44 98 81 00 0A */ stb r4, 0xa(r1)
/* 8009A108 00095F48 98 01 00 0B */ stb r0, 0xb(r1)
/* 8009A10C 00095F4C 41 82 00 64 */ beq lbl_8009A170
/* 8009A110 00095F50 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 8009A114 00095F54 7F 83 E3 78 */ mr r3, r28
/* 8009A118 00095F58 38 C1 00 08 */ addi r6, r1, 0x8
/* 8009A11C 00095F5C 38 A0 00 00 */ li r5, 0x0
/* 8009A120 00095F60 48 00 0E A5 */ bl rfc_send_msc
/* 8009A124 00095F64 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8009A128 00095F68 88 03 00 72 */ lbz r0, 0x72(r3)
/* 8009A12C 00095F6C 28 00 00 02 */ cmplwi r0, 0x2
/* 8009A130 00095F70 41 82 00 2C */ beq lbl_8009A15C
/* 8009A134 00095F74 88 61 00 0C */ lbz r3, 0xc(r1)
/* 8009A138 00095F78 98 7F 00 63 */ stb r3, 0x63(r31)
/* 8009A13C 00095F7C 88 1F 00 24 */ lbz r0, 0x24(r31)
/* 8009A140 00095F80 7C 03 00 40 */ cmplw r3, r0
/* 8009A144 00095F84 41 82 00 18 */ beq lbl_8009A15C
/* 8009A148 00095F88 7C 60 00 34 */ cntlzw r0, r3
/* 8009A14C 00095F8C 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 8009A150 00095F90 7F 83 E3 78 */ mr r3, r28
/* 8009A154 00095F94 54 05 DE 3E */ extrwi r5, r0, 8, 19
/* 8009A158 00095F98 4B FF D2 3D */ bl PORT_FlowInd
.global lbl_8009A15C
lbl_8009A15C:
/* 8009A15C 00095F9C 88 9E 00 00 */ lbz r4, 0x0(r30)
/* 8009A160 00095FA0 7F 83 E3 78 */ mr r3, r28
/* 8009A164 00095FA4 38 A1 00 08 */ addi r5, r1, 0x8
/* 8009A168 00095FA8 4B FF CB 89 */ bl PORT_ControlInd
/* 8009A16C 00095FAC 48 00 00 30 */ b lbl_8009A19C
.global lbl_8009A170
lbl_8009A170:
/* 8009A170 00095FB0 88 83 00 69 */ lbz r4, 0x69(r3)
/* 8009A174 00095FB4 54 80 07 39 */ rlwinm. r0, r4, 0, 28, 28
/* 8009A178 00095FB8 41 82 00 24 */ beq lbl_8009A19C
/* 8009A17C 00095FBC 54 80 07 76 */ rlwinm r0, r4, 0, 29, 27
/* 8009A180 00095FC0 98 03 00 69 */ stb r0, 0x69(r3)
/* 8009A184 00095FC4 7F E3 FB 78 */ mr r3, r31
/* 8009A188 00095FC8 48 00 21 D9 */ bl rfc_port_timer_stop
/* 8009A18C 00095FCC 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8009A190 00095FD0 38 A1 00 08 */ addi r5, r1, 0x8
/* 8009A194 00095FD4 88 9F 00 0D */ lbz r4, 0xd(r31)
/* 8009A198 00095FD8 4B FF CC D1 */ bl PORT_ControlCnf
.global lbl_8009A19C
lbl_8009A19C:
/* 8009A19C 00095FDC 39 61 00 30 */ addi r11, r1, 0x30
/* 8009A1A0 00095FE0 4B F6 D1 E9 */ bl lbl_80007388
/* 8009A1A4 00095FE4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8009A1A8 00095FE8 7C 08 03 A6 */ mtlr r0
/* 8009A1AC 00095FEC 38 21 00 30 */ addi r1, r1, 0x30
/* 8009A1B0 00095FF0 4E 80 00 20 */ blr
.global rfc_process_rls
rfc_process_rls:
/* 8009A1B4 00095FF4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8009A1B8 00095FF8 7C 08 02 A6 */ mflr r0
/* 8009A1BC 00095FFC 2C 04 00 00 */ cmpwi r4, 0x0
/* 8009A1C0 00096000 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009A1C4 00096004 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009A1C8 00096008 7C BF 2B 78 */ mr r31, r5
/* 8009A1CC 0009600C 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8009A1D0 00096010 7C 7E 1B 78 */ mr r30, r3
/* 8009A1D4 00096014 41 82 00 28 */ beq lbl_8009A1FC
/* 8009A1D8 00096018 88 85 00 00 */ lbz r4, 0x0(r5)
/* 8009A1DC 0009601C 88 A5 00 09 */ lbz r5, 0x9(r5)
/* 8009A1E0 00096020 4B FF CD 4D */ bl PORT_LineStatusInd
/* 8009A1E4 00096024 88 9F 00 00 */ lbz r4, 0x0(r31)
/* 8009A1E8 00096028 7F C3 F3 78 */ mr r3, r30
/* 8009A1EC 0009602C 88 DF 00 09 */ lbz r6, 0x9(r31)
/* 8009A1F0 00096030 38 A0 00 00 */ li r5, 0x0
/* 8009A1F4 00096034 48 00 0E F1 */ bl rfc_send_rls
/* 8009A1F8 00096038 48 00 00 30 */ b lbl_8009A228
.global lbl_8009A1FC
lbl_8009A1FC:
/* 8009A1FC 0009603C 88 85 00 00 */ lbz r4, 0x0(r5)
/* 8009A200 00096040 4B FF D7 A9 */ bl port_find_mcb_dlci_port
/* 8009A204 00096044 2C 03 00 00 */ cmpwi r3, 0x0
/* 8009A208 00096048 41 82 00 20 */ beq lbl_8009A228
/* 8009A20C 0009604C 88 83 00 69 */ lbz r4, 0x69(r3)
/* 8009A210 00096050 54 80 06 F7 */ rlwinm. r0, r4, 0, 27, 27
/* 8009A214 00096054 40 82 00 08 */ bne lbl_8009A21C
/* 8009A218 00096058 48 00 00 10 */ b lbl_8009A228
.global lbl_8009A21C
lbl_8009A21C:
/* 8009A21C 0009605C 54 80 07 34 */ rlwinm r0, r4, 0, 28, 26
/* 8009A220 00096060 98 03 00 69 */ stb r0, 0x69(r3)
/* 8009A224 00096064 48 00 21 3D */ bl rfc_port_timer_stop
.global lbl_8009A228
lbl_8009A228:
/* 8009A228 00096068 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009A22C 0009606C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8009A230 00096070 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8009A234 00096074 7C 08 03 A6 */ mtlr r0
/* 8009A238 00096078 38 21 00 10 */ addi r1, r1, 0x10
/* 8009A23C 0009607C 4E 80 00 20 */ blr
.global rfc_process_test_rsp
rfc_process_test_rsp:
/* 8009A240 00096080 7C 83 23 78 */ mr r3, r4
/* 8009A244 00096084 4B FD AC CC */ b GKI_freebuf
.global rfc_process_fcon
rfc_process_fcon:
/* 8009A248 00096088 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8009A24C 0009608C 7C 08 02 A6 */ mflr r0
/* 8009A250 00096090 2C 04 00 00 */ cmpwi r4, 0x0
/* 8009A254 00096094 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009A258 00096098 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009A25C 0009609C 7C 7F 1B 78 */ mr r31, r3
/* 8009A260 000960A0 41 82 00 38 */ beq lbl_8009A298
/* 8009A264 000960A4 3C A0 80 50 */ lis r5, rfc_cb@ha
/* 8009A268 000960A8 38 00 00 00 */ li r0, 0x0
/* 8009A26C 000960AC 38 A5 98 08 */ addi r5, r5, rfc_cb@l
/* 8009A270 000960B0 38 80 00 00 */ li r4, 0x0
/* 8009A274 000960B4 98 05 00 64 */ stb r0, 0x64(r5)
/* 8009A278 000960B8 48 00 0C 45 */ bl rfc_send_fcon
/* 8009A27C 000960BC 88 1F 00 73 */ lbz r0, 0x73(r31)
/* 8009A280 000960C0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009A284 000960C4 40 82 00 14 */ bne lbl_8009A298
/* 8009A288 000960C8 7F E3 FB 78 */ mr r3, r31
/* 8009A28C 000960CC 38 80 00 00 */ li r4, 0x0
/* 8009A290 000960D0 38 A0 00 01 */ li r5, 0x1
/* 8009A294 000960D4 4B FF D1 01 */ bl PORT_FlowInd
.global lbl_8009A298
lbl_8009A298:
/* 8009A298 000960D8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009A29C 000960DC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8009A2A0 000960E0 7C 08 03 A6 */ mtlr r0
/* 8009A2A4 000960E4 38 21 00 10 */ addi r1, r1, 0x10
/* 8009A2A8 000960E8 4E 80 00 20 */ blr
.global rfc_process_fcoff
rfc_process_fcoff:
/* 8009A2AC 000960EC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8009A2B0 000960F0 7C 08 02 A6 */ mflr r0
/* 8009A2B4 000960F4 2C 04 00 00 */ cmpwi r4, 0x0
/* 8009A2B8 000960F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009A2BC 000960FC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009A2C0 00096100 7C 7F 1B 78 */ mr r31, r3
/* 8009A2C4 00096104 41 82 00 38 */ beq lbl_8009A2FC
/* 8009A2C8 00096108 3C 80 80 50 */ lis r4, rfc_cb@ha
/* 8009A2CC 0009610C 38 00 00 01 */ li r0, 0x1
/* 8009A2D0 00096110 38 84 98 08 */ addi r4, r4, rfc_cb@l
/* 8009A2D4 00096114 98 04 00 64 */ stb r0, 0x64(r4)
/* 8009A2D8 00096118 88 03 00 73 */ lbz r0, 0x73(r3)
/* 8009A2DC 0009611C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009A2E0 00096120 40 82 00 10 */ bne lbl_8009A2F0
/* 8009A2E4 00096124 38 80 00 00 */ li r4, 0x0
/* 8009A2E8 00096128 38 A0 00 00 */ li r5, 0x0
/* 8009A2EC 0009612C 4B FF D0 A9 */ bl PORT_FlowInd
.global lbl_8009A2F0
lbl_8009A2F0:
/* 8009A2F0 00096130 7F E3 FB 78 */ mr r3, r31
/* 8009A2F4 00096134 38 80 00 00 */ li r4, 0x0
/* 8009A2F8 00096138 48 00 0C 49 */ bl rfc_send_fcoff
.global lbl_8009A2FC
lbl_8009A2FC:
/* 8009A2FC 0009613C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009A300 00096140 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8009A304 00096144 7C 08 03 A6 */ mtlr r0
/* 8009A308 00096148 38 21 00 10 */ addi r1, r1, 0x10
/* 8009A30C 0009614C 4E 80 00 20 */ blr
.global rfc_process_l2cap_congestion
rfc_process_l2cap_congestion:
/* 8009A310 00096150 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8009A314 00096154 7C 08 02 A6 */ mflr r0
/* 8009A318 00096158 2C 04 00 00 */ cmpwi r4, 0x0
/* 8009A31C 0009615C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009A320 00096160 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009A324 00096164 7C 9F 23 78 */ mr r31, r4
/* 8009A328 00096168 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8009A32C 0009616C 7C 7E 1B 78 */ mr r30, r3
/* 8009A330 00096170 98 83 00 73 */ stb r4, 0x73(r3)
/* 8009A334 00096174 40 82 00 0C */ bne lbl_8009A340
/* 8009A338 00096178 38 80 00 00 */ li r4, 0x0
/* 8009A33C 0009617C 48 00 23 F1 */ bl rfc_check_send_cmd
.global lbl_8009A340
lbl_8009A340:
/* 8009A340 00096180 3C 60 80 50 */ lis r3, rfc_cb@ha
/* 8009A344 00096184 38 63 98 08 */ addi r3, r3, rfc_cb@l
/* 8009A348 00096188 88 03 00 64 */ lbz r0, 0x64(r3)
/* 8009A34C 0009618C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8009A350 00096190 40 82 00 30 */ bne lbl_8009A380
/* 8009A354 00096194 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8009A358 00096198 40 82 00 18 */ bne lbl_8009A370
/* 8009A35C 0009619C 7F C3 F3 78 */ mr r3, r30
/* 8009A360 000961A0 38 80 00 00 */ li r4, 0x0
/* 8009A364 000961A4 38 A0 00 01 */ li r5, 0x1
/* 8009A368 000961A8 4B FF D0 2D */ bl PORT_FlowInd
/* 8009A36C 000961AC 48 00 00 14 */ b lbl_8009A380
.global lbl_8009A370
lbl_8009A370:
/* 8009A370 000961B0 7F C3 F3 78 */ mr r3, r30
/* 8009A374 000961B4 38 80 00 00 */ li r4, 0x0
/* 8009A378 000961B8 38 A0 00 00 */ li r5, 0x0
/* 8009A37C 000961BC 4B FF D0 19 */ bl PORT_FlowInd
.global lbl_8009A380
lbl_8009A380:
/* 8009A380 000961C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009A384 000961C4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8009A388 000961C8 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8009A38C 000961CC 7C 08 03 A6 */ mtlr r0
/* 8009A390 000961D0 38 21 00 10 */ addi r1, r1, 0x10
/* 8009A394 000961D4 4E 80 00 20 */ blr
.global rfc_set_port_state
rfc_set_port_state:
/* 8009A398 000961D8 A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A39C 000961DC 54 00 07 FF */ clrlwi. r0, r0, 31
/* 8009A3A0 000961E0 41 82 00 0C */ beq lbl_8009A3AC
/* 8009A3A4 000961E4 88 04 00 0A */ lbz r0, 0xa(r4)
/* 8009A3A8 000961E8 98 03 00 00 */ stb r0, 0x0(r3)
.global lbl_8009A3AC
lbl_8009A3AC:
/* 8009A3AC 000961EC A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A3B0 000961F0 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
/* 8009A3B4 000961F4 41 82 00 0C */ beq lbl_8009A3C0
/* 8009A3B8 000961F8 88 04 00 0B */ lbz r0, 0xb(r4)
/* 8009A3BC 000961FC 98 03 00 01 */ stb r0, 0x1(r3)
.global lbl_8009A3C0
lbl_8009A3C0:
/* 8009A3C0 00096200 A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A3C4 00096204 54 00 07 7B */ rlwinm. r0, r0, 0, 29, 29
/* 8009A3C8 00096208 41 82 00 0C */ beq lbl_8009A3D4
/* 8009A3CC 0009620C 88 04 00 0C */ lbz r0, 0xc(r4)
/* 8009A3D0 00096210 98 03 00 02 */ stb r0, 0x2(r3)
.global lbl_8009A3D4
lbl_8009A3D4:
/* 8009A3D4 00096214 A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A3D8 00096218 54 00 07 39 */ rlwinm. r0, r0, 0, 28, 28
/* 8009A3DC 0009621C 41 82 00 0C */ beq lbl_8009A3E8
/* 8009A3E0 00096220 88 04 00 0D */ lbz r0, 0xd(r4)
/* 8009A3E4 00096224 98 03 00 03 */ stb r0, 0x3(r3)
.global lbl_8009A3E8
lbl_8009A3E8:
/* 8009A3E8 00096228 A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A3EC 0009622C 54 00 06 F7 */ rlwinm. r0, r0, 0, 27, 27
/* 8009A3F0 00096230 41 82 00 0C */ beq lbl_8009A3FC
/* 8009A3F4 00096234 88 04 00 0E */ lbz r0, 0xe(r4)
/* 8009A3F8 00096238 98 03 00 04 */ stb r0, 0x4(r3)
.global lbl_8009A3FC
lbl_8009A3FC:
/* 8009A3FC 0009623C A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A400 00096240 54 00 04 AF */ rlwinm. r0, r0, 0, 18, 23
/* 8009A404 00096244 41 82 00 0C */ beq lbl_8009A410
/* 8009A408 00096248 88 04 00 0F */ lbz r0, 0xf(r4)
/* 8009A40C 0009624C 98 03 00 05 */ stb r0, 0x5(r3)
.global lbl_8009A410
lbl_8009A410:
/* 8009A410 00096250 A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A414 00096254 54 00 06 B5 */ rlwinm. r0, r0, 0, 26, 26
/* 8009A418 00096258 41 82 00 0C */ beq lbl_8009A424
/* 8009A41C 0009625C 88 04 00 10 */ lbz r0, 0x10(r4)
/* 8009A420 00096260 98 03 00 07 */ stb r0, 0x7(r3)
.global lbl_8009A424
lbl_8009A424:
/* 8009A424 00096264 A0 04 00 12 */ lhz r0, 0x12(r4)
/* 8009A428 00096268 54 00 06 73 */ rlwinm. r0, r0, 0, 25, 25
/* 8009A42C 0009626C 4D 82 00 20 */ beqlr
/* 8009A430 00096270 88 04 00 11 */ lbz r0, 0x11(r4)
/* 8009A434 00096274 98 03 00 08 */ stb r0, 0x8(r3)
/* 8009A438 00096278 4E 80 00 20 */ blr
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@1372"
"@1372":
.4byte 0x4E554C4C
.4byte 0x20706F72
.4byte 0x74206576
.4byte 0x656E7420
.4byte 0x25640000
.global "@1388"
"@1388":
.4byte 0x506F7274
.4byte 0x20657272
.4byte 0x6F722073
.4byte 0x74617465
.4byte 0x20256420
.4byte 0x6576656E
.4byte 0x74202564
.4byte 0
.global "@1389"
"@1389":
.4byte 0x506F7274
.4byte 0x20737461
.4byte 0x74652063
.4byte 0x6C6F7365
.4byte 0x64204576
.4byte 0x656E7420
.4byte 0x69676E6F
.4byte 0x72656420
.4byte 0x25640000
.global "@1392"
"@1392":
.4byte lbl_800993B4
.4byte lbl_800993EC
.4byte lbl_800993F0
.4byte lbl_80099414
.4byte lbl_800993F8
.4byte lbl_80099428
.4byte lbl_80099460
.4byte lbl_80099460
.4byte lbl_80099460
.4byte lbl_8009936C
.4byte lbl_80099460
.4byte lbl_80099460
.4byte lbl_80099460
.4byte lbl_800993A4
.4byte lbl_800993A8
.global "@1416"
"@1416":
.4byte 0x506F7274
.4byte 0x20737461
.4byte 0x74652073
.4byte 0x61626D65
.4byte 0x5F776169
.4byte 0x745F7561
.4byte 0x20457665
.4byte 0x6E742069
.4byte 0x676E6F72
.4byte 0x65642025
.4byte 0x64000000
.global "@1419"
"@1419":
.4byte lbl_800995BC
.4byte lbl_8009954C
.4byte lbl_80099570
.4byte lbl_80099590
.4byte lbl_800995CC
.4byte lbl_800995D8
.4byte lbl_800995FC
.4byte lbl_800995FC
.4byte lbl_800995FC
.4byte lbl_800994E0
.4byte lbl_800995FC
.4byte lbl_800994E0
.4byte lbl_80099510
.4byte lbl_80099538
.4byte lbl_80099540
.4byte 0x506F7274
.4byte 0x20657272
.4byte 0x6F722073
.4byte 0x74617465
.4byte 0x20546572
.4byte 0x6D205761
.4byte 0x69742053
.4byte 0x65632065
.4byte 0x76656E74
.4byte 0x20446174
.4byte 0x61000000
.4byte 0x506F7274
.4byte 0x20737461
.4byte 0x74652074
.4byte 0x65726D5F
.4byte 0x77616974
.4byte 0x5F736563
.4byte 0x5F636865
.4byte 0x636B2045
.4byte 0x76656E74
.4byte 0x2069676E
.4byte 0x6F726564
.4byte 0x20256400
.global "@1448_8043F618"
"@1448_8043F618":
.4byte lbl_8009973C
.4byte lbl_800997BC
.4byte lbl_800997BC
.4byte lbl_80099740
.4byte lbl_80099770
.4byte lbl_800997BC
.4byte lbl_800997BC
.4byte lbl_800997BC
.4byte lbl_800997BC
.4byte lbl_800996CC
.4byte lbl_800997BC
.4byte lbl_8009977C
.4byte lbl_800996CC
.4byte lbl_800996F8
.4byte lbl_80099710
.4byte lbl_80099684
.4byte 0x506F7274
.4byte 0x20657272
.4byte 0x6F722073
.4byte 0x74617465
.4byte 0x204F7269
.4byte 0x67205761
.4byte 0x69742053
.4byte 0x65632065
.4byte 0x76656E74
.4byte 0x20446174
.4byte 0x61000000
.4byte 0
.4byte 0x506F7274
.4byte 0x20737461
.4byte 0x7465206F
.4byte 0x7269675F
.4byte 0x77616974
.4byte 0x5F736563
.4byte 0x5F636865
.4byte 0x636B2045
.4byte 0x76656E74
.4byte 0x2069676E
.4byte 0x6F726564
.4byte 0x20256400
.global "@1465_8043F6B8"
"@1465_8043F6B8":
.4byte lbl_80099890
.4byte lbl_8009990C
.4byte lbl_8009990C
.4byte lbl_8009990C
.4byte lbl_80099900
.4byte lbl_8009990C
.4byte lbl_8009990C
.4byte lbl_8009990C
.4byte lbl_8009990C
.4byte lbl_80099890
.4byte lbl_8009990C
.4byte lbl_8009990C
.4byte lbl_800998BC
.4byte lbl_8009990C
.4byte lbl_800998D4
.4byte lbl_80099840
.global "@1487"
"@1487":
.4byte 0x506F7274
.4byte 0x20737461
.4byte 0x7465206F
.4byte 0x70656E65
.4byte 0x64204576
.4byte 0x656E7420
.4byte 0x69676E6F
.4byte 0x72656420
.4byte 0x25640000
.global "@1490"
"@1490":
.4byte lbl_80099A60
.4byte lbl_80099A5C
.4byte lbl_80099A70
.4byte lbl_80099A88
.4byte lbl_80099AAC
.4byte lbl_80099ABC
.4byte lbl_80099AF4
.4byte lbl_80099AF4
.4byte lbl_80099AF4
.4byte lbl_80099988
.4byte lbl_80099AF4
.4byte lbl_80099AF4
.4byte lbl_800999B8
.4byte lbl_800999E0
.4byte lbl_800999E8
.global "@1505"
"@1505":
.4byte 0x506F7274
.4byte 0x20737461
.4byte 0x74652064
.4byte 0x6973635F
.4byte 0x77616974
.4byte 0x5F756120
.4byte 0x4576656E
.4byte 0x74206967
.4byte 0x6E6F7265
.4byte 0x64202564
.4byte 0
.global "@1508"
"@1508":
.4byte lbl_80099BC8
.4byte lbl_80099BB0
.4byte lbl_80099BBC
.4byte lbl_80099BDC
.4byte lbl_80099BF0
.4byte lbl_80099C0C
.4byte lbl_80099C14
.4byte lbl_80099C14
.4byte lbl_80099C14
.4byte lbl_80099B70
.4byte lbl_80099C14
.4byte lbl_80099B70
.4byte lbl_80099C14
.4byte lbl_80099B9C
.4byte lbl_80099BA4
.global "@1516_8043F7C0"
"@1516_8043F7C0":
.4byte 0x2A2A2A2A
.4byte 0x2A204D58
.4byte 0x20504E20
.4byte 0x7768696C
.4byte 0x65206469
.4byte 0x73636F6E
.4byte 0x6E656374
.4byte 0x696E6720
.4byte 0x2A2A2A2A
.4byte 0x2A000000