	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_enable_tx_gain_override
_lpphy_enable_tx_gain_override:         ## @lpphy_enable_tx_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
	cmpl	$1, (%rdi)
	movq	_B43_LPPHY_RF_OVERRIDE_2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	jg	LBB0_2
## %bb.1:
	movl	$256, %edx                      ## imm = 0x100
	jmp	LBB0_3
LBB0_2:
	movl	$128, %edx
	callq	_b43_phy_set
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$16384, %edx                    ## imm = 0x4000
LBB0_3:
	callq	_b43_phy_set
	movq	_B43_LPPHY_AFE_CTL_OVR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$64, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_set                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ## @B43_LPPHY_RF_OVERRIDE_2
	.comm	_B43_LPPHY_AFE_CTL_OVR,4,2      ## @B43_LPPHY_AFE_CTL_OVR
	.no_dead_strip	_lpphy_enable_tx_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_enable_tx_gain_override
_lpphy_enable_tx_gain_override:         ; @lpphy_enable_tx_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
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGEOFF]
	ldr	w1, [x20]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	mov	w2, #256
	b	LBB0_3
LBB0_2:
	mov	w2, #128
	bl	_b43_phy_set
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #16384
LBB0_3:
	bl	_b43_phy_set
Lloh2:
	adrp	x8, _B43_LPPHY_AFE_CTL_OVR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B43_LPPHY_AFE_CTL_OVR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #64
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_set
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ; @B43_LPPHY_RF_OVERRIDE_2
	.comm	_B43_LPPHY_AFE_CTL_OVR,4,2      ; @B43_LPPHY_AFE_CTL_OVR
	.no_dead_strip	_lpphy_enable_tx_gain_override
.subsections_via_symbols
