	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subimage_with_fill_template
_subimage_with_fill_template:           ## @subimage_with_fill_template
	.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
	movl	%r9d, %r13d
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	24(%rbp), %esi
	subl	%r12d, %r8d
	movl	%r8d, %edi
	callq	_FFMIN
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	cmpl	$0, 48(%rbp)
	je	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	imull	%r14d, %eax
	addl	%r12d, %eax
	leaq	(%r15,%rax,4), %r15
	shrl	%r13d
	subl	%r14d, %r13d
	movl	%r13d, %edi
	movl	32(%rbp), %esi
	callq	_FFMIN
	cmpl	$0, 56(%rbp)
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %ecx
	shrl	%ecx
	leaq	(%r15,%rcx,4), %r15
LBB0_4:
	movl	32(%rbp), %ebx
	jmp	LBB0_5
LBB0_1:
	shrl	%ebx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	imull	%r14d, %eax
	addl	%r12d, %eax
	leaq	(%r15,%rax,4), %r15
	subl	%r14d, %r13d
	movl	%r13d, %edi
	movl	32(%rbp), %ebx
	movl	%ebx, %esi
	callq	_FFMIN
LBB0_5:
	movl	-56(%rbp), %r10d                ## 4-byte Reload
	movq	16(%rbp), %r12
	movabsq	$4611686018427387900, %r9       ## imm = 0x3FFFFFFFFFFFFFFC
	testl	%eax, %eax
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_6
## %bb.7:
	movslq	-48(%rbp), %rsi                 ## 4-byte Folded Reload
	movl	24(%rbp), %r8d
	xorl	%r13d, %r13d
	testl	%r10d, %r10d
	movl	$0, %edx
	cmovgl	%r10d, %edx
	movl	%r10d, %r14d
	movq	%r8, %rdi
	subq	%rdx, %rdi
	shlq	$2, %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edx
	andl	$-8, %edx
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	addq	$-8, %rdx
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	shrq	$3, %rdx
	incq	%rdx
	leaq	-8(%rdi), %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	shrq	$3, %rbx
	incq	%rbx
	leaq	2(%r9), %rcx
	movq	%rdx, %rsi
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	andq	%rdx, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	%r14d, %ecx
	andl	$3, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	andq	$-8, %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%ebx, %ecx
	andl	$3, %ecx
	andq	%r9, %rbx
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	shlq	$5, %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %r11
	movl	40(%rbp), %r15d
	leaq	(,%r8,4), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	112(%r12), %rsi
	movq	%r12, %r9
	movq	%r11, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	-48(%rbp), %r11                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %r9
	incq	%r13
	addq	%rcx, %rsi
	cmpl	%eax, %r13d
	movl	-56(%rbp), %r10d                ## 4-byte Reload
	je	LBB0_43
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_41 Depth 2
	movq	%rsi, %r12
	movl	$0, %edx
	testl	%r10d, %r10d
	jle	LBB0_30
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$8, %r10d
	jb	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	imulq	%r13, %rdx
	addq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	imulq	%r13, %rbx
	addq	16(%rbp), %rbx
	subq	%rdx, %rbx
	movl	$0, %edi
	cmpq	$32, %rbx
	jb	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, -160(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	xorl	%edi, %edi
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	movdqu	%xmm0, 32(%r9,%rdi,4)
	movdqu	%xmm1, 48(%r9,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rbx
	je	LBB0_20
LBB0_15:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%r11,%rdi,4), %xmm0
	movdqu	16(%r11,%rdi,4), %xmm1
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	pslld	$6, %xmm0
	pslld	$6, %xmm1
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	movdqu	%xmm0, (%r9,%rdi,4)
	movdqu	%xmm1, 16(%r9,%rdi,4)
	movdqu	32(%r11,%rdi,4), %xmm0
	movdqu	48(%r11,%rdi,4), %xmm1
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	pslld	$6, %xmm0
	pslld	$6, %xmm1
	jmp	LBB0_19
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_25
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%edi, %edi
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$1, -152(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movdqu	(%r11,%rdi,4), %xmm0
	movdqu	16(%r11,%rdi,4), %xmm1
	testl	%r15d, %r15d
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	pslld	$6, %xmm0
	pslld	$6, %xmm1
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	movdqu	%xmm0, (%r9,%rdi,4)
	movdqu	%xmm1, 16(%r9,%rdi,4)
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rdi
	movl	%r10d, %edx
	cmpq	%r14, %rcx
	je	LBB0_30
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rdi, %rbx
	notq	%rbx
	addq	%r14, %rbx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rdi,4), %ecx
	movl	%ecx, %esi
	shll	$6, %esi
	testl	%r15d, %r15d
	cmovel	%ecx, %esi
	movl	%esi, (%r9,%rdi,4)
	incq	%rdi
	decq	%rdx
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r10d, %edx
	cmpq	$3, %rbx
	jb	LBB0_30
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rdi,4), %ecx
	movl	%ecx, %edx
	shll	$6, %edx
	testl	%r15d, %r15d
	cmovel	%ecx, %edx
	movl	%edx, (%r9,%rdi,4)
	movl	4(%r11,%rdi,4), %ecx
	movl	%ecx, %edx
	shll	$6, %edx
	testl	%r15d, %r15d
	cmovel	%ecx, %edx
	movl	%edx, 4(%r9,%rdi,4)
	movl	8(%r11,%rdi,4), %ecx
	movl	%ecx, %edx
	shll	$6, %edx
	testl	%r15d, %r15d
	cmovel	%ecx, %edx
	movl	%edx, 8(%r9,%rdi,4)
	movl	12(%r11,%rdi,4), %ecx
	movl	%ecx, %edx
	shll	$6, %edx
	testl	%r15d, %r15d
	cmovel	%ecx, %edx
	movl	%edx, 12(%r9,%rdi,4)
	addq	$4, %rdi
	cmpq	%rdi, %r14
	jne	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r10d, %edx
