	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TEMP_TO_REG
_TEMP_TO_REG:                           ## @TEMP_TO_REG
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_viaLUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$-49999, %rdi                   ## imm = 0xFFFF3CB1
	jge	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_2:
	movl	$160, %ecx
	cmpq	$109999, %rdi                   ## imm = 0x1ADAF
	jg	LBB0_4
## %bb.3:
	leal	500(%rdi), %ecx
	leal	-500(%rdi), %edx
	testq	%rdi, %rdi
	cmovnsl	%ecx, %edx
	movslq	%edx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	sarq	$38, %rdx
	shrq	$63, %rcx
	addl	%edx, %ecx
	addl	$50, %ecx
	movslq	%ecx, %rcx
LBB0_4:
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_viaLUT,8,3                     ## @viaLUT
	.no_dead_strip	_TEMP_TO_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TEMP_TO_REG
_TEMP_TO_REG:                           ; @TEMP_TO_REG
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _viaLUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _viaLUT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	x9, #-49999
	mov	w10, #160
	mov	w11, #44463
	movk	w11, #1, lsl #16
	cmp	x0, #0
	mov	w12, #-500
	cneg	w12, w12, ge
	add	w12, w12, w0
	mov	w13, #19923
	movk	w13, #4194, lsl #16
	smull	x12, w12, w13
	lsr	x13, x12, #63
	asr	x12, x12, #38
	add	w12, w12, w13
	add	w12, w12, #50
	sxtw	x12, w12
	cmp	x0, x11
	csel	x10, x10, x12, gt
	cmp	x0, x9
	csel	x9, xzr, x10, lt
	ldr	w0, [x8, x9, lsl #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_viaLUT,8,3                     ; @viaLUT
	.no_dead_strip	_TEMP_TO_REG
.subsections_via_symbols
