	.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_sub_row_only
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_png_setup_sub_row_only:                ## @png_setup_sub_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PNG_FILTER_VALUE_SUB@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rdi), %rax
	movq	%rcx, (%rax)
	movq	(%rdi), %r10
	leaq	8(%rax), %rcx
	leaq	8(%r10), %r14
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.1:
	xorl	%r8d, %r8d
	cmpq	$4, %rsi
	jb	LBB0_11
## %bb.2:
	movq	%rax, %rdi
	subq	%r10, %rdi
	cmpq	$32, %rdi
	jb	LBB0_11
## %bb.3:
	movq	%rsi, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rdi
	movq	%rdi, %rbx
	shrq	$2, %rbx
	incq	%rbx
	movl	%ebx, %r9d
	andl	$3, %r9d
	cmpq	$12, %rdi
	jae	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	8(%r10,%rdi,8), %xmm0
	movups	24(%r10,%rdi,8), %xmm1
	movups	%xmm0, 8(%rax,%rdi,8)
	movups	%xmm1, 24(%rax,%rdi,8)
	movups	40(%r10,%rdi,8), %xmm0
	movups	56(%r10,%rdi,8), %xmm1
	movups	%xmm0, 40(%rax,%rdi,8)
	movups	%xmm1, 56(%rax,%rdi,8)
	movups	72(%r10,%rdi,8), %xmm0
	movups	88(%r10,%rdi,8), %xmm1
	movups	%xmm0, 72(%rax,%rdi,8)
	movups	%xmm1, 88(%rax,%rdi,8)
	movdqu	104(%r10,%rdi,8), %xmm0
	movdqu	120(%r10,%rdi,8), %xmm1
	movdqu	%xmm0, 104(%rax,%rdi,8)
	movdqu	%xmm1, 120(%rax,%rdi,8)
	addq	$16, %rdi
	addq	$-4, %rbx
	jne	LBB0_6
LBB0_7:
	testq	%r9, %r9
	je	LBB0_10
## %bb.8:
	leaq	(%rax,%rdi,8), %rax
	addq	$24, %rax
	leaq	(%r10,%rdi,8), %rdi
	addq	$24, %rdi
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rdi,%rbx), %xmm0
	movdqu	(%rdi,%rbx), %xmm1
	movdqu	%xmm0, -16(%rax,%rbx)
	movdqu	%xmm1, (%rax,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_9
LBB0_10:
	leaq	(%r14,%r8,8), %r14
	leaq	(%rcx,%r8,8), %rcx
	cmpq	%rsi, %r8
	je	LBB0_19
LBB0_11:
	movl	%esi, %edi
	subl	%r8d, %edi
	movq	%r8, %r9
	notq	%r9
	addq	%rsi, %r9
	andq	$7, %rdi
	je	LBB0_15
## %bb.12:
	negq	%rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	%rax, (%rcx)
	addq	$8, %rcx
	addq	$8, %r14
	decq	%rbx
	cmpq	%rbx, %rdi
	jne	LBB0_13
## %bb.14:
	subq	%rbx, %r8
LBB0_15:
	cmpq	$7, %r9
	jb	LBB0_19
## %bb.16:
	movq	%rsi, %r9
	subq	%r8, %r9
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rax
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r14,%rbx,8), %rax
	movq	%rax, 8(%rcx,%rbx,8)
	movq	16(%r14,%rbx,8), %rax
	movq	%rax, 16(%rcx,%rbx,8)
	movq	24(%r14,%rbx,8), %rax
	movq	%rax, 24(%rcx,%rbx,8)
	movq	32(%r14,%rbx,8), %rax
	movq	%rax, 32(%rcx,%rbx,8)
	movq	40(%r14,%rbx,8), %rax
	movq	%rax, 40(%rcx,%rbx,8)
	movq	48(%r14,%rbx,8), %rax
	movq	%rax, 48(%rcx,%rbx,8)
	movq	56(%r14,%rbx,8), %rax
	movq	%rax, 56(%rcx,%rbx,8)
	addq	$-64, %rdi
	addq	$8, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_17
