	.file	"57885.c"
	.intel_syntax noprefix
	.text
	.globl	c
	.data
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.long	-1
	.globl	sfd
	.bss
	.align 4
	.type	sfd, @object
	.size	sfd, 4
sfd:
	.zero	4
	.globl	ssfd
	.align 4
	.type	ssfd, @object
	.size	ssfd, 4
ssfd:
	.zero	4
	.globl	sssfd
	.align 4
	.type	sssfd, @object
	.size	sssfd, 4
sssfd:
	.zero	4
	.globl	fd
	.align 4
	.type	fd, @object
	.size	fd, 4
fd:
	.zero	4
	.globl	fc
	.align 4
	.type	fc, @object
	.size	fc, 4
fc:
	.zero	4
	.globl	nread
	.align 4
	.type	nread, @object
	.size	nread, 4
nread:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 1024
buf:
	.zero	1024
	.globl	d
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	sd
	.align 8
	.type	sd, @object
	.size	sd, 8
sd:
	.zero	8
	.globl	bpos
	.align 4
	.type	bpos, @object
	.size	bpos, 4
bpos:
	.zero	4
	.globl	d_type
	.type	d_type, @object
	.size	d_type, 1
d_type:
	.zero	1
	.globl	errno
	.type	errno, @object
	.size	errno, 1
errno:
	.zero	1
	.globl	isEnd
	.align 4
	.type	isEnd, @object
	.size	isEnd, 4
isEnd:
	.zero	4
	.globl	sb
	.align 32
	.type	sb, @object
	.size	sb, 144
sb:
	.zero	144
	.globl	longopts
	.section	.rodata
.LC0:
	.string	"help"
.LC1:
	.string	"pid"
.LC2:
	.string	"comm"
.LC3:
	.string	"info"
	.section	.data.rel.local,"aw"
	.align 32
	.type	longopts, @object
	.size	longopts, 160
longopts:
	.quad	.LC0
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	.LC1
	.long	0
	.zero	4
	.quad	0
	.long	112
	.zero	4
	.quad	.LC2
	.long	0
	.zero	4
	.quad	0
	.long	99
	.zero	4
	.quad	.LC3
	.long	0
	.zero	4
	.quad	0
	.long	105
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.section	.rodata
.LC4:
	.string	"Unknown option `-%c'.\n"
	.align 8
.LC5:
	.string	"Unknown option character! `\\x%x'.\n"
.LC6:
	.string	"icph"
.LC7:
	.string	"Missing PID"
.LC8:
	.string	"use -h or --help for help"
	.align 8
.LC9:
	.string	"\nUse thhis fonction to list all of your current process"
	.align 8
.LC10:
	.string	"-h or --help to show this help page"
	.align 8
.LC11:
	.string	"-p or --pid to search a specific process by his PID"
	.align 8
.LC12:
	.string	"        And don't forget to put the PID you want"
	.align 8
.LC13:
	.string	"-c or --comm for change the path in command name"
	.align 8
.LC14:
	.string	"-i or --info to display all informations about a specific process"
	.align 8
.LC15:
	.string	"        And don't forget to put de the PID you want"
.LC16:
	.string	"/proc"
.LC17:
	.string	"open"
.LC18:
	.string	"getdents"
.LC19:
	.string	"PID          COMMAND"
.LC20:
	.string	"cmdline"
.LC21:
	.string	"status"
.LC22:
	.string	"%4s%17s"
.LC23:
	.string	"%4s%17s\n"
.LC24:
	.string	"Informations :\n"
.LC25:
	.string	"%4s%16s\n"
	.align 8
.LC26:
	.string	"Le PID %s ne correspond pas \303\240 un process\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR optind[rip]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L12:
	mov	eax, DWORD PTR c[rip]
	cmp	eax, 112
	je	.L3
	cmp	eax, 112
	jg	.L4
	cmp	eax, 105
	je	.L5
	cmp	eax, 105
	jg	.L4
	cmp	eax, 104
	je	.L6
	cmp	eax, 104
	jg	.L4
	cmp	eax, 63
	je	.L7
	cmp	eax, 99
	je	.L8
	jmp	.L4
.L6:
	mov	DWORD PTR -24[rbp], 1
	jmp	.L2
.L3:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L2
.L8:
	mov	DWORD PTR -16[rbp], 1
	jmp	.L2
