	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxl5005s_writeregs
_mxl5005s_writeregs:                    ## @mxl5005s_writeregs
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	*%rax
LBB0_2:
	xorl	%ebx, %ebx
	cmpl	$2, %r12d
	jl	LBB0_7
## %bb.3:
	decl	%r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %esi
	movl	(%r14,%rbx,4), %edx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_mxl5005s_writereg
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_4
## %bb.6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	movl	(%r15,%rax,4), %esi
	movl	(%r14,%rax,4), %edx
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_mxl5005s_writereg
	movl	%eax, %r14d
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mxl5005s_writeregs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxl5005s_writeregs
_mxl5005s_writeregs:                    ; @mxl5005s_writeregs
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	blr	x8
LBB0_2:
	cmp	w22, #2
	b.lt	LBB0_6
; %bb.3:
	mov	x23, #0
	sub	w22, w22, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x23, #2
	ldr	w1, [x21, x8]
	ldr	w2, [x20, x8]
	mov	x0, x19
	mov	w3, #0
	bl	_mxl5005s_writereg
	tbnz	w0, #31, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_4
	b	LBB0_8
LBB0_6:
	mov	w22, #0
	b	LBB0_8
LBB0_7:
	mov	x22, x23
LBB0_8:
	mov	w8, w22
	lsl	x8, x8, #2
	ldr	w1, [x21, x8]
	ldr	w2, [x20, x8]
	mov	x0, x19
	mov	w3, #1
	bl	_mxl5005s_writereg
	mov	x20, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_10:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mxl5005s_writeregs
.subsections_via_symbols
