	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_zlib_inflate               ## -- Begin function png_zlib_inflate
	.p2align	4, 0x90
_png_zlib_inflate:                      ## @png_zlib_inflate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 24(%rdi)
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%rdi)
	jle	LBB0_4
## %bb.2:
	movq	8(%rdi), %rax
	cmpl	$128, (%rax)
	jl	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rax
	movq	%rax, 16(%rdi)
	movq	_Z_DATA_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	$0, 24(%rdi)
LBB0_4:
	popq	%rbp
	jmp	_inflate                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid window size (libpng)"

	.comm	_Z_DATA_ERROR,4,2               ## @Z_DATA_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_zlib_inflate               ; -- Begin function png_zlib_inflate
	.p2align	2
_png_zlib_inflate:                      ; @png_zlib_inflate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cmp	w8, #128
	b.lt	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x0, #16]
Lloh2:
	adrp	x8, _Z_DATA_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Z_DATA_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_4:
	str	xzr, [x0, #24]
LBB0_5:
	b	_inflate
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid window size (libpng)"

	.comm	_Z_DATA_ERROR,4,2               ; @Z_DATA_ERROR
.subsections_via_symbols