.L5:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L2
.L7:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optopt[rip]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L9
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L9:
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L10:
	mov	eax, 1
	jmp	.L11
.L4:
	mov	eax, 1
	jmp	.L11
.L2:
	mov	rsi, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8d, 0
	lea	rcx, longopts[rip]
	lea	rdx, .LC6[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR c[rip], eax
	mov	eax, DWORD PTR c[rip]
	cmp	eax, -1
	jne	.L12
	cmp	DWORD PTR -20[rbp], 1
	sete	dl
	cmp	DWORD PTR -12[rbp], 1
	sete	al
	or	eax, edx
	test	al, al
	je	.L13
	cmp	QWORD PTR -8[rbp], 0
	jne	.L13
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	cmp	DWORD PTR -24[rbp], 1
	jne	.L14
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L14:
	mov	esi, 65536
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	cmp	eax, -1
	jne	.L15
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	eax, DWORD PTR fd[rip]
	mov	ecx, 1024
	lea	rdx, buf[rip]
	mov	esi, eax
	mov	edi, 78
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR nread[rip], eax
	mov	eax, DWORD PTR nread[rip]
	cmp	eax, -1
	jne	.L16
	lea	rdi, .LC18[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR nread[rip]
	test	eax, eax
	je	.L41
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	DWORD PTR bpos[rip], 0
	jmp	.L19
.L38:
	mov	eax, DWORD PTR bpos[rip]
	cdqe
	lea	rdx, buf[rip]
	add	rax, rdx
	mov	QWORD PTR d[rip], rax
	mov	eax, DWORD PTR bpos[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR d[rip]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	add	rax, rdx
	lea	rdx, -1[rax]
	lea	rax, buf[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR d_type[rip], al
	mov	rax, QWORD PTR d[rip]
	movzx	eax, BYTE PTR 18[rax]
	mov	BYTE PTR -25[rbp], al
	cmp	BYTE PTR -25[rbp], 49
	sete	dl
	cmp	BYTE PTR -25[rbp], 50
	sete	al
	or	eax, edx
	movzx	edx, al
	cmp	BYTE PTR -25[rbp], 51
	sete	al
	movzx	eax, al
	or	edx, eax
	cmp	BYTE PTR -25[rbp], 52
	sete	al
	movzx	eax, al
	or	edx, eax
	cmp	BYTE PTR -25[rbp], 53
	sete	al
	movzx	eax, al
	or	edx, eax
	cmp	BYTE PTR -25[rbp], 54
	sete	al
	movzx	eax, al
	or	edx, eax
	cmp	BYTE PTR -25[rbp], 55
	sete	al
	movzx	eax, al
	or	edx, eax
	cmp	BYTE PTR -25[rbp], 56
	sete	al
	movzx	eax, al
	or	edx, eax
	cmp	BYTE PTR -25[rbp], 57
	sete	al
	movzx	eax, al
	or	eax, edx
	test	eax, eax
	je	.L20
	mov	rax, QWORD PTR d[rip]
	lea	rcx, 18[rax]
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 65536
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR sfd[rip], eax
	cmp	DWORD PTR -16[rbp], 1
	jne	.L21
	mov	eax, DWORD PTR sfd[rip]
	mov	edx, 0
	lea	rsi, .LC20[rip]
	mov	edi, eax
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR ssfd[rip], eax
	jmp	.L22
.L21:
	mov	eax, DWORD PTR sfd[rip]
	mov	edx, 0
	lea	rsi, .LC2[rip]
	mov	edi, eax
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR ssfd[rip], eax
.L22:
	cmp	DWORD PTR -12[rbp], 1
	jne	.L23
	mov	eax, DWORD PTR sfd[rip]
	mov	edx, 0
	lea	rsi, .LC21[rip]
	mov	edi, eax
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR sssfd[rip], eax
.L23:
	mov	eax, DWORD PTR sfd[rip]
	cmp	eax, -1
	jne	.L24
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	mov	eax, DWORD PTR ssfd[rip]
	cmp	eax, -1
	jne	.L25
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	mov	eax, DWORD PTR ssfd[rip]
	cmp	eax, -1
	jne	.L26
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L27
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR d[rip]
	add	rdx, 18
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	DWORD PTR isEnd[rip], 1
	jmp	.L28
.L29:
	mov	rax, QWORD PTR d[rip]
	add	rax, 18
	lea	rdx, buf[rip]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	mov	eax, DWORD PTR ssfd[rip]
	mov	edx, 1024
	lea	rsi, buf[rip]
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jg	.L29
	jmp	.L20
.L27:
	cmp	DWORD PTR -12[rbp], 1
	jne	.L35
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR d[rip]
	add	rdx, 18
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	DWORD PTR isEnd[rip], 1
	jmp	.L31
.L32:
	mov	rax, QWORD PTR d[rip]
	add	rax, 18
	lea	rdx, buf[rip]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L31:
	mov	eax, DWORD PTR ssfd[rip]
	mov	edx, 1024
	lea	rsi, buf[rip]
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jg	.L32
	lea	rdi, .LC24[rip]
	call	puts@PLT
	jmp	.L33
.L34:
	lea	rdi, buf[rip]
	call	puts@PLT
.L33:
	mov	eax, DWORD PTR sssfd[rip]
	mov	edx, 1024
	lea	rsi, buf[rip]
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jg	.L34
	jmp	.L20
.L37:
	cmp	DWORD PTR -16[rbp], 1
	jne	.L36
	mov	rax, QWORD PTR d[rip]
	add	rax, 18
	lea	rdx, buf[rip]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L35
.L36:
	mov	rax, QWORD PTR d[rip]
	add	rax, 18
	lea	rdx, buf[rip]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
.L35:
	mov	eax, DWORD PTR ssfd[rip]
	mov	edx, 1024
	lea	rsi, buf[rip]
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jg	.L37
.L20:
	mov	rax, QWORD PTR d[rip]
	movzx	eax, WORD PTR 16[rax]
	movzx	edx, ax
	mov	eax, DWORD PTR bpos[rip]
	add	eax, edx
	mov	DWORD PTR bpos[rip], eax
.L19:
	mov	edx, DWORD PTR bpos[rip]
	mov	eax, DWORD PTR nread[rip]
	cmp	edx, eax
	jl	.L38
	mov	eax, DWORD PTR isEnd[rip]
	cmp	eax, 1
	je	.L15
	cmp	DWORD PTR -20[rbp], 1
	sete	dl
	cmp	DWORD PTR -12[rbp], 1
	sete	al
	or	eax, edx
	test	al, al
	je	.L15
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L41:
	nop
	mov	eax, DWORD PTR fd[rip]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR sfd[rip]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR ssfd[rip]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"57885.c"
	.text
	.global	c
	.data
	.align	2
	.type	c, %object
	.size	c, 4
c:
	.word	-1
	.comm	sfd,4,4
	.comm	ssfd,4,4
	.comm	sssfd,4,4
	.comm	fd,4,4
	.comm	fc,4,4
	.comm	nread,4,4
	.comm	buf,1024,4
	.comm	d,4,4
	.comm	sd,4,4
	.comm	bpos,4,4
	.comm	d_type,1,1
	.comm	errno,1,1
	.comm	isEnd,4,4
	.comm	sb,88,8
	.global	longopts
	.section	.rodata
	.align	2
.LC0:
	.ascii	"help\000"
	.align	2
.LC1:
	.ascii	"pid\000"
	.align	2
.LC2:
	.ascii	"comm\000"
	.align	2
.LC3:
	.ascii	"info\000"
	.data
	.align	2
	.type	longopts, %object
	.size	longopts, 80
longopts:
	.word	.LC0
	.word	0
	.word	0
	.word	104
	.word	.LC1
	.word	0
	.word	0
	.word	112
	.word	.LC2
	.word	0
	.word	0
	.word	99
	.word	.LC3
	.word	0
	.word	0
	.word	105
	.word	0
	.word	0
	.word	0
	.word	0
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Unknown option `-%c'.\012\000"
	.align	2
.LC5:
	.ascii	"Unknown option character! `\\x%x'.\012\000"
	.align	2
.LC6:
	.ascii	"icph\000"
	.align	2
.LC7:
	.ascii	"Missing PID\000"
	.align	2
.LC8:
	.ascii	"use -h or --help for help\000"
	.align	2
.LC9:
	.ascii	"\012Use thhis fonction to list all of your current "
	.ascii	"process\000"
	.align	2
.LC10:
	.ascii	"-h or --help to show this help page\000"
	.align	2
.LC11:
	.ascii	"-p or --pid to search a specific process by his PID"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"        And don't forget to put the PID you want\000"
	.align	2
.LC13:
	.ascii	"-c or --comm for change the path in command name\000"
	.align	2
.LC14:
	.ascii	"-i or --info to display all informations about a sp"
	.ascii	"ecific process\000"
	.align	2
.LC15:
	.ascii	"        And don't forget to put de the PID you want"
	.ascii	"\000"
	.align	2
.LC16:
	.ascii	"/proc\000"
	.align	2
.LC17:
	.ascii	"open\000"
	.align	2
.LC18:
	.ascii	"getdents\000"
	.align	2
.LC19:
	.ascii	"PID          COMMAND\000"
	.align	2
.LC20:
	.ascii	"cmdline\000"
	.align	2
.LC21:
	.ascii	"status\000"
	.align	2
.LC22:
	.ascii	"%4s%17s\000"
	.align	2
.LC23:
	.ascii	"%4s%17s\012\000"
	.align	2
.LC24:
	.ascii	"Informations :\012\000"
	.align	2
.LC25:
	.ascii	"%4s%16s\012\000"
	.align	2
.LC26:
	.ascii	"Le PID %s ne correspond pas \303\240 un process\012"
	.ascii	"\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L43
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L2
.L13:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	cmp	r3, #63
	beq	.L3
	cmp	r3, #63
	blt	.L4
	cmp	r3, #112
	bgt	.L4
	cmp	r3, #99
	blt	.L4
	sub	r3, r3, #99
	cmp	r3, #13
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L9
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L8
	.word	.L7
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L5
.L8:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L2
.L5:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L2
.L9:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L2
.L7:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L2
.L3:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, .L43+8
	ldr	r3, [r3]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L43+12
	ldr	r3, [r3]
	ldr	r2, .L43+8
	ldr	r2, [r2]
	ldr	r1, .L43+16
	mov	r0, r3
	bl	fprintf
	b	.L11
.L10:
	ldr	r3, .L43+12
	ldr	r3, [r3]
	ldr	r2, .L43+8
	ldr	r2, [r2]
	ldr	r1, .L43+20
	mov	r0, r3
	bl	fprintf
.L11:
	mov	r3, #1
	b	.L12
.L4:
	mov	r3, #1
	b	.L12
.L2:
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L43+24
	ldr	r2, .L43+28
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	getopt_long
	mov	r3, r0
	ldr	r2, .L43+4
	str	r3, [r2]
	ldr	r3, .L43+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L13
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L43+32
	bl	puts
	ldr	r0, .L43+36
	bl	puts
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L15
	ldr	r0, .L43+40
	bl	puts
	ldr	r0, .L43+44
	bl	puts
	ldr	r0, .L43+48
	bl	puts
	ldr	r0, .L43+52
	bl	puts
	ldr	r0, .L43+56
	bl	puts
	ldr	r0, .L43+60
	bl	puts
	ldr	r0, .L43+64
	bl	puts
	mov	r0, #0
	bl	exit
.L15:
	mov	r1, #16384
	ldr	r0, .L43+68
	bl	open
	mov	r3, r0
	ldr	r2, .L43+72
	str	r3, [r2]
	ldr	r3, .L43+72
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L16
	ldr	r0, .L43+76
	bl	perror
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, .L43+72
	ldr	r1, [r3]
	mov	r3, #1024
	ldr	r2, .L43+80
	mov	r0, #141
	bl	syscall
	mov	r3, r0
	ldr	r2, .L43+84
	str	r3, [r2]
	ldr	r3, .L43+84
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L17
	ldr	r0, .L43+88
	bl	perror
	mov	r0, #1
	bl	exit
.L17:
	ldr	r3, .L43+84
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L42
	ldr	r0, .L43+92
	bl	puts
	ldr	r3, .L43+96
	mov	r2, #0
	str	r2, [r3]
	b	.L20
.L39:
	ldr	r3, .L43+96
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L43+80
	add	r3, r2, r3
	ldr	r2, .L43+100
	str	r3, [r2]
	ldr	r3, .L43+100
	ldr	r3, [r3]
	ldrh	r3, [r3, #8]
	mov	r2, r3
	ldr	r3, .L43+96
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L43+80
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L43+104
	strb	r2, [r3]
	ldr	r3, .L43+100
	ldr	r3, [r3]
	ldrb	r3, [r3, #10]
	strb	r3, [fp, #-25]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #49
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #50
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	mov	r2, r3
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #51
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, #52
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	orr	r3, r3, r2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, #53
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	orr	r3, r3, r2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, #54
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	orr	r3, r3, r2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, #55
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	orr	r3, r3, r2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, #56
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	orr	r3, r3, r2
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, #57
	moveq	r2, #1
	movne	r2, #0
	and	r2, r2, #255
	orr	r3, r3, r2
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L43+72
	ldr	r0, [r3]
	ldr	r3, .L43+100
	ldr	r3, [r3]
	add	r3, r3, #10
	mov	r2, #16384
	mov	r1, r3
	bl	openat
	mov	r3, r0
	ldr	r2, .L43+108
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L22
	ldr	r3, .L43+108
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L43+112
	mov	r0, r3
	bl	openat
	mov	r3, r0
	ldr	r2, .L43+116
	str	r3, [r2]
	b	.L23
.L22:
	ldr	r3, .L43+108
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L43+120
	mov	r0, r3
	bl	openat
	mov	r3, r0
	ldr	r2, .L43+116
	str	r3, [r2]
.L23:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L24
	ldr	r3, .L43+108
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L43+124
	mov	r0, r3
	bl	openat
	mov	r3, r0
	ldr	r2, .L43+128
	str	r3, [r2]
.L24:
	ldr	r3, .L43+108
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L43+76
	bl	perror
	mov	r0, #1
	bl	exit
.L25:
	ldr	r3, .L43+116
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L26
	ldr	r0, .L43+76
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	ldr	r3, .L43+116
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L27
	ldr	r0, .L43+76
	bl	perror
	mov	r0, #1
	bl	exit
.L27:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L28
	ldr	r3, .L43+100
	ldr	r3, [r3]
	add	r2, r3, #10
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L43+132
	mov	r2, #1
	str	r2, [r3]
	b	.L29
.L30:
	ldr	r3, .L43+100
	ldr	r3, [r3]
	add	r3, r3, #10
	ldr	r2, .L43+80
	mov	r1, r3
	ldr	r0, .L43+136
	bl	printf
.L29:
	ldr	r3, .L43+116
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L43+80
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bgt	.L30
	b	.L21
.L28:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L36
	ldr	r3, .L43+100
	ldr	r3, [r3]
	add	r2, r3, #10
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L43+132
	mov	r2, #1
	str	r2, [r3]
	b	.L32
.L33:
	ldr	r3, .L43+100
	ldr	r3, [r3]
	add	r3, r3, #10
	ldr	r2, .L43+80
	mov	r1, r3
	ldr	r0, .L43+140
	bl	printf
.L32:
	ldr	r3, .L43+116
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L43+80
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bgt	.L33
	ldr	r0, .L43+144
	bl	puts
	b	.L34
.L35:
	ldr	r0, .L43+80
	bl	puts
.L34:
	ldr	r3, .L43+128
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L43+80
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bgt	.L35
	b	.L21
.L38:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L37
	ldr	r3, .L43+100
	ldr	r3, [r3]
	add	r3, r3, #10
	ldr	r2, .L43+80
	mov	r1, r3
	ldr	r0, .L43+148
	bl	printf
	b	.L36
.L37:
	ldr	r3, .L43+100
	ldr	r3, [r3]
	add	r3, r3, #10
	ldr	r2, .L43+80
	mov	r1, r3
	ldr	r0, .L43+136
	bl	printf
.L36:
	ldr	r3, .L43+116
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L43+80
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bgt	.L38
.L21:
	ldr	r3, .L43+100
	ldr	r3, [r3]
	ldrh	r3, [r3, #8]
	mov	r2, r3
	ldr	r3, .L43+96
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L43+96
	str	r3, [r2]
.L20:
	ldr	r3, .L43+96
	ldr	r2, [r3]
	ldr	r3, .L43+84
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L39
	ldr	r3, .L43+132
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L16
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+152
	bl	printf
	mov	r0, #1
	bl	exit
.L42:
	nop
	ldr	r3, .L43+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L43+108
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L43+116
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	exit
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	optind
	.word	c
	.word	optopt
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	longopts
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	fd
	.word	.LC17
	.word	buf
	.word	nread
	.word	.LC18
	.word	.LC19
	.word	bpos
	.word	d
	.word	d_type
	.word	sfd
	.word	.LC20
	.word	ssfd
	.word	.LC2
	.word	.LC21
	.word	sssfd
	.word	isEnd
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
