	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_a2_nphy
_wlc_phy_a2_nphy:                       ## @wlc_phy_a2_nphy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -116(%rbp)
	movl	12(%rdi), %edi
	movl	$3, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	jne	LBB0_59
## %bb.1:
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpq	%r14, (%rax)
	sete	%r13b
	movl	12(%r15), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	movl	%r12d, -104(%rbp)               ## 4-byte Spill
	je	LBB0_4
## %bb.2:
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	leaq	-96(%rbp), %rdi
	movq	%r15, %rsi
	callq	_wlc_phy_get_tx_gain_nphy
	movq	-96(%rbp), %r13
	movq	-88(%rbp), %r12
	movq	-80(%rbp), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	movl	(%r13,%r14,4), %edx
	shll	$15, %edx
	movl	(%r12,%r14,4), %ecx
	shll	$12, %ecx
	orl	%edx, %ecx
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	16(%rbx), %rdx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_11
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_51
## %bb.5:
	cmpq	$0, 8(%rbx)
	je	LBB0_27
## %bb.6:
	movl	(%rbx), %eax
	sarl	$3, %eax
	movl	$15, %ebx
	subl	%eax, %ebx
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	je	LBB0_34
## %bb.7:
	movl	12(%r15), %edi
	movl	$6, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_28
## %bb.8:
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movq	_BCMA_CHIP_ID_BCM47162@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.9:
	shll	$8, %ebx
	orl	$4343, %ebx                     ## imm = 0x10F7
	jmp	LBB0_50
LBB0_10:
	movq	24(%rbx), %rax
	movq	-128(%rbp), %rdx                ## 8-byte Reload
LBB0_11:
	movl	(%rax,%r14,4), %eax
	shll	$8, %eax
	orl	%eax, %ecx
	movl	(%rdx,%r14,4), %edx
	shll	$3, %edx
	orl	%ecx, %edx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	orl	(%rax,%r14,4), %edx
	movq	_NPHY_REV7_RfctrlOverride_cmd_txgain@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	movq	%r15, %rdi
	movl	%edx, -128(%rbp)                ## 4-byte Spill
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_1tomany_nphy
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %r13
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_15
## %bb.12:
	movl	8(%r15), %edx
	movq	(%r15), %rax
	movq	_WL_CHANSPEC_BW_40@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$5, %edx
	jl	LBB0_16
## %bb.13:
	cmpl	$6, %edx
	je	LBB0_16
## %bb.14:
	cmpq	%rcx, %rax
	movl	$45, %ecx
	movl	$64, %eax
	jmp	LBB0_17
LBB0_15:
	movq	(%r15), %rcx
	movq	_WL_CHANSPEC_BW_40@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setne	%al
	shlq	$5, %rax
	orq	$75, %rax
	jmp	LBB0_18
LBB0_16:
	cmpq	%rcx, %rax
	movl	$60, %ecx
	movl	$79, %eax
LBB0_17:
	cmoveq	%rcx, %rax
LBB0_18:
	movq	%rax, -96(%rbp,%r14,8)
	movq	$0, -96(%rbp,%rbx,8)
	movq	-96(%rbp), %rsi
	movq	-88(%rbp), %rdx
	movq	%r15, %rdi
	callq	_wlc_phy_ipa_set_bbmult_nphy
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	movl	8(%r15), %ecx
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leal	-4(%rcx), %eax
	xorl	%edx, %edx
	testl	$-3, %eax
	sete	%dl
	leal	(%rdx,%rdx,4), %r12d
	addl	$25, %r12d
	jmp	LBB0_22
LBB0_20:
	leal	-5(%rcx), %eax
	movl	$35, %r12d
	cmpl	$3, %eax
	ja	LBB0_22
## %bb.21:
	cltq
	leaq	L_switch.table.wlc_phy_a2_nphy(%rip), %rdx
	movl	(%rdx,%rax,4), %r12d
LBB0_22:
	movq	_CAL_GCTRL@GOTPCREL(%rip), %rax
	movl	-104(%rbp), %edx                ## 4-byte Reload
	cmpl	%edx, (%rax)
	jne	LBB0_26
