	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function block_encode_uncompressed
_block_encode_uncompressed:             ## @block_encode_uncompressed
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LZMA_DICT_SIZE_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_LZMA_FILTER_LZMA2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	leaq	-96(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	_LZMA_VLI_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	16(%rdi), %r13
	leaq	-80(%rbp), %rax
	movq	%rax, 16(%rdi)
	callq	_lzma_block_header_size
	movq	_LZMA_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	(%rbx), %r13
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_lzma2_bound
	xorl	%edi, %edi
	cmpq	%rax, %r13
	sete	%dil
	callq	_assert
	movq	(%r12), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %rcx
	movq	(%rbx), %rdx
	addq	8(%rbx), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_4
## %bb.2:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	_LZMA_BUF_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	%r13, 16(%rbx)
	jmp	LBB0_9
LBB0_4:
	leaq	(%r15,%rax,4), %rsi
	movq	%rbx, %rdi
	callq	_lzma_block_header_encode
	movq	_LZMA_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%rbx)
	jne	LBB0_9
## %bb.5:
	movq	(%r12), %r14
	addq	8(%rbx), %r14
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.6:
	leaq	1(%r14), %rax
	movq	%rax, (%r12)
	movl	$1, (%r15,%r14,4)
	movq	_LZMA2_CHUNK_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_my_min
	movq	%rax, %r13
	decq	%rax
	movzbl	%al, %ecx
	shrq	$8, %rax
	movq	(%r12), %rdx
	movl	%eax, (%r15,%rdx,4)
	leaq	2(%rdx), %rax
	movq	%rax, (%r12)
	movl	%ecx, 4(%r15,%rdx,4)
	leaq	(%rdx,%r13), %rax
	addq	$2, %rax
	xorl	%edi, %edi
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	setbe	%dil
	callq	_assert
	movq	(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r13, %rdx
	callq	_memcpy
	movq	(%r12), %r14
	addq	%r13, %r14
	cmpq	%rbx, %r13
	jae	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r14), %rax
	movq	%rax, (%r12)
	movl	$2, (%r15,%r14,4)
	movq	%rbx, %rdi
	subq	%r13, %rdi
	movq	_LZMA2_CHUNK_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_my_min
	movq	%rax, %r14
	decq	%rax
	movzbl	%al, %ecx
	shrq	$8, %rax
	movq	(%r12), %rdx
	movl	%eax, (%r15,%rdx,4)
	leaq	2(%rdx), %rax
	movq	%rax, (%r12)
	movl	%ecx, 4(%r15,%rdx,4)
	leaq	(%rdx,%r14), %rax
	addq	$2, %rax
	xorl	%edi, %edi
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	setbe	%dil
	callq	_assert
	movq	(%r12), %rax
	leaq	(%r15,%rax,4), %rdi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13,4), %rsi
	movq	%r14, %rdx
	callq	_memcpy
	addq	%r14, %r13
	addq	(%r12), %r14
	movq	%r14, (%r12)
	cmpq	%rbx, %r13
	jb	LBB0_7
LBB0_8:
	leaq	1(%r14), %rax
	movq	%rax, (%r12)
	movl	$0, (%r15,%r14,4)
	xorl	%edi, %edi
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	setbe	%dil
	callq	_assert
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_DICT_SIZE_MIN,4,2         ## @LZMA_DICT_SIZE_MIN
	.comm	_LZMA_FILTER_LZMA2,4,2          ## @LZMA_FILTER_LZMA2
	.comm	_LZMA_VLI_UNKNOWN,4,2           ## @LZMA_VLI_UNKNOWN
	.comm	_LZMA_OK,8,3                    ## @LZMA_OK
	.comm	_LZMA_PROG_ERROR,8,3            ## @LZMA_PROG_ERROR
	.comm	_LZMA_BUF_ERROR,8,3             ## @LZMA_BUF_ERROR
	.comm	_LZMA2_CHUNK_MAX,4,2            ## @LZMA2_CHUNK_MAX
	.no_dead_strip	_block_encode_uncompressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function block_encode_uncompressed
_block_encode_uncompressed:             ; @block_encode_uncompressed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _LZMA_DICT_SIZE_MIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZMA_DICT_SIZE_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _LZMA_FILTER_LZMA2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LZMA_FILTER_LZMA2@GOTPAGEOFF]
	str	w8, [sp]
