	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_interpolation
_do_interpolation:                      ## @do_interpolation
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rsi, %rdi
	movl	%ecx, %esi
	callq	_factorization
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	leaq	8(%r13), %rsi
	leal	(,%r14,8), %edx
	movq	%r13, %rdi
	callq	_av_fast_malloc
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.6:
	movl	%r14d, %r9d
	leaq	8(%r15), %rcx
	leaq	(,%r9,8), %r8
	xorl	%edx, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movsd	%xmm0, (%rax,%rdx,8)
	incq	%rdx
	addq	%r8, %rcx
	cmpq	%r9, %rdx
	je	LBB0_15
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movsd	(%r12,%rdx,8), %xmm0            ## xmm0 = mem[0],zero
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$1, %rdx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, %rsi
	andq	$-2, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	-8(%rcx,%rdi,8), %xmm1          ## xmm1 = mem[0],zero
	movsd	(%rcx,%rdi,8), %xmm2            ## xmm2 = mem[0],zero
	mulsd	(%rax,%rdi,8), %xmm1
	mulsd	8(%rax,%rdi,8), %xmm2
	subsd	%xmm1, %xmm0
	subsd	%xmm2, %xmm0
	addq	$2, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %dl
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, %rsi
	imulq	%r9, %rsi
	addq	%rdi, %rsi
	movsd	(%r15,%rsi,8), %xmm1            ## xmm1 = mem[0],zero
	mulsd	(%rax,%rdi,8), %xmm1
	subsd	%xmm1, %xmm0
	jmp	LBB0_14
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_15:
	leaq	-1(%r9), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r9,%r9), %r12
	xorl	%r11d, %r11d
	movq	%r15, %r10
	movq	%r9, %rcx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=1
	incl	%r11d
	addq	$-8, %r10
	cmpq	$2, %r13
	jl	LBB0_3
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	%rcx, %r13
	decq	%rcx
	movsd	-8(%rax,%r13,8), %xmm0          ## xmm0 = mem[0],zero
	movl	%ecx, %edx
	imull	%r14d, %edx
	movslq	%edx, %rdx
	addq	%r13, %rdx
	decq	%rdx
	divsd	(%r15,%rdx,8), %xmm0
	movsd	%xmm0, -8(%rbx,%r13,8)
	cmpq	%r9, %r13
	jge	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, %rdx
	testb	$1, %r11b
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	imulq	%r9, %rdx
	addq	%rcx, %rdx
	movsd	(%r15,%rdx,8), %xmm1            ## xmm1 = mem[0],zero
	mulsd	(%rbx,%r13,8), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, (%rbx,%rcx,8)
	leaq	1(%r13), %rdx
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$1, %r11d
	je	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r9, %rsi
	imulq	%rdx, %rsi
	leaq	(%r10,%rsi,8), %rsi
	leaq	1(%rdx), %rdi
	imulq	%r9, %rdi
	leaq	(%r10,%rdi,8), %rdi
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rsi,%r8,8), %xmm1             ## xmm1 = mem[0],zero
	mulsd	(%rbx,%rdx,8), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, (%rbx,%rcx,8)
	movsd	(%rdi,%r8,8), %xmm1             ## xmm1 = mem[0],zero
	mulsd	8(%rbx,%rdx,8), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, (%rbx,%rcx,8)
	addq	$2, %rdx
	addq	%r12, %r8
	cmpl	%edx, %r9d
	jne	LBB0_22
	jmp	LBB0_17
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_do_interpolation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_interpolation
_do_interpolation:                      ; @do_interpolation
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	mov	x0, x1
	mov	x1, x3
	bl	_factorization
	tbnz	w0, #31, LBB0_19
; %bb.1:
	add	x1, x23, #8
	lsl	w2, w20, #3
	mov	x0, x23
	bl	_av_fast_malloc
	ldr	x8, [x23]
	cbz	x8, LBB0_12
; %bb.2:
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.3:
	mov	x11, #0
	mov	w9, w20
	add	x12, x8, #32
	add	x13, x21, #32
	lsl	x10, x9, #3
	mov	x14, x21
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	d0, [x8, x11, lsl #3]
	add	x11, x11, #1
	add	x13, x13, x10
	add	x14, x14, x10
	cmp	x11, x9
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	d0, [x22, x11, lsl #3]
	cbz	x11, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x11, #8
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x15, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	and	x16, x11, #0xfffffffffffffff8
	and	x15, x11, #0x7ffffffffffffff8
	mov	x17, x13
	mov	x0, x12
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q1, q2, [x17, #-32]
	ldp	q3, q4, [x17], #64
	ldp	q5, q6, [x0, #-32]
	ldp	q7, q16, [x0], #64
	fneg.2d	v1, v1
	fneg.2d	v2, v2
	fneg.2d	v3, v3
	fneg.2d	v4, v4
	fmul.2d	v1, v5, v1
	mov	d5, v1[1]
	fmul.2d	v2, v6, v2
	mov	d6, v2[1]
	fmul.2d	v3, v7, v3
	mov	d7, v3[1]
	fmul.2d	v4, v16, v4
	mov	d16, v4[1]
	fadd	d0, d0, d1
	fadd	d0, d0, d5
	fadd	d0, d0, d2
	fadd	d0, d0, d6
	fadd	d0, d0, d3
	fadd	d0, d0, d7
	fadd	d0, d0, d4
	fadd	d0, d0, d16
	subs	x16, x16, #8
	b.ne	LBB0_9
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	x16, x15, #3
	ldr	d1, [x14, x16]
	ldr	d2, [x8, x16]
	fmsub	d0, d1, d2, d0
	add	x15, x15, #1
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x11, x15
	b.ne	LBB0_10
	b	LBB0_4
LBB0_12:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_13:
	mov	x11, #0
	add	x12, x19, x10
	madd	x13, x9, x9, x9
	add	x13, x21, x13, lsl #3
	sub	x13, x13, #8
	mov	x14, #-8
	sub	x14, x14, x10
	mov	x15, x9
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	sub	x11, x11, #1
	add	x13, x13, x14
	cmp	x16, #2
	b.lt	LBB0_18
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	mov	x16, x15
	sub	x15, x15, #1
	lsl	x17, x15, #3
	ldr	d0, [x8, x17]
	mul	w0, w15, w20
	add	x0, x15, w0, sxtw
	ldr	d1, [x21, x0, lsl #3]
	fdiv	d0, d0, d1
	str	d0, [x19, x17]
	cmp	x16, x9
	b.ge	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x17, x13
	mov	x0, x11
LBB0_17:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d1, [x12, x0, lsl #3]
	ldr	d2, [x17]
	fmsub	d0, d2, d1, d0
	str	d0, [x19, x15, lsl #3]
	add	x17, x17, x10
	add	x0, x0, #1
	cbnz	w0, LBB0_17
	b	LBB0_14
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_do_interpolation
.subsections_via_symbols
