	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_setup_up_row
_png_setup_up_row:                      ## @png_setup_up_row
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PNG_FILTER_VALUE_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %r8
	movl	%eax, (%r8)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %r9
	movq	16(%rdi), %r10
	movl	$1, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r11
	movl	(%r9,%rcx,4), %eax
	subl	(%r10,%rcx,4), %eax
	movzbl	%al, %edi
	movl	%edi, (%r8,%rcx,4)
	movl	$256, %eax                      ## imm = 0x100
	subl	%edi, %eax
	cmpl	$128, %edi
	cmovbl	%edi, %eax
	addq	%r11, %rax
	cmpq	%rdx, %rax
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rcx), %rdi
	cmpq	%rcx, %rsi
	movq	%rdi, %rcx
	jne	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FILTER_VALUE_UP,4,2        ## @PNG_FILTER_VALUE_UP
	.no_dead_strip	_png_setup_up_row
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_setup_up_row
_png_setup_up_row:                      ; @png_setup_up_row
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _PNG_FILTER_VALUE_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PNG_FILTER_VALUE_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x10, [x0]
	str	w9, [x10]
	cbz	x1, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldp	x8, x9, [x8, #8]
	add	x8, x8, #4
	add	x9, x9, #4
	add	x10, x10, #4
	sub	x11, x1, #1
	mov	w12, #256
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x8], #4
	ldr	w14, [x9], #4
	sub	w13, w13, w14
	and	w13, w13, #0xff
	str	w13, [x10], #4
	sub	w14, w12, w13
	cmp	w13, #128
	csel	w13, w13, w14, lo
	add	x0, x0, x13
	cmp	x0, x2
	ccmp	x11, #0, #4, ls
	sub	x11, x11, #1
	b.ne	LBB0_2
; %bb.3:
	ret
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FILTER_VALUE_UP,4,2        ; @PNG_FILTER_VALUE_UP
	.no_dead_strip	_png_setup_up_row
.subsections_via_symbols
