	.file	"400279.c"
	.intel_syntax noprefix
	.text
	.local	verbose_flag
	.comm	verbose_flag,4,4
	.data
	.align 4
	.type	output_lines_num, @object
	.size	output_lines_num, 4
output_lines_num:
	.long	10
	.section	.rodata
.LC0:
	.string	""
	.string	""
	.section	.data.rel.local,"aw"
	.align 8
	.type	filename, @object
	.size	filename, 8
filename:
	.quad	.LC0
	.local	input
	.comm	input,8,8
	.section	.rodata
	.align 8
.LC1:
	.string	"Usage: head [OPTION]...  [FILE]..."
	.align 8
.LC2:
	.string	"Print the first 10 lines of each FILE to standart output."
	.align 8
.LC3:
	.string	"\nWith no FILE read standard input."
	.align 8
.LC4:
	.string	"\nMandatory arguments to long options are mandatory for short options too."
	.align 8
.LC5:
	.string	"\t-n, --lines NUM\t\tprint the first NUM lines instead of the first 10"
	.align 8
.LC6:
	.string	"\t\t--help\t\t\tdisplay this help and exit"
	.align 8
.LC7:
	.string	"\t\t--verbose \t\talways print headers giving file names"
	.align 8
.LC8:
	.string	"\nThis is samedamci's implementation of head - Unix core utility."
	.align 8
.LC9:
	.string	"More informations available on <https://github.com/samedamci/core_utils>"
	.text
	.globl	show_help
	.type	show_help, @function
show_help:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	show_help, .-show_help
	.globl	short_opt
	.type	short_opt, @function
short_opt:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 1
	jmp	.L3
.L12:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 118
	je	.L4
	cmp	eax, 118
	jg	.L5
	cmp	eax, 113
	je	.L13
	cmp	eax, 113
	jg	.L5
	cmp	eax, 99
	je	.L14
	cmp	eax, 110
	je	.L8
	jmp	.L5
.L4:
	mov	DWORD PTR verbose_flag[rip], 1
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jle	.L15
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR output_lines_num[rip], eax
	jmp	.L15
.L5:
	mov	eax, 0
	call	show_help
	mov	edi, 0
	call	exit@PLT
.L13:
	nop
	jmp	.L9
.L14:
	nop
.L9:
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	jmp	.L2
.L15:
	nop
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	short_opt, .-short_opt
	.section	.rodata
.LC10:
	.string	"--verbose"
.LC11:
	.string	"--quiet"
.LC12:
	.string	"--bytes"
.LC13:
	.string	"--lines"
.LC14:
	.string	"--zero-terminated"
.LC15:
	.string	"--version"
.LC16:
	.string	"--help"
.LC17:
	.string	"r"
.LC18:
	.string	"==> %s <==\n"
.LC19:
	.string	"==> standard input <=="
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR input[rip], rax
	mov	DWORD PTR -16[rbp], 1
	jmp	.L17
.L27:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L18
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	DWORD PTR verbose_flag[rip], 1
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L39
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L40
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR output_lines_num[rip], eax
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L41
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L42
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	mov	eax, 0
	call	show_help
	mov	edi, 0
	call	exit@PLT
