	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_chan_to_freq_cn
_ieee80211_chan_to_freq_cn:             ## @ieee80211_chan_to_freq_cn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	$-1, %eax
	cmpl	$9, %edi
	ja	LBB0_9
## %bb.1:
	movl	$54, %ecx
	btl	%edi, %ecx
	jb	LBB0_7
## %bb.2:
	movl	$896, %ecx                      ## imm = 0x380
	btl	%edi, %ecx
	jae	LBB0_3
## %bb.5:
	leal	-14(%rsi), %ecx
	cmpl	$-13, %ecx
	jb	LBB0_9
## %bb.6:
	leal	(%rsi,%rsi,4), %eax
	addl	$2407, %eax                     ## imm = 0x967
	popq	%rbp
	retq
LBB0_7:
	leal	-65(%rsi), %ecx
	cmpl	$-29, %ecx
	jae	LBB0_8
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	movl	$72, %ecx
	btl	%edi, %ecx
	jae	LBB0_9
## %bb.4:
	leal	-166(%rsi), %ecx
	cmpl	$-17, %ecx
	jb	LBB0_9
LBB0_8:
	leal	(%rsi,%rsi,4), %eax
	addl	$5000, %eax                     ## imm = 0x1388
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ieee80211_chan_to_freq_cn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_chan_to_freq_cn
_ieee80211_chan_to_freq_cn:             ; @ieee80211_chan_to_freq_cn
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #-1
	cmp	w8, #9
	b.hi	LBB0_2
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #54
	sub	w10, w1, #65
	mov	w11, #-1
	cmn	w10, #29
	add	w10, w1, w1, lsl #2
	mov	w12, #5000
	add	w12, w10, w12
	csel	w11, w11, w12, lo
	sub	w13, w1, #14
	mov	w14, #-1
	cmn	w13, #13
	add	w10, w10, #2407
	csel	w10, w14, w10, lo
	mov	w13, #72
	sub	w14, w1, #166
	mov	w15, #-1
	cmn	w14, #17
	csel	w12, w15, w12, lo
	tst	w8, w13
	csel	w12, w12, w0, ne
	tst	w8, #0x380
	csel	w10, w10, w12, ne
	tst	w8, w9
	csel	w0, w11, w10, ne
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ieee80211_chan_to_freq_cn
.subsections_via_symbols
