	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_filter_row
_png_filter_row:                        ## @png_filter_row
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	addl	$-128, %edx
	cmpl	$4, %edx
	ja	LBB0_59
## %bb.1:
	movl	16(%rbp), %r10d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	(%rdi), %rax
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	movl	%r9d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	testl	%r10d, %r10d
	jle	LBB0_21
## %bb.4:
	movl	%r10d, %r14d
	cmpl	$8, %r10d
	jae	LBB0_27
## %bb.5:
	xorl	%edi, %edi
LBB0_6:
	movq	%rdi, %rax
	notq	%rax
	addq	%r14, %rax
	movq	%r14, %rdx
	andq	$3, %rdx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi,4), %ebx
	subl	(%r8,%rdi,4), %ebx
	movl	%ebx, (%rsi,%rdi,4)
	incq	%rdi
	decq	%rdx
	jne	LBB0_7
LBB0_8:
	movl	%r10d, %ebx
	cmpq	$3, %rax
	jb	LBB0_22
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi,4), %eax
	subl	(%r8,%rdi,4), %eax
	movl	%eax, (%rsi,%rdi,4)
	movl	4(%rcx,%rdi,4), %eax
	subl	4(%r8,%rdi,4), %eax
	movl	%eax, 4(%rsi,%rdi,4)
	movl	8(%rcx,%rdi,4), %eax
	subl	8(%r8,%rdi,4), %eax
	movl	%eax, 8(%rsi,%rdi,4)
	movl	12(%rcx,%rdi,4), %eax
	subl	12(%r8,%rdi,4), %eax
	movl	%eax, 12(%rsi,%rdi,4)
	addq	$4, %rdi
	cmpq	%rdi, %r14
	jne	LBB0_9
## %bb.10:
	movl	%r10d, %ebx
	jmp	LBB0_22
LBB0_11:
	testl	%r10d, %r10d
	jle	LBB0_23
## %bb.12:
	movl	%r10d, %edx
	cmpl	$8, %r10d
	jae	LBB0_32
## %bb.13:
	xorl	%edi, %edi
LBB0_14:
	movq	%rdi, %rax
	notq	%rax
	testb	$1, %dl
	je	LBB0_16
## %bb.15:
	movl	(%rcx,%rdi,4), %r11d
	movl	(%r8,%rdi,4), %ebx
	sarl	%ebx
	subl	%ebx, %r11d
	movl	%r11d, (%rsi,%rdi,4)
	orq	$1, %rdi
LBB0_16:
	movl	%r10d, %ebx
	addq	%rdx, %rax
	je	LBB0_24
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi,4), %eax
	movl	(%r8,%rdi,4), %ebx
	sarl	%ebx
	subl	%ebx, %eax
	movl	%eax, (%rsi,%rdi,4)
	movl	4(%rcx,%rdi,4), %eax
	movl	4(%r8,%rdi,4), %ebx
	sarl	%ebx
	subl	%ebx, %eax
	movl	%eax, 4(%rsi,%rdi,4)
	addq	$2, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_17
## %bb.18:
	movl	%r10d, %ebx
	jmp	LBB0_24
LBB0_19:
	movq	%rcx, %rdx
	movl	%r10d, %ecx
	movl	%r9d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sub_left_prediction            ## TAILCALL
LBB0_20:
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	movl	%r9d, %edx
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_21:
	xorl	%ebx, %ebx
LBB0_22:
	movl	%ebx, %eax
	leaq	(%rsi,%rax,4), %rdi
	leaq	(%rcx,%rax,4), %rsi
	leaq	(%r8,%rax,4), %rdx
	subl	%ebx, %r9d
	movl	%r9d, %ecx
	movl	%r10d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sub_png_paeth_prediction       ## TAILCALL
LBB0_23:
	xorl	%ebx, %ebx
LBB0_24:
	cmpl	%r9d, %ebx
	jge	LBB0_59
## %bb.25:
	movl	%ebx, %r11d
	movslq	%r10d, %r10
	movl	%r9d, %r14d
	movq	%r14, %r9
	subq	%r11, %r9
	cmpq	$8, %r9
	jb	LBB0_53
## %bb.37:
	leaq	(%rsi,%r11,4), %rax
	leaq	(%rcx,%r11,4), %rdx
	leaq	(,%r10,4), %rdi
	subq	%rdx, %rdi
	addq	%rax, %rdi
	cmpq	$32, %rdi
	jb	LBB0_53
## %bb.38:
	movq	%rax, %rdi
	subq	%rdx, %rdi
	cmpq	$32, %rdi
	jb	LBB0_53
