	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zlib_reset
_zlib_reset:                            ## @zlib_reset
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movq	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	24(%rbx), %rdi
	movq	%rax, 48(%rbx)
	movq	$0, 40(%rbx)
	movq	%rax, 32(%rbx)
	movq	$0, 24(%rbx)
	movl	%r14d, 8(%rbx)
	movq	$0, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	xorl	%esi, %esi
	callq	_inflateReset2
	movq	%rax, %rcx
	movq	%rax, 16(%rbx)
	movq	_Z_OK@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_zlib_message
	xorl	%eax, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Z_OK,8,3                       ## @Z_OK
	.no_dead_strip	_zlib_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zlib_reset
_zlib_reset:                            ; @zlib_reset
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	bl	_assert
Lloh0:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	x0, x19
	str	xzr, [x0, #24]!
	stp	x8, xzr, [x19, #32]
	str	w20, [x19, #8]
	str	xzr, [x19]
	stp	xzr, xzr, [x19, #56]
	str	x8, [x19, #48]
	mov	w1, #0
	bl	_inflateReset2
	str	x0, [x19, #16]
Lloh3:
	adrp	x8, _Z_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #1
	bl	_zlib_message
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Z_OK,8,3                       ; @Z_OK
	.no_dead_strip	_zlib_reset
.subsections_via_symbols
