	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp401_crit_temp_to_register
_tmp401_crit_temp_to_register:          ## @tmp401_crit_temp_to_register
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TMP401_CONFIG_RANGE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	$-64000, %esi                   ## imm = 0xFFFF0600
	movl	$191000, %edx                   ## imm = 0x2EA18
	callq	_SENSORS_LIMIT
	addq	$64000, %rax                    ## imm = 0xFA00
	jmp	LBB0_3
LBB0_2:
	xorl	%esi, %esi
	movl	$127000, %edx                   ## imm = 0x1F018
	callq	_SENSORS_LIMIT
LBB0_3:
	addq	$500, %rax                      ## imm = 0x1F4
	movabsq	$2361183241434822607, %rcx      ## imm = 0x20C49BA5E353F7CF
	imulq	%rcx
	movq	%rdx, %rax
	shrq	$63, %rax
	shrq	$7, %rdx
	addl	%edx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMP401_CONFIG_RANGE,4,2        ## @TMP401_CONFIG_RANGE
	.no_dead_strip	_tmp401_crit_temp_to_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp401_crit_temp_to_register
_tmp401_crit_temp_to_register:          ; @tmp401_crit_temp_to_register
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _TMP401_CONFIG_RANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMP401_CONFIG_RANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	w1, #-64000
	mov	w2, #59928
	movk	w2, #2, lsl #16
	bl	_SENSORS_LIMIT
	mov	w8, #64000
	add	x0, x0, x8
	b	LBB0_3
LBB0_2:
	mov	w1, #0
	mov	w2, #61464
	movk	w2, #1, lsl #16
	bl	_SENSORS_LIMIT
LBB0_3:
	add	x8, x0, #500
	mov	x9, #63439
	movk	x9, #58195, lsl #16
	movk	x9, #39845, lsl #32
	movk	x9, #8388, lsl #48
	smulh	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #7
	add	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TMP401_CONFIG_RANGE,4,2        ; @TMP401_CONFIG_RANGE
	.no_dead_strip	_tmp401_crit_temp_to_register
.subsections_via_symbols
