	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function daca_init_client
_daca_init_client:                      ## @daca_init_client
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movw	$0, -10(%rbp)
	movl	(%rdi), %edi
	movq	_DACA_REG_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_i2c_smbus_write_byte_data
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	_DACA_REG_GCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$5, %edx
	callq	_i2c_smbus_write_byte_data
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	movq	_DACA_REG_AVOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-10(%rbp), %rcx
	movl	$2, %edx
	callq	_i2c_smbus_write_block_data
	jmp	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DACA_REG_SR,4,2                ## @DACA_REG_SR
	.comm	_DACA_REG_GCFG,4,2              ## @DACA_REG_GCFG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DACA_REG_AVOL,4,2              ## @DACA_REG_AVOL
	.no_dead_strip	_daca_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function daca_init_client
_daca_init_client:                      ; @daca_init_client
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	strh	wzr, [sp, #14]
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _DACA_REG_SR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DACA_REG_SR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_i2c_smbus_write_byte_data
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _DACA_REG_GCFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DACA_REG_GCFG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #5
	bl	_i2c_smbus_write_byte_data
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _DACA_REG_AVOL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DACA_REG_AVOL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x3, sp, #14
	mov	w2, #2
	bl	_i2c_smbus_write_block_data
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DACA_REG_SR,4,2                ; @DACA_REG_SR
	.comm	_DACA_REG_GCFG,4,2              ; @DACA_REG_GCFG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DACA_REG_AVOL,4,2              ; @DACA_REG_AVOL
	.no_dead_strip	_daca_init_client
.subsections_via_symbols
