	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eedi2_filter_map               ## -- Begin function eedi2_filter_map
	.p2align	4, 0x90
_eedi2_filter_map:                      ## @eedi2_filter_map
	.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, %r14d
	movq	%r8, %rax
	movl	%ecx, %r15d
	movl	%esi, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r8d
	movl	16(%rbp), %ebx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	%r9d, %esi
	movq	%rdx, %r13
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%ebx, %r9d
	callq	_eedi2_bit_blit
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	cmpl	$3, %ebx
	jl	LBB0_49
## %bb.1:
	movslq	%r12d, %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movslq	%r15d, %rcx
	movslq	%r14d, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r13, %rbx
	leaq	(%r13,%rcx,4), %r11
	movl	24(%rbp), %eax
	decl	%eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	addl	$-2, -48(%rbp)                  ## 4-byte Folded Spill
	leaq	4(,%rcx,4), %rax
	addq	%r13, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,4), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	leaq	1(,%rcx,8), %rax
	addq	%r13, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	incq	%rbx
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	$1, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(%r11,%rcx,4), %r11
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	leal	1(%rsi), %eax
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	addq	%rdx, -96(%rbp)                 ## 8-byte Folded Spill
	addq	%rcx, -104(%rbp)                ## 8-byte Folded Spill
	addq	%rcx, -88(%rbp)                 ## 8-byte Folded Spill
	cmpl	-48(%rbp), %esi                 ## 4-byte Folded Reload
                                        ## kill: def $eax killed $eax def $rax
	je	LBB0_49
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_39 Depth 3
                                        ##       Child Loop BB0_29 Depth 3
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-152(%rbp), %rax                ## 8-byte Reload
	leaq	(%r12,%rax,4), %r12
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %eax
	cmpl	$3, %eax
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jl	LBB0_48
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	negl	%edi
	movl	%r12d, %esi
	callq	_MAX
	testl	%eax, %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	jle	LBB0_8
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	addq	$4, %r13
	incq	%r15
	incq	%r14
	cmpq	-176(%rbp), %rbx                ## 8-byte Folded Reload
	je	LBB0_48
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_39 Depth 3
                                        ##       Child Loop BB0_29 Depth 3
	movl	(%r11,%rbx,4), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	cmpl	$255, %eax
	je	LBB0_47
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$255, (%r12,%rbx,4)
	jne	LBB0_47
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %r14                ## 8-byte Reload
	leal	-128(%r14), %r12d
	sarl	$2, %r12d
	movl	%r12d, %eax
	negl	%eax
	movl	%r12d, %ecx
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	cmovnsl	%eax, %ecx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	leal	(%rcx,%rcx), %edi
	movl	$12, %esi
	callq	_MAX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	cmpl	$127, %r14d
	jle	LBB0_7
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=2
	notl	%edi
	movl	24(%rbp), %eax
	addl	%eax, %edi
	movl	%r12d, %esi
	callq	_MIN
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	js	LBB0_47
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r11,%rbx,4), %r8d
	incl	%eax
	xorl	%edx, %edx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=3
	cmpb	$-1, %cl
	je	LBB0_25
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=3
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_47
LBB0_20:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r15,%rdx), %ecx
	movl	%ecx, %esi
	subl	%r8d, %esi
	movl	%esi, %edi
	negl	%edi
	cmovsl	%esi, %edi
	cmpl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	jle	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=3
	cmpb	$-1, %cl
	jne	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=3
	movl	(%r13,%rdx,4), %edi
	cmpl	$255, %edi
	jne	LBB0_24
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=3
	movl	(%r13,%rdx,4), %edi
	cmpl	$255, %edi
	je	LBB0_18
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=3
	subl	%r8d, %edi
	movl	%edi, %ecx
	negl	%ecx
	cmovsl	%edi, %ecx
	cmpl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	jle	LBB0_19
	jmp	LBB0_25
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r11,%rbx,4), %ecx
	movslq	%eax, %rdx
	leaq	(%r15,%rdx), %r9
	leaq	(,%rdx,4), %r8
	addq	%r13, %r8
	movl	$1, %r10d
	subl	%eax, %r10d
	xorl	%eax, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=3
	cmpb	$-1, %dil
	je	LBB0_25
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=3
	incq	%rax
	cmpl	%eax, %r10d
	je	LBB0_47
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r9,%rax), %edi
	movl	%edi, %esi
	subl	%ecx, %esi
	movl	%esi, %edx
	negl	%edx
	cmovsl	%esi, %edx
	cmpl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=3
	cmpb	$-1, %dil
	jne	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=3
	movl	(%r8,%rax,4), %edx
	cmpl	$255, %edx
	jne	LBB0_15
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=3
	movl	(%r8,%rax,4), %edx
	cmpl	$255, %edx
	je	LBB0_9
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=3
	subl	%ecx, %edx
	movl	%edx, %esi
	negl	%esi
	cmovsl	%edx, %esi
	cmpl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	jle	LBB0_10
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$127, -120(%rbp)                ## 4-byte Folded Reload
	jg	LBB0_36
