	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_tx_power_ctrl
_b43_nphy_tx_power_ctrl:                ## @b43_nphy_tx_power_ctrl
	.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
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	8(%rdi), %r12
	movl	16(%rdi), %edi
	callq	_b43_current_band
	movl	%eax, %r14d
	cmpq	$0, 16(%r12)
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_b43_nphy_stay_in_carrier_search
LBB0_2:
	movl	%r15d, (%r12)
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.19:
	movl	$26, %edi
	movl	$64, %esi
	callq	_B43_NTAB16
	movl	24(%r12), %ecx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$84, %edx
	callq	_b43_ntab_write_bulk
	movl	$27, %edi
	movl	$64, %esi
	callq	_B43_NTAB16
	movl	24(%r12), %ecx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$84, %edx
	callq	_b43_ntab_write_bulk
	movq	_B43_NPHY_TXPCTL_CMD_COEFF@GOTPCREL(%rip), %rax
	movq	_B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%esi, %edx
	testl	%esi, %esi
	movl	%edx, %ecx
	cmovel	%esi, %ecx
	cmpl	$3, (%r13)
	cmovll	%esi, %edx
	cmovll	%esi, %ecx
	movq	_B43_NPHY_TXPCTL_CMD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	notl	%edx
	movq	%r13, %rdi
	callq	_b43_phy_maskset
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_25
## %bb.20:
	movl	(%r13), %eax
	cmpl	$18, %eax
	jg	LBB0_26
## %bb.21:
	movl	(%rbx), %esi
	movq	_B43_NPHY_TXPCTL_CMD_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	cmpl	$7, %eax
	jl	LBB0_23
## %bb.22:
	movl	$50, %r15d
	movq	%r13, %rdi
	movl	$50, %ecx
	callq	_b43_phy_maskset
	jmp	LBB0_24
LBB0_3:
	cmpl	$3, (%r13)
	jl	LBB0_6
## %bb.4:
	movq	_B43_NPHY_TXPCTL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movq	_B43_NPHY_TXPCTL_CMD_COEFF@GOTPCREL(%rip), %rcx
	movq	_B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_6
## %bb.5:
	movq	_B43_NPHY_C1_TXPCTL_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	andl	$127, %eax
	movq	8(%r12), %rcx
	movl	%eax, (%rcx)
	movq	_B43_NPHY_C2_TXPCTL_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	andl	$127, %eax
	movq	8(%r12), %rcx
	movl	%eax, 4(%rcx)
LBB0_6:
	movq	_B43_NPHY_TABLE_ADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$26688, %edx                    ## imm = 0x6840
	callq	_b43_phy_write
	movl	$84, %ebx
	movq	_B43_NPHY_TABLE_DATALO@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_b43_phy_write
	decl	%ebx
	jne	LBB0_7
## %bb.8:
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$27712, %edx                    ## imm = 0x6C40
	callq	_b43_phy_write
	movl	$84, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_b43_phy_write
	decl	%ebx
	jne	LBB0_9
## %bb.10:
	movq	_B43_NPHY_TXPCTL_CMD_COEFF@GOTPCREL(%rip), %rax
	movq	_B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%eax, %eax
	cmpl	$3, (%r13)
	jl	LBB0_12
## %bb.11:
	movq	_B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_12:
	orl	%eax, %edx
	movq	_B43_NPHY_TXPCTL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%edx
	movq	%r13, %rdi
	callq	_b43_phy_mask
	movl	$16384, %r14d                   ## imm = 0x4000
	cmpl	$3, (%r13)
	jl	LBB0_14
## %bb.13:
	movq	_B43_NPHY_AFECTL_OVER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$256, %r14d                     ## imm = 0x100
	movq	%r13, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_b43_phy_set
LBB0_14:
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_b43_phy_set
	movl	(%r13), %eax
	movl	$83, %ecx
	cmpl	$2, %eax
	je	LBB0_16
## %bb.15:
	movl	$90, %ecx
	jge	LBB0_38
LBB0_16:
	movq	_B43_NPHY_BPHY_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_B43_NPHY_BPHY_CTL3_SCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%r13, %rdi
	callq	_b43_phy_maskset
	cmpl	$1, (%r13)
	jg	LBB0_38
## %bb.17:
	movq	%r13, %rdi
	callq	_b43_is_40mhz
	testq	%rax, %rax
	je	LBB0_38
