	.file	"371642.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"1"
.LC1:
	.string	"rb"
.LC2:
	.string	"mbr.bin"
.LC3:
	.string	"INVALID"
.LC4:
	.string	"/dev/sd"
.LC5:
	.string	"SUCCES"
.LC6:
	.string	"%d "
.LC7:
	.string	"%d"
.LC8:
	.string	"%s "
.LC9:
	.string	"%li "
.LC10:
	.string	"%d\n"
.LC11:
	.string	"2"
.LC12:
	.string	"r"
.LC13:
	.string	"mbr.op"
.LC14:
	.string	"r+b"
.LC15:
	.string	"%s"
.LC16:
	.string	"DELETE_FILE"
.LC17:
	.string	"/"
.LC18:
	.string	"DELETE_DIR"
.LC19:
	.string	"RENAME_DIR"
.LC20:
	.string	"RENAME_FILE"
.LC21:
	.string	"PRINT"
.LC22:
	.string	"CREATE_DIR"
.LC23:
	.string	"CREATE_FILE"
.LC24:
	.string	"3"
.LC25:
	.string	"DELETE_PARTITION"
.LC26:
	.string	"FORMAT_PARTITION"
.LC27:
	.string	"CREATE_PARTITION"
.LC28:
	.string	"4"
.LC29:
	.string	"MBR_SIZE: %d\n"
.LC30:
	.string	"PARTITIONS_OFFSET: "
