	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IN_TO_REG
_IN_TO_REG:                             ## @IN_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_nom_mv@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%esi, %rbx
	movl	(%rax,%rbx,4), %eax
	movl	%eax, %ecx
	shll	$8, %ecx
	subl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$715827883, %rax, %rdx          ## imm = 0x2AAAAAAB
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_clamp_val
	movq	(%r14), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%rax, %rdi
	movl	$192, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SCALE                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nom_mv,8,3                     ## @nom_mv
	.no_dead_strip	_IN_TO_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IN_TO_REG
_IN_TO_REG:                             ; @IN_TO_REG
	.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
Lloh0:
	adrp	x19, _nom_mv@GOTPAGE
Lloh1:
	ldr	x19, [x19, _nom_mv@GOTPAGEOFF]
	ldr	x8, [x19]
	sbfiz	x20, x1, #2, #32
	ldr	w8, [x8, x20]
	lsl	w9, w8, #8
	sub	w8, w9, w8
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w2, w8, w9
	mov	w1, #0
	bl	_clamp_val
	ldr	x8, [x19]
	ldr	w2, [x8, x20]
	mov	w1, #192
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SCALE
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_nom_mv,8,3                     ; @nom_mv
	.no_dead_strip	_IN_TO_REG
.subsections_via_symbols
