	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deflate_decompress
_deflate_decompress:                    ## @deflate_decompress
	.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
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%rsi, %rbx
	addl	$-128, %r8d
	cmpl	$5, %r8d
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r8,4), %rsi
	addq	%rax, %rsi
	jmpq	*%rsi
LBB0_8:
	movq	_ZIP_CM_STORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	xorl	%r14d, %r14d
	cmpl	$0, 4(%rdx)
	jle	LBB0_16
## %bb.9:
	movl	(%rdx), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.10:
	movl	%eax, 4(%rdx)
	jmp	LBB0_16
LBB0_14:
	movq	_ZIP_ER_INVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	$0, 4(%rcx)
	jmp	LBB0_15
LBB0_6:
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_decompress_read                ## TAILCALL
LBB0_2:
	movq	48(%rbx), %rsi
	movl	$8, %edx
	callq	_zip_source_read
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_Z_NULL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	8(%rbx), %rdi
	movq	%rcx, 40(%rbx)
	movq	%rcx, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	48(%rbx), %rcx
	movq	%rcx, 16(%rbx)
	movl	%eax, 8(%rbx)
	movq	_MAX_WBITS@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	subl	(%rax), %esi
	callq	_inflateInit2
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_16
## %bb.5:
	movq	_ZIP_ER_ZLIB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	%eax, 4(%rdx)
LBB0_15:
	movl	$-1, %r14d
	jmp	LBB0_16
LBB0_13:
	movq	%rbx, %rdi
	callq	_free
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_11:
	movl	$-1, %r14d
	cmpl	$8, %ecx
	jb	LBB0_16
## %bb.12:
	movq	(%rbx), %rsi
	movl	$8, %r14d
	movq	%rdx, %rdi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_16
LBB0_7:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_inflateEnd
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_3:
	movq	_ZIP_SOURCE_ERR_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_16:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ## @ZIP_SOURCE_ERR_LOWER
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_MAX_WBITS,4,2                  ## @MAX_WBITS
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_ZIP_ER_ZLIB,4,2                ## @ZIP_ER_ZLIB
	.comm	_ZIP_CM_STORE,4,2               ## @ZIP_CM_STORE
	.comm	_ZIP_ER_INVAL,4,2               ## @ZIP_ER_INVAL
	.no_dead_strip	_deflate_decompress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deflate_decompress
_deflate_decompress:                    ; @deflate_decompress
	.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, x1
	sub	w8, w4, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _ZIP_CM_STORE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZIP_CM_STORE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x2, #8]
	ldr	w8, [x2, #4]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.3:
	ldr	w8, [x2]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.4:
	mov	w20, #0
	str	w8, [x2, #4]
	b	LBB0_15
LBB0_5:
Lloh5:
	adrp	x8, _ZIP_ER_INVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZIP_ER_INVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x19]
	stp	w8, wzr, [x9]
	b	LBB0_12
LBB0_6:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_decompress_read
LBB0_7:
	ldr	x1, [x19, #48]
	mov	w2, #8
	bl	_zip_source_read
	tbnz	w0, #31, LBB0_17
; %bb.8:
Lloh8:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x8]
	mov	x8, x19
	str	w0, [x8, #8]!
	stp	x9, x9, [x8, #24]
	ldr	x9, [x8, #40]
	stp	x9, xzr, [x8, #8]
Lloh11:
	adrp	x9, _MAX_WBITS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAX_WBITS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	neg	w1, w9
	mov	x0, x8
	bl	_inflateInit2
	mov	w20, #0
Lloh14:
	adrp	x8, _Z_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_15
; %bb.9:
Lloh17:
	adrp	x8, _ZIP_ER_ZLIB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ZIP_ER_ZLIB@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x9, [x19]
	stp	w8, w0, [x9]
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_free
	b	LBB0_14
LBB0_11:
	cmp	w3, #8
	b.hs	LBB0_16
LBB0_12:
	mov	w20, #-1
	b	LBB0_15
LBB0_13:
	add	x0, x19, #8
	bl	_inflateEnd
LBB0_14:
	mov	w20, #0
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
	ldr	x1, [x19]
	mov	w20, #8
	mov	x0, x2
	mov	w2, #8
	bl	_memcpy
	b	LBB0_15
LBB0_17:
Lloh20:
	adrp	x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ; @ZIP_SOURCE_ERR_LOWER
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_MAX_WBITS,4,2                  ; @MAX_WBITS
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_ZIP_ER_ZLIB,4,2                ; @ZIP_ER_ZLIB
	.comm	_ZIP_CM_STORE,4,2               ; @ZIP_CM_STORE
	.comm	_ZIP_ER_INVAL,4,2               ; @ZIP_ER_INVAL
	.no_dead_strip	_deflate_decompress
.subsections_via_symbols
