	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_wa_altagc
_b43_wa_altagc:                         ## @b43_wa_altagc
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpl	$1, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	_B43_OFDMTAB_AGC1_R1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$254, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$13, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$19, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$3, %edx
	movl	$25, %ecx
	callq	_b43_ofdmtab_write16
	movq	_B43_OFDMTAB_AGC2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$10000, %ecx                    ## imm = 0x2710
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$39811, %ecx                    ## imm = 0x9B83
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$39811, %ecx                    ## imm = 0x9B83
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$3, %edx
	movl	$3981, %ecx                     ## imm = 0xF8D
	callq	_b43_ofdmtab_write16
	movq	_B43_PHY_LMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_b43_phy_write
	jmp	LBB0_3
LBB0_2:
	movq	_B43_OFDMTAB_AGC1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$254, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$13, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$19, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$3, %edx
	movl	$25, %ecx
	callq	_b43_ofdmtab_write16
LBB0_3:
	movq	_B43_PHY_CCKSHIFTBITS_WA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$255, %edx
	movl	$22272, %ecx                    ## imm = 0x5700
	callq	_b43_phy_maskset
	movl	$26, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-128, %edx
	movl	$15, %ecx
	callq	_b43_phy_maskset
	movl	$26, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-16257, %edx                   ## imm = 0xC07F
	movl	$11136, %ecx                    ## imm = 0x2B80
	callq	_b43_phy_maskset
	movq	_B43_PHY_ANTWRSETT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	$61695, %edx                    ## imm = 0xF0FF
	movl	$768, %ecx                      ## imm = 0x300
	callq	_b43_phy_maskset
	movq	%r15, %rdi
	movl	$122, %esi
	movl	$8, %edx
	callq	_b43_radio_set
	movq	_B43_PHY_N1P1GAIN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$-16, %edx
	movl	$8, %ecx
	callq	_b43_phy_maskset
	movq	_B43_PHY_P1P2GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-3841, %edx                    ## imm = 0xF0FF
	movl	$1536, %ecx                     ## imm = 0x600
	callq	_b43_phy_maskset
	movq	_B43_PHY_N1N2GAIN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$-3841, %edx                    ## imm = 0xF0FF
	movl	$1792, %ecx                     ## imm = 0x700
	callq	_b43_phy_maskset
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$-3841, %edx                    ## imm = 0xF0FF
	movl	$256, %ecx                      ## imm = 0x100
	callq	_b43_phy_maskset
	cmpl	$1, (%r15)
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$-16, %edx
	movl	$7, %ecx
	callq	_b43_phy_maskset
LBB0_5:
	movl	$136, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-256, %edx
	movl	$28, %ecx
	callq	_b43_phy_maskset
	movl	$136, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-16129, %edx                   ## imm = 0xC0FF
	movl	$512, %ecx                      ## imm = 0x200
	callq	_b43_phy_maskset
	movl	$150, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-256, %edx
	movl	$28, %ecx
	callq	_b43_phy_maskset
	movl	$137, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-256, %edx
	movl	$32, %ecx
	callq	_b43_phy_maskset
	movl	$137, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-16129, %edx                   ## imm = 0xC0FF
	movl	$512, %ecx                      ## imm = 0x200
	callq	_b43_phy_maskset
	movl	$130, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-256, %edx
	movl	$46, %ecx
	callq	_b43_phy_maskset
	movl	$150, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$255, %edx
	movl	$6656, %ecx                     ## imm = 0x1A00
	callq	_b43_phy_maskset
	movl	$129, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-256, %edx
	movl	$40, %ecx
	callq	_b43_phy_maskset
	movl	$129, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$255, %edx
	movl	$11264, %ecx                    ## imm = 0x2C00
	callq	_b43_phy_maskset
	cmpl	$1, (%r15)
	jne	LBB0_7
## %bb.6:
	movq	_B43_PHY_PEAK_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$2347, %edx                     ## imm = 0x92B
	callq	_b43_phy_write
	movl	$27, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-31, %edx
	movl	$2, %ecx
	jmp	LBB0_9
