	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compress_out
_compress_out:                          ## @compress_out
	.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
	movl	%ecx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	_ARCHIVE_Z_FINISH@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	24(%r14), %rax
	orq	%rdx, %rax
	je	LBB0_2
LBB0_3:
	testq	%rdx, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.4:
	movq	_PRECODE_CRC32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	je	LBB0_6
## %bb.5:
	movq	64(%r14), %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_crc32
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, 64(%r14)
LBB0_6:
	leaq	24(%r14), %r12
	movq	%rbx, 32(%r14)
	movq	%rdx, 40(%r14)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_compression_code
	movl	%eax, %ebx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.7:
	cmpl	(%rcx), %ebx
	jne	LBB0_17
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r14), %rsi
	movl	$8, %edx
	movq	%r15, %rdi
	callq	_write_to_temp
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r14), %rsi
	movq	%rsi, 56(%r14)
	movl	$8, 48(%r14)
	movq	_ENCODED_CRC32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r14), %rdi
	movl	$8, %edx
	callq	_crc32
	movq	%rax, 16(%r14)
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_ARCHIVE_Z_FINISH@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 48(%r14)
	je	LBB0_9
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 40(%r14)
	je	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_compression_code
	movl	%eax, %ebx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
LBB0_17:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_24
LBB0_2:
	xorl	%ecx, %ecx
	jmp	LBB0_24
LBB0_18:
	movq	_ARCHIVE_Z_FINISH@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_19
## %bb.20:
	movl	48(%r14), %r12d
	movl	$8, %ebx
	subl	%r12d, %ebx
	movq	8(%r14), %rsi
	movslq	%ebx, %rdx
	movq	%r15, %rdi
	callq	_write_to_temp
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.21:
	movq	_ENCODED_CRC32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_24
## %bb.22:
	cmpl	$8, %r12d
	je	LBB0_24
## %bb.23:
	movq	8(%r14), %rsi
	movq	16(%r14), %rdi
	movl	%ebx, %edx
	callq	_crc32
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	jmp	LBB0_24
LBB0_19:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_24:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_Z_FINISH,4,2           ## @ARCHIVE_Z_FINISH
	.comm	_PRECODE_CRC32,4,2              ## @PRECODE_CRC32
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_FATAL,8,3              ## @ARCHIVE_FATAL
	.comm	_ENCODED_CRC32,4,2              ## @ENCODED_CRC32
	.no_dead_strip	_compress_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compress_out
_compress_out:                          ; @compress_out
	.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	x21, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x24, [x0, #8]
Lloh0:
	adrp	x25, _ARCHIVE_Z_FINISH@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ARCHIVE_Z_FINISH@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w3
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x24, #24]
	orr	x8, x8, x19
	cbz	x8, LBB0_14
LBB0_2:
	cbz	x19, LBB0_5
; %bb.3:
	ldr	w8, [x24]
Lloh2:
	adrp	x9, _PRECODE_CRC32@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PRECODE_CRC32@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w8, LBB0_5
; %bb.4:
	ldr	x0, [x24, #64]
	mov	x1, x23
	mov	x2, x19
	bl	_crc32
	str	x0, [x24, #64]
LBB0_5:
	add	x22, x24, #24
	stp	x23, x19, [x24, #32]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_compression_code
Lloh5:
	adrp	x26, _ARCHIVE_OK@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh7:
	adrp	x28, _ARCHIVE_EOF@GOTPAGE
Lloh8:
	ldr	x28, [x28, _ARCHIVE_EOF@GOTPAGEOFF]
	ldr	w9, [x28]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_19
; %bb.6:
	mov	x23, x0
	mov	w27, #8
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x24, #40]
	cbz	x8, LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_compression_code
	mov	x23, x0
	ldr	w8, [x26]
	ldr	w9, [x28]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_19
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24, #48]
	cbnz	w8, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [x24, #8]
	mov	x0, x20
	mov	w2, #8
	bl	_write_to_temp
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [x24, #8]
	str	x1, [x24, #56]
	str	w27, [x24, #48]
	ldr	w8, [x24]
Lloh9:
	adrp	x9, _ENCODED_CRC32@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENCODED_CRC32@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x24, #16]
	mov	w2, #8
	bl	_crc32
	str	x0, [x24, #16]
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x28]
	cmp	w8, w21
	ccmp	w23, w9, #4, eq
	b.eq	LBB0_7
	b	LBB0_8
LBB0_14:
	mov	x19, #0
	b	LBB0_20
LBB0_15:
	ldr	w8, [x25]
	cmp	w8, w21
	b.ne	LBB0_20
; %bb.16:
	ldr	w22, [x24, #48]
	mov	w8, #8
	sub	w21, w8, w22
	ldr	x1, [x24, #8]
	sxtw	x2, w21
	mov	x0, x20
	bl	_write_to_temp
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.17:
	ldr	w8, [x24]
Lloh12:
	adrp	x9, _ENCODED_CRC32@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ENCODED_CRC32@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	w22, #8, #4, ne
	b.eq	LBB0_20
; %bb.18:
	ldp	x1, x0, [x24, #8]
	mov	x2, x21
	bl	_crc32
	str	x0, [x24, #16]
	b	LBB0_20
LBB0_19:
Lloh15:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh17:
	ldr	x19, [x8]
LBB0_20:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_Z_FINISH,4,2           ; @ARCHIVE_Z_FINISH
	.comm	_PRECODE_CRC32,4,2              ; @PRECODE_CRC32
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_FATAL,8,3              ; @ARCHIVE_FATAL
	.comm	_ENCODED_CRC32,4,2              ; @ENCODED_CRC32
	.no_dead_strip	_compress_out
.subsections_via_symbols