## %bb.39:
	leaq	(%r8,%r11,4), %rdx
	subq	%rdx, %rax
	cmpq	$32, %rax
	jb	LBB0_53
## %bb.40:
	movq	%r9, %r15
	andq	$-8, %r15
	leaq	(%r15,%r11), %rdi
	leaq	(%rcx,%r11,4), %r12
	addq	$16, %r12
	movq	%r10, %rax
	negq	%rax
	addq	%r11, %rax
	addq	$4, %rax
	leaq	(%rcx,%rax,4), %r13
	leaq	(%r8,%r11,4), %rdx
	addq	$16, %rdx
	leaq	(%rsi,%r11,4), %rbx
	addq	$16, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%r12,%rax,4), %xmm0
	movdqu	(%r12,%rax,4), %xmm1
	movdqu	-16(%r13,%rax,4), %xmm2
	movdqu	(%r13,%rax,4), %xmm3
	movdqu	-16(%rdx,%rax,4), %xmm4
	paddd	%xmm2, %xmm4
	movdqu	(%rdx,%rax,4), %xmm2
	paddd	%xmm3, %xmm2
	psrad	$1, %xmm4
	psubd	%xmm4, %xmm0
	psrad	$1, %xmm2
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, -16(%rbx,%rax,4)
	movdqu	%xmm1, (%rbx,%rax,4)
	addq	$8, %rax
	cmpq	%rax, %r15
	jne	LBB0_41
## %bb.42:
	cmpq	%r15, %r9
	jne	LBB0_54
	jmp	LBB0_59
LBB0_53:
	movq	%r11, %rdi
LBB0_54:
	movl	%r14d, %edx
	subl	%edi, %edx
	movq	%rdi, %rax
	notq	%rax
	testb	$1, %dl
	je	LBB0_56
## %bb.55:
	movl	(%rcx,%rdi,4), %r9d
	movq	%rdi, %rbx
	subq	%r10, %rbx
	movl	(%r8,%rdi,4), %edx
	addl	(%rcx,%rbx,4), %edx
	sarl	%edx
	subl	%edx, %r9d
	movl	%r9d, (%rsi,%rdi,4)
	incq	%rdi
LBB0_56:
	addq	%r14, %rax
	je	LBB0_59
## %bb.57:
	movl	$1, %eax
	subq	%r10, %rax
	leaq	(%rcx,%rax,4), %rax
	.p2align	4, 0x90
LBB0_58:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi,4), %edx
	movl	(%r8,%rdi,4), %ebx
	addl	-4(%rax,%rdi,4), %ebx
	sarl	%ebx
	subl	%ebx, %edx
	movl	%edx, (%rsi,%rdi,4)
	movl	4(%rcx,%rdi,4), %edx
	movl	4(%r8,%rdi,4), %ebx
	addl	(%rax,%rdi,4), %ebx
	sarl	%ebx
	subl	%ebx, %edx
	movl	%edx, 4(%rsi,%rdi,4)
	addq	$2, %rdi
	cmpq	%rdi, %r14
	jne	LBB0_58
LBB0_59:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	%rsi, %rax
	subq	%rcx, %rax
	xorl	%edi, %edi
	cmpq	$32, %rax
	jb	LBB0_6
## %bb.28:
	movq	%rsi, %rax
	subq	%r8, %rax
	cmpq	$32, %rax
	jb	LBB0_6
## %bb.29:
	movl	%r14d, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rax
	movq	%rax, %r11
	shrq	$3, %r11
	incq	%r11
	testq	%rax, %rax
	je	LBB0_48
