	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_papd_cal_cleanup_nphy
_wlc_phy_papd_cal_cleanup_nphy:         ## @wlc_phy_papd_cal_cleanup_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_wlc_phy_stopplayback_nphy
	movl	20(%r15), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	movq	_RADIO_2057@GOTPCREL(%rip), %r12
	movq	_TX@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	movl	(%r12), %esi
	movq	_TXRXCOUPLE_2G_PWRUP@GOTPCREL(%rip), %rax
	cmoveq	_TXRXCOUPLE_5G_PWRUP@GOTPCREL(%rip), %rax
	movl	(%r13), %edx
	movl	(%rax), %r8d
	movq	_TXRXCOUPLE_2G_ATTEN@GOTPCREL(%rip), %r14
	cmoveq	_TXRXCOUPLE_5G_ATTEN@GOTPCREL(%rip), %r14
	movq	%r15, %rdi
	movq	%rbx, %rcx
	xorl	%r9d, %r9d
	callq	_WRITE_RADIO_REG3
	movl	(%r12), %esi
	movl	(%r13), %edx
	movl	(%r14), %r8d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	48(%r14), %rax
	movl	(%rax,%rbx,4), %r9d
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_WRITE_RADIO_REG3
	incq	%rbx
	cmpq	8(%r15), %rbx
	jb	LBB0_3
LBB0_4:
	movl	16(%r15), %eax
	orl	$2, %eax
	cmpl	$6, %eax
	jne	LBB0_6
## %bb.5:
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdi
	movl	$4, %esi
	movl	$1, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_7
LBB0_13:
	movq	%r15, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r15, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r15, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r15, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	cmpq	$0, 8(%r15)
	je	LBB0_16
## %bb.14:
	xorl	%ebx, %ebx
	movq	_RADIO_2056@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	_RX@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_VGA_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	40(%r14), %rax
	movl	(%rax,%rbx,4), %r9d
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_WRITE_RADIO_REG2
	movl	(%r15), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_TXFBMIX_G@GOTPCREL(%rip), %rax
	cmoveq	_TXFBMIX_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	32(%r14), %rax
	movl	(%rax,%rbx,4), %r9d
	movq	_INTPAG_MASTER@GOTPCREL(%rip), %r14
	cmoveq	_INTPAA_MASTER@GOTPCREL(%rip), %r14
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_WRITE_RADIO_REG2
	movl	(%r12), %esi
	movq	_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %r8d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	24(%r14), %rax
	movl	(%rax,%rbx,4), %r9d
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_WRITE_RADIO_REG2
	xorl	%esi, %esi
	movq	_PHY_CORE_0@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	callq	_write_phy_reg
	cmpq	(%r13), %rbx
	movl	$165, %esi
	movl	$143, %eax
	cmovel	%eax, %esi
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	callq	_write_phy_reg
	incq	%rbx
	cmpq	8(%r15), %rbx
	jb	LBB0_15
LBB0_16:
	movl	(%r14), %eax
	movzbl	%ah, %esi
	movzbl	%al, %edx
	movq	%r15, %rdi
	callq	_wlc_phy_ipa_set_bbmult_nphy
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wlc_phy_rfctrl_override_nphy   ## TAILCALL
LBB0_6:
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
LBB0_7:
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %r13
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPCREL(%rip), %r12
	movl	(%r12), %r9d
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r12), %r9d
	movq	%r15, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$2048, %esi                     ## imm = 0x800
	movl	$1, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%rbx), %r9d
	movq	%r15, %rdi
	movl	$2048, %esi                     ## imm = 0x800
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%rbx), %r9d
	movq	%r15, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$4, %esi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r12), %r9d
	movq	%r15, %rdi
	movl	$2, %esi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$256, %esi                      ## imm = 0x100
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movl	$1, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$32, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%r13), %r9d
	movq	%r15, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	cmpq	$0, 8(%r15)
	je	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	movq	_PHY_CORE_0@GOTPCREL(%rip), %r12
	movl	$143, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	cmpq	(%r12), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	callq	_write_phy_reg
	cmpq	(%r12), %rbx
	movl	$165, %esi
	cmovel	%r13d, %esi
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	callq	_write_phy_reg
	incq	%rbx
	cmpq	8(%r15), %rbx
	jb	LBB0_9
