	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_get_txgain_dac
_b43legacy_get_txgain_dac:              ## @b43legacy_get_txgain_dac
	.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
	movl	%edi, %ebx
	xorl	%edi, %edi
	cmpl	$64, %ebx
	setge	%dil
	callq	_B43legacy_WARN_ON
	cmpl	$54, %ebx
	jl	LBB0_2
## %bb.1:
	addl	$-53, %ebx
	jmp	LBB0_13
LBB0_2:
	cmpl	$49, %ebx
	jl	LBB0_4
## %bb.3:
	addl	$-42, %ebx
	jmp	LBB0_13
LBB0_4:
	cmpl	$44, %ebx
	jl	LBB0_6
## %bb.5:
	addl	$-37, %ebx
	jmp	LBB0_13
LBB0_6:
	cmpl	$32, %ebx
	jl	LBB0_8
## %bb.7:
	addl	$-32, %ebx
	jmp	LBB0_13
LBB0_8:
	cmpl	$25, %ebx
	jl	LBB0_10
## %bb.9:
	addl	$-20, %ebx
	jmp	LBB0_13
LBB0_10:
	cmpl	$20, %ebx
	jl	LBB0_12
## %bb.11:
	addl	$-13, %ebx
	jmp	LBB0_13
LBB0_12:
	leal	-8(%rbx), %eax
	cmpl	$12, %ebx
	cmovll	%ebx, %eax
	movl	%eax, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43legacy_get_txgain_dac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_get_txgain_dac
_b43legacy_get_txgain_dac:              ; @b43legacy_get_txgain_dac
	.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
	cmp	w0, #63
	cset	w0, gt
	bl	_B43legacy_WARN_ON
	sub	w8, w19, #8
	cmp	w19, #11
	csel	w8, w8, w19, gt
	sub	w9, w19, #13
	subs	w10, w19, #20
	csel	w8, w8, w9, lt
	cmp	w19, #25
	csel	w8, w8, w10, lt
	subs	w9, w19, #32
	csel	w8, w8, w9, lt
	sub	w9, w19, #37
	cmp	w19, #44
	csel	w8, w8, w9, lt
	sub	w9, w19, #42
	cmp	w19, #49
	csel	w8, w8, w9, lt
	sub	w9, w19, #53
	cmp	w19, #54
	csel	w0, w8, w9, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43legacy_get_txgain_dac
.subsections_via_symbols
