	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deflate_compress
_deflate_compress:                      ## @deflate_compress
	.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_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r8,4), %rsi
	addq	%rax, %rsi
	jmpq	*%rsi
LBB0_2:
	movq	_ZIP_CM_DEFLATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	movq	_ZIP_STAT_COMP_METHOD@GOTPCREL(%rip), %rcx
	movl	(%rdx), %eax
	orl	(%rcx), %eax
	movl	%eax, (%rdx)
	cmpl	$0, 12(%rbx)
	je	LBB0_12
## %bb.3:
	movl	8(%rbx), %ecx
	movl	%ecx, 4(%rdx)
	movq	_ZIP_STAT_COMP_SIZE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_13
LBB0_4:
	movq	_ZIP_ER_INVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	$0, 4(%rcx)
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_compress_read                  ## TAILCALL
LBB0_6:
	movq	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	16(%rbx), %rdi
	movq	%rax, 64(%rbx)
	movq	%rax, 56(%rbx)
	movq	$0, 48(%rbx)
	movl	$0, 40(%rbx)
	movq	$0, 32(%rbx)
	movl	$0, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_Z_BEST_COMPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Z_DEFLATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAX_WBITS@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	xorl	%r14d, %r14d
	movl	72(%rbx), %r8d
	movq	_Z_DEFAULT_STRATEGY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	callq	_deflateInit2
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_15
## %bb.7:
	movq	_ZIP_ER_ZLIB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	%eax, 4(%rdx)
LBB0_8:
	movl	$-1, %r14d
	jmp	LBB0_15
LBB0_9:
	movq	%rbx, %rdi
	callq	_deflate_free
	jmp	LBB0_14
LBB0_10:
	movq	(%rbx), %rsi
	movl	$8, %r14d
	movq	%rdx, %rdi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_15
LBB0_11:
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_deflateEnd
	jmp	LBB0_14
LBB0_12:
	movq	_ZIP_STAT_COMP_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_13:
	movl	%eax, (%rdx)
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Z_BEST_COMPRESSION,4,2         ## @Z_BEST_COMPRESSION
	.comm	_Z_DEFLATED,4,2                 ## @Z_DEFLATED
	.comm	_MAX_WBITS,4,2                  ## @MAX_WBITS
	.comm	_Z_DEFAULT_STRATEGY,4,2         ## @Z_DEFAULT_STRATEGY
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_ZIP_ER_ZLIB,4,2                ## @ZIP_ER_ZLIB
	.comm	_ZIP_CM_DEFLATE,4,2             ## @ZIP_CM_DEFLATE
	.comm	_ZIP_STAT_COMP_METHOD,4,2       ## @ZIP_STAT_COMP_METHOD
	.comm	_ZIP_STAT_COMP_SIZE,4,2         ## @ZIP_STAT_COMP_SIZE
	.comm	_ZIP_ER_INVAL,4,2               ## @ZIP_ER_INVAL
	.no_dead_strip	_deflate_compress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deflate_compress
_deflate_compress:                      ; @deflate_compress
	.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_4
; %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_DEFLATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZIP_CM_DEFLATE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _ZIP_STAT_COMP_METHOD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ZIP_STAT_COMP_METHOD@GOTPAGEOFF]
	str	w8, [x2, #8]
Lloh7:
	ldr	w8, [x9]
	ldr	w9, [x2]
	orr	w8, w9, w8
	str	w8, [x2]
	ldr	w9, [x19, #12]
	cbz	w9, LBB0_12
; %bb.3:
	ldr	w9, [x19, #8]
	str	w9, [x2, #4]
Lloh8:
	adrp	x9, _ZIP_STAT_COMP_SIZE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ZIP_STAT_COMP_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_13
LBB0_4:
Lloh11:
	adrp	x8, _ZIP_ER_INVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ZIP_ER_INVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x19]
	stp	w8, wzr, [x9]
	b	LBB0_8
LBB0_5:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_compress_read
LBB0_6:
Lloh14:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	mov	x0, x19
	str	xzr, [x0, #16]!
	stp	x8, x8, [x0, #40]
	str	xzr, [x0, #32]
	str	wzr, [x0, #24]
	str	xzr, [x0, #16]
	str	wzr, [x0, #8]
Lloh17:
	adrp	x8, _Z_BEST_COMPRESSION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Z_BEST_COMPRESSION@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _Z_DEFLATED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _Z_DEFLATED@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _MAX_WBITS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAX_WBITS@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w3, w8
	ldr	w4, [x0, #56]
Lloh26:
	adrp	x8, _Z_DEFAULT_STRATEGY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _Z_DEFAULT_STRATEGY@GOTPAGEOFF]
Lloh28:
	ldr	w5, [x8]
	bl	_deflateInit2
	mov	w20, #0
Lloh29:
	adrp	x8, _Z_OK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_14
; %bb.7:
Lloh32:
	adrp	x8, _ZIP_ER_ZLIB@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ZIP_ER_ZLIB@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	x9, [x19]
	stp	w8, w0, [x9]
LBB0_8:
	mov	w20, #-1
	b	LBB0_14
LBB0_9:
	mov	x0, x19
	bl	_deflate_free
	mov	w20, #0
	b	LBB0_14
LBB0_10:
	ldr	x1, [x19]
	mov	w20, #8
	mov	x0, x2
	mov	w2, #8
	bl	_memcpy
	b	LBB0_14
LBB0_11:
	add	x0, x19, #16
	bl	_deflateEnd
	mov	w20, #0
	b	LBB0_14
LBB0_12:
Lloh35:
	adrp	x9, _ZIP_STAT_COMP_SIZE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ZIP_STAT_COMP_SIZE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_13:
	mov	w20, #0
	str	w8, [x2]
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Z_BEST_COMPRESSION,4,2         ; @Z_BEST_COMPRESSION
	.comm	_Z_DEFLATED,4,2                 ; @Z_DEFLATED
	.comm	_MAX_WBITS,4,2                  ; @MAX_WBITS
	.comm	_Z_DEFAULT_STRATEGY,4,2         ; @Z_DEFAULT_STRATEGY
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_ZIP_ER_ZLIB,4,2                ; @ZIP_ER_ZLIB
	.comm	_ZIP_CM_DEFLATE,4,2             ; @ZIP_CM_DEFLATE
	.comm	_ZIP_STAT_COMP_METHOD,4,2       ; @ZIP_STAT_COMP_METHOD
	.comm	_ZIP_STAT_COMP_SIZE,4,2         ; @ZIP_STAT_COMP_SIZE
	.comm	_ZIP_ER_INVAL,4,2               ; @ZIP_ER_INVAL
	.no_dead_strip	_deflate_compress
.subsections_via_symbols
