	.file	"801928.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	" "
.LC1:
	.string	","
.LC2:
	.string	"/proc"
.LC3:
	.string	" PID   PPID  TTY  COMMAND"
.LC4:
	.string	"/proc/%s/status"
.LC5:
	.string	"r"
.LC6:
	.string	"-1"
.LC7:
	.string	"?"
.LC8:
	.string	"12"
.LC9:
	.string	"v"
.LC10:
	.string	"0"
.LC11:
	.string	"con"
.LC12:
	.string	"-"
.LC13:
	.string	"5"
.LC14:
	.string	"p"
.LC15:
	.string	"x"
.LC16:
	.string	"255"
.LC17:
	.string	"%s%s"
.LC18:
	.string	"%5s %5s %4s (%s)\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, 272
	mov	DWORD PTR -260[rbp], edi
	mov	QWORD PTR -272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -232[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -224[rbp], rax
	lea	rdi, .LC2[rip]
	call	opendir@PLT
	mov	QWORD PTR -216[rbp], rax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L2
.L12:
	mov	rax, QWORD PTR -208[rbp]
	movzx	eax, BYTE PTR 19[rax]
	cmp	al, 46
	jne	.L3
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -208[rbp]
	movzx	eax, BYTE PTR 19[rax]
	cmp	al, 99
	jne	.L4
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -208[rbp]
	lea	rdx, 19[rax]
	lea	rax, -112[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -200[rbp], rax
	mov	rdx, QWORD PTR -200[rbp]
	lea	rax, -112[rbp]
	mov	esi, 99
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	rdx, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -240[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	lea	rax, .LC7[rip]
	mov	QWORD PTR -240[rbp], rax
.L5:
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rax, .LC7[rip]
	mov	QWORD PTR -248[rbp], rax
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	lea	rax, .LC9[rip]
	mov	QWORD PTR -248[rbp], rax
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	lea	rax, .LC11[rip]
	mov	QWORD PTR -248[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -240[rbp], rax
	jmp	.L7
.L9:
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	lea	rax, .LC14[rip]
	mov	QWORD PTR -248[rbp], rax
	jmp	.L7
.L10:
	lea	rax, .LC15[rip]
	mov	QWORD PTR -248[rbp], rax
.L7:
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	rax, QWORD PTR -240[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	lea	rax, .LC11[rip]
	mov	QWORD PTR -248[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -240[rbp], rax
.L11:
	mov	rcx, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	lea	rax, -122[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rsi, QWORD PTR -192[rbp]
	lea	rcx, -122[rbp]
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -208[rbp], rax
	cmp	QWORD PTR -208[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	edi, 0
	call	exit@PLT
	.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	"801928.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	" \000"
	.align	2
.LC1:
	.ascii	",\000"
	.align	2
.LC2:
	.ascii	"/proc\000"
	.align	2
.LC3:
	.ascii	" PID   PPID  TTY  COMMAND\000"
	.align	2
.LC4:
	.ascii	"/proc/%s/status\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"-1\000"
	.align	2
.LC7:
	.ascii	"?\000"
	.align	2
.LC8:
	.ascii	"12\000"
	.align	2
.LC9:
	.ascii	"v\000"
	.align	2
.LC10:
	.ascii	"0\000"
	.align	2
.LC11:
	.ascii	"con\000"
	.align	2
.LC12:
	.ascii	"-\000"
	.align	2
.LC13:
	.ascii	"5\000"
	.align	2
.LC14:
	.ascii	"p\000"
	.align	2
.LC15:
	.ascii	"x\000"
	.align	2
.LC16:
	.ascii	"255\000"
	.align	2
.LC17:
	.ascii	"%s%s\000"
	.align	2
.LC18:
	.ascii	"%5s %5s %4s (%s)\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	str	r0, [fp, #-184]
	str	r1, [fp, #-188]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L14+4
	str	r3, [fp, #-172]
	ldr	r3, .L14+8
	str	r3, [fp, #-168]
	ldr	r0, .L14+12
	bl	opendir
	str	r0, [fp, #-164]
	ldr	r0, .L14+16
	bl	puts
	b	.L2
.L12:
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L3
	b	.L2
.L3:
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L4
	b	.L2
.L4:
	ldr	r3, [fp, #-160]
	add	r2, r3, #11
	sub	r3, fp, #108
	ldr	r1, .L14+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #108
	ldr	r1, .L14+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-156]
	sub	r3, fp, #108
	ldr	r2, [fp, #-156]
	mov	r1, #99
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-156]
	bl	fclose
	sub	r3, fp, #108
	ldr	r1, [fp, #-172]
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-152]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-148]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-144]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-140]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-136]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-132]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-128]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-128]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-128]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-128]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-128]
	ldr	r1, [fp, #-172]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-124]
	ldr	r1, [fp, #-168]
	ldr	r0, [fp, #-132]
	bl	strtok
	str	r0, [fp, #-180]
	ldr	r1, [fp, #-168]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-176]
	ldr	r1, .L14+28
	ldr	r0, [fp, #-176]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L14+32
	str	r3, [fp, #-176]
.L5:
	ldr	r1, .L14+28
	ldr	r0, [fp, #-180]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L14+32
	str	r3, [fp, #-180]
	b	.L7
.L6:
	ldr	r1, .L14+36
	ldr	r0, [fp, #-180]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L14+40
	str	r3, [fp, #-180]
	b	.L7
.L8:
	ldr	r1, .L14+44
	ldr	r0, [fp, #-180]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L14+48
	str	r3, [fp, #-180]
	ldr	r3, .L14+52
	str	r3, [fp, #-176]
	b	.L7
.L9:
	ldr	r1, .L14+56
	ldr	r0, [fp, #-180]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L14+60
	str	r3, [fp, #-180]
	b	.L7
.L10:
	ldr	r3, .L14+64
	str	r3, [fp, #-180]
.L7:
	ldr	r1, .L14+40
	ldr	r0, [fp, #-180]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r1, .L14+68
	ldr	r0, [fp, #-176]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L14+48
	str	r3, [fp, #-180]
	ldr	r3, .L14+52
	str	r3, [fp, #-176]
.L11:
	sub	r0, fp, #120
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-180]
	ldr	r1, .L14+72
	bl	sprintf
	sub	r2, fp, #120
	ldr	r3, [fp, #-152]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-144]
	ldr	r1, [fp, #-148]
	ldr	r0, .L14+76
	bl	printf
.L2:
	ldr	r0, [fp, #-164]
	bl	readdir
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	bne	.L12
	ldr	r0, [fp, #-164]
	bl	closedir
	mov	r0, #0
	bl	exit
.L15:
	.align	2
.L14:
	.word	.LC19
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
