	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function png_setup_paeth_row_only
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_png_setup_paeth_row_only:              ## @png_setup_paeth_row_only
	.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
	movq	%rsi, %rbx
	movq	_PNG_FILTER_VALUE_PAETH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rdi), %rax
	movl	%ecx, (%rax)
	movq	(%rdi), %r13
	movq	8(%rdi), %r11
	leaq	4(%rax), %r15
	leaq	4(%r13), %rdi
	leaq	4(%r11), %r12
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpq	$8, %rbx
	jae	LBB0_4
## %bb.3:
	xorl	%r14d, %r14d
LBB0_5:
	movq	%r12, %rcx
	movq	%rdi, %rax
LBB0_14:
	movq	%r14, %r8
	notq	%r8
	addq	%rbx, %r8
	movq	%rbx, %r9
	andq	$3, %r9
	je	LBB0_18
## %bb.15:
	movq	%rdi, %r10
	movq	%rbx, %rdi
	negq	%r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	subl	(%rax), %esi
	movzbl	%sil, %esi
	movl	%esi, (%r15)
	addq	$4, %r15
	addq	$4, %rax
	addq	$4, %rcx
	decq	%rbx
	cmpq	%rbx, %r9
	jne	LBB0_16
## %bb.17:
	subq	%rbx, %r14
	movq	%rdi, %rbx
	movq	%r10, %rdi
LBB0_18:
	cmpq	$3, %r8
	jb	LBB0_22
## %bb.19:
	movq	%rdi, %r10
	movq	%rbx, %r9
	movq	%rbx, %r8
	subq	%r14, %r8
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %edi
	subl	(%rax,%rsi,4), %edi
	movzbl	%dil, %edi
	movl	%edi, (%r15,%rsi,4)
	movl	4(%rcx,%rsi,4), %edi
	subl	4(%rax,%rsi,4), %edi
	movzbl	%dil, %edi
	movl	%edi, 4(%r15,%rsi,4)
	movl	8(%rcx,%rsi,4), %edi
	subl	8(%rax,%rsi,4), %edi
	movzbl	%dil, %edi
	movl	%edi, 8(%r15,%rsi,4)
	movl	12(%rcx,%rsi,4), %edi
	subl	12(%rax,%rsi,4), %edi
	movzbl	%dil, %edi
	movl	%edi, 12(%r15,%rsi,4)
	addq	$-16, %rbx
	addq	$4, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_20
## %bb.21:
	subq	%rbx, %rcx
	subq	%rbx, %rax
	subq	%rbx, %r15
	movq	%r9, %rbx
	movq	%r10, %rdi
	jmp	LBB0_22
LBB0_1:
	movq	%rdi, %rax
	movq	%r12, %rcx
LBB0_22:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	subq	%rbx, %r12
	jbe	LBB0_36
## %bb.23:
	cmpq	$4, %r12
	jb	LBB0_24
## %bb.25:
	movq	%r15, %rsi
	subq	%r13, %rsi
	addq	$-4, %rsi
	cmpq	$16, %rsi
	jb	LBB0_24
## %bb.26:
	movq	%r15, %rsi
	subq	%rax, %rsi
	cmpq	$16, %rsi
	jb	LBB0_24
## %bb.27:
	movq	%r15, %rsi
	subq	%rcx, %rsi
	cmpq	$16, %rsi
	jb	LBB0_24
## %bb.28:
	movq	%r15, %rsi
	subq	%r11, %rsi
	addq	$-4, %rsi
	cmpq	$16, %rsi
	jb	LBB0_24
## %bb.29:
	movq	%r13, %rsi
	movq	%r12, %r13
	andq	$-4, %r13
	leaq	(%rcx,%r13,4), %r14
	leaq	(%r15,%r13,4), %r10
	leaq	(%rax,%r13,4), %r9
	leaq	(%rsi,%r13,4), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r11,%r13,4), %r11
	addq	%r13, %rbx
	xorl	%r8d, %r8d
	pcmpeqd	%xmm9, %xmm9
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%r8,4), %xmm6
	movdqu	(%rdi,%r8,4), %xmm5
	movdqu	(%rsi,%r8,4), %xmm4
	movdqa	%xmm6, %xmm0
	psubd	%xmm5, %xmm0
	movdqa	%xmm4, %xmm1
	psubd	%xmm5, %xmm1
	pabsd	%xmm0, %xmm2
	pabsd	%xmm1, %xmm3
	paddd	%xmm0, %xmm1
	pabsd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm7
	pminud	%xmm3, %xmm7
	pcmpeqd	%xmm2, %xmm7
	pxor	%xmm9, %xmm7
	movdqa	%xmm2, %xmm1
	pminud	%xmm0, %xmm1
	pcmpeqd	%xmm2, %xmm1
	pxor	%xmm9, %xmm1
	por	%xmm7, %xmm1
	pminud	%xmm3, %xmm0
	pcmpeqd	%xmm3, %xmm0
	blendvps	%xmm0, %xmm6, %xmm5
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm5, %xmm4
	movdqu	(%rcx,%r8,4), %xmm0
	psubd	%xmm4, %xmm0
	pand	%xmm8, %xmm0
	movdqu	%xmm0, (%r15,%r8,4)
	addq	$4, %r8
	cmpq	%r8, %r13
	jne	LBB0_30