## %bb.26:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %edi
	notl	%edi
	movl	24(%rbp), %eax
	addl	%eax, %edi
	movq	-168(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MIN
	movq	-56(%rbp), %r11                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_47
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r11,%rbx,4), %r8d
	incl	%eax
	xorl	%edx, %edx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=3
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_47
LBB0_29:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r14,%rdx), %ecx
	movl	%ecx, %esi
	subl	%r8d, %esi
	movl	%esi, %edi
	negl	%edi
	cmovsl	%esi, %edi
	cmpl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	jle	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=3
	cmpb	$-1, %cl
	je	LBB0_31
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=3
	cmpb	$-1, %cl
	je	LBB0_31
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=3
	movl	(%r13,%rdx,4), %esi
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=3
	movl	(%r13,%rdx,4), %esi
	cmpl	$255, %esi
	je	LBB0_46
LBB0_34:                                ##   in Loop: Header=BB0_29 Depth=3
	movl	%esi, %ecx
	subl	%r8d, %ecx
	movl	%ecx, %edi
	negl	%edi
	cmovsl	%ecx, %edi
	cmpl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	jle	LBB0_28
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=3
	cmpl	$255, %esi
	je	LBB0_28
	jmp	LBB0_46
LBB0_36:                                ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %edi
	negl	%edi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_MAX
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	testl	%eax, %eax
	jg	LBB0_47
## %bb.37:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r11,%rbx,4), %ecx
	movslq	%eax, %r10
	leaq	(,%r10,4), %r8
	addq	%r13, %r8
	addq	%r14, %r10
	movl	$1, %r9d
	subl	%eax, %r9d
	xorl	%eax, %eax
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_39 Depth=3
	incq	%rax
	cmpl	%eax, %r9d
	je	LBB0_47
LBB0_39:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r10,%rax), %edx
	movl	%edx, %edi
	subl	%ecx, %edi
	movl	%edi, %esi
	negl	%esi
	cmovsl	%edi, %esi
	cmpl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	jle	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=3
	cmpb	$-1, %dl
	je	LBB0_41
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_39 Depth=3
	cmpb	$-1, %dl
	je	LBB0_41
## %bb.43:                              ##   in Loop: Header=BB0_39 Depth=3
	movl	(%r8,%rax,4), %esi
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_39 Depth=3
	movl	(%r8,%rax,4), %esi
	cmpl	$255, %esi
	je	LBB0_46
LBB0_44:                                ##   in Loop: Header=BB0_39 Depth=3
	movl	%esi, %edx
	subl	%ecx, %edx
	movl	%edx, %edi
	negl	%edi
	cmovsl	%edx, %edi
	cmpl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	jle	LBB0_38
## %bb.45:                              ##   in Loop: Header=BB0_39 Depth=3
	cmpl	$255, %esi
	je	LBB0_38
LBB0_46:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$255, (%rax,%rbx,4)
	jmp	LBB0_47
