	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function block_decode
_block_decode:                          ## @block_decode
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$130, %eax
	je	LBB0_31
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_15
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_18
## %bb.3:
	leaq	4(%rbx), %r8
	movl	4(%rbx), %eax
	testb	$3, %al
	je	LBB0_26
LBB0_4:
	movq	(%r13), %rcx
	cmpq	%r14, %rcx
	jae	LBB0_19
## %bb.5:
	leal	1(%rax), %edi
	movl	%edi, (%r8)
	leaq	1(%rcx), %rsi
	movq	%rsi, (%r13)
	cmpl	$0, (%rdx,%rcx,4)
	jne	LBB0_17
## %bb.6:
	testb	$3, %dil
	je	LBB0_26
## %bb.7:
	movq	(%r13), %rcx
	cmpq	%r14, %rcx
	jae	LBB0_19
## %bb.8:
	leal	2(%rax), %edi
	movl	%edi, (%r8)
	leaq	1(%rcx), %rsi
	movq	%rsi, (%r13)
	cmpl	$0, (%rdx,%rcx,4)
	jne	LBB0_17
## %bb.9:
	testb	$3, %dil
	je	LBB0_26
## %bb.10:
	movq	(%r13), %rcx
	cmpq	%r14, %rcx
	jae	LBB0_19
## %bb.11:
	leal	3(%rax), %edi
	movl	%edi, (%r8)
	leaq	1(%rcx), %rsi
	movq	%rsi, (%r13)
	cmpl	$0, (%rdx,%rcx,4)
	jne	LBB0_17
## %bb.12:
	testb	$3, %dil
	je	LBB0_26
## %bb.13:
	movq	(%r13), %rcx
	cmpq	%r14, %rcx
	jae	LBB0_19
## %bb.14:
	addl	$4, %eax
	movl	%eax, (%r8)
	incq	%rcx
	movq	%rcx, (%r13)
	movq	_LZMA_DATA_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_15:
	movq	%r9, %r12
	movl	32(%rbp), %eax
	movq	16(%rbp), %r15
	movq	%r14, %r8
	movq	(%r13), %r14
	movq	(%r15), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	48(%rbx), %edi
	subq	$8, %rsp
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	pushq	%rax
	pushq	24(%rbp)
	pushq	%r15
	callq	*56(%rbx)
	addq	$32, %rsp
	movq	%r13, %rcx
	movl	%eax, %r13d
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rsi
	subq	%r14, %rsi
	movq	(%r15), %r15
	leaq	4(%rbx), %rdi
	movl	8(%rbx), %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_update_size
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	subq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	leaq	12(%rbx), %rdi
	movq	32(%rbx), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_update_size
	testl	%eax, %eax
	jne	LBB0_17
## %bb.20:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 40(%rbx)
	jne	LBB0_22
## %bb.21:
	leaq	24(%rbx), %rdi
	movq	32(%rbx), %rax
	movl	12(%rax), %esi
	leaq	(%r12,%rcx,4), %rdx
	movq	%r15, %rcx
	callq	_lzma_check_update
LBB0_22:
	movq	_LZMA_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_36
## %bb.23:
	movl	4(%rbx), %edi
	movq	32(%rbx), %rax
	movl	4(%rax), %esi
	callq	_is_size_valid
	testl	%eax, %eax
	je	LBB0_17
## %bb.24:
	movl	12(%rbx), %edi
	movq	32(%rbx), %rax
	movl	(%rax), %esi
	callq	_is_size_valid
	testl	%eax, %eax
	je	LBB0_17
