	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function left_predict
_left_predict:                          ## @left_predict
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r12d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_8
## %bb.1:
	leaq	-1(%r12), %rax
	movl	%r12d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rax
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	%r12d, %ecx
	andl	$-4, %ecx
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rax
	subq	%rbx, %rax
	movq	%rax, (%rdx,%rdi,8)
	movq	8(%rsi,%rdi,8), %rax
	subq	(%rsi,%rdi,8), %rax
	movq	%rax, 8(%rdx,%rdi,8)
	movq	16(%rsi,%rdi,8), %rax
	subq	8(%rsi,%rdi,8), %rax
	movq	%rax, 16(%rdx,%rdi,8)
	movq	24(%rsi,%rdi,8), %rax
	subq	16(%rsi,%rdi,8), %rax
	movq	%rax, 24(%rdx,%rdi,8)
	movq	24(%rsi,%rdi,8), %rbx
	addq	$4, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rdx,%rdi,8), %r10
	leaq	(%rsi,%rdi,8), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax,8), %rcx
	subq	%rbx, %rcx
	movq	%rcx, (%r10,%rax,8)
	movq	(%rdi,%rax,8), %rbx
	incq	%rax
	cmpq	%rax, %r8
	jne	LBB0_7
LBB0_8:
	cmpl	$2, %r9d
	jl	LBB0_20
## %bb.9:
	movslq	-44(%rbp), %rdi                 ## 4-byte Folded Reload
	leaq	-1(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, %ebx
	andl	$3, %ebx
	andl	$-4, %r12d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rsi,%rax,8), %rcx
	leaq	(,%rax,8), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rdi,8), %r15
	addq	$24, %r15
	leaq	(%rdx,%rdi,8), %r13
	shlq	$3, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rbx,8), %r8
	movl	$1, %r14d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rsi,%rax,8), %rsi
	incl	%r14d
	addq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r15
	addq	%rax, %r13
	cmpl	%r9d, %r14d
	je	LBB0_20
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$3, -72(%rbp)                   ## 8-byte Folded Reload
	jae	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r10d, %r10d
	movq	%rsi, %rbx
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_17
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r9d, %edx
	movl	$8, %r11d
	movl	$24, %r9d
	xorl	%r10d, %r10d
	movq	%rsi, %rbx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%r10,8), %rax
	subq	(%rbx), %rax
	movq	%rax, -24(%r15,%r10,8)
	movq	8(%rcx,%r10,8), %rax
	subq	(%rcx,%r10,8), %rax
	movq	%rax, -16(%r15,%r10,8)
	movq	16(%rcx,%r10,8), %rax
	subq	8(%rcx,%r10,8), %rax
	movq	%rax, -8(%r15,%r10,8)
	leaq	(%rcx,%r9), %rbx
	movq	24(%rcx,%r10,8), %rax
	subq	16(%rcx,%r10,8), %rax
	movq	%rax, (%r15,%r10,8)
	addq	$4, %r10
	addq	$-32, %r11
	addq	$32, %r9
	cmpq	%r10, %r12
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rcx, %rbx
	subq	%r11, %rbx
	movl	%edx, %r9d
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	(,%r10,8), %r11
	addq	%r13, %r11
	leaq	(%rcx,%r10,8), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx), %rdi
	subq	(%rbx), %rdi
	leaq	(%rax,%rdx), %rbx
	movq	%rdi, (%r11,%rdx)
	addq	$8, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_18
	jmp	LBB0_19
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_left_predict
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function left_predict
_left_predict:                          ; @left_predict
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w4 killed $w4 def $x4
	mov	w8, w4
	cmp	w4, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x10, #0
	mov	x9, x8
	mov	x11, x1
	mov	x12, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	sub	x10, x13, x10
	str	x10, [x12], #8
	ldr	x10, [x11], #8
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_3:
	cmp	w5, #1
	b.le	LBB0_9
; %bb.4:
	sxtw	x9, w4
	lsl	x9, x9, #3
	lsl	x10, x3, #3
	add	x11, x1, x10
	mov	w12, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x1, x1, x3, lsl #3
	add	w12, w12, #1
	add	x2, x2, x9
	add	x11, x11, x10
	cmp	w12, w5
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w4, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x13, x8
	mov	x14, x11
	mov	x15, x9
	mov	x16, x1
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x16]
	mov	x17, x14
	ldr	x0, [x14], #8
	sub	x16, x0, x16
	str	x16, [x2, x15]
	add	x15, x15, #8
	mov	x16, x17
	subs	x13, x13, #1
	b.ne	LBB0_8
	b	LBB0_5
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_left_predict
.subsections_via_symbols
