	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blend_filter_line
_blend_filter_line:                     ## @blend_filter_line
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	16(%rbp), %esi
	leal	-2(%r8), %eax
	cmpl	$2, %esi
	jl	LBB0_3
## %bb.1:
	cmpl	%esi, %eax
	jle	LBB0_3
## %bb.2:
	movl	%r9d, %eax
	negl	%eax
	leal	(%r9,%r9), %edx
	movl	%edx, %esi
	negl	%esi
	testl	%ecx, %ecx
	jg	LBB0_13
	jmp	LBB0_15
LBB0_3:
	cmpl	$1, %esi
	je	LBB0_11
## %bb.4:
	testl	%esi, %esi
	jne	LBB0_6
## %bb.5:
	leal	(%r9,%r9), %edx
	xorl	%eax, %eax
	xorl	%esi, %esi
	testl	%ecx, %ecx
	jg	LBB0_13
	jmp	LBB0_15
LBB0_11:
	movl	%r9d, %eax
	negl	%eax
	leal	(%r9,%r9), %edx
	movl	%eax, %esi
	testl	%ecx, %ecx
	jg	LBB0_13
	jmp	LBB0_15
LBB0_6:
	cmpl	%esi, %eax
	jne	LBB0_8
## %bb.7:
	movl	%r9d, %eax
	negl	%eax
	leal	(%r9,%r9), %esi
	negl	%esi
	movl	%r9d, %edx
	testl	%ecx, %ecx
	jg	LBB0_13
	jmp	LBB0_15
LBB0_8:
	leal	-1(%r8), %eax
	cmpl	%esi, %eax
	jne	LBB0_10
## %bb.9:
	movl	%r9d, %eax
	negl	%eax
	addl	%r9d, %r9d
	negl	%r9d
	xorl	%edx, %edx
	movl	%r9d, %esi
	xorl	%r9d, %r9d
	testl	%ecx, %ecx
	jle	LBB0_15
LBB0_13:
	movslq	%esi, %rsi
	cltq
	movslq	%r9d, %r8
	movslq	%edx, %rdx
	movl	%ecx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rsi,4), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r8,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rdx,4), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edx
	movl	(%rbx,%r13,4), %ecx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %r8d
	movl	(%r12,%r13,4), %r9d
	movq	%r15, %rdi
	callq	_blend_filter_pixel
	movl	%eax, (%r14,%r13,4)
	incq	%r13
	cmpl	%r13d, -72(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_14
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movl	%r8d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_error                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid value y %d height %d"

	.no_dead_strip	_blend_filter_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blend_filter_line
_blend_filter_line:                     ; @blend_filter_line
	.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
                                        ; kill: def $w5 killed $w5 def $x5
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	sub	w8, w4, #2
	cmp	w6, #2
	b.lt	LBB0_3
; %bb.1:
	cmp	w8, w6
	b.le	LBB0_3
; %bb.2:
	neg	w8, w5
	lsl	w9, w5, #1
	neg	w10, w9
	cmp	w19, #1
	b.ge	LBB0_11
	b	LBB0_13
LBB0_3:
	cmp	w6, #1
	b.eq	LBB0_6
; %bb.4:
	cbnz	w6, LBB0_7
; %bb.5:
	mov	w8, #0
	mov	w10, #0
	lsl	w9, w5, #1
	cmp	w19, #1
	b.ge	LBB0_11
	b	LBB0_13
LBB0_6:
	neg	w8, w5
	lsl	w9, w5, #1
	mov	x10, x8
	cmp	w19, #1
	b.ge	LBB0_11
	b	LBB0_13
LBB0_7:
	cmp	w8, w6
	b.ne	LBB0_9
; %bb.8:
	neg	w8, w5
	neg	w10, w5, lsl #1
	mov	x9, x5
	cmp	w19, #1
	b.ge	LBB0_11
	b	LBB0_13
LBB0_9:
	sub	w8, w4, #1
	cmp	w8, w6
	b.ne	LBB0_14
; %bb.10:
	mov	w9, #0
	neg	w8, w5
	neg	w10, w5, lsl #1
	mov	w5, #0
	cmp	w19, #1
	b.lt	LBB0_13
LBB0_11:
	sxtw	x23, w10
	sxtw	x24, w8
	sxtw	x25, w5
	sxtw	x26, w9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, x23, lsl #2]
	ldr	w2, [x20, x24, lsl #2]
	ldr	w3, [x20]
	ldr	w4, [x20, x25, lsl #2]
	ldr	w5, [x20, x26, lsl #2]
	mov	x0, x22
	bl	_blend_filter_pixel
	str	w0, [x21], #4
	add	x20, x20, #4
	subs	w19, w19, #1
	b.ne	LBB0_12
LBB0_13:
	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_14:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x6
	mov	x2, x4
	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
	b	_hb_error
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid value y %d height %d"

	.no_dead_strip	_blend_filter_line
.subsections_via_symbols
