	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adc128_init_client
_adc128_init_client:                    ## @adc128_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	_ADC128_REG_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$128, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	je	LBB0_1
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movq	_ADC128_REG_CONFIG_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%edx, %edx
	movq	%r14, %rdi
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	jne	LBB0_7
LBB0_3:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_ADC128_REG_CONFIG_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	jne	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ADC128_REG_CONFIG,4,2          ## @ADC128_REG_CONFIG
	.comm	_ADC128_REG_CONFIG_ADV,4,2      ## @ADC128_REG_CONFIG_ADV
	.no_dead_strip	_adc128_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adc128_init_client
_adc128_init_client:                    ; @adc128_init_client
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x21, _ADC128_REG_CONFIG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ADC128_REG_CONFIG@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #128
	bl	_i2c_smbus_write_byte_data
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x9, _ADC128_REG_CONFIG_ADV@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ADC128_REG_CONFIG_ADV@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	lsl	w2, w8, #1
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
	cbnz	w0, LBB0_1
LBB0_4:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_smbus_write_byte_data
	cbnz	w0, LBB0_1
; %bb.5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _ADC128_REG_CONFIG_ADV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADC128_REG_CONFIG_ADV@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_smbus_write_byte_data
	cbnz	w0, LBB0_1
LBB0_7:
	mov	w0, #0
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ADC128_REG_CONFIG,4,2          ; @ADC128_REG_CONFIG
	.comm	_ADC128_REG_CONFIG_ADV,4,2      ; @ADC128_REG_CONFIG_ADV
	.no_dead_strip	_adc128_init_client
.subsections_via_symbols
