	.file	"extr_rw.c_NtfsReadFile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"NtfsReadFile(%p, %p, %p, %lu, %lu, %lx, %p)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Null read!\n"
.LC2:
	.string	"Compressed file!\n"
.LC3:
	.string	"Not enough memory!\n"
.LC4:
	.string	"Can't find record!\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"No '%S' data stream associated with file!\n"
	.section	.rodata.str1.1
.LC6:
	.string	"Data stream: '%wZ' available\n"
.LC7:
	.string	"Reading beyond stream end!\n"
	.section	.rodata.str1.8
	.align 8
.LC8:
	.string	"Effective read: %lu at %lu for stream '%S'\n"
	.section	.rodata.str1.1
.LC9:
	.string	"Read failure!\n"
.LC10:
	.string	"%lu got read\n"
	.text
	.p2align 4
	.type	NtfsReadFile, @function
NtfsReadFile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	mov	QWORD PTR 24[rsp], rdx
	mov	r14, QWORD PTR 192[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 16[rsp], rax
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 200
	push	r9
	.cfi_def_cfa_offset 208
	mov	r9, r8
	mov	r8, rcx
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rdi
	lea	rdi, .LC0[rip]
	call	DPRINT@PLT
	mov	QWORD PTR [r14], 0
	pop	rsi
	.cfi_def_cfa_offset 200
	pop	rdi
	.cfi_def_cfa_offset 192
	test	rbx, rbx
	je	.L30
	mov	r15, QWORD PTR 0[r13]
	mov	rdi, r15
	call	NtfsFCBIsCompressed@PLT
	test	rax, rax
	jne	.L31
	mov	rdi, rbp
	call	ExAllocateFromNPagedLookasideList@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L32
	mov	esi, DWORD PTR 4[r15]
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ReadFileRecord@PLT
	mov	edi, eax
	mov	r13d, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	je	.L33
	mov	edi, DWORD PTR [r15]
	call	wcslen@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 200
	mov	ecx, DWORD PTR [r15]
	mov	rdi, rbp
	push	0
	.cfi_def_cfa_offset 208
	mov	rdx, QWORD PTR AttributeData[rip]
	mov	r8d, eax
	mov	rsi, QWORD PTR 24[rsp]
	lea	r9, 96[rsp]
	call	FindAttribute@PLT
	mov	edi, eax
	mov	r13d, eax
	call	NT_SUCCESS@PLT
	pop	rdx
	.cfi_def_cfa_offset 200
	pop	rcx
	.cfi_def_cfa_offset 192
	test	rax, rax
	je	.L34
	mov	rax, QWORD PTR 80[rsp]
	mov	edi, DWORD PTR [rax]
	call	AttributeDataLength@PLT
	cmp	r12, rax
	jge	.L35
	mov	rdi, rax
	lea	rcx, [rbx+r12]
	mov	rsi, QWORD PTR 8[rbp]
	sub	rdi, r12
	cmp	rcx, rax
	mov	rax, r12
	cmovle	rdi, rbx
	cqo
	idiv	rsi
	mov	QWORD PTR 32[rsp], rdi
	test	rdx, rdx
	jne	.L13
	mov	rax, rdi
	cqo
	idiv	rsi
	test	rdx, rdx
	je	.L36
.L13:
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], rcx
	call	ROUND_DOWN@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	QWORD PTR 40[rsp], rax
	call	ROUND_UP@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	r8, rax
	mov	rax, QWORD PTR 40[rsp]
	add	rax, r8
	cmp	rcx, rax
	jg	.L37
.L15:
	mov	edx, DWORD PTR TAG_NTFS[rip]
	mov	edi, DWORD PTR NonPagedPool[rip]
	mov	rsi, r8
	mov	QWORD PTR 56[rsp], r8
	call	ExAllocatePoolWithTag@PLT
	mov	rcx, QWORD PTR TRUE[rip]
	mov	r8, QWORD PTR 56[rsp]
	test	rax, rax
	mov	QWORD PTR 48[rsp], rax
	mov	QWORD PTR 16[rsp], rcx
	je	.L38
