	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adf4350_set_freq
_adf4350_set_freq:                      ## @adf4350_set_freq
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ADF4350_MAX_OUT_FREQ@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jb	LBB0_19
## %bb.1:
	movq	%rdi, %r12
	cmpq	%rsi, (%rdi)
	jbe	LBB0_2
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ADF4350_MAX_FREQ_45_PRESC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	%rsi, (%rcx)
	movq	_ADF4350_REG1_PRESCALER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmovael	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$75, %ecx
	movl	$23, %edx
	cmovbq	%rcx, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	64(%r12), %rdx
	movq	_ADF4350_MIN_VCO_FREQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rsi, %rcx
	jbe	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rsi, %rsi
	incl	%eax
	cmpq	%rcx, %rsi
	jb	LBB0_4
LBB0_5:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, 8(%r12)
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rax
	xorl	%esi, %esi
	subq	$1, %rax
	cmovaeq	%rax, %rsi
	movl	12(%r12), %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %ebx
	movq	%r12, %rdi
	callq	_adf4350_tune_r_cnt
	movq	%rax, %r15
	movl	28(%r12), %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r14d
	movl	%eax, 24(%r12)
	xorl	%r14d, %r14d
	movq	_ADF4350_MAX_R_CNT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r15
	movl	$0, %r13d
	cmovleq	%r15, %r13
	setg	%r14b
	addl	%ebx, %r14d
	movq	_ADF4350_MAX_MODULUS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rsi
	testq	%r13, %r13
	jne	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$0, %esi
	testq	%r13, %r13
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cltq
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rbx
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movl	%ecx, %esi
	callq	_do_div
	movl	24(%r12), %esi
	movq	%rbx, %rdi
	callq	_do_div
	movl	%eax, 32(%r12)
	movq	%rbx, 16(%r12)
	movq	%r15, %rsi
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	jg	LBB0_6
## %bb.10:
	movl	28(%r12), %edi
	movq	_ADF4350_MAX_BANDSEL_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r15d
	movl	32(%r12), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.11:
	movl	24(%r12), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.12:
	callq	_gcd
	movl	%eax, %ecx
	movl	24(%r12), %eax
	movl	32(%r12), %esi
	cltd
	idivl	%ecx
	movl	%eax, %r10d
	movl	%eax, 24(%r12)
	movl	%esi, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, 32(%r12)
	jmp	LBB0_14
LBB0_13:
	movl	$0, 32(%r12)
	movl	$1, 24(%r12)
	xorl	%eax, %eax
	movl	$1, %r10d
LBB0_14:
	movq	56(%r12), %rdi
	movl	28(%r12), %r8d
	movq	16(%r12), %r9
	movb	8(%r12), %cl
	movl	$1, %r11d
	shll	%cl, %r11d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rcx, %rbx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r8d, %ecx
	movq	%r13, %r8
	pushq	%r15
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	pushq	%rax
	callq	_dev_dbg
	addq	$48, %rsp
	movq	16(%r12), %rdi
	callq	_ADF4350_REG0_INT
	movl	%eax, %ebx
	movl	32(%r12), %edi
	callq	_ADF4350_REG0_FRACT
	orl	%ebx, %eax
	movq	40(%r12), %rcx
	movq	_ADF4350_REG0@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	$1, %edi
	callq	_ADF4350_REG1_PHASE
	movl	%eax, %ebx
	movl	24(%r12), %edi
	callq	_ADF4350_REG1_MOD
	orl	%r14d, %ebx
	orl	%eax, %ebx
	movq	40(%r12), %rax
	movq	_ADF4350_REG1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, (%rax,%rcx,4)
	movq	%r13, %rdi
	callq	_ADF4350_REG2_10BIT_R_CNT
	movl	%eax, %ebx
	movq	_ADF4350_REG2_DOUBLE_BUFF_EN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$0, 32(%rsi)
	movl	$0, %edx
	je	LBB0_16
## %bb.15:
	movq	_ADF4350_REG2_RMULT2_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_16:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	orl	(%rcx), %ebx
	cmpq	$0, 24(%rsi)
	je	LBB0_18
