	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _cx24110_pll_write
__cx24110_pll_write:                    ## @_cx24110_pll_write
	.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
	cmpl	$3, %edx
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$109, %esi
	movl	$48, %edx
	callq	_cx24110_writereg
	movq	%rbx, %rdi
	movl	$112, %esi
	movl	$21, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_cx24110_writereg
	movq	%rbx, %rdi
	movl	$109, %esi
	callq	_cx24110_readreg
	testb	$-128, %al
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	$114, %esi
	xorl	%edx, %edx
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_5:
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$114, %esi
	callq	_cx24110_writereg
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$109, %esi
	callq	_cx24110_readreg
	andl	$192, %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.7:
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	movl	$114, %esi
	callq	_cx24110_writereg
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$109, %esi
	callq	_cx24110_readreg
	andl	$192, %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.9:
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	movl	$114, %esi
	callq	_cx24110_writereg
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$109, %esi
	callq	_cx24110_readreg
	andl	$192, %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.11:
	movq	%rbx, %rdi
	movl	$109, %esi
	movl	$50, %edx
	callq	_cx24110_writereg
	movq	%rbx, %rdi
	movl	$109, %esi
	movl	$48, %edx
	callq	_cx24110_writereg
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	__cx24110_pll_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _cx24110_pll_write
__cx24110_pll_write:                    ; @_cx24110_pll_write
	.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
	cmp	w2, #3
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #109
	mov	w2, #48
	bl	_cx24110_writereg
	mov	x0, x19
	mov	w1, #112
	mov	w2, #21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_cx24110_writereg
	mov	x0, x19
	mov	w1, #109
	bl	_cx24110_readreg
	tbz	w0, #7, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	w1, #114
	mov	w2, #0
	b	LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_5:
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #114
	bl	_cx24110_writereg
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #109
	bl	_cx24110_readreg
	and	w8, w0, #0xc0
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.7:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #114
	bl	_cx24110_writereg
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #109
	bl	_cx24110_readreg
	and	w8, w0, #0xc0
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.9:
	ldr	w2, [x20, #8]
	mov	x0, x19
	mov	w1, #114
	bl	_cx24110_writereg
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #109
	bl	_cx24110_readreg
	and	w8, w0, #0xc0
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.11:
	mov	x0, x19
	mov	w1, #109
	mov	w2, #50
	bl	_cx24110_writereg
	mov	x0, x19
	mov	w1, #109
	mov	w2, #48
	bl	_cx24110_writereg
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	__cx24110_pll_write
.subsections_via_symbols