.L14:
	mov	ecx, DWORD PTR [r15]
	mov	r15, QWORD PTR 40[rsp]
	mov	rsi, r8
	xor	eax, eax
	lea	rdi, .LC8[rip]
	mov	QWORD PTR 56[rsp], r8
	mov	rdx, r15
	call	DPRINT@PLT
	mov	r8, QWORD PTR 56[rsp]
	mov	rdx, r15
	mov	rdi, rbp
	mov	rcx, QWORD PTR 48[rsp]
	mov	rsi, QWORD PTR 80[rsp]
	call	ReadAttribute@PLT
	test	rax, rax
	je	.L39
	mov	rdi, QWORD PTR 80[rsp]
	call	ReleaseAttributeContext@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ExFreeToNPagedLookasideList@PLT
	mov	rax, QWORD PTR 32[rsp]
	lea	rdi, .LC10[rip]
	mov	QWORD PTR [r14], rax
	mov	rsi, rax
	xor	eax, eax
	call	DPRINT@PLT
	cmp	QWORD PTR 16[rsp], 0
	jne	.L40
	cmp	QWORD PTR 32[rsp], rbx
	jne	.L41
.L21:
	mov	r13d, DWORD PTR STATUS_SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	DPRINT1@PLT
	mov	r13d, DWORD PTR STATUS_NOT_IMPLEMENTED[rip]
.L1:
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L42
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	DPRINT1@PLT
	mov	r13d, DWORD PTR STATUS_SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR [r15]
	lea	rbx, 88[rsp]
	lea	r12, 76[rsp]
	lea	rdi, .LC5[rip]
	lea	r14, 96[rsp]
	call	DPRINT1@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, r12
	mov	r8, rbx
	mov	rcx, QWORD PTR FALSE[rip]
	mov	rsi, rbp
	call	FindFirstAttribute@PLT
	mov	edi, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r12
	mov	rsi, rbx
	call	FindNextAttribute@PLT
	mov	edi, eax
