	.file	"405082.c"
	.intel_syntax noprefix
	.text
	.globl	word
	.bss
	.align 16
	.type	word, @object
	.size	word, 16
word:
	.zero	16
	.globl	lastword
	.align 16
	.type	lastword, @object
	.size	lastword, 16
lastword:
	.zero	16
	.globl	conv
	.align 4
	.type	conv, @object
	.size	conv, 4
conv:
	.zero	4
	.globl	base
	.data
	.align 4
	.type	base, @object
	.size	base, 4
base:
	.long	8
	.globl	max
	.bss
	.align 4
	.type	max, @object
	.size	max, 4
max:
	.zero	4
	.globl	addr
	.align 8
	.type	addr, @object
	.size	addr, 8
addr:
	.zero	8
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"cannot open %s\n"
.LC2:
	.string	"*"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	add	QWORD PTR -48[rbp], 8
	mov	ebx, 0
	cmp	DWORD PTR -36[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -48[rbp]
	mov	r12, QWORD PTR [rax]
	movzx	eax, BYTE PTR [r12]
	cmp	al, 45
	jne	.L2
	jmp	.L3
.L11:
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 98
	cmp	eax, 22
	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	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L5-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L7-.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	.L5-.L6
	.text
.L7:
	mov	eax, DWORD PTR conv[rip]
	or	eax, 1
	mov	DWORD PTR conv[rip], eax
	mov	ebx, 6
	jmp	.L4
.L8:
	mov	eax, DWORD PTR conv[rip]
	or	eax, 2
	mov	DWORD PTR conv[rip], eax
	mov	ebx, 5
	jmp	.L4
.L5:
	mov	eax, DWORD PTR conv[rip]
	or	eax, 8
	mov	DWORD PTR conv[rip], eax
	mov	ebx, 4
	jmp	.L4
.L9:
	mov	eax, DWORD PTR conv[rip]
	or	eax, 16
	mov	DWORD PTR conv[rip], eax
	mov	ebx, 7
	jmp	.L4
.L10:
	mov	eax, DWORD PTR conv[rip]
	or	eax, 32
	mov	DWORD PTR conv[rip], eax
	mov	ebx, 7
	nop
.L4:
	mov	eax, DWORD PTR max[rip]
	cmp	ebx, eax
	jle	.L3
	mov	DWORD PTR max[rip], ebx
.L3:
	movzx	eax, BYTE PTR [r12]
	test	al, al
	jne	.L11
	sub	DWORD PTR -36[rbp], 1
	add	QWORD PTR -48[rbp], 8
.L2:
	mov	eax, DWORD PTR conv[rip]
	test	eax, eax
	jne	.L12
	mov	DWORD PTR max[rip], 6
	mov	DWORD PTR conv[rip], 1
.L12:
	cmp	DWORD PTR -36[rbp], 1
	jle	.L13
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L13
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	freopen@PLT
	test	rax, rax
	jne	.L14
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	add	QWORD PTR -48[rbp], 8
	sub	DWORD PTR -36[rbp], 1
.L13:
	cmp	DWORD PTR -36[rbp], 1
	jle	.L15
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	offset
.L15:
	mov	r13d, -1
	jmp	.L16
.L27:
	test	r13d, r13d
	js	.L29
	mov	ebx, 0
	jmp	.L18
.L20:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, lastword[rip]
	movzx	edx, WORD PTR [rdx+rax]
	movsx	rax, ebx
	lea	rcx, [rax+rax]
	lea	rax, word[rip]
	movzx	eax, WORD PTR [rcx+rax]
	cmp	dx, ax
	jne	.L30
	add	ebx, 1
.L18:
	cmp	ebx, 7
	jle	.L20
	test	r13d, r13d
	jne	.L31
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	r13d, 1
	jmp	.L31
.L29:
	nop
	jmp	.L17
.L30:
	nop
.L17:
	movsx	rax, r12d
	add	rax, 1
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR addr[rip]
	lea	rsi, word[rip]
	mov	rdi, rax
	mov	eax, 0
	call	line
	mov	r13d, 0
	mov	ebx, 0
	jmp	.L23
.L24:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, word[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movsx	rdx, ebx
	lea	rcx, [rdx+rdx]
	lea	rdx, lastword[rip]
	mov	WORD PTR [rcx+rdx], ax
	add	ebx, 1
.L23:
	cmp	ebx, 7
	jle	.L24
	mov	ebx, 0
	jmp	.L25
.L26:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, word[rip]
	mov	WORD PTR [rdx+rax], 0
	add	ebx, 1
.L25:
	cmp	ebx, 7
	jle	.L26
	jmp	.L22
.L31:
	nop
.L22:
	movsx	rdx, r12d
	mov	rax, QWORD PTR addr[rip]
	add	rax, rdx
	mov	QWORD PTR addr[rip], rax
.L16:
	mov	rax, QWORD PTR stdin[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, word[rip]
	call	fread@PLT
	mov	r12d, eax
	test	r12d, r12d
	jg	.L27
	mov	ecx, DWORD PTR base[rip]
	mov	rax, QWORD PTR addr[rip]
	mov	edx, 7
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	putn
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	add	rsp, 24
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	line
	.type	line, @function
line:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	r13d, 1
	mov	r12d, 1
	jmp	.L33
.L42:
	mov	eax, DWORD PTR conv[rip]
	and	eax, r12d
	test	eax, eax
	je	.L43
	test	r13d, r13d
	je	.L36
	mov	ecx, DWORD PTR base[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 7
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	putn
	mov	edi, 32
	call	putchar@PLT
	mov	r13d, 0
	jmp	.L37
.L36:
	mov	edi, 9
	call	putchar@PLT
.L37:
	mov	ebx, 0
	jmp	.L38
.L41:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	esi, r12d
	mov	edi, eax
	mov	eax, 0
	call	putx
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	ebx, eax
	jne	.L39
	mov	eax, 10
	jmp	.L40
.L39:
	mov	eax, 32
.L40:
	mov	edi, eax
	call	putchar@PLT
	add	ebx, 1
.L38:
	cmp	ebx, DWORD PTR -52[rbp]
	jl	.L41
	jmp	.L35
.L43:
	nop
.L35:
	add	r12d, r12d
.L33:
	test	r12d, r12d
	jne	.L42
	nop
	add	rsp, 40
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	line, .-line
	.globl	putx
	.type	putx, @function
putx:
.LFB2:
	.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	DWORD PTR -24[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -24[rbp], 32
	ja	.L45
	mov	eax, DWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L47[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L47[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L47:
	.long	.L45-.L47
	.long	.L51-.L47
	.long	.L50-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L49-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L48-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L45-.L47
	.long	.L46-.L47
	.text
.L51:
	mov	edi, 6
	mov	eax, 0
	call	pre
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 6
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	putn
	jmp	.L45
.L50:
	mov	edi, 5
	mov	eax, 0
	call	pre
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 5
	mov	esi, 10
	mov	rdi, rax
	mov	eax, 0
	call	putn
	jmp	.L45
.L49:
	mov	edi, 4
	mov	eax, 0
	call	pre
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 4
	mov	esi, 16
	mov	rdi, rax
	mov	eax, 0
	call	putn
	jmp	.L45
.L48:
	mov	edi, 7
	mov	eax, 0
	call	pre
	mov	eax, DWORD PTR -20[rbp]
	mov	WORD PTR -10[rbp], ax
	lea	rax, -10[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	cput
	mov	edi, 32
	call	putchar@PLT
	lea	rax, -10[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	cput
	jmp	.L45
.L46:
	mov	edi, 7
	mov	eax, 0
	call	pre
	mov	eax, DWORD PTR -20[rbp]
	mov	WORD PTR -10[rbp], ax
	lea	rax, -10[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	movzx	eax, al
	mov	edx, 3
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	putn
	mov	edi, 32
	call	putchar@PLT
	lea	rax, -10[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	movzx	eax, al
	mov	edx, 3
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	putn
	nop
.L45:
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	putx, .-putx
	.section	.rodata
.LC3:
	.string	"  "
.LC4:
	.string	" \\0"
.LC5:
	.string	" \\b"
.LC6:
	.string	" \\f"
.LC7:
	.string	" \\n"
.LC8:
	.string	" \\r"
.LC9:
	.string	" \\t"
	.text
	.globl	cput
	.type	cput, @function
cput:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	and	DWORD PTR -4[rbp], 255
	cmp	DWORD PTR -4[rbp], 31
	jle	.L54
	cmp	DWORD PTR -4[rbp], 126
	jg	.L54
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
	jmp	.L55
.L54:
	cmp	DWORD PTR -4[rbp], 13
	ja	.L56
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L58[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L58[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L58:
	.long	.L63-.L58
	.long	.L56-.L58
	.long	.L56-.L58
	.long	.L56-.L58
	.long	.L56-.L58
	.long	.L56-.L58
	.long	.L56-.L58
	.long	.L56-.L58
	.long	.L62-.L58
	.long	.L61-.L58
	.long	.L60-.L58
	.long	.L56-.L58
	.long	.L59-.L58
	.long	.L57-.L58
	.text
.L63:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L62:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L59:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L60:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L57:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L61:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L56:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	edx, 3
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	putn
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	cput, .-cput
	.globl	putn
	.type	putn, @function
putn:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	cmp	DWORD PTR -32[rbp], 0
	je	.L68
	mov	eax, DWORD PTR -32[rbp]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -24[rbp]
	cqo
	idiv	rsi
	mov	rdi, rax
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, ecx
	mov	esi, eax
	mov	eax, 0
	call	putn
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	mov	ebx, eax
	cmp	ebx, 9
	jle	.L67
	lea	eax, 87[rbx]
	mov	edi, eax
	call	putchar@PLT
	jmp	.L66
.L67:
	lea	eax, 48[rbx]
	mov	edi, eax
	call	putchar@PLT
	jmp	.L66
.L68:
	nop
.L66:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	putn, .-putn
	.globl	pre
	.type	pre, @function
pre:
.LFB5:
	.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	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L70
.L71:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L70:
	mov	eax, DWORD PTR max[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L71
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	pre, .-pre
	.globl	offset
	.type	offset, @function
offset:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	rax, rdi
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 43
	jne	.L73
	add	rax, 1
.L73:
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 120
	jne	.L74
	add	rax, 1
	mov	DWORD PTR base[rip], 16
	jmp	.L75
.L74:
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 48
	jne	.L76
	lea	rdx, 1[rax]
	movzx	edx, BYTE PTR [rdx]
	cmp	dl, 120
	jne	.L76
	add	rax, 2
	mov	DWORD PTR base[rip], 16
	jmp	.L75
.L76:
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 48
	jne	.L75
	mov	DWORD PTR base[rip], 8
.L75:
	mov	rbx, rax
	jmp	.L77
.L78:
	mov	rdx, rbx
	lea	rbx, 1[rdx]
	movzx	edx, BYTE PTR [rdx]
	cmp	dl, 46
	jne	.L77
	mov	DWORD PTR base[rip], 10
.L77:
	movzx	edx, BYTE PTR [rbx]
	test	dl, dl
	jne	.L78
	mov	QWORD PTR -24[rbp], 0
	jmp	.L79
.L83:
	movzx	edx, BYTE PTR [rax]
	movsx	ebx, dl
	cmp	ebx, 47
	jle	.L80
	cmp	ebx, 57
	jg	.L80
	mov	edx, DWORD PTR base[rip]
	movsx	rdx, edx
	mov	rcx, rdx
	imul	rcx, QWORD PTR -24[rbp]
	movsx	rdx, ebx
	add	rdx, rcx
	sub	rdx, 48
	mov	QWORD PTR -24[rbp], rdx
	jmp	.L81
.L80:
	cmp	ebx, 96
	jle	.L82
	cmp	ebx, 102
	jg	.L82
	mov	edx, DWORD PTR base[rip]
	cmp	edx, 16
	jne	.L82
	mov	edx, DWORD PTR base[rip]
	movsx	rdx, edx
	mov	rcx, rdx
	imul	rcx, QWORD PTR -24[rbp]
	movsx	rdx, ebx
	add	rdx, rcx
	sub	rdx, 87
	mov	QWORD PTR -24[rbp], rdx
.L81:
	add	rax, 1
.L79:
	movzx	edx, BYTE PTR [rax]
	test	dl, dl
	jne	.L83
.L82:
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 46
	jne	.L84
	add	rax, 1
.L84:
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 98
	je	.L85
	movzx	eax, BYTE PTR [rax]
	cmp	al, 66
	jne	.L86
.L85:
	sal	QWORD PTR -24[rbp], 9
.L86:
	mov	rax, QWORD PTR stdin[rip]
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR addr[rip], rax
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	offset, .-offset
	.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	"405082.c"
	.text
	.comm	word,16,4
	.comm	lastword,16,4
	.comm	conv,4,4
	.global	base
	.data
	.align	2
	.type	base, %object
	.size	base, 4
base:
	.word	8
	.comm	max,4,4
	.comm	addr,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"cannot open %s\012\000"
	.align	2
.LC2:
	.ascii	"*\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
	mov	r4, #0
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-28]
	ldr	r5, [r3]
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L2
	b	.L3
.L11:
	mov	r3, r5
	add	r5, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #98
	cmp	r3, #22
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L5
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L7
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L5
.L7:
	ldr	r3, .L32
	ldr	r3, [r3]
	orr	r3, r3, #1
	ldr	r2, .L32
	str	r3, [r2]
	mov	r4, #6
	b	.L4
.L8:
	ldr	r3, .L32
	ldr	r3, [r3]
	orr	r3, r3, #2
	ldr	r2, .L32
	str	r3, [r2]
	mov	r4, #5
	b	.L4
.L5:
	ldr	r3, .L32
	ldr	r3, [r3]
	orr	r3, r3, #8
	ldr	r2, .L32
	str	r3, [r2]
	mov	r4, #4
	b	.L4
.L9:
	ldr	r3, .L32
	ldr	r3, [r3]
	orr	r3, r3, #16
	ldr	r2, .L32
	str	r3, [r2]
	mov	r4, #7
	b	.L4
.L10:
	ldr	r3, .L32
	ldr	r3, [r3]
	orr	r3, r3, #32
	ldr	r2, .L32
	str	r3, [r2]
	mov	r4, #7
	nop
.L4:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L3
	ldr	r3, .L32+4
	str	r4, [r3]
.L3:
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
.L2:
	ldr	r3, .L32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L32+4
	mov	r2, #6
	str	r2, [r3]
	ldr	r3, .L32
	mov	r2, #1
	str	r2, [r3]
.L12:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L13
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L13
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, .L32+8
	ldr	r2, [r2]
	ldr	r1, .L32+12
	mov	r0, r3
	bl	freopen
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+16
	bl	printf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L15
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r0, r3
	bl	offset
.L15:
	mvn	r5, #0
	b	.L16
.L27:
	cmp	r5, #0
	blt	.L29
	mov	r4, #0
	b	.L18
.L20:
	ldr	r2, .L32+20
	lsl	r3, r4, #1
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r1, .L32+24
	lsl	r3, r4, #1
	add	r3, r1, r3
	ldrh	r3, [r3]
	cmp	r2, r3
	bne	.L30
	add	r4, r4, #1
.L18:
	cmp	r4, #7
	ble	.L20
	cmp	r5, #0
	bne	.L31
	ldr	r0, .L32+28
	bl	puts
	mov	r5, #1
	b	.L31
.L29:
	nop
	b	.L17
.L30:
	nop
.L17:
	ldr	r3, .L32+32
	ldr	r0, [r3]
	mov	r3, r6
	add	r3, r3, #1
	lsr	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L32+24
	bl	line
	mov	r5, #0
	mov	r4, #0
	b	.L23
.L24:
	ldr	r2, .L32+24
	lsl	r3, r4, #1
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r1, .L32+20
	lsl	r3, r4, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	add	r4, r4, #1
.L23:
	cmp	r4, #7
	ble	.L24
	mov	r4, #0
	b	.L25
.L26:
	ldr	r2, .L32+24
	lsl	r3, r4, #1
	add	r3, r2, r3
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	add	r4, r4, #1
.L25:
	cmp	r4, #7
	ble	.L26
	b	.L22
.L31:
	nop
.L22:
	ldr	r3, .L32+32
	ldr	r3, [r3]
	add	r3, r6, r3
	ldr	r2, .L32+32
	str	r3, [r2]
.L16:
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L32+24
	bl	fread
	mov	r3, r0
	mov	r6, r3
	cmp	r6, #0
	bgt	.L27
	ldr	r3, .L32+32
	ldr	r3, [r3]
	ldr	r2, .L32+36
	ldr	r1, [r2]
	mov	r2, #7
	mov	r0, r3
	bl	putn
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L33:
	.align	2
.L32:
	.word	conv
	.word	max
	.word	stdin
	.word	.LC0
	.word	.LC1
	.word	lastword
	.word	word
	.word	.LC2
	.word	addr
	.word	base
	.size	main, .-main
	.align	2
	.global	line
	.syntax unified
	.arm
	.fpu softvfp
	.type	line, %function
line:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r6, #1
	mov	r4, #1
	b	.L35
.L44:
	ldr	r3, .L46
	ldr	r3, [r3]
	and	r3, r3, r4
	cmp	r3, #0
	beq	.L45
	cmp	r6, #0
	beq	.L38
	ldr	r3, .L46+4
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	putn
	mov	r0, #32
	bl	putchar
	mov	r6, #0
	b	.L39
.L38:
	mov	r0, #9
	bl	putchar
.L39:
	mov	r5, #0
	b	.L40
.L43:
	mov	r3, r5
	lsl	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrh	r3, [r3]
	mov	r1, r4
	mov	r0, r3
	bl	putx
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	cmp	r5, r3
	bne	.L41
	mov	r3, #10
	b	.L42
.L41:
	mov	r3, #32
.L42:
	mov	r0, r3
	bl	putchar
	add	r5, r5, #1
.L40:
	ldr	r3, [fp, #-32]
	cmp	r5, r3
	blt	.L43
	b	.L37
.L45:
	nop
.L37:
	lsl	r4, r4, #1
.L35:
	cmp	r4, #0
	bne	.L44
	nop
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L47:
	.align	2
.L46:
	.word	conv
	.word	base
	.size	line, .-line
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	putx
	.syntax unified
	.arm
	.fpu softvfp
	.type	putx, %function
putx:
	@ 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	r3, .L57
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	cmp	r3, #31
	ldrls	pc, [pc, r3, asl #2]
	b	.L49
.L51:
	.word	.L55
	.word	.L54
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L53
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L52
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L49
	.word	.L50
.L55:
	mov	r0, #6
	bl	pre
	ldr	r3, [fp, #-16]
	mov	r2, #6
	mov	r1, #8
	mov	r0, r3
	bl	putn
	b	.L49
.L54:
	mov	r0, #5
	bl	pre
	ldr	r3, [fp, #-16]
	mov	r2, #5
	mov	r1, #10
	mov	r0, r3
	bl	putn
	b	.L49
.L53:
	mov	r0, #4
	bl	pre
	ldr	r3, [fp, #-16]
	mov	r2, #4
	mov	r1, #16
	mov	r0, r3
	bl	putn
	b	.L49
.L52:
	mov	r0, #7
	bl	pre
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	sub	r3, fp, #10
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	cput
	mov	r0, #32
	bl	putchar
	sub	r3, fp, #10
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	cput
	b	.L49
.L50:
	mov	r0, #7
	bl	pre
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	sub	r3, fp, #10
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, #3
	mov	r1, #8
	mov	r0, r3
	bl	putn
	mov	r0, #32
	bl	putchar
	sub	r3, fp, #10
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, #3
	mov	r1, #8
	mov	r0, r3
	bl	putn
	nop
.L49:
	nop
	ldr	r2, .L57
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC3
	.size	putx, .-putx
	.section	.rodata
	.align	2
.LC4:
	.ascii	"  \000"
	.align	2
.LC5:
	.ascii	" \\0\000"
	.align	2
.LC6:
	.ascii	" \\b\000"
	.align	2
.LC7:
	.ascii	" \\f\000"
	.align	2
.LC8:
	.ascii	" \\n\000"
	.align	2
.LC9:
	.ascii	" \\r\000"
	.align	2
.LC10:
	.ascii	" \\t\000"
	.text
	.align	2
	.global	cput
	.syntax unified
	.arm
	.fpu softvfp
	.type	cput, %function
cput:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	ble	.L60
	ldr	r3, [fp, #-8]
	cmp	r3, #126
	bgt	.L60
	ldr	r0, .L70
	bl	printf
	ldr	r0, [fp, #-8]
	bl	putchar
	b	.L61
.L60:
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	ldrls	pc, [pc, r3, asl #2]
	b	.L62
.L64:
	.word	.L69
	.word	.L62
	.word	.L62
	.word	.L62
	.word	.L62
	.word	.L62
	.word	.L62
	.word	.L62
	.word	.L68
	.word	.L67
	.word	.L66
	.word	.L62
	.word	.L65
	.word	.L63
.L69:
	ldr	r0, .L70+4
	bl	printf
	b	.L61
.L68:
	ldr	r0, .L70+8
	bl	printf
	b	.L61
.L65:
	ldr	r0, .L70+12
	bl	printf
	b	.L61
.L66:
	ldr	r0, .L70+16
	bl	printf
	b	.L61
.L63:
	ldr	r0, .L70+20
	bl	printf
	b	.L61
.L67:
	ldr	r0, .L70+24
	bl	printf
	b	.L61
.L62:
	mov	r2, #3
	mov	r1, #8
	ldr	r0, [fp, #-8]
	bl	putn
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	cput, .-cput
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.align	2
	.global	putn
	.syntax unified
	.arm
	.fpu softvfp
	.type	putn, %function
putn:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L76
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	bl	putn
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r4, r3
	cmp	r4, #9
	ble	.L75
	add	r3, r4, #87
	mov	r0, r3
	bl	putchar
	b	.L74
.L75:
	add	r3, r4, #48
	mov	r0, r3
	bl	putchar
	b	.L74
.L76:
	nop
.L74:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	putn, .-putn
	.align	2
	.global	pre
	.syntax unified
	.arm
	.fpu softvfp
	.type	pre, %function
pre:
	@ 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, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L78
.L79:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L78:
	ldr	r3, .L80
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L79
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	max
	.size	pre, .-pre
	.align	2
	.global	offset
	.syntax unified
	.arm
	.fpu softvfp
	.type	offset, %function
offset:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	mov	r3, r0
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #43
	bne	.L83
	add	r3, r3, #1
.L83:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #120
	bne	.L84
	add	r3, r3, #1
	ldr	r2, .L97
	mov	r1, #16
	str	r1, [r2]
	b	.L85
.L84:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #48
	bne	.L86
	add	r2, r3, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #120
	bne	.L86
	add	r3, r3, #2
	ldr	r2, .L97
	mov	r1, #16
	str	r1, [r2]
	b	.L85
.L86:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #48
	bne	.L85
	ldr	r2, .L97
	mov	r1, #8
	str	r1, [r2]
.L85:
	mov	r4, r3
	b	.L87
.L88:
	mov	r2, r4
	add	r4, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #46
	bne	.L87
	ldr	r2, .L97
	mov	r1, #10
	str	r1, [r2]
.L87:
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L88
	mov	r2, #0
	str	r2, [fp, #-16]
	b	.L89
.L93:
	ldrb	r2, [r3]	@ zero_extendqisi2
	mov	r4, r2
	cmp	r4, #47
	ble	.L90
	cmp	r4, #57
	bgt	.L90
	ldr	r2, .L97
	ldr	r2, [r2]
	ldr	r1, [fp, #-16]
	mul	r2, r1, r2
	add	r2, r4, r2
	sub	r2, r2, #48
	str	r2, [fp, #-16]
	b	.L91
.L90:
	cmp	r4, #96
	ble	.L92
	cmp	r4, #102
	bgt	.L92
	ldr	r2, .L97
	ldr	r2, [r2]
	cmp	r2, #16
	bne	.L92
	ldr	r2, .L97
	ldr	r2, [r2]
	ldr	r1, [fp, #-16]
	mul	r2, r1, r2
	add	r2, r4, r2
	sub	r2, r2, #87
	str	r2, [fp, #-16]
.L91:
	add	r3, r3, #1
.L89:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L93
.L92:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #46
	bne	.L94
	add	r3, r3, #1
.L94:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #98
	beq	.L95
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L96
.L95:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #9
	str	r3, [fp, #-16]
.L96:
	ldr	r3, .L97+4
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fseek
	ldr	r2, .L97+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	nop
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L98:
	.align	2
.L97:
	.word	base
	.word	stdin
	.word	addr
	.size	offset, .-offset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
