	.file	"extr_dirctrl.c_notify_change_directory.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"IRP_MN_NOTIFY_CHANGE_DIRECTORY\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"ccb was NULL\n"
.LC2:
	.string	"no fileref\n"
.LC3:
	.string	"insufficient privileges\n"
.LC4:
	.string	"FileObject %p\n"
.LC5:
	.string	"out of memory\n"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"fileref_get_filename returned %08x\n"
	.text
	.p2align 4
	.type	notify_change_directory, @function
notify_change_directory:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rdi
	mov	rdi, rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	IoGetCurrentIrpStackLocation@PLT
	mov	r14, QWORD PTR 8[rax]
	mov	r15, QWORD PTR [r14]
	test	r15, r15
	je	.L16
	mov	r12, rax
	mov	rax, QWORD PTR 32[r15]
	lea	rdi, .LC0[rip]
	mov	rbp, QWORD PTR 8[r14]
	mov	QWORD PTR 8[rsp], rax
	mov	r13, rax
	xor	eax, eax
	call	TRACE@PLT
	mov	rax, r13
	test	r13, r13
	je	.L17
	mov	rax, QWORD PTR UserMode[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L5
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR FILE_LIST_DIRECTORY[rip], eax
	je	.L18
.L5:
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, 1
	call	ExAcquireResourceSharedLite@PLT
	mov	rdi, QWORD PTR 16[rbp]
	mov	esi, 1
	call	ExAcquireResourceExclusiveLite@PLT
	mov	rax, QWORD PTR BTRFS_TYPE_DIRECTORY[rip]
	mov	r13, QWORD PTR STATUS_INVALID_PARAMETER[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L19
.L7:
	mov	rdi, QWORD PTR 16[rbp]
	call	ExReleaseResourceLite@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	ExReleaseResourceLite@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
.L19:
	.cfi_restore_state
	xor	eax, eax
	mov	rsi, r14
	lea	rdi, .LC4[rip]
	call	TRACE@PLT
	cmp	QWORD PTR 8[r15], 0
	lea	r10, 8[r15]
	jne	.L8
	mov	rdi, QWORD PTR 8[rsp]
	lea	rcx, 32[rsp]
	xor	edx, edx
	mov	rsi, r10
	mov	QWORD PTR 16[r15], 0
	mov	QWORD PTR 24[rsp], rcx
	mov	QWORD PTR 16[rsp], r10
	call	fileref_get_filename@PLT
	cmp	QWORD PTR STATUS_BUFFER_OVERFLOW[rip], rax
	mov	r13, rax
	jne	.L9
	mov	edx, DWORD PTR ALLOC_TAG[rip]
	mov	rsi, QWORD PTR 32[rsp]
	mov	edi, DWORD PTR PagedPool[rip]
	call	ExAllocatePoolWithTag@PLT
	mov	r10, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 24[rsp]
	test	eax, eax
	mov	DWORD PTR 24[r15], eax
	je	.L21
	mov	rax, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	xor	edx, edx
	mov	rsi, r10
	mov	QWORD PTR 16[rsp], r10
	mov	QWORD PTR 16[r15], rax
	call	fileref_get_filename@PLT
	mov	rdi, rax
	mov	r13, rax
	call	NT_SUCCESS@PLT
	mov	r10, QWORD PTR 16[rsp]
	test	eax, eax
	jne	.L8
	mov	rsi, r13
	lea	rdi, .LC6[rip]
	call	ERR@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	TRACE@PLT
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	ERR@PLT
	mov	r13, QWORD PTR STATUS_INVALID_PARAMETER[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, QWORD PTR [rsp]
	mov	eax, DWORD PTR 4[r12]
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	xor	r9d, r9d
	mov	r8d, DWORD PTR [r12]
	mov	rdx, QWORD PTR [r14]
	mov	ecx, r10d
	mov	edi, DWORD PTR 4[rsi]
	and	r8d, DWORD PTR SL_WATCH_TREE[rip]
	push	0
	.cfi_def_cfa_offset 128
	push	0
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	push	rbx
	.cfi_def_cfa_offset 152
	push	rax
	.cfi_def_cfa_offset 160
	call	FsRtlNotifyFilterChangeDirectory@PLT
	mov	r13, QWORD PTR STATUS_PENDING[rip]
	add	rsp, 48
	.cfi_def_cfa_offset 112
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rdi, .LC3[rip]
	call	WARN@PLT
	mov	r13, QWORD PTR STATUS_ACCESS_DENIED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rdi, .LC2[rip]
	call	ERR@PLT
	mov	r13, QWORD PTR STATUS_INVALID_PARAMETER[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	ERR@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rdi, .LC5[rip]
	call	ERR@PLT
	mov	r13, QWORD PTR STATUS_INSUFFICIENT_RESOURCES[rip]
	jmp	.L7
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	notify_change_directory, .-notify_change_directory
	.comm	UserMode,8,8
	.comm	STATUS_PENDING,8,8
	.comm	STATUS_INVALID_PARAMETER,8,8
	.comm	STATUS_INSUFFICIENT_RESOURCES,8,8
	.comm	STATUS_BUFFER_OVERFLOW,8,8
	.comm	STATUS_ACCESS_DENIED,8,8
	.comm	SL_WATCH_TREE,4,4
	.comm	PagedPool,4,4
	.comm	FILE_LIST_DIRECTORY,4,4
	.comm	BTRFS_TYPE_DIRECTORY,8,8
	.comm	ALLOC_TAG,4,4
	.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_dirctrl.c_notify_change_directory.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IRP_MN_NOTIFY_CHANGE_DIRECTORY\012\000"
	.align	2
.LC1:
	.ascii	"ccb was NULL\012\000"
	.align	2
.LC2:
	.ascii	"no fileref\012\000"
	.align	2
.LC3:
	.ascii	"insufficient privileges\012\000"
	.align	2
.LC4:
	.ascii	"FileObject %p\012\000"
	.align	2
.LC5:
	.ascii	"out of memory\012\000"
	.align	2
.LC6:
	.ascii	"fileref_get_filename returned %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	notify_change_directory, %function
notify_change_directory:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L21
	sub	sp, sp, #52
	mov	r8, r0
	mov	r0, r1
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	IoGetCurrentIrpStackLocation
	ldr	r9, [r0, #8]
	ldr	r7, [r9]
	cmp	r7, #0
	beq	.L16
	ldr	r10, [r7, #16]
	mov	r6, r0
	ldr	r0, .L21+4
	ldr	r5, [r9, #4]
	bl	TRACE
	cmp	r10, #0
	beq	.L17
	ldr	r3, .L21+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L5
	ldr	r3, .L21+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L18
.L5:
	mov	r1, #1
	ldr	r0, [r5, #4]
	bl	ExAcquireResourceSharedLite
	mov	r1, #1
	ldr	r0, [r5, #8]
	bl	ExAcquireResourceExclusiveLite
	ldr	r3, .L21+16
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
	ldr	r3, .L21+20
	ldr	fp, [r3]
.L7:
	ldr	r0, [r5, #8]
	bl	ExReleaseResourceLite
	ldr	r0, [r5, #4]
	bl	ExReleaseResourceLite
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, fp
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r1, r9
	ldr	r0, .L21+24
	bl	TRACE
	ldr	r2, [r7, #4]
	add	r1, r7, #4
	cmp	r2, #0
	str	r2, [sp, #36]
	str	r1, [sp, #32]
	bne	.L8
	add	r3, sp, #40
	mov	r0, r10
	str	r2, [r7, #8]
	bl	fileref_get_filename
	ldr	r3, .L21+28
	mov	fp, r0
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L9
	ldr	r3, .L21+32
	ldr	r2, .L21+36
	ldr	r0, [r3]
	ldr	r2, [r2]
	ldr	r1, [sp, #40]
	bl	ExAllocatePoolWithTag
	cmp	r0, #0
	str	r0, [r7, #12]
	beq	.L20
	ldr	r1, [sp, #40]
	ldr	r2, [sp, #36]
	add	r3, sp, #40
	str	r1, [r7, #8]
	mov	r0, r10
	ldr	r1, [sp, #32]
	bl	fileref_get_filename
	mov	fp, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L9
.L8:
	mov	r3, #0
	ldr	r2, [r9]
	str	r4, [sp, #12]
	str	r3, [sp, #24]
	str	r3, [sp, #20]
	str	r3, [sp, #16]
	ldr	r1, [r6, #4]
	ldr	r0, .L21+40
	str	r3, [sp, #4]
	str	r1, [sp, #8]
	ldr	r3, [r0]
	ldr	r1, [r6]
	and	r1, r1, r3
	str	r1, [sp]
	ldr	r3, [sp, #32]
	mov	r1, r8
	ldr	r0, [r8, #4]
	bl	FsRtlNotifyFilterChangeDirectory
	ldr	r3, .L21+44
	ldr	fp, [r3]
	b	.L7
.L16:
	ldr	r0, .L21+4
	bl	TRACE
	ldr	r0, .L21+48
	bl	ERR
	ldr	r3, .L21+20
	ldr	fp, [r3]
	b	.L1
.L18:
	ldr	r0, .L21+52
	bl	WARN
	ldr	r3, .L21+56
	ldr	fp, [r3]
	b	.L1
.L17:
	ldr	r0, .L21+60
	bl	ERR
	ldr	r3, .L21+20
	ldr	fp, [r3]
	b	.L1
.L9:
	mov	r1, fp
	ldr	r0, .L21+64
	bl	ERR
	b	.L7
.L20:
	ldr	r0, .L21+68
	bl	ERR
	ldr	r3, .L21+72
	ldr	fp, [r3]
	b	.L7
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC7
	.word	.LC0
	.word	UserMode
	.word	FILE_LIST_DIRECTORY
	.word	BTRFS_TYPE_DIRECTORY
	.word	STATUS_INVALID_PARAMETER
	.word	.LC4
	.word	STATUS_BUFFER_OVERFLOW
	.word	PagedPool
	.word	ALLOC_TAG
	.word	SL_WATCH_TREE
	.word	STATUS_PENDING
	.word	.LC1
	.word	.LC3
	.word	STATUS_ACCESS_DENIED
	.word	.LC2
	.word	.LC6
	.word	.LC5
	.word	STATUS_INSUFFICIENT_RESOURCES
	.size	notify_change_directory, .-notify_change_directory
	.comm	UserMode,4,4
	.comm	STATUS_PENDING,4,4
	.comm	STATUS_INVALID_PARAMETER,4,4
	.comm	STATUS_INSUFFICIENT_RESOURCES,4,4
	.comm	STATUS_BUFFER_OVERFLOW,4,4
	.comm	STATUS_ACCESS_DENIED,4,4
	.comm	SL_WATCH_TREE,4,4
	.comm	PagedPool,4,4
	.comm	FILE_LIST_DIRECTORY,4,4
	.comm	BTRFS_TYPE_DIRECTORY,4,4
	.comm	ALLOC_TAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