LBB0_7:
	movl	$27, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-31, %edx
	callq	_b43_phy_mask
	movl	$31, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$10362, %edx                    ## imm = 0x287A
	callq	_b43_phy_write
	movq	_B43_PHY_LPFGAINCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$-16, %edx
	movl	$4, %ecx
	callq	_b43_phy_maskset
	cmpl	$6, (%r15)
	jl	LBB0_10
## %bb.8:
	movl	$34, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$10362, %edx                    ## imm = 0x287A
	callq	_b43_phy_write
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	$12288, %ecx                    ## imm = 0x3000
LBB0_9:
	callq	_b43_phy_maskset
LBB0_10:
	movq	_B43_PHY_DIVSRCHIDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$32896, %edx                    ## imm = 0x8080
	movl	$30836, %ecx                    ## imm = 0x7874
	callq	_b43_phy_maskset
	movl	$142, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$7168, %edx                     ## imm = 0x1C00
	callq	_b43_phy_write
	cmpl	$1, (%r15)
	jne	LBB0_11
## %bb.12:
	movq	_B43_PHY_DIVP1P2GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-3841, %edx                    ## imm = 0xF0FF
	movl	$1536, %ecx                     ## imm = 0x600
	callq	_b43_phy_maskset
	movl	$139, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$94, %edx
	callq	_b43_phy_write
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	$-256, %edx
	movl	$30, %ecx
	callq	_b43_phy_maskset
	movl	$141, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$2, %edx
	callq	_b43_phy_write
	movq	_B43_OFDMTAB_AGC3_R1@GOTPCREL(%rip), %rbx
	jmp	LBB0_13
LBB0_11:
	movq	_B43_OFDMTAB_AGC3@GOTPCREL(%rip), %rbx
LBB0_13:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$7, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$16, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$3, %edx
	movl	$28, %ecx
	callq	_b43_ofdmtab_write16
	cmpl	$6, (%r15)
	jl	LBB0_15
## %bb.14:
	movl	$38, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-4, %edx
	callq	_b43_phy_mask
	movl	$38, %edi
	callq	_B43_PHY_OFDM
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-4097, %edx                    ## imm = 0xEFFF
	callq	_b43_phy_mask
LBB0_15:
	movq	_B43_PHY_VERSION_OFDM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_read                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_OFDMTAB_AGC1_R1,4,2        ## @B43_OFDMTAB_AGC1_R1
	.comm	_B43_OFDMTAB_AGC2,4,2           ## @B43_OFDMTAB_AGC2
	.comm	_B43_PHY_LMS,4,2                ## @B43_PHY_LMS
	.comm	_B43_OFDMTAB_AGC1,4,2           ## @B43_OFDMTAB_AGC1
	.comm	_B43_PHY_CCKSHIFTBITS_WA,4,2    ## @B43_PHY_CCKSHIFTBITS_WA
	.comm	_B43_PHY_ANTWRSETT,4,2          ## @B43_PHY_ANTWRSETT
	.comm	_B43_PHY_N1P1GAIN,4,2           ## @B43_PHY_N1P1GAIN
	.comm	_B43_PHY_P1P2GAIN,4,2           ## @B43_PHY_P1P2GAIN
	.comm	_B43_PHY_N1N2GAIN,4,2           ## @B43_PHY_N1N2GAIN
	.comm	_B43_PHY_PEAK_COUNT,4,2         ## @B43_PHY_PEAK_COUNT
	.comm	_B43_PHY_LPFGAINCTL,4,2         ## @B43_PHY_LPFGAINCTL
	.comm	_B43_PHY_DIVSRCHIDX,4,2         ## @B43_PHY_DIVSRCHIDX
	.comm	_B43_PHY_DIVP1P2GAIN,4,2        ## @B43_PHY_DIVP1P2GAIN
	.comm	_B43_OFDMTAB_AGC3_R1,4,2        ## @B43_OFDMTAB_AGC3_R1
	.comm	_B43_OFDMTAB_AGC3,4,2           ## @B43_OFDMTAB_AGC3
	.comm	_B43_PHY_VERSION_OFDM,4,2       ## @B43_PHY_VERSION_OFDM
	.no_dead_strip	_b43_wa_altagc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_wa_altagc
