	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SzDecodeCopy
_SzDecodeCopy:                          ## @SzDecodeCopy
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	jle	LBB0_5
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r12
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$262144, %rbx                   ## imm = 0x40000
	movl	$262144, %eax                   ## imm = 0x40000
	cmovbq	%rbx, %rax
	movq	%rax, -48(%rbp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_RINOK
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_memcpy
	movq	-48(%rbp), %rsi
	leaq	(%r15,%rsi,4), %r15
	subq	%rsi, %rbx
	movq	%r14, %rdi
	callq	*(%r14)
	movl	%eax, %edi
	callq	_RINOK
	testq	%rbx, %rbx
	jg	LBB0_2
LBB0_5:
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_SZ_ERROR_INPUT_EOF@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_ERROR_INPUT_EOF,4,2         ## @SZ_ERROR_INPUT_EOF
	.comm	_SZ_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_SzDecodeCopy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SzDecodeCopy
_SzDecodeCopy:                          ; @SzDecodeCopy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #262144
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, #64, lsl #12               ; =262144
	csel	x8, x21, x22, lo
	str	x8, [sp]
	ldr	x8, [x20, #8]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	blr	x8
	bl	_RINOK
	ldr	x2, [sp]
	cbz	x2, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_memcpy
	ldr	x1, [sp]
	add	x19, x19, x1, lsl #2
	sub	x21, x21, x1
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	bl	_RINOK
	cmp	x21, #0
	b.gt	LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _SZ_ERROR_INPUT_EOF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SZ_ERROR_INPUT_EOF@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_ERROR_INPUT_EOF,4,2         ; @SZ_ERROR_INPUT_EOF
	.comm	_SZ_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_SzDecodeCopy
.subsections_via_symbols
