	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fll_factors
_fll_factors:                           ## @fll_factors
	.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
	movl	%edx, %r12d
	movq	%rdi, %r14
	movq	$0, 16(%rdi)
	movl	%esi, %r13d
	cmpl	$13500001, %esi                 ## imm = 0xCDFE61
	jb	LBB0_7
## %bb.1:
	movq	$1, 16(%r14)
	cmpl	$27000002, %esi                 ## imm = 0x19BFCC2
	jb	LBB0_2
## %bb.3:
	movq	$2, 16(%r14)
	cmpl	$54000004, %esi                 ## imm = 0x337F984
	jb	LBB0_4
## %bb.5:
	movq	$3, 16(%r14)
	cmpl	$108000008, %esi                ## imm = 0x66FF308
	jb	LBB0_6
## %bb.27:
	movq	$4, 16(%r14)
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_16
LBB0_2:
	movl	%esi, %r13d
	shrl	%r13d
	jmp	LBB0_7
LBB0_4:
	movl	%esi, %r13d
	shrl	$2, %r13d
	jmp	LBB0_7
LBB0_6:
	movl	%esi, %r13d
	shrl	$3, %r13d
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	leal	(%r12,%r12), %r15d
	movl	$0, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.8:
	leal	(,%r12,4), %r15d
	movl	$1, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.9:
	leal	(,%r12,8), %r15d
	movl	$2, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.10:
	movl	%r12d, %r15d
	shll	$4, %r15d
	movl	$3, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.11:
	movl	%r12d, %r15d
	shll	$5, %r15d
	movl	$4, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.12:
	movl	%r12d, %r15d
	shll	$6, %r15d
	movl	$5, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.13:
	movl	%r12d, %r15d
	shll	$7, %r15d
	movl	$6, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.14:
	movl	%r12d, %r15d
	shll	$8, %r15d
	movl	$7, %eax
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_17
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	jmp	LBB0_16
LBB0_17:
	movl	%eax, (%r14)
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_fll_fratios@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_23
## %bb.18:
	movl	$12, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r14
	cmpq	%rax, %rbx
	jge	LBB0_23
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	cmpl	%r13d, -12(%rdi,%r14)
	ja	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	-8(%rdi,%r14), %r13d
	ja	LBB0_22
## %bb.21:
	movl	(%rdi,%r14), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 24(%rcx)
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	-4(%rdi,%r14)
	movl	%eax, %r15d
LBB0_23:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jne	LBB0_25
## %bb.24:
	leaq	L_.str.4(%rip), %rdi
	movl	%r13d, %esi
