	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_process_IDAT_data          ## -- Begin function png_process_IDAT_data
	.p2align	4, 0x90
_png_process_IDAT_data:                 ## @png_process_IDAT_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	testq	%r14, %r14
	jle	LBB0_3
## %bb.2:
	leaq	40(%rbx), %r12
	movq	%r15, 64(%rbx)
	movq	%r14, 40(%rbx)
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_png_error
	movq	%r15, 64(%rbx)
	movq	%r14, 40(%rbx)
	testq	%r14, %r14
	jle	LBB0_22
## %bb.4:
	leaq	40(%rbx), %r12
LBB0_5:
	movq	_PNG_FLAG_ZSTREAM_ENDED@GOTPCREL(%rip), %r15
	movq	_Z_STREAM_END@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, (%r12)
	jle	LBB0_22
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	testl	%eax, (%rbx)
	jne	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 48(%rbx)
	jg	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	80(%rbx), %esi
	movl	84(%rbx), %edi
	callq	_PNG_ROWBYTES
	incq	%rax
	movq	%rax, 48(%rbx)
	movq	8(%rbx), %rax
	movq	%rax, 56(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_Z_SYNC_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_PNG_INFLATE
	movl	%eax, %r14d
	movl	(%r13), %eax
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%eax, %r14d
	jne	LBB0_12
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	56(%rbx), %rcx
	cmpq	8(%rbx), %rcx
	je	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%rbx), %rcx
	cmpq	24(%rbx), %rcx
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$7, 32(%rbx)
	jge	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 48(%rbx)
	je	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%eax, %r14d
	jne	LBB0_6
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_png_push_process_row
	movl	(%r13), %eax
	cmpl	%eax, %r14d
	jne	LBB0_6
	jmp	LBB0_26
LBB0_27:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_12:
	movl	(%r15), %eax
	orl	%eax, (%rbx)
	movq	$0, 72(%rbx)
	movq	16(%rbx), %rax
	cmpq	24(%rbx), %rax
	jge	LBB0_14
## %bb.13:
	cmpl	$7, 32(%rbx)
	jl	LBB0_16
LBB0_14:
	leaq	L_.str.1(%rip), %rsi
LBB0_15:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_png_warning                    ## TAILCALL
LBB0_21:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_png_warning
	movl	(%r15), %eax
	orl	%eax, (%rbx)
	movq	$0, 72(%rbx)
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_Z_DATA_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_17
## %bb.28:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_png_benign_error               ## TAILCALL
LBB0_17:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_png_error                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No IDAT data (internal error)"

	.comm	_PNG_FLAG_ZSTREAM_ENDED,4,2     ## @PNG_FLAG_ZSTREAM_ENDED
	.comm	_Z_SYNC_FLUSH,4,2               ## @Z_SYNC_FLUSH
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
L_.str.1:                               ## @.str.1
	.asciz	"Truncated compressed data in IDAT"

	.comm	_Z_DATA_ERROR,4,2               ## @Z_DATA_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"IDAT: ADLER32 checksum mismatch"

L_.str.3:                               ## @.str.3
	.asciz	"Decompression error in IDAT"

L_.str.4:                               ## @.str.4
	.asciz	"Extra compressed data in IDAT"

L_.str.5:                               ## @.str.5
	.asciz	"Extra compression data in IDAT"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_process_IDAT_data          ; -- Begin function png_process_IDAT_data
	.p2align	2
_png_process_IDAT_data:                 ; @png_process_IDAT_data
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.1:
	cmp	x20, #1
	b.lt	LBB0_3
; %bb.2:
	mov	x22, x19
	str	x20, [x22, #40]!
	str	x21, [x22, #24]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_png_error
	mov	x22, x19
	str	x20, [x22, #40]!
	str	x21, [x22, #24]
	cmp	x20, #1
	b.lt	LBB0_23
LBB0_4:
Lloh2:
	adrp	x21, _PNG_FLAG_ZSTREAM_ENDED@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PNG_FLAG_ZSTREAM_ENDED@GOTPAGEOFF]
Lloh4:
	adrp	x23, _Z_SYNC_FLUSH@GOTPAGE
Lloh5:
	ldr	x23, [x23, _Z_SYNC_FLUSH@GOTPAGEOFF]
Lloh6:
	adrp	x24, _Z_OK@GOTPAGE
Lloh7:
	ldr	x24, [x24, _Z_OK@GOTPAGEOFF]
Lloh8:
	adrp	x25, _Z_STREAM_END@GOTPAGE
Lloh9:
	ldr	x25, [x25, _Z_STREAM_END@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_23
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #48]
	cmp	x8, #0
	b.gt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w1, w0, [x19, #80]
	bl	_PNG_ROWBYTES
	ldr	x8, [x19, #8]
	add	x9, x0, #1
	stp	x9, x8, [x19, #48]
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_PNG_INFLATE
	mov	x20, x0
	ldr	w9, [x24]
	ldr	w8, [x25]
	cmp	w0, w9
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x19, #56]
	ldr	x10, [x19, #8]
	cmp	x9, x10
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	x9, x10, [x19, #16]
	cmp	x9, x10
	b.ge	LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x19, #32]
	cmp	w9, #7
	b.ge	LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x19, #48]
	cbz	x9, LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w20, w8
	b.ne	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_png_push_process_row
	ldr	w8, [x25]
	cmp	w20, w8
	b.ne	LBB0_5
	b	LBB0_15
LBB0_17:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_21
LBB0_18:
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #72]
	ldp	x8, x9, [x19, #16]
	cmp	x8, x9
	b.ge	LBB0_20
; %bb.19:
	ldr	w8, [x19, #32]
	cmp	w8, #7
	b.lt	LBB0_24
LBB0_20:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_png_warning
LBB0_22:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_png_warning
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #72]
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh16:
	adrp	x8, _Z_DATA_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _Z_DATA_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_26
; %bb.25:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_png_benign_error
LBB0_26:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_png_error
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No IDAT data (internal error)"

	.comm	_PNG_FLAG_ZSTREAM_ENDED,4,2     ; @PNG_FLAG_ZSTREAM_ENDED
	.comm	_Z_SYNC_FLUSH,4,2               ; @Z_SYNC_FLUSH
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
l_.str.1:                               ; @.str.1
	.asciz	"Truncated compressed data in IDAT"

	.comm	_Z_DATA_ERROR,4,2               ; @Z_DATA_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"IDAT: ADLER32 checksum mismatch"

l_.str.3:                               ; @.str.3
	.asciz	"Decompression error in IDAT"

l_.str.4:                               ; @.str.4
	.asciz	"Extra compressed data in IDAT"

l_.str.5:                               ; @.str.5
	.asciz	"Extra compression data in IDAT"

.subsections_via_symbols
