	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function epic_predict_from_NW_NE
_epic_predict_from_NW_NE:               ## @epic_predict_from_NW_NE
	.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
	movl	%r8d, %r12d
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	24(%rbp), %rdx
	movq	16(%rbp), %rcx
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.2:
	movslq	%r13d, %rax
	movl	-4(%rcx,%rax,4), %r15d
	cmpl	-4(%r9,%rax,4), %r15d
	je	LBB0_6
## %bb.3:
	cmpl	(%rcx,%rax,4), %r15d
	je	LBB0_6
## %bb.4:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_is_pixel_on_stack
	movq	16(%rbp), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	24(%rbp), %rdx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movzbl	%r15b, %esi
	shlq	$2, %rsi
	addq	8(%rdi), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	24(%rbp), %rdx
	movl	%r15d, %ecx
	callq	_epic_predict_pixel2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	24(%rbp), %rdx
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	movq	16(%rbp), %rcx
	jne	LBB0_12
LBB0_6:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.7:
	addl	%r13d, %ebx
	cmpl	%r12d, %ebx
	jge	LBB0_12
## %bb.8:
	movslq	%ebx, %rax
	movl	(%rcx,%rax,4), %r15d
	cmpl	-4(%rcx,%rax,4), %r15d
	je	LBB0_11
## %bb.9:
	movq	%rdi, %rbx
	movl	%r15d, %esi
	movq	%rdx, %r14
	callq	_is_pixel_on_stack
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdx
	movzbl	%r15b, %esi
	shlq	$2, %rsi
	addq	(%rbx), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_epic_predict_pixel2
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_12
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_epic_predict_from_NW_NE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function epic_predict_from_NW_NE
_epic_predict_from_NW_NE:               ; @epic_predict_from_NW_NE
	.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	x19, x7
	mov	x21, x6
	mov	x22, x4
	mov	x23, x3
	mov	x25, x2
	mov	x24, x1
	mov	x20, x0
	cbz	w1, LBB0_5
; %bb.1:
	cbz	w25, LBB0_5
; %bb.2:
	sbfiz	x8, x24, #2, #32
	sub	x8, x8, #4
	ldr	w26, [x21, x8]
	ldr	w8, [x5, x8]
	cmp	w26, w8
	b.eq	LBB0_5
; %bb.3:
	sxtw	x8, w24
	ldr	w8, [x21, x8, lsl #2]
	cmp	w26, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x26
	bl	_is_pixel_on_stack
	cbz	w0, LBB0_12
LBB0_5:
	mov	w0, #0
	cbz	w25, LBB0_10
; %bb.6:
	sxtw	x8, w23
	add	x8, x8, w24, sxtw
	cmp	w8, w22
	b.ge	LBB0_10
; %bb.7:
	add	x8, x21, x8, lsl #2
	ldp	w8, w21, [x8, #-4]
	cmp	w21, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x21
	bl	_is_pixel_on_stack
	cbz	w0, LBB0_11
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	ret
LBB0_11:
	ldr	x8, [x20]
	add	x1, x8, w21, uxtb #2
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
	bl	_epic_predict_pixel2
	cbnz	x0, LBB0_13
	b	LBB0_9
LBB0_12:
	ldr	x8, [x20, #8]
	add	x1, x8, w26, uxtb #2
	mov	x0, x20
	mov	x2, x19
	mov	x3, x26
	bl	_epic_predict_pixel2
	cbz	x0, LBB0_5
LBB0_13:
	mov	w0, #1
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_epic_predict_from_NW_NE
.subsections_via_symbols
