	.file	"extr_dir.c_treat_directory.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	treat_directory, @function
treat_directory:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	mov	rsi, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	lea	edx, -1[r8]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r14
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r9d
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR 120[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	directory_exists_in_index@PLT
	cmp	eax, 129
	je	.L35
	mov	r8d, DWORD PTR path_recurse[rip]
	cmp	eax, 130
	je	.L1
	cmp	eax, 128
	mov	eax, DWORD PTR 0[rbp]
	je	.L38
.L9:
	test	DWORD PTR DIR_HIDE_EMPTY_DIRECTORIES[rip], eax
	jne	.L17
.L36:
	mov	ecx, DWORD PTR 112[rsp]
	mov	r8d, DWORD PTR path_excluded[rip]
	test	ecx, ecx
	cmove	r8d, DWORD PTR path_untracked[rip]
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
.L35:
	.cfi_restore_state
	mov	r8d, DWORD PTR path_none[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L38:
	test	DWORD PTR DIR_SKIP_NESTED_GIT[rip], eax
	jne	.L40
.L7:
	test	DWORD PTR DIR_SHOW_OTHER_DIRECTORIES[rip], eax
	jne	.L9
	mov	r8d, DWORD PTR 112[rsp]
	test	r8d, r8d
	je	.L10
	test	DWORD PTR DIR_SHOW_IGNORED_TOO[rip], eax
	je	.L10
	test	DWORD PTR DIR_SHOW_IGNORED_TOO_MODE_MATCHING[rip], eax
	je	.L10
	mov	r8d, DWORD PTR path_excluded[rip]
	test	DWORD PTR DIR_HIDE_EMPTY_DIRECTORIES[rip], eax
	je	.L1
	push	QWORD PTR 8[rsp]
	.cfi_def_cfa_offset 120
	mov	r8, r13
	mov	rsi, r14
	mov	rdi, rbp
	push	1
	.cfi_def_cfa_offset 128
	mov	r9d, 1
	mov	ecx, r12d
	mov	rdx, r15
	call	read_directory_recursive@PLT
	cmp	eax, DWORD PTR path_excluded[rip]
	pop	rsi
	.cfi_def_cfa_offset 120
	cmovne	eax, DWORD PTR path_none[rip]
	pop	rdi
	.cfi_def_cfa_offset 112
	mov	r8d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR 4[rbp]
	mov	ecx, r12d
	movsx	rdx, ebx
	mov	rsi, r13
	sub	ecx, ebx
	add	rdx, r15
	call	lookup_untracked@PLT
	push	QWORD PTR 8[rsp]
	.cfi_def_cfa_offset 120
	mov	rdx, r15
	mov	ecx, r12d
	mov	r8, rax
	mov	eax, DWORD PTR 120[rsp]
	mov	r9d, 1
	mov	rsi, r14
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 128
	call	read_directory_recursive@PLT
	mov	r8d, eax
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rdx
	.cfi_def_cfa_offset 112
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L40:
	mov	eax, DWORD PTR STRBUF_INIT[rip]
	lea	rdi, 36[rsp]
	mov	rsi, r15
	mov	QWORD PTR 16[rsp], rdi
	mov	DWORD PTR 36[rsp], eax
	call	strbuf_addstr@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	QWORD PTR 24[rsp], rdi
	call	is_nonbare_repository_dir@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	DWORD PTR 16[rsp], eax
	call	strbuf_release@PLT
	mov	edx, DWORD PTR 16[rsp]
	test	edx, edx
	jne	.L35
	mov	eax, DWORD PTR 0[rbp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	test	DWORD PTR DIR_NO_GITLINKS[rip], eax
	je	.L41
.L13:
	mov	r8d, DWORD PTR path_recurse[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L41:
	mov	eax, DWORD PTR STRBUF_INIT[rip]
	lea	rbp, 36[rsp]
	mov	rsi, r15
	mov	rdi, rbp
	mov	DWORD PTR 36[rsp], eax
	call	strbuf_addstr@PLT
	mov	rdi, rbp
	call	is_nonbare_repository_dir@PLT
	test	eax, eax
	jne	.L36
	mov	rdi, rbp
	call	strbuf_release@PLT
	jmp	.L13
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	treat_directory, .-treat_directory
	.comm	path_untracked,4,4
	.comm	path_recurse,4,4
	.comm	path_none,4,4
	.comm	path_excluded,4,4
	.comm	STRBUF_INIT,4,4
	.comm	DIR_SKIP_NESTED_GIT,4,4
	.comm	DIR_SHOW_OTHER_DIRECTORIES,4,4
	.comm	DIR_SHOW_IGNORED_TOO_MODE_MATCHING,4,4
	.comm	DIR_SHOW_IGNORED_TOO,4,4
	.comm	DIR_NO_GITLINKS,4,4
	.comm	DIR_HIDE_EMPTY_DIRECTORIES,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_dir.c_treat_directory.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	treat_directory, %function
treat_directory:
	@ args = 16, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	sub	sp, sp, #24
	ldr	r7, [sp, #56]
	mov	r1, r3
	mov	r4, r3
	ldr	r3, .L44
	mov	r8, r0
	mov	r6, r2
	mov	r0, r5
	sub	r2, r7, #1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r9, [sp, #68]
	bl	directory_exists_in_index
	cmp	r0, #129
	beq	.L35
	cmp	r0, #130
	beq	.L13
	cmp	r0, #128
	ldrne	r3, [r8]
	beq	.L40
.L9:
	ldr	r2, .L44+4
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L17
.L38:
	ldr	r3, [sp, #64]
	cmp	r3, #0
	beq	.L18
.L36:
	ldr	r3, .L44+8
	ldr	r0, [r3]
	b	.L1
.L40:
	ldr	r2, .L44+12
	ldr	r3, [r8]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L41
.L7:
	ldr	r2, .L44+16
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L9
	ldr	r2, [sp, #64]
	cmp	r2, #0
	beq	.L10
	ldr	r2, .L44+20
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L42
.L10:
	ldr	r2, .L44+24
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L13
	ldr	r3, .L44+28
	mov	r1, r4
	ldr	r3, [r3]
	add	r0, sp, #16
	str	r3, [sp, #16]
	bl	strbuf_addstr
	add	r0, sp, #16
	bl	is_nonbare_repository_dir
	cmp	r0, #0
	bne	.L38
	add	r0, sp, #16
	bl	strbuf_release
.L13:
	ldr	r3, .L44+32
	ldr	r0, [r3]
.L1:
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L43
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L42:
	ldr	r2, .L44+36
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L10
	ldr	r2, .L44+4
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L36
	mov	ip, #1
	mov	r3, r7
	mov	r2, r4
	mov	r1, r5
	mov	r0, r8
	str	r9, [sp, #12]
	str	r6, [sp]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	bl	read_directory_recursive
	ldr	r3, .L44+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L1
.L35:
	ldr	r3, .L44+40
	ldr	r0, [r3]
	b	.L1
.L17:
	ldr	r3, [sp, #60]
	ldr	r2, [sp, #60]
	mov	r1, r6
	sub	r3, r7, r3
	add	r2, r4, r2
	ldr	r0, [r8, #4]
	bl	lookup_untracked
	mov	ip, #1
	ldr	r3, [sp, #64]
	str	r0, [sp]
	str	r3, [sp, #8]
	mov	r2, r4
	mov	r3, r7
	mov	r1, r5
	mov	r0, r8
	str	r9, [sp, #12]
	str	ip, [sp, #4]
	bl	read_directory_recursive
	b	.L1
.L18:
	ldr	r3, .L44+44
	ldr	r0, [r3]
	b	.L1
.L41:
	ldr	r3, .L44+28
	mov	r1, r4
	ldr	r3, [r3]
	add	r0, sp, #16
	str	r3, [sp, #16]
	bl	strbuf_addstr
	add	r0, sp, #16
	bl	is_nonbare_repository_dir
	mov	r10, r0
	add	r0, sp, #16
	bl	strbuf_release
	cmp	r10, #0
	ldreq	r3, [r8]
	beq	.L7
	b	.L35
.L43:
	bl	__stack_chk_fail
.L45:
	.align	2
.L44:
	.word	.LC0
	.word	DIR_HIDE_EMPTY_DIRECTORIES
	.word	path_excluded
	.word	DIR_SKIP_NESTED_GIT
	.word	DIR_SHOW_OTHER_DIRECTORIES
	.word	DIR_SHOW_IGNORED_TOO
	.word	DIR_NO_GITLINKS
	.word	STRBUF_INIT
	.word	path_recurse
	.word	DIR_SHOW_IGNORED_TOO_MODE_MATCHING
	.word	path_none
	.word	path_untracked
	.size	treat_directory, .-treat_directory
	.comm	path_untracked,4,4
	.comm	path_recurse,4,4
	.comm	path_none,4,4
	.comm	path_excluded,4,4
	.comm	STRBUF_INIT,4,4
	.comm	DIR_SKIP_NESTED_GIT,4,4
	.comm	DIR_SHOW_OTHER_DIRECTORIES,4,4
	.comm	DIR_SHOW_IGNORED_TOO_MODE_MATCHING,4,4
	.comm	DIR_SHOW_IGNORED_TOO,4,4
	.comm	DIR_NO_GITLINKS,4,4
	.comm	DIR_HIDE_EMPTY_DIRECTORIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
