	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_temp11
_show_temp11:                           ## @show_temp11
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_lm90_update_device
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_adt7461@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_temp_from_u16_adt7461
	jmp	LBB0_5
LBB0_2:
	movq	_max6646@GOTPCREL(%rip), %rcx
	movq	8(%rbx), %rdx
	movq	(%r15), %rsi
	movl	(%rdx,%rsi,4), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	callq	_temp_from_u16
	jmp	LBB0_5
LBB0_4:
	callq	_temp_from_s16
LBB0_5:
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rcx
	movq	_lm99@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:
	leal	16000(%rax), %ecx
	cmpq	$3, (%r15)
	cmovael	%eax, %ecx
	movl	%ecx, %eax
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adt7461,8,3                    ## @adt7461
	.comm	_max6646,8,3                    ## @max6646
	.comm	_lm99,8,3                       ## @lm99
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_temp11
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_temp11
_show_temp11:                           ; @show_temp11
	.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	x21, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr
	mov	x20, x0
	mov	x0, x21
	bl	_lm90_update_device
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _adt7461@GOTPAGE
Lloh1:
	ldr	x9, [x9, _adt7461@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	x9, [x20]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x21
	bl	_temp_from_u16_adt7461
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x9, _max6646@GOTPAGE
Lloh4:
	ldr	x9, [x9, _max6646@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x10, [x21, #8]
	ldr	x11, [x20]
	ldr	w0, [x10, x11, lsl #2]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	bl	_temp_from_u16
	b	LBB0_5
LBB0_4:
	bl	_temp_from_s16
LBB0_5:
	mov	x2, x0
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _lm99@GOTPAGE
Lloh7:
	ldr	x9, [x9, _lm99@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x20]
	mov	w9, #16000
	add	w9, w2, w9
	cmp	x8, #3
	csel	w2, w9, w2, lo
LBB0_7:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_adt7461,8,3                    ; @adt7461
	.comm	_max6646,8,3                    ; @max6646
	.comm	_lm99,8,3                       ; @lm99
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_temp11
.subsections_via_symbols
