	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gz_avail
_gz_avail:                              ## @gz_avail
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rcx
	movq	_Z_OK@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_23
LBB0_2:
	xorl	%eax, %eax
	cmpq	$0, 8(%r14)
	jne	LBB0_23
## %bb.3:
	movl	32(%r14), %r9d
	testl	%r9d, %r9d
	je	LBB0_4
## %bb.5:
	movq	16(%r14), %rax
	movq	40(%r14), %rsi
	leal	-1(%r9), %ecx
	cmpl	$7, %ecx
	jb	LBB0_6
## %bb.7:
	movq	%rax, %rdx
	subq	%rsi, %rdx
	cmpq	$32, %rdx
	jb	LBB0_6
## %bb.8:
	leaq	1(%rcx), %r8
	movabsq	$8589934560, %r10               ## imm = 0x1FFFFFFE0
	cmpl	$31, %ecx
	jae	LBB0_24
## %bb.9:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_24:
	movq	%r8, %rdi
	andq	%r10, %rdi
	leaq	-32(%rdi), %rcx
	movq	%rcx, %rdx
	shrq	$5, %rdx
	incq	%rdx
	movl	%edx, %r11d
	andl	$3, %r11d
	cmpq	$96, %rcx
	jae	LBB0_26
## %bb.25:
	xorl	%ecx, %ecx
	jmp	LBB0_28
LBB0_26:
	andq	$-4, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rcx), %xmm0
	movups	16(%rsi,%rcx), %xmm1
	movups	%xmm0, (%rax,%rcx)
	movups	%xmm1, 16(%rax,%rcx)
	movups	32(%rsi,%rcx), %xmm0
	movups	48(%rsi,%rcx), %xmm1
	movups	%xmm0, 32(%rax,%rcx)
	movups	%xmm1, 48(%rax,%rcx)
	movups	64(%rsi,%rcx), %xmm0
	movups	80(%rsi,%rcx), %xmm1
	movups	%xmm0, 64(%rax,%rcx)
	movups	%xmm1, 80(%rax,%rcx)
	movups	96(%rsi,%rcx), %xmm0
	movups	112(%rsi,%rcx), %xmm1
	movups	%xmm0, 96(%rax,%rcx)
	movups	%xmm1, 112(%rax,%rcx)
	subq	$-128, %rcx
	addq	$-4, %rdx
	jne	LBB0_27
LBB0_28:
	testq	%r11, %r11
	je	LBB0_31
## %bb.29:
	leaq	(%rsi,%rcx), %rdx
	addq	$16, %rdx
	addq	%rax, %rcx
	addq	$16, %rcx
	shlq	$5, %r11
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rbx), %xmm0
	movups	(%rdx,%rbx), %xmm1
	movups	%xmm0, -16(%rcx,%rbx)
	movups	%xmm1, (%rcx,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r11
	jne	LBB0_30
LBB0_31:
	cmpq	%rdi, %r8
	je	LBB0_20
## %bb.32:
	testb	$24, %r8b
	je	LBB0_33
LBB0_10:
	addq	$24, %r10
	andq	%r8, %r10
	leaq	(%rax,%r10), %rdx
	leaq	(%rsi,%r10), %rcx
	subl	%r10d, %r9d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi), %rbx
	movq	%rbx, (%rax,%rdi)
	addq	$8, %rdi
	cmpq	%rdi, %r10
	jne	LBB0_11
## %bb.12:
	cmpq	%r10, %r8
	jne	LBB0_13
	jmp	LBB0_20
LBB0_33:
	subl	%edi, %r9d
	addq	%rdi, %rsi
	addq	%rdi, %rax
LBB0_6:
	movq	%rax, %rdx
	movq	%rsi, %rcx
LBB0_13:
	leal	-1(%r9), %eax
	testb	$7, %r9b
	je	LBB0_17
## %bb.14:
	movl	%r9d, %edi
	andl	$7, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rsi), %ebx
	movb	%bl, (%rdx,%rsi)
	incq	%rsi
	cmpl	%esi, %edi
	jne	LBB0_15
## %bb.16:
	addq	%rsi, %rdx
	addq	%rsi, %rcx
	subl	%esi, %r9d
LBB0_17:
	cmpl	$7, %eax
	jb	LBB0_20
