	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_txcal_physetup_nphy
_wlc_phy_txcal_physetup_nphy:           ## @wlc_phy_txcal_physetup_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	movl	$3, %esi
	callq	_NREV_GE
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$166, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	movl	$167, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	%rbx, %rdi
	movl	$166, %esi
	testq	%r14, %r14
	je	LBB0_13
## %bb.1:
	movl	$3840, %edx                     ## imm = 0xF00
	movl	$2560, %ecx                     ## imm = 0xA00
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$167, %esi
	movl	$3840, %edx                     ## imm = 0xF00
	movl	$2560, %ecx                     ## imm = 0xA00
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$143, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	orl	$1536, %eax                     ## imm = 0x600
	movq	%rbx, %rdi
	movl	$143, %esi
	movl	%eax, %edx
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$165, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 12(%rcx)
	orl	$1536, %eax                     ## imm = 0x600
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	movl	$165, %esi
	movl	%eax, %edx
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 16(%rcx)
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	_NPHY_TBL_ID_AFECTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-36(%rbp), %r14
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_read_nphy
	movl	-36(%rbp), %eax
	movq	(%rbx), %rcx
	movl	%eax, 20(%rcx)
	movl	$0, -36(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$19, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_read_nphy
	movl	-36(%rbp), %eax
	movq	(%rbx), %rcx
	movl	%eax, 24(%rcx)
	movl	$0, -36(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$19, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%rbx, %rdi
	movl	$145, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 28(%rcx)
	movq	%rbx, %rdi
	movl	$146, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 32(%rcx)
	xorl	%edx, %edx
	cmpq	$0, 24(%rbx)
	sete	%dl
	movq	_NPHY_RfctrlIntc_override_PA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %r14
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	orl	(%r14), %ecx
	movq	%rbx, %rdi
	callq	_wlc_phy_rfctrlintc_override_nphy
	movq	_NPHY_RfctrlIntc_override_TRSW@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r14), %ecx
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_wlc_phy_rfctrlintc_override_nphy
	movl	(%r12), %esi
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_wlc_phy_rfctrlintc_override_nphy
	movq	%rbx, %rdi
	movl	$663, %esi                      ## imm = 0x297
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 36(%rcx)
	movq	%rbx, %rdi
	movl	$667, %esi                      ## imm = 0x29B
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 40(%rcx)
	movq	_PHY_CORE_0@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	setne	%al
	leal	663(,%rax,4), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpl	$1, (%r14)
	setne	%al
	leal	663(,%rax,4), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movl	12(%rbx), %edi
	movl	$7, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	12(%rbx), %edi
	movl	$8, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wlc_phy_read_lpf_bw_ctl_nphy
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, %rdi
	movl	$128, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
LBB0_4:
	cmpq	$0, 24(%rbx)
	je	LBB0_14
## %bb.5:
	cmpl	$0, 16(%rbx)
	jne	LBB0_14
## %bb.6:
	movl	12(%rbx), %edi
	movl	$7, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	_RADIO_2057_OVR_REG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16, %edx
	movl	$16, %ecx
	callq	_mod_radio_reg
	movl	8(%rbx), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_RADIO_2057_PAD2G_TUNE_PUS_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2057_PAD2G_TUNE_PUS_CORE1@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movl	$61440, %edx                    ## imm = 0xF000
	movl	$40960, %ecx                    ## imm = 0xA000
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$167, %esi
	movl	$61440, %edx                    ## imm = 0xF000
	movl	$40960, %ecx                    ## imm = 0xA000
	callq	_mod_phy_reg
	movq	%rbx, %rdi
	movl	$165, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	orl	$12288, %eax                    ## imm = 0x3000
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	movl	$165, %esi
	movl	%eax, %edx
	callq	_write_phy_reg
	movq	_NPHY_TBL_ID_AFECTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-36(%rbp), %r14
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_read_nphy
	movl	-36(%rbp), %eax
	movq	(%rbx), %rcx
	movl	%eax, 12(%rcx)
	orl	$8192, %eax                     ## imm = 0x2000
	movl	%eax, -36(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$18, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_read_nphy
	movl	-36(%rbp), %eax
	movq	(%rbx), %rcx
	movl	%eax, 16(%rcx)
	orl	$8192, %eax                     ## imm = 0x2000
	movl	%eax, -36(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$18, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%rbx, %rdi
	movl	$145, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 20(%rcx)
	movq	%rbx, %rdi
	movl	$146, %esi
	callq	_read_phy_reg
	movq	(%rbx), %rcx
	movl	%eax, 24(%rcx)
	movl	8(%rbx), %edi
	callq	_CHSPEC_IS5G
	testq	%rax, %rax
	movl	$288, %eax                      ## imm = 0x120
	movl	$384, %edx                      ## imm = 0x180
	cmovel	%eax, %edx
	movl	%edx, -36(%rbp)
	movq	%rbx, %rdi
	movl	$145, %esi
	callq	_write_phy_reg
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	$146, %esi
	callq	_write_phy_reg
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	12(%rbx), %edi
	movl	$8, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	jmp	LBB0_14
LBB0_10:
	movq	_RADIO_2057_IPA5G_CASCOFFV_PU_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2057_IPA5G_CASCOFFV_PU_CORE1@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_radio_reg
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_NPHY_TBL_ID_AFECTRL,4,2        ## @NPHY_TBL_ID_AFECTRL
	.comm	_NPHY_RfctrlIntc_override_PA,4,2 ## @NPHY_RfctrlIntc_override_PA
	.comm	_RADIO_MIMO_CORESEL_CORE1,4,2   ## @RADIO_MIMO_CORESEL_CORE1
	.comm	_RADIO_MIMO_CORESEL_CORE2,4,2   ## @RADIO_MIMO_CORESEL_CORE2
	.comm	_NPHY_RfctrlIntc_override_TRSW,4,2 ## @NPHY_RfctrlIntc_override_TRSW
	.comm	_PHY_CORE_0,4,2                 ## @PHY_CORE_0
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID1,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID1
	.comm	_RADIO_2057_OVR_REG0,4,2        ## @RADIO_2057_OVR_REG0
	.comm	_RADIO_2057_PAD2G_TUNE_PUS_CORE0,4,2 ## @RADIO_2057_PAD2G_TUNE_PUS_CORE0
	.comm	_RADIO_2057_PAD2G_TUNE_PUS_CORE1,4,2 ## @RADIO_2057_PAD2G_TUNE_PUS_CORE1
	.comm	_RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,4,2 ## @RADIO_2057_IPA5G_CASCOFFV_PU_CORE0
	.comm	_RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,4,2 ## @RADIO_2057_IPA5G_CASCOFFV_PU_CORE1
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.no_dead_strip	_wlc_phy_txcal_physetup_nphy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_txcal_physetup_nphy
_wlc_phy_txcal_physetup_nphy:           ; @wlc_phy_txcal_physetup_nphy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #12]
	mov	w1, #3
	bl	_NREV_GE
	mov	x20, x0
	mov	x0, x19
	mov	w1, #166
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8]
	mov	x0, x19
	mov	w1, #167
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #4]
	mov	x0, x19
	mov	w1, #166
	cbz	x20, LBB0_9
; %bb.1:
	mov	w2, #3840
	mov	w3, #2560
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #3840
	mov	w3, #2560
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #143
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #8]
	orr	w2, w0, #0x600
	mov	x0, x19
	mov	w1, #143
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #165
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #12]
	orr	w2, w0, #0x600
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #165
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #1
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #16]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #32768
	mov	w3, #0
	bl	_mod_phy_reg
Lloh0:
	adrp	x20, _NPHY_TBL_ID_AFECTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NPHY_TBL_ID_AFECTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	w8, [sp, #12]
	ldr	x9, [x19]
	str	w8, [x9, #20]
	str	wzr, [sp, #12]
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #19
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	w8, [sp, #12]
	ldr	x9, [x19]
	str	w8, [x9, #24]
	str	wzr, [sp, #12]
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #19
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	mov	x0, x19
	mov	w1, #145
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #28]
	mov	x0, x19
	mov	w1, #146
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #32]
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w2, eq
Lloh2:
	adrp	x8, _NPHY_RfctrlIntc_override_PA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NPHY_RfctrlIntc_override_PA@GOTPAGEOFF]
Lloh4:
	adrp	x20, _RADIO_MIMO_CORESEL_CORE1@GOTPAGE
Lloh5:
	ldr	x20, [x20, _RADIO_MIMO_CORESEL_CORE1@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w8, [x20]
Lloh7:
	adrp	x21, _RADIO_MIMO_CORESEL_CORE2@GOTPAGE
Lloh8:
	ldr	x21, [x21, _RADIO_MIMO_CORESEL_CORE2@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w3, w9, w8
	mov	x0, x19
	bl	_wlc_phy_rfctrlintc_override_nphy
Lloh9:
	adrp	x22, _NPHY_RfctrlIntc_override_TRSW@GOTPAGE
Lloh10:
	ldr	x22, [x22, _NPHY_RfctrlIntc_override_TRSW@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w3, [x20]
	mov	x0, x19
	mov	w2, #2
	bl	_wlc_phy_rfctrlintc_override_nphy
	ldr	w1, [x22]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w2, #8
	bl	_wlc_phy_rfctrlintc_override_nphy
	mov	w20, #663
	mov	x0, x19
	mov	w1, #663
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #36]
	mov	w21, #667
	mov	x0, x19
	mov	w1, #667
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #40]
Lloh11:
	adrp	x22, _PHY_CORE_0@GOTPAGE
Lloh12:
	ldr	x22, [x22, _PHY_CORE_0@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #0
	csel	w1, w20, w21, eq
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	w8, [x22]
	cmp	w8, #1
	csel	w1, w20, w21, eq
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	w0, [x19, #12]
	mov	w1, #7
	bl	_NREV_IS
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #12]
	mov	w1, #8
	bl	_NREV_GE
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_phy_read_lpf_bw_ctl_nphy
	mov	x2, x0
Lloh13:
	adrp	x8, _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
	mov	x0, x19
	mov	w1, #128
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
LBB0_4:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.5:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_10
; %bb.6:
	ldr	w0, [x19, #12]
	mov	w1, #7
	bl	_NREV_IS
	cbz	x0, LBB0_11
; %bb.7:
Lloh16:
	adrp	x8, _RADIO_2057_OVR_REG0@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RADIO_2057_OVR_REG0@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16
	mov	w3, #16
	bl	_mod_radio_reg
	ldr	w0, [x19, #8]
	bl	_CHSPEC_IS2G
	cbz	x0, LBB0_13
; %bb.8:
Lloh19:
	adrp	x8, _RADIO_2057_PAD2G_TUNE_PUS_CORE0@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RADIO_2057_PAD2G_TUNE_PUS_CORE0@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mod_radio_reg
Lloh22:
	adrp	x8, _RADIO_2057_PAD2G_TUNE_PUS_CORE1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RADIO_2057_PAD2G_TUNE_PUS_CORE1@GOTPAGEOFF]
	b	LBB0_14
LBB0_9:
	mov	w2, #61440
	mov	w3, #40960
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #61440
	mov	w3, #40960
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #165
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #8]
	orr	w2, w0, #0x3000
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #165
	bl	_write_phy_reg
Lloh24:
	adrp	x20, _NPHY_TBL_ID_AFECTRL@GOTPAGE
Lloh25:
	ldr	x20, [x20, _NPHY_TBL_ID_AFECTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #2
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	w8, [sp, #12]
	ldr	x9, [x19]
	str	w8, [x9, #12]
	orr	w8, w8, #0x2000
	str	w8, [sp, #12]
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #2
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #18
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	w8, [sp, #12]
	ldr	x9, [x19]
	str	w8, [x9, #16]
	orr	w8, w8, #0x2000
	str	w8, [sp, #12]
	ldr	w1, [x20]
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #18
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	mov	x0, x19
	mov	w1, #145
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #20]
	mov	x0, x19
	mov	w1, #146
	bl	_read_phy_reg
	ldr	x8, [x19]
	str	w0, [x8, #24]
	ldr	w0, [x19, #8]
	bl	_CHSPEC_IS5G
	cmp	x0, #0
	mov	w8, #384
	mov	w9, #288
	csel	w2, w9, w8, eq
	str	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #145
	bl	_write_phy_reg
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	w1, #146
	bl	_write_phy_reg
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	ldr	w0, [x19, #12]
	mov	w1, #8
	bl	_NREV_GE
	cbz	x0, LBB0_10
; %bb.12:
Lloh26:
	adrp	x8, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGEOFF]
Lloh28:
	ldr	w5, [x8]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #3
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	b	LBB0_10
LBB0_13:
Lloh29:
	adrp	x8, _RADIO_2057_IPA5G_CASCOFFV_PU_CORE0@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RADIO_2057_IPA5G_CASCOFFV_PU_CORE0@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mod_radio_reg
Lloh32:
	adrp	x8, _RADIO_2057_IPA5G_CASCOFFV_PU_CORE1@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RADIO_2057_IPA5G_CASCOFFV_PU_CORE1@GOTPAGEOFF]
LBB0_14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mod_radio_reg
	b	LBB0_10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_NPHY_TBL_ID_AFECTRL,4,2        ; @NPHY_TBL_ID_AFECTRL
	.comm	_NPHY_RfctrlIntc_override_PA,4,2 ; @NPHY_RfctrlIntc_override_PA
	.comm	_RADIO_MIMO_CORESEL_CORE1,4,2   ; @RADIO_MIMO_CORESEL_CORE1
	.comm	_RADIO_MIMO_CORESEL_CORE2,4,2   ; @RADIO_MIMO_CORESEL_CORE2
	.comm	_NPHY_RfctrlIntc_override_TRSW,4,2 ; @NPHY_RfctrlIntc_override_TRSW
	.comm	_PHY_CORE_0,4,2                 ; @PHY_CORE_0
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID1,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID1
	.comm	_RADIO_2057_OVR_REG0,4,2        ; @RADIO_2057_OVR_REG0
	.comm	_RADIO_2057_PAD2G_TUNE_PUS_CORE0,4,2 ; @RADIO_2057_PAD2G_TUNE_PUS_CORE0
	.comm	_RADIO_2057_PAD2G_TUNE_PUS_CORE1,4,2 ; @RADIO_2057_PAD2G_TUNE_PUS_CORE1
	.comm	_RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,4,2 ; @RADIO_2057_IPA5G_CASCOFFV_PU_CORE0
	.comm	_RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,4,2 ; @RADIO_2057_IPA5G_CASCOFFV_PU_CORE1
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.no_dead_strip	_wlc_phy_txcal_physetup_nphy
.subsections_via_symbols
