	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_phy_initb6
_b43legacy_phy_initb6:                  ## @b43legacy_phy_initb6
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$62, %esi
	movl	$33146, %edx                    ## imm = 0x817A
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$122, %esi
	callq	_b43legacy_radio_read16
	orl	$88, %eax
	movq	%r15, %rdi
	movl	$122, %esi
	movl	%eax, %edx
	callq	_b43legacy_radio_write16
	movl	8(%r15), %eax
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$4, %ecx
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$81, %esi
	movl	$55, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$82, %esi
	movl	$112, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$83, %esi
	movl	$179, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$84, %esi
	movl	$155, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$90, %esi
	movl	$136, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$91, %esi
	movl	$136, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$93, %esi
	movl	$136, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$94, %esi
	movl	$136, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$125, %esi
	movl	$136, %edx
	callq	_b43legacy_radio_write16
	movq	_B43legacy_SHM_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_B43legacy_UCODEFLAGS_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_b43legacy_shm_read32
	orl	$512, %eax                      ## imm = 0x200
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_b43legacy_shm_write32
	movl	8(%r15), %eax
LBB0_2:
	cmpl	$8, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	$81, %esi
	xorl	%edx, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$82, %esi
	movl	$64, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$83, %esi
	movl	$183, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$84, %esi
	movl	$152, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$90, %esi
	movl	$136, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$91, %esi
	movl	$107, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$92, %esi
	movl	$15, %edx
	callq	_b43legacy_radio_write16
	movq	(%r15), %rax
	movq	(%rax), %rax
	movzwl	(%rax), %ebx
	shrl	$15, %ebx
	leal	(%rbx,%rbx,4), %edx
	addl	$245, %edx
	shll	$5, %ebx
	addl	$184, %ebx
	movq	%r15, %rdi
	movl	$93, %esi
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$94, %esi
	movl	%ebx, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$115, %esi
	movl	$3, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$125, %esi
	movl	$168, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$124, %esi
	movl	$1, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$126, %esi
	movl	$8, %edx
	callq	_b43legacy_radio_write16
LBB0_4:
	movq	%r15, %rdi
	movl	$136, %esi
	movl	$7711, %edx                     ## imm = 0x1E1F
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$137, %esi
	movl	$7197, %edx                     ## imm = 0x1C1D
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$138, %esi
	movl	$6683, %edx                     ## imm = 0x1A1B
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$139, %esi
	movl	$6169, %edx                     ## imm = 0x1819
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$140, %esi
	movl	$5655, %edx                     ## imm = 0x1617
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$141, %esi
	movl	$5141, %edx                     ## imm = 0x1415
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$142, %esi
	movl	$4627, %edx                     ## imm = 0x1213
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$143, %esi
	movl	$4113, %edx                     ## imm = 0x1011
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$144, %esi
	movl	$3599, %edx                     ## imm = 0xE0F
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$145, %esi
	movl	$3085, %edx                     ## imm = 0xC0D
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$146, %esi
	movl	$2571, %edx                     ## imm = 0xA0B
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$147, %esi
	movl	$2057, %edx                     ## imm = 0x809
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$148, %esi
	movl	$1543, %edx                     ## imm = 0x607
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$149, %esi
	movl	$1029, %edx                     ## imm = 0x405
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$150, %esi
	movl	$515, %edx                      ## imm = 0x203
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$151, %esi
	movl	$1, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$152, %esi
	movl	$15935, %edx                    ## imm = 0x3E3F
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$153, %esi
	movl	$15421, %edx                    ## imm = 0x3C3D
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$154, %esi
	movl	$14907, %edx                    ## imm = 0x3A3B
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$155, %esi
	movl	$14393, %edx                    ## imm = 0x3839
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$156, %esi
	movl	$13879, %edx                    ## imm = 0x3637
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$157, %esi
	movl	$13365, %edx                    ## imm = 0x3435
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$158, %esi
	movl	$12851, %edx                    ## imm = 0x3233
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$159, %esi
	movl	$12337, %edx                    ## imm = 0x3031
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$160, %esi
	movl	$11823, %edx                    ## imm = 0x2E2F
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$161, %esi
	movl	$11309, %edx                    ## imm = 0x2C2D
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$162, %esi
	movl	$10795, %edx                    ## imm = 0x2A2B
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$163, %esi
	movl	$10281, %edx                    ## imm = 0x2829
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$164, %esi
	movl	$9767, %edx                     ## imm = 0x2627
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$165, %esi
	movl	$9253, %edx                     ## imm = 0x2425
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$166, %esi
	movl	$8739, %edx                     ## imm = 0x2223
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$167, %esi
	movl	$8225, %edx                     ## imm = 0x2021
	callq	_b43legacy_phy_write
	movl	$8480, %ebx                     ## imm = 0x2120
	movl	$168, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edx
	andl	$16190, %edx                    ## imm = 0x3F3E
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_b43legacy_phy_write
	addl	$514, %ebx                      ## imm = 0x202
	incl	%r14d
	cmpl	$24928, %ebx                    ## imm = 0x6160
	jne	LBB0_5
