	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max1619_update_device
_max1619_update_device:                 ## @max1619_update_device
	.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
	callq	_to_i2c_client
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %rbx
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	addq	%rsi, %rsi
	addq	8(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	movq	_MAX1619_REG_R_LOCAL_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	%rax, 64(%rbx)
	movq	_MAX1619_REG_R_REMOTE_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	%rax, 56(%rbx)
	movq	_MAX1619_REG_R_REMOTE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	%rax, 48(%rbx)
	movq	_MAX1619_REG_R_REMOTE_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	%rax, 40(%rbx)
	movq	_MAX1619_REG_R_REMOTE_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	%rax, 32(%rbx)
	movq	_MAX1619_REG_R_TCRIT_HYST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	%rax, 24(%rbx)
	movq	_MAX1619_REG_R_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	%rax, 16(%rbx)
	movq	(%r12), %rax
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
LBB0_3:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Updating max1619 data.\n"

	.comm	_MAX1619_REG_R_LOCAL_TEMP,4,2   ## @MAX1619_REG_R_LOCAL_TEMP
	.comm	_MAX1619_REG_R_REMOTE_TEMP,4,2  ## @MAX1619_REG_R_REMOTE_TEMP
	.comm	_MAX1619_REG_R_REMOTE_HIGH,4,2  ## @MAX1619_REG_R_REMOTE_HIGH
	.comm	_MAX1619_REG_R_REMOTE_LOW,4,2   ## @MAX1619_REG_R_REMOTE_LOW
	.comm	_MAX1619_REG_R_REMOTE_CRIT,4,2  ## @MAX1619_REG_R_REMOTE_CRIT
	.comm	_MAX1619_REG_R_TCRIT_HYST,4,2   ## @MAX1619_REG_R_TCRIT_HYST
	.comm	_MAX1619_REG_R_STATUS,4,2       ## @MAX1619_REG_R_STATUS
	.no_dead_strip	_max1619_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max1619_update_device
_max1619_update_device:                 ; @max1619_update_device
	.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
	bl	_to_i2c_client
	mov	x21, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x22, _jiffies@GOTPAGE
Lloh1:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _HZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x1, x8, x9, lsl #1
	bl	_time_after
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
LBB0_2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
Lloh7:
	adrp	x8, _MAX1619_REG_R_LOCAL_TEMP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX1619_REG_R_LOCAL_TEMP@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	str	x0, [x19, #64]
Lloh10:
	adrp	x8, _MAX1619_REG_R_REMOTE_TEMP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX1619_REG_R_REMOTE_TEMP@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	str	x0, [x19, #56]
Lloh13:
	adrp	x8, _MAX1619_REG_R_REMOTE_HIGH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MAX1619_REG_R_REMOTE_HIGH@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	str	x0, [x19, #48]
Lloh16:
	adrp	x8, _MAX1619_REG_R_REMOTE_LOW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAX1619_REG_R_REMOTE_LOW@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	str	x0, [x19, #40]
Lloh19:
	adrp	x8, _MAX1619_REG_R_REMOTE_CRIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAX1619_REG_R_REMOTE_CRIT@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	str	x0, [x19, #32]
Lloh22:
	adrp	x8, _MAX1619_REG_R_TCRIT_HYST@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAX1619_REG_R_TCRIT_HYST@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	str	x0, [x19, #24]
Lloh25:
	adrp	x8, _MAX1619_REG_R_STATUS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAX1619_REG_R_STATUS@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x22]
	stp	x8, x0, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	mov	x0, x20
	bl	_mutex_unlock
	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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Updating max1619 data.\n"

	.comm	_MAX1619_REG_R_LOCAL_TEMP,4,2   ; @MAX1619_REG_R_LOCAL_TEMP
	.comm	_MAX1619_REG_R_REMOTE_TEMP,4,2  ; @MAX1619_REG_R_REMOTE_TEMP
	.comm	_MAX1619_REG_R_REMOTE_HIGH,4,2  ; @MAX1619_REG_R_REMOTE_HIGH
	.comm	_MAX1619_REG_R_REMOTE_LOW,4,2   ; @MAX1619_REG_R_REMOTE_LOW
	.comm	_MAX1619_REG_R_REMOTE_CRIT,4,2  ; @MAX1619_REG_R_REMOTE_CRIT
	.comm	_MAX1619_REG_R_TCRIT_HYST,4,2   ; @MAX1619_REG_R_TCRIT_HYST
	.comm	_MAX1619_REG_R_STATUS,4,2       ; @MAX1619_REG_R_STATUS
	.no_dead_strip	_max1619_update_device
.subsections_via_symbols