## %bb.23:
	cmpl	$5, %ecx
	movl	%r12d, -112(%rbp)               ## 4-byte Spill
	jne	LBB0_31
## %bb.24:
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	je	LBB0_30
## %bb.25:
	movl	$55, -100(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_40
LBB0_26:
	movq	_CAL_SOFT@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	movq	_CAL_FULL@GOTPCREL(%rip), %rax
	movl	$35, %ecx
	cmovel	%r12d, %ecx
	cmpl	%edx, (%rax)
	cmovnel	%ecx, %r12d
	movl	%r12d, -112(%rbp)               ## 4-byte Spill
	movl	%r12d, -100(%rbp)               ## 4-byte Spill
	jmp	LBB0_40
LBB0_27:
	movl	$23543, %ebx                    ## imm = 0x5BF7
	jmp	LBB0_50
LBB0_28:
	movl	12(%r15), %edi
	movl	$6, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_47
## %bb.29:
	shll	$8, %ebx
	orl	$247, %ebx
	jmp	LBB0_50
LBB0_30:
	movl	8(%r15), %ecx
LBB0_31:
	cmpl	$7, %ecx
	jne	LBB0_36
## %bb.32:
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	jne	LBB0_33
## %bb.35:
	movl	8(%r15), %ecx
LBB0_36:
	cmpl	$8, %ecx
	jne	LBB0_39
## %bb.37:
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	je	LBB0_39
LBB0_33:
	movl	$60, -100(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_40
LBB0_39:
	movl	$63, -100(%rbp)                 ## 4-byte Folded Spill
LBB0_40:
	xorl	%eax, %eax
	cmpq	%r14, (%r13)
	setne	%al
	leal	663(,%rax,4), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%rbx, (%r13)
	setne	%al
	leal	663(,%rax,4), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r13)
	sete	%al
	movq	%r13, %r12
	movl	$676, %r13d                     ## imm = 0x2A4
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$8192, %edx                     ## imm = 0x2000
	movl	$8192, %ecx                     ## imm = 0x2000
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%rbx, (%r12)
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$8192, %edx                     ## imm = 0x2000
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$673, %esi                      ## imm = 0x2A1
	movl	$128, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$674, %esi                      ## imm = 0x2A2
	movl	$256, %edx                      ## imm = 0x100
	callq	_write_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$112, %edx
	movl	$176, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$1792, %edx                     ## imm = 0x700
	movl	$2816, %ecx                     ## imm = 0xB00
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	subl	%eax, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$7, %edx
	movl	$3, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$741, %esi                      ## imm = 0x2E5
	movl	$32, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$672, %esi                      ## imm = 0x2A0
	movl	$63, %edx
	movl	-112(%rbp), %ecx                ## 4-byte Reload
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$671, %esi                      ## imm = 0x29F
	movl	$63, %edx
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$671, %esi                      ## imm = 0x29F
	movl	$16128, %edx                    ## imm = 0x3F00
	movl	$16128, %ecx                    ## imm = 0x3F00
	callq	_mod_phy_reg
	xorl	%ebx, %ebx
	testq	%r14, %r14
	sete	%bl
	movl	$2, %ecx
	subl	%ebx, %ecx
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %r13
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	incl	%ebx
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movq	%r15, %rdi
	movl	$702, %esi                      ## imm = 0x2BE
	movl	$1, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$702, %esi                      ## imm = 0x2BE
	callq	_read_phy_reg
	movl	%eax, %edi
	movl	$10000000, %esi                 ## imm = 0x989680
	callq	_SPINWAIT
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	cmpq	%r14, (%r12)
	jne	LBB0_42
## %bb.41:
	movq	_NPHY_TBL_ID_EPSILONTBL0@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_42:
	movq	_NPHY_TBL_ID_EPSILONTBL1@GOTPCREL(%rip), %rax
LBB0_43:
	movl	(%rax), %esi
	leaq	-116(%rbp), %r9
	movq	%r15, %rdi
	movl	$1, %edx
	movl	-112(%rbp), %ecx                ## 4-byte Reload
	movl	$32, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	-104(%rbp), %eax                ## 4-byte Reload
	movq	_CAL_GCTRL@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_46
## %bb.44:
	movl	16(%r15), %edi
	callq	_CHSPEC_IS5G
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	movl	$35, %r8d
	callq	_wlc_phy_a1_nphy
LBB0_46:
	movq	_NPHY_REV7_RfctrlOverride_cmd_txgain@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	-128(%rbp), %edx                ## 4-byte Reload
	movl	-136(%rbp), %ecx                ## 4-byte Reload
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_1tomany_nphy
	jmp	LBB0_59
LBB0_34:
	shll	$8, %ebx
	orl	$28919, %ebx                    ## imm = 0x70F7
	jmp	LBB0_50
LBB0_47:
	movl	12(%r15), %edi
	movl	$5, %esi
	callq	_NREV_IS
	shll	$8, %ebx
	testq	%rax, %rax
	je	LBB0_49
## %bb.48:
	orl	$4343, %ebx                     ## imm = 0x10F7
	jmp	LBB0_50
LBB0_49:
	orl	$20727, %ebx                    ## imm = 0x50F7
LBB0_50:
	movl	$1, %eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	movq	%r15, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
LBB0_51:
	movl	16(%r15), %edi
	callq	_CHSPEC_IS2G
	movq	(%r15), %rcx
	movq	_WL_CHANSPEC_BW_40@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	setne	%sil
	movl	$45, %ecx
	movl	$64, %edx
	cmoveq	%rcx, %rdx
	shlq	$5, %rsi
	orq	$75, %rsi
	testq	%rax, %rax
	cmovneq	%rdx, %rsi
	movq	%rsi, -96(%rbp,%r14,8)
	movq	$0, -96(%rbp,%r13,8)
	movq	-96(%rbp), %rsi
	movq	-88(%rbp), %rdx
	movq	%r15, %rdi
	callq	_wlc_phy_ipa_set_bbmult_nphy
	movq	_CAL_FULL@GOTPCREL(%rip), %rax
	movq	_CAL_SOFT@GOTPCREL(%rip), %rcx
	movq	_CAL_GCTRL@GOTPCREL(%rip), %rdx
	cmpl	%r12d, (%rdx)
	movl	$63, %ebx
	movl	$25, %edx
	cmovnel	%edx, %ebx
	cmpl	%r12d, (%rcx)
	cmovel	%edx, %ebx
	cmpl	%r12d, (%rax)
	cmovel	%edx, %ebx
	xorl	%eax, %eax
	movq	%r13, %r12
	movq	_PHY_CORE_0@GOTPCREL(%rip), %r13
	cmpq	%r14, (%r13)
	setne	%al
	leal	663(,%rax,4), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r12, (%r13)
	setne	%al
	leal	663(,%rax,4), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movl	12(%r15), %edi
	movl	$6, %esi
	callq	_NREV_GE
	xorl	%ecx, %ecx
	cmpq	%r14, (%r13)
	sete	%cl
	movl	$676, %r13d                     ## imm = 0x2A4
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%ecx, %esi
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:
	movl	$8192, %edx                     ## imm = 0x2000
	movl	$8192, %ecx                     ## imm = 0x2000
	callq	_mod_phy_reg
	xorl	%eax, %eax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	movq	%rcx, %r12
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$8192, %edx                     ## imm = 0x2000
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$673, %esi                      ## imm = 0x2A1
	movl	$32, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$674, %esi                      ## imm = 0x2A2
	movl	$96, %edx
	callq	_write_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$240, %edx
	movl	$144, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$3840, %edx                     ## imm = 0xF00
	movl	$2304, %ecx                     ## imm = 0x900
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	subl	%eax, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$15, %edx
	movl	$2, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$741, %esi                      ## imm = 0x2E5
	movl	$32, %edx
	callq	_write_phy_reg
	jmp	LBB0_54
LBB0_53:
	movl	$2048, %edx                     ## imm = 0x800
	movl	$2048, %ecx                     ## imm = 0x800
	callq	_mod_phy_reg
	xorl	%eax, %eax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	movq	%rcx, %r12
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$673, %esi                      ## imm = 0x2A1
	movl	$128, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$674, %esi                      ## imm = 0x2A2
	movl	$1536, %edx                     ## imm = 0x600
	callq	_write_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$112, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	movl	$676, %esi                      ## imm = 0x2A4
	subl	%eax, %esi
	movq	%r15, %rdi
	movl	$1792, %edx                     ## imm = 0x700
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	subl	%eax, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$7, %edx
	movl	$3, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$672, %esi                      ## imm = 0x2A0
	movl	$16128, %edx                    ## imm = 0x3F00
	movl	$8192, %ecx                     ## imm = 0x2000
	callq	_mod_phy_reg
LBB0_54:
	movq	%r15, %rdi
	movl	$672, %esi                      ## imm = 0x2A0
	movl	$63, %edx
	movl	$25, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$671, %esi                      ## imm = 0x29F
	movl	$63, %edx
	movl	%ebx, %ecx
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$671, %esi                      ## imm = 0x29F
	movl	$16128, %edx                    ## imm = 0x3F00
	movl	$16128, %ecx                    ## imm = 0x3F00
	callq	_mod_phy_reg
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r15, %rdi
	movl	$702, %esi                      ## imm = 0x2BE
	movl	$1, %edx
	callq	_write_phy_reg
	movq	%r15, %rdi
	movl	$702, %esi                      ## imm = 0x2BE
	callq	_read_phy_reg
	movl	%eax, %edi
	movl	$10000000, %esi                 ## imm = 0x989680
	callq	_SPINWAIT
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	cmpq	%r14, (%r12)
	movl	-104(%rbp), %ebx                ## 4-byte Reload
	jne	LBB0_56
## %bb.55:
	movq	_NPHY_TBL_ID_EPSILONTBL0@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_56:
	movq	_NPHY_TBL_ID_EPSILONTBL1@GOTPCREL(%rip), %rax
LBB0_57:
	movl	(%rax), %esi
	leaq	-116(%rbp), %r9
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$25, %ecx
	movl	$32, %r8d
	callq	_wlc_phy_table_write_nphy
	movq	_CAL_GCTRL@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_59
## %bb.58:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	movl	$40, %r8d
	callq	_wlc_phy_a1_nphy
LBB0_59:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_61
## %bb.60:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_61:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_CORE_0,8,3                 ## @PHY_CORE_0
	.comm	_CAL_GCTRL,4,2                  ## @CAL_GCTRL
	.comm	_CAL_SOFT,4,2                   ## @CAL_SOFT
	.comm	_NPHY_REV7_RfctrlOverride_cmd_txgain,4,2 ## @NPHY_REV7_RfctrlOverride_cmd_txgain
	.comm	_WL_CHANSPEC_BW_40,8,3          ## @WL_CHANSPEC_BW_40
	.comm	_CAL_FULL,4,2                   ## @CAL_FULL
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.comm	_NPHY_TBL_ID_EPSILONTBL0,4,2    ## @NPHY_TBL_ID_EPSILONTBL0
	.comm	_NPHY_TBL_ID_EPSILONTBL1,4,2    ## @NPHY_TBL_ID_EPSILONTBL1
	.comm	_BCMA_CHIP_ID_BCM47162,8,3      ## @BCMA_CHIP_ID_BCM47162
	.no_dead_strip	_wlc_phy_a2_nphy
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.wlc_phy_a2_nphy
L_switch.table.wlc_phy_a2_nphy:
	.long	25                              ## 0x19
	.long	35                              ## 0x23
	.long	25                              ## 0x19
	.long	25                              ## 0x19

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_a2_nphy
_wlc_phy_a2_nphy:                       ; @wlc_phy_a2_nphy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	wzr, [sp, #12]
	ldr	w0, [x0, #12]
	mov	w1, #3
	bl	_NREV_LT
	cbnz	x0, LBB0_52
; %bb.1:
Lloh3:
	adrp	x26, _PHY_CORE_0@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PHY_CORE_0@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x8, x20
	cset	w27, eq
	ldr	w0, [x19, #12]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_4
; %bb.2:
	add	x8, sp, #16
	mov	x0, x19
	bl	_wlc_phy_get_tx_gain_nphy
	ldp	x28, x26, [sp, #16]
	ldp	x24, x23, [sp, #32]
	ldr	x25, [sp, #48]
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
	lsl	x8, x20, #2
	ldr	w9, [x28, x8]
	ldr	w10, [x26, x8]
	lsl	w10, w10, #12
	orr	w9, w10, w9, lsl #15
	cbz	x0, LBB0_10
; %bb.3:
	ldr	x25, [x22, #16]
	b	LBB0_11
LBB0_4:
	cbz	x22, LBB0_47
; %bb.5:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_28
; %bb.6:
	ldr	w8, [x22]
	mov	w9, #15
	sub	w22, w9, w8, asr #3
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
	cbz	x0, LBB0_43
; %bb.7:
	ldr	w0, [x19, #12]
	mov	w1, #6
	bl	_NREV_GE
	cbz	x0, LBB0_29
; %bb.8:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _BCMA_CHIP_ID_BCM47162@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BCMA_CHIP_ID_BCM47162@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.9:
	mov	w8, #4343
	b	LBB0_44
LBB0_10:
	ldr	x24, [x22, #24]
LBB0_11:
	ldr	w10, [x24, x8]
	orr	w9, w9, w10, lsl #8
	ldr	w10, [x25, x8]
	orr	w9, w9, w10, lsl #3
	ldr	w8, [x23, x8]
	orr	w2, w9, w8
Lloh8:
	adrp	x8, _NPHY_REV7_RfctrlOverride_cmd_txgain@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NPHY_REV7_RfctrlOverride_cmd_txgain@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w8, #1
	lsl	w3, w8, w20
	mov	x0, x19
	stp	w3, w2, [sp, #4]                ; 8-byte Folded Spill
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_1tomany_nphy
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
Lloh11:
	adrp	x23, _PHY_CORE_0@GOTPAGE
Lloh12:
	ldr	x23, [x23, _PHY_CORE_0@GOTPAGEOFF]
	cbz	x0, LBB0_15
; %bb.12:
	ldr	w10, [x19, #8]
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _WL_CHANSPEC_BW_40@GOTPAGE
Lloh14:
	ldr	x9, [x9, _WL_CHANSPEC_BW_40@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	w10, #5
	b.lt	LBB0_16
; %bb.13:
	cmp	w10, #6
	b.eq	LBB0_16
; %bb.14:
	mov	w10, #64
	mov	w11, #45
	b	LBB0_17
LBB0_15:
Lloh16:
	adrp	x8, _WL_CHANSPEC_BW_40@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WL_CHANSPEC_BW_40@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh18:
	ldr	x8, [x8]
	mov	w10, #107
	mov	w11, #75
	cmp	x9, x8
	b	LBB0_18
LBB0_16:
	mov	w10, #79
	mov	w11, #60
LBB0_17:
	cmp	x8, x9
LBB0_18:
	csel	x8, x11, x10, eq
	add	x9, sp, #16
	str	x8, [x9, x20, lsl #3]
	str	xzr, [x9, x27, lsl #3]
	ldp	x1, x2, [sp, #16]
	mov	x0, x19
	bl	_wlc_phy_ipa_set_bbmult_nphy
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
	ldr	w8, [x19, #8]
	cbz	x0, LBB0_20
; %bb.19:
	sub	w9, w8, #4
	tst	w9, #0xfffffffd
	mov	w9, #25
	mov	w10, #30
	csel	w24, w10, w9, eq
	b	LBB0_23
LBB0_20:
	sub	w9, w8, #5
	cmp	w9, #3
	b.hi	LBB0_22
; %bb.21:
Lloh19:
	adrp	x10, l_switch.table.wlc_phy_a2_nphy@PAGE
Lloh20:
	add	x10, x10, l_switch.table.wlc_phy_a2_nphy@PAGEOFF
	ldr	w24, [x10, w9, sxtw #2]
	b	LBB0_23
LBB0_22:
	mov	w24, #35
LBB0_23:
Lloh21:
	adrp	x9, _CAL_GCTRL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CAL_GCTRL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_27
; %bb.24:
	cmp	w8, #5
	b.ne	LBB0_32
; %bb.25:
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
	cbz	x0, LBB0_31
; %bb.26:
	mov	w25, #55
	b	LBB0_39
LBB0_27:
Lloh24:
	adrp	x8, _CAL_FULL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CAL_FULL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _CAL_SOFT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CAL_SOFT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w9, w21
	ccmp	w8, w21, #4, ne
	mov	w8, #35
	csel	w24, w24, w8, eq
	mov	x25, x24
	b	LBB0_39
LBB0_28:
	mov	w2, #23543
	b	LBB0_46
LBB0_29:
	ldr	w0, [x19, #12]
	mov	w1, #6
	bl	_NREV_GE
	cbz	x0, LBB0_45
; %bb.30:
	mov	w2, #247
	bfi	w2, w22, #8, #24
	b	LBB0_46
LBB0_31:
	ldr	w8, [x19, #8]
LBB0_32:
	cmp	w8, #7
	b.ne	LBB0_35
; %bb.33:
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
	cbnz	x0, LBB0_37
; %bb.34:
	ldr	w8, [x19, #8]
LBB0_35:
	cmp	w8, #8
	b.ne	LBB0_38
; %bb.36:
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
	cbz	x0, LBB0_38
LBB0_37:
	mov	w25, #60
	b	LBB0_39
LBB0_38:
	mov	w25, #63
LBB0_39:
	ldr	x8, [x23]
	cmp	x8, x20
	mov	w22, #667
	mov	w26, #663
	csel	w1, w26, w22, eq
	mov	w28, #1
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	bl	_mod_phy_reg
	ldr	x8, [x23]
	cmp	x8, x27
	csel	w1, w26, w22, eq
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	x8, [x23]
	cmp	x8, x20
	mov	w22, #675
	cinc	w1, w22, ne
	mov	x0, x19
	mov	w2, #8192
	mov	w3, #8192
	bl	_mod_phy_reg
	ldr	x8, [x23]
	cmp	x8, x27
	cinc	w1, w22, ne
	mov	x0, x19
	mov	w2, #8192
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #673
	mov	w2, #128
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #674
	mov	w2, #256
	bl	_write_phy_reg
	ldr	x8, [x23]
	cmp	x8, x20
	cinc	w1, w22, ne
	mov	x0, x19
	mov	w2, #112
	mov	w3, #176
	bl	_mod_phy_reg
	ldr	x8, [x23]
	cmp	x8, x20
	cinc	w1, w22, ne
	mov	x0, x19
	mov	w2, #1792
	mov	w3, #2816
	bl	_mod_phy_reg
	ldr	x8, [x23]
	cmp	x8, x20
	cinc	w1, w22, ne
	mov	x0, x19
	mov	w2, #7
	mov	w3, #3
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #741
	mov	w2, #32
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #672
	mov	w2, #63
	mov	x3, x24
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #671
	mov	w2, #63
	mov	x3, x25
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #671
	mov	w2, #16128
	mov	w3, #16128
	bl	_mod_phy_reg
	cmp	x20, #0
	cinc	w3, w28, ne
Lloh30:
	adrp	x22, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGE
Lloh31:
	ldr	x22, [x22, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGEOFF]
	ldr	w5, [x22]
	cinc	w25, w28, eq
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x22]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	x3, x25
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	mov	x0, x19
	mov	w1, #702
	mov	w2, #1
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #702
	bl	_read_phy_reg
	mov	w1, #38528
	movk	w1, #152, lsl #16
	bl	_SPINWAIT
	ldr	w5, [x22]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #3
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
Lloh32:
	adrp	x8, _NPHY_TBL_ID_EPSILONTBL0@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NPHY_TBL_ID_EPSILONTBL0@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh34:
	adrp	x10, _NPHY_TBL_ID_EPSILONTBL1@GOTPAGE
Lloh35:
	ldr	x10, [x10, _NPHY_TBL_ID_EPSILONTBL1@GOTPAGEOFF]
	cmp	x9, x20
	csel	x8, x8, x10, eq
	ldr	w1, [x8]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	x3, x24
	mov	w4, #32
	bl	_wlc_phy_table_write_nphy
Lloh36:
	adrp	x8, _CAL_GCTRL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CAL_GCTRL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	w8, w21
	b.eq	LBB0_42
; %bb.40:
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS5G
	cbz	x0, LBB0_42
; %bb.41:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #5
	mov	w3, #0
	mov	w4, #35
	bl	_wlc_phy_a1_nphy
LBB0_42:
Lloh39:
	adrp	x8, _NPHY_REV7_RfctrlOverride_cmd_txgain@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NPHY_REV7_RfctrlOverride_cmd_txgain@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	w3, w2, [sp, #4]                ; 8-byte Folded Reload
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_1tomany_nphy
	b	LBB0_52
LBB0_43:
	mov	w8, #28919
LBB0_44:
	orr	w2, w8, w22, lsl #8
	b	LBB0_46
LBB0_45:
	ldr	w0, [x19, #12]
	mov	w1, #5
	bl	_NREV_IS
	lsl	w8, w22, #8
	mov	w9, #20727
	orr	w9, w8, w9
	mov	w10, #4343
	orr	w8, w8, w10
	cmp	x0, #0
	csel	w2, w9, w8, eq
LBB0_46:
	mov	w8, #1
	lsl	w3, w8, w20
	mov	x0, x19
	mov	w1, #8192
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
LBB0_47:
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS2G
Lloh42:
	adrp	x8, _WL_CHANSPEC_BW_40@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WL_CHANSPEC_BW_40@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh44:
	ldr	x8, [x8]
	mov	w10, #107
	mov	w11, #75
	cmp	x9, x8
	csel	x8, x11, x10, eq
	mov	w9, #64
	mov	w10, #45
	csel	x9, x10, x9, eq
	cmp	x0, #0
	csel	x8, x8, x9, eq
	add	x9, sp, #16
	str	x8, [x9, x20, lsl #3]
	str	xzr, [x9, x27, lsl #3]
	ldp	x1, x2, [sp, #16]
	mov	x0, x19
	bl	_wlc_phy_ipa_set_bbmult_nphy
Lloh45:
	adrp	x8, _CAL_FULL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _CAL_FULL@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _CAL_SOFT@GOTPAGE
Lloh49:
	ldr	x9, [x9, _CAL_SOFT@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
Lloh51:
	adrp	x23, _CAL_GCTRL@GOTPAGE
Lloh52:
	ldr	x23, [x23, _CAL_GCTRL@GOTPAGEOFF]
	ldr	w10, [x23]
	mov	w11, #25
	mov	w12, #63
	cmp	w10, w21
	csel	w10, w12, w11, eq
	cmp	w9, w21
	ccmp	w8, w21, #4, ne
	csel	w22, w11, w10, eq
	ldr	x8, [x26]
	cmp	x8, x20
	mov	w24, #667
	mov	w25, #663
	csel	w1, w25, w24, eq
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	bl	_mod_phy_reg
	ldr	x8, [x26]
	cmp	x8, x27
	csel	w1, w25, w24, eq
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	w0, [x19, #12]
	mov	w1, #6
	bl	_NREV_GE
	ldr	x8, [x26]
	cmp	x8, x20
	mov	w24, #675
	cinc	w1, w24, ne
	cbz	x0, LBB0_49
; %bb.48:
	mov	x0, x19
	mov	w2, #8192
	mov	w3, #8192
	bl	_mod_phy_reg
	ldr	x8, [x26]
	cmp	x8, x27
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #8192
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #673
	mov	w2, #32
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #674
	mov	w2, #96
	bl	_write_phy_reg
	ldr	x8, [x26]
	cmp	x8, x20
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #240
	mov	w3, #144
	bl	_mod_phy_reg
	ldr	x8, [x26]
	cmp	x8, x20
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #3840
	mov	w3, #2304
	bl	_mod_phy_reg
	ldr	x8, [x26]
	cmp	x8, x20
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #15
	mov	w3, #2
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #741
	mov	w2, #32
	bl	_write_phy_reg
	b	LBB0_50
LBB0_49:
	mov	x0, x19
	mov	w2, #2048
	mov	w3, #2048
	bl	_mod_phy_reg
	ldr	x8, [x26]
	cmp	x8, x27
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #2048
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #673
	mov	w2, #128
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #674
	mov	w2, #1536
	bl	_write_phy_reg
	ldr	x8, [x26]
	cmp	x8, x20
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #112
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	x8, [x26]
	cmp	x8, x20
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #1792
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	x8, [x26]
	cmp	x8, x20
	cinc	w1, w24, ne
	mov	x0, x19
	mov	w2, #7
	mov	w3, #3
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #672
	mov	w2, #16128
	mov	w3, #8192
	bl	_mod_phy_reg
LBB0_50:
	mov	x0, x19
	mov	w1, #672
	mov	w2, #63
	mov	w3, #25
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #671
	mov	w2, #63
	mov	x3, x22
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #671
	mov	w2, #16128
	mov	w3, #16128
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #3
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x19
	mov	w1, #702
	mov	w2, #1
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #702
	bl	_read_phy_reg
	mov	w1, #38528
	movk	w1, #152, lsl #16
	bl	_SPINWAIT
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #3
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
Lloh53:
	adrp	x8, _NPHY_TBL_ID_EPSILONTBL0@GOTPAGE
Lloh54:
	ldr	x8, [x8, _NPHY_TBL_ID_EPSILONTBL0@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh55:
	adrp	x10, _NPHY_TBL_ID_EPSILONTBL1@GOTPAGE
Lloh56:
	ldr	x10, [x10, _NPHY_TBL_ID_EPSILONTBL1@GOTPAGEOFF]
	cmp	x9, x20
	csel	x8, x8, x10, eq
	ldr	w1, [x8]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #25
	mov	w4, #32
	bl	_wlc_phy_table_write_nphy
	ldr	w8, [x23]
	cmp	w8, w21
	b.eq	LBB0_52
; %bb.51:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #5
	mov	w3, #0
	mov	w4, #40
	bl	_wlc_phy_a1_nphy
LBB0_52:
	ldr	x8, [sp, #56]
Lloh57:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh58:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.53:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_54:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_CORE_0,8,3                 ; @PHY_CORE_0
	.comm	_CAL_GCTRL,4,2                  ; @CAL_GCTRL
	.comm	_CAL_SOFT,4,2                   ; @CAL_SOFT
	.comm	_NPHY_REV7_RfctrlOverride_cmd_txgain,4,2 ; @NPHY_REV7_RfctrlOverride_cmd_txgain
	.comm	_WL_CHANSPEC_BW_40,8,3          ; @WL_CHANSPEC_BW_40
	.comm	_CAL_FULL,4,2                   ; @CAL_FULL
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.comm	_NPHY_TBL_ID_EPSILONTBL0,4,2    ; @NPHY_TBL_ID_EPSILONTBL0
	.comm	_NPHY_TBL_ID_EPSILONTBL1,4,2    ; @NPHY_TBL_ID_EPSILONTBL1
	.comm	_BCMA_CHIP_ID_BCM47162,8,3      ; @BCMA_CHIP_ID_BCM47162
	.no_dead_strip	_wlc_phy_a2_nphy
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.wlc_phy_a2_nphy
l_switch.table.wlc_phy_a2_nphy:
	.long	25                              ; 0x19
	.long	35                              ; 0x23
	.long	25                              ; 0x19
	.long	25                              ; 0x19

.subsections_via_symbols
