	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm1031_init_client
_adm1031_init_client:                   ## @adm1031_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_i2c_get_clientdata
	movq	_ADM1031_CONF2_PWM1_ENABLE@GOTPCREL(%rip), %rcx
	movq	_ADM1031_CONF2_TACH1_ENABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movq	(%rax), %rax
	movq	_ADM1031_CONF2_PWM2_ENABLE@GOTPCREL(%rip), %rcx
	movq	_ADM1031_CONF2_TACH2_ENABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_adm1031@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	cmovel	%edx, %r12d
	movq	_ADM1031_REG_CONF2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_adm1031_read_value
	orl	%eax, %ebx
	orl	%r12d, %ebx
	cmpl	%eax, %ebx
	je	LBB0_2
## %bb.1:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_adm1031_write_value
LBB0_2:
	movq	_ADM1031_REG_CONF1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_adm1031_read_value
	movq	_ADM1031_CONF1_MONITOR_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%eax, %edx
	cmpl	%eax, %edx
	jne	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adm1031_write_value            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADM1031_CONF2_PWM1_ENABLE,4,2  ## @ADM1031_CONF2_PWM1_ENABLE
	.comm	_ADM1031_CONF2_TACH1_ENABLE,4,2 ## @ADM1031_CONF2_TACH1_ENABLE
	.comm	_adm1031,8,3                    ## @adm1031
	.comm	_ADM1031_CONF2_PWM2_ENABLE,4,2  ## @ADM1031_CONF2_PWM2_ENABLE
	.comm	_ADM1031_CONF2_TACH2_ENABLE,4,2 ## @ADM1031_CONF2_TACH2_ENABLE
	.comm	_ADM1031_REG_CONF2,4,2          ## @ADM1031_REG_CONF2
	.comm	_ADM1031_REG_CONF1,4,2          ## @ADM1031_REG_CONF1
	.comm	_ADM1031_CONF1_MONITOR_ENABLE,4,2 ## @ADM1031_CONF1_MONITOR_ENABLE
	.no_dead_strip	_adm1031_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm1031_init_client
_adm1031_init_client:                   ; @adm1031_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	x19, x0
	bl	_i2c_get_clientdata
Lloh0:
	adrp	x8, _ADM1031_CONF2_PWM1_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADM1031_CONF2_PWM1_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ADM1031_CONF2_TACH1_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADM1031_CONF2_TACH1_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x0]
Lloh6:
	adrp	x10, _adm1031@GOTPAGE
Lloh7:
	ldr	x10, [x10, _adm1031@GOTPAGEOFF]
Lloh8:
	adrp	x11, _ADM1031_CONF2_PWM2_ENABLE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ADM1031_CONF2_PWM2_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x12, _ADM1031_CONF2_TACH2_ENABLE@GOTPAGE
Lloh13:
	ldr	x12, [x12, _ADM1031_CONF2_TACH2_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	orr	w11, w12, w11
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w21, w8, w9
Lloh15:
	adrp	x20, _ADM1031_REG_CONF2@GOTPAGE
Lloh16:
	ldr	x20, [x20, _ADM1031_REG_CONF2@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adm1031_read_value
	orr	w2, w21, w0
	cmp	w2, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adm1031_write_value
LBB0_2:
Lloh17:
	adrp	x20, _ADM1031_REG_CONF1@GOTPAGE
Lloh18:
	ldr	x20, [x20, _ADM1031_REG_CONF1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adm1031_read_value
Lloh19:
	adrp	x8, _ADM1031_CONF1_MONITOR_ENABLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ADM1031_CONF1_MONITOR_ENABLE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w2, w8, w0
	cmp	w2, w0
	b.ne	LBB0_4
; %bb.3:
	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_4:
	ldr	w1, [x20]
	mov	x0, x19
	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
	b	_adm1031_write_value
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ADM1031_CONF2_PWM1_ENABLE,4,2  ; @ADM1031_CONF2_PWM1_ENABLE
	.comm	_ADM1031_CONF2_TACH1_ENABLE,4,2 ; @ADM1031_CONF2_TACH1_ENABLE
	.comm	_adm1031,8,3                    ; @adm1031
	.comm	_ADM1031_CONF2_PWM2_ENABLE,4,2  ; @ADM1031_CONF2_PWM2_ENABLE
	.comm	_ADM1031_CONF2_TACH2_ENABLE,4,2 ; @ADM1031_CONF2_TACH2_ENABLE
	.comm	_ADM1031_REG_CONF2,4,2          ; @ADM1031_REG_CONF2
	.comm	_ADM1031_REG_CONF1,4,2          ; @ADM1031_REG_CONF1
	.comm	_ADM1031_CONF1_MONITOR_ENABLE,4,2 ; @ADM1031_CONF1_MONITOR_ENABLE
	.no_dead_strip	_adm1031_init_client
.subsections_via_symbols