## %bb.25:
	movl	4(%rbx), %eax
	movq	32(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	12(%rbx), %edx
	movl	%edx, (%rcx)
	movl	$128, (%rbx)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	testb	$3, %al
	jne	LBB0_4
LBB0_26:
	movq	32(%rbx), %rax
	movl	12(%rax), %esi
	movq	_LZMA_CHECK_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_34
## %bb.28:
	cmpl	$0, 40(%rbx)
	jne	LBB0_30
## %bb.29:
	leaq	24(%rbx), %rdi
	movq	%rdx, %r15
	callq	_lzma_check_finish
	movq	%r15, %rdx
LBB0_30:
	movl	$130, (%rbx)
LBB0_31:
	movq	32(%rbx), %rax
	movl	12(%rax), %edi
	movq	%rdx, %r12
	callq	_lzma_check_size
	movq	%rax, %r15
	movq	32(%rbx), %rax
	movl	8(%rax), %ecx
	leaq	16(%rbx), %r8
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r15, %r9
	callq	_lzma_bufcpy
	cmpq	%r15, 16(%rbx)
	jae	LBB0_33
LBB0_19:
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_18:
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_33:
	cmpl	$0, 40(%rbx)
	je	LBB0_37
LBB0_34:
	movq	_LZMA_STREAM_END@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_37:
	movq	32(%rbx), %rax
	movl	12(%rax), %edi
	callq	_lzma_check_is_supported
	testl	%eax, %eax
	je	LBB0_34
## %bb.38:
	movq	32(%rbx), %rax
	movl	8(%rax), %edi
	movl	24(%rbx), %esi
	movq	%r15, %rdx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_34
LBB0_17:
	movq	_LZMA_DATA_ERROR@GOTPCREL(%rip), %rax
LBB0_35:
	movl	(%rax), %r13d
LBB0_36:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_DATA_ERROR,4,2            ## @LZMA_DATA_ERROR
	.comm	_LZMA_STREAM_END,4,2            ## @LZMA_STREAM_END
	.comm	_LZMA_OK,4,2                    ## @LZMA_OK
	.comm	_LZMA_CHECK_NONE,4,2            ## @LZMA_CHECK_NONE
	.comm	_LZMA_PROG_ERROR,4,2            ## @LZMA_PROG_ERROR
	.no_dead_strip	_block_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function block_decode
_block_decode:                          ; @block_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #130
	b.eq	LBB0_27
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_15
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_29
; %bb.3:
	mov	x23, x19
	ldr	w8, [x23, #4]!
	tst	w8, #0x3
	b.eq	LBB0_23
LBB0_4:
	ldr	x9, [x20]
	cmp	x9, x21
	b.hs	LBB0_28
; %bb.5:
	add	w10, w8, #1
	str	w10, [x23]
	add	x11, x9, #1
	str	x11, [x20]
	ldr	w9, [x22, x9, lsl #2]
	cbnz	w9, LBB0_34
; %bb.6:
	tst	w10, #0x3
	b.eq	LBB0_23
; %bb.7:
	ldr	x9, [x20]
	cmp	x9, x21
	b.hs	LBB0_28
; %bb.8:
	add	w10, w8, #2
	str	w10, [x23]
	add	x11, x9, #1
	str	x11, [x20]
	ldr	w9, [x22, x9, lsl #2]
	cbnz	w9, LBB0_34
; %bb.9:
	tst	w10, #0x3
	b.eq	LBB0_23
; %bb.10:
	ldr	x9, [x20]
	cmp	x9, x21
	b.hs	LBB0_28
; %bb.11:
	add	w10, w8, #3
	str	w10, [x23]
	add	x11, x9, #1
	str	x11, [x20]
	ldr	w9, [x22, x9, lsl #2]
	cbnz	w9, LBB0_34
; %bb.12:
	tst	w10, #0x3
	b.eq	LBB0_23
; %bb.13:
	ldr	x9, [x20]
	cmp	x9, x21
	b.hs	LBB0_28
; %bb.14:
	add	w8, w8, #4
	str	w8, [x23]
	add	x8, x9, #1
	str	x8, [x20]
	b	LBB0_34
LBB0_15:
	mov	x23, x6
	mov	x25, x5
	ldr	w8, [x29, #16]
	ldr	x26, [x20]
	ldr	x27, [x6]
	ldr	x9, [x19, #56]
	ldr	w0, [x19, #48]
	str	w8, [sp]
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	blr	x9
	mov	x24, x0
	ldr	x8, [x20]
	sub	x1, x8, x26
	ldr	x26, [x23]
	add	x23, x19, #4
	ldr	w2, [x19, #8]
	mov	x0, x23
	bl	_update_size
	cbnz	w0, LBB0_34
; %bb.16:
	sub	x26, x26, x27
	add	x0, x19, #12
	ldr	x8, [x19, #32]
	ldr	w2, [x8]
	mov	x1, x26
	bl	_update_size
	cbnz	w0, LBB0_34
; %bb.17:
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_19
; %bb.18:
	add	x0, x19, #24
	ldr	x8, [x19, #32]
	ldr	w1, [x8, #12]
	add	x2, x25, x27, lsl #2
	mov	x3, x26
	bl	_lzma_check_update
LBB0_19:
Lloh0:
	adrp	x8, _LZMA_STREAM_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_STREAM_END@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_36
; %bb.20:
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #32]
	ldr	w1, [x8, #4]
	bl	_is_size_valid
	cbz	w0, LBB0_34
; %bb.21:
	ldr	w0, [x19, #12]
	ldr	x8, [x19, #32]
	ldr	w1, [x8]
	bl	_is_size_valid
	cbz	w0, LBB0_34
; %bb.22:
	ldr	w8, [x19, #4]
	ldr	x9, [x19, #32]
	ldr	w10, [x19, #12]
	stp	w10, w8, [x9]
	mov	w9, #128
	str	w9, [x19]
	tst	w8, #0x3
	b.ne	LBB0_4
LBB0_23:
	ldr	x8, [x19, #32]
	ldr	w1, [x8, #12]
Lloh3:
	adrp	x8, _LZMA_CHECK_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZMA_CHECK_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, w8
	b.eq	LBB0_31
; %bb.24:
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_26
; %bb.25:
	add	x0, x19, #24
	bl	_lzma_check_finish
LBB0_26:
	mov	w8, #130
	str	w8, [x19]
LBB0_27:
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #12]
	bl	_lzma_check_size
	mov	x23, x0
	ldr	x8, [x19, #32]
	ldr	w3, [x8, #8]
	add	x4, x19, #16
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	x5, x23
	bl	_lzma_bufcpy
	ldr	x8, [x19, #16]
	cmp	x8, x23
	b.hs	LBB0_30
LBB0_28:
Lloh6:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
	b	LBB0_35
LBB0_29:
Lloh8:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
	b	LBB0_35
LBB0_30:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_32
LBB0_31:
Lloh10:
	adrp	x8, _LZMA_STREAM_END@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LZMA_STREAM_END@GOTPAGEOFF]
	b	LBB0_35
LBB0_32:
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #12]
	bl	_lzma_check_is_supported
	cbz	w0, LBB0_31
; %bb.33:
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #8]
	ldr	w1, [x19, #24]
	mov	x2, x23
	bl	_memcmp
	cbz	w0, LBB0_31
LBB0_34:
Lloh12:
	adrp	x8, _LZMA_DATA_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LZMA_DATA_ERROR@GOTPAGEOFF]
LBB0_35:
	ldr	w24, [x8]
LBB0_36:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_DATA_ERROR,4,2            ; @LZMA_DATA_ERROR
	.comm	_LZMA_STREAM_END,4,2            ; @LZMA_STREAM_END
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
	.comm	_LZMA_CHECK_NONE,4,2            ; @LZMA_CHECK_NONE
	.comm	_LZMA_PROG_ERROR,4,2            ; @LZMA_PROG_ERROR
	.no_dead_strip	_block_decode
.subsections_via_symbols
