	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_calc_loopback_gain
_b43_calc_loopback_gain:                ## @b43_calc_loopback_gain
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	16(%rdi), %r15
	movq	_B43_PHY_CRS0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_b43_phy_read
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movq	_B43_PHY_CCKBBANDCFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	_B43_PHY_RFOVER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	cmpl	$1, 8(%r13)
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	je	LBB0_2
## %bb.1:
	movq	_B43_PHY_ANALOGOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_B43_PHY_ANALOGOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
LBB0_2:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$90, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movl	$89, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movl	$10, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	$3, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	_B43_PHY_LO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_B43_PHY_LO_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	$43, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_B43_PHY_LO_LEAKAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	8(%r15), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	$82, %esi
	callq	_b43_radio_read16
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	$67, %esi
	callq	_b43_radio_read16
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	$122, %esi
	callq	_b43_radio_read16
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$16383, %edx                    ## imm = 0x3FFF
	callq	_b43_phy_mask
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_b43_phy_set
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$2, %edx
	callq	_b43_phy_set
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$65533, %edx                    ## imm = 0xFFFD
	callq	_b43_phy_mask
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_b43_phy_set
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$65534, %edx                    ## imm = 0xFFFE
	callq	_b43_phy_mask
	cmpl	$1, 8(%r13)
	je	LBB0_4
## %bb.3:
	movq	_B43_PHY_ANALOGOVER@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_b43_phy_set
	movq	_B43_PHY_ANALOGOVERVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$65534, %edx                    ## imm = 0xFFFE
	callq	_b43_phy_mask
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$2, %edx
	callq	_b43_phy_set
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$65533, %edx                    ## imm = 0xFFFD
	callq	_b43_phy_mask
LBB0_4:
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$12, %edx
	callq	_b43_phy_set
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$12, %edx
	callq	_b43_phy_set
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$48, %edx
	callq	_b43_phy_set
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$65487, %edx                    ## imm = 0xFFCF
	movl	$16, %ecx
	callq	_b43_phy_maskset
	movl	$90, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$1920, %edx                     ## imm = 0x780
	callq	_b43_phy_write
	movl	$89, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$51216, %edx                    ## imm = 0xC810
	callq	_b43_phy_write
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$13, %edx
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_b43_phy_set
	cmpl	$1, 8(%r13)
	je	LBB0_6
## %bb.5:
	movq	_B43_PHY_ANALOGOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_b43_phy_set
	movq	_B43_PHY_ANALOGOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$65531, %edx                    ## imm = 0xFFFB
	callq	_b43_phy_mask
LBB0_6:
	movl	$3, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$65439, %edx                    ## imm = 0xFF9F
	movl	$64, %ecx
	callq	_b43_phy_maskset
	cmpl	$8, 12(%r13)
	movq	_B43_PHY_LO_LEAKAGE@GOTPCREL(%rip), %r14
	movq	%r13, %rdi
	jne	LBB0_8
## %bb.7:
	movl	$67, %esi
	movl	$15, %edx
	callq	_b43_radio_write16
	jmp	LBB0_9
LBB0_8:
	movl	$82, %esi
	xorl	%edx, %edx
	callq	_b43_radio_write16
	movq	%r13, %rdi
	movl	$67, %esi
	movl	$65520, %edx                    ## imm = 0xFFF0
	movl	$9, %ecx
	callq	_b43_radio_maskset
LBB0_9:
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$11, %esi
	callq	_b43_gphy_set_baseband_attenuation
	xorl	%edx, %edx
	cmpl	$3, 8(%r13)
	setge	%dl
	movq	_B43_PHY_LO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$14, %edx
	orl	$32800, %edx                    ## imm = 0x8020
	movq	%r13, %rdi
	callq	_b43_phy_write
	movq	_B43_PHY_LO_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_b43_phy_write
	movl	$43, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$65472, %edx                    ## imm = 0xFFC0
	movl	$1, %ecx
	callq	_b43_phy_maskset
	movl	$43, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$49407, %edx                    ## imm = 0xC0FF
	movl	$2048, %ecx                     ## imm = 0x800
	callq	_b43_phy_maskset
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_b43_phy_set
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$53247, %edx                    ## imm = 0xCFFF
	callq	_b43_phy_mask
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	_B43_BFL_EXTLNA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_12
## %bb.10:
	cmpl	$7, 8(%r13)
	jl	LBB0_12