Lloh8:
	ldr	w8, [x9]
	str	w8, [sp, #8]
	mov	x8, sp
Lloh9:
	adrp	x9, _LZMA_VLI_UNKNOWN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LZMA_VLI_UNKNOWN@GOTPAGEOFF]
	str	x8, [sp, #16]
Lloh11:
	ldr	w8, [x9]
	str	w8, [sp, #24]
	ldr	x25, [x0, #16]
	add	x8, sp, #8
	str	x8, [x0, #16]
	bl	_lzma_block_header_size
Lloh12:
	adrp	x26, _LZMA_OK@GOTPAGE
Lloh13:
	ldr	x26, [x26, _LZMA_OK@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x27, [x24]
	mov	x0, x22
	bl	_lzma2_bound
	cmp	x27, x0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21]
	sub	x9, x19, x8
	ldp	x11, x10, [x24]
	add	x10, x11, x10
	cmp	x9, x10
	b.hs	LBB0_4
; %bb.2:
	str	x25, [x24, #16]
Lloh14:
	adrp	x8, _LZMA_BUF_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LZMA_BUF_ERROR@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
	str	x25, [x24, #16]
	b	LBB0_10
LBB0_4:
	add	x1, x20, x8, lsl #2
	mov	x0, x24
	bl	_lzma_block_header_encode
	ldr	x8, [x26]
	str	x25, [x24, #16]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:
	ldr	x8, [x24, #8]
	ldr	x9, [x21]
	add	x8, x9, x8
	cbz	x22, LBB0_9
; %bb.6:
	add	x9, x8, #1
	str	x9, [x21]
	mov	w9, #1
	str	w9, [x20, x8, lsl #2]
Lloh16:
	adrp	x26, _LZMA2_CHUNK_MAX@GOTPAGE
Lloh17:
	ldr	x26, [x26, _LZMA2_CHUNK_MAX@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x22
	bl	_my_min
	mov	x24, x0
	sub	x8, x0, #1
	lsr	x9, x8, #8
	ldr	x10, [x21]
	add	x11, x20, x10, lsl #2
	str	w9, [x11]
	and	w8, w8, #0xff
	add	x9, x10, #2
	str	x9, [x21]
	str	w8, [x11, #4]
	add	x8, x9, x0
	cmp	x8, x19
	cset	w0, ls
	bl	_assert
	ldr	x8, [x21]
	add	x0, x20, x8, lsl #2
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	ldr	x8, [x21]
	add	x8, x8, x24
	cmp	x24, x22
	b.hs	LBB0_9
; %bb.7:
	mov	w27, #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x8, #1
	str	x9, [x21]
	str	w27, [x20, x8, lsl #2]
	sub	x0, x22, x24
	ldr	w1, [x26]
	bl	_my_min
	mov	x25, x0
	sub	x8, x0, #1
	lsr	x9, x8, #8
	ldr	x10, [x21]
	add	x11, x20, x10, lsl #2
	str	w9, [x11]
	and	w8, w8, #0xff
	add	x9, x10, #2
	str	x9, [x21]
	str	w8, [x11, #4]
	add	x8, x9, x0
	cmp	x8, x19
	cset	w0, ls
	bl	_assert
	ldr	x8, [x21]
	add	x0, x20, x8, lsl #2
	add	x1, x23, x24, lsl #2
	mov	x2, x25
	bl	_memcpy
	ldr	x8, [x21]
	add	x8, x8, x25
	str	x8, [x21]
	add	x24, x25, x24
	cmp	x24, x22
	b.lo	LBB0_8
LBB0_9:
	add	x9, x8, #1
	str	x9, [x21]
	str	wzr, [x20, x8, lsl #2]
	cmp	x9, x19
	cset	w0, ls
	bl	_assert
Lloh18:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh20:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
LBB0_11:
	ldr	x0, [x8]
	ldr	x8, [sp, #40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_DICT_SIZE_MIN,4,2         ; @LZMA_DICT_SIZE_MIN
	.comm	_LZMA_FILTER_LZMA2,4,2          ; @LZMA_FILTER_LZMA2
	.comm	_LZMA_VLI_UNKNOWN,4,2           ; @LZMA_VLI_UNKNOWN
	.comm	_LZMA_OK,8,3                    ; @LZMA_OK
	.comm	_LZMA_PROG_ERROR,8,3            ; @LZMA_PROG_ERROR
	.comm	_LZMA_BUF_ERROR,8,3             ; @LZMA_BUF_ERROR
	.comm	_LZMA2_CHUNK_MAX,4,2            ; @LZMA2_CHUNK_MAX
	.no_dead_strip	_block_encode_uncompressed
.subsections_via_symbols
