	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dac5571_cmd_quad
_dac5571_cmd_quad:                      ## @dac5571_cmd_quad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %r8d
	movq	(%rdi), %rsi
	movq	16(%rdi), %rax
	movb	(%rax), %al
	movb	$16, %cl
	subb	%al, %cl
	movl	%edx, %r9d
	shll	%cl, %r9d
	addb	$-8, %al
	movl	%eax, %ecx
	shrl	%cl, %edx
	movl	%r9d, 8(%rsi)
	movl	%edx, 4(%rsi)
	movq	_DAC5571_CHANNEL_SELECT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r8d
	movq	_DAC5571_LOADMODE_DIRECT@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, (%rsi)
	movl	8(%rdi), %edi
	movl	$3, %edx
	callq	_i2c_master_send
	movq	_EIO@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	cmpl	$3, %eax
	cmovel	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAC5571_CHANNEL_SELECT,4,2     ## @DAC5571_CHANNEL_SELECT
	.comm	_DAC5571_LOADMODE_DIRECT,4,2    ## @DAC5571_LOADMODE_DIRECT
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_dac5571_cmd_quad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dac5571_cmd_quad
_dac5571_cmd_quad:                      ; @dac5571_cmd_quad
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	mov	w8, #16
	sub	w8, w8, w9
	lsl	w10, w2, w8
	ldr	x8, [x0]
	str	w10, [x8, #8]
	sub	w9, w9, #8
	lsr	w9, w2, w9
Lloh0:
	adrp	x10, _DAC5571_CHANNEL_SELECT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DAC5571_CHANNEL_SELECT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _DAC5571_LOADMODE_DIRECT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _DAC5571_LOADMODE_DIRECT@GOTPAGEOFF]
	lsl	w10, w1, w10
Lloh5:
	ldr	w11, [x11]
	orr	w10, w10, w11
	stp	w10, w9, [x8]
	ldr	w0, [x0, #8]
	mov	x1, x8
	mov	w2, #3
	bl	_i2c_master_send
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, #3
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DAC5571_CHANNEL_SELECT,4,2     ; @DAC5571_CHANNEL_SELECT
	.comm	_DAC5571_LOADMODE_DIRECT,4,2    ; @DAC5571_LOADMODE_DIRECT
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_dac5571_cmd_quad
.subsections_via_symbols