## %bb.11:
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_b43_phy_set
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_b43_phy_set
LBB0_12:
	movq	%r13, %rdi
	movl	$122, %esi
	movl	$247, %edx
	callq	_b43_radio_mask
	cmpl	$8, 12(%r13)
	movl	$15, %eax
	movl	$9, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	$67, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_radio_write16
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$61695, %edx                    ## imm = 0xF0FF
	movl	%ebx, %ecx
	callq	_b43_phy_maskset
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	$40960, %ecx                    ## imm = 0xA000
	callq	_b43_phy_maskset
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	$61440, %edx                    ## imm = 0xF000
	callq	_b43_phy_set
	movl	$20, %edi
	callq	_udelay
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	cmpl	$3579, %eax                     ## imm = 0xDFB
	jg	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	incl	%r12d
	addl	$256, %ebx                      ## imm = 0x100
	cmpl	$16, %r12d
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.17:
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$48, %edx
	callq	_b43_phy_set
	movl	$16, %r12d
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_20
LBB0_18:
	movl	$24, %ebx
	cmpl	$8, %r12d
	jb	LBB0_24
## %bb.19:
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$48, %edx
	callq	_b43_phy_set
	movl	$27, %ebx
	cmpl	$23, %r12d
	ja	LBB0_24
LBB0_20:
	leal	(%r12,%r12,2), %eax
	addl	$-45, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, %r15d
	shll	$8, %r15d
	addl	$-2048, %r15d                   ## imm = 0xF800
	movl	$24, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$61695, %edx                    ## imm = 0xF0FF
	movl	%r15d, %ecx
	callq	_b43_phy_maskset
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	$40960, %ecx                    ## imm = 0xA000
	callq	_b43_phy_maskset
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$61440, %edx                    ## imm = 0xF000
	callq	_b43_phy_set
	movl	$20, %edi
	callq	_udelay
	movq	_B43_PHY_LO_LEAKAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	cmpl	$3580, %eax                     ## imm = 0xDFC
	jge	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	addl	$-3, %ebx
	addl	$256, %r15d                     ## imm = 0x100
	cmpl	$4096, %r15d                    ## imm = 0x1000
	jne	LBB0_21
## %bb.23:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_24:
	cmpl	$1, 8(%r13)
	je	LBB0_26
## %bb.25:
	movq	_B43_PHY_ANALOGOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_PHY_ANALOGOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
