	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function b43_calc_nrssi_offset
LCPI0_0:
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
LCPI0_1:
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
LCPI0_2:
	.long	4294967232                      ## 0xffffffc0
	.long	4294967232                      ## 0xffffffc0
	.long	4294967232                      ## 0xffffffc0
	.long	4294967232                      ## 0xffffffc0
LCPI0_3:
	.long	4294967265                      ## 0xffffffe1
	.long	4294967265                      ## 0xffffffe1
	.long	4294967265                      ## 0xffffffe1
	.long	4294967265                      ## 0xffffffe1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_b43_calc_nrssi_offset:                 ## @b43_calc_nrssi_offset
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_b43_phy_read
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	callq	_b43_phy_read
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	callq	_b43_phy_read
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	cmpl	$1, (%rbx)
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	callq	_b43_phy_read
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	callq	_b43_phy_read
LBB0_2:
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$90, %esi
	callq	_b43_phy_read
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$89, %esi
	callq	_b43_phy_read
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$88, %esi
	callq	_b43_phy_read
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_b43_phy_read
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_b43_phy_read
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$122, %esi
	callq	_b43_radio_read16
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$67, %esi
	callq	_b43_radio_read16
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$1065, %esi                     ## imm = 0x429
	movl	$32767, %edx                    ## imm = 0x7FFF
	callq	_b43_phy_mask
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$16383, %edx                    ## imm = 0x3FFF
	movl	$16384, %ecx                    ## imm = 0x4000
	callq	_b43_phy_maskset
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	movl	$12, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	$65523, %edx                    ## imm = 0xFFF3
	movl	$4, %ecx
	callq	_b43_phy_maskset
	movq	%rbx, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	movl	$-4, %edx
	callq	_b43_phy_mask
	cmpl	$6, (%rbx)
	movl	$0, %r15d
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	jl	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$46, %esi
	callq	_b43_phy_read
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_b43_phy_read
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$2063, %esi                     ## imm = 0x80F
	callq	_b43_phy_read
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2064, %esi                     ## imm = 0x810
	callq	_b43_phy_read
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2049, %esi                     ## imm = 0x801
	callq	_b43_phy_read
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$96, %esi
	callq	_b43_phy_read
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_b43_phy_read
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$1144, %esi                     ## imm = 0x478
	callq	_b43_phy_read
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$46, %esi
	xorl	%edx, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$47, %esi
	xorl	%edx, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$2063, %esi                     ## imm = 0x80F
	xorl	%edx, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$2064, %esi                     ## imm = 0x810
	xorl	%edx, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$1144, %esi                     ## imm = 0x478
	movl	$256, %edx                      ## imm = 0x100
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$2049, %esi                     ## imm = 0x801
	movl	$64, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$96, %esi
	movl	$64, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_b43_phy_set
