	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_read_finish_IDAT           ## -- Begin function png_read_finish_IDAT
	.p2align	4, 0x90
_png_read_finish_IDAT:                  ## @png_read_finish_IDAT
	.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	%rdi, %rbx
	movq	_PNG_FLAG_ZSTREAM_ENDED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_png_read_IDAT_data
	movq	$0, 40(%rbx)
	movl	(%rbx), %eax
	movl	(%r14), %ecx
	testl	%eax, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_PNG_AFTER_IDAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, 48(%rbx)
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
LBB0_3:
	movq	8(%rbx), %rax
	movq	_png_IDAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	$0, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_png_crc_finish                 ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FLAG_ZSTREAM_ENDED,4,2     ## @PNG_FLAG_ZSTREAM_ENDED
	.comm	_PNG_AFTER_IDAT,4,2             ## @PNG_AFTER_IDAT
	.comm	_png_IDAT,8,3                   ## @png_IDAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_read_finish_IDAT           ; -- Begin function png_read_finish_IDAT
	.p2align	2
_png_read_finish_IDAT:                  ; @png_read_finish_IDAT
	.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	w8, [x0]
Lloh0:
	adrp	x20, _PNG_FLAG_ZSTREAM_ENDED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PNG_FLAG_ZSTREAM_ENDED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_png_read_IDAT_data
	str	xzr, [x19, #40]
	ldr	w8, [x19]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x10, _PNG_AFTER_IDAT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PNG_AFTER_IDAT@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	ldr	w11, [x19, #48]
	orr	w10, w11, w10
	str	w10, [x19, #48]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _png_IDAT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _png_IDAT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	str	xzr, [x19, #8]
	stp	xzr, xzr, [x19, #24]
	ldr	w1, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_png_crc_finish
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FLAG_ZSTREAM_ENDED,4,2     ; @PNG_FLAG_ZSTREAM_ENDED
	.comm	_PNG_AFTER_IDAT,4,2             ; @PNG_AFTER_IDAT
	.comm	_png_IDAT,8,3                   ; @png_IDAT
.subsections_via_symbols
