	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_disable_rx_gain_override
_lpphy_disable_rx_gain_override:        ## @lpphy_disable_rx_gain_override
	.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
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$65534, %edx                    ## imm = 0xFFFE
	callq	_b43_phy_mask
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$65519, %edx                    ## imm = 0xFFEF
	callq	_b43_phy_mask
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$65471, %edx                    ## imm = 0xFFBF
	callq	_b43_phy_mask
	cmpl	$2, 4(%rbx)
	movq	_B43_LPPHY_RF_OVERRIDE_2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	jl	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	$65279, %edx                    ## imm = 0xFEFF
	callq	_b43_phy_mask
	movl	(%rbx), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$64511, %edx                    ## imm = 0xFBFF
	callq	_b43_phy_mask
	movl	$229, %edi
	callq	_B43_PHY_OFDM
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65527, %edx                    ## imm = 0xFFF7
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movl	$65023, %edx                    ## imm = 0xFDFF
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_mask                   ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ## @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ## @B43_LPPHY_RF_OVERRIDE_2
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.no_dead_strip	_lpphy_disable_rx_gain_override
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_disable_rx_gain_override
_lpphy_disable_rx_gain_override:        ; @lpphy_disable_rx_gain_override
	.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
Lloh0:
	adrp	x20, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGE
Lloh1:
	ldr	x20, [x20, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #65534
	bl	_b43_phy_mask
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65519
	bl	_b43_phy_mask
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65471
	bl	_b43_phy_mask
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x20, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGE
Lloh3:
	ldr	x20, [x20, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGEOFF]
	ldr	w1, [x20]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w2, #65279
	bl	_b43_phy_mask
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh4:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #64511
	bl	_b43_phy_mask
	mov	w0, #229
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65527
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w2, #65023
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_mask
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ; @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ; @B43_LPPHY_RF_OVERRIDE_2
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.no_dead_strip	_lpphy_disable_rx_gain_override
.subsections_via_symbols