## %bb.18:
	movl	%r9d, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rsi), %ebx
	movb	%bl, (%rdx,%rsi)
	movzbl	1(%rcx,%rsi), %ebx
	movb	%bl, 1(%rdx,%rsi)
	movzbl	2(%rcx,%rsi), %ebx
	movb	%bl, 2(%rdx,%rsi)
	movzbl	3(%rcx,%rsi), %ebx
	movb	%bl, 3(%rdx,%rsi)
	movzbl	4(%rcx,%rsi), %ebx
	movb	%bl, 4(%rdx,%rsi)
	movzbl	5(%rcx,%rsi), %ebx
	movb	%bl, 5(%rdx,%rsi)
	movzbl	6(%rcx,%rsi), %ebx
	movb	%bl, 6(%rdx,%rsi)
	movzbl	7(%rcx,%rsi), %ebx
	movb	%bl, 7(%rdx,%rsi)
	addq	$8, %rsi
	cmpl	%esi, %eax
	jne	LBB0_19
LBB0_20:
	movslq	32(%r14), %rax
LBB0_21:
	movq	16(%r14), %rsi
	addq	%rax, %rsi
	movq	24(%r14), %rdx
	subq	%rax, %rdx
	leaq	-20(%rbp), %rcx
	movq	%r14, %rdi
	callq	_gz_load
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	$-1, %ecx
	je	LBB0_23
## %bb.22:
	movl	-20(%rbp), %eax
	addl	%eax, 32(%r14)
	movq	16(%r14), %rax
	movq	%rax, 40(%r14)
	xorl	%eax, %eax
LBB0_23:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_OK,8,3                       ## @Z_OK
	.comm	_Z_BUF_ERROR,8,3                ## @Z_BUF_ERROR
	.no_dead_strip	_gz_avail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gz_avail
_gz_avail:                              ; @gz_avail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _Z_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Z_OK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _Z_BUF_ERROR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _Z_BUF_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_10
; %bb.6:
	ldr	x9, [x19, #16]
	ldr	x10, [x19, #40]
	sub	w12, w8, #1
	cmp	w12, #7
	b.lo	LBB0_19
; %bb.7:
	sub	x11, x9, x10
	cmp	x11, #64
	b.lo	LBB0_19
; %bb.8:
	add	x11, x12, #1
	cmp	w12, #63
	b.hs	LBB0_11
; %bb.9:
	mov	x12, #0
	b	LBB0_15
LBB0_10:
	mov	x8, #0
	b	LBB0_21
LBB0_11:
	and	x12, x11, #0x1ffffffc0
	add	x13, x9, #32
	add	x14, x10, #32
	mov	x15, x12
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x15, x15, #64
	b.ne	LBB0_12
; %bb.13:
	cmp	x11, x12
	b.eq	LBB0_20
; %bb.14:
	tst	x11, #0x38
	b.eq	LBB0_18
LBB0_15:
	and	x13, x11, #0x1fffffff8
	add	x14, x9, x13
	add	x15, x10, x13
	sub	w8, w8, w13
	add	x10, x10, x12
	add	x9, x9, x12
	sub	x12, x12, x13
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10], #8
	str	d0, [x9], #8
	adds	x12, x12, #8
	b.ne	LBB0_16
; %bb.17:
	mov	x9, x14
	mov	x10, x15
	cmp	x11, x13
	b.ne	LBB0_19
	b	LBB0_20
LBB0_18:
	sub	w8, w8, w12
	add	x10, x10, x12
	add	x9, x9, x12
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10], #1
	strb	w11, [x9], #1
	subs	w8, w8, #1
	b.ne	LBB0_19
LBB0_20:
	ldrsw	x8, [x19, #32]
LBB0_21:
	ldp	x9, x10, [x19, #16]
	add	x1, x9, x8
	sub	x2, x10, x8
	add	x3, sp, #12
	mov	x0, x19
	bl	_gz_load
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.22:
	mov	w0, #0
	ldr	w8, [sp, #12]
	ldr	w9, [x19, #32]
	add	w8, w9, w8
	str	w8, [x19, #32]
	ldr	x8, [x19, #16]
	str	x8, [x19, #40]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_OK,8,3                       ; @Z_OK
	.comm	_Z_BUF_ERROR,8,3                ; @Z_BUF_ERROR
	.no_dead_strip	_gz_avail
.subsections_via_symbols