## %bb.30:
	movq	%r11, %rbx
	andq	$-2, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rax,4), %xmm0
	movdqu	16(%rcx,%rax,4), %xmm1
	movdqu	(%r8,%rax,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	16(%r8,%rax,4), %xmm2
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, (%rsi,%rax,4)
	movdqu	%xmm1, 16(%rsi,%rax,4)
	movdqu	32(%rcx,%rax,4), %xmm0
	movdqu	48(%rcx,%rax,4), %xmm1
	movdqu	32(%r8,%rax,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	48(%r8,%rax,4), %xmm2
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, 32(%rsi,%rax,4)
	movdqu	%xmm1, 48(%rsi,%rax,4)
	addq	$16, %rax
	addq	$-2, %rbx
	jne	LBB0_31
	jmp	LBB0_49
LBB0_32:
	movq	%rsi, %rax
	subq	%rcx, %rax
	xorl	%edi, %edi
	cmpq	$32, %rax
	jb	LBB0_14
## %bb.33:
	movq	%rsi, %rax
	subq	%r8, %rax
	cmpq	$32, %rax
	jb	LBB0_14
## %bb.34:
	movl	%edx, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rax
	movq	%rax, %r11
	shrq	$3, %r11
	incq	%r11
	testq	%rax, %rax
	je	LBB0_44
## %bb.35:
	movq	%r11, %rbx
	andq	$-2, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rax,4), %xmm0
	movdqu	16(%rcx,%rax,4), %xmm1
	movdqu	(%r8,%rax,4), %xmm2
	movdqu	16(%r8,%rax,4), %xmm3
	psrad	$1, %xmm2
	psubd	%xmm2, %xmm0
	psrad	$1, %xmm3
	psubd	%xmm3, %xmm1
	movdqu	%xmm0, (%rsi,%rax,4)
	movdqu	%xmm1, 16(%rsi,%rax,4)
	movdqu	32(%rcx,%rax,4), %xmm0
	movdqu	48(%rcx,%rax,4), %xmm1
	movdqu	32(%r8,%rax,4), %xmm2
	movdqu	48(%r8,%rax,4), %xmm3
	psrad	$1, %xmm2
	psubd	%xmm2, %xmm0
	psrad	$1, %xmm3
	psubd	%xmm3, %xmm1
	movdqu	%xmm0, 32(%rsi,%rax,4)
	movdqu	%xmm1, 48(%rsi,%rax,4)
	addq	$16, %rax
	addq	$-2, %rbx
	jne	LBB0_36
	jmp	LBB0_45
LBB0_44:
	xorl	%eax, %eax
LBB0_45:
	testb	$1, %r11b
	je	LBB0_47
## %bb.46:
	movdqu	(%rcx,%rax,4), %xmm0
	movdqu	16(%rcx,%rax,4), %xmm1
	movdqu	(%r8,%rax,4), %xmm2
	movdqu	16(%r8,%rax,4), %xmm3
	psrad	$1, %xmm2
	psubd	%xmm2, %xmm0
	psrad	$1, %xmm3
	psubd	%xmm3, %xmm1
	movdqu	%xmm0, (%rsi,%rax,4)
	movdqu	%xmm1, 16(%rsi,%rax,4)
LBB0_47:
	movl	%r10d, %ebx
	cmpq	%rdx, %rdi
	jne	LBB0_14
	jmp	LBB0_24
LBB0_48:
	xorl	%eax, %eax
LBB0_49:
	testb	$1, %r11b
	je	LBB0_51
## %bb.50:
	movdqu	(%rcx,%rax,4), %xmm0
	movdqu	16(%rcx,%rax,4), %xmm1
	movdqu	(%r8,%rax,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	16(%r8,%rax,4), %xmm2
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, (%rsi,%rax,4)
	movdqu	%xmm1, 16(%rsi,%rax,4)
LBB0_51:
	movl	%r10d, %ebx
	cmpq	%r14, %rdi
	jne	LBB0_6
	jmp	LBB0_22
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_3
	.long	L0_0_set_20
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_png_filter_row
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_filter_row
_png_filter_row:                        ; @png_filter_row
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w6 killed $w6 def $x6
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_25
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x6, [x0]
	mov	x0, x1
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	br	x6
LBB0_3:
	cmp	w6, #1
	b.lt	LBB0_14
; %bb.4:
	mov	w8, w6
	cmp	w6, #16
	b.hs	LBB0_27
; %bb.5:
	mov	x9, #0
LBB0_6:
	lsl	x12, x9, #2
	add	x10, x1, x12
	add	x11, x4, x12
	add	x12, x3, x12
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x12], #4
	ldr	w13, [x11], #4
	sub	w9, w9, w13, asr #1
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
; %bb.8:
	mov	x10, x6
	b	LBB0_15
LBB0_9:
	mov	x2, x3
	mov	x3, x6
	mov	x4, x5
	b	_sub_left_prediction
LBB0_10:
	cmp	w6, #1
	b.lt	LBB0_26
; %bb.11:
	mov	w8, w6
	cmp	w6, #16
	b.hs	LBB0_32
; %bb.12:
	mov	x9, #0
	b	LBB0_37
LBB0_13:
	mov	x0, x1
	mov	x1, x3
	mov	x2, x5
	b	_memcpy
LBB0_14:
	mov	w10, #0
LBB0_15:
	cmp	w10, w5
	b.ge	LBB0_25
; %bb.16:
	mov	w8, w10
	sxtw	x10, w6
	mov	w9, w5
	sub	x11, x9, x8
	cmp	x11, #16
	b.lo	LBB0_23
; %bb.17:
	lsl	x14, x8, #2
	lsl	x12, x10, #2
	add	x15, x14, x3
	sub	x16, x12, x15
	add	x13, x14, x1
	add	x16, x13, x16
	cmp	x16, #64
	b.lo	LBB0_23
; %bb.18:
	sub	x15, x13, x15
	cmp	x15, #64
	b.lo	LBB0_23
; %bb.19:
	add	x15, x14, x4
	sub	x13, x13, x15
	cmp	x13, #64
	b.lo	LBB0_23
; %bb.20:
	neg	x13, x12
	and	x12, x11, #0xfffffffffffffff0
	add	x8, x12, x8
	add	x16, x14, #32
	add	x14, x1, x16
	add	x15, x4, x16
	add	x16, x3, x16
	mov	x17, x12
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x16, #-32]
	ldp	q2, q3, [x16]
	add	x0, x16, x13
	ldp	q4, q5, [x0, #-32]
	ldp	q6, q7, [x0]
	ldp	q16, q17, [x15, #-32]
	ldp	q18, q19, [x15], #64
	add.4s	v4, v16, v4
	add.4s	v5, v17, v5
	add.4s	v6, v18, v6
	add.4s	v7, v19, v7
	sshr.4s	v4, v4, #1
	sshr.4s	v5, v5, #1
	sshr.4s	v6, v6, #1
	sshr.4s	v7, v7, #1
	sub.4s	v0, v0, v4
	sub.4s	v1, v1, v5
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v7
	stp	q0, q1, [x14, #-32]
	stp	q2, q3, [x14], #64
	add	x16, x16, #64
	subs	x17, x17, #16
	b.ne	LBB0_21
; %bb.22:
	cmp	x11, x12
	b.eq	LBB0_25
LBB0_23:
	neg	x10, x10, lsl #2
	lsl	x13, x8, #2
	add	x11, x3, x13
	add	x12, x1, x13
	add	x13, x4, x13
	sub	x8, x9, x8
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11]
	ldr	w14, [x11, x10]
	ldr	w15, [x13], #4
	add	w14, w15, w14
	sub	w9, w9, w14, asr #1
	str	w9, [x12], #4
	add	x11, x11, #4
	subs	x8, x8, #1
	b.ne	LBB0_24
LBB0_25:
	ret
LBB0_26:
	mov	w10, #0
	b	LBB0_40
LBB0_27:
	mov	x9, #0
	sub	x10, x1, x3
	cmp	x10, #64
	b.lo	LBB0_6
; %bb.28:
	sub	x10, x1, x4
	cmp	x10, #64
	b.lo	LBB0_6
; %bb.29:
	and	x9, x8, #0xfffffff0
	add	x10, x3, #32
	add	x11, x1, #32
	add	x12, x4, #32
	mov	x13, x9
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12], #64
	sshr.4s	v4, v4, #1
	sshr.4s	v5, v5, #1
	sshr.4s	v6, v6, #1
	sshr.4s	v7, v7, #1
	sub.4s	v0, v0, v4
	sub.4s	v1, v1, v5
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v7
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_30
; %bb.31:
	mov	x10, x6
	cmp	x9, x8
	b.ne	LBB0_6
	b	LBB0_15
LBB0_32:
	mov	x9, #0
	sub	x10, x1, x3
	cmp	x10, #64
	b.lo	LBB0_37
; %bb.33:
	sub	x10, x1, x4
	cmp	x10, #64
	b.lo	LBB0_37
; %bb.34:
	and	x9, x8, #0xfffffff0
	add	x10, x3, #32
	add	x11, x1, #32
	add	x12, x4, #32
	mov	x13, x9
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12], #64
	sub.4s	v0, v0, v4
	sub.4s	v1, v1, v5
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v7
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_35
; %bb.36:
	mov	x10, x6
	cmp	x9, x8
	b.eq	LBB0_40
LBB0_37:
	lsl	x12, x9, #2
	add	x10, x1, x12
	add	x11, x4, x12
	add	x12, x3, x12
	sub	x8, x8, x9
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x12], #4
	ldr	w13, [x11], #4
	sub	w9, w9, w13
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_38
; %bb.39:
	mov	x10, x6
LBB0_40:
	mov	w8, w10
	lsl	x8, x8, #2
	add	x0, x1, x8
	add	x1, x3, x8
	add	x2, x4, x8
	sub	w3, w5, w10
	mov	x4, x6
	b	_sub_png_paeth_prediction
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_png_filter_row
.subsections_via_symbols