.LC31:
	.string	"%li"
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 712
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -740[rbp], edi
	mov	QWORD PTR -752[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -752[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -448[rbp], rax
	mov	DWORD PTR -668[rbp], 4
	mov	DWORD PTR -672[rbp], 0
	mov	DWORD PTR -492[rbp], 0
	mov	DWORD PTR -676[rbp], 0
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -448[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -664[rbp], 0
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -668[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -448[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -688[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -688[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -448[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 7
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -265[rbp], 0
	lea	rax, -272[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L5
.L6:
	add	DWORD PTR -672[rbp], 1
	add	DWORD PTR -668[rbp], 4
	add	DWORD PTR -664[rbp], 1
.L3:
	mov	eax, DWORD PTR -692[rbp]
	cmp	DWORD PTR -664[rbp], eax
	jl	.L7
.L5:
	mov	eax, DWORD PTR -692[rbp]
	cmp	DWORD PTR -672[rbp], eax
	jne	.L8
	mov	DWORD PTR -668[rbp], 4
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -664[rbp], 0
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -668[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -448[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -680[rbp], 0
	cmp	DWORD PTR -664[rbp], 0
	je	.L10
	mov	eax, DWORD PTR -676[rbp]
	add	eax, 20
	mov	DWORD PTR -660[rbp], eax
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -660[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -448[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -684[rbp]
	test	eax, eax
	je	.L12
	add	DWORD PTR -680[rbp], 12
.L12:
	add	DWORD PTR -660[rbp], 12
.L11:
	mov	eax, DWORD PTR -688[rbp]
	cmp	DWORD PTR -660[rbp], eax
	jl	.L13
	mov	eax, DWORD PTR -688[rbp]
	sub	eax, DWORD PTR -676[rbp]
	sub	eax, 20
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -680[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L10:
	mov	eax, DWORD PTR -688[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -448[rbp]
	lea	rax, -160[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -152[rbp], 0
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -688[rbp]
	mov	DWORD PTR -676[rbp], eax
	add	DWORD PTR -668[rbp], 4
	add	DWORD PTR -664[rbp], 1
.L9:
	mov	eax, DWORD PTR -692[rbp]
	cmp	DWORD PTR -664[rbp], eax
	jl	.L14
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	edx, DWORD PTR -676[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	sub	rax, 20
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -680[rbp], 0
	mov	eax, DWORD PTR -676[rbp]
	add	eax, 20
	mov	DWORD PTR -660[rbp], eax
	jmp	.L15
.L17:
	mov	eax, DWORD PTR -660[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -448[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -684[rbp]
	test	eax, eax
	je	.L16
	add	DWORD PTR -680[rbp], 12
.L16:
	mov	rax, QWORD PTR -448[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	add	DWORD PTR -660[rbp], 12
.L15:
	mov	eax, DWORD PTR -660[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	ftell@PLT
	cmp	rbx, rax
	jl	.L17
	mov	eax, DWORD PTR -680[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L2:
	mov	rax, QWORD PTR -752[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -440[rbp], rax
	lea	rsi, .LC14[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -432[rbp], rax
.L119:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L19
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L18
.L19:
	mov	DWORD PTR -656[rbp], 4
	mov	DWORD PTR -648[rbp], 0
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -346[rbp], rax
	mov	BYTE PTR -338[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L21
.L34:
	mov	eax, DWORD PTR -656[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -376[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -368[rbp], 0
	add	DWORD PTR -656[rbp], 4
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -376[rbp]
	lea	rax, -346[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
	lea	rax, -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -366[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	jne	.L23
	mov	eax, DWORD PTR -692[rbp]
	mov	DWORD PTR -640[rbp], eax
	mov	DWORD PTR -684[rbp], 0
	mov	eax, DWORD PTR -704[rbp]
	lea	ecx, 20[rax]
	mov	edx, DWORD PTR -696[rbp]
	mov	eax, DWORD PTR -692[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -696[rbp]
	add	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	eax, ecx
	add	eax, 4
	mov	DWORD PTR -644[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L24
.L28:
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -432[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR -644[rbp]
	sub	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -636[rbp], 0
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -636[rbp], 1
.L26:
	cmp	DWORD PTR -636[rbp], 2
	jle	.L27
	mov	DWORD PTR -648[rbp], 1
.L25:
	add	DWORD PTR -644[rbp], 12
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -640[rbp], 1
.L24:
	cmp	DWORD PTR -640[rbp], 0
	jne	.L28
.L23:
	cmp	QWORD PTR -424[rbp], 0
	je	.L22
	mov	eax, DWORD PTR -696[rbp]
	mov	DWORD PTR -632[rbp], eax
	mov	DWORD PTR -684[rbp], 0
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 24
	mov	DWORD PTR -644[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L29
.L33:
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -432[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
	mov	eax, DWORD PTR -644[rbp]
	add	eax, 12
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -628[rbp], 0
	jmp	.L31
.L32:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -628[rbp], 1
.L31:
	cmp	DWORD PTR -628[rbp], 2
	jle	.L32
	mov	DWORD PTR -648[rbp], 1
.L30:
	add	DWORD PTR -644[rbp], 12
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -632[rbp], 1
.L29:
	cmp	DWORD PTR -632[rbp], 0
	jne	.L33
.L22:
	add	DWORD PTR -652[rbp], 1
.L21:
	mov	eax, DWORD PTR -700[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L34
	cmp	DWORD PTR -648[rbp], 1
	jne	.L35
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L35:
	cmp	DWORD PTR -648[rbp], 0
	jne	.L20
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L20:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -624[rbp], 0
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -336[rbp], rax
	mov	BYTE PTR -328[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L38
.L46:
	mov	eax, DWORD PTR -656[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -376[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -368[rbp], 0
	add	DWORD PTR -656[rbp], 4
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -376[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	lea	rax, -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	DWORD PTR -684[rbp], 0
	mov	eax, DWORD PTR -696[rbp]
	mov	DWORD PTR -612[rbp], eax
	cmp	QWORD PTR -424[rbp], 0
	je	.L39
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 24
	mov	DWORD PTR -620[rbp], eax
	mov	eax, DWORD PTR -620[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -366[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L41
.L45:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L42
	mov	eax, DWORD PTR -620[rbp]
	sub	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -616[rbp], 0
	jmp	.L43
.L44:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -616[rbp], 1
.L43:
	mov	eax, DWORD PTR -692[rbp]
	lea	edx, 1[rax]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -616[rbp], eax
	jl	.L44
	mov	DWORD PTR -624[rbp], 1
.L42:
	add	DWORD PTR -620[rbp], 12
	mov	eax, DWORD PTR -620[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -612[rbp], 1
.L41:
	cmp	DWORD PTR -612[rbp], 0
	jne	.L45
.L39:
	add	DWORD PTR -652[rbp], 1
.L38:
	mov	eax, DWORD PTR -700[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L46
	cmp	DWORD PTR -624[rbp], 1
	jne	.L47
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L47:
	cmp	DWORD PTR -624[rbp], 0
	jne	.L37
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L37:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L49
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -346[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -608[rbp], 0
	lea	rax, -346[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -684[rbp], eax
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -336[rbp], rax
	mov	BYTE PTR -328[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L50
.L56:
	mov	eax, DWORD PTR -656[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -376[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -368[rbp], 0
	add	DWORD PTR -656[rbp], 4
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -376[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L51
	lea	rax, -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	eax, DWORD PTR -696[rbp]
	mov	DWORD PTR -600[rbp], eax
	cmp	QWORD PTR -424[rbp], 0
	je	.L51
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 24
	mov	DWORD PTR -604[rbp], eax
	mov	eax, DWORD PTR -604[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -366[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L53
.L55:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L54
	mov	eax, DWORD PTR -604[rbp]
	sub	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -346[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -608[rbp], 1
.L54:
	add	DWORD PTR -604[rbp], 12
	mov	eax, DWORD PTR -604[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -600[rbp], 1
.L53:
	cmp	DWORD PTR -600[rbp], 0
	jne	.L55
.L51:
	add	DWORD PTR -652[rbp], 1
.L50:
	mov	eax, DWORD PTR -700[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L56
	cmp	DWORD PTR -608[rbp], 1
	jne	.L57
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L57:
	cmp	DWORD PTR -608[rbp], 0
	jne	.L49
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L49:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -356[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -356[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -684[rbp], eax
	mov	DWORD PTR -596[rbp], 0
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -346[rbp], rax
	mov	BYTE PTR -338[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L60
.L69:
	mov	eax, DWORD PTR -656[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -376[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -368[rbp], 0
	add	DWORD PTR -656[rbp], 4
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -376[rbp]
	lea	rax, -346[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	lea	rax, -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -366[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	jne	.L62
	mov	eax, DWORD PTR -692[rbp]
	mov	DWORD PTR -592[rbp], eax
	mov	DWORD PTR -488[rbp], 0
	mov	eax, DWORD PTR -704[rbp]
	lea	ecx, 20[rax]
	mov	edx, DWORD PTR -696[rbp]
	mov	eax, DWORD PTR -692[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -696[rbp]
	add	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	eax, ecx
	add	eax, 4
	mov	DWORD PTR -644[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L63
.L65:
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -432[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L64
	mov	eax, DWORD PTR -644[rbp]
	sub	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -356[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -596[rbp], 1
.L64:
	add	DWORD PTR -644[rbp], 12
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -592[rbp], 1
.L63:
	cmp	DWORD PTR -592[rbp], 0
	jne	.L65
.L62:
	cmp	QWORD PTR -424[rbp], 0
	je	.L61
	mov	eax, DWORD PTR -696[rbp]
	mov	DWORD PTR -588[rbp], eax
	mov	DWORD PTR -484[rbp], 0
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 24
	mov	DWORD PTR -644[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L66
.L68:
	lea	rdx, -336[rbp]
	mov	rax, QWORD PTR -432[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -366[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L67
	mov	eax, DWORD PTR -644[rbp]
	add	eax, 8
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -356[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -596[rbp], 1
.L67:
	add	DWORD PTR -644[rbp], 12
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -588[rbp], 1
.L66:
	cmp	DWORD PTR -588[rbp], 0
	jne	.L68
.L61:
	add	DWORD PTR -652[rbp], 1
.L60:
	mov	eax, DWORD PTR -700[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L69
	cmp	DWORD PTR -596[rbp], 1
	jne	.L70
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L70:
	cmp	DWORD PTR -596[rbp], 0
	jne	.L59
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L59:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L72
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -584[rbp], 0
	mov	DWORD PTR -480[rbp], 0
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -346[rbp], rax
	mov	BYTE PTR -338[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L73
.L86:
	mov	eax, DWORD PTR -656[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -376[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -368[rbp], 0
	add	DWORD PTR -656[rbp], 4
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -376[rbp]
	lea	rax, -346[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L74
	mov	rax, rsp
	mov	rbx, rax
	lea	rax, -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	DWORD PTR -580[rbp], 0
	mov	DWORD PTR -476[rbp], 0
	mov	eax, DWORD PTR -696[rbp]
	mov	DWORD PTR -572[rbp], eax
	mov	eax, DWORD PTR -692[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -416[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L75:
	cmp	rsp, rdx
	je	.L76
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L75
.L76:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L77
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L77:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -408[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	je	.L78
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 24
	mov	DWORD PTR -580[rbp], eax
	mov	eax, DWORD PTR -580[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -366[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L79
.L85:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -336[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -328[rbp], 0
	lea	rdx, -366[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L80
	mov	DWORD PTR -584[rbp], 1
	mov	DWORD PTR -576[rbp], 0
	jmp	.L81
.L84:
	mov	eax, DWORD PTR -580[rbp]
	add	eax, 12
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -580[rbp]
	add	eax, 12
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rax, -304[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L82
	lea	rax, -304[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 2
	ja	.L83
	mov	eax, DWORD PTR -580[rbp]
	add	eax, 8
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rax, -304[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L82
.L83:
	lea	rax, -304[rbp]
	mov	rdi, rax
	call	puts@PLT
.L82:
	add	DWORD PTR -580[rbp], 12
	add	DWORD PTR -576[rbp], 1
.L81:
	mov	eax, DWORD PTR -692[rbp]
	cmp	DWORD PTR -576[rbp], eax
	jl	.L84
.L80:
	add	DWORD PTR -580[rbp], 12
	mov	eax, DWORD PTR -580[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -572[rbp], 1
.L79:
	cmp	DWORD PTR -572[rbp], 0
	jne	.L85
.L78:
	mov	rsp, rbx
.L74:
	add	DWORD PTR -652[rbp], 1
.L73:
	mov	eax, DWORD PTR -700[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L86
	cmp	DWORD PTR -584[rbp], 0
	jne	.L72
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L72:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L88
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -472[rbp], 1
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -336[rbp], rax
	mov	BYTE PTR -328[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L89
.L96:
	mov	eax, DWORD PTR -656[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -376[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -368[rbp], 0
	add	DWORD PTR -656[rbp], 4
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -376[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L90
	lea	rax, -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -366[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	jne	.L90
	mov	eax, DWORD PTR -696[rbp]
	mov	DWORD PTR -568[rbp], eax
	mov	DWORD PTR -468[rbp], 0
	lea	rax, -366[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -688[rbp], eax
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 20
	mov	DWORD PTR -644[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L91
.L95:
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -432[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L92
	mov	DWORD PTR -472[rbp], 0
	jmp	.L90
.L92:
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -684[rbp]
	test	eax, eax
	jne	.L94
	mov	DWORD PTR -648[rbp], 1
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -688[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -432[rbp]
	lea	rax, -366[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L94:
	add	DWORD PTR -644[rbp], 12
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -568[rbp], 1
.L91:
	cmp	DWORD PTR -568[rbp], 0
	jne	.L95
.L90:
	add	DWORD PTR -652[rbp], 1
.L89:
	mov	eax, DWORD PTR -700[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L96
	cmp	DWORD PTR -648[rbp], 1
	jne	.L97
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L97:
	cmp	DWORD PTR -648[rbp], 0
	jne	.L88
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L88:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L99
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -346[rbp], rax
	mov	BYTE PTR -338[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -652[rbp], 0
	jmp	.L100
.L116:
	mov	eax, DWORD PTR -656[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -376[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -368[rbp], 0
	add	DWORD PTR -656[rbp], 4
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	lea	rdx, -376[rbp]
	lea	rax, -346[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L101
	lea	rax, -160[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -366[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rsi, .LC17[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	jne	.L102
	mov	eax, DWORD PTR -692[rbp]
	mov	DWORD PTR -564[rbp], eax
	mov	DWORD PTR -560[rbp], 1
	lea	rax, -366[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -684[rbp], eax
	mov	eax, DWORD PTR -704[rbp]
	lea	ecx, 20[rax]
	mov	edx, DWORD PTR -696[rbp]
	mov	eax, DWORD PTR -692[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -696[rbp]
	add	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	eax, ecx
	add	eax, 4
	mov	DWORD PTR -644[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L103
.L107:
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -432[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L104
	mov	DWORD PTR -560[rbp], 0
.L104:
	cmp	DWORD PTR -560[rbp], 0
	je	.L169
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -336[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	add	DWORD PTR -644[rbp], 12
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -564[rbp], 1
.L103:
	cmp	DWORD PTR -564[rbp], 0
	jne	.L107
	jmp	.L106
.L169:
	nop
.L106:
	cmp	DWORD PTR -560[rbp], 0
	je	.L170
.L102:
	cmp	QWORD PTR -424[rbp], 0
	je	.L101
	mov	eax, DWORD PTR -696[rbp]
	mov	DWORD PTR -556[rbp], eax
	mov	DWORD PTR -464[rbp], 1
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -336[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -684[rbp], eax
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 24
	mov	DWORD PTR -644[rbp], eax
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L110
.L115:
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rdx, -366[rbp]
	lea	rax, -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L111
	mov	eax, DWORD PTR -644[rbp]
	add	eax, 4
	mov	DWORD PTR -548[rbp], eax
	mov	eax, DWORD PTR -548[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -552[rbp], 0
	jmp	.L112
.L114:
	mov	eax, DWORD PTR -548[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -688[rbp]
	test	eax, eax
	jne	.L113
	mov	DWORD PTR -648[rbp], 1
	mov	eax, DWORD PTR -548[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -684[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -432[rbp]
	lea	rax, -336[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L113:
	add	DWORD PTR -548[rbp], 12
	add	DWORD PTR -552[rbp], 1
.L112:
	mov	eax, DWORD PTR -692[rbp]
	cmp	DWORD PTR -552[rbp], eax
	jl	.L114
.L111:
	add	DWORD PTR -644[rbp], 12
	mov	eax, DWORD PTR -644[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	sub	DWORD PTR -556[rbp], 1
.L110:
	cmp	DWORD PTR -556[rbp], 0
	jne	.L115
.L101:
	add	DWORD PTR -652[rbp], 1
.L100:
	mov	eax, DWORD PTR -700[rbp]
	cmp	DWORD PTR -652[rbp], eax
	jl	.L116
	jmp	.L109
.L170:
	nop
.L109:
	cmp	DWORD PTR -648[rbp], 1
	jne	.L117
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L117:
	cmp	DWORD PTR -648[rbp], 0
	jne	.L99
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L99:
	lea	rax, -272[rbp]
	mov	DWORD PTR [rax], 6583137
	lea	rax, -160[rbp]
	mov	DWORD PTR [rax], 6583137
	jmp	.L119
.L18:
	mov	rax, QWORD PTR -752[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L120
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -400[rbp], rax
	lea	rsi, .LC14[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -392[rbp], rax
.L159:
	mov	rax, QWORD PTR -400[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L171
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -400[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L123
	mov	DWORD PTR -544[rbp], 4
	mov	DWORD PTR -540[rbp], 0
	mov	DWORD PTR -684[rbp], 0
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -400[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -688[rbp]
	sub	eax, 1
	mov	DWORD PTR -692[rbp], eax
	mov	DWORD PTR -536[rbp], 0
	jmp	.L124
.L129:
	mov	eax, DWORD PTR -544[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	jmp	.L125
.L126:
	add	DWORD PTR -544[rbp], 4
	mov	eax, DWORD PTR -544[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
.L125:
	mov	eax, DWORD PTR -696[rbp]
	test	eax, eax
	je	.L126
	mov	eax, DWORD PTR -696[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rdx, -304[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L127
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -544[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -692[rbp]
	sub	eax, 1
	mov	DWORD PTR -692[rbp], eax
	mov	DWORD PTR -540[rbp], 1
	jmp	.L128
.L127:
	add	DWORD PTR -544[rbp], 4
	add	DWORD PTR -536[rbp], 1
.L124:
	mov	eax, DWORD PTR -688[rbp]
	cmp	DWORD PTR -536[rbp], eax
	jl	.L129
.L128:
	cmp	DWORD PTR -540[rbp], 1
	jne	.L130
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L130:
	cmp	DWORD PTR -540[rbp], 0
	jne	.L123
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L123:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L132
	mov	DWORD PTR -528[rbp], 4
	mov	DWORD PTR -524[rbp], 0
	mov	DWORD PTR -688[rbp], 0
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -400[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -532[rbp], 0
	jmp	.L133
.L143:
	mov	eax, DWORD PTR -528[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	jmp	.L134
.L135:
	add	DWORD PTR -528[rbp], 4
	mov	eax, DWORD PTR -528[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
.L134:
	mov	eax, DWORD PTR -696[rbp]
	test	eax, eax
	je	.L135
	mov	eax, DWORD PTR -696[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rdx, -304[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L136
	mov	DWORD PTR -524[rbp], 1
	mov	eax, DWORD PTR -684[rbp]
	sub	eax, 1
	cmp	DWORD PTR -532[rbp], eax
	je	.L137
	mov	eax, DWORD PTR -528[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -696[rbp]
	add	eax, 20
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -520[rbp], 0
	jmp	.L138
.L139:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -520[rbp], 1
.L138:
	mov	eax, DWORD PTR -692[rbp]
	mov	edx, DWORD PTR -696[rbp]
	sub	eax, edx
	sub	eax, 20
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	cmp	DWORD PTR -520[rbp], eax
	jl	.L139
	jmp	.L140
.L137:
	mov	eax, DWORD PTR -684[rbp]
	sub	eax, 1
	cmp	DWORD PTR -532[rbp], eax
	jne	.L136
	mov	DWORD PTR -520[rbp], 0
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -460[rbp], eax
	mov	eax, DWORD PTR -696[rbp]
	add	eax, 20
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L141
.L142:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -520[rbp], 1
.L141:
	mov	edx, DWORD PTR -696[rbp]
	mov	eax, DWORD PTR -460[rbp]
	sub	eax, edx
	sub	eax, 20
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	cmp	DWORD PTR -520[rbp], eax
	jl	.L142
	jmp	.L140
.L136:
	add	DWORD PTR -528[rbp], 4
	add	DWORD PTR -532[rbp], 1
.L133:
	mov	eax, DWORD PTR -684[rbp]
	cmp	DWORD PTR -532[rbp], eax
	jl	.L143
.L140:
	cmp	DWORD PTR -524[rbp], 0
	jne	.L144
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L144:
	cmp	DWORD PTR -524[rbp], 1
	jne	.L132
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L132:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L146
	mov	DWORD PTR -512[rbp], 4
	mov	DWORD PTR -508[rbp], 1
	mov	DWORD PTR -504[rbp], 0
	mov	DWORD PTR -456[rbp], 0
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -400[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -728[rbp]
	mov	rax, QWORD PTR -400[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -720[rbp]
	mov	rax, QWORD PTR -400[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -728[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	lea	ecx, 20[rax]
	mov	edx, DWORD PTR -720[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	ecx, eax
	mov	edx, DWORD PTR -728[rbp]
	mov	eax, DWORD PTR -720[rbp]
	imul	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	eax, ecx
	mov	DWORD PTR -452[rbp], eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -724[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -516[rbp], 0
	jmp	.L147
.L150:
	mov	eax, DWORD PTR -512[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -716[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -716[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -304[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -296[rbp], 0
	lea	rdx, -304[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L148
	mov	DWORD PTR -508[rbp], 0
	jmp	.L149
.L148:
	add	DWORD PTR -512[rbp], 4
	add	DWORD PTR -516[rbp], 1
.L147:
	mov	eax, DWORD PTR -724[rbp]
	cmp	DWORD PTR -516[rbp], eax
	jl	.L150
.L149:
	cmp	DWORD PTR -508[rbp], 1
	jne	.L151
	mov	DWORD PTR -512[rbp], 4
.L155:
	mov	eax, DWORD PTR -512[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -712[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -456[rbp], 0
	mov	eax, DWORD PTR -712[rbp]
	cmp	eax, 8
	je	.L172
	mov	eax, DWORD PTR -712[rbp]
	test	eax, eax
	jne	.L153
	mov	eax, DWORD PTR -512[rbp]
	sub	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -704[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -704[rbp]
	add	eax, 12
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -692[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -696[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -512[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -700[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -700[rbp]
	mov	edx, DWORD PTR -704[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	edx, DWORD PTR -692[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	lea	esi, 20[rax]
	mov	edx, DWORD PTR -696[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	esi, eax
	mov	edx, DWORD PTR -692[rbp]
	mov	eax, DWORD PTR -696[rbp]
	imul	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	lea	edx, [rsi+rax]
	mov	eax, ecx
	sub	eax, edx
	mov	DWORD PTR -456[rbp], eax
	mov	eax, DWORD PTR -456[rbp]
	cmp	eax, DWORD PTR -452[rbp]
	jl	.L154
	mov	eax, DWORD PTR -704[rbp]
	lea	ecx, 20[rax]
	mov	edx, DWORD PTR -692[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	ecx, eax
	mov	edx, DWORD PTR -696[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	ecx, eax
	mov	edx, DWORD PTR -692[rbp]
	mov	eax, DWORD PTR -696[rbp]
	imul	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	eax, ecx
	mov	DWORD PTR -708[rbp], eax
	mov	DWORD PTR -504[rbp], 1
	jmp	.L151
.L154:
	mov	DWORD PTR -504[rbp], 0
.L153:
	add	DWORD PTR -512[rbp], 4
	jmp	.L155
.L172:
	nop
.L151:
	cmp	DWORD PTR -508[rbp], 0
	je	.L156
	cmp	DWORD PTR -504[rbp], 0
	jne	.L157
.L156:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L157:
	cmp	DWORD PTR -508[rbp], 1
	jne	.L146
	cmp	DWORD PTR -504[rbp], 1
	jne	.L146
	mov	DWORD PTR -688[rbp], 8
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -724[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -724[rbp]
	add	eax, 1
	mov	DWORD PTR -684[rbp], eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -512[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -708[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -708[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -688[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -160[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -728[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -720[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -708[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L146:
	lea	rax, -272[rbp]
	mov	DWORD PTR [rax], 6583137
	lea	rax, -160[rbp]
	mov	DWORD PTR [rax], 6583137
	jmp	.L159
.L171:
	nop
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -400[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L120:
	mov	rax, QWORD PTR -752[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L160
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -384[rbp], rax
	mov	DWORD PTR -496[rbp], 1
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -384[rbp]
	lea	rax, -684[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -684[rbp]
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -684[rbp]
	sal	eax, 2
	mov	DWORD PTR -500[rbp], eax
.L165:
	mov	rax, QWORD PTR -384[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L173
	mov	eax, DWORD PTR -500[rbp]
	add	eax, 4
	movsx	rcx, eax
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -384[rbp]
	lea	rax, -160[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 7
	mov	rdi, rax
	call	fread@PLT
	mov	BYTE PTR -153[rbp], 0
	mov	eax, DWORD PTR -684[rbp]
	cmp	DWORD PTR -496[rbp], eax
	je	.L163
	lea	rax, -160[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L164
	mov	eax, DWORD PTR -500[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -384[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -496[rbp], 1
	jmp	.L164
.L163:
	lea	rax, -160[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L164
	mov	eax, DWORD PTR -500[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -384[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	rsi, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -496[rbp], 1
.L164:
	add	DWORD PTR -500[rbp], 4
	jmp	.L165
.L173:
	nop
.L160:
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L167
	call	__stack_chk_fail@PLT
.L167:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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	"371642.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"mbr.bin\000"
	.align	2
.LC3:
	.ascii	"INVALID\000"
	.align	2
.LC4:
	.ascii	"/dev/sd\000"
	.align	2
.LC5:
	.ascii	"SUCCES\000"
	.align	2
.LC6:
	.ascii	"%d \000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"%s \000"
	.align	2
.LC9:
	.ascii	"%li \000"
	.align	2
.LC10:
	.ascii	"%d\012\000"
	.align	2
.LC11:
	.ascii	"2\000"
	.align	2
.LC12:
	.ascii	"r\000"
	.align	2
.LC13:
	.ascii	"mbr.op\000"
	.align	2
.LC14:
	.ascii	"r+b\000"
	.align	2
.LC15:
	.ascii	"%s\000"
	.align	2
.LC16:
	.ascii	"DELETE_FILE\000"
	.align	2
.LC17:
	.ascii	"/\000"
	.align	2
.LC18:
	.ascii	"DELETE_DIR\000"
	.align	2
.LC19:
	.ascii	"RENAME_DIR\000"
	.align	2
.LC20:
	.ascii	"RENAME_FILE\000"
	.align	2
.LC21:
	.ascii	"PRINT\000"
	.align	2
.LC22:
	.ascii	"CREATE_DIR\000"
	.align	2
.LC23:
	.ascii	"CREATE_FILE\000"
	.align	2
.LC24:
	.ascii	"3\000"
	.align	2
.LC25:
	.ascii	"DELETE_PARTITION\000"
	.align	2
.LC26:
	.ascii	"FORMAT_PARTITION\000"
	.align	2
.LC27:
	.ascii	"CREATE_PARTITION\000"
	.align	2
.LC28:
	.ascii	"4\000"
	.align	2
.LC29:
	.ascii	"MBR_SIZE: %d\012\000"
	.align	2
.LC30:
	.ascii	"PARTITIONS_OFFSET: \000"
	.align	2
.LC31:
	.ascii	"%li\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 616
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #620
	str	r0, [fp, #-624]
	str	r1, [fp, #-628]
	ldr	r3, .L171
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-628]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L171+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r1, .L171+8
	ldr	r0, .L171+12
	bl	fopen
	str	r0, [fp, #-384]
	mov	r3, #4
	str	r3, [fp, #-560]
	mov	r3, #0
	str	r3, [fp, #-564]
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-568]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-384]
	bl	fseek
	sub	r0, fp, #584
	ldr	r3, [fp, #-384]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L3
.L7:
	mov	r2, #0
	ldr	r1, [fp, #-560]
	ldr	r0, [fp, #-384]
	bl	fseek
	sub	r0, fp, #580
	ldr	r3, [fp, #-384]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-580]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-384]
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L171+112
	bl	puts
	b	.L5
.L4:
	ldr	r3, [fp, #-580]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-384]
	bl	fseek
	sub	r0, fp, #216
	ldr	r3, [fp, #-384]
	mov	r2, #1
	mov	r1, #7
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-209]
	sub	r3, fp, #216
	ldr	r1, .L171+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L171+112
	bl	puts
	b	.L5
.L6:
	ldr	r3, [fp, #-564]
	add	r3, r3, #1
	str	r3, [fp, #-564]
	ldr	r3, [fp, #-560]
	add	r3, r3, #4
	str	r3, [fp, #-560]
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L3:
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-556]
	cmp	r2, r3
	blt	.L7
.L5:
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-564]
	cmp	r2, r3
	bne	.L8
	mov	r3, #4
	str	r3, [fp, #-560]
	ldr	r0, .L171+108
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-556]
	b	.L9
.L14:
	mov	r2, #0
	ldr	r1, [fp, #-560]
	ldr	r0, [fp, #-384]
	bl	fseek
	sub	r0, fp, #580
	ldr	r3, [fp, #-384]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-572]
	ldr	r3, [fp, #-556]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-568]
	add	r3, r3, #20
	str	r3, [fp, #-552]
	b	.L11
.L13:
	mov	r2, #0
	ldr	r1, [fp, #-552]
	ldr	r0, [fp, #-384]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-384]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-576]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-572]
	add	r3, r3, #12
	str	r3, [fp, #-572]
.L12:
	ldr	r3, [fp, #-552]
	add	r3, r3, #12
	str	r3, [fp, #-552]
.L11:
	ldr	r3, [fp, #-580]
	ldr	r2, [fp, #-552]
	cmp	r2, r3
	blt	.L13
	ldr	r2, [fp, #-580]
	ldr	r3, [fp, #-568]
	sub	r3, r2, r3
	sub	r3, r3, #20
	mov	r1, r3
	ldr	r0, .L171+20
	bl	printf
	ldr	r1, [fp, #-572]
	ldr	r0, .L171+24
	bl	printf
	mov	r0, #10
	bl	putchar
.L10:
	ldr	r3, [fp, #-580]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-384]
	bl	fseek
	sub	r0, fp, #116
	ldr	r3, [fp, #-384]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-108]
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L171+28
	bl	printf
	ldr	r3, [fp, #-580]
	str	r3, [fp, #-568]
	ldr	r3, [fp, #-560]
	add	r3, r3, #4
	str	r3, [fp, #-560]
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
.L9:
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-556]
	cmp	r2, r3
	blt	.L14
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-384]
	bl	fseek
	ldr	r0, [fp, #-384]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-568]
	sub	r3, r2, r3
	sub	r3, r3, #20
	mov	r1, r3
	ldr	r0, .L171+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-572]
	ldr	r3, [fp, #-568]
	add	r3, r3, #20
	str	r3, [fp, #-552]
	b	.L15
.L17:
	mov	r2, #0
	ldr	r1, [fp, #-552]
	ldr	r0, [fp, #-384]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-384]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-576]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-572]
	add	r3, r3, #12
	str	r3, [fp, #-572]
.L16:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-384]
	bl	fseek
	ldr	r3, [fp, #-552]
	add	r3, r3, #12
	str	r3, [fp, #-552]
.L15:
	ldr	r0, [fp, #-384]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-552]
	cmp	r3, r2
	blt	.L17
	ldr	r1, [fp, #-572]
	ldr	r0, .L171+36
	bl	printf
.L8:
	ldr	r0, [fp, #-384]
	bl	fclose
.L2:
	ldr	r3, [fp, #-628]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L171+40
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r1, .L171+84
	ldr	r0, .L171+88
	bl	fopen
	str	r0, [fp, #-376]
	ldr	r1, .L171+92
	ldr	r0, .L171+12
	bl	fopen
	str	r0, [fp, #-372]
.L116:
	ldr	r0, [fp, #-376]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r0, [fp, #-372]
	bl	fclose
	ldr	r0, [fp, #-376]
	bl	fclose
	b	.L18
.L19:
	mov	r3, #4
	str	r3, [fp, #-548]
	mov	r3, #0
	str	r3, [fp, #-540]
	sub	r3, fp, #216
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+44
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	sub	r1, fp, #116
	sub	r3, fp, #268
	mov	r2, #8
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-260]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-544]
	b	.L21
.L34:
	mov	r2, #0
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #304
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-296]
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	str	r3, [fp, #-548]
	sub	r0, fp, #588
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #584
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r2, fp, #304
	sub	r3, fp, #268
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	sub	r3, fp, #116
	ldr	r1, .L171+72
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	sub	r3, fp, #292
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-584]
	str	r3, [fp, #-532]
	mov	r3, #0
	str	r3, [fp, #-576]
	ldr	r3, [fp, #-596]
	add	r1, r3, #20
	ldr	r3, [fp, #-588]
	ldr	r2, [fp, #-584]
	mul	r2, r3, r2
	ldr	r3, [fp, #-588]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	b	.L24
.L28:
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-372]
	bl	__isoc99_fscanf
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-536]
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-528]
	b	.L26
.L27:
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-528]
	add	r3, r3, #1
	str	r3, [fp, #-528]
.L26:
	ldr	r3, [fp, #-528]
	cmp	r3, #2
	ble	.L27
	mov	r3, #1
	str	r3, [fp, #-540]
.L25:
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-532]
	sub	r3, r3, #1
	str	r3, [fp, #-532]
.L24:
	ldr	r3, [fp, #-532]
	cmp	r3, #0
	bne	.L28
.L23:
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-588]
	str	r3, [fp, #-524]
	mov	r3, #0
	str	r3, [fp, #-576]
	sub	r3, fp, #256
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-596]
	add	r3, r3, #24
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	b	.L29
.L33:
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-372]
	bl	__isoc99_fscanf
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-520]
	b	.L31
.L32:
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-520]
	add	r3, r3, #1
	str	r3, [fp, #-520]
.L31:
	ldr	r3, [fp, #-520]
	cmp	r3, #2
	ble	.L32
	mov	r3, #1
	str	r3, [fp, #-540]
.L30:
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-524]
	sub	r3, r3, #1
	str	r3, [fp, #-524]
.L29:
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bne	.L33
.L22:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L21:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L34
	ldr	r3, [fp, #-540]
	cmp	r3, #1
	bne	.L35
	ldr	r0, .L171+108
	bl	puts
.L35:
	ldr	r3, [fp, #-540]
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L171+112
	bl	puts
.L20:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+48
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-516]
	sub	r1, fp, #116
	sub	r3, fp, #256
	mov	r2, #8
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-248]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-544]
	b	.L38
.L46:
	mov	r2, #0
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #304
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-296]
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	str	r3, [fp, #-548]
	sub	r0, fp, #588
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #584
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r2, fp, #304
	sub	r3, fp, #256
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	sub	r3, fp, #116
	ldr	r1, .L171+72
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-576]
	ldr	r3, [fp, #-588]
	str	r3, [fp, #-504]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-596]
	add	r3, r3, #24
	str	r3, [fp, #-512]
	mov	r2, #0
	ldr	r1, [fp, #-512]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r3, fp, #292
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	b	.L41
.L45:
	sub	r0, fp, #236
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-512]
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-508]
	b	.L43
.L44:
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-508]
	add	r3, r3, #1
	str	r3, [fp, #-508]
.L43:
	ldr	r3, [fp, #-584]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-508]
	cmp	r2, r3
	blt	.L44
	mov	r3, #1
	str	r3, [fp, #-516]
.L42:
	ldr	r3, [fp, #-512]
	add	r3, r3, #12
	str	r3, [fp, #-512]
	mov	r2, #0
	ldr	r1, [fp, #-512]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-504]
	sub	r3, r3, #1
	str	r3, [fp, #-504]
.L41:
	ldr	r3, [fp, #-504]
	cmp	r3, #0
	bne	.L45
.L39:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L38:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-516]
	cmp	r3, #1
	bne	.L47
	ldr	r0, .L171+108
	bl	puts
.L47:
	ldr	r3, [fp, #-516]
	cmp	r3, #0
	bne	.L37
	ldr	r0, .L171+112
	bl	puts
.L37:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+52
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	sub	r3, fp, #268
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-500]
	sub	r3, fp, #268
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-576]
	sub	r1, fp, #116
	sub	r3, fp, #256
	mov	r2, #8
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-248]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-544]
	b	.L50
.L56:
	mov	r2, #0
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #304
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-296]
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	str	r3, [fp, #-548]
	sub	r0, fp, #588
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #584
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r2, fp, #304
	sub	r3, fp, #256
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	sub	r3, fp, #116
	ldr	r1, .L171+72
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r3, [fp, #-588]
	str	r3, [fp, #-492]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-596]
	add	r3, r3, #24
	str	r3, [fp, #-496]
	mov	r2, #0
	ldr	r1, [fp, #-496]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r3, fp, #292
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	b	.L53
.L55:
	sub	r0, fp, #236
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-496]
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	sub	r0, fp, #268
	ldr	r3, [fp, #-372]
	mov	r2, #8
	mov	r1, #1
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-500]
.L54:
	ldr	r3, [fp, #-496]
	add	r3, r3, #12
	str	r3, [fp, #-496]
	mov	r2, #0
	ldr	r1, [fp, #-496]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-492]
	sub	r3, r3, #1
	str	r3, [fp, #-492]
.L53:
	ldr	r3, [fp, #-492]
	cmp	r3, #0
	bne	.L55
.L51:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L50:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L56
	ldr	r3, [fp, #-500]
	cmp	r3, #1
	bne	.L57
	ldr	r0, .L171+108
	bl	puts
.L57:
	ldr	r3, [fp, #-500]
	cmp	r3, #0
	bne	.L49
	ldr	r0, .L171+112
	bl	puts
.L49:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+56
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	sub	r3, fp, #280
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	sub	r3, fp, #280
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-576]
	mov	r3, #0
	str	r3, [fp, #-488]
	sub	r1, fp, #116
	sub	r3, fp, #268
	mov	r2, #8
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-260]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-544]
	b	.L60
.L69:
	mov	r2, #0
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #304
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-296]
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	str	r3, [fp, #-548]
	sub	r0, fp, #588
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #584
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r2, fp, #304
	sub	r3, fp, #268
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
	sub	r3, fp, #116
	ldr	r1, .L171+72
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	sub	r3, fp, #292
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-584]
	str	r3, [fp, #-484]
	mov	r3, #0
	str	r3, [fp, #-364]
	ldr	r3, [fp, #-596]
	add	r1, r3, #20
	ldr	r3, [fp, #-588]
	ldr	r2, [fp, #-584]
	mul	r2, r3, r2
	ldr	r3, [fp, #-588]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	b	.L63
.L172:
	.align	2
.L171:
	.word	.LC32
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC16
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC17
	.word	6583137
	.word	.LC24
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC2
	.word	.LC25
	.word	.LC15
	.word	.LC5
	.word	.LC3
.L65:
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-372]
	bl	__isoc99_fscanf
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
	ldr	r3, [fp, #-536]
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	sub	r0, fp, #280
	ldr	r3, [fp, #-372]
	mov	r2, #8
	mov	r1, #1
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-488]
.L64:
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-484]
	sub	r3, r3, #1
	str	r3, [fp, #-484]
.L63:
	ldr	r3, [fp, #-484]
	cmp	r3, #0
	bne	.L65
.L62:
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-588]
	str	r3, [fp, #-480]
	mov	r3, #0
	str	r3, [fp, #-360]
	sub	r3, fp, #236
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-596]
	add	r3, r3, #24
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	b	.L66
.L68:
	sub	r3, fp, #256
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-372]
	bl	__isoc99_fscanf
	sub	r2, fp, #292
	sub	r3, fp, #256
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-536]
	add	r3, r3, #8
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	sub	r0, fp, #280
	ldr	r3, [fp, #-372]
	mov	r2, #8
	mov	r1, #1
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-488]
.L67:
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-480]
	sub	r3, r3, #1
	str	r3, [fp, #-480]
.L66:
	ldr	r3, [fp, #-480]
	cmp	r3, #0
	bne	.L68
.L61:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L60:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L69
	ldr	r3, [fp, #-488]
	cmp	r3, #1
	bne	.L70
	ldr	r0, .L171+108
	bl	puts
.L70:
	ldr	r3, [fp, #-488]
	cmp	r3, #0
	bne	.L59
	ldr	r0, .L171+112
	bl	puts
.L59:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+60
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-476]
	mov	r3, #0
	str	r3, [fp, #-356]
	sub	r1, fp, #116
	sub	r3, fp, #268
	mov	r2, #8
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-260]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-544]
	b	.L73
.L83:
	mov	r2, #0
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #304
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-296]
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	str	r3, [fp, #-548]
	sub	r0, fp, #588
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #584
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r2, fp, #304
	sub	r3, fp, #268
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L74
	mov	r3, sp
	mov	r4, r3
	sub	r3, fp, #116
	ldr	r1, .L171+72
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-472]
	mov	r3, #0
	str	r3, [fp, #-352]
	ldr	r3, [fp, #-588]
	str	r3, [fp, #-464]
	ldr	ip, [fp, #-584]
	sub	r3, ip, #1
	str	r3, [fp, #-348]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-344]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #-596]
	add	r3, r3, #24
	str	r3, [fp, #-472]
	mov	r2, #0
	ldr	r1, [fp, #-472]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r3, fp, #292
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	b	.L76
.L82:
	sub	r0, fp, #256
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-248]
	sub	r2, fp, #292
	sub	r3, fp, #256
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L77
	mov	r3, #1
	str	r3, [fp, #-476]
	mov	r3, #0
	str	r3, [fp, #-468]
	b	.L78
.L81:
	ldr	r3, [fp, #-472]
	add	r3, r3, #12
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-472]
	add	r3, r3, #12
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #236
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r3, fp, #236
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L79
	sub	r3, fp, #236
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #2
	bhi	.L80
	ldr	r3, [fp, #-472]
	add	r3, r3, #8
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #236
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r3, fp, #236
	mov	r0, r3
	bl	puts
	b	.L79
.L80:
	sub	r3, fp, #236
	mov	r0, r3
	bl	puts
.L79:
	ldr	r3, [fp, #-472]
	add	r3, r3, #12
	str	r3, [fp, #-472]
	ldr	r3, [fp, #-468]
	add	r3, r3, #1
	str	r3, [fp, #-468]
.L78:
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-468]
	cmp	r2, r3
	blt	.L81
.L77:
	ldr	r3, [fp, #-472]
	add	r3, r3, #12
	str	r3, [fp, #-472]
	mov	r2, #0
	ldr	r1, [fp, #-472]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-464]
	sub	r3, r3, #1
	str	r3, [fp, #-464]
.L76:
	ldr	r3, [fp, #-464]
	cmp	r3, #0
	bne	.L82
.L75:
	mov	sp, r4
.L74:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L73:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L83
	ldr	r3, [fp, #-476]
	cmp	r3, #0
	bne	.L72
	ldr	r0, .L171+112
	bl	puts
.L72:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+64
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L85
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	mov	r3, #1
	str	r3, [fp, #-340]
	sub	r1, fp, #116
	sub	r3, fp, #256
	mov	r2, #8
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-248]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-544]
	b	.L86
.L93:
	mov	r2, #0
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #304
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-296]
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	str	r3, [fp, #-548]
	sub	r0, fp, #588
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #584
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r2, fp, #304
	sub	r3, fp, #256
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L87
	sub	r3, fp, #116
	ldr	r1, .L171+72
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	sub	r3, fp, #292
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-588]
	str	r3, [fp, #-460]
	mov	r3, #0
	str	r3, [fp, #-336]
	sub	r3, fp, #292
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-580]
	ldr	r3, [fp, #-596]
	add	r3, r3, #20
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	b	.L88
.L92:
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-372]
	bl	__isoc99_fscanf
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L89
	mov	r3, #0
	str	r3, [fp, #-340]
	b	.L87
.L89:
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-576]
	cmp	r3, #0
	bne	.L91
	mov	r3, #1
	str	r3, [fp, #-540]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #580
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-580]
	mov	r2, r3
	sub	r0, fp, #292
	ldr	r3, [fp, #-372]
	mov	r1, #1
	bl	fwrite
.L91:
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-460]
	sub	r3, r3, #1
	str	r3, [fp, #-460]
.L88:
	ldr	r3, [fp, #-460]
	cmp	r3, #0
	bne	.L92
.L87:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L86:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L93
	ldr	r3, [fp, #-540]
	cmp	r3, #1
	bne	.L94
	ldr	r0, .L171+108
	bl	puts
.L94:
	ldr	r3, [fp, #-540]
	cmp	r3, #0
	bne	.L85
	ldr	r0, .L171+112
	bl	puts
.L85:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+68
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L96
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-376]
	bl	__isoc99_fscanf
	sub	r1, fp, #116
	sub	r3, fp, #268
	mov	r2, #8
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-260]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-544]
	b	.L97
.L113:
	mov	r2, #0
	ldr	r1, [fp, #-548]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #304
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-296]
	ldr	r3, [fp, #-548]
	add	r3, r3, #4
	str	r3, [fp, #-548]
	sub	r0, fp, #588
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #584
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r2, fp, #304
	sub	r3, fp, #268
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L98
	sub	r3, fp, #116
	ldr	r1, .L171+72
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	sub	r3, fp, #292
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L171+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-368]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	bne	.L99
	ldr	r3, [fp, #-584]
	str	r3, [fp, #-456]
	mov	r3, #1
	str	r3, [fp, #-452]
	sub	r3, fp, #292
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-576]
	ldr	r3, [fp, #-596]
	add	r1, r3, #20
	ldr	r3, [fp, #-588]
	ldr	r2, [fp, #-584]
	mul	r2, r3, r2
	ldr	r3, [fp, #-588]
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	b	.L100
.L104:
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-372]
	bl	__isoc99_fscanf
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L101
	mov	r3, #0
	str	r3, [fp, #-452]
.L101:
	ldr	r3, [fp, #-452]
	cmp	r3, #0
	beq	.L166
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #256
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-456]
	sub	r3, r3, #1
	str	r3, [fp, #-456]
.L100:
	ldr	r3, [fp, #-456]
	cmp	r3, #0
	bne	.L104
	b	.L103
.L166:
	nop
.L103:
	ldr	r3, [fp, #-452]
	cmp	r3, #0
	beq	.L167
.L99:
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	beq	.L98
	ldr	r3, [fp, #-588]
	str	r3, [fp, #-448]
	mov	r3, #1
	str	r3, [fp, #-332]
	sub	r3, fp, #256
	ldr	r1, [fp, #-368]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #256
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-576]
	ldr	r3, [fp, #-596]
	add	r3, r3, #24
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	b	.L107
.L112:
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #236
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r2, fp, #292
	sub	r3, fp, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L108
	ldr	r3, [fp, #-536]
	add	r3, r3, #4
	str	r3, [fp, #-440]
	mov	r2, #0
	ldr	r1, [fp, #-440]
	ldr	r0, [fp, #-372]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L109
.L111:
	ldr	r3, [fp, #-440]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #580
	ldr	r3, [fp, #-372]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-580]
	cmp	r3, #0
	bne	.L110
	mov	r3, #1
	str	r3, [fp, #-540]
	mov	r2, #0
	ldr	r1, [fp, #-440]
	ldr	r0, [fp, #-372]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-372]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-576]
	mov	r2, r3
	sub	r0, fp, #256
	ldr	r3, [fp, #-372]
	mov	r1, #1
	bl	fwrite
.L110:
	ldr	r3, [fp, #-440]
	add	r3, r3, #12
	str	r3, [fp, #-440]
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L109:
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-444]
	cmp	r2, r3
	blt	.L111
.L108:
	ldr	r3, [fp, #-536]
	add	r3, r3, #12
	str	r3, [fp, #-536]
	mov	r2, #0
	ldr	r1, [fp, #-536]
	ldr	r0, [fp, #-372]
	bl	fseek
	ldr	r3, [fp, #-448]
	sub	r3, r3, #1
	str	r3, [fp, #-448]
.L107:
	ldr	r3, [fp, #-448]
	cmp	r3, #0
	bne	.L112
.L98:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L97:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L113
	b	.L106
.L167:
	nop
.L106:
	ldr	r3, [fp, #-540]
	cmp	r3, #1
	bne	.L114
	ldr	r0, .L171+108
	bl	puts
.L114:
	ldr	r3, [fp, #-540]
	cmp	r3, #0
	bne	.L96
	ldr	r0, .L171+112
	bl	puts
.L96:
	sub	r3, fp, #216
	ldr	r2, .L171+76
	str	r2, [r3]
	sub	r3, fp, #116
	ldr	r2, .L171+76
	str	r2, [r3]
	b	.L116
.L18:
	ldr	r3, [fp, #-628]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L171+80
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L117
	ldr	r1, .L171+84
	ldr	r0, .L171+88
	bl	fopen
	str	r0, [fp, #-328]
	ldr	r1, .L171+92
	ldr	r0, .L171+96
	bl	fopen
	str	r0, [fp, #-324]
.L156:
	ldr	r0, [fp, #-328]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L168
	sub	r3, fp, #216
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-328]
	bl	__isoc99_fscanf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L171+100
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L120
	mov	r3, #4
	str	r3, [fp, #-436]
	mov	r3, #0
	str	r3, [fp, #-432]
	mov	r3, #0
	str	r3, [fp, #-576]
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L171+104
	ldr	r0, [fp, #-328]
	bl	__isoc99_fscanf
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #580
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-580]
	sub	r3, r3, #1
	str	r3, [fp, #-584]
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L121
.L126:
	mov	r2, #0
	ldr	r1, [fp, #-436]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #588
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	b	.L122
.L123:
	ldr	r3, [fp, #-436]
	add	r3, r3, #4
	str	r3, [fp, #-436]
	mov	r2, #0
	ldr	r1, [fp, #-436]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #588
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
.L122:
	ldr	r3, [fp, #-588]
	cmp	r3, #0
	beq	.L123
	ldr	r3, [fp, #-588]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #236
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r2, fp, #236
	sub	r3, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L124
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #584
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	mov	r2, #0
	ldr	r1, [fp, #-436]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-584]
	sub	r3, r3, #1
	str	r3, [fp, #-584]
	mov	r3, #1
	str	r3, [fp, #-432]
	b	.L125
.L124:
	ldr	r3, [fp, #-436]
	add	r3, r3, #4
	str	r3, [fp, #-436]
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L121:
	ldr	r3, [fp, #-580]
	ldr	r2, [fp, #-428]
	cmp	r2, r3
	blt	.L126
.L125:
	ldr	r3, [fp, #-432]
	cmp	r3, #1
	bne	.L127
	ldr	r0, .L171+108
	bl	puts
.L127:
	ldr	r3, [fp, #-432]
	cmp	r3, #0
	bne	.L120
	ldr	r0, .L171+112
	bl	puts
.L120:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L173
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L129
	mov	r3, #4
	str	r3, [fp, #-420]
	mov	r3, #0
	str	r3, [fp, #-416]
	mov	r3, #0
	str	r3, [fp, #-580]
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L173+4
	ldr	r0, [fp, #-328]
	bl	__isoc99_fscanf
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-424]
	b	.L130
.L140:
	mov	r2, #0
	ldr	r1, [fp, #-420]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #588
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	b	.L131
.L132:
	ldr	r3, [fp, #-420]
	add	r3, r3, #4
	str	r3, [fp, #-420]
	mov	r2, #0
	ldr	r1, [fp, #-420]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #588
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
.L131:
	ldr	r3, [fp, #-588]
	cmp	r3, #0
	beq	.L132
	ldr	r3, [fp, #-588]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #236
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r2, fp, #236
	sub	r3, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L133
	mov	r3, #1
	str	r3, [fp, #-416]
	ldr	r3, [fp, #-576]
	sub	r3, r3, #1
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	beq	.L134
	ldr	r3, [fp, #-420]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #584
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-588]
	add	r3, r3, #20
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L135
.L136:
	sub	r0, fp, #580
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L135:
	ldr	r2, [fp, #-584]
	ldr	r3, [fp, #-588]
	sub	r3, r2, r3
	sub	r3, r3, #20
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-412]
	cmp	r3, r2
	blt	.L136
	b	.L137
.L134:
	ldr	r3, [fp, #-576]
	sub	r3, r3, #1
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	bne	.L133
	mov	r3, #0
	str	r3, [fp, #-412]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-324]
	bl	fseek
	ldr	r0, [fp, #-324]
	bl	ftell
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-588]
	add	r3, r3, #20
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	b	.L138
.L139:
	sub	r0, fp, #580
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L138:
	ldr	r3, [fp, #-588]
	ldr	r2, [fp, #-320]
	sub	r3, r2, r3
	sub	r3, r3, #20
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-412]
	cmp	r3, r2
	blt	.L139
	b	.L137
.L133:
	ldr	r3, [fp, #-420]
	add	r3, r3, #4
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L130:
	ldr	r3, [fp, #-576]
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	blt	.L140
.L137:
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bne	.L141
	ldr	r0, .L173+8
	bl	puts
.L141:
	ldr	r3, [fp, #-416]
	cmp	r3, #1
	bne	.L129
	ldr	r0, .L173+12
	bl	puts
.L129:
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L173+16
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L143
	mov	r3, #4
	str	r3, [fp, #-404]
	mov	r3, #1
	str	r3, [fp, #-400]
	mov	r3, #0
	str	r3, [fp, #-396]
	mov	r3, #0
	str	r3, [fp, #-316]
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L173+4
	ldr	r0, [fp, #-328]
	bl	__isoc99_fscanf
	sub	r3, fp, #620
	mov	r2, r3
	ldr	r1, .L173+20
	ldr	r0, [fp, #-328]
	bl	__isoc99_fscanf
	sub	r3, fp, #612
	mov	r2, r3
	ldr	r1, .L173+20
	ldr	r0, [fp, #-328]
	bl	__isoc99_fscanf
	ldr	r2, [fp, #-620]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r1, r3, #20
	ldr	r2, [fp, #-612]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r1, r1, r3
	ldr	r3, [fp, #-620]
	ldr	r2, [fp, #-612]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r3, [fp, #-312]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #616
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-408]
	b	.L144
.L147:
	mov	r2, #0
	ldr	r1, [fp, #-404]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #608
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-608]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #236
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-228]
	sub	r2, fp, #236
	sub	r3, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L145
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L146
.L145:
	ldr	r3, [fp, #-404]
	add	r3, r3, #4
	str	r3, [fp, #-404]
	ldr	r3, [fp, #-408]
	add	r3, r3, #1
	str	r3, [fp, #-408]
.L144:
	ldr	r3, [fp, #-616]
	ldr	r2, [fp, #-408]
	cmp	r2, r3
	blt	.L147
.L146:
	ldr	r3, [fp, #-400]
	cmp	r3, #1
	bne	.L148
	mov	r3, #4
	str	r3, [fp, #-404]
.L152:
	mov	r2, #0
	ldr	r1, [fp, #-404]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #604
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-316]
	ldr	r3, [fp, #-604]
	cmp	r3, #8
	beq	.L169
	ldr	r3, [fp, #-604]
	cmp	r3, #0
	bne	.L150
	ldr	r3, [fp, #-404]
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #596
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-596]
	add	r3, r3, #12
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #584
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r0, fp, #588
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-404]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #592
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r2, [fp, #-592]
	ldr	r3, [fp, #-596]
	sub	r1, r2, r3
	ldr	r2, [fp, #-584]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r3, #20
	ldr	r2, [fp, #-588]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r0, r3
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-588]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r1, r3
	str	r3, [fp, #-316]
	ldr	r2, [fp, #-316]
	ldr	r3, [fp, #-312]
	cmp	r2, r3
	blt	.L151
	ldr	r3, [fp, #-596]
	add	r1, r3, #20
	ldr	r2, [fp, #-584]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r1, r1, r3
	ldr	r2, [fp, #-588]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r1, r1, r3
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-588]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r3, [fp, #-600]
	mov	r3, #1
	str	r3, [fp, #-396]
	b	.L148
.L151:
	mov	r3, #0
	str	r3, [fp, #-396]
.L150:
	ldr	r3, [fp, #-404]
	add	r3, r3, #4
	str	r3, [fp, #-404]
	b	.L152
.L169:
	nop
.L148:
	ldr	r3, [fp, #-400]
	cmp	r3, #0
	beq	.L153
	ldr	r3, [fp, #-396]
	cmp	r3, #0
	bne	.L154
.L153:
	ldr	r0, .L173+8
	bl	puts
.L154:
	ldr	r3, [fp, #-400]
	cmp	r3, #1
	bne	.L143
	ldr	r3, [fp, #-396]
	cmp	r3, #1
	bne	.L143
	mov	r3, #8
	str	r3, [fp, #-580]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #616
	ldr	r3, [fp, #-324]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-616]
	add	r3, r3, #1
	str	r3, [fp, #-576]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	mov	r2, #0
	ldr	r1, [fp, #-404]
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #600
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-600]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-324]
	bl	fseek
	sub	r0, fp, #580
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	sub	r0, fp, #116
	ldr	r3, [fp, #-324]
	mov	r2, #8
	mov	r1, #1
	bl	fwrite
	sub	r0, fp, #620
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	sub	r0, fp, #612
	ldr	r3, [fp, #-324]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-600]
	mov	r1, r3
	ldr	r0, .L173+24
	bl	printf
.L143:
	sub	r3, fp, #216
	ldr	r2, .L173+28
	str	r2, [r3]
	sub	r3, fp, #116
	ldr	r2, .L173+28
	str	r2, [r3]
	b	.L156
.L168:
	nop
	ldr	r0, [fp, #-324]
	bl	fclose
	ldr	r0, [fp, #-328]
	bl	fclose
.L117:
	ldr	r3, [fp, #-628]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L173+32
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L157
	ldr	r1, .L173+36
	ldr	r0, .L173+40
	bl	fopen
	str	r0, [fp, #-308]
	mov	r3, #1
	str	r3, [fp, #-388]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-308]
	bl	fseek
	sub	r0, fp, #576
	ldr	r3, [fp, #-308]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-576]
	mov	r1, r3
	ldr	r0, .L173+44
	bl	printf
	ldr	r0, .L173+48
	bl	printf
	ldr	r3, [fp, #-576]
	lsl	r3, r3, #2
	str	r3, [fp, #-392]
.L162:
	ldr	r0, [fp, #-308]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L170
	ldr	r3, [fp, #-392]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-308]
	bl	fseek
	sub	r0, fp, #116
	ldr	r3, [fp, #-308]
	mov	r2, #1
	mov	r1, #7
	bl	fread
	mov	r3, #0
	strb	r3, [fp, #-109]
	ldr	r3, [fp, #-576]
	ldr	r2, [fp, #-388]
	cmp	r2, r3
	beq	.L160
	sub	r3, fp, #116
	ldr	r1, .L173+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L161
	mov	r2, #0
	ldr	r1, [fp, #-392]
	ldr	r0, [fp, #-308]
	bl	fseek
	ldr	r0, [fp, #-308]
	bl	ftell
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L173+56
	bl	printf
	ldr	r3, [fp, #-388]
	add	r3, r3, #1
	str	r3, [fp, #-388]
	b	.L161
.L160:
	sub	r3, fp, #116
	ldr	r1, .L173+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L161
	mov	r2, #0
	ldr	r1, [fp, #-392]
	ldr	r0, [fp, #-308]
	bl	fseek
	ldr	r0, [fp, #-308]
	bl	ftell
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L173+60
	bl	printf
	ldr	r3, [fp, #-388]
	add	r3, r3, #1
	str	r3, [fp, #-388]
.L161:
	ldr	r3, [fp, #-392]
	add	r3, r3, #4
	str	r3, [fp, #-392]
	b	.L162
.L170:
	nop
.L157:
	mov	r3, #0
	ldr	r2, .L173+64
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L164
	bl	__stack_chk_fail
.L164:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L174:
	.align	2
.L173:
	.word	.LC26
	.word	.LC15
	.word	.LC3
	.word	.LC5
	.word	.LC27
	.word	.LC7
	.word	.LC10
	.word	6583137
	.word	.LC28
	.word	.LC1
	.word	.LC2
	.word	.LC29
	.word	.LC30
	.word	.LC4
	.word	.LC9
	.word	.LC31
	.word	.LC32
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
