	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpng_process_image             ## -- Begin function rpng_process_image
	.p2align	4, 0x90
_rpng_process_image:                    ## @rpng_process_image
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	cmpl	$0, 24(%rax)
	je	LBB0_4
## %bb.6:
	movl	8(%rbx), %eax
	movl	%eax, (%rcx)
	movl	12(%rbx), %eax
	movl	%eax, (%r8)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_png_reverse_filter_iterate     ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_rpng_process_init
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, (%rbx)
	movq	_IMAGE_PROCESS_NEXT@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	%rbx, %rdi
	callq	_rpng_load_image_argb_process_inflate_init
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.5:
	movq	_IMAGE_PROCESS_NEXT@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.8:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %rdi
	callq	_free
	movq	(%rbx), %rdi
LBB0_10:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	8(%rdi), %rcx
	movq	%rax, %rdi
	callq	*(%rcx)
	movq	(%rbx), %rdi
LBB0_12:
	callq	_free
LBB0_13:
	movq	_IMAGE_PROCESS_ERROR@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMAGE_PROCESS_NEXT,4,2         ## @IMAGE_PROCESS_NEXT
	.comm	_IMAGE_PROCESS_ERROR,4,2        ## @IMAGE_PROCESS_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpng_process_image             ; -- Begin function rpng_process_image
	.p2align	2
_rpng_process_image:                    ; @rpng_process_image
	.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, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x8, #24]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	str	w8, [x3]
	ldr	w8, [x19, #12]
	str	w8, [x4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_png_reverse_filter_iterate
LBB0_3:
	mov	x0, x19
	bl	_rpng_process_init
	cbz	x0, LBB0_7
; %bb.4:
	str	x0, [x19]
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_rpng_load_image_argb_process_inflate_init
	cmn	w0, #1
	b.eq	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _IMAGE_PROCESS_NEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IMAGE_PROCESS_NEXT@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
	ldr	x0, [x19]
	cbz	x0, LBB0_13
; %bb.8:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x8
	bl	_free
	ldr	x0, [x19]
LBB0_10:
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
	mov	x0, x8
	blr	x9
	ldr	x0, [x19]
LBB0_12:
	bl	_free
LBB0_13:
Lloh2:
	adrp	x8, _IMAGE_PROCESS_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IMAGE_PROCESS_ERROR@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IMAGE_PROCESS_NEXT,4,2         ; @IMAGE_PROCESS_NEXT
	.comm	_IMAGE_PROCESS_ERROR,4,2        ; @IMAGE_PROCESS_ERROR
.subsections_via_symbols
