	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function _vp_offset_and_mix
LCPI0_0:
	.long	0xc189999a                      ## float -17.2000008
LCPI0_1:
	.long	0x4189999a                      ## float 17.2000008
LCPI0_5:
	.long	0x38d1b717                      ## float 9.99999974E-5
LCPI0_6:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0xbf33a92a30553261              ## double -2.9999999999999997E-4
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_4:
	.quad	0xbf747ae147ae147b              ## double -0.0050000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	__vp_offset_and_mix
	.p2align	4, 0x90
__vp_offset_and_mix:                    ## @_vp_offset_and_mix
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r14d
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rdx
	movslq	%ecx, %r15
	movss	(%rdx,%r15,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	4(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	decq	%r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r13,%r12,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movq	8(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	addss	(%rcx,%r12,4), %xmm1
	movss	8(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	minss	%xmm1, %xmm0
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movss	(%rax,%r12,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	-44(%rbp), %xmm1                ## 4-byte Folded Reload
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	callq	_max
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm0, (%rax,%r12,4)
	cmpl	$1, %r15d
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbp), %rax
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	subss	(%rax,%r12,4), %xmm0
	ucomiss	LCPI0_0(%rip), %xmm0
	addss	LCPI0_1(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	jbe	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	mulsd	LCPI0_4(%rip), %xmm0
	mulsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	LCPI0_3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movss	LCPI0_5(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	mulsd	LCPI0_2(%rip), %xmm0
	mulsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	LCPI0_3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	mulss	(%rax,%r12,4), %xmm0
	movss	%xmm0, (%rax,%r12,4)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r12, %r14
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	incq	%r12
	jmp	LBB0_2
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__vp_offset_and_mix             ; -- Begin function _vp_offset_and_mix
	.p2align	2
__vp_offset_and_mix:                    ; @_vp_offset_and_mix
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-128]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	mov	x26, #0
	ldr	x8, [x0, #16]
	ldr	x10, [x8]
	sxtw	x27, w22
	ldr	s9, [x10, w3, sxtw #2]
	ldr	s0, [x0, #4]
	fcvt	d10, s0
	lsl	x9, x9, #2
	sub	x28, x9, #4
	fmov	d11, #1.00000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x24, x26]
	ldr	x9, [x25, #8]
	ldr	x9, [x9, x27, lsl #3]
	ldr	s1, [x9, x26]
	fadd	s0, s0, s1
	ldr	s1, [x8, #8]
	fcmp	s0, s1
	fcsel	s8, s1, s0, gt
	ldr	s0, [x23, x26]
	fadd	s1, s9, s0
	fmov	s0, s8
	bl	_max
	str	s0, [x21, x26]
	cmp	w22, #1
	b.ne	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	s0, [x19, x26]
	fsub	s1, s8, s0
	mov	w8, #39322
	movk	w8, #16777, lsl #16
	fmov	s0, w8
	fadd	s0, s1, s0
	fcvt	d0, s0
	mov	w8, #39322
	movk	w8, #49545, lsl #16
	fmov	s2, w8
	fcmp	s1, s2
	b.le	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, #5243
	movk	x8, #18350, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #49012, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fmadd	d0, d0, d10, d11
	fcvt	s0, d0
	fcmp	s0, #0.0
	b.pl	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #46871
	movk	w8, #14545, lsl #16
	fmov	s0, w8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, #12897
	movk	x8, #12373, lsl #16
	movk	x8, #43306, lsl #32
	movk	x8, #48947, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fmadd	d0, d0, d10, d11
	fcvt	s0, d0
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	s1, [x20, x26]
	fmul	s0, s0, s1
	str	s0, [x20, x26]
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x28, x26
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25, #16]
	add	x26, x26, #4
	b	LBB0_2
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #128            ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
