	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_processing_window
_set_processing_window:                 ## @set_processing_window
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	32(%rbp), %r10
	movq	24(%rbp), %r8
	movq	16(%rbp), %r11
	movl	(%rdx), %r12d
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movl	4(%rdx), %ebx
	movq	16(%rsi), %rax
	movq	(%rax), %r15
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movq	_DIFF_MODE_RECTANGLE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_10
## %bb.2:
	leal	-1(%rbx), %r13d
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movq	8(%rdx), %rax
	movq	16(%rdx), %rdx
	movq	(%rdx), %r10
	movq	8(%rcx), %r8
	movq	16(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rdi
	movq	(%rdi), %rdi
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	8(%rsi), %rsi
	movl	(%rsi), %esi
	sarl	$2, %esi
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	movl	(%rax), %eax
	sarl	$2, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movslq	(%r8), %rcx
	movslq	(%rdx), %r8
	xorl	%r14d, %r14d
	cmpl	$2, %ebx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	movq	%r10, -104(%rbp)                ## 8-byte Spill
	movq	%r9, -160(%rbp)                 ## 8-byte Spill
	movq	%r15, -168(%rbp)                ## 8-byte Spill
	jl	LBB0_4
## %bb.3:
	leal	(,%r12,4), %edx
	movq	%r15, %rdi
	movq	%r10, %rsi
	movq	%rcx, %rbx
	callq	_memcmp
	movq	%rbx, %rcx
	movq	-104(%rbp), %r10                ## 8-byte Reload
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_12
LBB0_4:
	cmpl	%r14d, %r13d
	jle	LBB0_18
LBB0_5:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %r13
	movslq	-80(%rbp), %rsi                 ## 4-byte Folded Reload
	movslq	-76(%rbp), %rdi                 ## 4-byte Folded Reload
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rax
	imulq	%r13, %rax
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %r14
	leaq	(,%rcx,4), %rax
	negq	%rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%r8, %rax
	imulq	%r13, %rax
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %r12
	leaq	(,%r8,4), %rax
	negq	%rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %rax
	imulq	%r13, %rax
	leaq	(%r10,%rax,8), %rbx
	shlq	$3, %rdi
	negq	%rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rax
	movq	%r13, %r15
	imulq	%r13, %rax
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r13
	shlq	$3, %rsi
	negq	%rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	shll	$2, %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movq	%r15, %rax
	decq	%rax
	addq	-176(%rbp), %r14                ## 8-byte Folded Reload
	addq	-112(%rbp), %r12                ## 8-byte Folded Reload
	addq	-96(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%rax, %r15
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	jg	LBB0_6
## %bb.8:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %r13d
	jmp	LBB0_17
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_43
LBB0_11:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %r13
	jmp	LBB0_17
LBB0_12:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movslq	-80(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-76(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movl	%r13d, %esi
	leaq	(%r15,%rax,8), %r15
	shlq	$3, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r10,%rdx,8), %r12
	shlq	$3, %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	decq	%rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%r8,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,4), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_memcpy
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	shll	$2, %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_memcmp
	addq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	addq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	addq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-176(%rbp), %r13                ## 8-byte Folded Reload
	incq	%r14
	testl	%eax, %eax
	je	LBB0_13
## %bb.15:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-104(%rbp), %r10                ## 8-byte Reload
	cmpl	%r14d, %r13d
	jg	LBB0_5
	jmp	LBB0_18
LBB0_16:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	%r13d, %r14d
LBB0_17:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-104(%rbp), %r10                ## 8-byte Reload
LBB0_18:
	leal	-1(%r12), %r8d
	movl	%r13d, %r15d
	subl	%r14d, %r15d
	movslq	%r14d, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r12d
	movl	$0, %r12d
	jl	LBB0_25
## %bb.19:
	movslq	-80(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-76(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r8d
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rdx
	imulq	%rcx, %rdx
	leaq	(%r10,%rdx,8), %r10
	shlq	$3, %rcx
	movq	%rsi, %rdx
	imulq	%rax, %rdx
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rdx,8), %r11
	shlq	$3, %rax
	leal	1(%r15), %r9d
	xorl	%r12d, %r12d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%r12
	addq	$8, %r10
	addq	$8, %r11
	cmpq	%r8, %r12
	je	LBB0_44
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movl	%r9d, %ebx
	movq	%r11, %rdi
	movq	%r10, %rsi
	cmpl	%r13d, %r14d
	jg	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	addq	%rcx, %rsi
	addq	%rax, %rdi
	decl	%ebx
	jne	LBB0_22
	jmp	LBB0_20
LBB0_24:
	movq	-104(%rbp), %r10                ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
LBB0_25:
	cmpl	%r12d, %r8d
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_31
## %bb.26:
	movslq	-80(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-76(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	%r8d, %r8
	movslq	%r12d, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rdx
	imulq	%rcx, %rdx
	addq	%r8, %rdx
	leaq	(%r10,%rdx,8), %r10
	shlq	$3, %rcx
	movq	%rsi, %rdx
	imulq	%rax, %rdx
	addq	%r8, %rdx
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rdx,8), %r11
	shlq	$3, %rax
	leal	1(%r15), %r9d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=1
	decq	%r8
	addq	$-8, %r10
	addq	$-8, %r11
	cmpq	-48(%rbp), %r8                  ## 8-byte Folded Reload
	jle	LBB0_31
LBB0_28:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movl	%r9d, %ebx
	movq	%r11, %rdi
	movq	%r10, %rsi
	cmpl	%r13d, %r14d
	jg	LBB0_27
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	addq	%rcx, %rsi
	addq	%rax, %rdi
	decl	%ebx
	jne	LBB0_29
	jmp	LBB0_27
LBB0_31:
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%r8d, %eax
	subl	%r12d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	movq	%r12, %r13
	je	LBB0_35
## %bb.32:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpl	%eax, -72(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_35
## %bb.33:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rax
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	imulq	%rdi, %rax
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %r15
	leaq	(,%rdi,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rax
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	imulq	%rsi, %rax
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rbx
	leaq	(,%rsi,4), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r14d
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	addq	%r12, %rbx
	decl	%r14d
	jne	LBB0_34
LBB0_35:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	incl	%r12d
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %r15d
	decl	%r15d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	subl	%eax, %r15d
	jne	LBB0_37
## %bb.36:
	movq	-160(%rbp), %r9                 ## 8-byte Reload
	movq	32(%rbp), %r10
	movq	24(%rbp), %r8
	movq	16(%rbp), %r11
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_37:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
	cmpl	%r13d, %r14d
	jle	LBB0_39
## %bb.38:
	movq	-160(%rbp), %r9                 ## 8-byte Reload
	movq	32(%rbp), %r10
	movq	24(%rbp), %r8
	movq	16(%rbp), %r11
	jmp	LBB0_42
LBB0_39:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	cltq
	incl	%r13d
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rcx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	imulq	%rdi, %rcx
	addq	%rax, %rcx
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %r12
	addq	$4, %r12
	shlq	$2, %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	imulq	%rcx, %rsi
	addq	%rax, %rsi
	movq	-144(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rsi,4), %rbx
	addq	$4, %rbx
	shlq	$2, %rcx
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movq	%rcx, %r14
	callq	_memcpy
	movq	%r14, %rcx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	addq	-120(%rbp), %r12                ## 8-byte Folded Reload
	addq	%rcx, %rbx
	decl	%r13d
	cmpl	%r13d, %r14d
	jne	LBB0_40
## %bb.41:
	movq	-160(%rbp), %r9                 ## 8-byte Reload
	movq	32(%rbp), %r10
	movq	24(%rbp), %r8
	movq	16(%rbp), %r11
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_42:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_43:
	movl	%eax, (%r9)
	movl	%r14d, (%r11)
	movl	%r12d, (%r8)
	movl	%ebx, (%r10)
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movl	%r8d, %r12d
	movq	-104(%rbp), %r10                ## 8-byte Reload
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_MODE_RECTANGLE,4,2        ## @DIFF_MODE_RECTANGLE
	.no_dead_strip	_set_processing_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_processing_window
_set_processing_window:                 ; @set_processing_window
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	mov	x22, x7
	mov	x27, x6
	mov	x20, x4
	ldr	x9, [x29, #16]
	ldp	w24, w26, [x2]
	ldr	x8, [x1, #16]
	ldr	x4, [x8]
Lloh0:
	adrp	x8, _DIFF_MODE_RECTANGLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIFF_MODE_RECTANGLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x4, #0
	ccmp	w8, w0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	w20, #0
	mov	w25, #0
	b	LBB0_42
LBB0_2:
	mov	x19, x2
	stp	x9, x5, [sp, #40]               ; 16-byte Folded Spill
	sub	w21, w24, #1
	sub	w23, w26, #1
	ldp	x9, x8, [x2, #8]
	ldr	x28, [x8]
	ldp	x10, x8, [x3, #8]
	ldr	x8, [x8]
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	ldp	x11, x8, [x20, #8]
	ldr	x8, [x8]
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
	ldr	x8, [x1, #8]
	ldr	w8, [x8]
	asr	w0, w8, #2
	ldr	w8, [x9]
	asr	w1, w8, #2
	ldrsw	x8, [x10]
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	ldrsw	x8, [x11]
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
	cmp	w26, #2
	str	x22, [sp, #56]                  ; 8-byte Folded Spill
	stur	x2, [x29, #-88]                 ; 8-byte Folded Spill
	stp	x1, x0, [sp, #64]               ; 16-byte Folded Spill
	stur	x20, [x29, #-96]                ; 8-byte Folded Spill
	b.lt	LBB0_5
; %bb.3:
	lsl	w2, w24, #2
	mov	x0, x4
	mov	x1, x28
	mov	x25, x4
	bl	_memcmp
	cbz	w0, LBB0_6
; %bb.4:
	mov	w20, #0
	mov	x4, x25
	b	LBB0_10
LBB0_5:
	mov	w20, #0
	cmp	w23, w20
	b.gt	LBB0_11
	b	LBB0_18
LBB0_6:
	stur	w24, [x29, #-108]               ; 4-byte Folded Spill
	stp	x21, x27, [sp, #24]             ; 16-byte Folded Spill
	mov	x20, #0
	ldp	x9, x8, [sp, #64]               ; 16-byte Folded Reload
	sxtw	x8, w8
	sxtw	x9, w9
	lsl	x21, x8, #3
	stp	x28, x25, [sp, #8]              ; 16-byte Folded Spill
	add	x26, x25, x21
	mov	x8, x23
	lsl	x23, x9, #3
	add	x27, x28, x23
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	sub	x22, x8, #1
	ldp	x19, x8, [sp, #88]              ; 16-byte Folded Reload
	lsl	x24, x8, #2
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	lsl	x25, x8, #2
	ldr	x28, [sp, #104]                 ; 8-byte Folded Reload
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	w2, [x8]
	mov	x0, x28
	mov	x1, x19
	bl	_memcpy
	cmp	x22, x20
	b.eq	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	x0, x26
	mov	x1, x27
	bl	_memcmp
	add	x26, x26, x21
	add	x27, x27, x23
	add	x28, x28, x24
	add	x19, x19, x25
	add	x20, x20, #1
	cbz	w0, LBB0_7
; %bb.9:
	ldp	x21, x27, [sp, #24]             ; 16-byte Folded Reload
	ldur	x23, [x29, #-104]               ; 8-byte Folded Reload
	ldur	w24, [x29, #-108]               ; 4-byte Folded Reload
	ldp	x28, x4, [sp, #8]               ; 16-byte Folded Reload
LBB0_10:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x1, [sp, #64]                   ; 8-byte Folded Reload
	cmp	w23, w20
	b.le	LBB0_18
LBB0_11:
	stur	w24, [x29, #-108]               ; 4-byte Folded Spill
	stp	x21, x27, [sp, #24]             ; 16-byte Folded Spill
	mov	x8, #0
	mov	x9, x23
	sxtw	x21, w9
	ldp	x11, x10, [sp, #80]             ; 16-byte Folded Reload
	mul	x9, x11, x21
	add	x26, x10, x9, lsl #2
	mov	x9, x20
	sxtw	x9, w9
	stur	x9, [x29, #-104]                ; 8-byte Folded Spill
	neg	x24, x11, lsl #2
	ldp	x11, x10, [sp, #96]             ; 16-byte Folded Reload
	mul	x9, x11, x21
	add	x27, x10, x9, lsl #2
	neg	x22, x11, lsl #2
	smull	x9, w1, w23
	stp	x28, x4, [sp, #8]               ; 16-byte Folded Spill
	add	x28, x28, x9, lsl #3
	sub	x25, x8, w1, sxtw #3
	smull	x9, w0, w23
	add	x19, x4, x9, lsl #3
	sub	x23, x8, w0, sxtw #3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	x0, x19
	mov	x1, x28
	bl	_memcmp
	cbnz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	w2, [x8]
	mov	x0, x27
	mov	x1, x26
	bl	_memcpy
	sub	x21, x21, #1
	add	x26, x26, x24
	add	x27, x27, x22
	add	x28, x28, x25
	add	x19, x19, x23
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	cmp	x21, x8
	b.gt	LBB0_12
; %bb.14:
	mov	x23, x20
	b	LBB0_17
LBB0_15:
	mov	x23, x21
	b	LBB0_17
LBB0_16:
	ldur	x23, [x29, #-104]               ; 8-byte Folded Reload
	mov	x20, x23
LBB0_17:
	ldp	x21, x27, [sp, #24]             ; 16-byte Folded Reload
	ldur	w24, [x29, #-108]               ; 4-byte Folded Reload
	ldp	x28, x4, [sp, #8]               ; 16-byte Folded Reload
	ldp	x1, x0, [sp, #64]               ; 16-byte Folded Reload
LBB0_18:
	sub	w8, w23, w20
	add	w26, w8, #1
	cmp	w24, #2
	stur	x23, [x29, #-104]               ; 8-byte Folded Spill
	b.lt	LBB0_24
; %bb.19:
	mov	x25, #0
	smull	x9, w20, w1
	add	x9, x28, x9, lsl #3
	mov	x10, x1
	sbfiz	x10, x10, #3, #32
	smull	x11, w20, w0
	add	x11, x4, x11, lsl #3
	mov	x12, x0
	sbfiz	x12, x12, #3, #32
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x25, x25, #1
	add	x9, x9, #8
	add	x11, x11, #8
	cmp	x25, x21
	b.eq	LBB0_43
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	mov	x13, x26
	mov	x14, x11
	mov	x15, x9
	cmp	w20, w23
	b.gt	LBB0_20
LBB0_22:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x14]
	ldr	x17, [x15]
	cmp	x16, x17
	b.ne	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	add	x15, x15, x10
	add	x14, x14, x12
	subs	w13, w13, #1
	b.ne	LBB0_22
	b	LBB0_20
LBB0_24:
	mov	w25, #0
LBB0_25:
	cmp	w21, w25
	b.le	LBB0_32
LBB0_26:
	mov	x9, x21
	sxtw	x9, w9
	mov	x10, x25
	sxtw	x10, w10
	smaddl	x11, w20, w1, x9
	add	x11, x28, x11, lsl #3
	mov	x12, x1
	sbfiz	x12, x12, #3, #32
	smaddl	x13, w20, w0, x9
	add	x13, x4, x13, lsl #3
	mov	x14, x0
	sbfiz	x14, x14, #3, #32
	add	w15, w8, #1
	ldur	x3, [x29, #-104]                ; 8-byte Folded Reload
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	sub	x9, x9, #1
	sub	x11, x11, #8
	sub	x13, x13, #8
	cmp	x9, x10
	b.le	LBB0_31
LBB0_28:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
	mov	x16, x15
	mov	x17, x13
	mov	x0, x11
	cmp	w20, w3
	b.gt	LBB0_27
LBB0_29:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x17]
	ldr	x2, [x0]
	cmp	x1, x2
	b.ne	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	add	x0, x0, x12
	add	x17, x17, x14
	subs	w16, w16, #1
	b.ne	LBB0_29
	b	LBB0_27
LBB0_31:
	mov	x21, x9
LBB0_32:
	mov	x28, x21
	sub	w9, w21, w25
	add	w9, w9, #1
	stur	w9, [x29, #-108]                ; 4-byte Folded Spill
	cbz	w25, LBB0_36
; %bb.33:
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	cmp	w20, w9
	b.gt	LBB0_36
; %bb.34:
	mov	x9, x20
	sxtw	x9, w9
	ldp	x12, x11, [sp, #80]             ; 16-byte Folded Reload
	mul	x10, x9, x12
	add	x19, x11, x10, lsl #2
	lsl	x21, x12, #2
	ldp	x11, x10, [sp, #96]             ; 16-byte Folded Reload
	mul	x9, x9, x11
	add	x23, x10, x9, lsl #2
	lsl	x22, x11, #2
	add	w24, w8, #1
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x19
	mov	x2, x25
	bl	_memcpy
	add	x19, x19, x21
	add	x23, x23, x22
	subs	w24, w24, #1
	b.ne	LBB0_35
LBB0_36:
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	ldr	w8, [x8]
	sub	w8, w8, #1
	subs	w19, w8, w28
	b.eq	LBB0_41
; %bb.37:
	ldur	x10, [x29, #-104]               ; 8-byte Folded Reload
	cmp	w20, w10
	b.gt	LBB0_41
; %bb.38:
	str	x27, [sp, #32]                  ; 8-byte Folded Spill
	mov	x8, x28
	sxtw	x8, w8
	mov	x9, x20
	sxtw	x9, w9
	add	w21, w10, #1
	ldp	x12, x11, [sp, #80]             ; 16-byte Folded Reload
	madd	x10, x9, x12, x8
	add	x10, x11, x10, lsl #2
	add	x22, x10, #4
	lsl	x24, x12, #2
	ldr	x10, [sp, #96]                  ; 8-byte Folded Reload
	madd	x8, x9, x10, x8
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	add	x23, x8, #4
	lsl	x27, x10, #2
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	bl	_memcpy
	add	x22, x22, x24
	add	x23, x23, x27
	sub	w21, w21, #1
	cmp	w20, w21
	b.ne	LBB0_39
; %bb.40:
	ldr	x27, [sp, #32]                  ; 8-byte Folded Reload
LBB0_41:
	ldp	x9, x5, [sp, #40]               ; 16-byte Folded Reload
	ldr	x22, [sp, #56]                  ; 8-byte Folded Reload
	ldur	w24, [x29, #-108]               ; 4-byte Folded Reload
LBB0_42:
	str	w25, [x5]
	str	w20, [x27]
	str	w24, [x22]
	str	w26, [x9]
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_43:
	mov	x25, x21
	cmp	w21, w25
	b.gt	LBB0_26
	b	LBB0_32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_MODE_RECTANGLE,4,2        ; @DIFF_MODE_RECTANGLE
	.no_dead_strip	_set_processing_window
.subsections_via_symbols
