	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm95234_fill_cache
_lm95234_fill_cache:                    ## @lm95234_fill_cache
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_LM95234_REG_CONVRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_16
## %bb.1:
	movq	_update_intervals@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	$3, %eax
	movl	(%rcx,%rax,4), %edi
	callq	_msecs_to_jiffies
	movl	%eax, 32(%r14)
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_LM95234_REG_TCRIT1
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rdi
	movl	%eax, (%rdi,%rbx,4)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_5:
	movq	8(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_LM95234_REG_TCRIT2
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r14), %rdi
	movl	%eax, (%rdi,%rbx,4)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_9:
	movq	16(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_13
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_LM95234_REG_OFFSET
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r14), %rdi
	movl	%eax, (%rdi,%rbx,4)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_13:
	movq	_LM95234_REG_TCRIT_HYST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_16
## %bb.14:
	movl	%eax, 24(%r14)
	movq	_LM95234_REG_REM_MODEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_16
## %bb.15:
	movl	%eax, 28(%r14)
	xorl	%eax, %eax
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM95234_REG_CONVRATE,4,2       ## @LM95234_REG_CONVRATE
	.comm	_update_intervals,8,3           ## @update_intervals
	.comm	_LM95234_REG_TCRIT_HYST,4,2     ## @LM95234_REG_TCRIT_HYST
	.comm	_LM95234_REG_REM_MODEL,4,2      ## @LM95234_REG_REM_MODEL
	.no_dead_strip	_lm95234_fill_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm95234_fill_cache
_lm95234_fill_cache:                    ; @lm95234_fill_cache
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LM95234_REG_CONVRATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LM95234_REG_CONVRATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_16
; %bb.1:
Lloh3:
	adrp	x8, _update_intervals@GOTPAGE
Lloh4:
	ldr	x8, [x8, _update_intervals@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	w9, w0, #0x3
	ldr	w0, [x8, w9, uxtw #2]
	bl	_msecs_to_jiffies
	str	w0, [x19, #32]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_LM95234_REG_TCRIT1
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	mov	x0, x8
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_LM95234_REG_TCRIT2
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	mov	x0, x8
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_7
LBB0_9:
	ldr	x0, [x19, #16]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.10:
	mov	x21, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_LM95234_REG_OFFSET
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19, #16]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	mov	x0, x8
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_11
LBB0_13:
Lloh6:
	adrp	x8, _LM95234_REG_TCRIT_HYST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LM95234_REG_TCRIT_HYST@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_16
; %bb.14:
	str	w0, [x19, #24]
Lloh9:
	adrp	x8, _LM95234_REG_REM_MODEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LM95234_REG_REM_MODEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_16
; %bb.15:
	str	w0, [x19, #28]
	mov	w0, #0
LBB0_16:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LM95234_REG_CONVRATE,4,2       ; @LM95234_REG_CONVRATE
	.comm	_update_intervals,8,3           ; @update_intervals
	.comm	_LM95234_REG_TCRIT_HYST,4,2     ; @LM95234_REG_TCRIT_HYST
	.comm	_LM95234_REG_REM_MODEL,4,2      ; @LM95234_REG_REM_MODEL
	.no_dead_strip	_lm95234_fill_cache
.subsections_via_symbols
