	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tda18271_lookup_pll_map        ## -- Begin function tda18271_lookup_pll_map
	.p2align	4, 0x90
_tda18271_lookup_pll_map:               ## @tda18271_lookup_pll_map
	.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
	pushq	%rax
	.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, %r15
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	(%rdi), %r14
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	sete	%dil
	callq	_BUG_ON
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_2
## %bb.4:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	addq	$8, %rax
	leaq	L_.str(%rip), %r12
	jmp	LBB0_6
LBB0_5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	leaq	L_.str.1(%rip), %r12
LBB0_6:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.7:
	movl	(%r13), %edx
	movl	(%r14), %eax
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	cmpl	%edx, %eax
	jge	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leal	1(%rbx), %ecx
	leaq	(%rcx,%rcx,2), %rax
	movl	(%r14,%rax,4), %eax
	testl	%eax, %eax
	jne	LBB0_8
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_tda_map
	movq	_ERANGE@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_11:
	movl	%ebx, %eax
	leaq	(%rax,%rax,2), %rax
	movl	8(%r14,%rax,4), %ecx
	movl	%ecx, (%r15)
	movl	4(%r14,%rax,4), %r8d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r8d, (%rax)
	movl	(%r15), %ecx
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_tda_map
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str.2(%rip), %r12
LBB0_3:
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	callq	_tda_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$8, %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	"main_pll"

L_.str.1:                               ## @.str.1
	.asciz	"cal_pll"

L_.str.2:                               ## @.str.2
	.asciz	"undefined"

L_.str.3:                               ## @.str.3
	.asciz	"%s map is not set!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"%s: frequency (%d) out of range\n"

	.comm	_ERANGE,4,2                     ## @ERANGE
L_.str.5:                               ## @.str.5
	.asciz	"(%d) %s: post div = 0x%02x, div = 0x%02x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tda18271_lookup_pll_map        ; -- Begin function tda18271_lookup_pll_map
	.p2align	2
_tda18271_lookup_pll_map:               ; @tda18271_lookup_pll_map
	.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	x22, x2
	mov	x21, x1
	ldr	x23, [x0]
	ldr	x8, [x23]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	cmp	w21, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w21, #128
	b.ne	LBB0_8
; %bb.2:
	ldr	x8, [x23]
	add	x8, x8, #8
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	ldr	x23, [x8]
	cbnz	x23, LBB0_4
	b	LBB0_9
LBB0_3:
	ldr	x8, [x23]
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	ldr	x23, [x8]
	cbz	x23, LBB0_9
LBB0_4:
	mov	w9, #0
	ldr	w8, [x22]
	ldr	w12, [x23]
	mov	w10, #1000
	mov	w11, #12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x9
	mul	w9, w12, w10
	cmp	w9, w8
	b.ge	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w24, #1
	umull	x12, w9, w11
	ldr	w12, [x23, x12]
	cbnz	w12, LBB0_5
; %bb.7:
	stp	x21, x8, [sp]
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_tda_map
Lloh6:
	adrp	x8, _ERANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_8:
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_9:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_tda_warn
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_12
LBB0_10:
	mov	w22, #0
LBB0_11:
	mov	w8, #12
	umaddl	x8, w24, w8, x23
	ldr	w9, [x8, #8]
	str	w9, [x19]
	ldr	w8, [x8, #4]
	str	w8, [x20]
	ldr	w9, [x19]
	stp	x9, x8, [sp, #16]
	stp	x24, x21, [sp]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tda_map
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"main_pll"

l_.str.1:                               ; @.str.1
	.asciz	"cal_pll"

l_.str.2:                               ; @.str.2
	.asciz	"undefined"

l_.str.3:                               ; @.str.3
	.asciz	"%s map is not set!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"%s: frequency (%d) out of range\n"

	.comm	_ERANGE,4,2                     ; @ERANGE
l_.str.5:                               ; @.str.5
	.asciz	"(%d) %s: post div = 0x%02x, div = 0x%02x\n"

.subsections_via_symbols