.L26:
	lea	rdx, -16[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	short_opt
	jmp	.L20
.L18:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR filename[rip], rax
	jmp	.L20
.L39:
	nop
	jmp	.L20
.L40:
	nop
	jmp	.L20
.L41:
	nop
	jmp	.L20
.L42:
	nop
.L20:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
.L17:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L27
	mov	rax, QWORD PTR filename[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L28
	mov	rax, QWORD PTR filename[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR input[rip], rax
.L28:
	mov	rax, QWORD PTR input[rip]
	test	rax, rax
	jne	.L29
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	eax, DWORD PTR verbose_flag[rip]
	cmp	eax, 1
	jne	.L30
	mov	rax, QWORD PTR filename[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L31
	mov	rax, QWORD PTR filename[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L30
.L31:
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L30:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L32
.L36:
	mov	eax, DWORD PTR output_lines_num[rip]
	cmp	DWORD PTR -12[rbp], eax
	je	.L43
	cmp	BYTE PTR -17[rbp], 10
	jne	.L35
	add	DWORD PTR -12[rbp], 1
.L35:
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -17[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
.L32:
	mov	rax, QWORD PTR input[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], -1
	jne	.L36
	jmp	.L34
.L43:
	nop
.L34:
	mov	rax, QWORD PTR input[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"400279.c"
	.text
	.local	verbose_flag
	.comm	verbose_flag,4,4
	.data
	.align	2
	.type	output_lines_num, %object
	.size	output_lines_num, 4
output_lines_num:
	.word	10
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000\000"
	.data
	.align	2
	.type	filename, %object
	.size	filename, 4
filename:
	.word	.LC0
	.local	input
	.comm	input,4,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: head [OPTION]...  [FILE]...\000"
	.align	2
.LC2:
	.ascii	"Print the first 10 lines of each FILE to standart o"
	.ascii	"utput.\000"
	.align	2
.LC3:
	.ascii	"\012With no FILE read standard input.\000"
	.align	2
.LC4:
	.ascii	"\012Mandatory arguments to long options are mandato"
	.ascii	"ry for short options too.\000"
	.align	2
.LC5:
	.ascii	"\011-n, --lines NUM\011\011print the first NUM line"
	.ascii	"s instead of the first 10\000"
	.align	2
.LC6:
	.ascii	"\011\011--help\011\011\011display this help and exi"
	.ascii	"t\000"
	.align	2
.LC7:
	.ascii	"\011\011--verbose \011\011always print headers givi"
	.ascii	"ng file names\000"
	.align	2
.LC8:
	.ascii	"\012This is samedamci's implementation of head - Un"
	.ascii	"ix core utility.\000"
	.align	2
.LC9:
	.ascii	"More informations available on <https://github.com/"
	.ascii	"samedamci/core_utils>\000"
	.text
	.align	2
	.global	show_help
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_help, %function
show_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	ldr	r0, .L2+16
	bl	puts
	ldr	r0, .L2+20
	bl	puts
	ldr	r0, .L2+24
	bl	puts
	ldr	r0, .L2+28
	bl	puts
	ldr	r0, .L2+32
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	show_help, .-show_help
	.align	2
	.global	short_opt
	.syntax unified
	.arm
	.fpu softvfp
	.type	short_opt, %function
short_opt:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L5
.L15:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #99
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L16
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L10
	.word	.L6
	.word	.L6
	.word	.L16
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L7
.L7:
	ldr	r3, .L18
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L10:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L17
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L18+4
	str	r3, [r2]
	b	.L17
.L6:
	bl	show_help
	mov	r0, #0
	bl	exit
.L16:
	nop
.L12:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	b	.L4
.L17:
	nop
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	verbose_flag
	.word	output_lines_num
	.size	short_opt, .-short_opt
	.section	.rodata
	.align	2
.LC10:
	.ascii	"--verbose\000"
	.align	2
.LC11:
	.ascii	"--quiet\000"
	.align	2
.LC12:
	.ascii	"--bytes\000"
	.align	2
.LC13:
	.ascii	"--lines\000"
	.align	2
.LC14:
	.ascii	"--zero-terminated\000"
	.align	2
.LC15:
	.ascii	"--version\000"
	.align	2
.LC16:
	.ascii	"--help\000"
	.align	2
.LC17:
	.ascii	"r\000"
	.align	2
.LC18:
	.ascii	"==> %s <==\012\000"
	.align	2
.LC19:
	.ascii	"==> standard input <==\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L47+4
	ldr	r3, [r3]
	ldr	r2, .L47+8
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L21
.L31:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L22
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L47+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L47+16
	mov	r2, #1
	str	r2, [r3]
	b	.L24
.L23:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L47+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L47+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L47+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L47+32
	str	r3, [r2]
	b	.L24
.L27:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L47+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L47+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L47+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	bl	show_help
	mov	r0, #0
	bl	exit
.L30:
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	short_opt
	b	.L24
.L22:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L47+48
	str	r3, [r2]
	b	.L24
.L43:
	nop
	b	.L24
.L44:
	nop
	b	.L24
.L45:
	nop
	b	.L24
.L46:
	nop
.L24:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L31
	ldr	r3, .L47+48
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	ldr	r3, .L47+48
	ldr	r3, [r3]
	ldr	r1, .L47+52
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L47+8
	str	r3, [r2]
.L32:
	ldr	r3, .L47+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	mov	r0, #1
	bl	exit
.L33:
	ldr	r3, .L47+16
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L34
	ldr	r3, .L47+48
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L47+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L47+56
	bl	printf
	b	.L34
.L35:
	ldr	r0, .L47+60
	bl	puts
.L34:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L36
.L37:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L39
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L39:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	ldr	r2, .L47+64
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	fputc
.L36:
	ldr	r3, .L47+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-17]
	ldr	r3, .L47+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L37
	nop
	ldr	r3, .L47+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	mov	r3, #0
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC20
	.word	stdin
	.word	input
	.word	.LC10
	.word	verbose_flag
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	output_lines_num
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	filename
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
