	.file	"698434.c"
	.intel_syntax noprefix
	.text
	.globl	compare
	.type	compare, @function
compare:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
	mov	eax, 0
	jmp	.L4
.L3:
	add	QWORD PTR -8[rbp], 1
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L5
	mov	eax, -1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	compare, .-compare
	.globl	length
	.type	length, @function
length:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
.L10:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L7
	add	DWORD PTR -4[rbp], 1
	add	QWORD PTR -24[rbp], 1
	jmp	.L10
.L7:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	length, .-length
	.globl	is_letter
	.type	is_letter, @function
is_letter:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 64
	jle	.L14
	cmp	BYTE PTR -4[rbp], 122
	jle	.L15
.L14:
	mov	eax, 0
	jmp	.L16
.L15:
	cmp	BYTE PTR -4[rbp], 90
	jle	.L17
	cmp	BYTE PTR -4[rbp], 96
	jg	.L17
	mov	eax, 0
	jmp	.L16
.L17:
	mov	eax, 1
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	is_letter, .-is_letter
	.globl	is_lower
	.type	is_lower, @function
is_lower:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 96
	jle	.L19
	cmp	BYTE PTR -4[rbp], 122
	jle	.L20
.L19:
	mov	eax, 0
	jmp	.L21
.L20:
	mov	eax, 1
.L21:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	is_lower, .-is_lower
	.globl	is_upper
	.type	is_upper, @function
is_upper:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 64
	jle	.L23
	cmp	BYTE PTR -4[rbp], 90
	jle	.L24
.L23:
	mov	eax, 0
	jmp	.L25
.L24:
	mov	eax, 1
.L25:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	is_upper, .-is_upper
	.globl	re_name
	.type	re_name, @function
re_name:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_letter
	test	eax, eax
	je	.L27
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_lower
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	sub	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L28
.L27:
	mov	eax, 0
	jmp	.L29
.L28:
	add	QWORD PTR -8[rbp], 1
	jmp	.L30
.L33:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_letter
	test	eax, eax
	je	.L31
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_upper
	test	eax, eax
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	add	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L32
.L31:
	mov	eax, 0
	jmp	.L29
.L32:
	add	QWORD PTR -8[rbp], 1
.L30:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L33
	mov	eax, 1
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	re_name, .-re_name
	.globl	re_major
	.type	re_major, @function
re_major:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 3
	je	.L37
	mov	eax, 0
	jmp	.L36
.L40:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_letter
	test	eax, eax
	je	.L38
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_lower
	test	eax, eax
	je	.L39
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	sub	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L39
.L38:
	mov	eax, 0
	jmp	.L36
.L39:
	add	QWORD PTR -8[rbp], 1
.L37:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L40
	mov	eax, 1
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	re_major, .-re_major
	.globl	handle
	.type	handle, @function
handle:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	movss	DWORD PTR -24[rbp], xmm0
	mov	QWORD PTR -48[rbp], rcx
	cmp	DWORD PTR -20[rbp], 0
	jle	.L42
	movss	xmm0, DWORD PTR .LC0[rip]
	comiss	xmm0, DWORD PTR -24[rbp]
	ja	.L42
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, DWORD PTR .LC1[rip]
	jbe	.L50
.L42:
	mov	eax, -1
	jmp	.L45
.L50:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 2
	jle	.L46
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 10
	jg	.L46
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 2
	jle	.L46
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 10
	jg	.L46
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 3
	je	.L47
.L46:
	mov	eax, -1
	jmp	.L45
.L47:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	re_name
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	re_name
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	re_major
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L48
	cmp	DWORD PTR -8[rbp], 0
	je	.L48
	cmp	DWORD PTR -4[rbp], 0
	jne	.L49
.L48:
	mov	eax, -1
	jmp	.L45
.L49:
	mov	eax, 1
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	handle, .-handle
	.section	.rodata
.LC2:
	.string	"FAILED TO PARSE FILE"
.LC3:
	.string	"r"
.LC4:
	.string	"ADD"
.LC5:
	.string	"UPDATE"
.LC6:
	.string	"DELETE"
.LC7:
	.string	"%s"
.LC8:
	.string	"%d %s %s %f %s\n"
.LC9:
	.string	"%d\n"
	.align 8
.LC10:
	.string	"STUDENT RECORD CANNOT BE DELETED NOR UPDATED"
.LC11:
	.string	"ID NOT UNIQUE"
.LC12:
	.string	"-v"
.LC13:
	.string	"-i"
.LC14:
	.string	"-f"
.LC15:
	.string	"-m"
.LC16:
	.string	"-o"
.LC17:
	.string	"-g"
.LC18:
	.string	"NO QUERY PROVIDED"
.LC20:
	.string	"%d %s %s %.2f %s\n"
.LC21:
	.string	"%.2f\n"
.LC22:
	.string	"w"
	.align 8
.LC23:
	.string	"The file is exist, do you want to overridden? y for yse, n for no."
.LC24:
	.string	"OTHER ERROR"
.LC25:
	.string	"STUDENT RECORD NOT FOUND"
