	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zl10353_set_parameters
_zl10353_set_parameters:                ## @zl10353_set_parameters
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %r13
	movq	l___const.zl10353_set_parameters.pllbuf+16(%rip), %rax
	movq	%rax, -64(%rbp)
	movaps	l___const.zl10353_set_parameters.pllbuf(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	60(%rdi), %eax
	movl	%eax, 16(%r13)
	movq	_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$128, %edx
	callq	_zl10353_single_write
	movl	$200, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$234, %esi
	movl	$1, %edx
	callq	_zl10353_single_write
	movl	$200, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$234, %esi
	xorl	%edx, %edx
	callq	_zl10353_single_write
	movq	_AGC_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$40, %edx
	callq	_zl10353_single_write
	xorl	%eax, %eax
	cmpl	$128, 32(%r12)
	setne	%al
	leal	2(%rax), %edx
	cmpl	$140, 36(%r12)
	cmovel	%eax, %edx
	movq	_ACQ_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_zl10353_single_write
	movl	40(%r12), %eax
	cmpl	$6000000, %eax                  ## imm = 0x5B8D80
	je	LBB0_1
## %bb.2:
	cmpl	$8000000, %eax                  ## imm = 0x7A1200
	je	LBB0_6
## %bb.3:
	cmpl	$7000000, %eax                  ## imm = 0x6ACFC0
	jne	LBB0_5
## %bb.4:
	movl	$115, %r14d
	movl	$53, %r15d
	movl	$134, %edx
	jmp	LBB0_7
LBB0_1:
	movl	$221, %r14d
	movl	$52, %r15d
	movl	$151, %edx
	jmp	LBB0_7
LBB0_5:
	movl	$8000000, 40(%r12)              ## imm = 0x7A1200
LBB0_6:
	movl	$115, %r14d
	movl	$54, %r15d
	movl	$117, %edx
LBB0_7:
	movq	_MCLK_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_zl10353_single_write
	movq	%r12, %rdi
	movl	$100, %esi
	movl	%r15d, %edx
	callq	_zl10353_single_write
	movq	%r12, %rdi
	movl	$204, %esi
	movl	%r14d, %edx
	callq	_zl10353_single_write
	movl	40(%r12), %esi
	leaq	-88(%rbp), %rdx
	movq	%r12, %rdi
	callq	_zl10353_calc_nominal_rate
	movq	_TRL_NOMINAL_RATE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-88(%rbp), %edi
	callq	_msb
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zl10353_single_write
	movq	_TRL_NOMINAL_RATE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-88(%rbp), %edi
	callq	_lsb
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zl10353_single_write
	movl	40(%r12), %eax
	movl	%eax, (%r13)
	leaq	-84(%rbp), %rsi
	movq	%r12, %rdi
	callq	_zl10353_calc_input_freq
	movq	_INPUT_FREQ_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-84(%rbp), %edi
	callq	_msb
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zl10353_single_write
	movq	_INPUT_FREQ_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-84(%rbp), %edi
	callq	_lsb
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zl10353_single_write
	movl	$-146, %eax
	addl	44(%r12), %eax
	cmpl	$6, %eax
	jae	LBB0_8
## %bb.9:
	movl	$-145, %ecx
	addl	48(%r12), %ecx
	cmpl	$6, %ecx
	ja	LBB0_8
## %bb.10:
	cltq
	leaq	l_switch.table.zl10353_set_parameters(%rip), %rdx
	movl	(%rdx,%rax,4), %r14d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_14:
	movl	$-135, %eax
	addl	52(%r12), %eax
	cmpl	$2, %eax
	jb	LBB0_16
	jmp	LBB0_8
LBB0_13:
	orl	$64, %r14d
	jmp	LBB0_16
LBB0_12:
	orl	$48, %r14d
	jmp	LBB0_16
LBB0_11:
	orl	$32, %r14d
	jmp	LBB0_16
LBB0_15:
	orl	$16, %r14d
LBB0_16:
	movl	$-131, %eax
	addl	56(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.17:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_19:
	orl	$8192, %r14d                    ## imm = 0x2000
	jmp	LBB0_20
LBB0_18:
	orl	$16384, %r14d                   ## imm = 0x4000
LBB0_20:
	movl	32(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_24
## %bb.21:
	cmpl	$130, %eax
	je	LBB0_24
## %bb.22:
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.23:
	orl	$1, %r14d
LBB0_24:
	movl	$-140, %eax
	addl	36(%r12), %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.25:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:
	orl	$8, %r14d
	jmp	LBB0_29
LBB0_27:
	orl	$12, %r14d
	jmp	LBB0_29
LBB0_28:
	orl	$4, %r14d
LBB0_29:
	movl	$-135, %eax
	addl	52(%r12), %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.30:
	leaq	LJTI0_3(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_32:
	orl	$3072, %r14d                    ## imm = 0xC00
	jmp	LBB0_34
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_47:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_49
## %bb.48:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	orl	$2048, %r14d                    ## imm = 0x800
	jmp	LBB0_34
LBB0_33:
	orl	$1024, %r14d                    ## imm = 0x400
LBB0_34:
	movq	_TPS_GIVEN_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_msb
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zl10353_single_write
	movq	_TPS_GIVEN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_lsb
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zl10353_single_write
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_36:
	cmpq	$0, 8(%r13)
	je	LBB0_40
## %bb.37:
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_42
## %bb.38:
	movq	%r12, %rdi
	callq	*%rax
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_42
## %bb.39:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	*%rax
	jmp	LBB0_42
LBB0_40:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	leaq	-76(%rbp), %rsi
	movq	%r12, %rdi
	movl	$5, %edx
	callq	*%rax
	shll	-76(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	movl	$24, %edx
	callq	_zl10353_write
LBB0_42:
	movq	%r12, %rdi
	movl	$95, %esi
	movl	$19, %edx
	callq	_zl10353_single_write
	cmpq	$0, 8(%r13)
	je	LBB0_43
LBB0_44:
	movq	_FSM_GO@GOTPCREL(%rip), %rax
	jmp	LBB0_46
LBB0_43:
	cmpq	$0, (%r12)
	je	LBB0_44
## %bb.45:
	movq	_TUNER_GO@GOTPCREL(%rip), %rax
LBB0_46:
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_zl10353_single_write
	xorl	%eax, %eax
	jmp	LBB0_47
LBB0_49:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_16
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
LJTI0_1:
	.long	L0_1_set_20
	.long	L0_1_set_19
	.long	L0_1_set_18
	.long	L0_1_set_19
.set L0_2_set_29, LBB0_29-LJTI0_2
.set L0_2_set_26, LBB0_26-LJTI0_2
.set L0_2_set_27, LBB0_27-LJTI0_2
.set L0_2_set_28, LBB0_28-LJTI0_2
LJTI0_2:
	.long	L0_2_set_29
	.long	L0_2_set_26
	.long	L0_2_set_27
	.long	L0_2_set_29
	.long	L0_2_set_28
.set L0_3_set_34, LBB0_34-LJTI0_3
.set L0_3_set_32, LBB0_32-LJTI0_3
.set L0_3_set_31, LBB0_31-LJTI0_3
.set L0_3_set_33, LBB0_33-LJTI0_3
LJTI0_3:
	.long	L0_3_set_34
	.long	L0_3_set_34
	.long	L0_3_set_32
	.long	L0_3_set_31
	.long	L0_3_set_33
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.zl10353_set_parameters.pllbuf
l___const.zl10353_set_parameters.pllbuf:
	.long	103                             ## 0x67
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_RESET,4,2                      ## @RESET
	.comm	_AGC_TARGET,4,2                 ## @AGC_TARGET
	.comm	_ACQ_CTL,4,2                    ## @ACQ_CTL
	.comm	_MCLK_RATIO,4,2                 ## @MCLK_RATIO
	.comm	_TRL_NOMINAL_RATE_1,4,2         ## @TRL_NOMINAL_RATE_1
	.comm	_TRL_NOMINAL_RATE_0,4,2         ## @TRL_NOMINAL_RATE_0
	.comm	_INPUT_FREQ_1,4,2               ## @INPUT_FREQ_1
	.comm	_INPUT_FREQ_0,4,2               ## @INPUT_FREQ_0
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TPS_GIVEN_1,4,2                ## @TPS_GIVEN_1
	.comm	_TPS_GIVEN_0,4,2                ## @TPS_GIVEN_0
	.comm	_FSM_GO,4,2                     ## @FSM_GO
	.comm	_TUNER_GO,4,2                   ## @TUNER_GO
	.no_dead_strip	_zl10353_set_parameters
	.p2align	2                               ## @switch.table.zl10353_set_parameters
l_switch.table.zl10353_set_parameters:
	.long	0                               ## 0x0
	.long	512                             ## 0x200
	.long	384                             ## 0x180
	.long	256                             ## 0x100
	.long	128                             ## 0x80
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zl10353_set_parameters
_zl10353_set_parameters:                ; @zl10353_set_parameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x22, [x0, #24]
Lloh3:
	adrp	x8, l___const.zl10353_set_parameters.pllbuf@PAGE
Lloh4:
	add	x8, x8, l___const.zl10353_set_parameters.pllbuf@PAGEOFF
	ldr	x9, [x8, #16]
	str	x9, [sp, #32]
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	w8, [x0, #60]
	str	w8, [x22, #16]
Lloh5:
	adrp	x8, _RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RESET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #128
	bl	_zl10353_single_write
	mov	w0, #200
	bl	_udelay
	mov	x0, x19
	mov	w1, #234
	mov	w2, #1
	bl	_zl10353_single_write
	mov	w0, #200
	bl	_udelay
	mov	x0, x19
	mov	w1, #234
	mov	w2, #0
	bl	_zl10353_single_write
Lloh8:
	adrp	x8, _AGC_TARGET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AGC_TARGET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #40
	bl	_zl10353_single_write
	ldp	w8, w9, [x19, #32]
	cmp	w8, #128
	cset	w8, ne
	orr	w10, w8, #0x2
	cmp	w9, #140
	csel	w2, w8, w10, eq
Lloh11:
	adrp	x8, _ACQ_CTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ACQ_CTL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_zl10353_single_write
	ldr	w8, [x19, #40]
	sub	w9, w8, #1464, lsl #12          ; =5996544
	cmp	w9, #3456
	b.eq	LBB0_4
; %bb.1:
	mov	w9, #4608
	movk	w9, #122, lsl #16
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.2:
	mov	w9, #53184
	movk	w9, #106, lsl #16
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
	mov	w20, #115
	mov	w21, #53
	mov	w2, #134
	b	LBB0_7
LBB0_4:
	mov	w20, #221
	mov	w21, #52
	mov	w2, #151
	b	LBB0_7
LBB0_5:
	mov	w8, #4608
	movk	w8, #122, lsl #16
	str	w8, [x19, #40]
LBB0_6:
	mov	w20, #115
	mov	w21, #54
	mov	w2, #117
LBB0_7:
Lloh14:
	adrp	x8, _MCLK_RATIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MCLK_RATIO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_zl10353_single_write
	mov	x0, x19
	mov	w1, #100
	mov	x2, x21
	bl	_zl10353_single_write
	mov	x0, x19
	mov	w1, #204
	mov	x2, x20
	bl	_zl10353_single_write
	ldr	w1, [x19, #40]
	add	x2, sp, #12
	mov	x0, x19
	bl	_zl10353_calc_nominal_rate
Lloh17:
	adrp	x8, _TRL_NOMINAL_RATE_1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRL_NOMINAL_RATE_1@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	ldr	w0, [sp, #12]
	bl	_msb
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_zl10353_single_write
Lloh20:
	adrp	x8, _TRL_NOMINAL_RATE_0@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRL_NOMINAL_RATE_0@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
	ldr	w0, [sp, #12]
	bl	_lsb
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_zl10353_single_write
	ldr	w8, [x19, #40]
	str	w8, [x22]
	add	x1, sp, #8
	mov	x0, x19
	bl	_zl10353_calc_input_freq
Lloh23:
	adrp	x8, _INPUT_FREQ_1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _INPUT_FREQ_1@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
	ldr	w0, [sp, #8]
	bl	_msb
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_zl10353_single_write
Lloh26:
	adrp	x8, _INPUT_FREQ_0@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INPUT_FREQ_0@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
	ldr	w0, [sp, #8]
	bl	_lsb
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_zl10353_single_write
	ldr	w8, [x19, #44]
	sub	w8, w8, #146
	cmp	w8, #6
	b.hs	LBB0_31
; %bb.8:
	ldr	w9, [x19, #48]
	sub	w9, w9, #145
	cmp	w9, #6
	b.hi	LBB0_31
; %bb.9:
Lloh29:
	adrp	x10, l_switch.table.zl10353_set_parameters@PAGE
Lloh30:
	add	x10, x10, l_switch.table.zl10353_set_parameters@PAGEOFF
	ldr	w20, [x10, w8, sxtw #2]
Lloh31:
	adrp	x8, lJTI0_0@PAGE
Lloh32:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	ldr	w8, [x19, #52]
	sub	w8, w8, #135
	cmp	w8, #2
	b.lo	LBB0_15
	b	LBB0_31
LBB0_11:
	orr	w20, w20, #0x40
	b	LBB0_15
LBB0_12:
	orr	w20, w20, #0x30
	b	LBB0_15
LBB0_13:
	orr	w20, w20, #0x20
	b	LBB0_15
LBB0_14:
	orr	w20, w20, #0x10
LBB0_15:
	ldr	w8, [x19, #56]
	sub	w8, w8, #131
	cmp	w8, #3
	b.hi	LBB0_31
; %bb.16:
Lloh33:
	adrp	x9, lJTI0_1@PAGE
Lloh34:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
	orr	w20, w20, #0x2000
	b	LBB0_19
LBB0_18:
	orr	w20, w20, #0x4000
LBB0_19:
	ldr	w8, [x19, #32]
	cmp	w8, #128
	b.eq	LBB0_23
; %bb.20:
	cmp	w8, #130
	b.eq	LBB0_23
; %bb.21:
	cmp	w8, #129
	b.ne	LBB0_31
; %bb.22:
	orr	w20, w20, #0x1
LBB0_23:
	ldr	w8, [x19, #36]
	sub	w8, w8, #140
	cmp	w8, #4
	b.hi	LBB0_31
; %bb.24:
Lloh35:
	adrp	x9, lJTI0_2@PAGE
Lloh36:
	add	x9, x9, lJTI0_2@PAGEOFF
	adr	x10, LBB0_25
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_25:
	orr	w20, w20, #0x8
	b	LBB0_28
LBB0_26:
	orr	w20, w20, #0xc
	b	LBB0_28
LBB0_27:
	orr	w20, w20, #0x4
LBB0_28:
	ldr	w8, [x19, #52]
	sub	w8, w8, #135
	cmp	w8, #4
	b.hi	LBB0_31
; %bb.29:
Lloh37:
	adrp	x9, lJTI0_3@PAGE
Lloh38:
	add	x9, x9, lJTI0_3@PAGEOFF
	adr	x10, LBB0_30
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_30:
	orr	w20, w20, #0xc00
	b	LBB0_36
LBB0_31:
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_32:
	ldr	x8, [sp, #40]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.33:
	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
	add	sp, sp, #96
	ret
LBB0_34:
	orr	w20, w20, #0x800
	b	LBB0_36
LBB0_35:
	orr	w20, w20, #0x400
LBB0_36:
Lloh45:
	adrp	x8, _TPS_GIVEN_1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TPS_GIVEN_1@GOTPAGEOFF]
Lloh47:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_msb
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_zl10353_single_write
Lloh48:
	adrp	x8, _TPS_GIVEN_0@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TPS_GIVEN_0@GOTPAGEOFF]
Lloh50:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_lsb
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_zl10353_single_write
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_38
; %bb.37:
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_38:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_42
; %bb.39:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_44
; %bb.40:
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_44
; %bb.41:
	mov	x0, x19
	mov	w1, #0
	blr	x8
	b	LBB0_44
LBB0_42:
	ldr	x8, [x19]
	cbz	x8, LBB0_44
; %bb.43:
	add	x9, sp, #16
	orr	x1, x9, #0x4
	mov	x0, x19
	mov	w2, #5
	blr	x8
	ldr	w8, [sp, #20]
	lsl	w8, w8, #1
	str	w8, [sp, #20]
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #24
	bl	_zl10353_write
LBB0_44:
	mov	x0, x19
	mov	w1, #95
	mov	w2, #19
	bl	_zl10353_single_write
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_46
LBB0_45:
Lloh51:
	adrp	x8, _FSM_GO@GOTPAGE
Lloh52:
	ldr	x8, [x8, _FSM_GO@GOTPAGEOFF]
	b	LBB0_48
LBB0_46:
	ldr	x8, [x19]
	cbz	x8, LBB0_45
; %bb.47:
Lloh53:
	adrp	x8, _TUNER_GO@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TUNER_GO@GOTPAGEOFF]
LBB0_48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_zl10353_single_write
	mov	w0, #0
	b	LBB0_32
LBB0_49:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
lJTI0_1:
	.byte	(LBB0_19-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_18-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
lJTI0_2:
	.byte	(LBB0_28-LBB0_25)>>2
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_26-LBB0_25)>>2
	.byte	(LBB0_28-LBB0_25)>>2
	.byte	(LBB0_27-LBB0_25)>>2
lJTI0_3:
	.byte	(LBB0_36-LBB0_30)>>2
	.byte	(LBB0_36-LBB0_30)>>2
	.byte	(LBB0_30-LBB0_30)>>2
	.byte	(LBB0_34-LBB0_30)>>2
	.byte	(LBB0_35-LBB0_30)>>2
                                        ; -- End function
	.p2align	2                               ; @__const.zl10353_set_parameters.pllbuf
l___const.zl10353_set_parameters.pllbuf:
	.long	103                             ; 0x67
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_RESET,4,2                      ; @RESET
	.comm	_AGC_TARGET,4,2                 ; @AGC_TARGET
	.comm	_ACQ_CTL,4,2                    ; @ACQ_CTL
	.comm	_MCLK_RATIO,4,2                 ; @MCLK_RATIO
	.comm	_TRL_NOMINAL_RATE_1,4,2         ; @TRL_NOMINAL_RATE_1
	.comm	_TRL_NOMINAL_RATE_0,4,2         ; @TRL_NOMINAL_RATE_0
	.comm	_INPUT_FREQ_1,4,2               ; @INPUT_FREQ_1
	.comm	_INPUT_FREQ_0,4,2               ; @INPUT_FREQ_0
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TPS_GIVEN_1,4,2                ; @TPS_GIVEN_1
	.comm	_TPS_GIVEN_0,4,2                ; @TPS_GIVEN_0
	.comm	_FSM_GO,4,2                     ; @FSM_GO
	.comm	_TUNER_GO,4,2                   ; @TUNER_GO
	.no_dead_strip	_zl10353_set_parameters
	.p2align	2                               ; @switch.table.zl10353_set_parameters
l_switch.table.zl10353_set_parameters:
	.long	0                               ; 0x0
	.long	512                             ; 0x200
	.long	384                             ; 0x180
	.long	256                             ; 0x100
	.long	128                             ; 0x80
	.long	0                               ; 0x0

.subsections_via_symbols