## %bb.17:
	movq	_ADF4350_REG2_RDIV2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	orl	%eax, %edx
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	_ADF4350_REG2_PD_POLARITY_POS@GOTPCREL(%rip), %rax
	movq	_ADF4350_REG2_LDP_6ns@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movl	8(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ADF4350_REG2_LDF_INT_N@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	$5000, %edi                     ## imm = 0x1388
	callq	_ADF4350_REG2_CHARGE_PUMP_CURR_uA
	movl	%eax, %r13d
	movl	$7, %edi
	callq	_ADF4350_REG2_MUXOUT
	movl	%eax, %r15d
	orl	%r13d, %r15d
	movl	$3, %edi
	callq	_ADF4350_REG2_NOISE_MODE
	orl	%r15d, %eax
	orl	%r14d, %eax
	andl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	orl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	orl	%eax, %ebx
	movq	40(%r12), %rax
	movq	_ADF4350_REG2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, (%rax,%rcx,4)
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	12(%r13), %r14d
	movl	$4095, %edi                     ## imm = 0xFFF
	callq	_ADF4350_REG3_12BIT_CLKDIV
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_ADF4350_REG3_12BIT_CLKDIV_MODE
	orl	%ebx, %eax
	movq	_ADF4350_REG3_12BIT_CSR_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ADF4351_REG3_CHARGE_CANCELLATION_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ADF4351_REG3_ANTI_BACKLASH_3ns_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ADF4351_REG3_BAND_SEL_CLOCK_MODE_HIGH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	andl	%r14d, %eax
	movq	40(%r12), %rcx
	movq	_ADF4350_REG3@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_ADF4350_REG4_FEEDBACK_FUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	8(%r12), %edi
	callq	_ADF4350_REG4_RF_DIV_SEL
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ADF4350_REG4_8BIT_BAND_SEL_CLKDIV
	movl	%eax, %r15d
	orl	%ebx, %r15d
	movq	_ADF4350_REG4_RF_OUT_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	16(%r13), %r14d
	movl	$3, %edi
	callq	_ADF4350_REG4_OUTPUT_PWR
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_ADF4350_REG4_AUX_OUTPUT_PWR
	orl	%ebx, %eax
	movq	_ADF4350_REG4_AUX_OUTPUT_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ADF4350_REG4_AUX_OUTPUT_FUND@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ADF4350_REG4_MUTE_TILL_LOCK_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	andl	%r14d, %eax
	orl	%r15d, %eax
	movq	40(%r12), %rcx
	movq	_ADF4350_REG4@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_ADF4350_REG5_LD_PIN_MODE_DIGITAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADF4350_REG5@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r12)
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adf4350_sync_config            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADF4350_MAX_OUT_FREQ,8,3       ## @ADF4350_MAX_OUT_FREQ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ADF4350_MAX_FREQ_45_PRESC,8,3  ## @ADF4350_MAX_FREQ_45_PRESC
	.comm	_ADF4350_REG1_PRESCALER,4,2     ## @ADF4350_REG1_PRESCALER
	.comm	_ADF4350_MIN_VCO_FREQ,8,3       ## @ADF4350_MIN_VCO_FREQ
	.comm	_ADF4350_MAX_R_CNT,8,3          ## @ADF4350_MAX_R_CNT
	.comm	_ADF4350_MAX_MODULUS,4,2        ## @ADF4350_MAX_MODULUS
	.comm	_ADF4350_MAX_BANDSEL_CLK,4,2    ## @ADF4350_MAX_BANDSEL_CLK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VCO: %llu Hz, PFD %lu Hz\nREF_DIV %d, R0_INT %d, R0_FRACT %d\nR1_MOD %d, RF_DIV %d\nPRESCALER %s, BAND_SEL_DIV %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"8/9"