.LC26:
	.string	"FILE EXISTS"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 384
	mov	DWORD PTR -372[rbp], edi
	mov	QWORD PTR -384[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -352[rbp], 0
	cmp	DWORD PTR -372[rbp], 1
	jle	.L52
	mov	rax, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -168[rbp], rax
	mov	QWORD PTR -160[rbp], 0
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	cmp	QWORD PTR -160[rbp], 0
	jne	.L55
	jmp	.L158
.L52:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L54
.L158:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L54
.L55:
	lea	rax, .LC4[rip]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -144[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -136[rbp], rax
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L56
.L92:
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -112[rbp], rax
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rdx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L57
	lea	rdi, -356[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	lea	rdx, -360[rbp]
	mov	rax, QWORD PTR -160[rbp]
	sub	rsp, 8
	push	QWORD PTR -104[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 16
	test	eax, eax
	je	.L58
	mov	edi, DWORD PTR -356[rbp]
	mov	eax, DWORD PTR -360[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	movd	xmm0, edi
	mov	edi, eax
	call	handle
	cmp	eax, -1
	jne	.L59
	mov	DWORD PTR -352[rbp], -2
	jmp	.L91
.L59:
	mov	QWORD PTR -88[rbp], 0
	mov	edi, 56
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	edx, DWORD PTR -360[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	QWORD PTR 16[rax], rdx
	movss	xmm0, DWORD PTR -356[rbp]
	mov	rax, QWORD PTR -88[rbp]
	movss	DWORD PTR 24[rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], 0
	cmp	QWORD PTR -288[rbp], 0
	jne	.L61
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -280[rbp], rax
	jmp	.L62
.L61:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L63
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -288[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -288[rbp], rax
	jmp	.L62
.L63:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L64
	mov	rax, QWORD PTR -280[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -280[rbp], rax
	jmp	.L62
.L64:
	mov	QWORD PTR -272[rbp], 0
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -272[rbp], rax
.L68:
	mov	rax, QWORD PTR -272[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L65
	mov	DWORD PTR -352[rbp], -4
	jmp	.L66
.L65:
	mov	rax, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L67
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L66
.L67:
	mov	rax, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -272[rbp], rax
	jmp	.L68
.L66:
	cmp	DWORD PTR -352[rbp], -4
	je	.L159
.L62:
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L56
.L58:
	mov	DWORD PTR -352[rbp], -2
	jmp	.L91
.L57:
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L70
	lea	rdi, -356[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	lea	rdx, -360[rbp]
	mov	rax, QWORD PTR -160[rbp]
	sub	rsp, 8
	push	QWORD PTR -104[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 16
	test	eax, eax
	je	.L71
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -264[rbp], rax
.L76:
	mov	rax, QWORD PTR -264[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -360[rbp]
	cmp	edx, eax
	je	.L160
	mov	rax, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L73
	mov	DWORD PTR -352[rbp], -3
	jmp	.L74
.L73:
	mov	rax, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -264[rbp], rax
	jmp	.L76
.L160:
	nop
.L74:
	cmp	DWORD PTR -352[rbp], -3
	je	.L161
	mov	edi, DWORD PTR -356[rbp]
	mov	eax, DWORD PTR -360[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	movd	xmm0, edi
	mov	edi, eax
	call	handle
	cmp	eax, -1
	jne	.L78
	mov	DWORD PTR -352[rbp], -2
	jmp	.L91
.L78:
	mov	edx, DWORD PTR -360[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -264[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -264[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	QWORD PTR 16[rax], rdx
	movss	xmm0, DWORD PTR -356[rbp]
	mov	rax, QWORD PTR -264[rbp]
	movss	DWORD PTR 24[rax], xmm0
	mov	rax, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -264[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L56
.L71:
	mov	DWORD PTR -352[rbp], -2
	jmp	.L91
.L70:
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L79
	lea	rdx, -360[rbp]
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	test	eax, eax
	je	.L80
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -256[rbp], rax
	mov	rax, QWORD PTR -256[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -360[rbp]
	cmp	edx, eax
	jne	.L81
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L82
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -288[rbp], rax
	jmp	.L83
.L82:
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
.L83:
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L80
.L81:
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L84
	mov	DWORD PTR -352[rbp], -3
	jmp	.L91
.L84:
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -360[rbp]
	cmp	edx, eax
	je	.L162
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L86
	mov	DWORD PTR -352[rbp], -3
	jmp	.L87
.L86:
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -256[rbp], rax
	jmp	.L84
.L162:
	nop
.L87:
	cmp	DWORD PTR -352[rbp], -3
	je	.L163
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -256[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -256[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L90
	mov	rax, QWORD PTR -256[rbp]
	mov	QWORD PTR -280[rbp], rax
.L90:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
.L80:
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -160[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L56
.L79:
	mov	DWORD PTR -352[rbp], -2
	jmp	.L91
.L56:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L92
	jmp	.L91
.L159:
	nop
	jmp	.L91
.L161:
	nop
	jmp	.L91
.L163:
	nop
.L91:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	DWORD PTR -352[rbp], -2
	jne	.L93
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L54
.L93:
	cmp	DWORD PTR -352[rbp], -3
	jne	.L94
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L54
.L94:
	cmp	DWORD PTR -352[rbp], -4
	jne	.L95
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L54
.L95:
	cmp	QWORD PTR -288[rbp], 0
	jne	.L96
	mov	DWORD PTR -352[rbp], -11
.L96:
	lea	rax, .LC12[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC16[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC17[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -348[rbp], 0
	mov	DWORD PTR -344[rbp], 0
	mov	DWORD PTR -340[rbp], 0
	mov	DWORD PTR -336[rbp], 0
	mov	DWORD PTR -332[rbp], 0
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -324[rbp], 2
	cmp	DWORD PTR -372[rbp], 2
	je	.L97
	cmp	DWORD PTR -352[rbp], -11
	jne	.L101
.L97:
	cmp	DWORD PTR -372[rbp], 2
	jne	.L100
	lea	rdi, .LC18[rip]
	call	puts@PLT
	jmp	.L100
.L110:
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L102
	mov	DWORD PTR -348[rbp], 1
	cmp	DWORD PTR -344[rbp], 1
	je	.L103
	cmp	DWORD PTR -340[rbp], 1
	je	.L103
	cmp	DWORD PTR -336[rbp], 1
	jne	.L102
.L103:
	mov	DWORD PTR -352[rbp], -5
	jmp	.L104
.L102:
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L105
	add	DWORD PTR -324[rbp], 1
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -344[rbp], 1
	cmp	DWORD PTR -348[rbp], 1
	jne	.L105
	mov	DWORD PTR -352[rbp], -5
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L106
	add	DWORD PTR -324[rbp], 1
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -240[rbp], rax
	mov	DWORD PTR -340[rbp], 1
	cmp	DWORD PTR -348[rbp], 1
	jne	.L106
	mov	DWORD PTR -352[rbp], -5
	jmp	.L104
.L106:
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L107
	add	DWORD PTR -324[rbp], 1
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -232[rbp], rax
	mov	DWORD PTR -336[rbp], 1
	cmp	DWORD PTR -348[rbp], 1
	jne	.L107
	mov	DWORD PTR -352[rbp], -5
	jmp	.L104
.L107:
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L108
	add	DWORD PTR -324[rbp], 1
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -224[rbp], rax
	mov	DWORD PTR -332[rbp], 1
.L108:
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jne	.L109
	mov	DWORD PTR -328[rbp], 1
.L109:
	add	DWORD PTR -324[rbp], 1
.L101:
	mov	eax, DWORD PTR -324[rbp]
	cmp	eax, DWORD PTR -372[rbp]
	jl	.L110
.L104:
	cmp	DWORD PTR -352[rbp], -5
	je	.L100
	cmp	DWORD PTR -344[rbp], 1
	jne	.L111
	mov	DWORD PTR -320[rbp], 0
	jmp	.L112
.L116:
	mov	edx, DWORD PTR -320[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -320[rbp], eax
	mov	rax, QWORD PTR -248[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L113
	mov	rax, QWORD PTR -248[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L114
.L113:
	mov	DWORD PTR -352[rbp], -12
	jmp	.L115
.L114:
	mov	rax, QWORD PTR -248[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	DWORD PTR -320[rbp], eax
	add	QWORD PTR -248[rbp], 1
.L112:
	mov	rax, QWORD PTR -248[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L116
.L115:
	cmp	DWORD PTR -352[rbp], -12
	je	.L111
	mov	QWORD PTR -216[rbp], 0
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -216[rbp], rax
	jmp	.L117
.L119:
	mov	rax, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -320[rbp], eax
	je	.L118
	mov	rax, QWORD PTR -216[rbp]
	mov	DWORD PTR 40[rax], 1
.L118:
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -216[rbp], rax
.L117:
	cmp	QWORD PTR -216[rbp], 0
	jne	.L119
.L111:
	cmp	DWORD PTR -340[rbp], 1
	jne	.L120
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	re_name
	test	eax, eax
	je	.L121
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 2
	jle	.L121
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 10
	jle	.L122
.L121:
	mov	DWORD PTR -352[rbp], -5
	jmp	.L120
.L122:
	mov	QWORD PTR -208[rbp], 0
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -208[rbp], rax
	jmp	.L123
.L125:
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	je	.L124
	mov	rax, QWORD PTR -208[rbp]
	mov	DWORD PTR 40[rax], 1
.L124:
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -208[rbp], rax
.L123:
	cmp	QWORD PTR -208[rbp], 0
	jne	.L125
.L120:
	cmp	DWORD PTR -336[rbp], 1
	jne	.L126
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	re_major
	test	eax, eax
	jne	.L127
	mov	DWORD PTR -352[rbp], -5
	jmp	.L126
.L127:
	mov	QWORD PTR -200[rbp], 0
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -200[rbp], rax
	jmp	.L128
.L130:
	mov	rax, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdx, QWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	je	.L129
	mov	rax, QWORD PTR -200[rbp]
	mov	DWORD PTR 40[rax], 1
.L129:
	mov	rax, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -200[rbp], rax
.L128:
	cmp	QWORD PTR -200[rbp], 0
	jne	.L130
.L126:
	cmp	DWORD PTR -352[rbp], 0
	jne	.L100
	pxor	xmm0, xmm0
	movss	DWORD PTR -316[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -312[rbp], xmm0
	cmp	DWORD PTR -332[rbp], 0
	jne	.L131
	mov	DWORD PTR -308[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -192[rbp], rax
	jmp	.L132
.L136:
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	jne	.L133
	cmp	DWORD PTR -328[rbp], 0
	jne	.L134
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -192[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rsi, xmm2
	mov	rax, QWORD PTR -192[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR [rax]
	mov	r8, rdi
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L135
.L134:
	mov	rax, QWORD PTR -192[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	movss	xmm1, DWORD PTR -316[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -316[rbp], xmm0
	movss	xmm1, DWORD PTR -312[rbp]
	movss	xmm0, DWORD PTR .LC0[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -312[rbp], xmm0
.L135:
	mov	DWORD PTR -308[rbp], 1
.L133:
	mov	rax, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -192[rbp], rax
.L132:
	cmp	QWORD PTR -192[rbp], 0
	jne	.L136
	cmp	DWORD PTR -308[rbp], 0
	jne	.L137
	mov	DWORD PTR -352[rbp], -11
	jmp	.L100
.L137:
	cmp	DWORD PTR -328[rbp], 1
	jne	.L100
	movss	xmm0, DWORD PTR -316[rbp]
	divss	xmm0, DWORD PTR -312[rbp]
	movss	DWORD PTR -292[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -292[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC21[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L100
.L131:
	cmp	DWORD PTR -348[rbp], 1
	je	.L138
	cmp	DWORD PTR -344[rbp], 1
	je	.L138
	cmp	DWORD PTR -340[rbp], 1
	je	.L138
	cmp	DWORD PTR -336[rbp], 1
	jne	.L139
.L138:
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -224[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L140
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	jmp	.L141
.L140:
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	DWORD PTR -300[rbp], eax
	cmp	DWORD PTR -300[rbp], 121
	jne	.L142
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	jmp	.L143
.L142:
	mov	DWORD PTR -352[rbp], -8
.L143:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L141:
	cmp	DWORD PTR -352[rbp], -8
	je	.L164
	mov	DWORD PTR -304[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -176[rbp], rax
	jmp	.L145
.L148:
	cmp	DWORD PTR -328[rbp], 0
	jne	.L146
	mov	rax, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	jne	.L147
	mov	rax, QWORD PTR -176[rbp]
	mov	r8, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -176[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rsi, xmm4
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -176[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	r9, r8
	movq	xmm0, rsi
	mov	r8, rdi
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	DWORD PTR -304[rbp], 1
	jmp	.L147
.L146:
	mov	rax, QWORD PTR -176[rbp]
	movss	xmm0, DWORD PTR 24[rax]
	movss	xmm1, DWORD PTR -316[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -316[rbp], xmm0
	movss	xmm1, DWORD PTR -312[rbp]
	movss	xmm0, DWORD PTR .LC0[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -312[rbp], xmm0
.L147:
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -176[rbp], rax
.L145:
	cmp	QWORD PTR -176[rbp], 0
	jne	.L148
	cmp	DWORD PTR -304[rbp], 0
	jne	.L149
	mov	DWORD PTR -352[rbp], -11
	jmp	.L150
.L149:
	cmp	DWORD PTR -328[rbp], 1
	jne	.L150
	movss	xmm0, DWORD PTR -316[rbp]
	divss	xmm0, DWORD PTR -312[rbp]
	movss	DWORD PTR -296[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -296[rbp]
	movq	rdx, xmm5
	mov	rax, QWORD PTR -184[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
.L150:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L164
.L139:
	mov	DWORD PTR -352[rbp], -5
	jmp	.L100
.L164:
	nop
.L100:
	cmp	QWORD PTR -288[rbp], 0
	je	.L151
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L152
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -288[rbp], rax
	jmp	.L151
.L152:
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	free@PLT
.L151:
	cmp	DWORD PTR -352[rbp], -5
	jne	.L153
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L54
.L153:
	cmp	DWORD PTR -352[rbp], -12
	jne	.L154
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L54
.L154:
	cmp	DWORD PTR -352[rbp], -11
	jne	.L155
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L54
.L155:
	cmp	DWORD PTR -352[rbp], -8
	jne	.L156
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L54
.L156:
	mov	eax, 0
.L54:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L157
	call	__stack_chk_fail@PLT
.L157:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	1065353216
	.align 4
.LC1:
	.long	1082130432
	.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	"698434.c"
	.text
	.align	2
	.global	compare
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare, %function
compare:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L2
.L5:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	mvn	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	compare, .-compare
	.align	2
	.global	length
	.syntax unified
	.arm
	.fpu softvfp
	.type	length, %function
length:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L10
.L7:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	length, .-length
	.align	2
	.global	is_letter
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_letter, %function
is_letter:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L14
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L15
.L14:
	mov	r3, #0
	b	.L16
.L15:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L17
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	bhi	.L17
	mov	r3, #0
	b	.L16
.L17:
	mov	r3, #1
.L16:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_letter, .-is_letter
	.align	2
	.global	is_lower
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_lower, %function
is_lower:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L19
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L20
.L19:
	mov	r3, #0
	b	.L21
.L20:
	mov	r3, #1
.L21:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_lower, .-is_lower
	.align	2
	.global	is_upper
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_upper, %function
is_upper:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L23
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L24
.L23:
	mov	r3, #0
	b	.L25
.L24:
	mov	r3, #1
.L25:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_upper, .-is_upper
	.align	2
	.global	re_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	re_name, %function
re_name:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_letter
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_lower
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #32
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	b	.L28
.L27:
	mov	r3, #0
	b	.L29
.L28:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L30
.L33:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_letter
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_upper
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #32
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	b	.L32
.L31:
	mov	r3, #0
	b	.L29
.L32:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L33
	mov	r3, #1
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	re_name, .-re_name
	.align	2
	.global	re_major
	.syntax unified
	.arm
	.fpu softvfp
	.type	re_major, %function
re_major:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	length
	mov	r3, r0
	cmp	r3, #3
	beq	.L37
	mov	r3, #0
	b	.L36
.L40:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_letter
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_lower
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #32
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	b	.L39
.L38:
	mov	r3, #0
	b	.L36
.L39:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L37:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L40
	mov	r3, #1
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	re_major, .-re_major
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.align	2
	.global	handle
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle, %function
handle:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]	@ float
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L42
	mov	r1, #1065353216
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r1, .L51
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
.L42:
	mvn	r3, #0
	b	.L45
.L50:
	ldr	r0, [fp, #-28]
	bl	length
	mov	r3, r0
	cmp	r3, #2
	ble	.L46
	ldr	r0, [fp, #-28]
	bl	length
	mov	r3, r0
	cmp	r3, #10
	bgt	.L46
	ldr	r0, [fp, #-32]
	bl	length
	mov	r3, r0
	cmp	r3, #2
	ble	.L46
	ldr	r0, [fp, #-32]
	bl	length
	mov	r3, r0
	cmp	r3, #10
	bgt	.L46
	ldr	r0, [fp, #4]
	bl	length
	mov	r3, r0
	cmp	r3, #3
	beq	.L47
.L46:
	mvn	r3, #0
	b	.L45
.L47:
	ldr	r0, [fp, #-28]
	bl	re_name
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	re_name
	str	r0, [fp, #-12]
	ldr	r0, [fp, #4]
	bl	re_major
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L49
.L48:
	mvn	r3, #0
	b	.L45
.L49:
	mov	r3, #1
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	1082130432
	.size	handle, .-handle
	.section	.rodata
	.align	2
.LC0:
	.ascii	"FAILED TO PARSE FILE\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"ADD\000"
	.align	2
.LC3:
	.ascii	"UPDATE\000"
	.align	2
.LC4:
	.ascii	"DELETE\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"%d %s %s %f %s\012\000"
	.align	2
.LC7:
	.ascii	"%d\012\000"
	.align	2
.LC8:
	.ascii	"STUDENT RECORD CANNOT BE DELETED NOR UPDATED\000"
	.align	2
.LC9:
	.ascii	"ID NOT UNIQUE\000"
	.align	2
.LC10:
	.ascii	"-v\000"
	.align	2
.LC11:
	.ascii	"-i\000"
	.align	2
.LC12:
	.ascii	"-f\000"
	.align	2
.LC13:
	.ascii	"-m\000"
	.align	2
.LC14:
	.ascii	"-o\000"
	.align	2
.LC15:
	.ascii	"-g\000"
	.align	2
.LC16:
	.ascii	"NO QUERY PROVIDED\000"
	.global	__aeabi_f2d
	.align	2
.LC17:
	.ascii	"%d %s %s %.2f %s\012\000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC18:
	.ascii	"%.2f\012\000"
	.align	2
.LC19:
	.ascii	"w\000"
	.align	2
.LC20:
	.ascii	"The file is exist, do you want to overridden? y for"
	.ascii	" yse, n for no.\000"
	.align	2
.LC21:
	.ascii	"OTHER ERROR\000"
	.align	2
.LC22:
	.ascii	"STUDENT RECORD NOT FOUND\000"
	.align	2
.LC23:
	.ascii	"FILE EXISTS\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #252
	str	r0, [fp, #-240]
	str	r1, [fp, #-244]
	ldr	r3, .L167
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-240]
	cmp	r3, #1
	ble	.L54
	ldr	r3, [fp, #-244]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r1, .L167+4
	ldr	r0, [fp, #-116]
	bl	fopen
	str	r0, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L57
	b	.L160
.L54:
	ldr	r0, .L167+8
	bl	puts
	mov	r3, #0
	b	.L56
.L160:
	ldr	r0, .L167+8
	bl	puts
	mov	r3, #0
	b	.L56
.L57:
	ldr	r3, .L167+12
	str	r3, [fp, #-108]
	ldr	r3, .L167+16
	str	r3, [fp, #-104]
	ldr	r3, .L167+20
	str	r3, [fp, #-100]
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r2, [fp, #-96]
	ldr	r1, .L167+24
	ldr	r0, [fp, #-112]
	bl	__isoc99_fscanf
	b	.L58
.L94:
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-92]
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-88]
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-96]
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	sub	r2, fp, #236
	ldr	r3, [fp, #-84]
	str	r3, [sp, #8]
	sub	r3, fp, #232
	str	r3, [sp, #4]
	ldr	r3, [fp, #-88]
	str	r3, [sp]
	ldr	r3, [fp, #-92]
	ldr	r1, .L167+28
	ldr	r0, [fp, #-112]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	ldr	r0, [fp, #-236]
	ldr	r2, [fp, #-232]	@ float
	ldr	r3, [fp, #-84]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-92]
	bl	handle
	mov	r3, r0
	cmn	r3, #1
	bne	.L61
	mvn	r3, #1
	str	r3, [fp, #-228]
	b	.L93
.L61:
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r0, #28
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-76]
	ldr	r2, [fp, #-236]
	ldr	r3, [fp, #-76]
	str	r2, [r3]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-92]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-88]
	str	r2, [r3, #8]
	ldr	r2, [fp, #-232]	@ float
	ldr	r3, [fp, #-76]
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-84]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-76]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-76]
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L63
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-220]
	b	.L64
.L63:
	ldr	r3, [fp, #-76]
	ldr	r2, [r3]
	ldr	r3, [fp, #-224]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L65
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-224]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-224]
	b	.L64
.L65:
	ldr	r3, [fp, #-76]
	ldr	r2, [r3]
	ldr	r3, [fp, #-220]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L66
	ldr	r3, [fp, #-220]
	ldr	r2, [fp, #-76]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-220]
	b	.L64
.L66:
	mov	r3, #0
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-216]
.L70:
	ldr	r3, [fp, #-216]
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L67
	mvn	r3, #3
	str	r3, [fp, #-228]
	b	.L68
.L67:
	ldr	r3, [fp, #-216]
	ldr	r3, [r3, #24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L69
	ldr	r3, [fp, #-216]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-76]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-76]
	str	r2, [r3, #24]
	b	.L68
.L69:
	ldr	r3, [fp, #-216]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-216]
	b	.L70
.L68:
	ldr	r3, [fp, #-228]
	cmn	r3, #4
	beq	.L161
.L64:
	ldr	r2, [fp, #-96]
	ldr	r1, .L167+24
	ldr	r0, [fp, #-112]
	bl	__isoc99_fscanf
	b	.L58
.L60:
	mvn	r3, #1
	str	r3, [fp, #-228]
	b	.L93
.L59:
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-96]
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	sub	r2, fp, #236
	ldr	r3, [fp, #-84]
	str	r3, [sp, #8]
	sub	r3, fp, #232
	str	r3, [sp, #4]
	ldr	r3, [fp, #-88]
	str	r3, [sp]
	ldr	r3, [fp, #-92]
	ldr	r1, .L167+28
	ldr	r0, [fp, #-112]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-212]
.L78:
	ldr	r3, [fp, #-212]
	ldr	r2, [r3]
	ldr	r3, [fp, #-236]
	cmp	r2, r3
	beq	.L162
	ldr	r3, [fp, #-212]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L75
	mvn	r3, #2
	str	r3, [fp, #-228]
	b	.L76
.L75:
	ldr	r3, [fp, #-212]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-212]
	b	.L78
.L162:
	nop
.L76:
	ldr	r3, [fp, #-228]
	cmn	r3, #3
	beq	.L163
	ldr	r0, [fp, #-236]
	ldr	r2, [fp, #-232]	@ float
	ldr	r3, [fp, #-84]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-92]
	bl	handle
	mov	r3, r0
	cmn	r3, #1
	bne	.L80
	mvn	r3, #1
	str	r3, [fp, #-228]
	b	.L93
.L80:
	ldr	r2, [fp, #-236]
	ldr	r3, [fp, #-212]
	str	r2, [r3]
	ldr	r3, [fp, #-212]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-212]
	ldr	r2, [fp, #-92]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-212]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-212]
	ldr	r2, [fp, #-88]
	str	r2, [r3, #8]
	ldr	r2, [fp, #-232]	@ float
	ldr	r3, [fp, #-212]
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-212]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-212]
	ldr	r2, [fp, #-84]
	str	r2, [r3, #16]
	ldr	r2, [fp, #-96]
	ldr	r1, .L167+24
	ldr	r0, [fp, #-112]
	bl	__isoc99_fscanf
	b	.L58
.L73:
	mvn	r3, #1
	str	r3, [fp, #-228]
	b	.L93
.L72:
	ldr	r1, [fp, #-100]
	ldr	r0, [fp, #-96]
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L81
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, .L167+32
	ldr	r0, [fp, #-112]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-208]
	ldr	r2, [r3]
	ldr	r3, [fp, #-236]
	cmp	r2, r3
	bne	.L83
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L84
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-224]
	b	.L85
.L84:
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
.L85:
	ldr	r0, [fp, #-208]
	bl	free
	b	.L82
.L83:
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L86
	mvn	r3, #2
	str	r3, [fp, #-228]
	b	.L93
.L86:
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-236]
	cmp	r2, r3
	beq	.L164
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L88
	mvn	r3, #2
	str	r3, [fp, #-228]
	b	.L89
.L88:
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-208]
	b	.L86
.L164:
	nop
.L89:
	ldr	r3, [fp, #-228]
	cmn	r3, #3
	beq	.L165
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-208]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-208]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L92
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-220]
.L92:
	ldr	r0, [fp, #-80]
	bl	free
.L82:
	ldr	r2, [fp, #-96]
	ldr	r1, .L167+24
	ldr	r0, [fp, #-112]
	bl	__isoc99_fscanf
	b	.L58
.L81:
	mvn	r3, #1
	str	r3, [fp, #-228]
	b	.L93
.L58:
	ldr	r0, [fp, #-112]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L94
	b	.L93
.L161:
	nop
	b	.L93
.L163:
	nop
	b	.L93
.L165:
	nop
.L93:
	ldr	r0, [fp, #-112]
	bl	fclose
	ldr	r3, [fp, #-228]
	cmn	r3, #2
	bne	.L95
	ldr	r0, .L167+8
	bl	puts
	mvn	r3, #0
	b	.L56
.L95:
	ldr	r3, [fp, #-228]
	cmn	r3, #3
	bne	.L96
	ldr	r0, .L167+36
	bl	puts
	mvn	r3, #0
	b	.L56
.L96:
	ldr	r3, [fp, #-228]
	cmn	r3, #4
	bne	.L97
	ldr	r0, .L167+40
	bl	puts
	mvn	r3, #0
	b	.L56
.L97:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L98
	mvn	r3, #10
	str	r3, [fp, #-228]
.L98:
	ldr	r3, .L167+44
	str	r3, [fp, #-72]
	ldr	r3, .L167+48
	str	r3, [fp, #-68]
	ldr	r3, .L167+52
	str	r3, [fp, #-64]
	ldr	r3, .L167+56
	str	r3, [fp, #-60]
	ldr	r3, .L167+60
	str	r3, [fp, #-56]
	ldr	r3, .L167+64
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-204]
	mov	r3, #0
	str	r3, [fp, #-200]
	mov	r3, #0
	str	r3, [fp, #-196]
	mov	r3, #0
	str	r3, [fp, #-192]
	mov	r3, #0
	str	r3, [fp, #-188]
	mov	r3, #0
	str	r3, [fp, #-184]
	mov	r3, #2
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-240]
	cmp	r3, #2
	beq	.L99
	ldr	r3, [fp, #-228]
	cmn	r3, #11
	bne	.L103
.L99:
	ldr	r3, [fp, #-240]
	cmp	r3, #2
	bne	.L102
	ldr	r0, .L167+68
	bl	puts
	b	.L102
.L112:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-72]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L104
	mov	r3, #1
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-200]
	cmp	r3, #1
	beq	.L105
	ldr	r3, [fp, #-196]
	cmp	r3, #1
	beq	.L105
	ldr	r3, [fp, #-192]
	cmp	r3, #1
	bne	.L104
.L105:
	mvn	r3, #4
	str	r3, [fp, #-228]
	b	.L106
.L104:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L107
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-180]
	mov	r3, #1
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-204]
	cmp	r3, #1
	bne	.L107
	mvn	r3, #4
	str	r3, [fp, #-228]
	b	.L106
.L107:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L108
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-176]
	mov	r3, #1
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-204]
	cmp	r3, #1
	bne	.L108
	mvn	r3, #4
	str	r3, [fp, #-228]
	b	.L106
.L108:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-60]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L109
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-172]
	mov	r3, #1
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-204]
	cmp	r3, #1
	bne	.L109
	mvn	r3, #4
	str	r3, [fp, #-228]
	b	.L106
.L109:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L110
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-168]
	mov	r3, #1
	str	r3, [fp, #-188]
.L110:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bne	.L111
	mov	r3, #1
	str	r3, [fp, #-184]
.L111:
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L103:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-240]
	cmp	r2, r3
	blt	.L112
.L106:
	ldr	r3, [fp, #-228]
	cmn	r3, #5
	beq	.L102
	ldr	r3, [fp, #-200]
	cmp	r3, #1
	bne	.L113
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L114
.L118:
	ldr	r2, [fp, #-160]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-180]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L115
	ldr	r3, [fp, #-180]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L116
.L115:
	mvn	r3, #11
	str	r3, [fp, #-228]
	b	.L117
.L116:
	ldr	r3, [fp, #-180]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L114:
	ldr	r3, [fp, #-180]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L118
.L117:
	ldr	r3, [fp, #-228]
	cmn	r3, #12
	beq	.L113
	mov	r3, #0
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-156]
	b	.L119
.L121:
	ldr	r3, [fp, #-156]
	ldr	r3, [r3]
	ldr	r2, [fp, #-160]
	cmp	r2, r3
	beq	.L120
	ldr	r3, [fp, #-156]
	mov	r2, #1
	str	r2, [r3, #20]
.L120:
	ldr	r3, [fp, #-156]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-156]
.L119:
	ldr	r3, [fp, #-156]
	cmp	r3, #0
	bne	.L121
.L113:
	ldr	r3, [fp, #-196]
	cmp	r3, #1
	bne	.L122
	ldr	r0, [fp, #-176]
	bl	re_name
	mov	r3, r0
	cmp	r3, #0
	beq	.L123
	ldr	r0, [fp, #-176]
	bl	length
	mov	r3, r0
	cmp	r3, #2
	ble	.L123
	ldr	r0, [fp, #-176]
	bl	length
	mov	r3, r0
	cmp	r3, #10
	ble	.L124
.L123:
	mvn	r3, #4
	str	r3, [fp, #-228]
	b	.L122
.L124:
	mov	r3, #0
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-152]
	b	.L125
.L127:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-176]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	beq	.L126
	ldr	r3, [fp, #-152]
	mov	r2, #1
	str	r2, [r3, #20]
.L126:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-152]
.L125:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L127
.L122:
	ldr	r3, [fp, #-192]
	cmp	r3, #1
	bne	.L128
	ldr	r0, [fp, #-172]
	bl	re_major
	mov	r3, r0
	cmp	r3, #0
	bne	.L129
	mvn	r3, #4
	str	r3, [fp, #-228]
	b	.L128
.L129:
	mov	r3, #0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-148]
	b	.L130
.L132:
	ldr	r3, [fp, #-148]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-172]
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	beq	.L131
	ldr	r3, [fp, #-148]
	mov	r2, #1
	str	r2, [r3, #20]
.L131:
	ldr	r3, [fp, #-148]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-148]
.L130:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L132
.L128:
	ldr	r3, [fp, #-228]
	cmp	r3, #0
	bne	.L102
	mov	r3, #0
	str	r3, [fp, #-144]	@ float
	mov	r3, #0
	str	r3, [fp, #-140]	@ float
	ldr	r3, [fp, #-188]
	cmp	r3, #0
	bne	.L133
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-132]
	b	.L134
.L138:
	ldr	r3, [fp, #-132]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L135
	ldr	r3, [fp, #-184]
	cmp	r3, #0
	bne	.L136
	ldr	r3, [fp, #-132]
	ldr	r4, [r3]
	ldr	r3, [fp, #-132]
	ldr	r5, [r3, #4]
	ldr	r3, [fp, #-132]
	ldr	r6, [r3, #8]
	ldr	r3, [fp, #-132]
	ldr	r3, [r3, #12]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-132]
	ldr	r1, [r1, #16]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L167+72
	bl	printf
	b	.L137
.L136:
	ldr	r3, [fp, #-132]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-144]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-144]	@ float
	mov	r1, #1065353216
	ldr	r0, [fp, #-140]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-140]	@ float
.L137:
	mov	r3, #1
	str	r3, [fp, #-136]
.L135:
	ldr	r3, [fp, #-132]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-132]
.L134:
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L138
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bne	.L139
	mvn	r3, #10
	str	r3, [fp, #-228]
	b	.L102
.L139:
	ldr	r3, [fp, #-184]
	cmp	r3, #1
	bne	.L102
	ldr	r1, [fp, #-140]	@ float
	ldr	r0, [fp, #-144]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L167+76
	bl	printf
	b	.L102
.L133:
	ldr	r3, [fp, #-204]
	cmp	r3, #1
	beq	.L140
	ldr	r3, [fp, #-200]
	cmp	r3, #1
	beq	.L140
	ldr	r3, [fp, #-196]
	cmp	r3, #1
	beq	.L140
	ldr	r3, [fp, #-192]
	cmp	r3, #1
	bne	.L141
.L140:
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-128]
	ldr	r1, .L167+4
	ldr	r0, [fp, #-48]
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L142
	ldr	r1, .L167+80
	ldr	r0, [fp, #-48]
	bl	fopen
	str	r0, [fp, #-128]
	b	.L143
.L142:
	ldr	r0, .L167+84
	bl	printf
	bl	getchar
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #121
	bne	.L144
	ldr	r1, .L167+80
	ldr	r0, [fp, #-48]
	bl	fopen
	str	r0, [fp, #-128]
	b	.L145
.L144:
	mvn	r3, #7
	str	r3, [fp, #-228]
.L145:
	ldr	r0, [fp, #-44]
	bl	fclose
.L143:
	ldr	r3, [fp, #-228]
	cmn	r3, #8
	beq	.L166
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-224]
	str	r3, [fp, #-120]
	b	.L147
.L150:
	ldr	r3, [fp, #-184]
	cmp	r3, #0
	bne	.L148
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L149
	ldr	r3, [fp, #-120]
	ldr	r5, [r3]
	ldr	r3, [fp, #-120]
	ldr	r6, [r3, #4]
	ldr	r3, [fp, #-120]
	ldr	r4, [r3, #8]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #12]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-120]
	ldr	r1, [r1, #16]
	str	r1, [sp, #16]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r4, [sp]
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L167+72
	ldr	r0, [fp, #-128]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L149
.L148:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-144]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-144]	@ float
	mov	r1, #1065353216
	ldr	r0, [fp, #-140]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-140]	@ float
.L149:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-120]
.L147:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L150
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L151
	mvn	r3, #10
	str	r3, [fp, #-228]
	b	.L152
.L151:
	ldr	r3, [fp, #-184]
	cmp	r3, #1
	bne	.L152
	ldr	r1, [fp, #-140]	@ float
	ldr	r0, [fp, #-144]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L167+76
	ldr	r0, [fp, #-128]
	bl	fprintf
.L152:
	ldr	r0, [fp, #-128]
	bl	fclose
	b	.L166
.L141:
	mvn	r3, #4
	str	r3, [fp, #-228]
	b	.L102
.L166:
	nop
.L102:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	beq	.L153
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L154
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-224]
	bl	free
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-224]
	b	.L153
.L168:
	.align	2
.L167:
	.word	.LC24
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
.L154:
	ldr	r0, [fp, #-224]
	bl	free
.L153:
	ldr	r3, [fp, #-228]
	cmn	r3, #5
	bne	.L155
	ldr	r0, .L167+88
	bl	puts
	mov	r3, #0
	b	.L56
.L155:
	ldr	r3, [fp, #-228]
	cmn	r3, #12
	bne	.L156
	ldr	r0, .L167+88
	bl	puts
	mov	r3, #0
	b	.L56
.L156:
	ldr	r3, [fp, #-228]
	cmn	r3, #11
	bne	.L157
	ldr	r0, .L167+92
	bl	puts
	mov	r3, #0
	b	.L56
.L157:
	ldr	r3, [fp, #-228]
	cmn	r3, #8
	bne	.L158
	ldr	r0, .L167+96
	bl	puts
	mov	r3, #0
	b	.L56
.L158:
	mov	r3, #0
.L56:
	ldr	r2, .L167+100
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L159
	bl	__stack_chk_fail
.L159:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
