	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_tx_cal_phy_setup
_b43_nphy_tx_cal_phy_setup:             ## @b43_nphy_tx_cal_phy_setup
	.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	%rdi, %r14
	movq	16(%rdi), %r12
	movq	(%r12), %r15
	movq	_B43_NPHY_AFECTL_C1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_b43_phy_read
	movl	%eax, (%r15)
	movq	_B43_NPHY_AFECTL_C2@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 4(%r15)
	cmpl	$3, 8(%r14)
	movl	(%rbx), %esi
	movq	%r14, %rdi
	jl	LBB0_13
## %bb.1:
	movl	$61695, %edx                    ## imm = 0xF0FF
	movl	$2560, %ecx                     ## imm = 0xA00
	callq	_b43_phy_maskset
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$61695, %edx                    ## imm = 0xF0FF
	movl	$2560, %ecx                     ## imm = 0xA00
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_OVER1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 8(%r15)
	movl	(%rbx), %esi
	orl	$1536, %eax                     ## imm = 0x600
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_b43_phy_write
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 12(%r15)
	movl	(%rbx), %esi
	orl	$1536, %eax                     ## imm = 0x600
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_b43_phy_write
	movq	_B43_NPHY_BBCFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 16(%r15)
	movl	(%rbx), %esi
	movq	_B43_NPHY_BBCFG_RSTRX@GOTPCREL(%rip), %rax
	movzwl	(%rax), %edx
	xorl	$65535, %edx                    ## imm = 0xFFFF
	movq	%r14, %rdi
	callq	_b43_phy_mask
	movl	$8, %edi
	movl	$3, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_read
	movl	%eax, 20(%r15)
	movl	$8, %edi
	movl	$3, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_b43_ntab_write
	movl	$8, %edi
	movl	$19, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_read
	movl	%eax, 24(%r15)
	movl	$8, %edi
	movl	$19, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_b43_ntab_write
	movq	_B43_NPHY_RFCTL_INTC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 28(%r15)
	movq	_B43_NPHY_RFCTL_INTC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 32(%r15)
	xorl	%edx, %edx
	cmpq	$0, 8(%r12)
	sete	%dl
	movq	_N_INTC_OVERRIDE_PA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3, %ecx
	callq	_b43_nphy_rf_ctl_intc_override
	movq	_N_INTC_OVERRIDE_TRSW@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_b43_nphy_rf_ctl_intc_override
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$8, %edx
	movl	$2, %ecx
	callq	_b43_nphy_rf_ctl_intc_override
	movq	_B43_NPHY_PAPD_EN0@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 36(%r15)
	movq	_B43_NPHY_PAPD_EN1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 40(%r15)
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$-2, %edx
	callq	_b43_phy_mask
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$-2, %edx
	callq	_b43_phy_mask
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_b43_nphy_read_lpf_ctl
	movl	8(%r14), %ecx
	cmpl	$19, %ecx
	jl	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$128, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_b43_nphy_rf_ctl_override_rev19
	jmp	LBB0_5
LBB0_13:
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	$40960, %ecx                    ## imm = 0xA000
	callq	_b43_phy_maskset
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	$40960, %ecx                    ## imm = 0xA000
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 8(%r15)
	movl	(%rbx), %esi
	orl	$12288, %eax                    ## imm = 0x3000
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_b43_phy_write
	movl	$8, %edi
	movl	$2, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_read
	movl	%eax, %ebx
	movl	%eax, 12(%r15)
	orl	$8192, %ebx                     ## imm = 0x2000
	movl	$8, %edi
	movl	$2, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_b43_ntab_write
	movl	$8, %edi
	movl	$18, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_read
	movl	%eax, %ebx
	movl	%eax, 16(%r15)
	orl	$8192, %ebx                     ## imm = 0x2000
	movl	$8, %edi
	movl	$18, %esi
	callq	_B43_NTAB16
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_b43_ntab_write
	movq	_B43_NPHY_RFCTL_INTC1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 20(%r15)
	movq	_B43_NPHY_RFCTL_INTC2@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, 24(%r15)
	movl	(%r14), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$384, %eax                      ## imm = 0x180
	movl	$288, %ebx                      ## imm = 0x120
	cmovel	%eax, %ebx
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
LBB0_3:
	cmpl	$7, %ecx
	jl	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movl	$128, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_b43_nphy_rf_ctl_override_rev7
LBB0_5:
	cmpq	$0, 8(%r12)
	je	LBB0_14
