	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zlib_codec_decompress          ## -- Begin function zlib_codec_decompress
	.p2align	4, 0x90
_zlib_codec_decompress:                 ## @zlib_codec_decompress
	.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	%r8, %r14
	movq	%rdi, %rbx
	movq	%rsi, 40(%rdi)
	movq	%rdx, 32(%rdi)
	movq	$0, 24(%rdi)
	movq	%rcx, 16(%rdi)
	movq	%r8, 8(%rdi)
	movq	$0, (%rdi)
	callq	_inflateReset
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.1:
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_inflate
	cmpq	%r14, (%rbx)
	jne	LBB0_4
## %bb.2:
	movq	_CHDERR_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_CHDERR_DECOMPRESSION_ERROR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_CHDERR_DECOMPRESSION_ERROR,4,2 ## @CHDERR_DECOMPRESSION_ERROR
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_CHDERR_NONE,4,2                ## @CHDERR_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zlib_codec_decompress          ; -- Begin function zlib_codec_decompress
	.p2align	2
_zlib_codec_decompress:                 ; @zlib_codec_decompress
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x4
	mov	x20, x0
	stp	x2, x1, [x0, #32]
	stp	x3, xzr, [x0, #16]
	stp	xzr, x4, [x0]
	bl	_inflateReset
Lloh0:
	adrp	x8, _Z_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _CHDERR_DECOMPRESSION_ERROR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CHDERR_DECOMPRESSION_ERROR@GOTPAGEOFF]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _Z_FINISH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Z_FINISH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_inflate
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _CHDERR_NONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CHDERR_NONE@GOTPAGEOFF]
	cmp	x8, x19
	csel	x21, x9, x21, eq
LBB0_2:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_CHDERR_DECOMPRESSION_ERROR,4,2 ; @CHDERR_DECOMPRESSION_ERROR
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_CHDERR_NONE,4,2                ; @CHDERR_NONE
.subsections_via_symbols