## %bb.18:
	subq	%rdi, %r14
	subq	%rdi, %rcx
LBB0_19:
	movq	%rdx, %r8
	subq	%rsi, %r8
	jbe	LBB0_38
## %bb.20:
	cmpq	$4, %r8
	jae	LBB0_21
LBB0_31:
	movl	%edx, %edi
	subl	%esi, %edi
	movq	%rsi, %r8
	notq	%r8
	addq	%rdx, %r8
	andq	$3, %rdi
	je	LBB0_35
## %bb.32:
	shlq	$3, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx), %eax
	subl	8(%r10,%rbx), %eax
	movzbl	%al, %eax
	movq	%rax, (%rcx,%rbx)
	incq	%rsi
	addq	$8, %rbx
	cmpq	%rbx, %rdi
	jne	LBB0_33
## %bb.34:
	addq	%rbx, %r10
	addq	%rbx, %rcx
	addq	%rbx, %r14
LBB0_35:
	cmpq	$3, %r8
	jb	LBB0_38
## %bb.36:
	subq	%rsi, %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rax,8), %esi
	subl	8(%r10,%rax,8), %esi
	movzbl	%sil, %esi
	movq	%rsi, (%rcx,%rax,8)
	movl	8(%r14,%rax,8), %esi
	subl	16(%r10,%rax,8), %esi
	movzbl	%sil, %esi
	movq	%rsi, 8(%rcx,%rax,8)
	movl	16(%r14,%rax,8), %esi
	subl	24(%r10,%rax,8), %esi
	movzbl	%sil, %esi
	movq	%rsi, 16(%rcx,%rax,8)
	movl	24(%r14,%rax,8), %esi
	subl	32(%r10,%rax,8), %esi
	movzbl	%sil, %esi
	movq	%rsi, 24(%rcx,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %rdx
	jne	LBB0_37
	jmp	LBB0_38
LBB0_21:
	movq	%rcx, %rax
	subq	%r10, %rax
	addq	$-8, %rax
	cmpq	$32, %rax
	jb	LBB0_31
## %bb.22:
	movq	%rcx, %rax
	subq	%r14, %rax
	cmpq	$32, %rax
	jb	LBB0_31
## %bb.23:
	movq	%r8, %r9
	andq	$-4, %r9
	leaq	-4(%r9), %rax
	movq	%rax, %r11
	shrq	$2, %r11
	incq	%r11
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movabsq	$9223372036854775804, %rbx      ## imm = 0x7FFFFFFFFFFFFFFC
	orq	$2, %rbx
	andq	%r11, %rbx
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0]
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%r14,%rax,8), %xmm1
	movdqu	16(%r14,%rax,8), %xmm2
	movdqu	8(%r10,%rax,8), %xmm3
	psubq	%xmm3, %xmm1
	movdqu	24(%r10,%rax,8), %xmm3
	psubq	%xmm3, %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rax,8)
	movdqu	%xmm2, 16(%rcx,%rax,8)
	movdqu	32(%r14,%rax,8), %xmm1
	movdqu	48(%r14,%rax,8), %xmm2
	movdqu	40(%r10,%rax,8), %xmm3
	psubq	%xmm3, %xmm1
	movdqu	56(%r10,%rax,8), %xmm3
	psubq	%xmm3, %xmm2
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	%xmm1, 32(%rcx,%rax,8)
	movdqu	%xmm2, 48(%rcx,%rax,8)
	addq	$8, %rax
	addq	$-2, %rbx
	jne	LBB0_26
## %bb.27:
	testb	$1, %r11b
	je	LBB0_29