## %bb.6:
	movl	8(%r14), %eax
	cmpl	$19, %eax
	jl	LBB0_7
## %bb.15:
	movq	%r14, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_nphy_rf_ctl_override_rev19 ## TAILCALL
LBB0_7:
	cmpl	$8, %eax
	jl	LBB0_8
## %bb.16:
	movq	%r14, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_nphy_rf_ctl_override_rev7  ## TAILCALL
LBB0_8:
	cmpl	$7, %eax
	jne	LBB0_14
## %bb.9:
	movq	_R2057_OVR_REG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$16, %edx
	movl	$16, %ecx
	callq	_b43_radio_maskset
	movl	(%r14), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	_R2057_PAD2G_TUNE_PUS_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-2, %edx
	xorl	%ecx, %ecx
	callq	_b43_radio_maskset
	movq	_R2057_PAD2G_TUNE_PUS_CORE1@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_R2057_IPA5G_CASCOFFV_PU_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-2, %edx
	xorl	%ecx, %ecx
	callq	_b43_radio_maskset
	movq	_R2057_IPA5G_CASCOFFV_PU_CORE1@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-2, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_radio_maskset              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_NPHY_AFECTL_C1,4,2         ## @B43_NPHY_AFECTL_C1
	.comm	_B43_NPHY_AFECTL_C2,4,2         ## @B43_NPHY_AFECTL_C2
	.comm	_B43_NPHY_AFECTL_OVER1,4,2      ## @B43_NPHY_AFECTL_OVER1
	.comm	_B43_NPHY_AFECTL_OVER,4,2       ## @B43_NPHY_AFECTL_OVER
	.comm	_B43_NPHY_BBCFG,4,2             ## @B43_NPHY_BBCFG
	.comm	_B43_NPHY_BBCFG_RSTRX,4,2       ## @B43_NPHY_BBCFG_RSTRX
	.comm	_B43_NPHY_RFCTL_INTC1,4,2       ## @B43_NPHY_RFCTL_INTC1
	.comm	_B43_NPHY_RFCTL_INTC2,4,2       ## @B43_NPHY_RFCTL_INTC2
	.comm	_N_INTC_OVERRIDE_PA,4,2         ## @N_INTC_OVERRIDE_PA
	.comm	_N_INTC_OVERRIDE_TRSW,4,2       ## @N_INTC_OVERRIDE_TRSW
	.comm	_B43_NPHY_PAPD_EN0,4,2          ## @B43_NPHY_PAPD_EN0
	.comm	_B43_NPHY_PAPD_EN1,4,2          ## @B43_NPHY_PAPD_EN1
	.comm	_R2057_OVR_REG0,4,2             ## @R2057_OVR_REG0
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_R2057_PAD2G_TUNE_PUS_CORE0,4,2 ## @R2057_PAD2G_TUNE_PUS_CORE0
	.comm	_R2057_PAD2G_TUNE_PUS_CORE1,4,2 ## @R2057_PAD2G_TUNE_PUS_CORE1
	.comm	_R2057_IPA5G_CASCOFFV_PU_CORE0,4,2 ## @R2057_IPA5G_CASCOFFV_PU_CORE0
	.comm	_R2057_IPA5G_CASCOFFV_PU_CORE1,4,2 ## @R2057_IPA5G_CASCOFFV_PU_CORE1
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.no_dead_strip	_b43_nphy_tx_cal_phy_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_nphy_tx_cal_phy_setup
_b43_nphy_tx_cal_phy_setup:             ; @b43_nphy_tx_cal_phy_setup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x21, [x20]
Lloh0:
	adrp	x23, _B43_NPHY_AFECTL_C1@GOTPAGE
