	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp421_update_device
_tmp421_update_device:                  ## @tmp421_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	%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
	callq	_to_i2c_client
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r13
	leaq	24(%rax), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	addq	%rsi, %rsi
	addq	32(%r13), %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%r13)
	jne	LBB0_6
LBB0_2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_TMP421_CONFIG_REG_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, 4(%r13)
	cmpl	$0, 8(%r13)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_TMP421_TEMP_MSB@GOTPCREL(%rip), %r12
	movq	_TMP421_TEMP_LSB@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$8, %eax
	movq	16(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	16(%r13), %rcx
	orl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	8(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r13)
	movl	$1, (%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_TMP421_CONFIG_REG_1,4,2        ## @TMP421_CONFIG_REG_1
	.comm	_TMP421_TEMP_MSB,8,3            ## @TMP421_TEMP_MSB
	.comm	_TMP421_TEMP_LSB,8,3            ## @TMP421_TEMP_LSB
	.no_dead_strip	_tmp421_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp421_update_device
_tmp421_update_device:                  ; @tmp421_update_device
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	bl	_to_i2c_client
	mov	x21, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
	add	x20, x0, #24
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x22, _jiffies@GOTPAGE
Lloh1:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	x8, [x19, #32]
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_6
LBB0_2:
Lloh5:
	adrp	x8, _TMP421_CONFIG_REG_1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TMP421_CONFIG_REG_1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	str	w0, [x19, #4]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x23, #0
Lloh8:
	adrp	x24, _TMP421_TEMP_MSB@GOTPAGE
Lloh9:
	ldr	x24, [x24, _TMP421_TEMP_MSB@GOTPAGEOFF]
Lloh10:
	adrp	x25, _TMP421_TEMP_LSB@GOTPAGE
Lloh11:
	ldr	x25, [x25, _TMP421_TEMP_LSB@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	lsl	x26, x23, #2
	ldr	w1, [x8, x26]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	lsl	w8, w0, #8
	ldr	x9, [x19, #16]
	str	w8, [x9, x26]
	ldr	x8, [x25]
	ldr	w1, [x8, x26]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #16]
	ldr	w9, [x8, x26]
	orr	w9, w9, w0
	str	w9, [x8, x26]
	add	x23, x23, #1
	ldrsw	x8, [x19, #8]
	cmp	x23, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	x8, [x22]
	str	x8, [x19, #32]
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_TMP421_CONFIG_REG_1,4,2        ; @TMP421_CONFIG_REG_1
	.comm	_TMP421_TEMP_MSB,8,3            ; @TMP421_TEMP_MSB
	.comm	_TMP421_TEMP_LSB,8,3            ; @TMP421_TEMP_LSB
	.no_dead_strip	_tmp421_update_device
.subsections_via_symbols