L_.str.2:                               ## @.str.2
	.asciz	"4/5"

	.comm	_ADF4350_REG0,8,3               ## @ADF4350_REG0
	.comm	_ADF4350_REG1,8,3               ## @ADF4350_REG1
	.comm	_ADF4350_REG2_DOUBLE_BUFF_EN,4,2 ## @ADF4350_REG2_DOUBLE_BUFF_EN
	.comm	_ADF4350_REG2_RMULT2_EN,4,2     ## @ADF4350_REG2_RMULT2_EN
	.comm	_ADF4350_REG2_RDIV2_EN,4,2      ## @ADF4350_REG2_RDIV2_EN
	.comm	_ADF4350_REG2_PD_POLARITY_POS,4,2 ## @ADF4350_REG2_PD_POLARITY_POS
	.comm	_ADF4350_REG2_LDP_6ns,4,2       ## @ADF4350_REG2_LDP_6ns
	.comm	_ADF4350_REG2_LDF_INT_N,4,2     ## @ADF4350_REG2_LDF_INT_N
	.comm	_ADF4350_REG2,8,3               ## @ADF4350_REG2
	.comm	_ADF4350_REG3_12BIT_CSR_EN,4,2  ## @ADF4350_REG3_12BIT_CSR_EN
	.comm	_ADF4351_REG3_CHARGE_CANCELLATION_EN,4,2 ## @ADF4351_REG3_CHARGE_CANCELLATION_EN
	.comm	_ADF4351_REG3_ANTI_BACKLASH_3ns_EN,4,2 ## @ADF4351_REG3_ANTI_BACKLASH_3ns_EN
	.comm	_ADF4351_REG3_BAND_SEL_CLOCK_MODE_HIGH,4,2 ## @ADF4351_REG3_BAND_SEL_CLOCK_MODE_HIGH
	.comm	_ADF4350_REG3,8,3               ## @ADF4350_REG3
	.comm	_ADF4350_REG4_FEEDBACK_FUND,4,2 ## @ADF4350_REG4_FEEDBACK_FUND
	.comm	_ADF4350_REG4_RF_OUT_EN,4,2     ## @ADF4350_REG4_RF_OUT_EN
	.comm	_ADF4350_REG4_AUX_OUTPUT_EN,4,2 ## @ADF4350_REG4_AUX_OUTPUT_EN
	.comm	_ADF4350_REG4_AUX_OUTPUT_FUND,4,2 ## @ADF4350_REG4_AUX_OUTPUT_FUND
	.comm	_ADF4350_REG4_MUTE_TILL_LOCK_EN,4,2 ## @ADF4350_REG4_MUTE_TILL_LOCK_EN
	.comm	_ADF4350_REG4,8,3               ## @ADF4350_REG4
	.comm	_ADF4350_REG5_LD_PIN_MODE_DIGITAL,4,2 ## @ADF4350_REG5_LD_PIN_MODE_DIGITAL
	.comm	_ADF4350_REG5,8,3               ## @ADF4350_REG5
	.no_dead_strip	_adf4350_set_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adf4350_set_freq
