	.file	"1131741.c"
	.intel_syntax noprefix
	.text
	.globl	bflag
	.bss
	.align 4
	.type	bflag, @object
	.size	bflag, 4
bflag:
	.zero	4
	.globl	eflag
	.align 4
	.type	eflag, @object
	.size	eflag, 4
eflag:
	.zero	4
	.globl	nflag
	.align 4
	.type	nflag, @object
	.size	nflag, 4
nflag:
	.zero	4
	.globl	sflag
	.align 4
	.type	sflag, @object
	.size	sflag, 4
sflag:
	.zero	4
	.globl	tflag
	.align 4
	.type	tflag, @object
	.size	tflag, 4
tflag:
	.zero	4
	.globl	vflag
	.align 4
	.type	vflag, @object
	.size	vflag, 4
vflag:
	.zero	4
	.globl	rval
	.align 4
	.type	rval, @object
	.size	rval, 4
rval:
	.zero	4
	.globl	filename
	.align 8
	.type	filename, @object
	.size	filename, 8
filename:
	.zero	8
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"stdio rpath"
.LC2:
	.string	"pledge"
	.align 8
.LC3:
	.string	"usage: %s [-benstuv] [file ...]\n"
.LC4:
	.string	"benstuv"
.LC5:
	.string	"stdout"
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rsi, .LC0[rip]
	mov	edi, 6
	call	setlocale@PLT
	mov	esi, 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	pledge@PLT
	cmp	eax, -1
	jne	.L3
	lea	rsi, .LC2[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L13:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 98
	cmp	eax, 20
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L12-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L11-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L10-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
.L12:
	mov	DWORD PTR nflag[rip], 1
	mov	eax, DWORD PTR nflag[rip]
	mov	DWORD PTR bflag[rip], eax
	jmp	.L3
.L11:
	mov	DWORD PTR vflag[rip], 1
	mov	eax, DWORD PTR vflag[rip]
	mov	DWORD PTR eflag[rip], eax
	jmp	.L3
.L10:
	mov	DWORD PTR nflag[rip], 1
	jmp	.L3
.L9:
	mov	DWORD PTR sflag[rip], 1
	jmp	.L3
.L8:
	mov	DWORD PTR vflag[rip], 1
	mov	eax, DWORD PTR vflag[rip]
	mov	DWORD PTR tflag[rip], eax
	jmp	.L3
.L7:
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	jmp	.L3
.L5:
	mov	DWORD PTR vflag[rip], 1
	jmp	.L3
.L4:
	mov	rdx, QWORD PTR __progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC4[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L13
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR bflag[rip]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR eflag[rip]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR nflag[rip]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR sflag[rip]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR tflag[rip]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR vflag[rip]
	test	eax, eax
	je	.L15
.L14:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	cook_args
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	raw_args
.L16:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L17
	lea	rsi, .LC5[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L17:
	mov	eax, DWORD PTR rval[rip]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"stdin"
.LC7:
	.string	"-"
.LC8:
	.string	"r"
.LC9:
	.string	"%s"
	.text
	.globl	cook_args
	.type	cook_args, @function
cook_args:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -8[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR filename[rip], rax
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	warn@PLT
	mov	DWORD PTR rval[rip], 1
	add	QWORD PTR -24[rbp], 8
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR filename[rip], rax
.L19:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	cook_buf
	mov	rax, QWORD PTR stdin[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L23
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	clearerr@PLT
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L24
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cook_args, .-cook_args
	.section	.rodata
.LC10:
	.string	"%6d\t"
.LC11:
	.string	"%6s\t"
	.text
	.globl	cook_buf
	.type	cook_buf, @function
cook_buf:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 10
	jmp	.L26
.L42:
	cmp	DWORD PTR -4[rbp], 10
	jne	.L27
	mov	eax, DWORD PTR sflag[rip]
	test	eax, eax
	je	.L28
	cmp	DWORD PTR -16[rbp], 10
	jne	.L29
	cmp	DWORD PTR -12[rbp], 0
	jne	.L45
	mov	DWORD PTR -12[rbp], 1
	jmp	.L28
.L29:
	mov	DWORD PTR -12[rbp], 0
.L28:
	mov	eax, DWORD PTR nflag[rip]
	test	eax, eax
	je	.L27
	mov	eax, DWORD PTR bflag[rip]
	test	eax, eax
	je	.L32
	cmp	DWORD PTR -16[rbp], 10
	je	.L33
.L32:
	add	DWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR stdout[rip]
	mov	edx, DWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L27
	jmp	.L35
.L33:
	mov	eax, DWORD PTR eflag[rip]
	test	eax, eax
	je	.L27
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L46
.L27:
	cmp	DWORD PTR -16[rbp], 10
	jne	.L36
	mov	eax, DWORD PTR eflag[rip]
	test	eax, eax
	je	.L37
	mov	edi, 36
	call	putchar@PLT
	cmp	eax, -1
	jne	.L37
	jmp	.L35
.L36:
	cmp	DWORD PTR -16[rbp], 9
	jne	.L38
	mov	eax, DWORD PTR tflag[rip]
	test	eax, eax
	je	.L37
	mov	edi, 94
	call	putchar@PLT
	cmp	eax, -1
	je	.L35
	mov	edi, 73
	call	putchar@PLT
	cmp	eax, -1
	je	.L35
	jmp	.L31
.L38:
	mov	eax, DWORD PTR vflag[rip]
	test	eax, eax
	je	.L37
	mov	eax, DWORD PTR -16[rbp]
	and	eax, -128
	test	eax, eax
	je	.L39
	mov	edi, 77
	call	putchar@PLT
	cmp	eax, -1
	je	.L35
	mov	edi, 45
	call	putchar@PLT
	cmp	eax, -1
	je	.L35
	and	DWORD PTR -16[rbp], 127
.L39:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2
	test	eax, eax
	je	.L37
	mov	edi, 94
	call	putchar@PLT
	cmp	eax, -1
	je	.L35
	cmp	DWORD PTR -16[rbp], 127
	je	.L40
	mov	eax, DWORD PTR -16[rbp]
	or	eax, 64
	jmp	.L41
.L40:
	mov	eax, 63
.L41:
	mov	edi, eax
	call	putchar@PLT
	cmp	eax, -1
	je	.L35
	jmp	.L31
.L37:
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	putchar@PLT
	cmp	eax, -1
	je	.L47
	jmp	.L31
.L45:
	nop
.L31:
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -4[rbp], eax
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], -1
	jne	.L42
	jmp	.L35
.L46:
	nop
	jmp	.L35
.L47:
	nop
.L35:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L43
	mov	rax, QWORD PTR filename[rip]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	warn@PLT
	mov	DWORD PTR rval[rip], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	clearerr@PLT
.L43:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L48
	lea	rsi, .LC5[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L48:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cook_buf, .-cook_buf
	.globl	raw_args
	.type	raw_args, @function
raw_args:
.LFB9:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	DWORD PTR -4[rbp], eax
	lea	rax, .LC6[rip]
	mov	QWORD PTR filename[rip], rax
.L54:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L50
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L51
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L52
.L51:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L52
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	warn@PLT
	mov	DWORD PTR rval[rip], 1
	add	QWORD PTR -24[rbp], 8
	jmp	.L53
.L52:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR filename[rip], rax
.L50:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	raw_cat
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	cmp	DWORD PTR -4[rbp], eax
	je	.L53
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	close@PLT
.L53:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L54
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	raw_args, .-raw_args
	.section	.rodata
.LC12:
	.string	"malloc"
	.text
	.globl	raw_cat
	.type	raw_cat, @function
raw_cat:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	DWORD PTR -196[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	DWORD PTR -188[rbp], eax
	mov	rax, QWORD PTR buf.1[rip]
	test	rax, rax
	jne	.L58
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -188[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	test	eax, eax
	je	.L57
	lea	rsi, .LC5[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L57:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 8192
	cmp	rax, 8192
	cmovl	rax, rdx
	mov	QWORD PTR bsize.0[rip], rax
	mov	rax, QWORD PTR bsize.0[rip]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR buf.1[rip], rax
	mov	rax, QWORD PTR buf.1[rip]
	test	rax, rax
	jne	.L58
	lea	rsi, .LC12[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L64:
	mov	QWORD PTR -176[rbp], 0
	jmp	.L59
.L62:
	mov	rdx, QWORD PTR -184[rbp]
	mov	rcx, QWORD PTR buf.1[rip]
	mov	rax, QWORD PTR -176[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -188[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	je	.L60
	cmp	QWORD PTR -168[rbp], -1
	jne	.L61
.L60:
	lea	rsi, .LC5[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L61:
	mov	rax, QWORD PTR -168[rbp]
	sub	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	add	QWORD PTR -176[rbp], rax
.L59:
	cmp	QWORD PTR -184[rbp], 0
	jne	.L62
.L58:
	mov	rdx, QWORD PTR bsize.0[rip]
	mov	rcx, QWORD PTR buf.1[rip]
	mov	eax, DWORD PTR -196[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], -1
	je	.L63
	cmp	QWORD PTR -184[rbp], 0
	jne	.L64
.L63:
	cmp	QWORD PTR -184[rbp], 0
	jns	.L67
	mov	rax, QWORD PTR filename[rip]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	warn@PLT
	mov	DWORD PTR rval[rip], 1
.L67:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	raw_cat, .-raw_cat
	.local	buf.1
	.comm	buf.1,8,8
	.local	bsize.0
	.comm	bsize.0,8,8
	.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	"1131741.c"
	.text
	.comm	bflag,4,4
	.comm	eflag,4,4
	.comm	nflag,4,4
	.comm	sflag,4,4
	.comm	tflag,4,4
	.comm	vflag,4,4
	.comm	rval,4,4
	.comm	filename,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"stdio rpath\000"
	.align	2
.LC2:
	.ascii	"pledge\000"
	.align	2
.LC3:
	.ascii	"usage: %s [-benstuv] [file ...]\012\000"
	.align	2
.LC4:
	.ascii	"benstuv\000"
	.align	2
.LC5:
	.ascii	"stdout\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, .L18
	mov	r0, #6
	bl	setlocale
	mov	r1, #0
	ldr	r0, .L18+4
	bl	pledge
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldr	r1, .L18+8
	mov	r0, #1
	bl	err
.L13:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #98
	cmp	r3, #20
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L12
	.word	.L4
	.word	.L4
	.word	.L11
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L10
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L12:
	ldr	r3, .L18+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L18+12
	ldr	r3, [r3]
	ldr	r2, .L18+16
	str	r3, [r2]
	b	.L3
.L11:
	ldr	r3, .L18+20
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L18+20
	ldr	r3, [r3]
	ldr	r2, .L18+24
	str	r3, [r2]
	b	.L3
.L10:
	ldr	r3, .L18+12
	mov	r2, #1
	str	r2, [r3]
	b	.L3
.L9:
	ldr	r3, .L18+28
	mov	r2, #1
	str	r2, [r3]
	b	.L3
.L8:
	ldr	r3, .L18+20
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L18+20
	ldr	r3, [r3]
	ldr	r2, .L18+32
	str	r3, [r2]
	b	.L3
.L7:
	ldr	r3, .L18+36
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	b	.L3
.L5:
	ldr	r3, .L18+20
	mov	r2, #1
	str	r2, [r3]
	b	.L3
.L4:
	ldr	r3, .L18+40
	ldr	r3, [r3]
	ldr	r2, .L18+44
	ldr	r2, [r2]
	ldr	r1, .L18+48
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	ldr	r2, .L18+52
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L13
	ldr	r3, .L18+56
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, .L18+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L18+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L18+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L18+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L18+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L18+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
.L14:
	ldr	r0, [fp, #-20]
	bl	cook_args
	b	.L16
.L15:
	ldr	r0, [fp, #-20]
	bl	raw_args
.L16:
	ldr	r3, .L18+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r1, .L18+60
	mov	r0, #1
	bl	err
.L17:
	ldr	r3, .L18+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	nflag
	.word	bflag
	.word	vflag
	.word	eflag
	.word	sflag
	.word	tflag
	.word	stdout
	.word	stderr
	.word	__progname
	.word	.LC3
	.word	.LC4
	.word	optind
	.word	.LC5
	.word	rval
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"stdin\000"
	.align	2
.LC7:
	.ascii	"-\000"
	.align	2
.LC8:
	.ascii	"r\000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.text
	.align	2
	.global	cook_args
	.syntax unified
	.arm
	.fpu softvfp
	.type	cook_args, %function
cook_args:
	@ 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]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L27+4
	ldr	r2, .L27+8
	str	r2, [r3]
.L26:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L27+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L23
.L22:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L27+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L27+20
	bl	warn
	ldr	r3, .L27+24
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	b	.L24
.L23:
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L27+4
	str	r3, [r2]
.L21:
	ldr	r0, [fp, #-8]
	bl	cook_buf
	ldr	r3, .L27
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L25
	ldr	r0, [fp, #-8]
	bl	clearerr
	b	.L24
.L25:
	ldr	r0, [fp, #-8]
	bl	fclose
.L24:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	stdin
	.word	filename
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	rval
	.size	cook_args, .-cook_args
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%6d\011\000"
	.align	2
.LC11:
	.ascii	"%6s\011\000"
	.text
	.align	2
	.global	cook_buf
	.syntax unified
	.arm
	.fpu softvfp
	.type	cook_buf, %function
cook_buf:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	mov	r3, #10
	str	r3, [fp, #-8]
	b	.L30
.L46:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L31
	ldr	r3, .L53
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	bne	.L33
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L49
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L32
.L33:
	mov	r3, #0
	str	r3, [fp, #-16]
.L32:
	ldr	r3, .L53+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L53+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	beq	.L37
.L36:
	ldr	r3, .L53+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, .L53+16
	bl	fprintf
	ldr	r3, .L53+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	b	.L39
.L37:
	ldr	r3, .L53+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L53+12
	ldr	r3, [r3]
	ldr	r2, .L53+24
	ldr	r1, .L53+28
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L53+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
.L31:
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	bne	.L40
	ldr	r3, .L53+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L41
	mov	r0, #36
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	bne	.L41
	b	.L39
.L40:
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	bne	.L42
	ldr	r3, .L53+32
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L41
	mov	r0, #94
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	mov	r0, #73
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	b	.L35
.L42:
	ldr	r3, .L53+36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-20]
	bic	r3, r3, #127
	cmp	r3, #0
	beq	.L43
	mov	r0, #77
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	mov	r0, #45
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	ldr	r3, [fp, #-20]
	and	r3, r3, #127
	str	r3, [fp, #-20]
.L43:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L41
	mov	r0, #94
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	ldr	r3, [fp, #-20]
	cmp	r3, #127
	beq	.L44
	ldr	r3, [fp, #-20]
	orr	r3, r3, #64
	b	.L45
.L44:
	mov	r3, #63
.L45:
	mov	r0, r3
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	b	.L35
.L41:
	ldr	r0, [fp, #-20]
	bl	putchar
	mov	r3, r0
	cmn	r3, #1
	beq	.L51
	b	.L35
.L49:
	nop
.L35:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
.L30:
	ldr	r0, [fp, #-24]
	bl	getc
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L46
	b	.L39
.L50:
	nop
	b	.L39
.L51:
	nop
.L39:
	ldr	r0, [fp, #-24]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L53+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+44
	bl	warn
	ldr	r3, .L53+48
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, [fp, #-24]
	bl	clearerr
.L47:
	ldr	r3, .L53+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	ldr	r1, .L53+52
	mov	r0, #1
	bl	err
.L52:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	sflag
	.word	nflag
	.word	bflag
	.word	stdout
	.word	.LC10
	.word	eflag
	.word	.LC0
	.word	.LC11
	.word	tflag
	.word	vflag
	.word	filename
	.word	.LC9
	.word	rval
	.word	.LC5
	.size	cook_buf, .-cook_buf
	.align	2
	.global	raw_args
	.syntax unified
	.arm
	.fpu softvfp
	.type	raw_args, %function
raw_args:
	@ 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]
	ldr	r3, .L61
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	str	r0, [fp, #-8]
	ldr	r3, .L61+4
	ldr	r2, .L61+8
	str	r2, [r3]
.L60:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L61+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r3, .L61
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	str	r0, [fp, #-8]
	b	.L58
.L57:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L58
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+16
	bl	warn
	ldr	r3, .L61+20
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	b	.L59
.L58:
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, .L61+4
	str	r3, [r2]
.L56:
	ldr	r0, [fp, #-8]
	bl	raw_cat
	ldr	r3, .L61
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	beq	.L59
	ldr	r0, [fp, #-8]
	bl	close
.L59:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L60
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	stdin
	.word	filename
	.word	.LC6
	.word	.LC7
	.word	.LC9
	.word	rval
	.size	raw_args, .-raw_args
	.section	.rodata
	.align	2
.LC12:
	.ascii	"malloc\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	raw_cat
	.syntax unified
	.arm
	.fpu softvfp
	.type	raw_cat, %function
raw_cat:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L76+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	str	r0, [fp, #-108]
	ldr	r3, .L76+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L66
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-108]
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	ldr	r1, .L76+12
	mov	r0, #1
	bl	err
.L65:
	ldr	r3, [fp, #-52]
	cmp	r3, #8192
	movge	r3, r3
	movlt	r3, #8192
	mov	r2, r3
	ldr	r3, .L76+16
	str	r2, [r3]
	ldr	r3, .L76+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L76+8
	str	r2, [r3]
	ldr	r3, .L76+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L66
	ldr	r1, .L76+20
	mov	r0, #1
	bl	err
.L72:
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L67
.L70:
	ldr	r3, .L76+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	ldr	r2, [fp, #-116]
	mov	r1, r3
	ldr	r0, [fp, #-108]
	bl	write
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L68
	ldr	r3, [fp, #-104]
	cmn	r3, #1
	bne	.L69
.L68:
	ldr	r1, .L76+12
	mov	r0, #1
	bl	err
.L69:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-104]
	sub	r3, r2, r3
	str	r3, [fp, #-116]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	str	r3, [fp, #-112]
.L67:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L70
.L66:
	ldr	r3, .L76+8
	ldr	r3, [r3]
	ldr	r2, .L76+16
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	read
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmn	r3, #1
	beq	.L71
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L72
.L71:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L75
	ldr	r3, .L76+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L76+28
	bl	warn
	ldr	r3, .L76+32
	mov	r2, #1
	str	r2, [r3]
.L75:
	nop
	ldr	r3, .L76
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC13
	.word	stdout
	.word	buf.6275
	.word	.LC5
	.word	bsize.6274
	.word	.LC12
	.word	filename
	.word	.LC9
	.word	rval
	.size	raw_cat, .-raw_cat
	.local	buf.6275
	.comm	buf.6275,4,4
	.local	bsize.6274
	.comm	bsize.6274,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
