	.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
	movl	$-60000, %esi                   ## imm = 0xFFFF15A0
	movl	$160000, %edx                   ## imm = 0x27100
	callq	_clamp_val
	addq	%rax, %rax
	leaq	(%rax,%rax,4), %rax
	movabsq	$3777893186295716171, %rcx      ## imm = 0x346DC5D63886594B
	imulq	%rcx
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$7, %rdx
	addq	%rdx, %rax
	shlq	$3, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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:
	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
	mov	w1, #-60000
	mov	w2, #28928
	movk	w2, #2, lsl #16
	bl	_clamp_val
	add	x8, x0, x0, lsl #2
	lsl	x8, x8, #1
	mov	x9, #22859
	movk	x9, #14470, lsl #16
	movk	x9, #50646, lsl #32
	movk	x9, #13421, lsl #48
	smulh	x8, x8, x9
	asr	x9, x8, #7
	add	x8, x9, x8, lsr #63
	lsl	x0, x8, #3
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_TEMP_TO_REG
.subsections_via_symbols