## %bb.6:
	movq	16(%r15), %rax
	movq	_B43legacy_PHYTYPE_G@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movl	$122, %esi
	callq	_b43legacy_radio_read16
	orl	$32, %eax
	movq	%r15, %rdi
	movl	$122, %esi
	movl	%eax, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$81, %esi
	callq	_b43legacy_radio_read16
	orl	$4, %eax
	movq	%r15, %rdi
	movl	$81, %esi
	movl	%eax, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	callq	_b43legacy_phy_read
	orl	$256, %eax                      ## imm = 0x100
	movq	%r15, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	callq	_b43legacy_phy_read
	orl	$8192, %eax                     ## imm = 0x2000
	movq	%r15, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$91, %esi
	xorl	%edx, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$92, %esi
	xorl	%edx, %edx
	callq	_b43legacy_phy_write
LBB0_8:
	movl	24(%r15), %r14d
	cmpl	$8, %r14d
	movl	$1, %eax
	movl	$13, %esi
	cmovgel	%eax, %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_b43legacy_radio_selectchannel
	movq	%r15, %rdi
	movl	$80, %esi
	movl	$32, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$80, %esi
	movl	$35, %edx
	callq	_b43legacy_radio_write16
	movl	$40, %edi
	callq	_udelay
	movl	8(%r15), %eax
	cmpl	$6, %eax
	jl	LBB0_10
## %bb.9:
	cmpl	$8, %eax
	jne	LBB0_12
LBB0_10:
	movq	%r15, %rdi
	movl	$124, %esi
	callq	_b43legacy_radio_read16
	orl	$2, %eax
	movq	%r15, %rdi
	movl	$124, %esi
	movl	%eax, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$80, %esi
	movl	$32, %edx
	callq	_b43legacy_radio_write16
	cmpl	$2, 8(%r15)
	jg	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movl	$80, %esi
	movl	$32, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$90, %esi
	movl	$112, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$91, %esi
	movl	$123, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$92, %esi
	movl	$176, %edx
	callq	_b43legacy_radio_write16
LBB0_12:
	movq	%r15, %rdi
	movl	$122, %esi
	callq	_b43legacy_radio_read16
	orl	$7, %eax
	movzbl	%al, %edx
	movq	%r15, %rdi
	movl	$122, %esi
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_b43legacy_radio_selectchannel
	movq	%r15, %rdi
	movl	$20, %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_b43legacy_phy_write
	cmpl	$6, 8(%r15)
	movl	$35010, %eax                    ## imm = 0x88C2
	movl	$35520, %edx                    ## imm = 0x8AC0
	cmovgel	%eax, %edx
	movq	%r15, %rdi
	movl	$42, %esi
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$56, %esi
	movl	$1640, %edx                     ## imm = 0x668
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_b43legacy_radio_set_txpower_bg
	movl	8(%r15), %eax
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$4, %ecx
	je	LBB0_13
## %bb.14:
	cmpl	$2, %eax
	jle	LBB0_15
