	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zlib_codec_init                ## -- Begin function zlib_codec_init
	.p2align	4, 0x90
_zlib_codec_init:                       ## @zlib_codec_init
	.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
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%rbx, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_zlib_fast_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_zlib_fast_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	32(%rbx), %rax
	movq	%rax, (%rbx)
	movq	_MAX_WBITS@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_inflateInit2
	movq	_Z_MEM_ERROR@GOTPCREL(%rip), %rdx
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_CHDERR_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rdx), %eax
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_CHDERR_CODEC_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rdx), %eax
	jne	LBB0_5
LBB0_4:
	movq	_CHDERR_OUT_OF_MEMORY@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zlib_fast_alloc,4,2            ## @zlib_fast_alloc
	.comm	_zlib_fast_free,4,2             ## @zlib_fast_free
	.comm	_MAX_WBITS,4,2                  ## @MAX_WBITS
	.comm	_Z_MEM_ERROR,4,2                ## @Z_MEM_ERROR
	.comm	_CHDERR_OUT_OF_MEMORY,4,2       ## @CHDERR_OUT_OF_MEMORY
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_CHDERR_CODEC_ERROR,4,2         ## @CHDERR_CODEC_ERROR
	.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_init                ; -- Begin function zlib_codec_init
	.p2align	2
_zlib_codec_init:                       ; @zlib_codec_init
	.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
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	stp	xzr, x19, [x19, #16]
Lloh0:
	adrp	x8, _zlib_fast_alloc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _zlib_fast_alloc@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _zlib_fast_free@GOTPAGE
Lloh4:
	ldr	x9, [x9, _zlib_fast_free@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	add	x8, x19, #32
	str	x8, [x19]
Lloh6:
	adrp	x8, _MAX_WBITS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_WBITS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	bl	_inflateInit2
Lloh9:
	adrp	x8, _Z_MEM_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Z_MEM_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _Z_OK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _Z_OK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _CHDERR_OUT_OF_MEMORY@GOTPAGE
Lloh16:
	ldr	x10, [x10, _CHDERR_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh17:
	adrp	x11, _CHDERR_NONE@GOTPAGE
Lloh18:
	ldr	x11, [x11, _CHDERR_NONE@GOTPAGEOFF]
Lloh19:
	adrp	x12, _CHDERR_CODEC_ERROR@GOTPAGE
Lloh20:
	ldr	x12, [x12, _CHDERR_CODEC_ERROR@GOTPAGEOFF]
	cmp	w0, w9
	csel	x9, x11, x12, eq
	cmp	w0, w8
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_zlib_fast_alloc,4,2            ; @zlib_fast_alloc
	.comm	_zlib_fast_free,4,2             ; @zlib_fast_free
	.comm	_MAX_WBITS,4,2                  ; @MAX_WBITS
	.comm	_Z_MEM_ERROR,4,2                ; @Z_MEM_ERROR
	.comm	_CHDERR_OUT_OF_MEMORY,4,2       ; @CHDERR_OUT_OF_MEMORY
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_CHDERR_CODEC_ERROR,4,2         ; @CHDERR_CODEC_ERROR
	.comm	_CHDERR_NONE,4,2                ; @CHDERR_NONE
.subsections_via_symbols