## %bb.31:
	cmpq	%r13, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_32
LBB0_36:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	%rcx, %r14
	movq	%r15, %r10
	movq	%rax, %r9
LBB0_32:
	subq	%rbx, %rdx
	xorl	%eax, %eax
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	cmpl	%esi, %ebx
	cmoval	%r12d, %r15d
	cmpl	%ecx, %ebx
	cmoval	%r12d, %r15d
	movl	(%r14,%rax,4), %ecx
	subl	%r15d, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, (%r10,%rax,4)
	incq	%rax
	cmpq	%rax, %rdx
	je	LBB0_36
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rax,4), %r8d
	movl	4(%r13,%rax,4), %r12d
	movl	4(%r11,%rax,4), %r15d
	movl	%r8d, %esi
	subl	%r12d, %esi
	movl	%r15d, %edi
	subl	%r12d, %edi
	movl	%esi, %ebx
	negl	%ebx
	cmovsl	%esi, %ebx
	movl	%edi, %ecx
	negl	%ecx
	cmovsl	%edi, %ecx
	addl	%esi, %edi
	movl	%edi, %esi
	negl	%esi
	cmovsl	%edi, %esi
	cmpl	%esi, %ecx
	ja	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	%r8d, %r12d
	jmp	LBB0_35
LBB0_4:
	leaq	4(%rax), %rcx
	movq	%rcx, %rsi
	subq	%r11, %rsi
	addq	$-4, %rsi
	xorl	%r14d, %r14d
	cmpq	$32, %rsi
	jb	LBB0_5
## %bb.6:
	subq	%r13, %rcx
	addq	$-4, %rcx
	cmpq	$32, %rcx
	jb	LBB0_5
