	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm95234_update_device
_lm95234_update_device:                 ## @lm95234_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
	movq	%rdi, %r12
	movq	40(%rdi), %r15
	leaq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	32(%r12), %rsi
	addq	16(%r12), %rsi
	callq	_time_after
	movl	(%r12), %ecx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_4
	jmp	LBB0_3
LBB0_2:
	xorl	%r13d, %r13d
	testl	%ecx, %ecx
	jne	LBB0_15
LBB0_3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_lm95234_fill_cache
	testl	%eax, %eax
	js	LBB0_14
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$0, (%r12)
	movq	24(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_lm95234_read_temp
	testl	%eax, %eax
	js	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	24(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_8:
	movq	_LM95234_REG_STS_FAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	movl	%r13d, 4(%r12)
	movq	_LM95234_REG_STS_TCRIT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r13d
	testl	%eax, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	js	LBB0_15
## %bb.10:
	shll	$8, %r13d
	orl	%r13d, 4(%r12)
	movq	_LM95234_REG_STS_TCRIT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:
	shll	$16, %r13d
	orl	%r13d, 4(%r12)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r12)
	movl	$1, (%r12)
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_12:
	movl	%eax, %r13d
LBB0_13:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_14:
	movl	%eax, %r13d
LBB0_15:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r13d, %eax
	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	_LM95234_REG_STS_FAULT,4,2      ## @LM95234_REG_STS_FAULT
	.comm	_LM95234_REG_STS_TCRIT1,4,2     ## @LM95234_REG_STS_TCRIT1
	.comm	_LM95234_REG_STS_TCRIT2,4,2     ## @LM95234_REG_STS_TCRIT2
	.no_dead_strip	_lm95234_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm95234_update_device
_lm95234_update_device:                 ; @lm95234_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
	mov	x20, x0
	ldr	x21, [x0, #40]
	add	x19, x0, #8
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x24, _jiffies@GOTPAGE
Lloh1:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	ldr	x0, [x24]
	ldr	x8, [x20, #16]
	ldr	x9, [x20, #32]
	add	x1, x9, x8
	bl	_time_after
	ldr	w8, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	cbnz	w8, LBB0_4
	b	LBB0_3
LBB0_2:
	cbnz	w8, LBB0_12
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	bl	_lm95234_fill_cache
	tbnz	w0, #31, LBB0_13
LBB0_4:
	str	wzr, [x20]
	ldr	x0, [x20, #24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x25, #0
	mov	x23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	add	x2, x8, x25
	mov	x0, x21
	mov	x1, x23
	bl	_lm95234_read_temp
	tbnz	w0, #31, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x0, [x20, #24]
	bl	_ARRAY_SIZE
	add	x25, x25, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_6
LBB0_8:
Lloh2:
	adrp	x8, _LM95234_REG_STS_FAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LM95234_REG_STS_FAULT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
	tbnz	w0, #31, LBB0_14
; %bb.9:
	str	w22, [x20, #4]
Lloh5:
	adrp	x8, _LM95234_REG_STS_TCRIT1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LM95234_REG_STS_TCRIT1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
	tbnz	w0, #31, LBB0_14
; %bb.10:
	ldr	w8, [x20, #4]
	orr	w8, w8, w22, lsl #8
	str	w8, [x20, #4]
Lloh8:
	adrp	x8, _LM95234_REG_STS_TCRIT2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LM95234_REG_STS_TCRIT2@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
	tbnz	w0, #31, LBB0_14
; %bb.11:
	ldr	w8, [x20, #4]
	orr	w8, w8, w22, lsl #16
	ldr	x9, [x24]
	str	x9, [x20, #16]
	mov	w9, #1
	stp	w9, w8, [x20]
LBB0_12:
	mov	w22, #0
	b	LBB0_14
LBB0_13:
	mov	x22, x0
LBB0_14:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_LM95234_REG_STS_FAULT,4,2      ; @LM95234_REG_STS_FAULT
	.comm	_LM95234_REG_STS_TCRIT1,4,2     ; @LM95234_REG_STS_TCRIT1
	.comm	_LM95234_REG_STS_TCRIT2,4,2     ; @LM95234_REG_STS_TCRIT2
	.no_dead_strip	_lm95234_update_device
.subsections_via_symbols