LBB0_10:
	movl	(%r14), %eax
	movzbl	%ah, %esi
	movzbl	%al, %edx
	movq	%r15, %rdi
	callq	_wlc_phy_ipa_set_bbmult_nphy
	movl	20(%r15), %edi
	movl	$7, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movl	20(%r15), %edi
	movl	$8, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_17
LBB0_12:
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdi
	movl	$128, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wlc_phy_rfctrl_override_nphy_rev7 ## TAILCALL
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_2057,4,2                 ## @RADIO_2057
	.comm	_TX,4,2                         ## @TX
	.comm	_TXRXCOUPLE_2G_PWRUP,4,2        ## @TXRXCOUPLE_2G_PWRUP
	.comm	_TXRXCOUPLE_2G_ATTEN,4,2        ## @TXRXCOUPLE_2G_ATTEN
	.comm	_TXRXCOUPLE_5G_PWRUP,4,2        ## @TXRXCOUPLE_5G_PWRUP
	.comm	_TXRXCOUPLE_5G_ATTEN,4,2        ## @TXRXCOUPLE_5G_ATTEN
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID1,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID1
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID2,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID2
	.comm	_PHY_CORE_0,8,3                 ## @PHY_CORE_0
	.comm	_RADIO_2056,4,2                 ## @RADIO_2056
	.comm	_RX,4,2                         ## @RX
	.comm	_VGA_MASTER,4,2                 ## @VGA_MASTER
	.comm	_TXFBMIX_G,4,2                  ## @TXFBMIX_G
	.comm	_INTPAG_MASTER,4,2              ## @INTPAG_MASTER
	.comm	_TXFBMIX_A,4,2                  ## @TXFBMIX_A
	.comm	_INTPAA_MASTER,4,2              ## @INTPAA_MASTER
	.no_dead_strip	_wlc_phy_papd_cal_cleanup_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_papd_cal_cleanup_nphy
_wlc_phy_papd_cal_cleanup_nphy:         ; @wlc_phy_papd_cal_cleanup_nphy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x19, x0
	bl	_wlc_phy_stopplayback_nphy
	ldr	w0, [x19, #20]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x21, #0
Lloh0:
	adrp	x22, _RADIO_2057@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RADIO_2057@GOTPAGEOFF]
Lloh2:
	adrp	x23, _TX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _TX@GOTPAGEOFF]
Lloh4:
	adrp	x24, _TXRXCOUPLE_5G_PWRUP@GOTPAGE
Lloh5:
	ldr	x24, [x24, _TXRXCOUPLE_5G_PWRUP@GOTPAGEOFF]
Lloh6:
	adrp	x25, _TXRXCOUPLE_2G_PWRUP@GOTPAGE
Lloh7:
	ldr	x25, [x25, _TXRXCOUPLE_2G_PWRUP@GOTPAGEOFF]
Lloh8:
	adrp	x26, _TXRXCOUPLE_5G_ATTEN@GOTPAGE
Lloh9:
	ldr	x26, [x26, _TXRXCOUPLE_5G_ATTEN@GOTPAGEOFF]
Lloh10:
	adrp	x27, _TXRXCOUPLE_2G_ATTEN@GOTPAGE
