	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_reverse_filter_adam7
_png_reverse_filter_adam7:              ## @png_reverse_filter_adam7
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_png_reverse_filter_adam7_iterate
	cmpl	$130, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.2:
	incl	24(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_free
	movq	$0, 16(%rbx)
LBB0_5:
	movl	(%rbx), %eax
	subl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_6:
	movl	(%rbx), %ecx
	subl	%ecx, 8(%rbx)
	movq	$0, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_png_reverse_filter_adam7
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_reverse_filter_adam7
_png_reverse_filter_adam7:              ; @png_reverse_filter_adam7
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_png_reverse_filter_adam7_iterate
	cmp	w0, #130
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_6
; %bb.2:
	mov	w0, #0
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	b	LBB0_7
LBB0_3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_free
	str	xzr, [x19, #16]
LBB0_5:
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	sub	w8, w9, w8
	str	w8, [x19, #8]
	str	xzr, [x19]
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	sub	w8, w9, w8
	str	w8, [x19, #8]
	str	xzr, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_png_reverse_filter_adam7
.subsections_via_symbols
