	.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, %rbx
	xorl	%r13d, %r13d
	movl	$0, %eax
	movl	%esi, %r14d
	cmpl	$13500001, %esi                 ## imm = 0xCDFE61
	jb	LBB0_3
## %bb.1:
	cmpl	$27000002, %esi                 ## imm = 0x19BFCC2
	jb	LBB0_2
## %bb.12:
	cmpl	$54000004, %esi                 ## imm = 0x337F984
	jb	LBB0_13
## %bb.14:
	cmpl	$108000008, %esi                ## imm = 0x66FF308
	jb	LBB0_15
## %bb.16:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_17
LBB0_2:
	movl	%esi, %r14d
	shrl	%r14d
	movl	$1, %eax
	jmp	LBB0_3
LBB0_13:
	movl	%esi, %r14d
	shrl	$2, %r14d
	movl	$2, %eax
	jmp	LBB0_3
LBB0_15:
	movl	%esi, %r14d
	shrl	$3, %r14d
	movl	$4, %eax
LBB0_3:
	movl	%eax, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	leal	(%r12,%r12), %r15d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.4:
	leal	(,%r12,4), %r15d
	movl	$1, %r13d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.5:
	leal	(,%r12,8), %r15d
	movl	$2, %r13d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.6:
	movl	%r12d, %r15d
	shll	$4, %r15d
	movl	$3, %r13d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.7:
	movl	%r12d, %r15d
	shll	$5, %r15d
	movl	$4, %r13d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.8:
	movl	%r12d, %r15d
	shll	$6, %r15d
	movl	$5, %r13d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.9:
	movl	%r12d, %r15d
	shll	$7, %r15d
	movl	$6, %r13d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.10:
	movl	%r12d, %r15d
	shll	$8, %r15d
	movl	$7, %r13d
	cmpl	$89999999, %r15d                ## imm = 0x55D4A7F
	ja	LBB0_18
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	jmp	LBB0_17
LBB0_18:
	movl	%r13d, 4(%rbx)
	leaq	L_.str.3(%rip), %rdi
	xorl	%r13d, %r13d
	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	%rbx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_24
## %bb.19:
	movl	$12, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%r13
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r13
	jge	LBB0_24
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	cmpl	%r14d, -12(%rdi,%rbx)
	ja	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	-8(%rdi,%rbx), %r14d
	ja	LBB0_23
## %bb.22:
	movl	(%rdi,%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 16(%rcx)
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	-4(%rdi,%rbx)
	movl	%eax, %r15d
LBB0_24:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r13d
	jne	LBB0_26
## %bb.25:
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
LBB0_17:
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_27
LBB0_26:
	xorl	%r12d, %r12d
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r14d
	movl	%edx, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 8(%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	%r14d, %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, 12(%rbx)
	movl	8(%rbx), %esi
	movl	16(%rbx), %ecx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	leaq	L_.str.6(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_27:
	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
	mov	w8, #65121
	movk	w8, #205, lsl #16
	cmp	w1, w8
	b.lo	LBB0_5
; %bb.1:
	mov	w8, #64706
	movk	w8, #411, lsl #16
	cmp	w1, w8
	b.lo	LBB0_6
; %bb.2:
	mov	w8, #63876
	movk	w8, #823, lsl #16
	cmp	w1, w8
	b.lo	LBB0_7
; %bb.3:
	mov	w8, #62216
	movk	w8, #1647, lsl #16
	cmp	w1, w8
	b.lo	LBB0_8
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_35
LBB0_5:
	mov	w8, #0
	mov	x20, x1
	b	LBB0_9
LBB0_6:
	lsr	w20, w1, #1
	mov	w8, #1
	b	LBB0_9
LBB0_7:
	lsr	w20, w1, #2
	mov	w8, #2
	b	LBB0_9
LBB0_8:
	lsr	w20, w1, #3
	mov	w8, #4
LBB0_9:
	mov	w23, #19072
	movk	w23, #1373, lsl #16
	str	w8, [x19]
	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_18
; %bb.10:
	lsl	w21, w22, #2
	cmp	w21, w23
	b.hs	LBB0_19
; %bb.11:
	lsl	w21, w22, #3
	cmp	w21, w23
	b.hs	LBB0_20
; %bb.12:
	lsl	w21, w22, #4
	cmp	w21, w23
	b.hs	LBB0_21
; %bb.13:
	lsl	w21, w22, #5
	cmp	w21, w23
	b.hs	LBB0_22
; %bb.14:
	lsl	w21, w22, #6
	cmp	w21, w23
	b.hs	LBB0_23
; %bb.15:
	lsl	w21, w22, #7
	cmp	w21, w23
	b.hs	LBB0_24
; %bb.16:
	lsl	w21, w22, #8
	cmp	w21, w23
	b.hs	LBB0_25
; %bb.17:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	b	LBB0_35
LBB0_18:
	mov	w8, #0
	b	LBB0_26
LBB0_19:
	mov	w8, #1
	b	LBB0_26
LBB0_20:
	mov	w8, #2
	b	LBB0_26
LBB0_21:
	mov	w8, #3
	b	LBB0_26
LBB0_22:
	mov	w8, #4
	b	LBB0_26
LBB0_23:
	mov	w8, #5
	b	LBB0_26
LBB0_24:
	mov	w8, #6
	b	LBB0_26
LBB0_25:
	mov	w8, #7
LBB0_26:
	str	w8, [x19, #4]
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_32
; %bb.27:
	mov	x24, #0
	mov	x23, #0
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x23, w0, sxtw
	b.ge	LBB0_33
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	w8, [x0, x24]
	cmp	w8, w20
	b.hi	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	add	x8, x0, x24
	ldr	w9, [x8, #4]
	cmp	w20, w9
	b.hi	LBB0_28
; %bb.31:
	ldp	w8, w9, [x8, #8]
	str	w9, [x19, #16]
	udiv	w21, w21, w8
	b	LBB0_33
LBB0_32:
	mov	w23, #0
LBB0_33:
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w23, w0
	b.ne	LBB0_36
; %bb.34:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
LBB0_35:
	bl	_pr_err
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_37
LBB0_36:
	udiv	w8, w21, w20
	str	w8, [x19, #8]
	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, #12]
	ldp	w10, w1, [x19, #4]
	ldr	w9, [x19, #16]
	ldr	w11, [x19]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
	mov	w0, #0
LBB0_37:
	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
