	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_buffer
_decode_buffer:                         ## @decode_buffer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	16(%rbp), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r12
	movq	8(%r14), %rsi
	cmpq	%rsi, %r12
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, (%r14)
	xorl	%r12d, %r12d
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	subq	%r15, %rbx
	subq	%r12, %rsi
	movq	%rbx, %rdi
	callq	_my_min
	addq	%r12, %rax
	movq	%rax, 16(%r14)
	movl	48(%r14), %edi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	*40(%r14)
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r13
	subq	%r12, %r13
	xorl	%edi, %edi
	cmpq	%rbx, %r13
	setbe	%dil
	callq	_assert
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rdi
	addq	32(%r14), %r12
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	addq	%r15, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	cmpq	$0, 24(%r14)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_lz_decoder_reset
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	movq	16(%rbp), %rbx
	movq	%rcx, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rbx, %r13
	jne	LBB0_1
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	movq	16(%rbp), %rbx
	movq	%rcx, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rbx, %r13
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rcx
	cmpq	8(%r14), %rcx
	jge	LBB0_1
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_OK,8,3                    ## @LZMA_OK
	.no_dead_strip	_decode_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_buffer
_decode_buffer:                         ; @decode_buffer
	.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	x19, x6
	mov	x20, x5
	stp	x3, x4, [sp]                    ; 16-byte Folded Spill
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x20]
	sub	x27, x19, x22
	sub	x1, x8, x21
	mov	x0, x27
	bl	_my_min
	add	x8, x0, x21
	str	x8, [x25, #16]
	ldr	x8, [x25, #40]
	ldr	w0, [x25, #48]
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	ldr	x4, [sp]                        ; 8-byte Folded Reload
	blr	x8
	mov	x26, x0
	ldr	x8, [x25]
	sub	x28, x8, x21
	cmp	x28, x27
	cset	w0, ls
	bl	_assert
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x0, x8, x22, lsl #2
	ldr	x8, [x25, #32]
	add	x1, x8, x21
	mov	x2, x28
	bl	_memcpy
	add	x21, x28, x22
	str	x21, [x20]
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_lz_decoder_reset
Lloh0:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x26, x8
	ccmp	x21, x19, #4, eq
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x21, x8, [x25]
	cmp	x21, x8
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	str	xzr, [x25]
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh3:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x26, x8
	ccmp	x21, x19, #4, eq
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_3
LBB0_7:
	mov	x0, x26
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_OK,8,3                    ; @LZMA_OK
	.no_dead_strip	_decode_buffer
.subsections_via_symbols
