	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_inflate_claim
_png_inflate_claim:                     ## @png_inflate_claim
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	callq	_PNG_STRING_FROM_CHUNK
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	$64, %esi
	movl	$4, %edx
	callq	_png_safecat
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_png_chunk_error
LBB0_2:
	leaq	24(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movups	%xmm0, 24(%rbx)
	movq	_PNG_FLAG_ZSTREAM_INITIALIZED@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_6
## %bb.3:
	callq	_inflateReset
	movl	%eax, %r15d
	movq	_Z_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_6:
	callq	_inflateInit
	movl	%eax, %r15d
	movq	_Z_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jne	LBB0_4
## %bb.7:
	movl	(%r12), %eax
	orl	%eax, 16(%rbx)
	jmp	LBB0_8
LBB0_4:
	cmpl	%eax, %r15d
	jne	LBB0_5
LBB0_8:
	movq	%r14, (%rbx)
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_png_zstream_error
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r15d, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" using zstream"

	.comm	_PNG_FLAG_ZSTREAM_INITIALIZED,4,2 ## @PNG_FLAG_ZSTREAM_INITIALIZED
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_PNG_FLAG_CRC_CRITICAL_IGNORE,4,2 ## @PNG_FLAG_CRC_CRITICAL_IGNORE
	.comm	_PNG_MAXIMUM_INFLATE_WINDOW,4,2 ## @PNG_MAXIMUM_INFLATE_WINDOW
	.comm	_PNG_OPTION_ON,4,2              ## @PNG_OPTION_ON
	.no_dead_strip	_png_inflate_claim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_inflate_claim
_png_inflate_claim:                     ; @png_inflate_claim
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x1, [x0]
	cbz	x1, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_PNG_STRING_FROM_CHUNK
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	mov	w2, #4
	bl	_png_safecat
	add	x1, sp, #8
	mov	x0, x19
	bl	_png_chunk_error
LBB0_2:
	movi.2d	v0, #0000000000000000
	mov	x0, x19
	str	q0, [x0, #24]!
	str	q0, [x0, #16]
	ldur	w8, [x0, #-8]
Lloh5:
	adrp	x22, _PNG_FLAG_ZSTREAM_INITIALIZED@GOTPAGE
Lloh6:
	ldr	x22, [x22, _PNG_FLAG_ZSTREAM_INITIALIZED@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	bl	_inflateReset
	mov	x21, x0
Lloh7:
	adrp	x8, _Z_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	b	LBB0_6
LBB0_4:
	bl	_inflateInit
	mov	x21, x0
Lloh10:
	adrp	x8, _Z_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x22]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	b	LBB0_7
LBB0_6:
	cmp	w21, w8
	b.ne	LBB0_8
LBB0_7:
	str	x20, [x19]
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_png_zstream_error
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" using zstream"

	.comm	_PNG_FLAG_ZSTREAM_INITIALIZED,4,2 ; @PNG_FLAG_ZSTREAM_INITIALIZED
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_PNG_FLAG_CRC_CRITICAL_IGNORE,4,2 ; @PNG_FLAG_CRC_CRITICAL_IGNORE
	.comm	_PNG_MAXIMUM_INFLATE_WINDOW,4,2 ; @PNG_MAXIMUM_INFLATE_WINDOW
	.comm	_PNG_OPTION_ON,4,2              ; @PNG_OPTION_ON
	.no_dead_strip	_png_inflate_claim
.subsections_via_symbols