LBB0_4:
	movq	%rbx, %rdi
	movl	$122, %esi
	movl	$112, %edx
	callq	_b43_radio_set
	movq	%rbx, %rdi
	movl	$122, %esi
	movl	$128, %edx
	callq	_b43_radio_set
	movl	$30, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	shrl	$8, %eax
	andl	$63, %eax
	xorl	%ecx, %ecx
	cmpl	$32, %eax
	setb	%cl
	shll	$6, %ecx
	orl	%eax, %ecx
	cmpl	$95, %ecx
	movl	%r14d, -88(%rbp)                ## 4-byte Spill
	movl	%r15d, -84(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	jne	LBB0_6
## %bb.5:
	movl	$123, %esi
	movl	$7, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$6, %r14d
	movq	%rbx, %rdi
	movl	$123, %esi
	movl	$6, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	$5, %r12d
	movq	%rbx, %rdi
	movl	$123, %esi
	movl	$5, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movl	%r13d, %r15d
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$123, %esi
	movl	$4, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movd	%eax, %xmm0
	pinsrd	$1, %r13d, %xmm0
	movl	%r15d, %r13d
	pinsrd	$2, -44(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, -48(%rbp), %xmm0            ## 4-byte Folded Reload
	psrld	$8, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [31,31,31,31]
	movdqa	%xmm0, %xmm2
	pcmpgtd	%xmm1, %xmm2
	pand	LCPI0_2(%rip), %xmm2
	por	%xmm0, %xmm2
	pcmpgtd	%xmm2, %xmm1
	movmskps	%xmm1, %eax
	testb	$8, %al
	movl	$65535, %ecx                    ## imm = 0xFFFF
	movl	$7, %edx
	cmovnel	%edx, %ecx
	cmovnel	%ecx, %r14d
	testb	$4, %al
	cmovel	%ecx, %r14d
	cmpl	$65535, %r14d                   ## imm = 0xFFFF
	cmovnel	%r14d, %r12d
	testb	$2, %al
	cmovel	%r14d, %r12d
	cmpl	$65535, %r12d                   ## imm = 0xFFFF
	movl	%r12d, %r15d
	movl	$4, %ecx
	jmp	LBB0_15
LBB0_6:
	movl	$122, %esi
	movl	$127, %edx
	callq	_b43_radio_mask
	cmpl	$1, (%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	movl	$1, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	movl	$65534, %edx                    ## imm = 0xFFFE
	callq	_b43_phy_mask
LBB0_8:
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	movl	$12, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	$12, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	movl	$48, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	$48, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$90, %esi
	movl	$1152, %edx                     ## imm = 0x480
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$89, %esi
	movl	$2064, %edx                     ## imm = 0x810
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$88, %esi
	movl	$13, %edx
	callq	_b43_phy_write
	cmpl	$0, (%rbx)
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_b43_phy_set
	cmpl	$1, (%rbx)
	je	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	movl	$4, %edx
	callq	_b43_phy_set
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	movl	$65531, %edx                    ## imm = 0xFFFB
	callq	_b43_phy_mask
LBB0_13:
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$65439, %edx                    ## imm = 0xFF9F
	movl	$64, %ecx
	callq	_b43_phy_maskset
	movq	%rbx, %rdi
	movl	$122, %esi
	movl	$15, %edx
	callq	_b43_radio_set
	xorl	%r15d, %r15d
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_b43_set_all_gains
	movq	%rbx, %rdi
	movl	$67, %esi
	movl	$240, %edx
	movl	$15, %ecx
	callq	_b43_radio_maskset
	movl	$30, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	shrl	$8, %eax
	andl	$63, %eax
	xorl	%ecx, %ecx
	cmpl	$32, %eax
	setb	%cl
	shll	$6, %ecx
	orl	%eax, %ecx
	cmpl	$32, %ecx
	jne	LBB0_16
## %bb.14:
	movq	%rbx, %rdi
	movl	$123, %esi
	xorl	%edx, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$123, %esi
	movl	$1, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	$2, %r12d
	movq	%rbx, %rdi
	movl	$123, %esi
	movl	$2, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movl	%r13d, %r15d
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$123, %esi
	movl	$3, %edx
	callq	_b43_radio_write16
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_b43_phy_read
	movd	%eax, %xmm0
	pinsrd	$1, %r13d, %xmm0
	movl	%r15d, %r13d
	pinsrd	$2, -44(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, -48(%rbp), %xmm0            ## 4-byte Folded Reload
	psrld	$8, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movdqa	%xmm0, %xmm1
	pcmpgtd	LCPI0_1(%rip), %xmm1
	pand	LCPI0_2(%rip), %xmm1
	por	%xmm0, %xmm1
	pcmpgtd	LCPI0_3(%rip), %xmm1
	movmskps	%xmm1, %eax
	testb	$8, %al
	movl	$65535, %ecx                    ## imm = 0xFFFF
	movl	$0, %edx
	cmovnel	%edx, %ecx
	cmovnel	%ecx, %r14d
	testb	$4, %al
	cmovel	%ecx, %r14d
	cmpl	$65535, %r14d                   ## imm = 0xFFFF
	cmovnel	%r14d, %r12d
	testb	$2, %al
	cmovel	%r14d, %r12d
	cmpl	$65535, %r12d                   ## imm = 0xFFFF
	movl	%r12d, %r15d
	movl	$3, %ecx
LBB0_15:
	cmovel	%ecx, %r15d
	testb	$1, %al
	cmovel	%r12d, %r15d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	cmovel	%ecx, %r15d
LBB0_16:
	movq	%rbx, %rdi
	movl	$123, %esi
	movl	%r15d, %edx
	callq	_b43_radio_write16
	movl	(%rbx), %eax
	cmpl	$6, %eax
	jl	LBB0_18
## %bb.17:
	movq	%rbx, %rdi
	movl	$46, %esi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$47, %esi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$2063, %esi                     ## imm = 0x80F
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$2064, %esi                     ## imm = 0x810
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movl	(%rbx), %eax
LBB0_18:
	cmpl	$1, %eax
	je	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
LBB0_20:
	movq	%rbx, %rdi
	movl	$90, %esi
	movl	-116(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$89, %esi
	movl	-112(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$88, %esi
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$67, %esi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_radio_write16
	movq	%rbx, %rdi
	movl	$122, %esi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	callq	_b43_radio_write16
	movq	%rbx, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	callq	_b43_phy_read
	orl	$3, %eax
	movq	%rbx, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	movl	%eax, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$1065, %esi                     ## imm = 0x429
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_b43_phy_set
	movq	%rbx, %rdi
	callq	_b43_set_original_gains
	cmpl	$6, (%rbx)
	jl	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	movl	$2049, %esi                     ## imm = 0x801
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$96, %esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$1144, %esi                     ## imm = 0x478
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
LBB0_22:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	-124(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	movl	%r12d, %edx
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$290, %edx                      ## imm = 0x122
	callq	_b43_phy_write
	cmpl	$1, (%rbx)
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43_calc_nrssi_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_calc_nrssi_offset
_b43_calc_nrssi_offset:                 ; @b43_calc_nrssi_offset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x0
	mov	w1, #1
	bl	_b43_phy_read
	str	w0, [sp, #56]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2065
	bl	_b43_phy_read
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2066
	bl	_b43_phy_read
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	mov	w28, #0
	mov	w24, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #2068
	bl	_b43_phy_read
	mov	x28, x0
	mov	x0, x19
	mov	w1, #2069
	bl	_b43_phy_read
	mov	x24, x0
LBB0_3:
	mov	x0, x19
	mov	w1, #90
	bl	_b43_phy_read
	mov	x25, x0
	mov	x0, x19
	mov	w1, #89
	bl	_b43_phy_read
	str	w0, [sp, #48]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #88
	bl	_b43_phy_read
	mov	x26, x0
	mov	x0, x19
	mov	w1, #10
	bl	_b43_phy_read
	mov	x27, x0
	mov	x0, x19
	mov	w1, #3
	bl	_b43_phy_read
	mov	x20, x0
	mov	x0, x19
	mov	w1, #122
	bl	_b43_radio_read16
	mov	x23, x0
	mov	x0, x19
	mov	w1, #67
	bl	_b43_radio_read16
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #1065
	mov	w2, #32767
	bl	_b43_phy_mask
	mov	x0, x19
	mov	w1, #1
	mov	w2, #16383
	mov	w3, #16384
	bl	_b43_phy_maskset
	mov	x0, x19
	mov	w1, #2065
	mov	w2, #12
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #2066
	mov	w2, #65523
	mov	w3, #4
	bl	_b43_phy_maskset
	mov	x0, x19
	mov	w1, #2050
	mov	w2, #-4
	bl	_b43_phy_mask
	ldr	w8, [x19]
	cmp	w8, #6
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #46
	bl	_b43_phy_read
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #47
	bl	_b43_phy_read
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2063
	bl	_b43_phy_read
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2064
	bl	_b43_phy_read
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2049
	bl	_b43_phy_read
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #96
	bl	_b43_phy_read
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #20
	bl	_b43_phy_read
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #1144
	bl	_b43_phy_read
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #46
	mov	w2, #0
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #47
	mov	w2, #0
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2063
	mov	w2, #0
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2064
	mov	w2, #0
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1144
	mov	w2, #256
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #2049
	mov	w2, #64
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #96
	mov	w2, #64
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #20
	mov	w2, #512
	bl	_b43_phy_set
	b	LBB0_6
LBB0_5:
	stp	xzr, xzr, [sp, #16]             ; 16-byte Folded Spill
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	str	wzr, [sp, #40]                  ; 4-byte Folded Spill
	str	xzr, [sp, #32]                  ; 8-byte Folded Spill
LBB0_6:
	mov	x0, x19
	mov	w1, #122
	mov	w2, #112
	bl	_b43_radio_set
	mov	x0, x19
	mov	w1, #122
	mov	w2, #128
	bl	_b43_radio_set
	mov	w0, #30
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	mov	w21, #-64
	cmp	w8, #31
	csel	w8, w21, wzr, hi
	bfxil	w8, w0, #8, #6
	cmp	w8, #31
	b.ne	LBB0_8
; %bb.7:
	stp	w23, w28, [sp, #4]              ; 8-byte Folded Spill
	mov	w23, #7
	mov	x0, x19
	mov	w1, #123
	mov	w2, #7
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	str	w20, [sp]                       ; 4-byte Folded Spill
	mov	x20, x27
	mov	x27, x24
	csel	w24, w21, wzr, hi
	bfxil	w24, w0, #8, #6
	mov	w22, #65535
	cmp	w24, #31
	csel	w23, w23, w22, lt
	mov	x28, x26
	mov	w26, #6
	mov	x0, x19
	mov	w1, #123
	mov	w2, #6
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	csel	w8, w21, wzr, hi
	cmp	w24, #30
	bfxil	w8, w0, #8, #6
	ccmp	w8, #31, #0, gt
	csel	w23, w26, w23, lt
	mov	x26, x28
	mov	w24, #5
	mov	x0, x19
	mov	w1, #123
	mov	w2, #5
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	csel	w8, w21, wzr, hi
	bfxil	w8, w0, #8, #6
	cmp	w23, w22
	ccmp	w8, #31, #0, eq
	csel	w23, w24, w23, lt
	mov	w24, #4
	mov	x0, x19
	mov	w1, #123
	mov	w2, #4
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	csel	w8, w21, wzr, hi
	bfxil	w8, w0, #8, #6
	cmp	w23, w22
	ccmp	w8, #31, #0, eq
	csel	w8, w24, w23, lt
	ldp	w23, w28, [sp, #4]              ; 8-byte Folded Reload
	cmp	w8, w22
	csel	w2, w24, w8, eq
	mov	x24, x27
	mov	x27, x20
	ldr	w20, [sp]                       ; 4-byte Folded Reload
	b	LBB0_17
LBB0_8:
	mov	x0, x19
	mov	w1, #122
	mov	w2, #127
	bl	_b43_radio_mask
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #2068
	mov	w2, #1
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #2069
	mov	w2, #65534
	bl	_b43_phy_mask
LBB0_10:
	mov	x0, x19
	mov	w1, #2065
	mov	w2, #12
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #2066
	mov	w2, #12
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #2065
	mov	w2, #48
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #2066
	mov	w2, #48
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #90
	mov	w2, #1152
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #89
	mov	w2, #2064
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #88
	mov	w2, #13
	bl	_b43_phy_write
	ldr	w8, [x19]
	cbz	w8, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #10
	mov	w2, #8192
	bl	_b43_phy_set
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #290
	bl	_b43_phy_write
LBB0_13:
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x19
	mov	w1, #2068
	mov	w2, #4
	bl	_b43_phy_set
	mov	x0, x19
	mov	w1, #2069
	mov	w2, #65531
	bl	_b43_phy_mask
LBB0_15:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #65439
	mov	w3, #64
	bl	_b43_phy_maskset
	mov	x0, x19
	mov	w1, #122
	mov	w2, #15
	bl	_b43_radio_set
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	mov	w3, #1
	bl	_b43_set_all_gains
	mov	x0, x19
	mov	w1, #67
	mov	w2, #240
	mov	w3, #15
	bl	_b43_radio_maskset
	mov	w0, #30
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	mov	w2, #0
	ubfx	w8, w0, #8, #6
	mov	w22, #-64
	cmp	w8, #31
	csel	w8, w22, wzr, hi
	bfxil	w8, w0, #8, #6
	cmn	w8, #32
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x19
	mov	w1, #123
	mov	w2, #0
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	stp	w26, w24, [sp]                  ; 8-byte Folded Spill
	csel	w24, w22, wzr, hi
	bfxil	w24, w0, #8, #6
	cmn	w24, #31
	str	w28, [sp, #8]                   ; 4-byte Folded Spill
	mov	x26, x23
	mov	w23, #65535
	mov	x28, x27
	mov	x27, x25
	csel	w25, wzr, w23, gt
	mov	x0, x19
	mov	w1, #123
	mov	w2, #1
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	csel	w8, w22, wzr, hi
	cmn	w24, #30
	bfxil	w8, w0, #8, #6
	mov	w24, #-31
	ccmp	w8, w24, #4, lt
	csinc	w25, w25, wzr, le
	mov	w21, #2
	mov	x0, x19
	mov	w1, #123
	mov	w2, #2
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	csel	w8, w22, wzr, hi
	bfxil	w8, w0, #8, #6
	cmp	w25, w23
	ccmp	w8, w24, #4, eq
	csel	w25, w21, w25, gt
	mov	x0, x19
	mov	w1, #123
	mov	w2, #3
	bl	_b43_radio_write16
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #1151
	bl	_b43_phy_read
	ubfx	w8, w0, #8, #6
	cmp	w8, #31
	csel	w8, w22, wzr, hi
	bfxil	w8, w0, #8, #6
	cmp	w25, w23
	ccmp	w8, w24, #4, eq
	mov	w9, #3
	csel	w8, w9, w25, gt
	mov	x25, x27
	mov	x27, x28
	cmp	w8, w23
	mov	x23, x26
	ldp	w24, w28, [sp, #4]              ; 8-byte Folded Reload
	ldr	w26, [sp]                       ; 4-byte Folded Reload
	csel	w2, w9, w8, eq
LBB0_17:
	mov	x0, x19
	mov	w1, #123
	bl	_b43_radio_write16
	ldr	w8, [x19]
	cmp	w8, #6
	b.lt	LBB0_19
; %bb.18:
	mov	x0, x19
	mov	w1, #46
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #47
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2063
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2064
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	ldr	w8, [x19]
LBB0_19:
	cmp	w8, #1
	b.eq	LBB0_21
; %bb.20:
	mov	x0, x19
	mov	w1, #2068
	mov	x2, x28
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2069
	mov	x2, x24
	bl	_b43_phy_write
LBB0_21:
	mov	x0, x19
	mov	w1, #90
	mov	x2, x25
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #89
	ldr	w2, [sp, #48]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #88
	mov	x2, x26
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #10
	mov	x2, x27
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #3
	mov	x2, x20
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #67
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_b43_radio_write16
	mov	x0, x19
	mov	w1, #122
	mov	x2, x23
	bl	_b43_radio_write16
	mov	x0, x19
	mov	w1, #2050
	bl	_b43_phy_read
	orr	w2, w0, #0x3
	mov	x0, x19
	mov	w1, #2050
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1065
	mov	w2, #32768
	bl	_b43_phy_set
	mov	x0, x19
	bl	_b43_set_original_gains
	ldr	w8, [x19]
	cmp	w8, #6
	b.lt	LBB0_23
; %bb.22:
	mov	x0, x19
	mov	w1, #2049
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #96
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #20
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1144
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
LBB0_23:
	mov	x0, x19
	mov	w1, #1
	ldr	w2, [sp, #56]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2066
	ldr	w2, [sp, #52]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2065
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_b43_phy_write
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43_calc_nrssi_offset
.subsections_via_symbols
