	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_clear_deaf
_lpphy_clear_deaf:                      ## @lpphy_clear_deaf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	$0, (%rax)
LBB0_3:
	cmpl	$0, 4(%rax)
	jne	LBB0_4
## %bb.5:
	movl	(%rbx), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	movq	_B43_LPPHY_CRSGAIN_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$6, %ecx
	orl	$32, %ecx
	movq	%rbx, %rdi
	movl	$65311, %edx                    ## imm = 0xFF1F
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_maskset                ## TAILCALL
LBB0_2:
	movl	$0, 4(%rax)
	cmpl	$0, (%rax)
	je	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_B43_LPPHY_CRSGAIN_CTL,4,2      ## @B43_LPPHY_CRSGAIN_CTL
	.no_dead_strip	_lpphy_clear_deaf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_clear_deaf
_lpphy_clear_deaf:                      ; @lpphy_clear_deaf
	.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
	ldr	x8, [x0, #8]
	cbz	w1, LBB0_4
; %bb.1:
	str	wzr, [x8]
LBB0_2:
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _B43_LPPHY_CRSGAIN_CTL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B43_LPPHY_CRSGAIN_CTL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	cmp	x0, x8
	mov	w8, #32
	mov	w9, #96
	csel	w3, w9, w8, eq
	mov	x0, x19
	mov	w2, #65311
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_maskset
LBB0_4:
	str	wzr, [x8, #4]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_B43_LPPHY_CRSGAIN_CTL,4,2      ; @B43_LPPHY_CRSGAIN_CTL
	.no_dead_strip	_lpphy_clear_deaf
.subsections_via_symbols
