	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_temp_type
_show_temp_type:                        ## @show_temp_type
	.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	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_it87_update_device
	movq	%rax, %rbx
	movl	(%rax), %r12d
	movl	4(%rax), %r13d
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_has_temp_peci
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r12d, %eax
	sarl	$6, %eax
	leal	1(%r15), %ecx
	cmpl	%ecx, %eax
	je	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_has_temp_old_peci
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	andl	$128, %r13d
	je	LBB0_5
LBB0_4:
	movb	$0, 2(%r14)
	movw	$2614, (%r14)                   ## imm = 0xA36
	jmp	LBB0_10
LBB0_5:
	btl	%r15d, %r12d
	jae	LBB0_7
## %bb.6:
	movb	$0, 2(%r14)
	movw	$2611, (%r14)                   ## imm = 0xA33
	jmp	LBB0_10
LBB0_7:
	movl	%r15d, %ecx
	shrl	%cl, %r12d
	testb	$8, %r12b
	je	LBB0_9
## %bb.8:
	movb	$0, 2(%r14)
	movw	$2612, (%r14)                   ## imm = 0xA34
	jmp	LBB0_10
LBB0_9:
	movb	$0, 2(%r14)
	movw	$2608, (%r14)                   ## imm = 0xA30
LBB0_10:
	movl	$2, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"6\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"4\n"

L_.str.3:                               ## @.str.3
	.asciz	"0\n"

	.no_dead_strip	_show_temp_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_temp_type
_show_temp_type:                        ; @show_temp_type
	.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, x2
	mov	x21, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr
	ldr	w20, [x0]
	mov	x0, x21
	bl	_it87_update_device
	mov	x21, x0
	ldp	w22, w23, [x0]
	mov	x1, x20
	bl	_has_temp_peci
	cbz	x0, LBB0_2
; %bb.1:
	add	w8, w20, #1
	cmp	w8, w22, asr #6
	b.eq	LBB0_5
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_has_temp_old_peci
	and	w8, w23, #0x80
	cmp	x0, #0
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_5
; %bb.3:
	lsr	w8, w22, w20
	tbz	w8, #0, LBB0_7
; %bb.4:
	strb	wzr, [x19, #2]
	mov	w8, #2611
	b	LBB0_6
LBB0_5:
	strb	wzr, [x19, #2]
	mov	w8, #2614
LBB0_6:
	strh	w8, [x19]
	mov	w0, #2
	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
LBB0_7:
	tbz	w8, #3, LBB0_9
; %bb.8:
	strb	wzr, [x19, #2]
	mov	w8, #2612
	b	LBB0_6
LBB0_9:
	strb	wzr, [x19, #2]
	mov	w8, #2608
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"6\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"4\n"

l_.str.3:                               ; @.str.3
	.asciz	"0\n"

	.no_dead_strip	_show_temp_type
.subsections_via_symbols
