	.file	"extr_fs-event.c_uv_fs_event_queue_readdirchanges.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	uv_fs_event_queue_readdirchanges, @function
uv_fs_event_queue_readdirchanges:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR INVALID_HANDLE_VALUE[rip]
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	QWORD PTR [rsi], rax
	mov	rbx, rsi
	setne	dil
	lea	rbp, 16[rbx]
	call	assert@PLT
	mov	eax, DWORD PTR 8[rbx]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	assert@PLT
	xor	esi, esi
	mov	edx, 4
	mov	rdi, rbp
	call	memset@PLT
	mov	eax, DWORD PTR 12[rbx]
	mov	ecx, DWORD PTR TRUE[rip]
	push	0
	.cfi_def_cfa_offset 40
	mov	r8d, DWORD PTR FILE_NOTIFY_CHANGE_FILE_NAME[rip]
	mov	edx, DWORD PTR uv_directory_watcher_buffer_size[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	or	r8d, DWORD PTR FILE_NOTIFY_CHANGE_DIR_NAME[rip]
	mov	esi, DWORD PTR 20[rbx]
	or	r8d, DWORD PTR FILE_NOTIFY_CHANGE_ATTRIBUTES[rip]
	mov	rdi, QWORD PTR [rbx]
	or	r8d, DWORD PTR FILE_NOTIFY_CHANGE_SIZE[rip]
	or	r8d, DWORD PTR FILE_NOTIFY_CHANGE_LAST_WRITE[rip]
	or	r8d, DWORD PTR FILE_NOTIFY_CHANGE_LAST_ACCESS[rip]
	or	r8d, DWORD PTR FILE_NOTIFY_CHANGE_CREATION[rip]
	test	DWORD PTR UV_FS_EVENT_RECURSIVE[rip], eax
	cmove	ecx, DWORD PTR FALSE[rip]
	xor	r9d, r9d
	or	r8d, DWORD PTR FILE_NOTIFY_CHANGE_SECURITY[rip]
	call	ReadDirectoryChangesW@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	test	eax, eax
	je	.L7
	mov	DWORD PTR 8[rbx], 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	GetLastError@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	SET_REQ_ERROR@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	uv_insert_pending_req@PLT
	mov	DWORD PTR 8[rbx], 1
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	uv_fs_event_queue_readdirchanges, .-uv_fs_event_queue_readdirchanges
	.comm	uv_directory_watcher_buffer_size,4,4
	.comm	UV_FS_EVENT_RECURSIVE,4,4
	.comm	TRUE,4,4
	.comm	INVALID_HANDLE_VALUE,8,8
	.comm	FILE_NOTIFY_CHANGE_SIZE,4,4
	.comm	FILE_NOTIFY_CHANGE_SECURITY,4,4
	.comm	FILE_NOTIFY_CHANGE_LAST_WRITE,4,4
	.comm	FILE_NOTIFY_CHANGE_LAST_ACCESS,4,4
	.comm	FILE_NOTIFY_CHANGE_FILE_NAME,4,4
	.comm	FILE_NOTIFY_CHANGE_DIR_NAME,4,4
	.comm	FILE_NOTIFY_CHANGE_CREATION,4,4
	.comm	FILE_NOTIFY_CHANGE_ATTRIBUTES,4,4
	.comm	FALSE,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_fs-event.c_uv_fs_event_queue_readdirchanges.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uv_fs_event_queue_readdirchanges, %function
uv_fs_event_queue_readdirchanges:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r3, .L8
	ldr	r2, [r1]
	ldr	r3, [r3]
	mov	r6, r0
	subs	r0, r2, r3
	sub	sp, sp, #16
	movne	r0, #1
	bl	assert
	ldr	r0, [r4, #4]
	add	r5, r4, #12
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r3, #0
	mov	lr, #0
	ldr	r7, .L8+4
	ldr	ip, .L8+8
	strb	r3, [r4, #12]
	strb	r3, [r5, #1]
	strb	r3, [r5, #2]
	strb	r3, [r5, #3]
	ldr	r8, [r7]
	ldr	ip, [ip]
	ldr	r7, .L8+12
	orr	ip, ip, r8
	ldr	r8, [r7]
	ldr	r7, .L8+16
	orr	ip, ip, r8
	ldr	r8, [r7]
	ldr	r7, .L8+20
	orr	ip, ip, r8
	ldr	r8, [r7]
	ldr	r7, .L8+24
	orr	ip, ip, r8
	ldr	r2, .L8+28
	ldr	r8, [r7]
	ldr	r7, .L8+32
	ldr	r1, [r4, #8]
	ldr	r2, [r2]
	orr	ip, ip, r8
	ldr	r8, [r7]
	ldr	r7, .L8+36
	ldr	r3, .L8+40
	ldr	r7, [r7]
	tst	r1, r2
	orr	ip, ip, r8
	ldr	r2, [r3]
	ldrne	r3, .L8+44
	ldreq	r3, .L8+48
	orr	ip, ip, r7
	ldr	r0, [r4]
	ldr	r1, [r4, #16]
	ldr	r3, [r3]
	str	r5, [sp, #8]
	str	ip, [sp]
	str	lr, [sp, #12]
	str	lr, [sp, #4]
	bl	ReadDirectoryChangesW
	cmp	r0, #0
	beq	.L7
	mov	r3, #1
	str	r3, [r4, #4]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	bl	GetLastError
	mov	r1, r0
	mov	r0, r5
	bl	SET_REQ_ERROR
	mov	r1, r5
	mov	r0, r6
	bl	uv_insert_pending_req
	mov	r3, #1
	str	r3, [r4, #4]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	INVALID_HANDLE_VALUE
	.word	FILE_NOTIFY_CHANGE_DIR_NAME
	.word	FILE_NOTIFY_CHANGE_FILE_NAME
	.word	FILE_NOTIFY_CHANGE_ATTRIBUTES
	.word	FILE_NOTIFY_CHANGE_SIZE
	.word	FILE_NOTIFY_CHANGE_LAST_WRITE
	.word	FILE_NOTIFY_CHANGE_LAST_ACCESS
	.word	UV_FS_EVENT_RECURSIVE
	.word	FILE_NOTIFY_CHANGE_CREATION
	.word	FILE_NOTIFY_CHANGE_SECURITY
	.word	uv_directory_watcher_buffer_size
	.word	TRUE
	.word	FALSE
	.size	uv_fs_event_queue_readdirchanges, .-uv_fs_event_queue_readdirchanges
	.comm	uv_directory_watcher_buffer_size,4,4
	.comm	UV_FS_EVENT_RECURSIVE,4,4
	.comm	TRUE,4,4
	.comm	INVALID_HANDLE_VALUE,4,4
	.comm	FILE_NOTIFY_CHANGE_SIZE,4,4
	.comm	FILE_NOTIFY_CHANGE_SECURITY,4,4
	.comm	FILE_NOTIFY_CHANGE_LAST_WRITE,4,4
	.comm	FILE_NOTIFY_CHANGE_LAST_ACCESS,4,4
	.comm	FILE_NOTIFY_CHANGE_FILE_NAME,4,4
	.comm	FILE_NOTIFY_CHANGE_DIR_NAME,4,4
	.comm	FILE_NOTIFY_CHANGE_CREATION,4,4
	.comm	FILE_NOTIFY_CHANGE_ATTRIBUTES,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