LBB0_26:
	movl	$90, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movl	$89, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movl	$3, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_PHY_LO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_PHY_LO_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movl	$43, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r13, %rdi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_b43_gphy_set_baseband_attenuation
	movq	%r13, %rdi
	movl	$82, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_radio_write16
	movq	%r13, %rdi
	movl	$67, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_radio_write16
	movq	%r13, %rdi
	movl	$122, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_radio_write16
	movq	_B43_PHY_RFOVER@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %edx
	orl	$3, %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_b43_phy_write
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-112(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_PHY_CRS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-124(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_PHY_CCKBBANDCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	addl	%r12d, %r12d
	leal	(%r12,%r12,2), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	shll	$2, %ecx
	subl	%ecx, %eax
	addl	$-11, %eax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	addl	%ebx, %ebx
	movl	%ebx, 4(%rcx)
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_CRS0,4,2               ## @B43_PHY_CRS0
	.comm	_B43_PHY_CCKBBANDCFG,4,2        ## @B43_PHY_CCKBBANDCFG
	.comm	_B43_PHY_RFOVER,4,2             ## @B43_PHY_RFOVER
	.comm	_B43_PHY_RFOVERVAL,4,2          ## @B43_PHY_RFOVERVAL
	.comm	_B43_PHY_ANALOGOVER,4,2         ## @B43_PHY_ANALOGOVER
	.comm	_B43_PHY_ANALOGOVERVAL,4,2      ## @B43_PHY_ANALOGOVERVAL
	.comm	_B43_PHY_LO_MASK,4,2            ## @B43_PHY_LO_MASK
	.comm	_B43_PHY_LO_CTL,4,2             ## @B43_PHY_LO_CTL
	.comm	_B43_PHY_PGACTL,4,2             ## @B43_PHY_PGACTL
	.comm	_B43_PHY_LO_LEAKAGE,4,2         ## @B43_PHY_LO_LEAKAGE
	.comm	_B43_BFL_EXTLNA,4,2             ## @B43_BFL_EXTLNA
	.no_dead_strip	_b43_calc_loopback_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_calc_loopback_gain
_b43_calc_loopback_gain:                ; @b43_calc_loopback_gain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	ldr	x23, [x0, #16]
Lloh0:
	adrp	x20, _B43_PHY_CRS0@GOTPAGE
Lloh1:
	ldr	x20, [x20, _B43_PHY_CRS0@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_b43_phy_read
	mov	x22, x0
Lloh2:
	adrp	x21, _B43_PHY_CCKBBANDCFG@GOTPAGE
Lloh3:
	ldr	x21, [x21, _B43_PHY_CCKBBANDCFG@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #76]                   ; 4-byte Folded Spill
Lloh4:
	adrp	x24, _B43_PHY_RFOVER@GOTPAGE
Lloh5:
	ldr	x24, [x24, _B43_PHY_RFOVER@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #72]                   ; 4-byte Folded Spill
Lloh6:
	adrp	x25, _B43_PHY_RFOVERVAL@GOTPAGE
Lloh7:
	ldr	x25, [x25, _B43_PHY_RFOVERVAL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #68]                   ; 4-byte Folded Spill
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x26, _B43_PHY_ANALOGOVER@GOTPAGE
Lloh9:
	ldr	x26, [x26, _B43_PHY_ANALOGOVER@GOTPAGEOFF]
Lloh10:
	adrp	x28, _B43_PHY_ANALOGOVERVAL@GOTPAGE
Lloh11:
	ldr	x28, [x28, _B43_PHY_ANALOGOVERVAL@GOTPAGEOFF]
	cmp	w8, #1
	str	w22, [sp, #12]                  ; 4-byte Folded Spill
	b.ne	LBB0_2
; %bb.1:
	stp	wzr, wzr, [sp, #4]              ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:
	ldr	w1, [x26]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w1, [x28]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
LBB0_3:
	mov	x22, x26
	mov	w0, #90
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #64]                   ; 4-byte Folded Spill
	mov	w0, #89
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #56]                   ; 4-byte Folded Spill
	mov	w0, #10
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
	mov	w0, #3
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #48]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x8, _B43_PHY_LO_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_PHY_LO_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x8, _B43_PHY_LO_CTL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B43_PHY_LO_CTL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	mov	w0, #43
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
Lloh18:
	adrp	x26, _B43_PHY_PGACTL@GOTPAGE
Lloh19:
	ldr	x26, [x26, _B43_PHY_PGACTL@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
Lloh20:
	adrp	x27, _B43_PHY_LO_LEAKAGE@GOTPAGE
Lloh21:
	ldr	x27, [x27, _B43_PHY_LO_LEAKAGE@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_b43_phy_read
	ldr	w8, [x23, #8]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #82
	bl	_b43_radio_read16
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #67
	bl	_b43_radio_read16
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #122
	bl	_b43_radio_read16
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #16383
	bl	_b43_phy_mask
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #32768
	bl	_b43_phy_set
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2
	bl	_b43_phy_set
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #65533
	bl	_b43_phy_mask
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #1
	bl	_b43_phy_set
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #65534
	bl	_b43_phy_mask
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #1
	bl	_b43_phy_set
	ldr	w1, [x28]
	mov	x0, x19
	mov	w2, #65534
	bl	_b43_phy_mask
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #2
	bl	_b43_phy_set
	ldr	w1, [x28]
	mov	x0, x19
	mov	w2, #65533
	bl	_b43_phy_mask
LBB0_5:
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #12
	bl	_b43_phy_set
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #12
	bl	_b43_phy_set
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #48
	bl	_b43_phy_set
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #65487
	mov	w3, #16
	bl	_b43_phy_maskset
	mov	w0, #90
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1920
	bl	_b43_phy_write
	mov	w0, #89
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #51216
	bl	_b43_phy_write
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #13
	bl	_b43_phy_write
	mov	w0, #10
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #8192
	bl	_b43_phy_set
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.eq	LBB0_7
; %bb.6:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #4
	bl	_b43_phy_set
	ldr	w1, [x28]
	mov	x0, x19
	mov	w2, #65531
	bl	_b43_phy_mask
LBB0_7:
	mov	w0, #3
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65439
	mov	w3, #64
	bl	_b43_phy_maskset
	ldr	w8, [x19, #12]
	mov	x0, x19
	cmp	w8, #8
	b.ne	LBB0_9
; %bb.8:
	mov	w1, #67
	mov	w2, #15
	bl	_b43_radio_write16
	b	LBB0_10
LBB0_9:
	mov	w1, #82
	mov	w2, #0
	bl	_b43_radio_write16
	mov	x0, x19
	mov	w1, #67
	mov	w2, #65520
	mov	w3, #9
	bl	_b43_radio_maskset
LBB0_10:
	mov	x0, x19
	mov	w1, #11
	bl	_b43_gphy_set_baseband_attenuation
	ldr	w8, [x19, #8]
Lloh22:
	adrp	x9, _B43_PHY_LO_MASK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _B43_PHY_LO_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
	mov	w9, #32800
	mov	w10, #49184
	cmp	w8, #2
	csel	w2, w10, w9, gt
	mov	x0, x19
	bl	_b43_phy_write
Lloh25:
	adrp	x8, _B43_PHY_LO_CTL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _B43_PHY_LO_CTL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
	mov	w0, #43
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65472
	mov	w3, #1
	bl	_b43_phy_maskset
	mov	w0, #43
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #49407
	mov	w3, #2048
	bl	_b43_phy_maskset
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #256
	bl	_b43_phy_set
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #53247
	bl	_b43_phy_mask
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _B43_BFL_EXTLNA@GOTPAGE
Lloh29:
	ldr	x9, [x9, _B43_BFL_EXTLNA@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
	ldr	w8, [x19, #8]
	cmp	w8, #7
	b.lt	LBB0_13
; %bb.12:
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2048
	bl	_b43_phy_set
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #32768
	bl	_b43_phy_set
LBB0_13:
	mov	x0, x19
	mov	w1, #122
	mov	w2, #247
	bl	_b43_radio_mask
	mov	w20, #0
	ldr	w8, [x19, #12]
	mov	w9, #9
	mov	w10, #15
	cmp	w8, #8
	csel	w22, w10, w9, eq
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	mov	w21, #0
	mov	w28, #0
LBB0_15:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	w1, #67
	mov	x2, x20
	bl	_b43_radio_write16
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #61695
	mov	x3, x21
	bl	_b43_phy_maskset
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #4095
	mov	w3, #40960
	bl	_b43_phy_maskset
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #61440
	bl	_b43_phy_set
	mov	w0, #20
	bl	_udelay
	ldr	w1, [x27]
	mov	x0, x19
	bl	_b43_phy_read
	cmp	w0, #3579
	b.gt	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	add	w28, w28, #1
	add	w21, w21, #256
	cmp	w28, #16
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w20, w20, #1
	cmp	w20, w22
	b.ne	LBB0_14
; %bb.18:
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #48
	bl	_b43_phy_set
	mov	w28, #16
	b	LBB0_22
LBB0_19:
	cmp	w28, #8
	b.lo	LBB0_26
; %bb.20:
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #48
	bl	_b43_phy_set
	cmp	w28, #23
	b.hi	LBB0_27
; %bb.21:
	mov	x22, x20
LBB0_22:
	add	w8, w28, w28, lsl #1
	sub	w8, w8, #45
	str	w8, [sp]                        ; 4-byte Folded Spill
	lsl	w8, w28, #8
	sub	w20, w8, #2048
	mov	w21, #24
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #61695
	mov	x3, x20
	bl	_b43_phy_maskset
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #4095
	mov	w3, #40960
	bl	_b43_phy_maskset
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #61440
	bl	_b43_phy_set
	mov	w0, #20
	bl	_udelay
	ldr	w1, [x27]
	mov	x0, x19
	bl	_b43_phy_read
	cmp	w0, #3580
	b.ge	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	sub	w21, w21, #3
	add	w20, w20, #256
	cmp	w20, #1, lsl #12                ; =4096
	b.ne	LBB0_23
; %bb.25:
	mov	x20, x22
	ldr	w21, [sp]                       ; 4-byte Folded Reload
	b	LBB0_29
LBB0_26:
	mov	w21, #24
	b	LBB0_29
LBB0_27:
	mov	w21, #27
	b	LBB0_29
LBB0_28:
	mov	x20, x22
LBB0_29:
Lloh31:
	adrp	x22, _B43_PHY_CRS0@GOTPAGE
Lloh32:
	ldr	x22, [x22, _B43_PHY_CRS0@GOTPAGEOFF]
	ldr	w27, [sp, #12]                  ; 4-byte Folded Reload
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.eq	LBB0_31
; %bb.30:
Lloh33:
	adrp	x8, _B43_PHY_ANALOGOVER@GOTPAGE
Lloh34:
	ldr	x8, [x8, _B43_PHY_ANALOGOVER@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh36:
	adrp	x8, _B43_PHY_ANALOGOVERVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _B43_PHY_ANALOGOVERVAL@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_b43_phy_write
LBB0_31:
	mov	w0, #90
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	ldr	w2, [sp, #64]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	w0, #89
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	ldr	w2, [sp, #56]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	w0, #10
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	ldr	w2, [sp, #52]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	w0, #3
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	ldr	w2, [sp, #48]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh39:
	adrp	x8, _B43_PHY_LO_MASK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _B43_PHY_LO_MASK@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh42:
	adrp	x8, _B43_PHY_LO_CTL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _B43_PHY_LO_CTL@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	w0, #43
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	ldr	w1, [x26]
	mov	x0, x19
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_b43_gphy_set_baseband_attenuation
	mov	x0, x19
	mov	w1, #82
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_b43_radio_write16
	mov	x0, x19
	mov	w1, #67
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_b43_radio_write16
	mov	x0, x19
	mov	w1, #122
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_b43_radio_write16
	ldr	w1, [x24]
	ldr	w26, [sp, #72]                  ; 4-byte Folded Reload
	orr	w2, w26, #0x3
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x26
	bl	_b43_phy_write
	ldr	w1, [x25]
	mov	x0, x19
	ldr	w2, [sp, #68]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x27
	bl	_b43_phy_write
Lloh45:
	adrp	x8, _B43_PHY_CCKBBANDCFG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _B43_PHY_CCKBBANDCFG@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #76]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	w8, #6
	mul	w8, w28, w8
	sub	w8, w8, w20, lsl #2
	sub	w8, w8, #11
	lsl	w9, w21, #1
	stp	w8, w9, [x23]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	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	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_CRS0,4,2               ; @B43_PHY_CRS0
	.comm	_B43_PHY_CCKBBANDCFG,4,2        ; @B43_PHY_CCKBBANDCFG
	.comm	_B43_PHY_RFOVER,4,2             ; @B43_PHY_RFOVER
	.comm	_B43_PHY_RFOVERVAL,4,2          ; @B43_PHY_RFOVERVAL
	.comm	_B43_PHY_ANALOGOVER,4,2         ; @B43_PHY_ANALOGOVER
	.comm	_B43_PHY_ANALOGOVERVAL,4,2      ; @B43_PHY_ANALOGOVERVAL
	.comm	_B43_PHY_LO_MASK,4,2            ; @B43_PHY_LO_MASK
	.comm	_B43_PHY_LO_CTL,4,2             ; @B43_PHY_LO_CTL
	.comm	_B43_PHY_PGACTL,4,2             ; @B43_PHY_PGACTL
	.comm	_B43_PHY_LO_LEAKAGE,4,2         ; @B43_PHY_LO_LEAKAGE
	.comm	_B43_BFL_EXTLNA,4,2             ; @B43_BFL_EXTLNA
	.no_dead_strip	_b43_calc_loopback_gain
.subsections_via_symbols