## %bb.7:
	movq	%rbx, %r14
	andq	$-8, %r14
	leaq	-8(%r14), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	movq	%rbx, %rsi
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.9:
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	4(%r11,%rcx,4), %xmm1
	movdqu	20(%r11,%rcx,4), %xmm2
	movdqu	4(%r13,%rcx,4), %xmm3
	psubd	%xmm3, %xmm1
	movdqu	20(%r13,%rcx,4), %xmm3
	psubd	%xmm3, %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, 4(%rax,%rcx,4)
	movdqu	%xmm2, 20(%rax,%rcx,4)
	movdqu	36(%r11,%rcx,4), %xmm1
	movdqu	52(%r11,%rcx,4), %xmm2
	movdqu	36(%r13,%rcx,4), %xmm3
	psubd	%xmm3, %xmm1
	movdqu	52(%r13,%rcx,4), %xmm3
	psubd	%xmm3, %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, 36(%rax,%rcx,4)
	movdqu	%xmm2, 52(%rax,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rbx
	jne	LBB0_10
## %bb.11:
	testb	$1, %r8b
	je	LBB0_13
LBB0_12:
	movdqu	(%r12,%rcx,4), %xmm0
	movdqu	16(%r12,%rcx,4), %xmm1
	movdqu	(%rdi,%rcx,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	16(%rdi,%rcx,4), %xmm2
	psubd	%xmm2, %xmm1
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	pand	%xmm2, %xmm0
	pand	%xmm2, %xmm1
	movdqu	%xmm0, (%r15,%rcx,4)
	movdqu	%xmm1, 16(%r15,%rcx,4)
LBB0_13:
	leaq	(%r12,%r14,4), %rcx
	leaq	(%rdi,%r14,4), %rax
	leaq	(%r15,%r14,4), %r15
	movq	%rsi, %rbx
	cmpq	%rsi, %r14
	jne	LBB0_14
	jmp	LBB0_22
LBB0_8:
	xorl	%ecx, %ecx
	testb	$1, %r8b
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FILTER_VALUE_PAETH,4,2     ## @PNG_FILTER_VALUE_PAETH
	.no_dead_strip	_png_setup_paeth_row_only
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_setup_paeth_row_only
_png_setup_paeth_row_only:              ; @png_setup_paeth_row_only
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PNG_FILTER_VALUE_PAETH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PNG_FILTER_VALUE_PAETH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x16, [x0, #16]
	mov	x10, x16
	str	w8, [x10], #4
	ldp	x9, x8, [x0]
	add	x11, x9, #4
	add	x12, x8, #4
	cbz	x1, LBB0_6
; %bb.1:
	cmp	x1, #16
	b.hs	LBB0_14
; %bb.2:
	mov	x15, #0
LBB0_3:
	mov	x14, x12
	mov	x13, x11
LBB0_4:
	sub	x15, x1, x15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w16, [x14], #4
	ldr	w17, [x13], #4
	sub	w16, w16, w17
	and	w16, w16, #0xff
	str	w16, [x10], #4
	subs	x15, x15, #1
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	x13, x11
	mov	x14, x12
LBB0_7:
	subs	x0, x2, x1
	b.ls	LBB0_13
; %bb.8:
	cmp	x0, #4
	b.lo	LBB0_10
; %bb.9:
	sub	x15, x10, x9
	sub	x15, x15, #4
	sub	x16, x10, x13
	sub	x17, x10, x14
	sub	x3, x10, x8
	sub	x3, x3, #4
	cmp	x15, #16
	ccmp	x16, #16, #0, hs
	ccmp	x17, #16, #0, hs
	ccmp	x3, #16, #0, hs
	b.hs	LBB0_19
LBB0_10:
	mov	x15, x14
	mov	x16, x10
	mov	x17, x13
LBB0_11:
	add	x9, x9, #4
	add	x8, x8, #4
	sub	x10, x2, x1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x17], #4
	ldr	w12, [x9], #4
	ldr	w13, [x8], #4
	subs	w14, w11, w12
	cneg	w0, w14, mi
	sub	w1, w13, w12
	cmp	w1, #0
	cneg	w2, w1, mi
	adds	w14, w1, w14
	cneg	w14, w14, mi
	cmp	w2, w14
	csel	w11, w12, w11, hi
	cmp	w0, w14
	ccmp	w0, w2, #2, ls
	ldr	w12, [x15], #4
	csel	w11, w11, w13, hi
	sub	w11, w12, w11
	and	w11, w11, #0xff
	str	w11, [x16], #4
	subs	x10, x10, #1
	b.ne	LBB0_12
LBB0_13:
	ret
LBB0_14:
	mov	x15, #0
	add	x13, x16, #4
	sub	x14, x13, x8
	sub	x14, x14, #4
	cmp	x14, #64
	b.lo	LBB0_3
; %bb.15:
	sub	x13, x13, x9
	sub	x17, x13, #4
	mov	x14, x12
	mov	x13, x11
	cmp	x17, #64
	b.lo	LBB0_4
; %bb.16:
	and	x15, x1, #0xfffffffffffffff0
	lsl	x17, x15, #2
	add	x14, x12, x17
	add	x13, x11, x17
	add	x10, x10, x17
	add	x16, x16, #36
	add	x17, x8, #36
	add	x0, x9, #36
	movi.2d	v0, #0x0000ff000000ff
	mov	x3, x15
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x17, #-32]
	ldp	q3, q4, [x17], #64
	ldp	q5, q6, [x0, #-32]
	ldp	q7, q16, [x0], #64
	sub.4s	v1, v1, v5
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v7
	sub.4s	v4, v4, v16
	and.16b	v1, v1, v0
	and.16b	v2, v2, v0
	and.16b	v3, v3, v0
	and.16b	v4, v4, v0
	stp	q1, q2, [x16, #-32]
	stp	q3, q4, [x16], #64
	subs	x3, x3, #16
	b.ne	LBB0_17
; %bb.18:
	cmp	x15, x1
	b.ne	LBB0_4
	b	LBB0_7
LBB0_19:
	and	x3, x0, #0xfffffffffffffffc
	lsl	x4, x3, #2
	add	x15, x14, x4
	add	x16, x10, x4
	add	x17, x13, x4
	add	x9, x9, x4
	add	x8, x8, x4
	add	x1, x3, x1
	movi.2d	v0, #0x0000ff000000ff
	mov	x4, x3
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	q1, [x13], #16
	ldr	q2, [x11], #16
	ldr	q3, [x12], #16
	sub.4s	v4, v1, v2
	sub.4s	v5, v3, v2
	abs.4s	v6, v4
	abs.4s	v7, v5
	add.4s	v4, v5, v4
	abs.4s	v4, v4
	cmhi.4s	v5, v6, v7
	cmhi.4s	v6, v6, v4
	orr.16b	v5, v5, v6
	cmhi.4s	v4, v7, v4
	bit.16b	v1, v2, v4
	ldr	q2, [x14], #16
	bif.16b	v1, v3, v5
	sub.4s	v1, v2, v1
	and.16b	v1, v1, v0
	str	q1, [x10], #16
	subs	x4, x4, #4
	b.ne	LBB0_20
; %bb.21:
	cmp	x0, x3
	b.ne	LBB0_11
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FILTER_VALUE_PAETH,4,2     ; @PNG_FILTER_VALUE_PAETH
	.no_dead_strip	_png_setup_paeth_row_only
.subsections_via_symbols
