	.file	"292345.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"#### Files in directory '%s':\n"
.LC1:
	.string	"scandir"
.LC2:
	.string	"\n"
	.text
	.globl	printFilesInDir
	.type	printFilesInDir, @function
printFilesInDir:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -40[rbp], 0
	je	.L11
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR alphasort@GOTPCREL[rip]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	scandir@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L1
.L4:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L5
.L6:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 19
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -28[rbp], 1
.L5:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L7
.L8:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -24[rbp], 1
.L7:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L8
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L1
.L11:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printFilesInDir, .-printFilesInDir
	.section	.rodata
.LC3:
	.string	"."
.LC4:
	.string	"/tmp"
.LC5:
	.string	"/does.not.exist"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC3[rip]
	call	printFilesInDir
	lea	rdi, .LC4[rip]
	call	printFilesInDir
	lea	rdi, .LC5[rip]
	call	printFilesInDir
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"292345.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"#### Files in directory '%s':\012\000"
	.align	2
.LC1:
	.ascii	"scandir\000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printFilesInDir
	.syntax unified
	.arm
	.fpu softvfp
	.type	printFilesInDir, %function
printFilesInDir:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L11
	ldr	r1, [fp, #-32]
	ldr	r0, .L12+4
	bl	printf
	sub	r1, fp, #24
	ldr	r3, .L12+8
	mov	r2, #0
	ldr	r0, [fp, #-32]
	bl	scandir
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L12+12
	bl	perror
	b	.L1
.L4:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L5
.L6:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #11
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L5:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L6
	ldr	r0, .L12+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L7
.L8:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	free
	b	.L1
.L11:
	nop
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	.LC0
	.word	alphasort
	.word	.LC1
	.word	.LC2
	.size	printFilesInDir, .-printFilesInDir
	.section	.rodata
	.align	2
.LC4:
	.ascii	".\000"
	.align	2
.LC5:
	.ascii	"/tmp\000"
	.align	2
.LC6:
	.ascii	"/does.not.exist\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L16
	bl	printFilesInDir
	ldr	r0, .L16+4
	bl	printFilesInDir
	ldr	r0, .L16+8
	bl	printFilesInDir
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
