	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interpolate_value
_interpolate_value:                     ## @interpolate_value
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r14
	cmpq	%rdi, (%rsi)
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	decl	%edx
	movq	%rdx, %rax
	shlq	$4, %rax
	cmpq	%rdi, (%r14,%rax)
	jle	LBB0_3
## %bb.12:
	movq	8(%r14,%rax), %rax
	jmp	LBB0_11
LBB0_1:
	movq	8(%r14), %rax
	jmp	LBB0_11
LBB0_3:
	movl	$1, %eax
	cmpl	$2, %edx
	jb	LBB0_10
## %bb.4:
	leaq	16(%r14), %rcx
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rcx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	jl	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	addq	$16, %rcx
	cmpq	%rax, %rdx
	jne	LBB0_5
## %bb.9:
	movl	%edx, %eax
LBB0_10:
	movl	%eax, %r15d
	shlq	$4, %r15
	movq	(%r14,%r15), %rcx
	movq	8(%r14,%r15), %rdx
	cltq
	shlq	$4, %rax
	subq	-8(%rax,%r14), %rdx
	movq	-16(%rax,%r14), %rsi
	subq	%rcx, %rsi
	subq	%rcx, %rbx
	imulq	%rdx, %rbx
	movq	%rbx, %rdi
	callq	_do_div
	movl	8(%r14,%r15), %eax
	subl	%ebx, %eax
	cltq
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%eax, %eax
	shlq	$4, %rax
	movq	8(%r14,%rax), %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_interpolate_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interpolate_value
_interpolate_value:                     ; @interpolate_value
	.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
	ldr	x8, [x1]
	cmp	x8, x0
	b.le	LBB0_3
; %bb.1:
	sub	w8, w2, #1
	lsl	x9, x8, #4
	ldr	x9, [x1, x9]
	cmp	x9, x0
	b.le	LBB0_4
; %bb.2:
	add	x8, x1, x8, lsl #4
	ldr	x0, [x8, #8]
	b	LBB0_13
LBB0_3:
	ldr	x0, [x1, #8]
	b	LBB0_13
LBB0_4:
	cmp	w8, #2
	b.lo	LBB0_9
; %bb.5:
	add	x10, x1, #16
	mov	w9, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cmp	x11, x0
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	b.lt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	add	x10, x10, #16
	cmp	x8, x9
	b.ne	LBB0_6
	b	LBB0_12
LBB0_9:
	mov	w8, #1
	b	LBB0_12
LBB0_10:
	add	x8, x1, w9, uxtw #4
	ldr	x0, [x8, #8]
	b	LBB0_13
LBB0_11:
	mov	x8, x9
LBB0_12:
	add	x20, x1, w8, uxtw #4
	add	x8, x1, w8, sxtw #4
	ldp	x8, x9, [x8, #-16]
	ldp	x11, x10, [x20]
	sub	x9, x10, x9
	sub	x1, x8, x11
	sub	x8, x0, x11
	mul	x19, x8, x9
	mov	x0, x19
	bl	_do_div
	ldr	w8, [x20, #8]
	sub	w8, w8, w19
	sxtw	x0, w8
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_interpolate_value
.subsections_via_symbols
