	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adf4371_pll_fract_n_get_rate
_adf4371_pll_fract_n_get_rate:          ## @adf4371_pll_fract_n_get_rate
	.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	%rdi, %r15
	movq	_ADF4371_MODULUS1@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	imull	24(%rdi), %eax
	addl	(%rdi), %eax
	movq	%rsi, %r14
	movl	4(%rdi), %ecx
	movl	8(%rdi), %esi
	imull	%ecx, %eax
	movslq	%eax, %rbx
	imull	16(%rdi), %ecx
	movslq	%ecx, %r12
	movq	%r12, %rdi
	callq	_do_div
	movl	(%r13), %esi
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	cltq
	addq	%r12, %rbx
	addq	%rax, %rbx
	movq	_ADF4371_CH_RF8@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	movq	_ADF4371_CH_RFAUX8@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_3
LBB0_2:
	movl	12(%r15), %ecx
LBB0_3:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movq	%rbx, %rdi
	callq	_do_div
	movq	_ADF4371_CH_RF16@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_5
## %bb.4:
	addq	%rbx, %rbx
	jmp	LBB0_6
LBB0_5:
	movq	_ADF4371_CH_RF32@GOTPCREL(%rip), %rax
	leaq	(,%rbx,4), %rcx
	cmpq	%r14, (%rax)
	cmoveq	%rcx, %rbx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADF4371_MODULUS1,4,2           ## @ADF4371_MODULUS1
	.comm	_ADF4371_CH_RF8,8,3             ## @ADF4371_CH_RF8
	.comm	_ADF4371_CH_RFAUX8,8,3          ## @ADF4371_CH_RFAUX8
	.comm	_ADF4371_CH_RF16,8,3            ## @ADF4371_CH_RF16
	.comm	_ADF4371_CH_RF32,8,3            ## @ADF4371_CH_RF32
	.no_dead_strip	_adf4371_pll_fract_n_get_rate
.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_get_rate
_adf4371_pll_fract_n_get_rate:          ; @adf4371_pll_fract_n_get_rate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x21, x0
	ldr	w8, [x0, #24]
Lloh0:
	adrp	x22, _ADF4371_MODULUS1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ADF4371_MODULUS1@GOTPAGEOFF]
	ldr	w9, [x22]
	ldp	w10, w11, [x0]
	madd	w8, w9, w8, w10
	mul	w23, w8, w11
	ldr	w8, [x0, #16]
	mul	w8, w11, w8
	sxtw	x20, w8
	ldr	w1, [x0, #8]
	mov	x0, x20
	bl	_do_div
	ldr	w8, [x22]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	add	x10, x20, w23, sxtw
	add	x20, x10, w9, sxtw
Lloh2:
	adrp	x9, _ADF4371_CH_RF8@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ADF4371_CH_RF8@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _ADF4371_CH_RFAUX8@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ADF4371_CH_RFAUX8@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x19
	ccmp	x10, x19, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x21, #12]
	b	LBB0_3
LBB0_2:
	mov	w9, #0
LBB0_3:
	lsl	w1, w8, w9
	mov	x0, x20
	bl	_do_div
Lloh8:
	adrp	x8, _ADF4371_CH_RF16@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ADF4371_CH_RF16@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_5
; %bb.4:
	lsl	x0, x20, #1
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _ADF4371_CH_RF32@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ADF4371_CH_RF32@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	lsl	x9, x20, #2
	cmp	x8, x19
	csel	x0, x9, x20, eq
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ADF4371_MODULUS1,4,2           ; @ADF4371_MODULUS1
	.comm	_ADF4371_CH_RF8,8,3             ; @ADF4371_CH_RF8
	.comm	_ADF4371_CH_RFAUX8,8,3          ; @ADF4371_CH_RFAUX8
	.comm	_ADF4371_CH_RF16,8,3            ; @ADF4371_CH_RF16
	.comm	_ADF4371_CH_RF32,8,3            ; @ADF4371_CH_RF32
	.no_dead_strip	_adf4371_pll_fract_n_get_rate
.subsections_via_symbols
