	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm90_temp_read
_lm90_temp_read:                        ## @lm90_temp_read
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r12
	leaq	4(%rax), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_lm90_update_device
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_mutex_unlock
	testl	%r13d, %r13d
	jne	LBB0_26
## %bb.1:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	addl	$-128, %r14d
	cmpl	$12, %r14d
	ja	LBB0_4
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_REMOTE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_lm90_get_temp11
	jmp	LBB0_24
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_26
LBB0_5:
	movl	(%rdi), %eax
	movq	_lm90_min_alarm_bits@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_6:
	movq	_lm90_temp_min_index@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movl	(%rdi), %eax
	movq	_lm90_max_alarm_bits@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_8:
	movq	_lm90_temp_max_index@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	testl	%edx, %edx
	jne	LBB0_12
## %bb.10:
	movl	(%rax), %esi
	jmp	LBB0_23
LBB0_11:
	movq	_lm90_temp_index@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_lm90_get_temp11
	jmp	LBB0_24
LBB0_13:
	movl	(%rdi), %eax
	movq	_lm90_fault_bits@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_14:
	movq	_lm90_temp_emerg_index@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	movl	(%rdi), %eax
	movq	_lm90_emergency_alarm_bits@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_16:
	movq	_lm90_temp_emerg_index@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_17:
	movq	_lm90_temp_crit_index@GOTPCREL(%rip), %rax
LBB0_18:
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_lm90_get_temphyst
	jmp	LBB0_24
LBB0_19:
	movl	(%rdi), %eax
	movq	_lm90_crit_alarm_bits@GOTPCREL(%rip), %rcx
LBB0_20:
	movq	(%rcx), %rcx
	movslq	%edx, %rdx
	movl	(%rcx,%rdx,4), %ecx
	xorl	%edx, %edx
	btq	%rcx, %rax
	setb	%dl
	movq	%rdx, (%r12)
	jmp	LBB0_25
LBB0_21:
	movq	_lm90_temp_crit_index@GOTPCREL(%rip), %rax
LBB0_22:
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %esi
LBB0_23:
	callq	_lm90_get_temp8
LBB0_24:
	movq	%rax, (%r12)
LBB0_25:
	xorl	%r13d, %r13d
LBB0_26:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_lm90_temp_index,8,3            ## @lm90_temp_index
	.comm	_lm90_min_alarm_bits,8,3        ## @lm90_min_alarm_bits
	.comm	_lm90_max_alarm_bits,8,3        ## @lm90_max_alarm_bits
	.comm	_lm90_crit_alarm_bits,8,3       ## @lm90_crit_alarm_bits
	.comm	_lm90_emergency_alarm_bits,8,3  ## @lm90_emergency_alarm_bits
	.comm	_lm90_fault_bits,8,3            ## @lm90_fault_bits
	.comm	_lm90_temp_min_index,8,3        ## @lm90_temp_min_index
	.comm	_lm90_temp_max_index,8,3        ## @lm90_temp_max_index
	.comm	_lm90_temp_crit_index,8,3       ## @lm90_temp_crit_index
	.comm	_lm90_temp_emerg_index,8,3      ## @lm90_temp_emerg_index
	.comm	_REMOTE_OFFSET,4,2              ## @REMOTE_OFFSET
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_lm90_temp_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm90_temp_read
_lm90_temp_read:                        ; @lm90_temp_read
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	bl	_dev_get_drvdata
	mov	x22, x0
	add	x24, x0, #4
	mov	x0, x24
	bl	_mutex_lock
	mov	x0, x20
	bl	_lm90_update_device
	mov	x20, x0
	mov	x0, x24
	bl	_mutex_unlock
	cbnz	w20, LBB0_26
; %bb.1:
	sub	w8, w23, #128
	cmp	w8, #12
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh2:
	adrp	x8, _REMOTE_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REMOTE_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	b	LBB0_13
LBB0_4:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_26
LBB0_5:
	mov	w20, #0
	ldr	w8, [x22]
Lloh8:
	adrp	x9, _lm90_min_alarm_bits@GOTPAGE
Lloh9:
	ldr	x9, [x9, _lm90_min_alarm_bits@GOTPAGEOFF]
	b	LBB0_21
LBB0_6:
Lloh10:
	adrp	x8, _lm90_temp_min_index@GOTPAGE
