	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trust_fan_readings
_trust_fan_readings:                    ## @trust_fan_readings
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_ADM1031_CONF1_AUTO_MODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.1:
	shrl	$5, %eax
	andl	$3, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movslq	%esi, %rdx
	movl	4(%rcx,%rdx,4), %ebx
	movl	4(%rax,%rdx,4), %edi
	jmp	LBB0_4
LBB0_10:
	movq	8(%rbx), %rax
	movslq	%esi, %rcx
	cmpq	$0, (%rax,%rcx,8)
	setg	%r14b
	jmp	LBB0_11
LBB0_5:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx), %r15d
	movl	(%rax), %edi
	callq	_AUTO_TEMP_MIN_FROM_REG_DEG
	movb	$1, %r14b
	cmpl	%eax, %r15d
	jge	LBB0_11
## %bb.6:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	4(%rcx), %r15d
	movl	4(%rax), %edi
	callq	_AUTO_TEMP_MIN_FROM_REG_DEG
	cmpl	%eax, %r15d
	jge	LBB0_11
## %bb.7:
	movl	32(%rbx), %eax
	movq	_adm1031@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
LBB0_9:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	8(%rcx), %ebx
	movl	8(%rax), %edi
	jmp	LBB0_4
LBB0_3:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	4(%rcx), %ebx
	movl	4(%rax), %edi
LBB0_4:
	callq	_AUTO_TEMP_MIN_FROM_REG_DEG
	cmpl	%eax, %ebx
	setge	%r14b
LBB0_11:
	movzbl	%r14b, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_ADM1031_CONF1_AUTO_MODE,4,2    ## @ADM1031_CONF1_AUTO_MODE
	.comm	_adm1031,4,2                    ## @adm1031
	.no_dead_strip	_trust_fan_readings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trust_fan_readings
_trust_fan_readings:                    ; @trust_fan_readings
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ADM1031_CONF1_AUTO_MODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADM1031_CONF1_AUTO_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ubfx	w8, w8, #5, #2
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	sbfiz	x8, x1, #2, #32
	add	x8, x8, #4
	ldp	x10, x9, [x19, #16]
	ldr	w19, [x9, x8]
	ldr	w0, [x10, x8]
	b	LBB0_9
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w1, sxtw #3]
	cmp	x8, #0
	cset	w0, gt
	b	LBB0_10
LBB0_4:
	ldp	x9, x8, [x19, #16]
	ldr	w19, [x8, #4]
	ldr	w0, [x9, #4]
	b	LBB0_9
LBB0_5:
	ldp	x9, x8, [x19, #16]
	ldr	w20, [x8]
	ldr	w0, [x9]
	bl	_AUTO_TEMP_MIN_FROM_REG_DEG
	cmp	w20, w0
	b.ge	LBB0_11
; %bb.6:
	ldp	x9, x8, [x19, #16]
	ldr	w20, [x8, #4]
	ldr	w0, [x9, #4]
	bl	_AUTO_TEMP_MIN_FROM_REG_DEG
	cmp	w20, w0
	b.ge	LBB0_11
; %bb.7:
	ldr	w8, [x19, #32]
Lloh5:
	adrp	x9, _adm1031@GOTPAGE
Lloh6:
	ldr	x9, [x9, _adm1031@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
LBB0_8:
	ldp	x9, x8, [x19, #16]
	ldr	w19, [x8, #8]
	ldr	w0, [x9, #8]
LBB0_9:
	bl	_AUTO_TEMP_MIN_FROM_REG_DEG
	cmp	w19, w0
	cset	w0, ge
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #1
	b	LBB0_10
LBB0_12:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_ADM1031_CONF1_AUTO_MODE,4,2    ; @ADM1031_CONF1_AUTO_MODE
	.comm	_adm1031,4,2                    ; @adm1031
	.no_dead_strip	_trust_fan_readings
.subsections_via_symbols
