	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_channel_of_freq                ## -- Begin function channel_of_freq
	.p2align	4, 0x90
_channel_of_freq:                       ## @channel_of_freq
	.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
	leal	-2412(%rdi), %eax
	cmpl	$72, %eax
	ja	LBB0_15
## %bb.1:
	movq	_frequency_list_bg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$1, %eax
	cmpl	%edi, (%rcx)
	je	LBB0_17
## %bb.2:
	movl	$2, %eax
	cmpl	%edi, 4(%rcx)
	je	LBB0_17
## %bb.3:
	movl	$3, %eax
	cmpl	%edi, 8(%rcx)
	je	LBB0_17
## %bb.4:
	movl	$4, %eax
	cmpl	%edi, 12(%rcx)
	je	LBB0_17
## %bb.5:
	movl	$5, %eax
	cmpl	%edi, 16(%rcx)
	je	LBB0_17
## %bb.6:
	movl	$6, %eax
	cmpl	%edi, 20(%rcx)
	je	LBB0_17
## %bb.7:
	movl	$7, %eax
	cmpl	%edi, 24(%rcx)
	je	LBB0_17
## %bb.8:
	movl	$8, %eax
	cmpl	%edi, 28(%rcx)
	je	LBB0_17
## %bb.9:
	movl	$9, %eax
	cmpl	%edi, 32(%rcx)
	je	LBB0_17
## %bb.10:
	movl	$10, %eax
	cmpl	%edi, 36(%rcx)
	je	LBB0_17
## %bb.11:
	movl	$11, %eax
	cmpl	%edi, 40(%rcx)
	je	LBB0_17
## %bb.12:
	movl	$12, %eax
	cmpl	%edi, 44(%rcx)
	je	LBB0_17
## %bb.13:
	movl	$13, %eax
	cmpl	%edi, 48(%rcx)
	je	LBB0_17
## %bb.14:
	xorl	%edx, %edx
	cmpl	%edi, 52(%rcx)
	movl	$14, %eax
	cmovnel	%edx, %eax
	popq	%rbp
	retq
LBB0_15:
	addl	$-5000, %edi                    ## imm = 0xEC78
	xorl	%eax, %eax
	cmpl	$1000, %edi                     ## imm = 0x3E8
	ja	LBB0_17
## %bb.16:
	movzwl	%di, %eax
	imull	$52429, %eax, %eax              ## imm = 0xCCCD
	shrl	$18, %eax
LBB0_17:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_frequency_list_bg,8,3          ## @frequency_list_bg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_channel_of_freq                ; -- Begin function channel_of_freq
	.p2align	2
_channel_of_freq:                       ; @channel_of_freq
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #2412
	cmp	w8, #72
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _frequency_list_bg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _frequency_list_bg@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	mov	w8, #-5000
	add	w8, w0, w8
	cmp	w8, #1000
	b.hi	LBB0_7
; %bb.4:
	and	w8, w8, #0xffff
	mov	w9, #52429
	mul	w8, w8, w9
	lsr	w0, w8, #18
	ret
LBB0_5:
	ldr	w9, [x8, #4]
	cmp	w9, w0
	b.ne	LBB0_8
; %bb.6:
	mov	w0, #2
	ret
LBB0_7:
	mov	w0, #0
	ret
LBB0_8:
	ldr	w9, [x8, #8]
	cmp	w9, w0
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #3
	ret
LBB0_10:
	ldr	w9, [x8, #12]
	cmp	w9, w0
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #4
	ret
LBB0_12:
	ldr	w9, [x8, #16]
	cmp	w9, w0
	b.ne	LBB0_14
; %bb.13:
	mov	w0, #5
	ret
LBB0_14:
	ldr	w9, [x8, #20]
	cmp	w9, w0
	b.ne	LBB0_16
; %bb.15:
	mov	w0, #6
	ret
LBB0_16:
	ldr	w9, [x8, #24]
	cmp	w9, w0
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #7
	ret
LBB0_18:
	ldr	w9, [x8, #28]
	cmp	w9, w0
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #8
	ret
LBB0_20:
	ldr	w9, [x8, #32]
	cmp	w9, w0
	b.ne	LBB0_22
; %bb.21:
	mov	w0, #9
	ret
LBB0_22:
	ldr	w9, [x8, #36]
	cmp	w9, w0
	b.ne	LBB0_24
; %bb.23:
	mov	w0, #10
	ret
LBB0_24:
	ldr	w9, [x8, #40]
	cmp	w9, w0
	b.ne	LBB0_26
; %bb.25:
	mov	w0, #11
	ret
LBB0_26:
	ldr	w9, [x8, #44]
	cmp	w9, w0
	b.ne	LBB0_28
; %bb.27:
	mov	w0, #12
	ret
LBB0_28:
	ldr	w9, [x8, #48]
	cmp	w9, w0
	b.ne	LBB0_30
; %bb.29:
	mov	w0, #13
	ret
LBB0_30:
	ldr	w8, [x8, #52]
	mov	w9, #14
	cmp	w8, w0
	csel	w0, w9, wzr, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_frequency_list_bg,8,3          ; @frequency_list_bg
.subsections_via_symbols