.L8:
	call	NT_SUCCESS@PLT
	test	rax, rax
	je	.L43
	mov	rax, QWORD PTR 88[rsp]
	mov	rcx, QWORD PTR AttributeData[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L9
	mov	ecx, DWORD PTR 8[rax]
	add	rax, QWORD PTR 16[rax]
	mov	rsi, r14
	lea	rdi, .LC6[rip]
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	lea	edx, 0[0+rcx*4]
	mov	DWORD PTR 96[rsp], edx
	mov	DWORD PTR 100[rsp], edx
	call	DPRINT1@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L33:
	lea	rdi, .LC4[rip]
	call	DPRINT1@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ExFreeToNPagedLookasideList@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rdi, r12
	call	FindCloseAttribute@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	ReleaseAttributeContext@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ExFreeToNPagedLookasideList@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rdi, .LC3[rip]
	call	DPRINT1@PLT
	mov	r13d, DWORD PTR STATUS_INSUFFICIENT_RESOURCES[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rcx, QWORD PTR 24[rsp]
	mov	QWORD PTR 40[rsp], r12
	mov	r8, rdi
	mov	QWORD PTR 48[rsp], rcx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, QWORD PTR 32[rsp]
	sub	rbx, rdi
	add	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbx
	call	RtlZeroMemory@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L39:
	lea	rdi, .LC9[rip]
	call	DPRINT1@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	ReleaseAttributeContext@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ExFreeToNPagedLookasideList@PLT
	cmp	QWORD PTR 16[rsp], 0
	je	.L1
	mov	esi, DWORD PTR TAG_NTFS[rip]
	mov	rdi, QWORD PTR 48[rsp]
	call	ExFreePoolWithTag@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L35:
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	DPRINT1@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	ReleaseAttributeContext@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ExFreeToNPagedLookasideList@PLT
	mov	r13d, DWORD PTR STATUS_END_OF_FILE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	add	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR 48[rsp], r8
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 80[rsp]
	mov	edi, DWORD PTR [rax]
	call	AttributeAllocatedLength@PLT
	cmp	QWORD PTR 16[rsp], rax
	mov	r8, QWORD PTR 48[rsp]
	jg	.L15
	add	r8, QWORD PTR 8[rbp]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L40:
	mov	r15, QWORD PTR 32[rsp]
	mov	rax, QWORD PTR 48[rsp]
	sub	r12, QWORD PTR 40[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	lea	rsi, [rax+r12*4]
	mov	rdx, r15
	call	RtlCopyMemory@PLT
	cmp	r15, rbx
	je	.L22
	mov	rdi, QWORD PTR 32[rsp]
	sub	rbx, rdi
	add	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbx
	call	RtlZeroMemory@PLT
.L22:
	mov	esi, DWORD PTR TAG_NTFS[rip]
	mov	rdi, QWORD PTR 48[rsp]
	call	ExFreePoolWithTag@PLT
	jmp	.L21
.L38:
	lea	rdi, .LC3[rip]
	call	DPRINT1@PLT
	mov	rdi, QWORD PTR 80[rsp]
	call	ReleaseAttributeContext@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	ExFreeToNPagedLookasideList@PLT
	mov	r13d, DWORD PTR STATUS_INSUFFICIENT_RESOURCES[rip]
	jmp	.L1
.L42:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	NtfsReadFile, .-NtfsReadFile
	.comm	UNIMPLEMENTED,4,4
	.comm	TRUE,8,8
	.comm	TAG_NTFS,4,4
	.comm	STATUS_SUCCESS,4,4
	.comm	STATUS_NOT_IMPLEMENTED,4,4
	.comm	STATUS_INSUFFICIENT_RESOURCES,4,4
	.comm	STATUS_END_OF_FILE,4,4
	.comm	NonPagedPool,4,4
	.comm	FALSE,8,8
	.comm	AttributeData,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rw.c_NtfsReadFile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NtfsReadFile(%p, %p, %p, %lu, %lu, %lx, %p)\012\000"
	.align	2
.LC1:
	.ascii	"Null read!\012\000"
	.align	2
.LC2:
	.ascii	"Compressed file!\012\000"
	.align	2
.LC3:
	.ascii	"Not enough memory!\012\000"
	.align	2
.LC4:
	.ascii	"Can't find record!\012\000"
	.align	2
.LC5:
	.ascii	"No '%S' data stream associated with file!\012\000"
	.align	2
.LC6:
	.ascii	"Data stream: '%wZ' available\012\000"
	.align	2
.LC7:
	.ascii	"Reading beyond stream end!\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC8:
	.ascii	"Effective read: %lu at %lu for stream '%S'\012\000"
	.align	2
.LC9:
	.ascii	"Read failure!\012\000"
	.align	2
.LC10:
	.ascii	"%lu got read\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	NtfsReadFile, %function
NtfsReadFile:
	@ args = 12, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #68
	ldr	ip, [sp, #104]
	ldr	r0, [sp, #108]
	ldr	r8, [sp, #112]
	str	ip, [sp, #4]
	ldr	r10, .L44
	ldr	ip, .L44+4
	str	r3, [sp]
	str	r0, [sp, #8]
	str	r8, [sp, #12]
	ldr	ip, [ip]
	str	ip, [sp, #60]
	mov	ip,#0
	ldr	ip, [r10]
	mov	r5, r3
	mov	r7, r1
	mov	r3, r2
	mov	r6, r2
	ldr	r0, .L44+8
	mov	r2, r1
	mov	r1, r4
	str	ip, [sp, #20]
	bl	DPRINT
	mov	r3, #0
	cmp	r5, r3
	str	r3, [r8]
	beq	.L30
	ldr	r9, [r7]
	mov	r0, r9
	bl	NtfsFCBIsCompressed
	subs	r3, r0, #0
	str	r3, [sp, #24]
	bne	.L31
	mov	r0, r4
	bl	ExAllocateFromNPagedLookasideList
	subs	r3, r0, #0
	str	r3, [sp, #16]
	beq	.L32
	ldr	r2, [sp, #16]
	ldr	r1, [r9, #4]
	mov	r0, r4
	bl	ReadFileRecord
	mov	r7, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L33
	ldr	fp, .L44+12
	ldr	r7, [r9]
	ldr	r2, [fp]
	mov	r0, r7
	str	r2, [sp, #28]
	bl	wcslen
	str	r0, [sp]
	ldr	r0, [sp, #24]
	add	r1, sp, #36
	mov	r3, r7
	ldr	r2, [sp, #28]
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	FindAttribute
	mov	r7, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L34
	ldr	r3, [sp, #36]
	ldr	r0, [r3]
	bl	AttributeDataLength
	ldr	r3, [sp, #104]
	cmp	r3, r0
	bge	.L35
	ldr	r3, [sp, #104]
	ldr	fp, [r4, #4]
	add	r3, r5, r3
	cmp	r3, r0
	str	r3, [sp, #28]
	ldrgt	r3, [sp, #104]
	mov	r1, fp
	subgt	r10, r0, r3
	ldr	r0, [sp, #104]
	movle	r10, r5
	bl	__aeabi_idivmod
	cmp	r1, #0
	bne	.L13
	mov	r1, fp
	mov	r0, r10
	bl	__aeabi_idivmod
	cmp	r1, #0
	beq	.L36
.L13:
	mov	r1, fp
	ldr	r0, [sp, #104]
	bl	ROUND_DOWN
	mov	r3, r0
	ldr	r1, [r4, #4]
	mov	r0, r10
	mov	fp, r3
	str	r3, [sp, #24]
	bl	ROUND_UP
	ldr	r2, [sp, #28]
	add	r3, fp, r0
	cmp	r2, r3
	mov	r1, r0
	bgt	.L37
.L15:
	ldr	r3, .L44+16
	ldr	r2, .L44+20
	ldr	r0, [r3]
	ldr	r2, [r2]
	str	r1, [sp, #20]
	bl	ExAllocatePoolWithTag
	subs	fp, r0, #0
	ldr	r1, [sp, #20]
	beq	.L38
	ldr	r3, .L44+24
	ldr	r3, [r3]
	str	r3, [sp, #20]
.L14:
	ldr	r3, [r9]
	ldr	r9, [sp, #24]
	ldr	r0, .L44+28
	mov	r2, r9
	str	r1, [sp, #28]
	bl	DPRINT
	ldr	r1, [sp, #28]
	mov	r3, fp
	str	r1, [sp]
	mov	r2, r9
	mov	r0, r4
	ldr	r1, [sp, #36]
	bl	ReadAttribute
	cmp	r0, #0
	beq	.L39
	ldr	r0, [sp, #36]
	bl	ReleaseAttributeContext
	ldr	r1, [sp, #16]
	mov	r0, r4
	bl	ExFreeToNPagedLookasideList
	mov	r1, r10
	ldr	r0, .L44+32
	str	r10, [r8]
	bl	DPRINT
	ldr	r3, [sp, #20]
	cmp	r3, #0
	bne	.L40
	cmp	r10, r5
	bne	.L41
.L21:
	ldr	r3, .L44+36
	ldr	r7, [r3]
	b	.L1
.L31:
	ldr	r0, .L44+40
	bl	DPRINT1
	ldr	r3, .L44+44
	ldr	r7, [r3]
.L1:
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L42
	mov	r0, r7
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	ldr	r0, .L44+48
	bl	DPRINT1
	ldr	r3, .L44+36
	ldr	r7, [r3]
	b	.L1
.L34:
	ldr	r1, [r9]
	ldr	r0, .L44+52
	add	r5, sp, #44
	bl	DPRINT1
	ldr	r3, [r10]
	mov	r1, r4
	ldr	r2, [sp, #16]
	add	r0, sp, #40
	str	r5, [sp]
	bl	FindFirstAttribute
	ldr	r6, .L44+56
	b	.L8
.L9:
	mov	r1, r5
	add	r0, sp, #40
	bl	FindNextAttribute
.L8:
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L43
	ldr	r3, [sp, #44]
	ldr	r2, [fp]
	ldr	r1, [r3]
	cmp	r1, r2
	bne	.L9
	ldr	r2, [r3, #4]
	ldr	r1, [r3, #8]
	lsl	r2, r2, #2
	add	r3, r3, r1
	mov	r0, r6
	add	r1, sp, #48
	str	r2, [sp, #48]
	str	r2, [sp, #52]
	str	r3, [sp, #56]
	bl	DPRINT1
	b	.L9
.L33:
	ldr	r0, .L44+60
	bl	DPRINT1
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	ExFreeToNPagedLookasideList
	b	.L1
.L43:
	add	r0, sp, #40
	bl	FindCloseAttribute
	ldr	r0, [sp, #36]
	bl	ReleaseAttributeContext
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	ExFreeToNPagedLookasideList
	b	.L1
.L32:
	ldr	r0, .L44+64
	bl	DPRINT1
	ldr	r3, .L44+68
	ldr	r7, [r3]
	b	.L1
.L36:
	ldr	r3, [sp, #104]
	mov	fp, r6
	mov	r1, r10
	str	r3, [sp, #24]
	b	.L14
.L41:
	sub	r1, r5, r10
	add	r0, r10, r6
	bl	RtlZeroMemory
	b	.L21
.L39:
	ldr	r0, .L44+72
	bl	DPRINT1
	ldr	r0, [sp, #36]
	bl	ReleaseAttributeContext
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	ExFreeToNPagedLookasideList
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L1
	ldr	r3, .L44+20
	mov	r0, fp
	ldr	r1, [r3]
	bl	ExFreePoolWithTag
	b	.L1
.L35:
	ldr	r0, .L44+76
	bl	DPRINT1
	ldr	r0, [sp, #36]
	bl	ReleaseAttributeContext
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	ExFreeToNPagedLookasideList
	ldr	r3, .L44+80
	ldr	r7, [r3]
	b	.L1
.L37:
	ldr	r2, [sp, #36]
	ldr	fp, [r4, #4]
	str	r0, [sp, #20]
	ldr	r0, [r2]
	add	fp, r3, fp
	bl	AttributeAllocatedLength
	cmp	fp, r0
	ldr	r1, [sp, #20]
	ldrle	r3, [r4, #4]
	addle	r1, r1, r3
	b	.L15
.L40:
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #104]
	mov	r0, r6
	sub	r1, r3, r2
	add	r1, fp, r1, lsl #2
	mov	r2, r10
	bl	RtlCopyMemory
	cmp	r10, r5
	beq	.L22
	sub	r1, r5, r10
	add	r0, r10, r6
	bl	RtlZeroMemory
.L22:
	ldr	r3, .L44+20
	mov	r0, fp
	ldr	r1, [r3]
	bl	ExFreePoolWithTag
	b	.L21
.L38:
	ldr	r0, .L44+64
	bl	DPRINT1
	ldr	r0, [sp, #36]
	bl	ReleaseAttributeContext
	mov	r0, r4
	ldr	r1, [sp, #16]
	bl	ExFreeToNPagedLookasideList
	ldr	r3, .L44+68
	ldr	r7, [r3]
	b	.L1
.L42:
	bl	__stack_chk_fail
.L45:
	.align	2
.L44:
	.word	FALSE
	.word	.LC11
	.word	.LC0
	.word	AttributeData
	.word	NonPagedPool
	.word	TAG_NTFS
	.word	TRUE
	.word	.LC8
	.word	.LC10
	.word	STATUS_SUCCESS
	.word	.LC2
	.word	STATUS_NOT_IMPLEMENTED
	.word	.LC1
	.word	.LC5
	.word	.LC6
	.word	.LC4
	.word	.LC3
	.word	STATUS_INSUFFICIENT_RESOURCES
	.word	.LC9
	.word	.LC7
	.word	STATUS_END_OF_FILE
	.size	NtfsReadFile, .-NtfsReadFile
	.comm	UNIMPLEMENTED,4,4
	.comm	TRUE,4,4
	.comm	TAG_NTFS,4,4
	.comm	STATUS_SUCCESS,4,4
	.comm	STATUS_NOT_IMPLEMENTED,4,4
	.comm	STATUS_INSUFFICIENT_RESOURCES,4,4
	.comm	STATUS_END_OF_FILE,4,4
	.comm	NonPagedPool,4,4
	.comm	FALSE,4,4
	.comm	AttributeData,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