_b43_wa_altagc:                         ; @b43_wa_altagc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _B43_OFDMTAB_AGC1_R1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _B43_OFDMTAB_AGC1_R1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #254
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #13
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #19
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #25
	bl	_b43_ofdmtab_write16
Lloh2:
	adrp	x20, _B43_OFDMTAB_AGC2@GOTPAGE
Lloh3:
	ldr	x20, [x20, _B43_OFDMTAB_AGC2@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #10000
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #39811
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #39811
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #3981
	bl	_b43_ofdmtab_write16
Lloh4:
	adrp	x8, _B43_PHY_LMS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _B43_PHY_LMS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_b43_phy_write
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x20, _B43_OFDMTAB_AGC1@GOTPAGE
Lloh8:
	ldr	x20, [x20, _B43_OFDMTAB_AGC1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #254
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #13
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #19
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #25
	bl	_b43_ofdmtab_write16
LBB0_3:
Lloh9:
	adrp	x8, _B43_PHY_CCKSHIFTBITS_WA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_PHY_CCKSHIFTBITS_WA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #255
	mov	w3, #22272
	bl	_b43_phy_maskset
	mov	w0, #26
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-128
	mov	w3, #15
	bl	_b43_phy_maskset
	mov	w0, #26
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-16257
	mov	w3, #11136
	bl	_b43_phy_maskset
Lloh12:
	adrp	x20, _B43_PHY_ANTWRSETT@GOTPAGE
Lloh13:
	ldr	x20, [x20, _B43_PHY_ANTWRSETT@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #61695
	mov	w3, #768
	bl	_b43_phy_maskset
	mov	x0, x19
	mov	w1, #122
	mov	w2, #8
	bl	_b43_radio_set
Lloh14:
	adrp	x22, _B43_PHY_N1P1GAIN@GOTPAGE
Lloh15:
	ldr	x22, [x22, _B43_PHY_N1P1GAIN@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-16
	mov	w3, #8
	bl	_b43_phy_maskset
Lloh16:
	adrp	x8, _B43_PHY_P1P2GAIN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B43_PHY_P1P2GAIN@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-3841
	mov	w3, #1536
	bl	_b43_phy_maskset
Lloh19:
	adrp	x21, _B43_PHY_N1N2GAIN@GOTPAGE
Lloh20:
	ldr	x21, [x21, _B43_PHY_N1N2GAIN@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #-3841
	mov	w3, #1792
	bl	_b43_phy_maskset
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-3841
	mov	w3, #256
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #-16
	mov	w3, #7
	bl	_b43_phy_maskset
LBB0_5:
	mov	w0, #136
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-256
	mov	w3, #28
	bl	_b43_phy_maskset
	mov	w0, #136
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-16129
	mov	w3, #512
	bl	_b43_phy_maskset
	mov	w0, #150
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-256
	mov	w3, #28
	bl	_b43_phy_maskset
	mov	w0, #137
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-256
	mov	w3, #32
	bl	_b43_phy_maskset
	mov	w0, #137
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-16129
	mov	w3, #512
	bl	_b43_phy_maskset
	mov	w0, #130
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-256
	mov	w3, #46
	bl	_b43_phy_maskset
	mov	w0, #150
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #255
	mov	w3, #6656
	bl	_b43_phy_maskset
	mov	w0, #129
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-256
	mov	w3, #40
	bl	_b43_phy_maskset
	mov	w0, #129
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #255
	mov	w3, #11264
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _B43_PHY_PEAK_COUNT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B43_PHY_PEAK_COUNT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2347
	bl	_b43_phy_write
	mov	w0, #27
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-31
	mov	w3, #2
	b	LBB0_9
LBB0_7:
	mov	w0, #27
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-31
	bl	_b43_phy_mask
	mov	w0, #31
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #10362
	bl	_b43_phy_write
Lloh24:
	adrp	x21, _B43_PHY_LPFGAINCTL@GOTPAGE
Lloh25:
	ldr	x21, [x21, _B43_PHY_LPFGAINCTL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #-16
	mov	w3, #4
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #6
	b.lt	LBB0_10
; %bb.8:
	mov	w0, #34
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #10362
	bl	_b43_phy_write
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #4095
	mov	w3, #12288
LBB0_9:
	bl	_b43_phy_maskset
LBB0_10:
Lloh26:
	adrp	x8, _B43_PHY_DIVSRCHIDX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _B43_PHY_DIVSRCHIDX@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #32896
	mov	w3, #30836
	bl	_b43_phy_maskset
	mov	w0, #142
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #7168
	bl	_b43_phy_write
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.11:
Lloh29:
	adrp	x8, _B43_PHY_DIVP1P2GAIN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _B43_PHY_DIVP1P2GAIN@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-3841
	mov	w3, #1536
	bl	_b43_phy_maskset
	mov	w0, #139
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #94
	bl	_b43_phy_write
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #-256
	mov	w3, #30
	bl	_b43_phy_maskset
	mov	w0, #141
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #2
	bl	_b43_phy_write
Lloh32:
	adrp	x20, _B43_OFDMTAB_AGC3_R1@GOTPAGE
Lloh33:
	ldr	x20, [x20, _B43_OFDMTAB_AGC3_R1@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh34:
	adrp	x20, _B43_OFDMTAB_AGC3@GOTPAGE
Lloh35:
	ldr	x20, [x20, _B43_OFDMTAB_AGC3@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #7
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #16
	bl	_b43_ofdmtab_write16
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #28
	bl	_b43_ofdmtab_write16
	ldr	w8, [x19]
	cmp	w8, #6
	b.lt	LBB0_15
; %bb.14:
	mov	w0, #38
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-4
	bl	_b43_phy_mask
	mov	w0, #38
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-4097
	bl	_b43_phy_mask
LBB0_15:
Lloh36:
	adrp	x8, _B43_PHY_VERSION_OFDM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _B43_PHY_VERSION_OFDM@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_b43_phy_read
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_OFDMTAB_AGC1_R1,4,2        ; @B43_OFDMTAB_AGC1_R1
	.comm	_B43_OFDMTAB_AGC2,4,2           ; @B43_OFDMTAB_AGC2
	.comm	_B43_PHY_LMS,4,2                ; @B43_PHY_LMS
	.comm	_B43_OFDMTAB_AGC1,4,2           ; @B43_OFDMTAB_AGC1
	.comm	_B43_PHY_CCKSHIFTBITS_WA,4,2    ; @B43_PHY_CCKSHIFTBITS_WA
	.comm	_B43_PHY_ANTWRSETT,4,2          ; @B43_PHY_ANTWRSETT
	.comm	_B43_PHY_N1P1GAIN,4,2           ; @B43_PHY_N1P1GAIN
	.comm	_B43_PHY_P1P2GAIN,4,2           ; @B43_PHY_P1P2GAIN
	.comm	_B43_PHY_N1N2GAIN,4,2           ; @B43_PHY_N1N2GAIN
	.comm	_B43_PHY_PEAK_COUNT,4,2         ; @B43_PHY_PEAK_COUNT
	.comm	_B43_PHY_LPFGAINCTL,4,2         ; @B43_PHY_LPFGAINCTL
	.comm	_B43_PHY_DIVSRCHIDX,4,2         ; @B43_PHY_DIVSRCHIDX
	.comm	_B43_PHY_DIVP1P2GAIN,4,2        ; @B43_PHY_DIVP1P2GAIN
	.comm	_B43_OFDMTAB_AGC3_R1,4,2        ; @B43_OFDMTAB_AGC3_R1
	.comm	_B43_OFDMTAB_AGC3,4,2           ; @B43_OFDMTAB_AGC3
	.comm	_B43_PHY_VERSION_OFDM,4,2       ; @B43_PHY_VERSION_OFDM
	.no_dead_strip	_b43_wa_altagc
.subsections_via_symbols