LBB0_28:
	movdqu	(%r14,%rax,8), %xmm0
	movdqu	16(%r14,%rax,8), %xmm1
	movdqu	8(%r10,%rax,8), %xmm2
	psubq	%xmm2, %xmm0
	movdqu	24(%r10,%rax,8), %xmm2
	psubq	%xmm2, %xmm1
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0]
	pand	%xmm2, %xmm0
	pand	%xmm2, %xmm1
	movdqu	%xmm0, (%rcx,%rax,8)
	movdqu	%xmm1, 16(%rcx,%rax,8)
LBB0_29:
	cmpq	%r9, %r8
	jne	LBB0_30
LBB0_38:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_30:
	addq	%r9, %rsi
	leaq	(%r10,%r9,8), %r10
	leaq	(%rcx,%r9,8), %rcx
	leaq	(%r14,%r9,8), %r14
	jmp	LBB0_31
LBB0_24:
	xorl	%eax, %eax
	testb	$1, %r11b
	jne	LBB0_28
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FILTER_VALUE_SUB,8,3       ## @PNG_FILTER_VALUE_SUB
	.no_dead_strip	_png_setup_sub_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_sub_row_only
_png_setup_sub_row_only:                ; @png_setup_sub_row_only
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PNG_FILTER_VALUE_SUB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PNG_FILTER_VALUE_SUB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x10, x12, [x0]
	mov	x9, x12
	str	x8, [x9], #8
	add	x8, x10, #8
	cbz	x1, LBB0_8
; %bb.1:
	mov	x11, #0
	cmp	x1, #8
	b.lo	LBB0_6
; %bb.2:
	sub	x13, x12, x10
	cmp	x13, #64
	b.lo	LBB0_6
; %bb.3:
	and	x11, x1, #0xfffffffffffffff8
	lsl	x13, x11, #3
	add	x8, x8, x13
	add	x9, x9, x13
	add	x12, x12, #40
	add	x13, x10, #40
	mov	x14, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x1
	b.eq	LBB0_8
LBB0_6:
	sub	x11, x1, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8], #8
	str	x12, [x9], #8
	subs	x11, x11, #1
	b.ne	LBB0_7
LBB0_8:
	subs	x14, x2, x1
	b.ls	LBB0_18
; %bb.9:
	cmp	x14, #8
	b.lo	LBB0_15
; %bb.10:
	sub	x11, x9, x10
	sub	x11, x11, #8
	cmp	x11, #64
	b.lo	LBB0_15
; %bb.11:
	sub	x11, x9, x8
	cmp	x11, #64
	b.lo	LBB0_15
; %bb.12:
	and	x15, x14, #0xfffffffffffffff8
	add	x1, x15, x1
	lsl	x12, x15, #3
	add	x13, x10, x12
	add	x11, x9, x12
	add	x12, x8, x12
	add	x9, x9, #32
	add	x10, x10, #40
	add	x8, x8, #32
	movi.2d	v0, #0x000000000000ff
	mov	x16, x15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x8, #-32]
	ldp	q3, q4, [x8], #64
	ldp	q5, q6, [x10, #-32]
	ldp	q7, q16, [x10], #64
	sub.2d	v1, v1, v5
	sub.2d	v2, v2, v6
	sub.2d	v3, v3, v7
	sub.2d	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, [x9, #-32]
	stp	q3, q4, [x9], #64
	subs	x16, x16, #8
	b.ne	LBB0_13
; %bb.14:
	cmp	x14, x15
	b.ne	LBB0_16
	b	LBB0_18
LBB0_15:
	mov	x13, x10
	mov	x11, x9
	mov	x12, x8
LBB0_16:
	sub	x8, x2, x1
	add	x9, x13, #8
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x12], #8
	ldr	w13, [x9], #8
	sub	w10, w10, w13
	and	x10, x10, #0xff
	str	x10, [x11], #8
	subs	x8, x8, #1
	b.ne	LBB0_17
LBB0_18:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FILTER_VALUE_SUB,8,3       ; @PNG_FILTER_VALUE_SUB
	.no_dead_strip	_png_setup_sub_row_only
.subsections_via_symbols
