	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm90_is_tripped
_lm90_is_tripped:                       ## @lm90_is_tripped
	.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	%rsi, %r13
	movq	%rdi, %r15
	callq	_i2c_get_clientdata
	movq	%rax, %rbx
	movq	_LM90_REG_R_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_lm90_read_reg
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movq	_max6696@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	movl	$0, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_MAX6696_REG_R_STATUS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_lm90_read_reg
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_17
LBB0_4:
	movl	%ebx, %eax
	shll	$8, %eax
	orl	%r14d, %eax
	movl	%eax, (%r13)
	movl	%r14d, %eax
	andl	$127, %eax
	movl	%ebx, %ecx
	andl	$254, %ecx
	orl	%eax, %ecx
	je	LBB0_17
## %bb.5:
	movq	_LM90_STATUS_LLOW@GOTPCREL(%rip), %rax
	movq	_LM90_STATUS_LHIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_LM90_STATUS_LTHRM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	jne	LBB0_7
## %bb.6:
	movq	_MAX6696_STATUS2_LOT2@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_dev_warn
LBB0_8:
	movq	_LM90_STATUS_RLOW@GOTPCREL(%rip), %rax
	movq	_LM90_STATUS_RHIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_LM90_STATUS_RTHRM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	jne	LBB0_10
## %bb.9:
	movq	_MAX6696_STATUS2_ROT2@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_dev_warn
LBB0_11:
	movq	_LM90_STATUS_ROPEN@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_dev_warn
LBB0_13:
	movq	_MAX6696_STATUS2_R2LOW@GOTPCREL(%rip), %rax
	movq	_MAX6696_STATUS2_R2HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MAX6696_STATUS2_R2THRM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MAX6696_STATUS2_R2OT2@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$3, %edx
	callq	_dev_warn
LBB0_15:
	movq	_MAX6696_STATUS2_R2OPEN@GOTPCREL(%rip), %rax
	movl	$1, %r12d
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$3, %edx
	callq	_dev_warn
	jmp	LBB0_17
LBB0_1:
	xorl	%r12d, %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM90_REG_R_STATUS,4,2          ## @LM90_REG_R_STATUS
	.comm	_max6696,8,3                    ## @max6696
	.comm	_MAX6696_REG_R_STATUS2,4,2      ## @MAX6696_REG_R_STATUS2
	.comm	_LM90_STATUS_LLOW,4,2           ## @LM90_STATUS_LLOW
	.comm	_LM90_STATUS_LHIGH,4,2          ## @LM90_STATUS_LHIGH
	.comm	_LM90_STATUS_LTHRM,4,2          ## @LM90_STATUS_LTHRM
	.comm	_MAX6696_STATUS2_LOT2,4,2       ## @MAX6696_STATUS2_LOT2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"temp%d out of range, please check!\n"

	.comm	_LM90_STATUS_RLOW,4,2           ## @LM90_STATUS_RLOW
	.comm	_LM90_STATUS_RHIGH,4,2          ## @LM90_STATUS_RHIGH
	.comm	_LM90_STATUS_RTHRM,4,2          ## @LM90_STATUS_RTHRM
	.comm	_MAX6696_STATUS2_ROT2,4,2       ## @MAX6696_STATUS2_ROT2
	.comm	_LM90_STATUS_ROPEN,4,2          ## @LM90_STATUS_ROPEN
L_.str.1:                               ## @.str.1
	.asciz	"temp%d diode open, please check!\n"

	.comm	_MAX6696_STATUS2_R2LOW,4,2      ## @MAX6696_STATUS2_R2LOW
	.comm	_MAX6696_STATUS2_R2HIGH,4,2     ## @MAX6696_STATUS2_R2HIGH
	.comm	_MAX6696_STATUS2_R2THRM,4,2     ## @MAX6696_STATUS2_R2THRM
	.comm	_MAX6696_STATUS2_R2OT2,4,2      ## @MAX6696_STATUS2_R2OT2
	.comm	_MAX6696_STATUS2_R2OPEN,4,2     ## @MAX6696_STATUS2_R2OPEN
	.no_dead_strip	_lm90_is_tripped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm90_is_tripped
_lm90_is_tripped:                       ; @lm90_is_tripped
	.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	x22, x1
	mov	x19, x0
	bl	_i2c_get_clientdata
	mov	x20, x0
