	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrl_channelfreq_get
_ctrl_channelfreq_get:                  ## @ctrl_channelfreq_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movl	(%rdx), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movq	_FREQTABLE_SIZE@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %ecx
	jg	LBB0_3
## %bb.2:
	movq	8(%rdx), %rax
	decl	%ecx
	movl	(%rax,%rcx,4), %eax
LBB0_3:
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FREQTABLE_SIZE,4,2             ## @FREQTABLE_SIZE
	.no_dead_strip	_ctrl_channelfreq_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctrl_channelfreq_get
_ctrl_channelfreq_get:                  ; @ctrl_channelfreq_get
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w10, [x8]
Lloh0:
	adrp	x9, _FREQTABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FREQTABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x9]
	subs	w9, w10, #1
	ccmp	w10, w11, #0, ge
	b.le	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8, #8]
	ldr	w8, [x8, w9, uxtw #2]
LBB0_3:
	str	w8, [x1]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FREQTABLE_SIZE,4,2             ; @FREQTABLE_SIZE
	.no_dead_strip	_ctrl_channelfreq_get
.subsections_via_symbols