LBB0_16:
	cmpl	$4, 28(%r15)
	jne	LBB0_18
LBB0_17:
	movq	%r15, %rdi
	movl	$996, %esi                      ## imm = 0x3E4
	movl	$9, %edx
	callq	_b43legacy_write16
	movq	%r15, %rdi
	movl	$97, %esi
	callq	_b43legacy_phy_read
	andl	$4095, %eax                     ## imm = 0xFFF
	movq	%r15, %rdi
	movl	$97, %esi
	movl	%eax, %edx
	jmp	LBB0_19
LBB0_13:
	movq	%r15, %rdi
	movl	$93, %esi
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65408, %eax                    ## imm = 0xFF80
	leal	3(%rax), %edx
	movq	%r15, %rdi
	movl	$93, %esi
	callq	_b43legacy_phy_write
	movl	8(%r15), %eax
	cmpl	$2, %eax
	jg	LBB0_16
LBB0_15:
	movq	%r15, %rdi
	movl	$93, %esi
	movl	$13, %edx
	callq	_b43legacy_radio_write16
	cmpl	$4, 28(%r15)
	je	LBB0_17
LBB0_18:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65472, %eax                    ## imm = 0xFFC0
	leal	4(%rax), %edx
	movq	%r15, %rdi
	movl	$2, %esi
LBB0_19:
	callq	_b43legacy_phy_write
	movq	16(%r15), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	xorl	%edx, %edx
	callq	_b43legacy_write16
	movq	16(%r15), %rax
LBB0_21:
	movq	_B43legacy_PHYTYPE_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.22:
	movq	%r15, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	movl	$33088, %edx                    ## imm = 0x8140
	callq	_b43legacy_write16
	movq	%r15, %rdi
	movl	$22, %esi
	movl	$1040, %edx                     ## imm = 0x410
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$23, %esi
	movl	$2080, %edx                     ## imm = 0x820
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$98, %esi
	movl	$7, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	callq	_b43legacy_radio_init2050
	movq	%r15, %rdi
	callq	_b43legacy_phy_lo_g_measure
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_B43legacy_BFL_RSSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	callq	_b43legacy_calc_nrssi_slope
	movq	%r15, %rdi
	callq	_b43legacy_calc_nrssi_threshold
LBB0_24:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43legacy_phy_init_pctl        ## TAILCALL
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_SHM_SHARED,4,2       ## @B43legacy_SHM_SHARED
	.comm	_B43legacy_UCODEFLAGS_OFFSET,4,2 ## @B43legacy_UCODEFLAGS_OFFSET
	.comm	_B43legacy_PHYTYPE_G,8,3        ## @B43legacy_PHYTYPE_G
	.comm	_B43legacy_PHYTYPE_B,8,3        ## @B43legacy_PHYTYPE_B
	.comm	_B43legacy_BFL_RSSI,4,2         ## @B43legacy_BFL_RSSI
	.no_dead_strip	_b43legacy_phy_initb6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_phy_initb6
