	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function temp_show
_temp_show:                             ## @temp_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_dev_get_drvdata
	movq	8(%rax), %r12
	movq	(%r12), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	8(%rcx), %rbx
	shlq	$2, %rbx
	addq	(%rax), %rbx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$72, %esi
	xorl	%edx, %edx
	movl	$2, %r8d
	callq	_i2c_read_regs
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %ecx
	shll	$3, %eax
	sarl	$5, %ecx
	orl	%eax, %ecx
	imull	$125, %ecx, %r14d
	movq	(%r12), %rax
	cmpl	$2, (%rax)
	jne	LBB0_7
## %bb.5:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$73, %esi
	xorl	%edx, %edx
	movl	$2, %r8d
	callq	_i2c_read_regs
	testq	%rax, %rax
	js	LBB0_3
## %bb.6:
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %ecx
	shll	$3, %eax
	sarl	$5, %ecx
	orl	%eax, %ecx
	imull	$125, %ecx, %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_8
LBB0_1:
	movabsq	$8030883942533984110, %rax      ## imm = 0x6F736E6573206F6E
	movq	%rax, (%r15)
	movl	$684655, 7(%r15)                ## imm = 0xA726F
	movl	$10, %eax
	jmp	LBB0_8
LBB0_3:
	movabsq	$8246765328049202546, %rax      ## imm = 0x7272655F64616572
	movq	%rax, (%r15)
	movl	$684655, 8(%r15)                ## imm = 0xA726F
	movl	$11, %eax
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_sprintf
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no sensor\n"

L_.str.1:                               ## @.str.1
	.asciz	"read_error\n"

L_.str.2:                               ## @.str.2
	.asciz	"%d %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"%d\n"

	.no_dead_strip	_temp_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function temp_show
_temp_show:                             ; @temp_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_dev_get_drvdata
	ldr	x22, [x0, #8]
	ldr	x8, [x22]
	ldr	w9, [x8]
	cbz	w9, LBB0_5
; %bb.1:
	ldr	x9, [x0]
	ldr	x8, [x8, #8]
	add	x20, x9, x8, lsl #2
	add	x3, sp, #16
	mov	x0, x20
	mov	w1, #72
	mov	w2, #0
	mov	w4, #2
	bl	_i2c_read_regs
	tbnz	x0, #63, LBB0_6
; %bb.2:
	ldp	w8, w9, [sp, #16]
	asr	w9, w9, #5
	orr	w8, w9, w8, lsl #3
	mov	w9, #125
	mul	w21, w8, w9
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.3:
	add	x3, sp, #16
	mov	x0, x20
	mov	w1, #73
	mov	w2, #0
	mov	w4, #2
	bl	_i2c_read_regs
	tbnz	x0, #63, LBB0_6
; %bb.4:
	ldp	w8, w9, [sp, #16]
	asr	w9, w9, #5
	orr	w8, w9, w8, lsl #3
	mov	w9, #125
	mul	w8, w8, w9
	stp	x21, x8, [sp]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_5:
	mov	w8, #29295
	movk	w8, #10, lsl #16
	stur	w8, [x19, #7]
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w0, #10
	b	LBB0_9
LBB0_6:
	mov	w8, #29295
	movk	w8, #10, lsl #16
	str	w8, [x19, #8]
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w0, #11
	b	LBB0_9
LBB0_7:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_sprintf
LBB0_9:
	ldr	x8, [sp, #24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	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
	add	sp, sp, #80
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAddLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no sensor\n"

l_.str.1:                               ; @.str.1
	.asciz	"read_error\n"

l_.str.2:                               ; @.str.2
	.asciz	"%d %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"%d\n"

	.no_dead_strip	_temp_show
.subsections_via_symbols
