	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzma_main
_lzma_main:                             ## @lzma_main
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	56(%rdi), %r14
	movq	%r14, %rdi
	callq	_dict_has_space
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r12)
	jle	LBB0_3
## %bb.2:
	leaq	8(%r12), %rsi
	movl	32(%r12), %edx
	movq	%r14, %rdi
	callq	_dict_repeat
LBB0_3:
	movq	%r14, %rdi
	callq	_dict_has_space
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	leaq	8(%r12), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_lzma_literal
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_dict_has_space
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_rc_limit_exceeded
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r12), %rbx
	movq	24(%r12), %rax
	andq	56(%r12), %rbx
	movq	48(%r12), %rcx
	leaq	(,%rbx,4), %rsi
	addq	(%rcx,%rax,8), %rsi
	movq	%r12, %rdi
	callq	_rc_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r12), %rsi
	shlq	$2, %rsi
	addq	40(%r12), %rsi
	movq	%r12, %rdi
	callq	_rc_bit
	movq	%r12, %rdi
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_lzma_rep_match
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_lzma_match
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	32(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dict_repeat
	testl	%eax, %eax
	jne	LBB0_8
## %bb.14:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_9:
	movq	%r12, %rdi
	callq	_rc_normalize
	movb	$1, %al
LBB0_15:
	movzbl	%al, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lzma_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzma_main
_lzma_main:                             ; @lzma_main
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	x20, x0, #56
	mov	x0, x20
	bl	_dict_has_space
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x19
	ldr	x8, [x1, #8]!
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	w2, [x19, #32]
	mov	x0, x20
	bl	_dict_repeat
LBB0_3:
	mov	x0, x20
	bl	_dict_has_space
	cbz	x0, LBB0_13
; %bb.4:
	add	x21, x19, #8
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_lzma_literal
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_dict_has_space
	cbz	x0, LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rc_limit_exceeded
	cbnz	w0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x9, x8, [x19, #48]
	ldp	x10, x11, [x19, #16]
	and	x22, x10, x8
	ldr	x8, [x9, x11, lsl #3]
	add	x1, x8, x22, lsl #2
	mov	x0, x19
	bl	_rc_bit
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x19, #24]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_rc_bit
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_lzma_rep_match
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_lzma_match
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x19, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_dict_repeat
	cbnz	w0, LBB0_6
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_rc_normalize
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lzma_main
.subsections_via_symbols