Lloh11:
	ldr	x27, [x27, _TXRXCOUPLE_2G_ATTEN@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_CHSPEC_IS2G
	ldr	w1, [x22]
	ldr	w2, [x23]
	cmp	x0, #0
	csel	x8, x24, x25, eq
	ldr	w4, [x8]
	csel	x28, x26, x27, eq
	mov	x0, x19
	mov	x3, x21
	mov	w5, #0
	bl	_WRITE_RADIO_REG3
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w4, [x28]
	ldr	x8, [x20, #48]
	ldr	w5, [x8, x21, lsl #2]
	mov	x0, x19
	mov	x3, x21
	bl	_WRITE_RADIO_REG3
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	cmp	x21, x8
	b.lo	LBB0_3
LBB0_4:
	ldr	w8, [x19, #16]
	orr	w8, w8, #0x2
Lloh12:
	adrp	x22, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGE
Lloh13:
	ldr	x22, [x22, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGEOFF]
	cmp	w8, #6
	b.ne	LBB0_10
; %bb.5:
	ldr	w5, [x22]
	mov	x0, x19
	mov	w1, #4
	mov	w2, #1
	mov	w3, #3
	mov	w4, #0
	b	LBB0_11
LBB0_6:
	mov	x0, x19
	mov	w1, #4096
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x19
	mov	w1, #8192
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x21, #0
Lloh14:
	adrp	x22, _RADIO_2056@GOTPAGE
Lloh15:
	ldr	x22, [x22, _RADIO_2056@GOTPAGEOFF]
Lloh16:
	adrp	x23, _RX@GOTPAGE
Lloh17:
	ldr	x23, [x23, _RX@GOTPAGEOFF]
	mov	w26, #165
	mov	w27, #143
Lloh18:
	adrp	x28, _PHY_CORE_0@GOTPAGE
Lloh19:
	ldr	x28, [x28, _PHY_CORE_0@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh20:
	adrp	x8, _VGA_MASTER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VGA_MASTER@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	ldr	x8, [x20, #40]
	lsl	x24, x21, #2
	ldr	w5, [x8, x24]
	mov	x0, x19
	mov	x3, x21
	bl	_WRITE_RADIO_REG2
	ldr	w0, [x19]
	bl	_CHSPEC_IS2G
	ldr	w1, [x22]
	ldr	w2, [x23]
	cmp	x0, #0
Lloh23:
	adrp	x8, _TXFBMIX_A@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TXFBMIX_A@GOTPAGEOFF]
Lloh25:
	adrp	x9, _TXFBMIX_G@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TXFBMIX_G@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w4, [x8]
	ldr	x8, [x20, #32]
	ldr	w5, [x8, x24]
Lloh27:
	adrp	x8, _INTPAA_MASTER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _INTPAA_MASTER@GOTPAGEOFF]
Lloh29:
	adrp	x9, _INTPAG_MASTER@GOTPAGE
Lloh30:
	ldr	x9, [x9, _INTPAG_MASTER@GOTPAGEOFF]
	csel	x25, x8, x9, eq
	mov	x0, x19
	mov	x3, x21
	bl	_WRITE_RADIO_REG2
	ldr	w1, [x22]
Lloh31:
	adrp	x8, _TX@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TX@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	ldr	w4, [x25]
	ldr	x8, [x20, #24]
	ldr	w5, [x8, x24]
	mov	x0, x19
	mov	x3, x21
	bl	_WRITE_RADIO_REG2
	ldr	x8, [x28]
	cmp	x21, x8
	mov	w8, #166
	cinc	w1, w8, ne
	ldr	x8, [x20, #16]
	ldr	w2, [x8, x24]
	mov	x0, x19
	bl	_write_phy_reg
	ldr	x8, [x28]
	cmp	x21, x8
	csel	w1, w27, w26, eq
	ldr	x8, [x20, #8]
	ldr	w2, [x8, x24]
	mov	x0, x19
	bl	_write_phy_reg
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	cmp	x21, x8
	b.lo	LBB0_8
LBB0_9:
	ldr	w8, [x20]
	ubfx	w1, w8, #8, #8
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_wlc_phy_ipa_set_bbmult_nphy
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_wlc_phy_rfctrl_override_nphy
LBB0_10:
	ldr	w5, [x22]
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
LBB0_11:
	bl	_wlc_phy_rfctrl_override_nphy_rev7
Lloh34:
	adrp	x21, _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPAGE
Lloh35:
	ldr	x21, [x21, _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPAGEOFF]
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
Lloh36:
	adrp	x23, _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPAGE
Lloh37:
	ldr	x23, [x23, _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPAGEOFF]
	ldr	w5, [x23]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x23]
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #2048
	mov	w2, #1
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x22]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x22]
	mov	x0, x19
	mov	w1, #2048
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x22]
	mov	x0, x19
	mov	w1, #4096
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #4
	mov	w2, #1
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x23]
	mov	x0, x19
	mov	w1, #2
	mov	w2, #1
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #256
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #512
	mov	w2, #1
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #1024
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #1
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #32
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	mov	w3, #3
	mov	w4, #1
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.12:
	mov	x22, #0
Lloh38:
	adrp	x23, _PHY_CORE_0@GOTPAGE
Lloh39:
	ldr	x23, [x23, _PHY_CORE_0@GOTPAGEOFF]
	mov	w24, #166
	mov	w25, #165
	mov	w26, #143
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	cmp	x22, x8
	cinc	w1, w24, ne
	ldr	x8, [x20, #16]
	lsl	x27, x22, #2
	ldr	w2, [x8, x27]
	mov	x0, x19
	bl	_write_phy_reg
	ldr	x8, [x23]
	cmp	x22, x8
	csel	w1, w26, w25, eq
	ldr	x8, [x20, #8]
	ldr	w2, [x8, x27]
	mov	x0, x19
	bl	_write_phy_reg
	add	x22, x22, #1
	ldr	x8, [x19, #8]
	cmp	x22, x8
	b.lo	LBB0_13
LBB0_14:
	ldr	w8, [x20]
	ubfx	w1, w8, #8, #8
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_wlc_phy_ipa_set_bbmult_nphy
	ldr	w0, [x19, #20]
	mov	w1, #7
	bl	_NREV_IS
	cbnz	x0, LBB0_16
; %bb.15:
	ldr	w0, [x19, #20]
	mov	w1, #8
	bl	_NREV_GE
	cbz	x0, LBB0_17
LBB0_16:
	ldr	w5, [x21]
	mov	x0, x19
	mov	w1, #128
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_wlc_phy_rfctrl_override_nphy_rev7
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_2057,4,2                 ; @RADIO_2057
	.comm	_TX,4,2                         ; @TX
	.comm	_TXRXCOUPLE_2G_PWRUP,4,2        ; @TXRXCOUPLE_2G_PWRUP
	.comm	_TXRXCOUPLE_2G_ATTEN,4,2        ; @TXRXCOUPLE_2G_ATTEN
	.comm	_TXRXCOUPLE_5G_PWRUP,4,2        ; @TXRXCOUPLE_5G_PWRUP
	.comm	_TXRXCOUPLE_5G_ATTEN,4,2        ; @TXRXCOUPLE_5G_ATTEN
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID1,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID1
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID2,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID2
	.comm	_PHY_CORE_0,8,3                 ; @PHY_CORE_0
	.comm	_RADIO_2056,4,2                 ; @RADIO_2056
	.comm	_RX,4,2                         ; @RX
	.comm	_VGA_MASTER,4,2                 ; @VGA_MASTER
	.comm	_TXFBMIX_G,4,2                  ; @TXFBMIX_G
	.comm	_INTPAG_MASTER,4,2              ; @INTPAG_MASTER
	.comm	_TXFBMIX_A,4,2                  ; @TXFBMIX_A
	.comm	_INTPAA_MASTER,4,2              ; @INTPAA_MASTER
	.no_dead_strip	_wlc_phy_papd_cal_cleanup_nphy
.subsections_via_symbols