_b43legacy_phy_initb6:                  ; @b43legacy_phy_initb6
	.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
	mov	w1, #62
	mov	w2, #33146
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_read16
	mov	w8, #88
	orr	w2, w0, w8
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_write16
	ldr	w8, [x19, #8]
	and	w9, w8, #0xfffffffe
	cmp	w9, #4
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #81
	mov	w2, #55
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #82
	mov	w2, #112
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #83
	mov	w2, #179
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #84
	mov	w2, #155
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #90
	mov	w2, #136
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #91
	mov	w2, #136
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #93
	mov	w2, #136
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #94
	mov	w2, #136
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #125
	mov	w2, #136
	bl	_b43legacy_radio_write16
Lloh0:
	adrp	x8, _B43legacy_SHM_SHARED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_SHM_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _B43legacy_UCODEFLAGS_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43legacy_UCODEFLAGS_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_b43legacy_shm_read32
	orr	w3, w0, #0x200
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_b43legacy_shm_write32
	ldr	w8, [x19, #8]
LBB0_2:
	cmp	w8, #8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #81
	mov	w2, #0
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #82
	mov	w2, #64
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #83
	mov	w2, #183
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #84
	mov	w2, #152
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #90
	mov	w2, #136
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #91
	mov	w2, #107
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #92
	mov	w2, #15
	bl	_b43legacy_radio_write16
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
	tst	w8, #0x8000
	mov	w8, #250
	mov	w9, #245
	csel	w2, w9, w8, eq
	mov	w8, #216
	mov	w9, #184
	csel	w20, w9, w8, eq
	mov	x0, x19
	mov	w1, #93
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #94
	mov	x2, x20
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #115
	mov	w2, #3
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #125
	mov	w2, #168
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #124
	mov	w2, #1
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #126
	mov	w2, #8
	bl	_b43legacy_radio_write16
LBB0_4:
	mov	x0, x19
	mov	w1, #136
	mov	w2, #7711
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #137
	mov	w2, #7197
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #138
	mov	w2, #6683
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #139
	mov	w2, #6169
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #140
	mov	w2, #5655
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #141
	mov	w2, #5141
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #142
	mov	w2, #4627
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #143
	mov	w2, #4113
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #144
	mov	w2, #3599
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #145
	mov	w2, #3085
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #146
	mov	w2, #2571
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #147
	mov	w2, #2057
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #148
	mov	w2, #1543
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #149
	mov	w2, #1029
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #150
	mov	w2, #515
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #151
	mov	w2, #1
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #152
	mov	w2, #15935
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #153
	mov	w2, #15421
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #154
	mov	w2, #14907
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #155
	mov	w2, #14393
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #156
	mov	w2, #13879
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #157
	mov	w2, #13365
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #158
	mov	w2, #12851
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #159
	mov	w2, #12337
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #160
	mov	w2, #11823
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #161
	mov	w2, #11309
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #162
	mov	w2, #10795
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #163
	mov	w2, #10281
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #164
	mov	w2, #9767
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #165
	mov	w2, #9253
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #166
	mov	w2, #8739
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #167
	mov	w2, #8225
	bl	_b43legacy_phy_write
	mov	w21, #8480
	mov	w20, #168
	mov	w22, #16190
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	and	w2, w21, w22
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_phy_write
	add	w21, w21, #514
	add	w20, w20, #1
	cmp	w20, #200
	b.ne	LBB0_5
; %bb.6:
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x21, _B43legacy_PHYTYPE_G@GOTPAGE
Lloh7:
	ldr	x21, [x21, _B43legacy_PHYTYPE_G@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_read16
	orr	w2, w0, #0x20
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #81
	bl	_b43legacy_radio_read16
	orr	w2, w0, #0x4
	mov	x0, x19
	mov	w1, #81
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #2050
	bl	_b43legacy_phy_read
	orr	w2, w0, #0x100
	mov	x0, x19
	mov	w1, #2050
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1067
	bl	_b43legacy_phy_read
	orr	w2, w0, #0x2000
	mov	x0, x19
	mov	w1, #1067
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #91
	mov	w2, #0
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #92
	mov	w2, #0
	bl	_b43legacy_phy_write
LBB0_8:
	ldr	w20, [x19, #24]
	cmp	w20, #7
	mov	w8, #13
	csinc	w1, w8, wzr, le
	mov	x0, x19
	mov	w2, #0
	bl	_b43legacy_radio_selectchannel
	mov	x0, x19
	mov	w1, #80
	mov	w2, #32
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #80
	mov	w2, #35
	bl	_b43legacy_radio_write16
	mov	w0, #40
	bl	_udelay
	ldr	w8, [x19, #8]
	cmp	w8, #6
	b.lt	LBB0_10
; %bb.9:
	cmp	w8, #8
	b.ne	LBB0_12
LBB0_10:
	mov	x0, x19
	mov	w1, #124
	bl	_b43legacy_radio_read16
	orr	w2, w0, #0x2
	mov	x0, x19
	mov	w1, #124
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #80
	mov	w2, #32
	bl	_b43legacy_radio_write16
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.gt	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #80
	mov	w2, #32
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #90
	mov	w2, #112
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #91
	mov	w2, #123
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #92
	mov	w2, #176
	bl	_b43legacy_radio_write16
LBB0_12:
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_read16
	and	w8, w0, #0xf8
	orr	w2, w8, #0x7
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_b43legacy_radio_selectchannel
	mov	x0, x19
	mov	w1, #20
	mov	w2, #512
	bl	_b43legacy_phy_write
	ldr	w8, [x19, #8]
	mov	w9, #35520
	mov	w10, #35010
	cmp	w8, #5
	csel	w2, w10, w9, gt
	mov	x0, x19
	mov	w1, #42
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #56
	mov	w2, #1640
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #65535
	mov	w2, #65535
	mov	w3, #65535
	bl	_b43legacy_radio_set_txpower_bg
	ldr	w8, [x19, #8]
	and	w9, w8, #0xfffffffe
	cmp	w9, #4
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	w1, #93
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff80
	orr	w2, w8, #0x3
	mov	x0, x19
	mov	w1, #93
	bl	_b43legacy_phy_write
	ldr	w8, [x19, #8]
LBB0_14:
	cmp	w8, #2
	b.gt	LBB0_16
; %bb.15:
	mov	x0, x19
	mov	w1, #93
	mov	w2, #13
	bl	_b43legacy_radio_write16
LBB0_16:
	ldr	w8, [x19, #28]
	mov	x0, x19
	cmp	w8, #4
	b.ne	LBB0_18
; %bb.17:
	mov	w1, #996
	mov	w2, #9
	bl	_b43legacy_write16
	mov	x0, x19
	mov	w1, #97
	bl	_b43legacy_phy_read
	and	w2, w0, #0xfff
	mov	x0, x19
	mov	w1, #97
	b	LBB0_19
LBB0_18:
	mov	w1, #2
	bl	_b43legacy_phy_read
	and	w8, w0, #0xffc0
	orr	w2, w8, #0x4
	mov	x0, x19
	mov	w1, #2
LBB0_19:
	bl	_b43legacy_phy_write
	ldr	x8, [x19, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x19
	mov	w1, #998
	mov	w2, #0
	bl	_b43legacy_write16
	ldr	x8, [x19, #16]
LBB0_21:
Lloh8:
	adrp	x9, _B43legacy_PHYTYPE_B@GOTPAGE
Lloh9:
	ldr	x9, [x9, _B43legacy_PHYTYPE_B@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.22:
	mov	x0, x19
	mov	w1, #998
	mov	w2, #33088
	bl	_b43legacy_write16
	mov	x0, x19
	mov	w1, #22
	mov	w2, #1040
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #23
	mov	w2, #2080
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #98
	mov	w2, #7
	bl	_b43legacy_phy_write
	mov	x0, x19
	bl	_b43legacy_radio_init2050
	mov	x0, x19
	bl	_b43legacy_phy_lo_g_measure
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _B43legacy_BFL_RSSI@GOTPAGE
Lloh12:
	ldr	x9, [x9, _B43legacy_BFL_RSSI@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_b43legacy_calc_nrssi_slope
	mov	x0, x19
	bl	_b43legacy_calc_nrssi_threshold
LBB0_24:
	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	_b43legacy_phy_init_pctl
LBB0_25:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_SHM_SHARED,4,2       ; @B43legacy_SHM_SHARED
	.comm	_B43legacy_UCODEFLAGS_OFFSET,4,2 ; @B43legacy_UCODEFLAGS_OFFSET
	.comm	_B43legacy_PHYTYPE_G,8,3        ; @B43legacy_PHYTYPE_G
	.comm	_B43legacy_PHYTYPE_B,8,3        ; @B43legacy_PHYTYPE_B
	.comm	_B43legacy_BFL_RSSI,4,2         ; @B43legacy_BFL_RSSI
	.no_dead_strip	_b43legacy_phy_initb6
.subsections_via_symbols
