	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_channel_to_frequency ## -- Begin function ieee80211_channel_to_frequency
	.p2align	4, 0x90
_ieee80211_channel_to_frequency:        ## @ieee80211_channel_to_frequency
	.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 $edi killed $edi def $rdi
	xorl	%eax, %eax
	testl	%edi, %edi
	jle	LBB0_12
## %bb.1:
	cmpl	$128, %esi
	je	LBB0_10
## %bb.2:
	cmpl	$129, %esi
	je	LBB0_7
## %bb.3:
	cmpl	$130, %esi
	jne	LBB0_12
## %bb.4:
	movl	$2484, %eax                     ## imm = 0x9B4
	cmpl	$14, %edi
	je	LBB0_12
## %bb.5:
	movl	$0, %eax
	jae	LBB0_12
## %bb.6:
	leal	(%rdi,%rdi,4), %eax
	addl	$2407, %eax                     ## imm = 0x967
	popq	%rbp
	retq
LBB0_10:
	cmpl	$4, %edi
	ja	LBB0_12
## %bb.11:
	imull	$2160, %edi, %eax               ## imm = 0x870
	addl	$56160, %eax                    ## imm = 0xDB60
LBB0_12:
	popq	%rbp
	retq
LBB0_7:
	leal	-182(%rdi), %ecx
	leal	(%rdi,%rdi,4), %eax
	cmpl	$14, %ecx
	ja	LBB0_9
## %bb.8:
	addl	$4000, %eax                     ## imm = 0xFA0
	popq	%rbp
	retq
LBB0_9:
	addl	$5000, %eax                     ## imm = 0x1388
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_channel_to_frequency ; -- Begin function ieee80211_channel_to_frequency
	.p2align	2
_ieee80211_channel_to_frequency:        ; @ieee80211_channel_to_frequency
	.cfi_startproc
; %bb.0:
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #2160
	mov	w9, #56160
	madd	w8, w0, w8, w9
	cmp	w0, #4
	csel	w8, wzr, w8, hi
	sub	w9, w0, #182
	add	w10, w0, w0, lsl #2
	mov	w11, #5000
	add	w11, w10, w11
	add	w12, w10, #4000
	cmp	w9, #14
	csel	w9, w11, w12, hi
	mov	w11, #2484
	add	w10, w10, #2407
	cmp	w0, #13
	csel	w10, wzr, w10, hi
	cmp	w0, #14
	csel	w10, w11, w10, eq
	cmp	w1, #130
	csel	w10, wzr, w10, ne
	cmp	w1, #129
	csel	w9, w9, w10, eq
	cmp	w1, #128
	csel	w0, w8, w9, eq
	ret
LBB0_2:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