_adf4350_set_freq:                      ; @adf4350_set_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _ADF4350_MAX_OUT_FREQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADF4350_MAX_OUT_FREQ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.lo	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.ls	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_3:
	ldr	x24, [x19, #64]
Lloh6:
	adrp	x9, _ADF4350_MAX_FREQ_45_PRESC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ADF4350_MAX_FREQ_45_PRESC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _ADF4350_REG1_PRESCALER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ADF4350_REG1_PRESCALER@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	mov	w11, #23
	mov	w12, #75
	cmp	x9, x20
	csel	x26, x12, x11, lo
	csel	w9, w10, wzr, lo
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x9, _ADF4350_MIN_VCO_FREQ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ADF4350_MIN_VCO_FREQ@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x20
	b.ls	LBB0_6
; %bb.4:
	mov	w8, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x20, x20, #1
	add	w8, w8, #1
	cmp	x20, x9
	b.lo	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	str	w8, [x19, #8]
	ldr	x8, [x24]
	sub	x9, x8, #1
	cmp	x8, #0
	csel	x8, xzr, x9, eq
	ldr	w27, [x19, #12]
Lloh15:
	adrp	x28, _ADF4350_MAX_R_CNT@GOTPAGE
Lloh16:
	ldr	x28, [x28, _ADF4350_MAX_R_CNT@GOTPAGEOFF]
Lloh17:
	adrp	x25, _ADF4350_MAX_MODULUS@GOTPAGE
Lloh18:
	ldr	x25, [x25, _ADF4350_MAX_MODULUS@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x8
	bl	_adf4350_tune_r_cnt
	ldr	w1, [x19, #28]
	sdiv	w9, w1, w27
	str	w9, [x19, #24]
	ldr	x8, [x28]
	cmp	x0, x8
	csel	x22, xzr, x0, gt
	cinc	w27, w27, gt
	ldr	w8, [x25]
	cmp	w9, w8
	ccmp	x22, #0, #4, gt
	mov	x8, x0
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, #0
	cbz	x22, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, x0
	sxtw	x8, w9
	mul	x8, x20, x8
	asr	w9, w1, #1
	add	x23, x8, w9, sxtw
	mov	x0, x23
	bl	_do_div
	ldr	w1, [x19, #24]
	mov	x0, x23
	bl	_do_div
	str	w0, [x19, #32]
	str	x23, [x19, #16]
	mov	x8, x21
	cmp	x26, x23
	b.gt	LBB0_8
; %bb.11:
	ldr	w0, [x19, #28]
Lloh19:
	adrp	x8, _ADF4350_MAX_BANDSEL_CLK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ADF4350_MAX_BANDSEL_CLK@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_DIV_ROUND_UP
	mov	x21, x0
	ldr	w1, [x19, #32]
	cbz	w1, LBB0_14
; %bb.12:
	ldr	w0, [x19, #24]
	cbz	w0, LBB0_14
; %bb.13:
	bl	_gcd
	ldr	w8, [x19, #24]
	sdiv	w7, w8, w0
	str	w7, [x19, #24]
	ldr	w8, [x19, #32]
	sdiv	w6, w8, w0
	str	w6, [x19, #32]
	b	LBB0_15
LBB0_14:
	mov	w6, #0
	str	wzr, [x19, #32]
	mov	w7, #1
	str	w7, [x19, #24]
LBB0_15:
	ldr	x0, [x19, #56]
	ldr	w3, [x19, #28]
	ldr	x5, [x19, #16]
	ldr	w8, [x19, #8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh22:
	adrp	x9, l_.str.1@PAGE
Lloh23:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh24:
	adrp	x10, l_.str.2@PAGE
Lloh25:
	add	x10, x10, l_.str.2@PAGEOFF
	ldr	w25, [sp, #28]                  ; 4-byte Folded Reload
	cmp	w25, #0
	csel	x9, x10, x9, eq
	str	w21, [sp, #16]
	str	x9, [sp, #8]
	str	w8, [sp]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x4, x22
	bl	_dev_dbg
	ldr	x0, [x19, #16]
	bl	_ADF4350_REG0_INT
	mov	x23, x0
	ldr	w0, [x19, #32]
	bl	_ADF4350_REG0_FRACT
	orr	w8, w0, w23
	ldr	x9, [x19, #40]
Lloh28:
	adrp	x10, _ADF4350_REG0@GOTPAGE
Lloh29:
	ldr	x10, [x10, _ADF4350_REG0@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	mov	w0, #1
	bl	_ADF4350_REG1_PHASE
	mov	x23, x0
	ldr	w0, [x19, #24]
	bl	_ADF4350_REG1_MOD
	orr	w8, w23, w25
	orr	w8, w8, w0
	ldr	x9, [x19, #40]
Lloh31:
	adrp	x10, _ADF4350_REG1@GOTPAGE
Lloh32:
	ldr	x10, [x10, _ADF4350_REG1@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	mov	x0, x22
	bl	_ADF4350_REG2_10BIT_R_CNT
Lloh34:
	adrp	x8, _ADF4350_REG2_DOUBLE_BUFF_EN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ADF4350_REG2_DOUBLE_BUFF_EN@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh37:
	adrp	x9, _ADF4350_REG2_RMULT2_EN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ADF4350_REG2_RMULT2_EN@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	ldp	x11, x10, [x24, #24]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh40:
	adrp	x9, _ADF4350_REG2_RDIV2_EN@GOTPAGE
Lloh41:
	ldr	x9, [x9, _ADF4350_REG2_RDIV2_EN@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w22, w8, w9
	ldr	w23, [x24, #8]
Lloh43:
	adrp	x8, _ADF4350_REG2_PD_POLARITY_POS@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ADF4350_REG2_PD_POLARITY_POS@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _ADF4350_REG2_LDP_6ns@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ADF4350_REG2_LDP_6ns@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh49:
	adrp	x9, _ADF4350_REG2_LDF_INT_N@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ADF4350_REG2_LDF_INT_N@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w25, w8, w9
	mov	w0, #5000
	bl	_ADF4350_REG2_CHARGE_PUMP_CURR_uA
	orr	w25, w25, w0
	mov	w0, #7
	bl	_ADF4350_REG2_MUXOUT
	orr	w25, w25, w0
	mov	w0, #3
	bl	_ADF4350_REG2_NOISE_MODE
	orr	w8, w25, w0
	and	w8, w8, w23
	orr	w8, w22, w8
	ldr	x9, [x19, #40]
Lloh52:
	adrp	x10, _ADF4350_REG2@GOTPAGE
Lloh53:
	ldr	x10, [x10, _ADF4350_REG2@GOTPAGEOFF]
Lloh54:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	ldr	w23, [x24, #12]
	mov	w0, #4095
	bl	_ADF4350_REG3_12BIT_CLKDIV
	mov	x22, x0
	mov	w0, #3
	bl	_ADF4350_REG3_12BIT_CLKDIV_MODE
	orr	w8, w0, w22
Lloh55:
	adrp	x9, _ADF4350_REG3_12BIT_CSR_EN@GOTPAGE
Lloh56:
	ldr	x9, [x9, _ADF4350_REG3_12BIT_CSR_EN@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh58:
	adrp	x9, _ADF4351_REG3_CHARGE_CANCELLATION_EN@GOTPAGE
Lloh59:
	ldr	x9, [x9, _ADF4351_REG3_CHARGE_CANCELLATION_EN@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
Lloh61:
	adrp	x10, _ADF4351_REG3_ANTI_BACKLASH_3ns_EN@GOTPAGE
Lloh62:
	ldr	x10, [x10, _ADF4351_REG3_ANTI_BACKLASH_3ns_EN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh63:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh64:
	adrp	x9, _ADF4351_REG3_BAND_SEL_CLOCK_MODE_HIGH@GOTPAGE
Lloh65:
	ldr	x9, [x9, _ADF4351_REG3_BAND_SEL_CLOCK_MODE_HIGH@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w8, w9
	and	w8, w8, w23
	ldr	x9, [x19, #40]
Lloh67:
	adrp	x10, _ADF4350_REG3@GOTPAGE
Lloh68:
	ldr	x10, [x10, _ADF4350_REG3@GOTPAGEOFF]
Lloh69:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh70:
	adrp	x8, _ADF4350_REG4_FEEDBACK_FUND@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ADF4350_REG4_FEEDBACK_FUND@GOTPAGEOFF]
Lloh72:
	ldr	w22, [x8]
	ldr	w0, [x19, #8]
	bl	_ADF4350_REG4_RF_DIV_SEL
	orr	w22, w0, w22
	mov	x0, x21
	bl	_ADF4350_REG4_8BIT_BAND_SEL_CLKDIV
	orr	w8, w22, w0
Lloh73:
	adrp	x9, _ADF4350_REG4_RF_OUT_EN@GOTPAGE
Lloh74:
	ldr	x9, [x9, _ADF4350_REG4_RF_OUT_EN@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	orr	w22, w8, w9
	ldr	w23, [x24, #16]
	mov	w0, #3
	bl	_ADF4350_REG4_OUTPUT_PWR
	mov	x21, x0
	mov	w0, #3
	bl	_ADF4350_REG4_AUX_OUTPUT_PWR
	orr	w8, w0, w21
Lloh76:
	adrp	x9, _ADF4350_REG4_AUX_OUTPUT_EN@GOTPAGE
Lloh77:
	ldr	x9, [x9, _ADF4350_REG4_AUX_OUTPUT_EN@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh79:
	adrp	x9, _ADF4350_REG4_AUX_OUTPUT_FUND@GOTPAGE
Lloh80:
	ldr	x9, [x9, _ADF4350_REG4_AUX_OUTPUT_FUND@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh82:
	adrp	x9, _ADF4350_REG4_MUTE_TILL_LOCK_EN@GOTPAGE
Lloh83:
	ldr	x9, [x9, _ADF4350_REG4_MUTE_TILL_LOCK_EN@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	orr	w8, w8, w9
	and	w8, w8, w23
	orr	w8, w22, w8
	ldr	x9, [x19, #40]
Lloh85:
	adrp	x10, _ADF4350_REG4@GOTPAGE
Lloh86:
	ldr	x10, [x10, _ADF4350_REG4@GOTPAGEOFF]
Lloh87:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh88:
	adrp	x8, _ADF4350_REG5_LD_PIN_MODE_DIGITAL@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ADF4350_REG5_LD_PIN_MODE_DIGITAL@GOTPAGEOFF]
Lloh90:
	adrp	x10, _ADF4350_REG5@GOTPAGE
Lloh91:
	ldr	x10, [x10, _ADF4350_REG5@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
Lloh93:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	str	x20, [x19, #48]
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_adf4350_sync_config
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh92
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ADF4350_MAX_OUT_FREQ,8,3       ; @ADF4350_MAX_OUT_FREQ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ADF4350_MAX_FREQ_45_PRESC,8,3  ; @ADF4350_MAX_FREQ_45_PRESC
	.comm	_ADF4350_REG1_PRESCALER,4,2     ; @ADF4350_REG1_PRESCALER
	.comm	_ADF4350_MIN_VCO_FREQ,8,3       ; @ADF4350_MIN_VCO_FREQ
	.comm	_ADF4350_MAX_R_CNT,8,3          ; @ADF4350_MAX_R_CNT
	.comm	_ADF4350_MAX_MODULUS,4,2        ; @ADF4350_MAX_MODULUS
	.comm	_ADF4350_MAX_BANDSEL_CLK,4,2    ; @ADF4350_MAX_BANDSEL_CLK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VCO: %llu Hz, PFD %lu Hz\nREF_DIV %d, R0_INT %d, R0_FRACT %d\nR1_MOD %d, RF_DIV %d\nPRESCALER %s, BAND_SEL_DIV %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"8/9"

l_.str.2:                               ; @.str.2
	.asciz	"4/5"

	.comm	_ADF4350_REG0,8,3               ; @ADF4350_REG0
	.comm	_ADF4350_REG1,8,3               ; @ADF4350_REG1
	.comm	_ADF4350_REG2_DOUBLE_BUFF_EN,4,2 ; @ADF4350_REG2_DOUBLE_BUFF_EN
	.comm	_ADF4350_REG2_RMULT2_EN,4,2     ; @ADF4350_REG2_RMULT2_EN
	.comm	_ADF4350_REG2_RDIV2_EN,4,2      ; @ADF4350_REG2_RDIV2_EN
	.comm	_ADF4350_REG2_PD_POLARITY_POS,4,2 ; @ADF4350_REG2_PD_POLARITY_POS
	.comm	_ADF4350_REG2_LDP_6ns,4,2       ; @ADF4350_REG2_LDP_6ns
	.comm	_ADF4350_REG2_LDF_INT_N,4,2     ; @ADF4350_REG2_LDF_INT_N
	.comm	_ADF4350_REG2,8,3               ; @ADF4350_REG2
	.comm	_ADF4350_REG3_12BIT_CSR_EN,4,2  ; @ADF4350_REG3_12BIT_CSR_EN
	.comm	_ADF4351_REG3_CHARGE_CANCELLATION_EN,4,2 ; @ADF4351_REG3_CHARGE_CANCELLATION_EN
	.comm	_ADF4351_REG3_ANTI_BACKLASH_3ns_EN,4,2 ; @ADF4351_REG3_ANTI_BACKLASH_3ns_EN
	.comm	_ADF4351_REG3_BAND_SEL_CLOCK_MODE_HIGH,4,2 ; @ADF4351_REG3_BAND_SEL_CLOCK_MODE_HIGH
	.comm	_ADF4350_REG3,8,3               ; @ADF4350_REG3
	.comm	_ADF4350_REG4_FEEDBACK_FUND,4,2 ; @ADF4350_REG4_FEEDBACK_FUND
	.comm	_ADF4350_REG4_RF_OUT_EN,4,2     ; @ADF4350_REG4_RF_OUT_EN
	.comm	_ADF4350_REG4_AUX_OUTPUT_EN,4,2 ; @ADF4350_REG4_AUX_OUTPUT_EN
	.comm	_ADF4350_REG4_AUX_OUTPUT_FUND,4,2 ; @ADF4350_REG4_AUX_OUTPUT_FUND
	.comm	_ADF4350_REG4_MUTE_TILL_LOCK_EN,4,2 ; @ADF4350_REG4_MUTE_TILL_LOCK_EN
	.comm	_ADF4350_REG4,8,3               ; @ADF4350_REG4
	.comm	_ADF4350_REG5_LD_PIN_MODE_DIGITAL,4,2 ; @ADF4350_REG5_LD_PIN_MODE_DIGITAL
	.comm	_ADF4350_REG5,8,3               ; @ADF4350_REG5
	.no_dead_strip	_adf4350_set_freq
.subsections_via_symbols
