	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm1029_init_client
_adm1029_init_client:                   ## @adm1029_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ADM1029_REG_CONFIG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_i2c_smbus_read_byte_data
	testb	$16, %al
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	orl	$16, %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_i2c_smbus_write_byte_data
LBB0_2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ecx
	movl	$1, %eax
	testb	$16, %cl
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADM1029_REG_CONFIG,4,2         ## @ADM1029_REG_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initialization failed!\n"

	.no_dead_strip	_adm1029_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm1029_init_client
_adm1029_init_client:                   ; @adm1029_init_client
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _ADM1029_REG_CONFIG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ADM1029_REG_CONFIG@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #4, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	orr	w2, w0, #0x10
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
LBB0_2:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #4, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ADM1029_REG_CONFIG,4,2         ; @ADM1029_REG_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initialization failed!\n"

	.no_dead_strip	_adm1029_init_client
.subsections_via_symbols
