	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sub_left_prediction
_sub_left_prediction:                   ## @sub_left_prediction
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r15
	leaq	(%rdx,%r15,4), %r12
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r15,4), %rbx
	subl	%r15d, %r14d
	movl	$32, %edi
	subl	%r15d, %edi
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %esi
	callq	_FFMIN
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	leal	-1(%rax), %r9d
	xorl	%r10d, %r10d
	cmpl	$7, %r9d
	jae	LBB0_4
LBB0_3:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_13:
	movl	%eax, %esi
	subl	%r10d, %esi
	movl	%r10d, %r8d
	notl	%r8d
	addl	%eax, %r8d
	andl	$3, %esi
	je	LBB0_17
## %bb.14:
	negl	%esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	addq	$4, %r12
	subl	(%r13), %edi
	addq	$4, %r13
	movl	%edi, (%rbx)
	addq	$4, %rbx
	decl	%edx
	cmpl	%edx, %esi
	jne	LBB0_15
## %bb.16:
	subl	%edx, %r10d
LBB0_17:
	cmpl	$3, %r8d
	jb	LBB0_21
## %bb.18:
	movl	%eax, %r8d
	subl	%r10d, %r8d
	xorl	%esi, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rsi,4), %edi
	subl	(%r13,%rsi,4), %edi
	movl	%edi, (%rbx,%rsi,4)
	movl	4(%r12,%rsi,4), %edi
	subl	4(%r13,%rsi,4), %edi
	movl	%edi, 4(%rbx,%rsi,4)
	movl	8(%r12,%rsi,4), %edi
	subl	8(%r13,%rsi,4), %edi
	movl	%edi, 8(%rbx,%rsi,4)
	movl	12(%r12,%rsi,4), %edi
	subl	12(%r13,%rsi,4), %edi
	movl	%edi, 12(%rbx,%rsi,4)
	addq	$-16, %rdx
	addq	$4, %rsi
	cmpl	%esi, %r8d
	jne	LBB0_19
## %bb.20:
	subq	%rdx, %rbx
	subq	%rdx, %r13
	subq	%rdx, %r12
	jmp	LBB0_21
LBB0_1:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_21:
	subl	%eax, %ecx
	movq	(%r15), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%r15,4), %rcx
	movq	%rcx, %rdx
	subq	%r13, %rdx
	cmpq	$32, %rdx
	jb	LBB0_3
## %bb.5:
	leaq	(,%r15,4), %rdx
	addq	%r13, %rdx
	subq	%rdx, %rcx
	cmpq	$32, %rcx
	jb	LBB0_3
## %bb.6:
	incq	%r9
	movq	%r9, %r10
	andq	$-8, %r10
	leaq	-8(%r10), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.8:
	movq	%r8, %rsi
	andq	$-2, %rsi
	leaq	(%rdi,%r15,4), %r11
	addq	$48, %r11
	shlq	$2, %r15
	leaq	48(%r13), %r14
	leaq	(%r15,%r13), %rdx
	addq	$48, %rdx
	xorl	%edi, %edi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-48(%rdx,%rdi,4), %xmm0
	movdqu	-32(%rdx,%rdi,4), %xmm1
	movdqu	-48(%r14,%rdi,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	-32(%r14,%rdi,4), %xmm2
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, -48(%r11,%rdi,4)
	movdqu	%xmm1, -32(%r11,%rdi,4)
	movdqu	-16(%rdx,%rdi,4), %xmm0
	movdqu	(%rdx,%rdi,4), %xmm1
	movdqu	-16(%r14,%rdi,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	(%r14,%rdi,4), %xmm2
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, -16(%r11,%rdi,4)
	movdqu	%xmm1, (%r11,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_9
## %bb.10:
	testb	$1, %r8b
	je	LBB0_12
LBB0_11:
	movdqu	(%r12,%rdi,4), %xmm0
	movdqu	16(%r12,%rdi,4), %xmm1
	movdqu	(%r13,%rdi,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	16(%r13,%rdi,4), %xmm2
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, (%rbx,%rdi,4)
	movdqu	%xmm1, 16(%rbx,%rdi,4)
LBB0_12:
	leaq	(%rbx,%r10,4), %rbx
	leaq	(%r13,%r10,4), %r13
	leaq	(%r12,%r10,4), %r12
	cmpq	%r10, %r9
	jne	LBB0_13
	jmp	LBB0_21
LBB0_7:
	xorl	%edi, %edi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testb	$1, %r8b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sub_left_prediction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sub_left_prediction
_sub_left_prediction:                   ; @sub_left_prediction
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x4
	mov	x25, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	sbfiz	x21, x25, #2, #32
	add	x20, x2, x21
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_memcpy
	add	x21, x24, x21
	sub	w22, w22, w25
	mov	w8, #32
	sub	w0, w8, w25
	mov	x1, x22
	bl	_FFMIN
	subs	w10, w0, #1
	b.lt	LBB0_6
; %bb.1:
	cmp	w10, #15
	b.hs	LBB0_8
; %bb.2:
	mov	w8, #0
LBB0_3:
	mov	x2, x23
LBB0_4:
	sub	w8, w0, w8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20], #4
	ldr	w10, [x2], #4
	sub	w9, w9, w10
	str	w9, [x21], #4
	subs	w8, w8, #1
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	x2, x23
LBB0_7:
	sub	w3, w22, w0
	ldr	x4, [x19]
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	br	x4
LBB0_8:
	mov	w8, #0
	sxtw	x11, w25
	lsl	x9, x11, #2
	add	x12, x9, x24
	sub	x13, x12, x23
	cmp	x13, #64
	b.lo	LBB0_3
; %bb.9:
	add	x13, x9, x23
	sub	x12, x12, x13
	cmp	x12, #64
	b.lo	LBB0_3
; %bb.10:
	add	x10, x10, #1
	and	x8, x10, #0x1fffffff0
	lsl	x12, x8, #2
	add	x21, x21, x12
	add	x2, x23, x12
	add	x20, x20, x12
	add	x11, x24, x11, lsl #2
	add	x11, x11, #32
	add	x12, x23, #32
	mov	x13, x8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x12, x9
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14]
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12], #64
	sub.4s	v0, v0, v4
	sub.4s	v1, v1, v5
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v7
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_11
; %bb.12:
	cmp	x10, x8
	b.eq	LBB0_7
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sub_left_prediction
.subsections_via_symbols
