	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cubic_interpolate_line
_cubic_interpolate_line:                ## @cubic_interpolate_line
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_17
## %bb.1:
	movl	%r9d, %ebx
	leal	-1(%rbx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movslq	%r8d, %r8
	leal	(%r8,%r8,2), %edi
	leaq	(%rsi,%r8,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r8d, %eax
	negl	%eax
	movslq	%eax, %r8
	movslq	%edi, %r9
	negl	%edi
	movslq	%edi, %r10
	leal	-4(%rcx), %r14d
	leal	-3(%rcx), %eax
	cmpl	%ebx, %eax
	sete	%r11b
	leal	-2(%rcx), %edi
	cmpl	%ebx, %edi
	sete	%al
	orb	%r11b, %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	decl	%ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	leaq	(%rsi,%r8,4), %r15
	leaq	(%rsi,%r9,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%r10,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %ecx
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_cubic_interpolate_pixel
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r13,4)
	incq	%r13
	cmpl	%r13d, %r12d
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$3, %ebx
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edi
	movl	(%r15,%r13,4), %esi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, -60(%rbp)                   ## 4-byte Folded Reload
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15,%r13,4), %edi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movl	$0, %esi
	testl	%ebx, %ebx
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edi
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r14d
	jge	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	movl	$0, %ecx
	cmpl	%ebx, -72(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15,%r13,4), %edx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %ecx
	jmp	LBB0_16
LBB0_17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cubic_interpolate_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cubic_interpolate_line
_cubic_interpolate_line:                ; @cubic_interpolate_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
                                        ; kill: def $w4 killed $w4 def $x4
	cmp	w2, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x19, x5
	mov	x20, x2
	mov	x21, x0
	sub	w22, w5, #1
	sub	w23, w3, #4
	sub	w8, w3, #3
	sub	w9, w3, #2
	cmp	w8, w5
	ccmp	w9, w5, #4, ne
	cset	w24, eq
	sub	w8, w3, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	sbfiz	x8, x4, #2, #32
	sub	x26, x1, x8
	add	x27, x1, x8
	mov	w8, #12
	smaddl	x28, w4, w8, x1
	mov	w8, #-12
	smaddl	x25, w4, w8, x1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x27]
	ldr	w3, [x28]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_cubic_interpolate_pixel
	str	w0, [x21], #4
	add	x26, x26, #4
	add	x27, x27, #4
	add	x28, x28, #4
	add	x25, x25, #4
	subs	w20, w20, #1
	b.eq	LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, #3
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	ldr	w1, [x26]
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #1
	b.hi	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x26]
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w19, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	mov	w1, #0
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, w19
	b.ge	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	w24, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x27]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w19
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x26]
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x2
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w2, #0
	mov	w3, #0
	b	LBB0_3
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cubic_interpolate_line
.subsections_via_symbols