Lloh1:
	ldr	x23, [x23, _B43_NPHY_AFECTL_C1@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_b43_phy_read
	str	w0, [x21]
Lloh2:
	adrp	x22, _B43_NPHY_AFECTL_C2@GOTPAGE
Lloh3:
	ldr	x22, [x22, _B43_NPHY_AFECTL_C2@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #4]
	ldr	w8, [x19, #8]
	ldr	w1, [x23]
	mov	x0, x19
	cmp	w8, #3
	b.lt	LBB0_3
; %bb.1:
	mov	w2, #61695
	mov	w3, #2560
	bl	_b43_phy_maskset
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #61695
	mov	w3, #2560
	bl	_b43_phy_maskset
Lloh4:
	adrp	x22, _B43_NPHY_AFECTL_OVER1@GOTPAGE
Lloh5:
	ldr	x22, [x22, _B43_NPHY_AFECTL_OVER1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #8]
	ldr	w1, [x22]
	orr	w2, w0, #0x600
	mov	x0, x19
	bl	_b43_phy_write
Lloh6:
	adrp	x22, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh7:
	ldr	x22, [x22, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #12]
	ldr	w1, [x22]
	orr	w2, w0, #0x600
	mov	x0, x19
	bl	_b43_phy_write
Lloh8:
	adrp	x22, _B43_NPHY_BBCFG@GOTPAGE
Lloh9:
	ldr	x22, [x22, _B43_NPHY_BBCFG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #16]
	ldr	w1, [x22]
Lloh10:
	adrp	x8, _B43_NPHY_BBCFG_RSTRX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B43_NPHY_BBCFG_RSTRX@GOTPAGEOFF]
	ldrh	w8, [x8]
	eor	w2, w8, #0xffff
	mov	x0, x19
	bl	_b43_phy_mask
	mov	w0, #8
	mov	w1, #3
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	bl	_b43_ntab_read
	str	w0, [x21, #20]
	mov	w0, #8
	mov	w1, #3
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_b43_ntab_write
	mov	w0, #8
	mov	w1, #19
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	bl	_b43_ntab_read
	str	w0, [x21, #24]
	mov	w0, #8
	mov	w1, #19
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_b43_ntab_write
Lloh12:
	adrp	x8, _B43_NPHY_RFCTL_INTC1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_NPHY_RFCTL_INTC1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #28]
Lloh15:
	adrp	x8, _B43_NPHY_RFCTL_INTC2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B43_NPHY_RFCTL_INTC2@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #32]
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w2, eq
Lloh18:
	adrp	x8, _N_INTC_OVERRIDE_PA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _N_INTC_OVERRIDE_PA@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w3, #3
	bl	_b43_nphy_rf_ctl_intc_override
Lloh21:
	adrp	x22, _N_INTC_OVERRIDE_TRSW@GOTPAGE
Lloh22:
	ldr	x22, [x22, _N_INTC_OVERRIDE_TRSW@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #1
	bl	_b43_nphy_rf_ctl_intc_override
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #8
	mov	w3, #2
	bl	_b43_nphy_rf_ctl_intc_override
Lloh23:
	adrp	x22, _B43_NPHY_PAPD_EN0@GOTPAGE
Lloh24:
	ldr	x22, [x22, _B43_NPHY_PAPD_EN0@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #36]
Lloh25:
	adrp	x23, _B43_NPHY_PAPD_EN1@GOTPAGE
Lloh26:
	ldr	x23, [x23, _B43_NPHY_PAPD_EN1@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #40]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-2
	bl	_b43_phy_mask
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #-2
	bl	_b43_phy_mask
	mov	x0, x19
	mov	w1, #0
	bl	_b43_nphy_read_lpf_ctl
	mov	x2, x0
	ldr	w8, [x19, #8]
	cmp	w8, #19
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #128
	mov	w3, #0
	mov	w4, #0
	mov	w5, #1
	bl	_b43_nphy_rf_ctl_override_rev19
	b	LBB0_6
LBB0_3:
	mov	w2, #4095
	mov	w3, #40960
	bl	_b43_phy_maskset
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #4095
	mov	w3, #40960
	bl	_b43_phy_maskset
Lloh27:
	adrp	x20, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh28:
	ldr	x20, [x20, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #8]
	ldr	w1, [x20]
	orr	w2, w0, #0x3000
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #8
	mov	w1, #2
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	bl	_b43_ntab_read
	str	w0, [x21, #12]
	orr	w20, w0, #0x2000
	mov	w0, #8
	mov	w1, #2
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_b43_ntab_write
	mov	w0, #8
	mov	w1, #18
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	bl	_b43_ntab_read
	str	w0, [x21, #16]
	orr	w20, w0, #0x2000
	mov	w0, #8
	mov	w1, #18
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_b43_ntab_write
Lloh29:
	adrp	x22, _B43_NPHY_RFCTL_INTC1@GOTPAGE
Lloh30:
	ldr	x22, [x22, _B43_NPHY_RFCTL_INTC1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #20]
Lloh31:
	adrp	x23, _B43_NPHY_RFCTL_INTC2@GOTPAGE
Lloh32:
	ldr	x23, [x23, _B43_NPHY_RFCTL_INTC2@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [x21, #24]
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh33:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #288
	mov	w9, #384
	csel	w20, w9, w8, eq
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_phy_write
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b43_phy_write
LBB0_4:
	cmp	w8, #7
	b.lt	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #128
	mov	w3, #0
	mov	w4, #0
	mov	w5, #1
	bl	_b43_nphy_rf_ctl_override_rev7
LBB0_6:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_14
; %bb.7:
	ldr	w8, [x19, #8]
	cmp	w8, #19
	b.lt	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #3
	mov	w4, #0
	mov	w5, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b43_nphy_rf_ctl_override_rev19
LBB0_9:
	cmp	w8, #8
	b.lt	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #3
	mov	w4, #0
	mov	w5, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b43_nphy_rf_ctl_override_rev7
LBB0_11:
	cmp	w8, #7
	b.ne	LBB0_14
; %bb.12:
Lloh36:
	adrp	x8, _R2057_OVR_REG0@GOTPAGE
Lloh37:
	ldr	x8, [x8, _R2057_OVR_REG0@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16
	mov	w3, #16
	bl	_b43_radio_maskset
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh39:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.13:
Lloh42:
	adrp	x8, _R2057_PAD2G_TUNE_PUS_CORE0@GOTPAGE
Lloh43:
	ldr	x8, [x8, _R2057_PAD2G_TUNE_PUS_CORE0@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-2
	mov	w3, #0
	bl	_b43_radio_maskset
Lloh45:
	adrp	x8, _R2057_PAD2G_TUNE_PUS_CORE1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _R2057_PAD2G_TUNE_PUS_CORE1@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh47:
	adrp	x8, _R2057_IPA5G_CASCOFFV_PU_CORE0@GOTPAGE
Lloh48:
	ldr	x8, [x8, _R2057_IPA5G_CASCOFFV_PU_CORE0@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-2
	mov	w3, #0
	bl	_b43_radio_maskset
Lloh50:
	adrp	x8, _R2057_IPA5G_CASCOFFV_PU_CORE1@GOTPAGE
Lloh51:
	ldr	x8, [x8, _R2057_IPA5G_CASCOFFV_PU_CORE1@GOTPAGEOFF]
LBB0_16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-2
	mov	w3, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b43_radio_maskset
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_NPHY_AFECTL_C1,4,2         ; @B43_NPHY_AFECTL_C1
	.comm	_B43_NPHY_AFECTL_C2,4,2         ; @B43_NPHY_AFECTL_C2
	.comm	_B43_NPHY_AFECTL_OVER1,4,2      ; @B43_NPHY_AFECTL_OVER1
	.comm	_B43_NPHY_AFECTL_OVER,4,2       ; @B43_NPHY_AFECTL_OVER
	.comm	_B43_NPHY_BBCFG,4,2             ; @B43_NPHY_BBCFG
	.comm	_B43_NPHY_BBCFG_RSTRX,4,2       ; @B43_NPHY_BBCFG_RSTRX
	.comm	_B43_NPHY_RFCTL_INTC1,4,2       ; @B43_NPHY_RFCTL_INTC1
	.comm	_B43_NPHY_RFCTL_INTC2,4,2       ; @B43_NPHY_RFCTL_INTC2
	.comm	_N_INTC_OVERRIDE_PA,4,2         ; @N_INTC_OVERRIDE_PA
	.comm	_N_INTC_OVERRIDE_TRSW,4,2       ; @N_INTC_OVERRIDE_TRSW
	.comm	_B43_NPHY_PAPD_EN0,4,2          ; @B43_NPHY_PAPD_EN0
	.comm	_B43_NPHY_PAPD_EN1,4,2          ; @B43_NPHY_PAPD_EN1
	.comm	_R2057_OVR_REG0,4,2             ; @R2057_OVR_REG0
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_R2057_PAD2G_TUNE_PUS_CORE0,4,2 ; @R2057_PAD2G_TUNE_PUS_CORE0
	.comm	_R2057_PAD2G_TUNE_PUS_CORE1,4,2 ; @R2057_PAD2G_TUNE_PUS_CORE1
	.comm	_R2057_IPA5G_CASCOFFV_PU_CORE0,4,2 ; @R2057_IPA5G_CASCOFFV_PU_CORE0
	.comm	_R2057_IPA5G_CASCOFFV_PU_CORE1,4,2 ; @R2057_IPA5G_CASCOFFV_PU_CORE1
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.no_dead_strip	_b43_nphy_tx_cal_phy_setup
.subsections_via_symbols
