	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cx24113_init
LCPI0_0:
	.long	1                               ## 0x1
	.long	8                               ## 0x8
	.long	4095                            ## 0xfff
	.long	4095                            ## 0xfff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cx24113_init:                          ## @cx24113_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movabsq	$1099511627726, %rax            ## imm = 0xFFFFFFFFCE
	movq	%rax, (%rbx)
	movq	$0, 128(%rbx)
	movq	32(%rbx), %rax
	cmpl	$11000, (%rax)                  ## imm = 0x2AF8
	movq	_ICP_LEVEL3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	jl	LBB0_2
## %bb.1:
	movq	_ICP_LEVEL2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_2:
	movq	_ICP_LEVEL4@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 120(%rbx)
	movq	%rdx, 112(%rbx)
	movq	%rax, 104(%rbx)
	movq	%rcx, 96(%rbx)
	movq	%rax, 88(%rbx)
	movq	_ICP_LEVEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	movq	_VCOBANDSEL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,8,4095,4095]
	movups	%xmm0, 8(%rbx)
	movq	$0, 48(%rbx)
	movq	_LNA_MAX_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 24(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cx24113_set_Fref
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_cx24113_enable
	movq	%rbx, %rdi
	callq	_cx24113_set_parameters
	movq	%rbx, %rdi
	movl	$-30, %esi
	callq	_cx24113_set_gain_settings
	movq	%rbx, %rdi
	movl	$18025, %esi                    ## imm = 0x4669
	callq	_cx24113_set_bandwidth
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_cx24113_set_clk_inversion
	movq	32(%rbx), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_cx24113_readreg
                                        ## kill: def $eax killed $eax def $rax
	andl	$251, %eax
	leal	4(%rax), %edx
	cmpl	$40000, %r14d                   ## imm = 0x9C40
	cmovll	%eax, %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cx24113_writereg               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICP_LEVEL4,8,3                 ## @ICP_LEVEL4
	.comm	_ICP_LEVEL3,8,3                 ## @ICP_LEVEL3
	.comm	_ICP_LEVEL2,8,3                 ## @ICP_LEVEL2
	.comm	_ICP_LEVEL1,4,2                 ## @ICP_LEVEL1
	.comm	_VCOBANDSEL_1,4,2               ## @VCOBANDSEL_1
	.comm	_LNA_MAX_GAIN,4,2               ## @LNA_MAX_GAIN
	.no_dead_strip	_cx24113_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cx24113_init
lCPI0_0:
	.long	4294967246                      ; 0xffffffce
	.long	255                             ; 0xff
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	1                               ; 0x1
	.long	8                               ; 0x8
	.long	4095                            ; 0xfff
	.long	4095                            ; 0xfff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cx24113_init:                          ; @cx24113_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _ICP_LEVEL3@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ICP_LEVEL3@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _ICP_LEVEL2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ICP_LEVEL2@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	mov	w11, #11000
	cmp	w8, w11
	csel	x8, x9, x10, lt
Lloh8:
	adrp	x10, _ICP_LEVEL4@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ICP_LEVEL4@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	stp	x10, xzr, [x19, #120]
	stp	x9, x10, [x19, #104]
	stp	x9, x8, [x19, #88]
Lloh11:
	adrp	x8, _ICP_LEVEL1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ICP_LEVEL1@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #80]
	stp	xzr, xzr, [x19, #64]
Lloh14:
	adrp	x8, _VCOBANDSEL_1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VCOBANDSEL_1@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh17:
	adrp	x8, lCPI0_1@PAGE
Lloh18:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	stur	q0, [x19, #8]
	str	xzr, [x19, #48]
Lloh19:
	adrp	x8, _LNA_MAX_GAIN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LNA_MAX_GAIN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	movi.2s	v0, #1
	str	d0, [x19, #24]
	mov	x0, x19
	mov	w1, #0
	bl	_cx24113_set_Fref
	mov	x0, x19
	mov	w1, #61
	bl	_cx24113_enable
	mov	x0, x19
	bl	_cx24113_set_parameters
	mov	x0, x19
	mov	w1, #-30
	bl	_cx24113_set_gain_settings
	mov	x0, x19
	mov	w1, #18025
	bl	_cx24113_set_bandwidth
	mov	x0, x19
	mov	w1, #1
	bl	_cx24113_set_clk_inversion
	ldr	x8, [x19, #32]
	ldr	w20, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_cx24113_readreg
	mov	w8, #251
	and	w8, w0, w8
	orr	w9, w8, #0x4
	mov	w10, #39999
	cmp	w20, w10
	csel	w2, w9, w8, gt
	mov	x0, x19
	mov	w1, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx24113_writereg
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdrp	Lloh17, Lloh19
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ICP_LEVEL4,8,3                 ; @ICP_LEVEL4
	.comm	_ICP_LEVEL3,8,3                 ; @ICP_LEVEL3
	.comm	_ICP_LEVEL2,8,3                 ; @ICP_LEVEL2
	.comm	_ICP_LEVEL1,4,2                 ; @ICP_LEVEL1
	.comm	_VCOBANDSEL_1,4,2               ; @VCOBANDSEL_1
	.comm	_LNA_MAX_GAIN,4,2               ; @LNA_MAX_GAIN
	.no_dead_strip	_cx24113_init
.subsections_via_symbols
