	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simple_config_lookup
_simple_config_lookup:                  ## @simple_config_lookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %rdi
	movq	%rdx, %r13
	movq	%rsi, %rdx
	movl	(%rsi), %r14d
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.4:
	movl	(%r13), %eax
	movq	8(%rdx), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rcx), %eax
	jbe	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	addq	$12, %rcx
	cmpq	%rbx, %r14
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	cmpl	%r14d, %ebx
	jne	LBB0_3
LBB0_7:
	movl	(%r13), %esi
	movq	8(%rdx), %rax
	decl	%r14d
	movslq	%r14d, %r15
	leaq	(,%r15,4), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax,%rbx), %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_tuner_dbg
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax,%rbx), %ecx
	movl	%ecx, (%r13)
	movl	%r14d, %ebx
	jmp	LBB0_8
LBB0_3:
	movq	8(%rdx), %rax
	movslq	%ebx, %r15
LBB0_8:
	leaq	(%r15,%r15,2), %rcx
	movl	8(%rax,%rcx,4), %edx
	movl	%edx, (%rdi)
	movl	4(%rax,%rcx,4), %eax
	movl	%eax, (%r12)
	movl	(%r13), %ecx
	movl	%ecx, %esi
	shrl	$4, %esi
	movl	%ecx, %edx
	andl	$15, %edx
	imull	$100, %edx, %edx
	shrl	$4, %edx
	movl	(%rdi), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_tuner_dbg
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"frequency out of range (%d > %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"freq = %d.%02d (%d), range = %d, config = 0x%02x, cb = 0x%02x\n"

	.no_dead_strip	_simple_config_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simple_config_lookup
_simple_config_lookup:                  ; @simple_config_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	ldr	w9, [x21]
	ldr	x10, [x23, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cmp	w9, w11
	b.ls	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	add	x10, x10, #12
	cmp	x8, x22
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w22, #0
LBB0_5:
	cmp	w22, w8
	b.ne	LBB0_7
LBB0_6:
	ldr	w1, [x21]
	ldr	x9, [x23, #8]
	sxtw	x8, w8
	sub	x24, x8, #1
	add	x8, x24, x24, lsl #1
	lsl	x22, x8, #2
	ldr	w2, [x9, x22]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tuner_dbg
	ldr	x8, [x23, #8]
	ldr	w9, [x8, x22]
	str	w9, [x21]
	mov	x22, x24
	b	LBB0_8
LBB0_7:
	ldr	x8, [x23, #8]
	mov	x9, x22
	sxtw	x24, w9
LBB0_8:
	mov	w9, #12
	madd	x8, x24, x9, x8
	ldr	w9, [x8, #8]
	str	w9, [x19]
	ldr	w8, [x8, #4]
	str	w8, [x20]
	ldr	w9, [x21]
	ubfx	x1, x9, #4, #28
	and	w10, w9, #0xf
	mov	w11, #100
	mul	w10, w10, w11
	lsr	w2, w10, #4
	ldr	w10, [x19]
	stp	x10, x8, [sp, #16]
	mov	x8, x22
	stp	x9, x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_tuner_dbg
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"frequency out of range (%d > %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"freq = %d.%02d (%d), range = %d, config = 0x%02x, cb = 0x%02x\n"

	.no_dead_strip	_simple_config_lookup
.subsections_via_symbols
