	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NtfsDecodeRun
_NtfsDecodeRun:                         ## @NtfsDecodeRun
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	(%rdi), %r8d
	movl	%r8d, %esi
	shrl	$4, %esi
	andl	$15, %esi
	addq	$4, %r13
	movl	%r8d, %r12d
	movl	$0, (%r15)
	movl	$0, (%rdx)
	andl	$15, %r12d
	je	LBB0_8
## %bb.1:
	leal	-1(%r12), %eax
	andl	$3, %r8d
	cmpl	$3, %eax
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	%r12d, %r9d
	subl	%r8d, %r9d
	xorl	%edi, %edi
	movl	$16, %r10d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%r13), %edi
	movl	%edi, (%r14)
	movl	4(%r13), %ebx
	leal	-8(%r10), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	addl	%edi, %ebx
	movl	%ebx, (%r14)
	movl	8(%r13), %edx
	movl	%r10d, %ecx
	shll	%cl, %edx
	addl	%ebx, %edx
	movl	%edx, (%r14)
	movl	12(%r13), %edi
	leal	8(%r10), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	addl	%edx, %edi
	movl	%edi, (%r14)
	addl	$4, %eax
	addq	$16, %r13
	addl	$32, %r10d
	cmpl	%eax, %r9d
	jne	LBB0_4
LBB0_5:
	testl	%r8d, %r8d
	je	LBB0_8
## %bb.6:
	shll	$3, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	addl	%edx, %edi
	movl	%edi, (%r14)
	addq	$4, %r13
	addl	$8, %eax
	decl	%r8d
	jne	LBB0_7
LBB0_8:
	testl	%esi, %esi
	je	LBB0_9
## %bb.10:
	xorl	%r8d, %r8d
	movl	(%r15), %eax
	cmpl	$1, %esi
	je	LBB0_19
## %bb.11:
	leal	-1(%rsi), %r8d
	leal	-2(%rsi), %ecx
	movl	%r8d, %r9d
	andl	$3, %r9d
	cmpl	$3, %ecx
	jae	LBB0_13
## %bb.12:
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_9:
	movl	$-1, %edx
	jmp	LBB0_20
LBB0_13:
	movl	%r8d, %r10d
	andl	$-4, %r10d
	xorl	%edx, %edx
	movl	$16, %r11d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	addl	(%r13), %eax
	movl	%eax, (%r15)
	movl	4(%r13), %ebx
	leal	-8(%r11), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	addl	%eax, %ebx
	movl	%ebx, (%r15)
	movl	8(%r13), %edi
	movl	%r11d, %ecx
	shll	%cl, %edi
	addl	%ebx, %edi
	movl	%edi, (%r15)
	movl	12(%r13), %eax
	leal	8(%r11), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addl	%edi, %eax
	movl	%eax, (%r15)
	addq	$16, %r13
	addl	$4, %edx
	addl	$32, %r11d
	cmpl	%edx, %r10d
	jne	LBB0_14
LBB0_15:
	testl	%r9d, %r9d
	je	LBB0_18
## %bb.16:
	shll	$3, %edx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	addl	%edi, %eax
	movl	%eax, (%r15)
	addq	$4, %r13
	addl	$8, %edx
	decl	%r9d
	jne	LBB0_17
LBB0_18:
	shll	$3, %r8d
LBB0_19:
	movl	(%r13), %edx
	addq	$4, %r13
	movl	%r8d, %ecx
	shll	%cl, %edx
	addl	%eax, %edx
LBB0_20:
	movl	%edx, (%r15)
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_TRACE
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	callq	_TRACE
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_TRACE
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_TRACE
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DataRunOffsetSize: %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"DataRunLengthSize: %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"DataRunOffset: %x\n"

L_.str.3:                               ## @.str.3
	.asciz	"DataRunLength: %x\n"

	.no_dead_strip	_NtfsDecodeRun
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NtfsDecodeRun
_NtfsDecodeRun:                         ; @NtfsDecodeRun
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x19], #4
	ubfx	w1, w8, #4, #4
	str	wzr, [x21]
	str	wzr, [x2]
	ands	w22, w8, #0xf
	b.eq	LBB0_3
; %bb.1:
	mov	w8, #0
	mov	w9, #0
	lsl	w10, w22, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x19], #4
	lsl	w11, w11, w8
	add	w9, w9, w11
	str	w9, [x20]
	add	w8, w8, #8
	cmp	w10, w8
	b.ne	LBB0_2
LBB0_3:
	cbz	w1, LBB0_9
; %bb.4:
	ldr	w8, [x21]
	subs	w9, w1, #1
	b.eq	LBB0_8
; %bb.5:
	mov	w10, #0
	mov	x11, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x19], #4
	lsl	w12, w12, w10
	add	w8, w8, w12
	str	w8, [x21]
	add	w10, w10, #8
	subs	w11, w11, #1
	b.ne	LBB0_6
; %bb.7:
	lsl	w9, w9, #3
LBB0_8:
	ldr	w10, [x19], #4
	lsl	w9, w10, w9
	add	w8, w9, w8
	b	LBB0_10
LBB0_9:
	mov	w8, #-1
LBB0_10:
	str	w8, [x21]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_TRACE
	ldr	w1, [x21]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	w1, [x20]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DataRunOffsetSize: %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"DataRunLengthSize: %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"DataRunOffset: %x\n"

l_.str.3:                               ; @.str.3
	.asciz	"DataRunLength: %x\n"

	.no_dead_strip	_NtfsDecodeRun
.subsections_via_symbols