LBB0_30:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	%edx, %rcx
	movl	-4(%r9,%rcx,4), %esi
	movl	%esi, %r10d
	shll	$6, %r10d
	testl	%r15d, %r15d
	cmovel	%esi, %r10d
	cmpl	24(%rbp), %ecx
	movq	%r12, %rsi
	jae	LBB0_42
## %bb.31:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%edx, %edi
	cmpq	$8, -64(%rbp)                   ## 8-byte Folded Reload
	jb	LBB0_41
## %bb.32:                              ##   in Loop: Header=BB0_8 Depth=1
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	cmpq	$24, -144(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_36
LBB0_34:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	(%rsi,%rdi,4), %rdx
	movq	-112(%rbp), %r12                ## 8-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%rdx,%rbx,4)
	movdqu	%xmm0, -96(%rdx,%rbx,4)
	movdqu	%xmm0, -80(%rdx,%rbx,4)
	movdqu	%xmm0, -64(%rdx,%rbx,4)
	movdqu	%xmm0, -48(%rdx,%rbx,4)
	movdqu	%xmm0, -32(%rdx,%rbx,4)
	movdqu	%xmm0, -16(%rdx,%rbx,4)
	movdqu	%xmm0, (%rdx,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %r12
	jne	LBB0_35
LBB0_36:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, -136(%rbp)                  ## 8-byte Folded Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	%rdi, %rbx
	leaq	(%r9,%rbx,4), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%rdx,%rbx)
	movdqu	%xmm0, 16(%rdx,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %rcx
	jne	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	-104(%rbp), %rdi                ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_41:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r10d, (%r9,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_41
	jmp	LBB0_42
LBB0_43:
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	32(%rbp), %ebx
	movabsq	$4611686018427387900, %r9       ## imm = 0x3FFFFFFFFFFFFFFC
	cmpl	%ebx, %eax
	jb	LBB0_45
	jmp	LBB0_64
LBB0_6:
	movl	24(%rbp), %r8d
	xorl	%eax, %eax
	cmpl	%ebx, %eax
	jae	LBB0_64
LBB0_45:
	movl	%eax, %r15d
	leaq	(,%r8,4), %r12
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r10
	subq	%r12, %r10
	movl	%r8d, %eax
	andl	$-8, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$-8, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shrq	$3, %rax
	incq	%rax
	movl	%eax, %r13d
	andl	$3, %r13d
	andq	%r9, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r8d, %esi
	andl	$3, %esi
	movl	$28, %eax
	subq	%r8, %rax
	leaq	(%r14,%rax,4), %rdi
	movl	$4, %eax
	subq	%r8, %rax
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	shlq	$5, %r13
	movl	$3, %eax
	subq	%r8, %rax
	leaq	(%r14,%rax,4), %rcx
	xorl	%r9d, %r9d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_63:                                ##   in Loop: Header=BB0_46 Depth=1
	movl	%r15d, %eax
	incl	%eax
	incq	%r9
	addq	%r12, %r14
	movl	%eax, %r15d
	cmpl	%ebx, %eax
	je	LBB0_64
LBB0_46:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_53 Depth 2
                                        ##     Child Loop BB0_56 Depth 2
                                        ##     Child Loop BB0_60 Depth 2
                                        ##     Child Loop BB0_62 Depth 2
	cmpl	$0, 24(%rbp)
	je	LBB0_63
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$8, %r8d
	jb	LBB0_48
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	%r12, %rax
	imulq	%r9, %rax
	addq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	subq	%r10, %rax
	movl	$0, %r11d
	cmpq	$32, %rax
	jb	LBB0_58
## %bb.50:                              ##   in Loop: Header=BB0_46 Depth=1
	cmpq	$24, -72(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_46 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_54
LBB0_48:                                ##   in Loop: Header=BB0_46 Depth=1
	xorl	%r11d, %r11d
	jmp	LBB0_58
LBB0_52:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-112(%rdi,%rbx,4), %xmm0
	movups	-96(%rdi,%rbx,4), %xmm1
	movups	%xmm0, (%r14,%rbx,4)
	movups	%xmm1, 16(%r14,%rbx,4)
	movups	-80(%rdi,%rbx,4), %xmm0
	movups	-64(%rdi,%rbx,4), %xmm1
	movups	%xmm0, 32(%r14,%rbx,4)
	movups	%xmm1, 48(%r14,%rbx,4)
	movups	-48(%rdi,%rbx,4), %xmm0
	movups	-32(%rdi,%rbx,4), %xmm1
	movups	%xmm0, 64(%r14,%rbx,4)
	movups	%xmm1, 80(%r14,%rbx,4)
	movdqu	-16(%rdi,%rbx,4), %xmm0
	movdqu	(%rdi,%rbx,4), %xmm1
	movdqu	%xmm0, 96(%r14,%rbx,4)
	movdqu	%xmm1, 112(%r14,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdx
	jne	LBB0_53
LBB0_54:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_57
## %bb.55:                              ##   in Loop: Header=BB0_46 Depth=1
	leaq	(%r14,%rbx,4), %rdx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_56:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rbx,%rsi), %xmm0
	movdqu	(%rbx,%rsi), %xmm1
	movdqu	%xmm0, (%rdx,%rsi)
	movdqu	%xmm1, 16(%rdx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r13
	jne	LBB0_56
LBB0_57:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r11
	cmpq	%rax, %r8
	movl	32(%rbp), %ebx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_63
LBB0_58:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	%r11, %rdx
	notq	%rdx
	addq	%r8, %rdx
	testq	%rsi, %rsi
	je	LBB0_61
## %bb.59:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	%rsi, %rbx
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%r11,4), %eax
	movl	%eax, (%r14,%r11,4)
	incq	%r11
	decq	%rbx
	jne	LBB0_60
LBB0_61:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpq	$3, %rdx
	movl	32(%rbp), %ebx
	jb	LBB0_63
	.p2align	4, 0x90
LBB0_62:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-12(%rcx,%r11,4), %eax
	movl	%eax, (%r14,%r11,4)
	movl	-8(%rcx,%r11,4), %eax
	movl	%eax, 4(%r14,%r11,4)
	movl	-4(%rcx,%r11,4), %eax
	movl	%eax, 8(%r14,%r11,4)
	movl	(%rcx,%r11,4), %eax
	movl	%eax, 12(%r14,%r11,4)
	addq	$4, %r11
	cmpq	%r11, %r8
	jne	LBB0_62
	jmp	LBB0_63
LBB0_64:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_subimage_with_fill_template
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subimage_with_fill_template
_subimage_with_fill_template:           ; @subimage_with_fill_template
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x7
	mov	x20, x6
	mov	x24, x5
	mov	x23, x3
	mov	x25, x2
	mov	x27, x1
	mov	x26, x0
	ldr	w21, [x29, #16]
	ldr	w28, [x29, #24]
	sub	w0, w4, w1
	mov	x1, x7
	bl	_FFMIN
	mov	x22, x0
	cbz	w28, LBB0_21
; %bb.1:
	ldr	w28, [x29, #28]
	madd	w8, w23, w25, w27
	add	x26, x26, w8, uxtw #2
	lsr	w8, w24, #1
	sub	w0, w8, w25
	mov	x1, x21
	bl	_FFMIN
	lsr	w8, w23, #1
	add	x8, x26, w8, uxtw #2
	cmp	w28, #0
	csel	x26, x26, x8, ne
	cmp	w0, #0
	b.le	LBB0_22
LBB0_2:
	mov	x9, #0
	mov	w8, w19
	mov	w10, w22
	cmp	w22, #0
	csel	w11, w22, wzr, gt
	sub	x11, x8, x11
	lsl	x12, x8, #2
	sbfiz	x13, x23, #2, #32
	and	x14, x10, #0xfffffff0
	and	x15, x11, #0xfffffffffffffff0
	lsl	x17, x10, #2
	ldr	w16, [x29, #20]
	and	x17, x17, #0x3ffffffc0
	fmov	s0, w16
	mov	x1, x20
	mov	x2, x26
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x1, x12
	add	x9, x9, #1
	add	x2, x2, x13
	cmp	w9, w0
	b.eq	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	cmp	w22, #1
	b.lt	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, #0
	cmp	w22, #16
	b.lo	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x4, x13, x9, x26
	madd	x5, x12, x9, x20
	sub	x4, x5, x4
	cmp	x4, #64
	b.lo	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, #0
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	fmov	s1, wzr
	cmeq.4s	v1, v0, v1
	dup.4s	v1, v1[0]
	add	x4, x2, x3
	ldp	q3, q2, [x4, #32]
	shl.4s	v4, v2, #6
	bif.16b	v2, v4, v1
	shl.4s	v4, v3, #6
	bif.16b	v3, v4, v1
	ldp	q5, q4, [x4]
	shl.4s	v6, v4, #6
	bif.16b	v4, v6, v1
	shl.4s	v6, v5, #6
	bsl.16b	v1, v5, v6
	add	x4, x1, x3
	stp	q1, q4, [x4]
	stp	q3, q2, [x4, #32]
	add	x3, x3, #64
	cmp	x17, x3
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x14
	mov	x4, x22
	cmp	x14, x10
	b.eq	LBB0_13
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x4, x3, #2
	ldr	w5, [x2, x4]
	lsl	w6, w5, #6
	cmp	w16, #0
	csel	w5, w5, w6, eq
	str	w5, [x1, x4]
	add	x3, x3, #1
	cmp	x10, x3
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x4, x22
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w4, #0
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w3, w4, #1
	ldr	w3, [x1, w3, sxtw #2]
	lsl	w5, w3, #6
	cmp	w16, #0
	csel	w3, w3, w5, eq
	cmp	w4, w19
	b.hs	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w5, w4
	cmp	x11, #16
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x4, x5
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x4, x15, x5
	dup.4s	v1, w3
	lsl	x5, x5, #2
	mov	x6, x15
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x7, x1, x5
	stp	q1, q1, [x7]
	stp	q1, q1, [x7, #32]
	add	x5, x5, #64
	subs	x6, x6, #16
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x11, x15
	b.eq	LBB0_3
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w3, [x1, x4, lsl #2]
	add	x4, x4, #1
	cmp	x8, x4
	b.ne	LBB0_19
	b	LBB0_3
LBB0_20:
	mov	x20, x1
	cmp	w0, w21
	b.lo	LBB0_23
	b	LBB0_32
LBB0_21:
	lsr	w23, w23, #1
	madd	w8, w23, w25, w27
	add	x26, x26, w8, uxtw #2
	sub	w0, w24, w25
	mov	x1, x21
	bl	_FFMIN
	cmp	w0, #0
	b.gt	LBB0_2
LBB0_22:
	mov	w0, #0
	mov	w8, w19
	cmp	w0, w21
	b.hs	LBB0_32
LBB0_23:
	mov	x9, #0
	sub	x10, x20, x8, lsl #2
	lsl	x11, x8, #2
	sub	x12, x20, x11
	and	x13, x8, #0xfffffff0
	and	x14, x11, #0x3ffffffc0
	mov	w15, #8
	sub	x15, x15, x8
	add	x15, x20, x15, lsl #2
	mov	x16, x20
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w0, w0, #1
	add	x9, x9, #1
	add	x16, x16, x11
	cmp	w0, w21
	b.eq	LBB0_32
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
                                        ;     Child Loop BB0_31 Depth 2
	cbz	w19, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x17, #0
	cmp	x8, #16
	b.lo	LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	madd	x1, x11, x9, x20
	sub	x1, x1, x12
	cmp	x1, #64
	b.lo	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x17, #0
LBB0_29:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x15, x17
	ldp	q0, q1, [x1, #-32]
	ldp	q2, q3, [x1]
	add	x1, x16, x17
	stp	q0, q1, [x1]
	stp	q2, q3, [x1, #32]
	add	x17, x17, #64
	cmp	x14, x17
	b.ne	LBB0_29
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x17, x13
	cmp	x8, x13
	b.eq	LBB0_24
LBB0_31:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x1, x17, #2
	ldr	w2, [x10, x1]
	str	w2, [x16, x1]
	add	x17, x17, #1
	cmp	x8, x17
	b.ne	LBB0_31
	b	LBB0_24
LBB0_32:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_subimage_with_fill_template
.subsections_via_symbols
