	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_phy_inita
_b43_phy_inita:                         ## @b43_phy_inita
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_might_sleep
	cmpl	$6, 8(%rbx)
	jl	LBB0_4
## %bb.1:
	movq	_B43_PHY_ENCORE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_b43_phy_read
	movq	_B43_PHY_ENCORE_EN@GOTPCREL(%rip), %rcx
	movl	(%r14), %esi
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_b43_phy_set
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movl	$-4113, %edx                    ## imm = 0xEFEF
	callq	_b43_phy_mask
LBB0_4:
	movq	%rbx, %rdi
	callq	_b43_wa_all
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_B43_BFL_PACTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.6:
	movl	$110, %edi
	callq	_B43_PHY_OFDM
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$57344, %edx                    ## imm = 0xE000
	movl	$975, %ecx                      ## imm = 0x3CF
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_maskset                ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_ENCORE,4,2             ## @B43_PHY_ENCORE
	.comm	_B43_PHY_ENCORE_EN,4,2          ## @B43_PHY_ENCORE_EN
	.comm	_B43_BFL_PACTRL,4,2             ## @B43_BFL_PACTRL
	.no_dead_strip	_b43_phy_inita
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_phy_inita
_b43_phy_inita:                         ; @b43_phy_inita
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_might_sleep
	ldr	w8, [x19, #8]
	cmp	w8, #6
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x20, _B43_PHY_ENCORE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _B43_PHY_ENCORE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_b43_phy_read
Lloh2:
	adrp	x8, _B43_PHY_ENCORE_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B43_PHY_ENCORE_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w1, [x20]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w2, #16
	bl	_b43_phy_set
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w2, #-4113
	bl	_b43_phy_mask
LBB0_4:
	mov	x0, x19
	bl	_b43_wa_all
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _B43_BFL_PACTRL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _B43_BFL_PACTRL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #110
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #57344
	mov	w3, #975
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_maskset
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_ENCORE,4,2             ; @B43_PHY_ENCORE
	.comm	_B43_PHY_ENCORE_EN,4,2          ; @B43_PHY_ENCORE_EN
	.comm	_B43_BFL_PACTRL,4,2             ; @B43_BFL_PACTRL
	.no_dead_strip	_b43_phy_inita
.subsections_via_symbols