LBB0_16:
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_26
LBB0_25:
	xorl	%r12d, %r12d
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r13d
	movl	%edx, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 4(%rbx)
	leaq	L_.str.5(%rip), %rdi
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_FIXED_FLL_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_do_div
	movl	$3435973837, %eax               ## imm = 0xCCCCCCCD
	movq	%r15, %rcx
	imulq	%rax, %rcx
	shrq	$35, %rcx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%r15d, %esi
	subl	%ecx, %esi
	leal	5(%r15), %edx
	cmpl	$5, %esi
	cmovbl	%r15d, %edx
	imulq	%rax, %rdx
	shrq	$35, %rdx
	movl	%edx, 8(%rbx)
	movl	(%rbx), %r8d
	movl	4(%rbx), %esi
	movl	24(%rbx), %ecx
	movq	16(%rbx), %r9
	leaq	L_.str.6(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_26:
	movl	%r12d, %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	"Can't scale %dMHz input down to <=13.5MHz\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Fref=%u Fout=%u\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to find FLL_OUTDIV for Fout=%uHz\n"

L_.str.3:                               ## @.str.3
	.asciz	"Fvco=%dHz\n"

	.comm	_fll_fratios,8,3                ## @fll_fratios
L_.str.4:                               ## @.str.4
	.asciz	"Unable to find FLL_FRATIO for Fref=%uHz\n"

L_.str.5:                               ## @.str.5
	.asciz	"Nmod=%d\n"

	.comm	_FIXED_FLL_SIZE,8,3             ## @FIXED_FLL_SIZE
L_.str.6:                               ## @.str.6
	.asciz	"N=%x K=%x FLL_FRATIO=%x FLL_OUTDIV=%x FLL_CLK_REF_DIV=%x\n"

	.no_dead_strip	_fll_factors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fll_factors
_fll_factors:                           ; @fll_factors
	.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	x22, x2
	mov	x19, x0
	str	xzr, [x0, #16]
	mov	w8, #65121
	movk	w8, #205, lsl #16
	mov	x20, x1
	cmp	w1, w8
	b.lo	LBB0_8
; %bb.1:
	mov	w8, #1
	str	x8, [x19, #16]
	mov	w8, #64706
	movk	w8, #411, lsl #16
	cmp	w1, w8
	b.lo	LBB0_5
; %bb.2:
	mov	w8, #2
	str	x8, [x19, #16]
	mov	w8, #63876
	movk	w8, #823, lsl #16
	cmp	w1, w8
	b.lo	LBB0_6
; %bb.3:
	mov	w8, #3
	str	x8, [x19, #16]
	mov	w8, #62216
	movk	w8, #1647, lsl #16
	cmp	w1, w8
	b.lo	LBB0_7
; %bb.4:
	mov	w8, #4
	str	x8, [x19, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_34
LBB0_5:
	lsr	w20, w1, #1
	b	LBB0_8
LBB0_6:
	lsr	w20, w1, #2
	b	LBB0_8
LBB0_7:
	lsr	w20, w1, #3
LBB0_8:
	mov	w23, #19072
	movk	w23, #1373, lsl #16
	str	x22, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	lsl	w21, w22, #1
	cmp	w21, w23
	b.hs	LBB0_17
; %bb.9:
	lsl	w21, w22, #2
	cmp	w21, w23
	b.hs	LBB0_18
; %bb.10:
	lsl	w21, w22, #3
	cmp	w21, w23
	b.hs	LBB0_19
; %bb.11:
	lsl	w21, w22, #4
	cmp	w21, w23
	b.hs	LBB0_20
; %bb.12:
	lsl	w21, w22, #5
	cmp	w21, w23
	b.hs	LBB0_21
; %bb.13:
	lsl	w21, w22, #6
	cmp	w21, w23
	b.hs	LBB0_22
; %bb.14:
	lsl	w21, w22, #7
	cmp	w21, w23
	b.hs	LBB0_23
; %bb.15:
	lsl	w21, w22, #8
	cmp	w21, w23
	b.hs	LBB0_24
; %bb.16:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	b	LBB0_34
LBB0_17:
	mov	w8, #0
	b	LBB0_25
LBB0_18:
	mov	w8, #1
	b	LBB0_25
LBB0_19:
	mov	w8, #2
	b	LBB0_25
LBB0_20:
	mov	w8, #3
	b	LBB0_25
LBB0_21:
	mov	w8, #4
	b	LBB0_25
LBB0_22:
	mov	w8, #5
	b	LBB0_25
LBB0_23:
	mov	w8, #6
	b	LBB0_25
LBB0_24:
	mov	w8, #7
LBB0_25:
	str	w8, [x19]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_pr_debug
Lloh8:
	adrp	x22, _fll_fratios@GOTPAGE
Lloh9:
	ldr	x22, [x22, _fll_fratios@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_31
; %bb.26:
	mov	x24, #0
	mov	x23, #0
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x23, w0, sxtw
	b.ge	LBB0_32
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	w8, [x0, x24]
	cmp	w8, w20
	b.hi	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	add	x8, x0, x24
	ldr	w9, [x8, #4]
	cmp	w20, w9
	b.hi	LBB0_27
; %bb.30:
	ldp	w8, w9, [x8, #8]
	str	w9, [x19, #24]
	udiv	w21, w21, w8
	b	LBB0_32
LBB0_31:
	mov	w23, #0
LBB0_32:
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w23, w0
	b.ne	LBB0_35
; %bb.33:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
LBB0_34:
	bl	_pr_err
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_36
LBB0_35:
	udiv	w8, w21, w20
	str	w8, [x19, #4]
	msub	w21, w8, w20, w21
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_pr_debug
Lloh17:
	adrp	x8, _FIXED_FLL_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FIXED_FLL_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	mul	w21, w21, w8
	mov	x0, x21
	mov	x1, x20
	bl	_do_div
	mov	w8, #52429
	movk	w8, #52428, lsl #16
	umull	x9, w21, w8
	lsr	x9, x9, #35
	mov	w10, #10
	msub	w9, w9, w10, w21
	add	w10, w21, #5
	cmp	w9, #4
	csel	w9, w10, w21, hi
	umull	x8, w9, w8
	lsr	x8, x8, #35
	str	w8, [x19, #8]
	ldr	x9, [x19, #16]
	ldr	w10, [x19, #24]
	ldp	w11, w1, [x19]
	stp	x11, x9, [sp, #16]
	stp	x8, x10, [sp]
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
	mov	w0, #0
LBB0_36:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't scale %dMHz input down to <=13.5MHz\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Fref=%u Fout=%u\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to find FLL_OUTDIV for Fout=%uHz\n"

l_.str.3:                               ; @.str.3
	.asciz	"Fvco=%dHz\n"

	.comm	_fll_fratios,8,3                ; @fll_fratios
l_.str.4:                               ; @.str.4
	.asciz	"Unable to find FLL_FRATIO for Fref=%uHz\n"

l_.str.5:                               ; @.str.5
	.asciz	"Nmod=%d\n"

	.comm	_FIXED_FLL_SIZE,8,3             ; @FIXED_FLL_SIZE
l_.str.6:                               ; @.str.6
	.asciz	"N=%x K=%x FLL_FRATIO=%x FLL_OUTDIV=%x FLL_CLK_REF_DIV=%x\n"

	.no_dead_strip	_fll_factors
.subsections_via_symbols
