	.file	"extr_directory.c_tally_test_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"file %s: expected %s (%x), got %x (is your linux new enough?)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"unexpected file found %s\n"
	.text
	.p2align 4
	.type	tally_test_file, @function
tally_test_file:
.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
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR FILE_ATTRIBUTE_SYSTEM[rip]
	movsx	r13, DWORD PTR 4[rdi]
	mov	r14, QWORD PTR 8[rdi]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR FILE_ATTRIBUTE_HIDDEN[rip]
	shr	r13, 2
	mov	QWORD PTR [rsp], r13
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR FILE_ATTRIBUTE_DIRECTORY[rip]
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR FILE_ATTRIBUTE_REPARSE_POINT[rip]
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR [rdi]
	mov	DWORD PTR 28[rsp], eax
	mov	eax, DWORD PTR test_dir_count[rip]
	test	eax, eax
	jle	.L9
	mov	r12d, r13d
	mov	rbp, rdi
	xor	r13d, r13d
	xor	ebx, ebx
	lea	r15d, 0[0+r12*4]
.L4:
	mov	rax, QWORD PTR testfiles[rip]
	mov	edi, DWORD PTR 20[rax+r13]
	call	lstrlenW@PLT
	cmp	r12d, eax
	je	.L3
.L6:
	add	ebx, 1
	add	r13, 24
	cmp	DWORD PTR test_dir_count[rip], ebx
	jg	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r14, QWORD PTR 8[rbp]
.L2:
	mov	esi, DWORD PTR [rsp]
	mov	rdi, r14
	call	wine_dbgstr_wn@PLT
	xor	edi, edi
	cmp	DWORD PTR test_dir_count[rip], ebx
	lea	rsi, .LC1[rip]
	setg	dil
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edx, eax
	xor	eax, eax
	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
	jmp	ok@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR testfiles[rip]
	mov	edx, r15d
	mov	rdi, r14
	mov	esi, DWORD PTR 20[rax+r13]
	call	memcmp@PLT
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR testfiles[rip]
	add	rax, r13
	cmp	QWORD PTR 8[rax], 0
	je	.L16
.L8:
	add	DWORD PTR 4[rax], 1
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r8d, DWORD PTR [rax]
	mov	edi, DWORD PTR 20[rax]
	mov	r12d, DWORD PTR 12[rsp]
	mov	r14d, DWORD PTR 28[rsp]
	or	r12d, DWORD PTR 16[rsp]
	mov	r15d, DWORD PTR 16[rax]
	mov	DWORD PTR 12[rsp], r8d
	or	r12d, DWORD PTR 20[rsp]
	or	r12d, DWORD PTR 24[rsp]
	call	wine_dbgstr_w@PLT
	and	r14d, r12d
	xor	edi, edi
	mov	r8d, DWORD PTR 12[rsp]
	mov	edx, eax
	mov	rax, QWORD PTR testfiles[rip]
	mov	r9d, r14d
	mov	ecx, r15d
	lea	rsi, .LC0[rip]
	and	r12d, DWORD PTR [rax+r13]
	cmp	r12d, r14d
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rax, QWORD PTR testfiles[rip]
	mov	rdx, QWORD PTR TRUE[rip]
	add	rax, r13
	mov	QWORD PTR 8[rax], rdx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	xor	ebx, ebx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	tally_test_file, .-tally_test_file
	.comm	testfiles,8,8
	.comm	test_dir_count,4,4
	.comm	TRUE,8,8
	.comm	FILE_ATTRIBUTE_SYSTEM,4,4
	.comm	FILE_ATTRIBUTE_REPARSE_POINT,4,4
	.comm	FILE_ATTRIBUTE_HIDDEN,4,4
	.comm	FILE_ATTRIBUTE_DIRECTORY,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_directory.c_tally_test_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"file %s: expected %s (%x), got %x (is your linux ne"
	.ascii	"w enough?)\012\000"
	.align	2
.LC1:
	.ascii	"unexpected file found %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tally_test_file, %function
