	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_i2c_get_clientdata
	movq	%rax, %r14
	movq	_ADM1031_CONF2_PWM1_ENABLE@GOTPCREL(%rip), %rax
	movq	_ADM1031_CONF2_TACH1_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	(%r14), %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	%r13d, %r13d
	cmpq	(%rcx), %rax
	cmovel	%edx, %r13d
	movq	_ADM1031_REG_CONF2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_adm1031_read_value
	orl	%eax, %ebx
	orl	%r13d, %ebx
	cmpl	%eax, %ebx
	je	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_adm1031_write_value
LBB0_2:
	movq	_ADM1031_REG_CONF1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_adm1031_read_value
	movq	_ADM1031_CONF1_MONITOR_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%eax, %edx
	cmpl	%eax, %edx
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_adm1031_write_value
LBB0_4:
	movq	_ADM1031_UPDATE_RATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ADM1031_REG_FAN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_adm1031_read_value
	andl	%ebx, %eax
	movq	_ADM1031_UPDATE_RATE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	movq	_update_intervals@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	.comm	_ADM1031_UPDATE_RATE_MASK,4,2   ## @ADM1031_UPDATE_RATE_MASK
	.comm	_ADM1031_REG_FAN_FILTER,4,2     ## @ADM1031_REG_FAN_FILTER
	.comm	_ADM1031_UPDATE_RATE_SHIFT,4,2  ## @ADM1031_UPDATE_RATE_SHIFT
	.comm	_update_intervals,8,3           ## @update_intervals
	.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	x20, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
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	w22, w8, w9
Lloh15:
	adrp	x21, _ADM1031_REG_CONF2@GOTPAGE
Lloh16:
	ldr	x21, [x21, _ADM1031_REG_CONF2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_adm1031_read_value
	orr	w2, w22, w0
	cmp	w2, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_adm1031_write_value
LBB0_2:
Lloh17:
	adrp	x21, _ADM1031_REG_CONF1@GOTPAGE
Lloh18:
	ldr	x21, [x21, _ADM1031_REG_CONF1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	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.eq	LBB0_4
; %bb.3:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_adm1031_write_value
LBB0_4:
Lloh22:
	adrp	x8, _ADM1031_UPDATE_RATE_MASK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ADM1031_UPDATE_RATE_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
Lloh25:
	adrp	x8, _ADM1031_REG_FAN_FILTER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ADM1031_REG_FAN_FILTER@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_adm1031_read_value
	and	w8, w0, w21
Lloh28:
	adrp	x9, _ADM1031_UPDATE_RATE_SHIFT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ADM1031_UPDATE_RATE_SHIFT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	lsr	w8, w8, w9
Lloh31:
	adrp	x9, _update_intervals@GOTPAGE
Lloh32:
	ldr	x9, [x9, _update_intervals@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x19, #8]
	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
	.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
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.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
	.comm	_ADM1031_UPDATE_RATE_MASK,4,2   ; @ADM1031_UPDATE_RATE_MASK
	.comm	_ADM1031_REG_FAN_FILTER,4,2     ; @ADM1031_REG_FAN_FILTER
	.comm	_ADM1031_UPDATE_RATE_SHIFT,4,2  ; @ADM1031_UPDATE_RATE_SHIFT
	.comm	_update_intervals,8,3           ; @update_intervals
	.no_dead_strip	_adm1031_init_client
.subsections_via_symbols