Lloh0:
	adrp	x8, _LM90_REG_R_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LM90_REG_R_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lm90_read_reg
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _max6696@GOTPAGE
Lloh4:
	ldr	x9, [x9, _max6696@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _MAX6696_REG_R_STATUS2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX6696_REG_R_STATUS2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lm90_read_reg
	mov	x20, x0
	tbz	w0, #31, LBB0_4
	b	LBB0_5
LBB0_3:
	mov	w20, #0
LBB0_4:
	orr	w8, w21, w20, lsl #8
	str	w8, [x22]
	and	w8, w21, #0x7f
	and	w9, w20, #0xfe
	orr	w8, w8, w9
	cbnz	w8, LBB0_6
LBB0_5:
	mov	w0, #0
	b	LBB0_19
LBB0_6:
Lloh9:
	adrp	x8, _LM90_STATUS_LLOW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LM90_STATUS_LLOW@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _LM90_STATUS_LHIGH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LM90_STATUS_LHIGH@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _LM90_STATUS_LTHRM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LM90_STATUS_LTHRM@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w21
	b.ne	LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _MAX6696_STATUS2_LOT2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAX6696_STATUS2_LOT2@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
LBB0_8:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_dev_warn
LBB0_9:
Lloh23:
	adrp	x8, _LM90_STATUS_RLOW@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LM90_STATUS_RLOW@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _LM90_STATUS_RHIGH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _LM90_STATUS_RHIGH@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh29:
	adrp	x9, _LM90_STATUS_RTHRM@GOTPAGE
Lloh30:
	ldr	x9, [x9, _LM90_STATUS_RTHRM@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w21
	b.ne	LBB0_11
; %bb.10:
Lloh32:
	adrp	x8, _MAX6696_STATUS2_ROT2@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MAX6696_STATUS2_ROT2@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
LBB0_11:
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_dev_warn
LBB0_12:
Lloh37:
	adrp	x8, _LM90_STATUS_ROPEN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LM90_STATUS_ROPEN@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.13:
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_dev_warn
LBB0_14:
Lloh42:
	adrp	x8, _MAX6696_STATUS2_R2LOW@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MAX6696_STATUS2_R2LOW@GOTPAGEOFF]
Lloh44:
	adrp	x9, _MAX6696_STATUS2_R2HIGH@GOTPAGE
Lloh45:
	ldr	x9, [x9, _MAX6696_STATUS2_R2HIGH@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh48:
	adrp	x9, _MAX6696_STATUS2_R2THRM@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MAX6696_STATUS2_R2THRM@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh51:
	adrp	x9, _MAX6696_STATUS2_R2OT2@GOTPAGE
Lloh52:
	ldr	x9, [x9, _MAX6696_STATUS2_R2OT2@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_16
; %bb.15:
Lloh54:
	adrp	x1, l_.str@PAGE
Lloh55:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_dev_warn
LBB0_16:
Lloh56:
	adrp	x8, _MAX6696_STATUS2_R2OPEN@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MAX6696_STATUS2_R2OPEN@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_18
; %bb.17:
Lloh59:
	adrp	x1, l_.str.1@PAGE
Lloh60:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_dev_warn
LBB0_18:
	mov	w0, #1
LBB0_19:
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_LM90_REG_R_STATUS,4,2          ; @LM90_REG_R_STATUS
	.comm	_max6696,8,3                    ; @max6696
	.comm	_MAX6696_REG_R_STATUS2,4,2      ; @MAX6696_REG_R_STATUS2
	.comm	_LM90_STATUS_LLOW,4,2           ; @LM90_STATUS_LLOW
	.comm	_LM90_STATUS_LHIGH,4,2          ; @LM90_STATUS_LHIGH
	.comm	_LM90_STATUS_LTHRM,4,2          ; @LM90_STATUS_LTHRM
	.comm	_MAX6696_STATUS2_LOT2,4,2       ; @MAX6696_STATUS2_LOT2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"temp%d out of range, please check!\n"

	.comm	_LM90_STATUS_RLOW,4,2           ; @LM90_STATUS_RLOW
	.comm	_LM90_STATUS_RHIGH,4,2          ; @LM90_STATUS_RHIGH
	.comm	_LM90_STATUS_RTHRM,4,2          ; @LM90_STATUS_RTHRM
	.comm	_MAX6696_STATUS2_ROT2,4,2       ; @MAX6696_STATUS2_ROT2
	.comm	_LM90_STATUS_ROPEN,4,2          ; @LM90_STATUS_ROPEN
l_.str.1:                               ; @.str.1
	.asciz	"temp%d diode open, please check!\n"

	.comm	_MAX6696_STATUS2_R2LOW,4,2      ; @MAX6696_STATUS2_R2LOW
	.comm	_MAX6696_STATUS2_R2HIGH,4,2     ; @MAX6696_STATUS2_R2HIGH
	.comm	_MAX6696_STATUS2_R2THRM,4,2     ; @MAX6696_STATUS2_R2THRM
	.comm	_MAX6696_STATUS2_R2OT2,4,2      ; @MAX6696_STATUS2_R2OT2
	.comm	_MAX6696_STATUS2_R2OPEN,4,2     ; @MAX6696_STATUS2_R2OPEN
	.no_dead_strip	_lm90_is_tripped
.subsections_via_symbols