Lloh11:
	ldr	x8, [x8, _lm90_temp_min_index@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	w20, #0
	ldr	w8, [x22]
Lloh12:
	adrp	x9, _lm90_max_alarm_bits@GOTPAGE
Lloh13:
	ldr	x9, [x9, _lm90_max_alarm_bits@GOTPAGEOFF]
	b	LBB0_21
LBB0_8:
Lloh14:
	adrp	x8, _lm90_temp_max_index@GOTPAGE
Lloh15:
	ldr	x8, [x8, _lm90_temp_max_index@GOTPAGEOFF]
LBB0_9:
	ldr	x8, [x8]
	cbnz	w21, LBB0_12
; %bb.10:
	ldr	w1, [x8]
	b	LBB0_24
LBB0_11:
Lloh16:
	adrp	x8, _lm90_temp_index@GOTPAGE
Lloh17:
	ldr	x8, [x8, _lm90_temp_index@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
LBB0_12:
	ldr	w1, [x8, w21, sxtw #2]
LBB0_13:
	mov	x0, x22
	bl	_lm90_get_temp11
	b	LBB0_25
LBB0_14:
	mov	w20, #0
	ldr	w8, [x22]
Lloh19:
	adrp	x9, _lm90_fault_bits@GOTPAGE
Lloh20:
	ldr	x9, [x9, _lm90_fault_bits@GOTPAGEOFF]
	b	LBB0_21
LBB0_15:
Lloh21:
	adrp	x8, _lm90_temp_emerg_index@GOTPAGE
Lloh22:
	ldr	x8, [x8, _lm90_temp_emerg_index@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:
	mov	w20, #0
	ldr	w8, [x22]
Lloh23:
	adrp	x9, _lm90_emergency_alarm_bits@GOTPAGE
Lloh24:
	ldr	x9, [x9, _lm90_emergency_alarm_bits@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
Lloh25:
	adrp	x8, _lm90_temp_emerg_index@GOTPAGE
Lloh26:
	ldr	x8, [x8, _lm90_temp_emerg_index@GOTPAGEOFF]
	b	LBB0_23
LBB0_18:
Lloh27:
	adrp	x8, _lm90_temp_crit_index@GOTPAGE
Lloh28:
	ldr	x8, [x8, _lm90_temp_crit_index@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
	ldr	w1, [x8, w21, sxtw #2]
	mov	x0, x22
	bl	_lm90_get_temphyst
	b	LBB0_25
LBB0_20:
	mov	w20, #0
	ldr	w8, [x22]
Lloh29:
	adrp	x9, _lm90_crit_alarm_bits@GOTPAGE
Lloh30:
	ldr	x9, [x9, _lm90_crit_alarm_bits@GOTPAGEOFF]
LBB0_21:
	ldr	x9, [x9]
	ldr	w9, [x9, w21, sxtw #2]
	lsr	x8, x8, x9
	and	x8, x8, #0x1
	str	x8, [x19]
	b	LBB0_26
LBB0_22:
Lloh31:
	adrp	x8, _lm90_temp_crit_index@GOTPAGE
Lloh32:
	ldr	x8, [x8, _lm90_temp_crit_index@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x8]
	ldr	w1, [x8, w21, sxtw #2]
LBB0_24:
	mov	x0, x22
	bl	_lm90_get_temp8
LBB0_25:
	mov	w20, #0
	str	x0, [x19]
LBB0_26:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_22-LBB0_3)>>2
                                        ; -- End function
	.comm	_lm90_temp_index,8,3            ; @lm90_temp_index
	.comm	_lm90_min_alarm_bits,8,3        ; @lm90_min_alarm_bits
	.comm	_lm90_max_alarm_bits,8,3        ; @lm90_max_alarm_bits
	.comm	_lm90_crit_alarm_bits,8,3       ; @lm90_crit_alarm_bits
	.comm	_lm90_emergency_alarm_bits,8,3  ; @lm90_emergency_alarm_bits
	.comm	_lm90_fault_bits,8,3            ; @lm90_fault_bits
	.comm	_lm90_temp_min_index,8,3        ; @lm90_temp_min_index
	.comm	_lm90_temp_max_index,8,3        ; @lm90_temp_max_index
	.comm	_lm90_temp_crit_index,8,3       ; @lm90_temp_crit_index
	.comm	_lm90_temp_emerg_index,8,3      ; @lm90_temp_emerg_index
	.comm	_REMOTE_OFFSET,4,2              ; @REMOTE_OFFSET
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_lm90_temp_read
.subsections_via_symbols
