	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_compress
_handle_compress:                       ## @handle_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	%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	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_True@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.1:
	movq	(%rdi), %rbx
	movq	_BZ_S_INPUT@GOTPCREL(%rip), %r13
	movl	%r15d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %r14d
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_True@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	%r14d, %r15d
	je	LBB0_23
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	_BZ_S_OUTPUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_copy_output_until_stop
	orl	%eax, %r12d
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jl	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rbx), %rax
	movq	_BZ_M_FINISHING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%rbx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_isempty_RL
	testq	%rax, %rax
	jne	LBB0_22
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_prepare_new_block
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	movq	24(%rbx), %rcx
	movq	_BZ_M_FLUSHING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_19
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	(%r13), %rax
	jne	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_copy_input_until_stop
	movl	%eax, %r14d
	orl	%r15d, %r14d
	movq	24(%rbx), %rax
	movq	_BZ_M_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	40(%rbx), %rax
	cmpq	48(%rbx), %rax
	jge	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	56(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
	jmp	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_flush_RL
	movq	24(%rbx), %rax
	xorl	%esi, %esi
	movq	_BZ_M_FINISHING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%sil
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_BZ2_compressBlock
	movq	_BZ_S_OUTPUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_3
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_isempty_RL
	testq	%rax, %rax
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_2
	jmp	LBB0_12
LBB0_21:
	movl	%r15d, %r12d
LBB0_22:
	movl	%r15d, %r14d
LBB0_23:
	xorl	%eax, %eax
	orl	%r14d, %r12d
	setne	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_False,4,2                      ## @False
	.comm	_True,8,3                       ## @True
	.comm	_BZ_S_OUTPUT,8,3                ## @BZ_S_OUTPUT
	.comm	_BZ_M_FINISHING,8,3             ## @BZ_M_FINISHING
	.comm	_BZ_S_INPUT,8,3                 ## @BZ_S_INPUT
	.comm	_BZ_M_FLUSHING,8,3              ## @BZ_M_FLUSHING
	.comm	_BZ_M_RUNNING,8,3               ## @BZ_M_RUNNING
	.no_dead_strip	_handle_compress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_compress
_handle_compress:                       ; @handle_compress
	.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
Lloh0:
	adrp	x22, _False@GOTPAGE
Lloh1:
	ldr	x22, [x22, _False@GOTPAGEOFF]
	ldr	w20, [x22]
Lloh2:
	adrp	x23, _True@GOTPAGE
Lloh3:
	ldr	x23, [x23, _True@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_20
; %bb.1:
Lloh4:
	adrp	x24, _BZ_S_OUTPUT@GOTPAGE
Lloh5:
	ldr	x24, [x24, _BZ_S_OUTPUT@GOTPAGEOFF]
Lloh6:
	adrp	x25, _BZ_M_FINISHING@GOTPAGE
Lloh7:
	ldr	x25, [x25, _BZ_M_FINISHING@GOTPAGEOFF]
Lloh8:
	adrp	x26, _BZ_S_INPUT@GOTPAGE
Lloh9:
	ldr	x26, [x26, _BZ_S_INPUT@GOTPAGEOFF]
	ldr	x19, [x0]
Lloh10:
	adrp	x27, _BZ_M_FLUSHING@GOTPAGE
Lloh11:
	ldr	x27, [x27, _BZ_M_FLUSHING@GOTPAGEOFF]
	mov	x21, x20
Lloh12:
	adrp	x28, _BZ_M_RUNNING@GOTPAGE
Lloh13:
	ldr	x28, [x28, _BZ_M_RUNNING@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #56]
	ldr	x8, [x8]
	cbz	x8, LBB0_21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_copy_output_until_stop
	orr	w21, w0, w21
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.lt	LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_isempty_RL
	cbnz	x0, LBB0_21
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_prepare_new_block
	ldr	x8, [x26]
	str	x8, [x19]
	ldr	x9, [x19, #24]
	ldr	x10, [x27]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #32]
	cbnz	x9, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_isempty_RL
	cbnz	x0, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_copy_input_until_stop
	orr	w20, w0, w20
	ldr	x8, [x19, #24]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x9, [x19, #40]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x22]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_flush_RL
	ldr	x8, [x19, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	cset	w1, eq
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_BZ2_compressBlock
	ldr	x8, [x24]
	str	x8, [x19]
	b	LBB0_3
LBB0_20:
	mov	x21, x20
LBB0_21:
	orr	w8, w20, w21
	cmp	w8, #0
	cset	w0, ne
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_False,4,2                      ; @False
	.comm	_True,8,3                       ; @True
	.comm	_BZ_S_OUTPUT,8,3                ; @BZ_S_OUTPUT
	.comm	_BZ_M_FINISHING,8,3             ; @BZ_M_FINISHING
	.comm	_BZ_S_INPUT,8,3                 ; @BZ_S_INPUT
	.comm	_BZ_M_FLUSHING,8,3              ; @BZ_M_FLUSHING
	.comm	_BZ_M_RUNNING,8,3               ; @BZ_M_RUNNING
	.no_dead_strip	_handle_compress
.subsections_via_symbols
