	.file	"908975.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"d.d_name = %s\n"
.LC1:
	.string	"d.d_off = %lld\n"
.LC2:
	.string	"d.d_reclen = %hu\n"
.LC3:
	.string	"directory"
.LC4:
	.string	"???"
.LC5:
	.string	"regular"
.LC6:
	.string	"d.d_type = %s\n\n"
	.text
	.globl	print
	.type	print, @function
print:
.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
.L8:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 280
	lea	rsi, 16[rbp]
	mov	edi, eax
	mov	eax, 0
	call	getdents@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L10
	lea	rax, 35[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR 32[rbp]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR 34[rbp]
	cmp	al, 8
	je	.L4
	movzx	eax, BYTE PTR 34[rbp]
	cmp	al, 4
	jne	.L5
	lea	rax, .LC3[rip]
	jmp	.L7
.L5:
	lea	rax, .LC4[rip]
	jmp	.L7
.L4:
	lea	rax, .LC5[rip]
.L7:
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L10:
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print, .-print
	.section	.rodata
.LC7:
	.string	"working"
.LC8:
	.string	"the_stack_data/908975.c"
.LC9:
	.string	"mkdir(\"working\", 0777) != -1"
.LC10:
	.string	"/working/test"
	.align 8
.LC11:
	.string	"mkdir(\"/working/test\", 0777) != -1"
.LC12:
	.string	"/working"
	.align 8
.LC13:
	.string	"------------- Reading from /working Directory -------------"
.LC14:
	.string	"Errno: %s\n"
.LC15:
	.string	"errno == EBADF"
.LC16:
	.string	"errno == EINVAL"
.LC17:
	.string	"/dev/stdout"
.LC18:
	.string	"Errno: %s\n\n"
.LC19:
	.string	"errno == ENOTDIR"
.LC20:
	.string	"/"
	.align 8
.LC21:
	.string	"------------- Reading from root Directory -------------"
.LC22:
	.string	"/dev"
	.align 8
.LC23:
	.string	"------------- Reading from /dev Directory -------------"
	.align 8
.LC24:
	.string	"/working file position is: %lli\n"
.LC25:
	.string	"/working/foobar"
	.align 8
.LC26:
	.string	"open(\"/working/foobar\", O_CREAT, S_IRGRP) != -1"
.LC27:
	.string	"pDir != NULL"
.LC28:
	.string	"pDirent->d_name: %s\n"
.LC29:
	.string	"pDirent->d_off: %lld\n"
.LC30:
	.string	"pDirent->d_reclen: %hu\n"
.LC31:
	.string	"pDirent->d_type: %hhu\n\n"
	.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, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 511
	lea	rdi, .LC7[rip]
	call	mkdir@PLT
	cmp	eax, -1
	jne	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 38
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L12:
	mov	esi, 511
	lea	rdi, .LC10[rip]
	call	mkdir@PLT
	cmp	eax, -1
	jne	.L13
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 39
	lea	rsi, .LC8[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L13:
	mov	esi, 65536
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -312[rbp], eax
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	r8d, DWORD PTR -312[rbp]
	sub	rsp, 8
	sub	rsp, 280
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -288[rbp]
	mov	edx, 35
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	edi, r8d
	call	print
	add	rsp, 288
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rax, -288[rbp]
	mov	edx, 280
	mov	rsi, rax
	mov	edi, -1
	mov	eax, 0
	call	getdents@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 9
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 52
	lea	rsi, .LC8[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L14:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rcx, -288[rbp]
	mov	eax, DWORD PTR -312[rbp]
	mov	edx, 279
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	getdents@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 60
	lea	rsi, .LC8[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L15:
	mov	esi, 0
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -308[rbp], eax
	lea	rcx, -288[rbp]
	mov	eax, DWORD PTR -308[rbp]
	mov	edx, 280
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	getdents@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 20
	je	.L16
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 66
	lea	rsi, .LC8[rip]
	lea	rdi, .LC19[rip]
	call	__assert_fail@PLT
.L16:
	mov	esi, 65536
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -312[rbp], eax
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	r8d, DWORD PTR -312[rbp]
	sub	rsp, 8
	sub	rsp, 280
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -288[rbp]
	mov	edx, 35
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	edi, r8d
	call	print
	add	rsp, 288
	mov	esi, 65536
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -312[rbp], eax
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	r8d, DWORD PTR -312[rbp]
	sub	rsp, 8
	sub	rsp, 280
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -288[rbp]
	mov	edx, 35
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	edi, r8d
	call	print
	add	rsp, 288
	mov	esi, 65536
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -312[rbp], eax
	mov	eax, DWORD PTR -312[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	lseek@PLT
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	r8d, DWORD PTR -312[rbp]
	sub	rsp, 8
	sub	rsp, 280
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -288[rbp]
	mov	edx, 35
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	edi, r8d
	call	print
	add	rsp, 288
	mov	edx, 32
	mov	esi, 64
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	open@PLT
	cmp	eax, -1
	jne	.L17
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 87
	lea	rsi, .LC8[rip]
	lea	rdi, .LC26[rip]
	call	__assert_fail@PLT
.L17:
	mov	eax, DWORD PTR -312[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	r8d, DWORD PTR -312[rbp]
	sub	rsp, 8
	sub	rsp, 280
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -288[rbp]
	mov	edx, 35
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	edi, r8d
	call	print
	add	rsp, 288
	lea	rdi, .LC22[rip]
	call	opendir@PLT
	mov	QWORD PTR -304[rbp], rax
	cmp	QWORD PTR -304[rbp], 0
	jne	.L19
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 96
	lea	rsi, .LC8[rip]
	lea	rdi, .LC27[rip]
	call	__assert_fail@PLT
.L20:
	mov	rax, QWORD PTR -296[rbp]
	add	rax, 19
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR 18[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L20
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"908975.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"d.d_name = %s\012\000"
	.align	2
.LC1:
	.ascii	"d.d_off = %lld\012\000"
	.align	2
.LC2:
	.ascii	"d.d_reclen = %hu\012\000"
	.align	2
.LC3:
	.ascii	"directory\000"
	.align	2
.LC4:
	.ascii	"???\000"
	.align	2
.LC5:
	.ascii	"regular\000"
	.align	2
.LC6:
	.ascii	"d.d_type = %s\012\012\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 272, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
.L8:
	mov	r2, #268
	add	r3, fp, #4
	mov	r1, r3
	ldr	r0, [fp, #272]
	bl	getdents
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L10
	add	r3, fp, #15
	mov	r1, r3
	ldr	r0, .L11
	bl	printf
	ldr	r3, [fp, #8]
	mov	r1, r3
	ldr	r0, .L11+4
	bl	printf
	ldrh	r3, [fp, #12]
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	ldrb	r3, [fp, #14]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L4
	ldrb	r3, [fp, #14]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L5
	ldr	r3, .L11+12
	b	.L7
.L5:
	ldr	r3, .L11+16
	b	.L7
.L4:
	ldr	r3, .L11+20
.L7:
	mov	r1, r3
	ldr	r0, .L11+24
	bl	printf
	b	.L8
.L10:
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	print, .-print
	.section	.rodata
	.align	2
.LC7:
	.ascii	"working\000"
	.align	2
.LC8:
	.ascii	"the_stack_data/908975.c\000"
	.align	2
.LC9:
	.ascii	"mkdir(\"working\", 0777) != -1\000"
	.align	2
.LC10:
	.ascii	"/working/test\000"
	.align	2
.LC11:
	.ascii	"mkdir(\"/working/test\", 0777) != -1\000"
	.align	2
.LC12:
	.ascii	"/working\000"
	.align	2
.LC13:
	.ascii	"------------- Reading from /working Directory -----"
	.ascii	"--------\000"
	.align	2
.LC14:
	.ascii	"Errno: %s\012\000"
	.align	2
.LC15:
	.ascii	"errno == EBADF\000"
	.align	2
.LC16:
	.ascii	"errno == EINVAL\000"
	.align	2
.LC17:
	.ascii	"/dev/stdout\000"
	.align	2
.LC18:
	.ascii	"Errno: %s\012\012\000"
	.align	2
.LC19:
	.ascii	"errno == ENOTDIR\000"
	.align	2
.LC20:
	.ascii	"/\000"
	.align	2
.LC21:
	.ascii	"------------- Reading from root Directory ---------"
	.ascii	"----\000"
	.align	2
.LC22:
	.ascii	"/dev\000"
	.align	2
.LC23:
	.ascii	"------------- Reading from /dev Directory ---------"
	.ascii	"----\000"
	.align	2
.LC24:
	.ascii	"/working file position is: %lli\012\000"
	.align	2
.LC25:
	.ascii	"/working/foobar\000"
	.align	2
.LC26:
	.ascii	"open(\"/working/foobar\", O_CREAT, S_IRGRP) != -1\000"
	.align	2
.LC27:
	.ascii	"pDir != NULL\000"
	.align	2
.LC28:
	.ascii	"pDirent->d_name: %s\012\000"
	.align	2
.LC29:
	.ascii	"pDirent->d_off: %lld\012\000"
	.align	2
.LC30:
	.ascii	"pDirent->d_reclen: %hu\012\000"
	.align	2
.LC31:
	.ascii	"pDirent->d_type: %hhu\012\012\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #544
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L25+4
	ldr	r0, .L25+8
	bl	mkdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L14
	ldr	r3, .L25+12
	mov	r2, #38
	ldr	r1, .L25+16
	ldr	r0, .L25+20
	bl	__assert_fail
.L14:
	ldr	r1, .L25+4
	ldr	r0, .L25+24
	bl	mkdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	ldr	r3, .L25+12
	mov	r2, #39
	ldr	r1, .L25+16
	ldr	r0, .L25+28
	bl	__assert_fail
.L15:
	mov	r1, #16384
	ldr	r0, .L25+32
	bl	open
	str	r0, [fp, #-292]
	ldr	r0, .L25+36
	bl	puts
	ldr	r3, [fp, #-292]
	str	r3, [sp, #252]
	mov	r0, sp
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #276
	ldm	r3, {r0, r1, r2, r3}
	bl	print
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #276
	mov	r2, #268
	mov	r1, r3
	mvn	r0, #0
	bl	getdents
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L25+40
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #9
	beq	.L16
	ldr	r3, .L25+12
	mov	r2, #52
	ldr	r1, .L25+16
	ldr	r0, .L25+44
	bl	__assert_fail
.L16:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #276
	ldr	r2, .L25+48
	mov	r1, r3
	ldr	r0, [fp, #-292]
	bl	getdents
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L25+40
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #22
	beq	.L17
	ldr	r3, .L25+12
	mov	r2, #60
	ldr	r1, .L25+16
	ldr	r0, .L25+52
	bl	__assert_fail
.L17:
	mov	r1, #0
	ldr	r0, .L25+56
	bl	open
	str	r0, [fp, #-288]
	sub	r3, fp, #276
	mov	r2, #268
	mov	r1, r3
	ldr	r0, [fp, #-288]
	bl	getdents
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L25+60
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #20
	beq	.L18
	ldr	r3, .L25+12
	mov	r2, #66
	ldr	r1, .L25+16
	ldr	r0, .L25+64
	bl	__assert_fail
.L18:
	mov	r1, #16384
	ldr	r0, .L25+68
	bl	open
	str	r0, [fp, #-292]
	ldr	r0, .L25+72
	bl	puts
	ldr	r3, [fp, #-292]
	str	r3, [sp, #252]
	mov	r0, sp
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #276
	ldm	r3, {r0, r1, r2, r3}
	bl	print
	mov	r1, #16384
	ldr	r0, .L25+76
	bl	open
	str	r0, [fp, #-292]
	ldr	r0, .L25+80
	bl	puts
	ldr	r3, [fp, #-292]
	str	r3, [sp, #252]
	mov	r0, sp
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #276
	ldm	r3, {r0, r1, r2, r3}
	bl	print
	mov	r1, #16384
	ldr	r0, .L25+32
	bl	open
	str	r0, [fp, #-292]
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-292]
	bl	lseek
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L25+84
	bl	printf
	ldr	r0, .L25+36
	bl	puts
	ldr	r3, [fp, #-292]
	str	r3, [sp, #252]
	mov	r0, sp
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #276
	ldm	r3, {r0, r1, r2, r3}
	bl	print
	mov	r2, #32
	mov	r1, #64
	ldr	r0, .L25+88
	bl	open
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	ldr	r3, .L25+12
	mov	r2, #87
	ldr	r1, .L25+16
	ldr	r0, .L25+92
	bl	__assert_fail
.L19:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-292]
	bl	lseek
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L25+84
	bl	printf
	ldr	r0, .L25+36
	bl	puts
	ldr	r3, [fp, #-292]
	str	r3, [sp, #252]
	mov	r0, sp
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #276
	ldm	r3, {r0, r1, r2, r3}
	bl	print
	ldr	r0, .L25+76
	bl	opendir
	str	r0, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L25+12
	mov	r2, #96
	ldr	r1, .L25+16
	ldr	r0, .L25+96
	bl	__assert_fail
.L22:
	ldr	r3, [fp, #-280]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, .L25+100
	bl	printf
	ldr	r3, [fp, #-280]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L25+104
	bl	printf
	ldr	r3, [fp, #-280]
	ldrh	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L25+108
	bl	printf
	ldr	r3, [fp, #-280]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+112
	bl	printf
.L21:
	ldr	r0, [fp, #-284]
	bl	readdir
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L22
	ldr	r0, [fp, #-284]
	bl	closedir
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC32
	.word	511
	.word	.LC7
	.word	__PRETTY_FUNCTION__.6462
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	267
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6462, %object
	.size	__PRETTY_FUNCTION__.6462, 5
__PRETTY_FUNCTION__.6462:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
