	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_get_txgain_freq_power_amp
_b43legacy_get_txgain_freq_power_amp:   ## @b43legacy_get_txgain_freq_power_amp
	.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
	xorl	%eax, %eax
	cmpl	$31, %ebx
	jg	LBB0_4
## %bb.1:
	movl	$1, %eax
	cmpl	$24, %ebx
	jg	LBB0_4
## %bb.2:
	movl	$2, %eax
	cmpl	$19, %ebx
	jg	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$12, %ebx
	setge	%cl
	movl	$4, %eax
	subl	%ecx, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43legacy_get_txgain_freq_power_amp
.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_freq_power_amp
_b43legacy_get_txgain_freq_power_amp:   ; @b43legacy_get_txgain_freq_power_amp
	.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
	mov	w8, #1
	mov	w9, #2
	cmp	w19, #11
	mov	w10, #3
	cinc	w10, w10, le
	cmp	w19, #19
	csel	w9, w9, w10, gt
	cmp	w19, #24
	csel	w8, w8, w9, gt
	cmp	w19, #31
	csel	w0, wzr, w8, gt
	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_freq_power_amp
.subsections_via_symbols