tally_test_file:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	ldr	r9, .L16
	ldr	r6, [r0, #4]
	ldr	ip, .L16+4
	ldr	r0, .L16+8
	ldr	r1, .L16+12
	ldr	r2, .L16+16
	ldr	r3, [r9]
	ldr	lr, [r8]
	ldr	ip, [ip]
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r2, [r2]
	sub	sp, sp, #36
	cmp	r3, #0
	ldr	r10, [r8, #8]
	lsr	r6, r6, #2
	str	lr, [sp, #28]
	str	ip, [sp, #12]
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	str	r2, [sp, #24]
	ble	.L9
	mov	r4, #0
	mov	r5, r4
	ldr	r7, .L16+20
	lsl	fp, r6, #2
.L4:
	ldr	r3, [r7]
	add	r3, r3, r4
	ldr	r0, [r3, #16]
	bl	lstrlenW
	cmp	r6, r0
	beq	.L3
.L6:
	ldr	r3, [r9]
	add	r5, r5, #1
	cmp	r3, r5
	add	r4, r4, #20
	bgt	.L4
	ldr	r10, [r8, #8]
	b	.L2
.L3:
	ldr	r3, [r7]
	mov	r2, fp
	add	r3, r3, r4
	mov	r0, r10
	ldr	r1, [r3, #16]
	bl	memcmp
	cmp	r0, #0
	bne	.L6
	ldr	r1, [r7]
	add	r2, r1, r4
	ldr	r3, [r2, #8]
	cmp	r3, #0
	beq	.L15
.L8:
	ldr	r1, [r2, #4]
	ldr	r3, [r9]
	add	r1, r1, #1
	ldr	r10, [r8, #8]
	str	r1, [r2, #4]
.L2:
	mov	r1, r6
	mov	r0, r10
	str	r3, [sp, #12]
	bl	wine_dbgstr_wn
	ldr	r3, [sp, #12]
	mov	r2, r0
	cmp	r5, r3
	movge	r0, #0
	movlt	r0, #1
	ldr	r1, .L16+24
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ok
.L15:
	ldr	r0, [sp, #16]
	ldr	r3, [sp, #12]
	ldr	r10, [r1, r4]
	orr	r3, r3, r0
	ldr	r0, [sp, #20]
	ldr	r1, [sp, #24]
	ldr	fp, [sp, #28]
	orr	r3, r3, r0
	orr	r3, r3, r1
	and	fp, fp, r3
	and	r3, r3, r10
	sub	r10, r3, fp
	ldr	r0, [r2, #16]
	clz	r10, r10
	bl	wine_dbgstr_w
	ldr	r1, [r7]
	lsr	r10, r10, #5
	add	r3, r1, r4
	ldr	r3, [r3, #12]
	str	fp, [sp, #4]
	ldr	r1, [r1, r4]
	mov	r2, r0
	str	r1, [sp]
	mov	r0, r10
	ldr	r1, .L16+28
	bl	ok
	ldr	r3, .L16+32
	ldr	r2, [r7]
	ldr	r3, [r3]
	add	r2, r2, r4
	str	r3, [r2, #8]
	b	.L8
.L9:
	mov	r5, #0
	b	.L2
.L17:
	.align	2
.L16:
	.word	test_dir_count
	.word	FILE_ATTRIBUTE_SYSTEM
	.word	FILE_ATTRIBUTE_HIDDEN
	.word	FILE_ATTRIBUTE_DIRECTORY
	.word	FILE_ATTRIBUTE_REPARSE_POINT
	.word	testfiles
	.word	.LC1
	.word	.LC0
	.word	TRUE
	.size	tally_test_file, .-tally_test_file
	.comm	testfiles,4,4
	.comm	test_dir_count,4,4
	.comm	TRUE,4,4
	.comm	FILE_ATTRIBUTE_SYSTEM,4,4
	.comm	FILE_ATTRIBUTE_REPARSE_POINT,4,4
	.comm	FILE_ATTRIBUTE_HIDDEN,4,4
	.comm	FILE_ATTRIBUTE_DIRECTORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
