	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gz_fetch
_gz_fetch:                              ## @gz_fetch
	.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
	leaq	16(%rdi), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$130, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$129, %eax
	jne	LBB0_7
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rbx), %eax
	movl	8(%rbx), %ecx
	addl	%eax, %eax
	movl	%eax, 40(%rbx)
	movl	%ecx, 44(%rbx)
	movq	%rbx, %rdi
	callq	_gz_decomp
	cmpl	$-1, %eax
	jne	LBB0_7
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_gz_look
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$130, (%rbx)
	je	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	cmpq	$0, (%r14)
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 32(%rbx)
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 48(%rbx)
	jne	LBB0_1
	jmp	LBB0_16
LBB0_10:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	addl	%edx, %edx
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_gz_load
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.11:
	movl	8(%rbx), %eax
	movl	%eax, 24(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_15:
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_14:
	xorl	%eax, %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gz_fetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gz_fetch
_gz_fetch:                              ; @gz_fetch
	.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
	add	x20, x0, #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #129
	b.ne	LBB0_7
	b	LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldp	w8, w9, [x19, #4]
	lsl	w8, w8, #1
	stp	w8, w9, [x19, #40]
	mov	x0, x19
	bl	_gz_decomp
	cmn	w0, #1
	b.ne	LBB0_7
	b	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_gz_look
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19]
	cmp	w8, #130
	b.eq	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	cbnz	x8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_1
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldp	w8, w1, [x19, #4]
	lsl	w2, w8, #1
	mov	x0, x19
	mov	x3, x20
	bl	_gz_load
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.13:
	mov	w0, #0
	ldr	w8, [x19, #8]
	str	w8, [x19, #24]
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gz_fetch
.subsections_via_symbols
