	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_rev0_1_write_gain_table
_lpphy_rev0_1_write_gain_table:         ## @lpphy_rev0_1_write_gain_table
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$2, (%r14)
	setge	%dil
	callq	_B43_WARN_ON
	movl	16(%rbp), %eax
	movl	20(%rbp), %ecx
	shll	$11, %eax
	shll	$7, %ecx
	orl	%eax, %ecx
	movl	24(%rbp), %ebx
	shll	$4, %ebx
	orl	%ecx, %ebx
	orl	28(%rbp), %ebx
	leal	192(%r15), %esi
	movl	$10, %edi
	callq	_B43_LPTAB32
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_b43_lptab_write
	movl	32(%rbp), %ebx
	shll	$20, %ebx
	addl	$320, %r15d                     ## imm = 0x140
	movl	$10, %edi
	movl	%r15d, %esi
	callq	_B43_LPTAB32
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_lptab_write                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lpphy_rev0_1_write_gain_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_rev0_1_write_gain_table
_lpphy_rev0_1_write_gain_table:         ; @lpphy_rev0_1_write_gain_table
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, #1
	cset	w0, gt
	bl	_B43_WARN_ON
	ldp	w8, w9, [x19]
	lsl	w9, w9, #7
	orr	w8, w9, w8, lsl #11
	ldp	w9, w10, [x19, #8]
	orr	w8, w8, w9, lsl #4
	orr	w22, w8, w10
	add	w1, w20, #192
	mov	w0, #10
	bl	_B43_LPTAB32
	mov	x1, x0
	mov	x0, x21
	mov	x2, x22
	bl	_b43_lptab_write
	ldr	w8, [x19, #16]
	lsl	w19, w8, #20
	add	w1, w20, #320
	mov	w0, #10
	bl	_B43_LPTAB32
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	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_lptab_write
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lpphy_rev0_1_write_gain_table
.subsections_via_symbols
