	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_freq_to_channel_bg
_b43legacy_freq_to_channel_bg:          ## @b43legacy_freq_to_channel_bg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$14, %eax
	cmpl	$2484, %edi                     ## imm = 0x9B4
	je	LBB0_2
## %bb.1:
	addl	$-2407, %edi                    ## imm = 0xF699
	movslq	%edi, %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43legacy_freq_to_channel_bg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_freq_to_channel_bg
_b43legacy_freq_to_channel_bg:          ; @b43legacy_freq_to_channel_bg
	.cfi_startproc
; %bb.0:
	mov	w8, #14
	sub	w9, w0, #2407
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	cmp	w0, #2484
	csel	w0, w8, w9, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43legacy_freq_to_channel_bg
.subsections_via_symbols