## %bb.18:
	movq	%r13, %rdi
	callq	_b43_hf_read
	movq	_B43_HF_TSSIRPSMW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_hf_write
	jmp	LBB0_38
LBB0_23:
	movl	$100, %r15d
	movq	%r13, %rdi
	movl	$100, %ecx
	callq	_b43_phy_maskset
	movl	$-16385, %r14d                  ## imm = 0xBFFF
	cmpl	$2, (%r13)
	jl	LBB0_31
LBB0_24:
	movq	_B43_NPHY_TXPCTL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_B43_NPHY_TXPCTL_INIT_PIDXI1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%r13, %rdi
	movl	%r15d, %ecx
	callq	_b43_phy_maskset
LBB0_25:
	movl	$-16385, %r14d                  ## imm = 0xBFFF
	cmpl	$3, (%r13)
	jl	LBB0_31
LBB0_26:
	movq	8(%r12), %rax
	movl	(%rax), %ecx
	cmpl	$128, %ecx
	je	LBB0_30
## %bb.27:
	cmpl	$128, 4(%rax)
	je	LBB0_30
## %bb.28:
	movl	(%rbx), %esi
	movq	_B43_NPHY_TXPCTL_CMD_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%r13, %rdi
	callq	_b43_phy_maskset
	movl	$-16385, %r14d                  ## imm = 0xBFFF
	cmpl	$2, (%r13)
	jl	LBB0_31
## %bb.29:
	movq	_B43_NPHY_TXPCTL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r12), %rax
	movl	4(%rax), %ecx
	movq	%r13, %rdi
	movl	$-256, %edx
	callq	_b43_phy_maskset
	cmpl	$3, (%r13)
	jl	LBB0_31
LBB0_30:
	movq	_B43_NPHY_AFECTL_OVER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-257, %r14d                    ## imm = 0xFEFF
	movq	%r13, %rdi
	movl	$-257, %edx                     ## imm = 0xFEFF
	callq	_b43_phy_mask
LBB0_31:
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_b43_phy_mask
	movl	(%r13), %eax
	movl	$59, %ecx
	cmpl	$2, %eax
	je	LBB0_33
## %bb.32:
	movl	$64, %ecx
	jge	LBB0_36
LBB0_33:
	movq	_B43_NPHY_BPHY_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-256, %edx
	callq	_b43_phy_maskset
	cmpl	$1, (%r13)
	jg	LBB0_36
## %bb.34:
	movq	%r13, %rdi
	callq	_b43_is_40mhz
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	%r13, %rdi
	callq	_b43_hf_read
	movq	_B43_HF_TSSIRPSMW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	%r13, %rdi
	callq	_b43_hf_write
LBB0_36:
	movq	%r13, %rdi
	callq	_b43_nphy_ipa
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movq	_B43_NPHY_PAPD_EN0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-5, %edx
	callq	_b43_phy_mask
	movq	_B43_NPHY_PAPD_EN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-5, %edx
	callq	_b43_phy_mask
LBB0_38:
	cmpq	$0, 16(%r12)
	je	LBB0_39
## %bb.40:
	movq	%r13, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_nphy_stay_in_carrier_search ## TAILCALL
LBB0_39:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_NPHY_TXPCTL_CMD,4,2        ## @B43_NPHY_TXPCTL_CMD
	.comm	_B43_NPHY_TXPCTL_CMD_COEFF,4,2  ## @B43_NPHY_TXPCTL_CMD_COEFF
	.comm	_B43_NPHY_TXPCTL_CMD_HWPCTLEN,4,2 ## @B43_NPHY_TXPCTL_CMD_HWPCTLEN
	.comm	_B43_NPHY_TXPCTL_CMD_PCTLEN,4,2 ## @B43_NPHY_TXPCTL_CMD_PCTLEN
	.comm	_B43_NPHY_C1_TXPCTL_STAT,4,2    ## @B43_NPHY_C1_TXPCTL_STAT
	.comm	_B43_NPHY_C2_TXPCTL_STAT,4,2    ## @B43_NPHY_C2_TXPCTL_STAT
	.comm	_B43_NPHY_TABLE_ADDR,4,2        ## @B43_NPHY_TABLE_ADDR
	.comm	_B43_NPHY_TABLE_DATALO,4,2      ## @B43_NPHY_TABLE_DATALO
	.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_BPHY_CTL3,4,2         ## @B43_NPHY_BPHY_CTL3
	.comm	_B43_NPHY_BPHY_CTL3_SCALE,4,2   ## @B43_NPHY_BPHY_CTL3_SCALE
	.comm	_B43_HF_TSSIRPSMW,4,2           ## @B43_HF_TSSIRPSMW
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.comm	_B43_NPHY_TXPCTL_CMD_INIT,4,2   ## @B43_NPHY_TXPCTL_CMD_INIT
	.comm	_B43_NPHY_TXPCTL_INIT,4,2       ## @B43_NPHY_TXPCTL_INIT
	.comm	_B43_NPHY_TXPCTL_INIT_PIDXI1,4,2 ## @B43_NPHY_TXPCTL_INIT_PIDXI1
	.comm	_B43_NPHY_PAPD_EN0,4,2          ## @B43_NPHY_PAPD_EN0
	.comm	_B43_NPHY_PAPD_EN1,4,2          ## @B43_NPHY_PAPD_EN1
	.no_dead_strip	_b43_nphy_tx_power_ctrl
