	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gz_decomp
_gz_decomp:                             ## @gz_decomp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_Z_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	24(%rdi), %r15
	movl	24(%rdi), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_Z_STREAM_ERROR@GOTPCREL(%rip), %r13
	movq	_Z_NEED_DICT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 32(%r14)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_gz_avail
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 32(%r14)
	je	LBB0_18
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_inflate
	movl	(%r13), %esi
	cmpl	%esi, %eax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_MEM_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_DATA_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %eax
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%ecx, %ebx
	jne	LBB0_1
	jmp	LBB0_19
LBB0_10:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_13
LBB0_12:
	movq	40(%r14), %rax
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rdx
	cmovneq	%rax, %rdx
LBB0_13:
	movq	%r14, %rdi
	movl	%ebx, %esi
LBB0_14:
	callq	_gz_error
LBB0_15:
	movl	$-1, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_gz_error
	movl	24(%r14), %eax
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_19:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subl	%eax, %edx
	movl	%edx, 8(%r14)
	movq	48(%r14), %rax
	subq	%rdx, %rax
	movq	%rax, 16(%r14)
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	jne	LBB0_16
## %bb.20:
	movq	_LOOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected end of file"

	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.comm	_Z_STREAM_ERROR,4,2             ## @Z_STREAM_ERROR
	.comm	_Z_NEED_DICT,4,2                ## @Z_NEED_DICT
L_.str.1:                               ## @.str.1
	.asciz	"internal error: inflate stream corrupt"

	.comm	_Z_MEM_ERROR,4,2                ## @Z_MEM_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"out of memory"

	.comm	_Z_DATA_ERROR,4,2               ## @Z_DATA_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"compressed data error"

	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.comm	_LOOK,4,2                       ## @LOOK
	.no_dead_strip	_gz_decomp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gz_decomp
_gz_decomp:                             ; @gz_decomp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _Z_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x21, x0
	ldr	w22, [x21, #24]!
Lloh3:
	adrp	x24, _Z_NO_FLUSH@GOTPAGE
Lloh4:
	ldr	x24, [x24, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh5:
	adrp	x25, _Z_STREAM_ERROR@GOTPAGE
Lloh6:
	ldr	x25, [x25, _Z_STREAM_ERROR@GOTPAGEOFF]
Lloh7:
	adrp	x26, _Z_NEED_DICT@GOTPAGE
Lloh8:
	ldr	x26, [x26, _Z_NEED_DICT@GOTPAGEOFF]
Lloh9:
	adrp	x27, _Z_MEM_ERROR@GOTPAGE
Lloh10:
	ldr	x27, [x27, _Z_MEM_ERROR@GOTPAGEOFF]
Lloh11:
	adrp	x28, _Z_DATA_ERROR@GOTPAGE
Lloh12:
	ldr	x28, [x28, _Z_DATA_ERROR@GOTPAGEOFF]
Lloh13:
	adrp	x23, _Z_STREAM_END@GOTPAGE
Lloh14:
	ldr	x23, [x23, _Z_STREAM_END@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_gz_avail
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_15
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x24]
	mov	x0, x21
	bl	_inflate
	ldr	w1, [x25]
	ldr	w8, [x26]
	cmp	w0, w1
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x28]
	cmp	w20, w8
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x21]
	ldr	w8, [x23]
	cbz	w9, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w20, w8
	b.ne	LBB0_1
	b	LBB0_16
LBB0_9:
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	b	LBB0_13
LBB0_10:
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19, #40]
Lloh19:
	adrp	x9, l_.str.3@PAGE
Lloh20:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x2, x9, x8, eq
LBB0_12:
	mov	x0, x19
	mov	x1, x20
LBB0_13:
	bl	_gz_error
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh21:
	adrp	x8, _Z_BUF_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Z_BUF_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gz_error
	ldr	w9, [x19, #24]
	ldr	w8, [x23]
LBB0_16:
	ldr	x10, [x19, #48]
	sub	w9, w22, w9
	sub	x10, x10, x9
	str	w9, [x19, #8]
	str	x10, [x19, #16]
	cmp	w20, w8
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #0
Lloh26:
	adrp	x8, _LOOK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOOK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_14
LBB0_18:
	mov	w0, #0
	b	LBB0_14
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected end of file"

	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.comm	_Z_STREAM_ERROR,4,2             ; @Z_STREAM_ERROR
	.comm	_Z_NEED_DICT,4,2                ; @Z_NEED_DICT
l_.str.1:                               ; @.str.1
	.asciz	"internal error: inflate stream corrupt"

	.comm	_Z_MEM_ERROR,4,2                ; @Z_MEM_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"out of memory"

	.comm	_Z_DATA_ERROR,4,2               ; @Z_DATA_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"compressed data error"

	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.comm	_LOOK,4,2                       ; @LOOK
	.no_dead_strip	_gz_decomp
.subsections_via_symbols
