	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_phy_lcn_set_tx_gain
_b43_phy_lcn_set_tx_gain:               ## @b43_phy_lcn_set_tx_gain
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_b43_phy_lcn_get_pa_gain
	movl	%eax, %r15d
	movl	4(%rbx), %edx
	shll	$8, %edx
	orl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$1205, %esi                     ## imm = 0x4B5
	callq	_b43_phy_write
	shll	$8, %r15d
	movl	8(%rbx), %ecx
	orl	%r15d, %ecx
	movq	%r14, %rdi
	movl	$1275, %esi                     ## imm = 0x4FB
	movl	$-32768, %edx                   ## imm = 0x8000
	callq	_b43_phy_maskset
	movl	4(%rbx), %edx
	shll	$8, %edx
	orl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$1276, %esi                     ## imm = 0x4FC
	callq	_b43_phy_write
	orl	8(%rbx), %r15d
	movq	%r14, %rdi
	movl	$1277, %esi                     ## imm = 0x4FD
	movl	$-32768, %edx                   ## imm = 0x8000
	movl	%r15d, %ecx
	callq	_b43_phy_maskset
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_b43_phy_lcn_set_dac_gain
	movq	%r14, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_lcn_set_tx_gain_override ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43_phy_lcn_set_tx_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_phy_lcn_set_tx_gain
_b43_phy_lcn_set_tx_gain:               ; @b43_phy_lcn_set_tx_gain
	.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, x1
	mov	x20, x0
	bl	_b43_phy_lcn_get_pa_gain
	mov	x21, x0
	ldp	w8, w9, [x19]
	orr	w2, w8, w9, lsl #8
	mov	x0, x20
	mov	w1, #1205
	bl	_b43_phy_write
	ldr	w8, [x19, #8]
	lsl	w21, w21, #8
	orr	w3, w8, w21
	mov	x0, x20
	mov	w1, #1275
	mov	w2, #-32768
	bl	_b43_phy_maskset
	ldp	w8, w9, [x19]
	orr	w2, w8, w9, lsl #8
	mov	x0, x20
	mov	w1, #1276
	bl	_b43_phy_write
	ldr	w8, [x19, #8]
	orr	w3, w8, w21
	mov	x0, x20
	mov	w1, #1277
	mov	w2, #-32768
	bl	_b43_phy_maskset
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_b43_phy_lcn_set_dac_gain
	mov	x0, x20
	mov	w1, #1
	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	_b43_phy_lcn_set_tx_gain_override
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43_phy_lcn_set_tx_gain
.subsections_via_symbols