.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_power_ctrl
_b43_nphy_tx_power_ctrl:                ; @b43_nphy_tx_power_ctrl
	.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	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	ldr	w0, [x0, #16]
	bl	_b43_current_band
	mov	x20, x0
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_b43_nphy_stay_in_carrier_search
LBB0_2:
	str	w21, [x22]
	cbz	w21, LBB0_7
; %bb.3:
	mov	w0, #26
	mov	w1, #64
	bl	_B43_NTAB16
	mov	x1, x0
	ldr	w3, [x22, #24]
	mov	x0, x19
	mov	w2, #84
	bl	_b43_ntab_write_bulk
	mov	w0, #27
	mov	w1, #64
	bl	_B43_NTAB16
	mov	x1, x0
	ldr	w3, [x22, #24]
	mov	x0, x19
	mov	w2, #84
	bl	_b43_ntab_write_bulk
Lloh0:
	adrp	x8, _B43_NPHY_TXPCTL_CMD_COEFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_CMD_COEFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPAGEOFF]
	ldr	w10, [x19]
Lloh8:
	ldr	w9, [x9]
	orr	w9, w9, w8
	cmp	w8, #0
	csel	w11, wzr, w9, eq
	cmp	w10, #2
	csel	w9, w9, w8, gt
	csel	w3, w11, w8, gt
Lloh9:
	adrp	x21, _B43_NPHY_TXPCTL_CMD@GOTPAGE
Lloh10:
	ldr	x21, [x21, _B43_NPHY_TXPCTL_CMD@GOTPAGEOFF]
	ldr	w1, [x21]
	mvn	w2, w9
	mov	x0, x19
	bl	_b43_phy_maskset
Lloh11:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_26
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #18
	b.gt	LBB0_27
; %bb.5:
	ldr	w1, [x21]
Lloh14:
	adrp	x9, _B43_NPHY_TXPCTL_CMD_INIT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _B43_NPHY_TXPCTL_CMD_INIT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	mvn	w2, w9
	cmp	w8, #7
	b.lt	LBB0_24
; %bb.6:
	mov	w20, #50
	mov	x0, x19
	mov	w3, #50
	bl	_b43_phy_maskset
	b	LBB0_25
LBB0_7:
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_10
; %bb.8:
Lloh17:
	adrp	x8, _B43_NPHY_TXPCTL_CMD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_CMD@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
Lloh20:
	adrp	x8, _B43_NPHY_TXPCTL_CMD_COEFF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_CMD_COEFF@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPAGE
Lloh24:
	ldr	x9, [x9, _B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w0
	b.eq	LBB0_10
; %bb.9:
Lloh29:
	adrp	x8, _B43_NPHY_C1_TXPCTL_STAT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _B43_NPHY_C1_TXPCTL_STAT@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	and	w8, w0, #0x7f
	ldr	x9, [x22, #8]
	str	w8, [x9]
Lloh32:
	adrp	x8, _B43_NPHY_C2_TXPCTL_STAT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _B43_NPHY_C2_TXPCTL_STAT@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	and	w8, w0, #0x7f
	ldr	x9, [x22, #8]
	str	w8, [x9, #4]
LBB0_10:
Lloh35:
	adrp	x21, _B43_NPHY_TABLE_ADDR@GOTPAGE
Lloh36:
	ldr	x21, [x21, _B43_NPHY_TABLE_ADDR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #26688
	bl	_b43_phy_write
	mov	w23, #84
Lloh37:
	adrp	x20, _B43_NPHY_TABLE_DATALO@GOTPAGE
Lloh38:
	ldr	x20, [x20, _B43_NPHY_TABLE_DATALO@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
	subs	w23, w23, #1
	b.ne	LBB0_11
; %bb.12:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #27712
	bl	_b43_phy_write
	mov	w21, #84
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
	subs	w21, w21, #1
	b.ne	LBB0_13
; %bb.14:
Lloh39:
	adrp	x8, _B43_NPHY_TXPCTL_CMD_COEFF@GOTPAGE
Lloh40:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_CMD_COEFF@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPAGE
Lloh43:
	ldr	x9, [x9, _B43_NPHY_TXPCTL_CMD_HWPCTLEN@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
Lloh45:
	adrp	x10, _B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPAGE
Lloh46:
	ldr	x10, [x10, _B43_NPHY_TXPCTL_CMD_PCTLEN@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	cmp	w9, #2
	csel	w9, w10, wzr, gt
	orr	w8, w8, w9
Lloh48:
	adrp	x9, _B43_NPHY_TXPCTL_CMD@GOTPAGE
Lloh49:
	ldr	x9, [x9, _B43_NPHY_TXPCTL_CMD@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x9]
	mvn	w2, w8
	mov	x0, x19
	bl	_b43_phy_mask
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_16
; %bb.15:
Lloh51:
	adrp	x8, _B43_NPHY_AFECTL_OVER1@GOTPAGE
Lloh52:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER1@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	w20, #256
	mov	x0, x19
	mov	w2, #256
	bl	_b43_phy_set
	b	LBB0_17
LBB0_16:
	mov	w20, #16384
LBB0_17:
Lloh54:
	adrp	x8, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh55:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_phy_set
	ldr	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_19
; %bb.18:
	mov	w3, #83
	b	LBB0_21
LBB0_19:
	cmp	w8, #1
	b.gt	LBB0_42
; %bb.20:
	mov	w3, #90
LBB0_21:
Lloh57:
	adrp	x8, _B43_NPHY_BPHY_CTL3@GOTPAGE
Lloh58:
	ldr	x8, [x8, _B43_NPHY_BPHY_CTL3@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
Lloh60:
	adrp	x8, _B43_NPHY_BPHY_CTL3_SCALE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _B43_NPHY_BPHY_CTL3_SCALE@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	x0, x19
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_42
; %bb.22:
	mov	x0, x19
	bl	_b43_is_40mhz
	cbz	x0, LBB0_42
; %bb.23:
	mov	x0, x19
	bl	_b43_hf_read
Lloh63:
	adrp	x8, _B43_HF_TSSIRPSMW@GOTPAGE
Lloh64:
	ldr	x8, [x8, _B43_HF_TSSIRPSMW@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_b43_hf_write
	b	LBB0_42
LBB0_24:
	mov	w20, #100
	mov	x0, x19
	mov	w3, #100
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_32
LBB0_25:
Lloh66:
	adrp	x8, _B43_NPHY_TXPCTL_INIT@GOTPAGE
Lloh67:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_INIT@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
Lloh69:
	adrp	x8, _B43_NPHY_TXPCTL_INIT_PIDXI1@GOTPAGE
Lloh70:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_INIT_PIDXI1@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	x0, x19
	mov	x3, x20
	bl	_b43_phy_maskset
LBB0_26:
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_32
LBB0_27:
	ldr	x8, [x22, #8]
	ldr	w3, [x8]
	cmp	w3, #128
	b.eq	LBB0_29
; %bb.28:
	ldr	w8, [x8, #4]
	cmp	w8, #128
	b.ne	LBB0_30
LBB0_29:
Lloh72:
	adrp	x8, _B43_NPHY_AFECTL_OVER1@GOTPAGE
Lloh73:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER1@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	w20, #-257
	mov	x0, x19
	mov	w2, #-257
	bl	_b43_phy_mask
	b	LBB0_33
LBB0_30:
	ldr	w1, [x21]
Lloh75:
	adrp	x8, _B43_NPHY_TXPCTL_CMD_INIT@GOTPAGE
Lloh76:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_CMD_INIT@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	x0, x19
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_32
; %bb.31:
Lloh78:
	adrp	x8, _B43_NPHY_TXPCTL_INIT@GOTPAGE
Lloh79:
	ldr	x8, [x8, _B43_NPHY_TXPCTL_INIT@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	ldr	x8, [x22, #8]
	ldr	w3, [x8, #4]
	mov	x0, x19
	mov	w2, #-256
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #3
	b.ge	LBB0_29
LBB0_32:
	mov	w20, #-16385
LBB0_33:
Lloh81:
	adrp	x8, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh82:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_phy_mask
	ldr	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_35
; %bb.34:
	mov	w3, #59
	b	LBB0_37
LBB0_35:
	cmp	w8, #1
	b.gt	LBB0_40
; %bb.36:
	mov	w3, #64
LBB0_37:
Lloh84:
	adrp	x8, _B43_NPHY_BPHY_CTL3@GOTPAGE
Lloh85:
	ldr	x8, [x8, _B43_NPHY_BPHY_CTL3@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-256
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_40
; %bb.38:
	mov	x0, x19
	bl	_b43_is_40mhz
	cbz	x0, LBB0_40
; %bb.39:
	mov	x0, x19
	bl	_b43_hf_read
Lloh87:
	adrp	x8, _B43_HF_TSSIRPSMW@GOTPAGE
Lloh88:
	ldr	x8, [x8, _B43_HF_TSSIRPSMW@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x19
	bl	_b43_hf_write
LBB0_40:
	mov	x0, x19
	bl	_b43_nphy_ipa
	cbz	x0, LBB0_42
; %bb.41:
Lloh90:
	adrp	x8, _B43_NPHY_PAPD_EN0@GOTPAGE
Lloh91:
	ldr	x8, [x8, _B43_NPHY_PAPD_EN0@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-5
	bl	_b43_phy_mask
Lloh93:
	adrp	x8, _B43_NPHY_PAPD_EN1@GOTPAGE
Lloh94:
	ldr	x8, [x8, _B43_NPHY_PAPD_EN1@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-5
	bl	_b43_phy_mask
LBB0_42:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_44
; %bb.43:
	mov	x0, x19
	mov	w1, #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_stay_in_carrier_search
LBB0_44:
	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
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_NPHY_TXPCTL_CMD,4,2        ; @B43_NPHY_TXPCTL_CMD
	.comm	_B43_NPHY_TXPCTL_CMD_COEFF,4,2  ; @B43_NPHY_TXPCTL_CMD_COEFF
	.comm	_B43_NPHY_TXPCTL_CMD_HWPCTLEN,4,2 ; @B43_NPHY_TXPCTL_CMD_HWPCTLEN
	.comm	_B43_NPHY_TXPCTL_CMD_PCTLEN,4,2 ; @B43_NPHY_TXPCTL_CMD_PCTLEN
	.comm	_B43_NPHY_C1_TXPCTL_STAT,4,2    ; @B43_NPHY_C1_TXPCTL_STAT
	.comm	_B43_NPHY_C2_TXPCTL_STAT,4,2    ; @B43_NPHY_C2_TXPCTL_STAT
	.comm	_B43_NPHY_TABLE_ADDR,4,2        ; @B43_NPHY_TABLE_ADDR
	.comm	_B43_NPHY_TABLE_DATALO,4,2      ; @B43_NPHY_TABLE_DATALO
	.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_BPHY_CTL3,4,2         ; @B43_NPHY_BPHY_CTL3
	.comm	_B43_NPHY_BPHY_CTL3_SCALE,4,2   ; @B43_NPHY_BPHY_CTL3_SCALE
	.comm	_B43_HF_TSSIRPSMW,4,2           ; @B43_HF_TSSIRPSMW
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.comm	_B43_NPHY_TXPCTL_CMD_INIT,4,2   ; @B43_NPHY_TXPCTL_CMD_INIT
	.comm	_B43_NPHY_TXPCTL_INIT,4,2       ; @B43_NPHY_TXPCTL_INIT
	.comm	_B43_NPHY_TXPCTL_INIT_PIDXI1,4,2 ; @B43_NPHY_TXPCTL_INIT_PIDXI1
	.comm	_B43_NPHY_PAPD_EN0,4,2          ; @B43_NPHY_PAPD_EN0
	.comm	_B43_NPHY_PAPD_EN1,4,2          ; @B43_NPHY_PAPD_EN1
	.no_dead_strip	_b43_nphy_tx_power_ctrl
.subsections_via_symbols