LBB0_49:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eedi2_filter_map               ; -- Begin function eedi2_filter_map
	.p2align	2
_eedi2_filter_map:                      ; @eedi2_filter_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x23, x6
	mov	x24, x5
	mov	x25, x3
	mov	x22, x2
	mov	x26, x1
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	str	x4, [sp, #72]                   ; 8-byte Folded Spill
	mov	x0, x4
	mov	x1, x5
	str	w7, [sp, #84]                   ; 4-byte Folded Spill
	mov	x4, x7
	mov	x5, x6
	bl	_eedi2_bit_blit
	cmp	w23, #3
	b.lt	LBB0_49
; %bb.1:
	sxtw	x10, w26
	sxtw	x9, w25
	sxtw	x11, w24
	lsl	x8, x9, #2
	stp	x8, x11, [sp, #8]               ; 16-byte Folded Spill
	add	x26, x22, x8
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	sub	w27, w8, #1
	sub	w8, w23, #2
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	add	x11, x26, #4
	add	x8, x22, #1
	stp	x8, x11, [sp, #56]              ; 16-byte Folded Spill
	stp	x9, x10, [sp, #24]              ; 16-byte Folded Spill
	add	x8, x22, x9, lsl #3
	add	x8, x8, #1
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	mov	w8, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x26, x26, x9, lsl #2
	ldr	x12, [sp, #40]                  ; 8-byte Folded Reload
	add	w8, w12, #1
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	add	x11, x11, x10
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	add	x10, x10, x9
	stp	x10, x11, [sp, #56]             ; 16-byte Folded Spill
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	add	x10, x10, x9
	str	x10, [sp, #48]                  ; 8-byte Folded Spill
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w12, w9
                                        ; kill: def $w8 killed $w8 def $x8
	b.eq	LBB0_49
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
                                        ;       Child Loop BB0_41 Depth 3
                                        ;       Child Loop BB0_31 Depth 3
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #2
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #2
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x25, x20, [sp, #48]             ; 16-byte Folded Reload
	ldr	x28, [sp, #64]                  ; 8-byte Folded Reload
	mov	w19, #1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	neg	w0, w19
	mov	x1, x24
	bl	_MAX
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #0
	b.le	LBB0_19
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x19, x19, #1
	add	x28, x28, #4
	add	x20, x20, #1
	add	x25, x25, #1
	cmp	x19, x27
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
                                        ;       Child Loop BB0_41 Depth 3
                                        ;       Child Loop BB0_31 Depth 3
	ldr	w21, [x26, x19, lsl #2]
	cmp	w21, #255
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w8, [x8, x19, lsl #2]
	cmp	w8, #255
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	sub	w8, w21, #128
	asr	w24, w8, #2
	cmp	w24, #0
	cneg	w23, w24, mi
	lsl	w0, w23, #1
	mov	w1, #12
	bl	_MAX
	mov	x22, x0
	cmp	w21, #127
	b.le	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mvn	w8, w19
	ldr	w9, [sp, #84]                   ; 4-byte Folded Reload
	add	w0, w8, w9
	mov	x1, x24
	bl	_MIN
	tbnz	w0, #31, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x26, x19, lsl #2]
	add	w9, w0, #1
	mov	x10, x20
	mov	x11, x28
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=3
	cmp	w12, #255
	b.eq	LBB0_27
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=3
	add	x11, x11, #4
	add	x10, x10, #1
	subs	x9, x9, #1
	b.eq	LBB0_6
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w12, [x10]
	subs	w13, w12, w8
	cneg	w13, w13, mi
	cmp	w13, w22
	b.le	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=3
	cmp	w12, #255
	b.ne	LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=3
	ldr	w13, [x11]
	cmp	w13, #255
	b.ne	LBB0_18
	b	LBB0_27
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=3
	ldr	w13, [x11]
	cmp	w13, #255
	b.eq	LBB0_12
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=3
	subs	w12, w13, w8
	cneg	w12, w12, mi
	cmp	w12, w22
	b.le	LBB0_13
	b	LBB0_27
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x26, x19, lsl #2]
	sxtw	x9, w0
	sub	w10, w0, #1
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=3
	cmp	w11, #255
	b.eq	LBB0_27
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=3
	add	x9, x9, #1
	adds	w10, w10, #1
	b.hs	LBB0_6
LBB0_22:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w11, [x20, x9]
	subs	w12, w11, w8
	cneg	w12, w12, mi
	cmp	w12, w22
	b.le	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=3
	cmp	w11, #255
	b.ne	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=3
	ldr	w12, [x28, x9, lsl #2]
	cmp	w12, #255
	b.ne	LBB0_26
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_22 Depth=3
	ldr	w12, [x28, x9, lsl #2]
	cmp	w12, #255
	b.eq	LBB0_20
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=3
	subs	w11, w12, w8
	cneg	w11, w11, mi
	cmp	w11, w22
	b.le	LBB0_21
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w21, #127
	b.gt	LBB0_38
; %bb.28:                               ;   in Loop: Header=BB0_7 Depth=2
	mvn	w8, w19
	ldr	w9, [sp, #84]                   ; 4-byte Folded Reload
	add	w0, w8, w9
	mov	x1, x23
	bl	_MIN
	tbnz	w0, #31, LBB0_6
; %bb.29:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x8, #0
	ldr	w9, [x26, x19, lsl #2]
	add	w10, w0, #1
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=3
	add	x8, x8, #1
	cmp	x10, x8
	b.eq	LBB0_6
LBB0_31:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w11, [x25, x8]
	subs	w12, w11, w9
	cneg	w12, w12, mi
	cmp	w12, w22
	b.le	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=3
	cmp	w11, #255
	b.eq	LBB0_35
	b	LBB0_48
LBB0_33:                                ;   in Loop: Header=BB0_31 Depth=3
	cmp	w11, #255
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_31 Depth=3
	ldr	w11, [x28, x8, lsl #2]
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_31 Depth=3
	ldr	w11, [x28, x8, lsl #2]
	cmp	w11, #255
	b.eq	LBB0_48
LBB0_36:                                ;   in Loop: Header=BB0_31 Depth=3
	subs	w12, w11, w9
	cneg	w12, w12, mi
	cmp	w12, w22
	b.le	LBB0_30
; %bb.37:                               ;   in Loop: Header=BB0_31 Depth=3
	cmp	w11, #255
	b.eq	LBB0_30
	b	LBB0_48
LBB0_38:                                ;   in Loop: Header=BB0_7 Depth=2
	neg	w1, w24
	neg	w0, w19
	bl	_MAX
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #0
	b.gt	LBB0_6
; %bb.39:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x26, x19, lsl #2]
	sxtw	x9, w0
	sub	w10, w0, #1
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=3
	add	x9, x9, #1
	adds	w10, w10, #1
	b.hs	LBB0_6
LBB0_41:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w11, [x25, x9]
	subs	w12, w11, w8
	cneg	w12, w12, mi
	cmp	w12, w22
	b.le	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=3
	cmp	w11, #255
	b.eq	LBB0_45
	b	LBB0_48
LBB0_43:                                ;   in Loop: Header=BB0_41 Depth=3
	cmp	w11, #255
	b.eq	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_41 Depth=3
	ldr	w11, [x28, x9, lsl #2]
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_41 Depth=3
	ldr	w11, [x28, x9, lsl #2]
	cmp	w11, #255
	b.eq	LBB0_48
LBB0_46:                                ;   in Loop: Header=BB0_41 Depth=3
	subs	w12, w11, w8
	cneg	w12, w12, mi
	cmp	w12, w22
	b.le	LBB0_40
; %bb.47:                               ;   in Loop: Header=BB0_41 Depth=3
	cmp	w11, #255
	b.eq	LBB0_40
LBB0_48:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	mov	w9, #255
	str	w9, [x8, x19, lsl #2]
	b	LBB0_6
LBB0_49:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
