	.file	"922076.c"
	.intel_syntax noprefix
	.text
	.local	opt
	.comm	opt,16,16
	.section	.rodata
.LC0:
	.string	"%s: unable to stat %s: %s\n"
.LC1:
	.string	"%s:\n"
.LC2:
	.string	"%s: %s: %s\n"
	.text
	.type	list, @function
list:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	DWORD PTR -188[rbp], esi
	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
	test	eax, eax
	je	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR opt[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -184[rbp]
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L12
.L2:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	je	.L4
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 0
	jmp	.L12
.L4:
	cmp	DWORD PTR -188[rbp], 0
	je	.L5
	mov	eax, DWORD PTR notfirst.0[rip]
	test	eax, eax
	je	.L6
	mov	edi, 10
	call	putchar@PLT
.L6:
	mov	DWORD PTR notfirst.0[rip], 1
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR opt[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -184[rbp]
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L12
.L10:
	mov	rax, QWORD PTR -168[rbp]
	movzx	eax, BYTE PTR 19[rax]
	cmp	al, 46
	jne	.L9
	movzx	eax, BYTE PTR opt[rip+8]
	and	eax, 1
	xor	eax, 1
	test	al, al
	je	.L9
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 19
	mov	rdi, rax
	call	puts@PLT
.L8:
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	closedir@PLT
	test	eax, eax
	je	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR opt[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -184[rbp]
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	list, .-list
	.section	.rodata
.LC3:
	.string	"-a"
.LC4:
	.string	"%s: invalid argument: %s\n"
.LC5:
	.string	"."
	.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
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR opt[rip], rax
	mov	DWORD PTR -4[rbp], 1
	jmp	.L15
.L21:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L29
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	movzx	eax, BYTE PTR opt[rip+8]
	or	eax, 1
	mov	BYTE PTR opt[rip+8], al
	jmp	.L28
.L18:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L20
.L28:
	add	DWORD PTR -4[rbp], 1
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L21
	jmp	.L17
.L29:
	nop
.L17:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jne	.L22
	mov	esi, 0
	lea	rdi, .LC5[rip]
	call	list
	test	eax, eax
	je	.L23
	mov	eax, 1
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jne	.L25
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	list
	test	eax, eax
	je	.L23
	mov	eax, 1
	jmp	.L20
.L27:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 1
	mov	rdi, rax
	call	list
	test	eax, eax
	je	.L26
	mov	eax, 1
	jmp	.L20
.L26:
	add	DWORD PTR -4[rbp], 1
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L27
.L23:
	mov	eax, 0
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	notfirst.0
	.comm	notfirst.0,4,4
	.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	"922076.c"
	.text
	.local	opt
	.comm	opt,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: unable to stat %s: %s\012\000"
	.align	2
.LC1:
	.ascii	"%s:\012\000"
	.align	2
.LC2:
	.ascii	"%s: %s: %s\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list, %function
list:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L14+4
	ldr	r4, [r3]
	ldr	r3, .L14+8
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	ldr	r3, [fp, #-120]
	mov	r2, r5
	ldr	r1, .L14+12
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L12
.L2:
	ldr	r3, [fp, #-92]
	and	r3, r3, #61440
	cmp	r3, #16384
	beq	.L4
	ldr	r0, [fp, #-120]
	bl	puts
	mov	r3, #0
	b	.L12
.L4:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	mov	r0, #10
	bl	putchar
.L6:
	ldr	r3, .L14+16
	mov	r2, #1
	str	r2, [r3]
	ldr	r1, [fp, #-120]
	ldr	r0, .L14+20
	bl	printf
.L5:
	ldr	r0, [fp, #-120]
	bl	opendir
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L14+4
	ldr	r4, [r3]
	ldr	r3, .L14+8
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	ldr	r3, [fp, #-120]
	mov	r2, r5
	ldr	r1, .L14+24
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L12
.L10:
	ldr	r3, [fp, #-112]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L9
	ldr	r3, .L14+8
	ldrb	r3, [r3, #4]
	and	r3, r3, #1
	and	r3, r3, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L9
	b	.L8
.L9:
	ldr	r3, [fp, #-112]
	add	r3, r3, #11
	mov	r0, r3
	bl	puts
.L8:
	ldr	r0, [fp, #-116]
	bl	readdir
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-116]
	bl	closedir
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L14+4
	ldr	r4, [r3]
	ldr	r3, .L14+8
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	ldr	r3, [fp, #-120]
	mov	r2, r5
	ldr	r1, .L14+24
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L12
.L11:
	mov	r3, #0
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	stderr
	.word	opt
	.word	.LC0
	.word	notfirst.5130
	.word	.LC1
	.word	.LC2
	.size	list, .-list
	.section	.rodata
	.align	2
.LC4:
	.ascii	"-a\000"
	.align	2
.LC5:
	.ascii	"%s: invalid argument: %s\012\000"
	.align	2
.LC6:
	.ascii	".\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	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, .L32
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L17
.L23:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L31
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L32+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r2, .L32
	ldrb	r3, [r2, #4]
	orr	r3, r3, #1
	strb	r3, [r2, #4]
	b	.L30
.L20:
	ldr	r3, .L32+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L32+12
	bl	fprintf
	mov	r3, #1
	b	.L22
.L30:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L23
	b	.L19
.L31:
	nop
.L19:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L24
	mov	r1, #0
	ldr	r0, .L32+16
	bl	list
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	mov	r3, #1
	b	.L22
.L24:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L27
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	list
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	mov	r3, #1
	b	.L22
.L29:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	list
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	mov	r3, #1
	b	.L22
.L28:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L27:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L29
.L25:
	mov	r3, #0
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	opt
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.local	notfirst.5130
	.comm	notfirst.5130,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
