	.file	"182954015.c"
	.intel_syntax noprefix
	.text
	.globl	longFormat
	.bss
	.type	longFormat, @object
	.size	longFormat, 1
longFormat:
	.zero	1
	.section	.rodata
.LC0:
	.string	"l"
	.text
	.globl	parseOptions
	.type	parseOptions, @function
parseOptions:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L2
.L4:
	cmp	DWORD PTR -4[rbp], 108
	jne	.L3
	mov	BYTE PTR longFormat[rip], 1
	jmp	.L2
.L3:
	mov	BYTE PTR longFormat[rip], 0
.L2:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L4
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	parseOptions, .-parseOptions
	.section	.rodata
.LC1:
	.string	"stat"
.LC2:
	.string	"/"
.LC3:
	.string	""
.LC4:
	.string	"%lld %s%s\n"
.LC5:
	.string	"%s%s\n"
	.text
	.globl	processEntry
	.type	processEntry, @function
processEntry:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L7
	lea	rax, .LC2[rip]
	jmp	.L8
.L7:
	lea	rax, .LC3[rip]
.L8:
	mov	QWORD PTR -168[rbp], rax
	movzx	eax, BYTE PTR longFormat[rip]
	test	al, al
	je	.L9
	mov	rax, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L9:
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	processEntry, .-processEntry
	.section	.rodata
.LC6:
	.string	"."
.LC7:
	.string	"opendir"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	parseOptions
	lea	rdi, .LC6[rip]
	call	opendir@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L15
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	mov	rdi, rax
	call	processEntry
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"182954015.c"
	.text
	.global	longFormat
	.bss
	.type	longFormat, %object
	.size	longFormat, 1
longFormat:
	.space	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"l\000"
	.text
	.align	2
	.global	parseOptions
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseOptions, %function
parseOptions:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #108
	bne	.L3
	ldr	r3, .L5
	mov	r2, #1
	strb	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L5
	mov	r2, #0
	strb	r2, [r3]
.L2:
	ldr	r2, .L5+4
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L4
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	longFormat
	.word	.LC0
	.size	parseOptions, .-parseOptions
	.section	.rodata
	.align	2
.LC1:
	.ascii	"stat\000"
	.align	2
.LC2:
	.ascii	"/\000"
	.align	2
.LC3:
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"%lld %s%s\012\000"
	.align	2
.LC5:
	.ascii	"%s%s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	processEntry
	.syntax unified
	.arm
	.fpu softvfp
	.type	processEntry, %function
processEntry:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	ldr	r0, .L15+4
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L9
	ldr	r3, .L15+8
	b	.L10
.L9:
	ldr	r3, .L15+12
.L10:
	str	r3, [fp, #-104]
	ldr	r3, .L15+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-56]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-104]
	str	r1, [sp, #4]
	ldr	r1, [fp, #-112]
	str	r1, [sp]
	ldr	r0, .L15+20
	bl	printf
	b	.L14
.L11:
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-112]
	ldr	r0, .L15+24
	bl	printf
.L14:
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	longFormat
	.word	.LC4
	.word	.LC5
	.size	processEntry, .-processEntry
	.section	.rodata
	.align	2
.LC7:
	.ascii	".\000"
	.align	2
.LC8:
	.ascii	"opendir\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	parseOptions
	ldr	r0, .L22
	bl	opendir
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L22+4
	bl	perror
	mov	r0, #1
	bl	exit
.L20:
	ldr	r3, [fp, #-8]
	add	r3, r3, #11
	mov	r0, r3
	bl	processEntry
.L19:
	ldr	r0, [fp, #-12]
	bl	readdir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L20
	ldr	r0, [fp, #-12]
	bl	closedir
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
