	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function temp_alarm_show
_temp_alarm_show:                       ## @temp_alarm_show
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_amc6821_update_device
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_to_sensor_dev_attr
	movl	(%rax), %edx
	leal	-128(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_AMC6821_STAT1_RTL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_5:
	movq	_AMC6821_STAT1_RTH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	addq	$4, %r15
	movq	_AMC6821_STAT2_RTC@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_AMC6821_STAT1_LTL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_AMC6821_STAT1_LTH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	addq	$4, %r15
	movq	_AMC6821_STAT2_LTC@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_11
## %bb.10:
	movw	$49, (%r14)
	jmp	LBB0_12
LBB0_11:
	movw	$48, (%r14)
LBB0_12:
	movl	$1, %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_AMC6821_STAT1_LTL,4,2          ## @AMC6821_STAT1_LTL
	.comm	_AMC6821_STAT1_LTH,4,2          ## @AMC6821_STAT1_LTH
	.comm	_AMC6821_STAT2_LTC,4,2          ## @AMC6821_STAT2_LTC
	.comm	_AMC6821_STAT1_RTL,4,2          ## @AMC6821_STAT1_RTL
	.comm	_AMC6821_STAT1_RTH,4,2          ## @AMC6821_STAT1_RTH
	.comm	_AMC6821_STAT2_RTC,4,2          ## @AMC6821_STAT2_RTC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown attr->index (%d).\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_temp_alarm_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function temp_alarm_show
_temp_alarm_show:                       ; @temp_alarm_show
	.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	x19, x2
	mov	x22, x1
	mov	x21, x0
	bl	_amc6821_update_device
	mov	x20, x0
	mov	x0, x22
	bl	_to_sensor_dev_attr
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _AMC6821_STAT1_RTL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AMC6821_STAT1_RTL@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_4:
Lloh9:
	adrp	x8, _AMC6821_STAT1_RTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AMC6821_STAT1_RTH@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	add	x20, x20, #4
Lloh11:
	adrp	x8, _AMC6821_STAT2_RTC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AMC6821_STAT2_RTC@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh13:
	adrp	x8, _AMC6821_STAT1_LTL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AMC6821_STAT1_LTL@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh15:
	adrp	x8, _AMC6821_STAT1_LTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AMC6821_STAT1_LTH@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	add	x20, x20, #4
Lloh17:
	adrp	x8, _AMC6821_STAT2_LTC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AMC6821_STAT2_LTC@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x20]
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_11
; %bb.10:
	mov	w8, #49
	b	LBB0_12
LBB0_11:
	mov	w8, #48
LBB0_12:
	strh	w8, [x19]
	mov	w0, #1
LBB0_13:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_AMC6821_STAT1_LTL,4,2          ; @AMC6821_STAT1_LTL
	.comm	_AMC6821_STAT1_LTH,4,2          ; @AMC6821_STAT1_LTH
	.comm	_AMC6821_STAT2_LTC,4,2          ; @AMC6821_STAT2_LTC
	.comm	_AMC6821_STAT1_RTL,4,2          ; @AMC6821_STAT1_RTL
	.comm	_AMC6821_STAT1_RTH,4,2          ; @AMC6821_STAT1_RTH
	.comm	_AMC6821_STAT2_RTC,4,2          ; @AMC6821_STAT2_RTC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown attr->index (%d).\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_temp_alarm_show
.subsections_via_symbols
