	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adf4371_pll_fract_n_compute
_adf4371_pll_fract_n_compute:           ## @adf4371_pll_fract_n_compute
	.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	%r9, %r15
	movq	%r8, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_do_div
	movq	%rax, %r13
	movq	_ADF4371_MODULUS1@GOTPCREL(%rip), %rax
	imulq	(%rax), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_do_div
	movl	%eax, (%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	movl	%ebx, (%r15)
	movq	_ADF4371_MAX_MODULUS2@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jae	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shrl	%ebx
	movl	%ebx, (%r15)
	movl	(%r14), %edi
	shrl	%edi
	movl	%edi, (%r14)
	movl	(%r15), %ebx
	cmpl	(%rax), %ebx
	ja	LBB0_2
	jmp	LBB0_3
LBB0_1:
	movl	(%r14), %edi
LBB0_3:
	movl	%ebx, %esi
	callq	_gcd
	movl	%eax, %ecx
	movl	(%r15), %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, (%r15)
	movl	(%r14), %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADF4371_MODULUS1,8,3           ## @ADF4371_MODULUS1
	.comm	_ADF4371_MAX_MODULUS2,4,2       ## @ADF4371_MAX_MODULUS2
	.no_dead_strip	_adf4371_pll_fract_n_compute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adf4371_pll_fract_n_compute
_adf4371_pll_fract_n_compute:           ; @adf4371_pll_fract_n_compute
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x5
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
	bl	_do_div
Lloh0:
	adrp	x8, _ADF4371_MODULUS1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADF4371_MODULUS1@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mul	x25, x8, x0
	mov	x0, x25
	mov	x1, x21
	bl	_do_div
	str	w0, [x19]
	str	w24, [x23]
	str	w25, [x22]
	str	w21, [x20]
Lloh3:
	adrp	x8, _ADF4371_MAX_MODULUS2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADF4371_MAX_MODULUS2@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w21
	b.hs	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w9, w21, #1
	str	w9, [x20]
	ldr	w9, [x19]
	lsr	w0, w9, #1
	str	w0, [x19]
	ldr	w21, [x20]
	ldr	w9, [x8]
	cmp	w21, w9
	b.hi	LBB0_1
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
LBB0_3:
	mov	x1, x21
	bl	_gcd
	ldr	w8, [x20]
	udiv	w8, w8, w0
	str	w8, [x20]
	ldr	w8, [x19]
	udiv	w8, w8, w0
	str	w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADF4371_MODULUS1,8,3           ; @ADF4371_MODULUS1
	.comm	_ADF4371_MAX_MODULUS2,4,2       ; @ADF4371_MAX_MODULUS2
	.no_dead_strip	_adf4371_pll_fract_n_compute
.subsections_via_symbols
