	.file	"489433.c"
	.intel_syntax noprefix
	.text
	.globl	candidate
	.bss
	.align 32
	.type	candidate, @object
	.size	candidate, 445
candidate:
	.zero	445
	.section	.rodata
	.align 8
.LC0:
	.string	"Content-Type:text/html;charset=iso-8859-1"
.LC1:
	.string	"%s%c%c\n"
.LC2:
	.string	"<html><head>"
	.align 8
.LC3:
	.string	"<style>table{font-family:arial,sans-serif;border-collapse:collapse;width:100%}td,th{border:1px solid #ddd;text-align:left;padding:8px}tr:nth-child(even){background-color:#ddd}</style>"
	.align 8
.LC4:
	.string	"<title>Candidates List</title></head><body>"
.LC5:
	.string	"rb"
.LC6:
	.string	"../data/candidate.txt"
	.align 8
.LC7:
	.string	"<p>Oh dear, something went wrong with connecting database! %s</p>"
	.align 8
.LC8:
	.string	"../../cgi-bin/candidate/update.cgi"
	.align 8
.LC9:
	.string	"<FORM ACTION=\"%s\" METHOD=\"POST\">"
	.align 8
.LC10:
	.string	"<table><tr><th>Select</th><th>Voter/Aadhaar ID</th><th>First Name</th><th>Last Name</th><th>Gender</th><th>Mobile Number</th><th>Email ID</th><th>Father Name</th><th>Date of Birth</th><th>Address</th><th>Party</th><th>Symbol</th></tr>"
.LC11:
	.string	"<tr>"
	.align 8
.LC12:
	.string	"<td><input type=\"checkbox\" name=\"selected\" value=\"%s\" /></td>"
.LC13:
	.string	"<td>%s</td>"
.LC14:
	.string	"</tr>"
.LC15:
	.string	"</table>"
	.align 8
.LC16:
	.string	"<input type=\"submit\" value=\"Add\" name=\"operation\"/>"
	.align 8
.LC17:
	.string	"<input type=\"submit\" value=\"Edit\" name=\"operation\"/>"
	.align 8
.LC18:
	.string	"<input type=\"submit\" value=\"Delete\" name=\"operation\"/>"
.LC19:
	.string	"</form>"
.LC20:
	.string	"</body></html>"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	ecx, 10
	mov	edx, 13
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L3
.L2:
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L5:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+30]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+80]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+130]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+140]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+160]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+210]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+260]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+345]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+275]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, candidate[rip+325]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 445
	lea	rdi, candidate[rip]
	call	fread@PLT
	cmp	rax, 1
	je	.L5
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L3:
	leave
	.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	"489433.c"
	.text
	.comm	candidate,445,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Content-Type:text/html;charset=iso-8859-1\000"
	.align	2
.LC1:
	.ascii	"%s%c%c\012\000"
	.align	2
.LC2:
	.ascii	"<html><head>\000"
	.align	2
.LC3:
	.ascii	"<style>table{font-family:arial,sans-serif;border-co"
	.ascii	"llapse:collapse;width:100%}td,th{border:1px solid #"
	.ascii	"ddd;text-align:left;padding:8px}tr:nth-child(even){"
	.ascii	"background-color:#ddd}</style>\000"
	.align	2
.LC4:
	.ascii	"<title>Candidates List</title></head><body>\000"
	.align	2
.LC5:
	.ascii	"rb\000"
	.align	2
.LC6:
	.ascii	"../data/candidate.txt\000"
	.align	2
.LC7:
	.ascii	"<p>Oh dear, something went wrong with connecting da"
	.ascii	"tabase! %s</p>\000"
	.align	2
.LC8:
	.ascii	"../../cgi-bin/candidate/update.cgi\000"
	.align	2
.LC9:
	.ascii	"<FORM ACTION=\"%s\" METHOD=\"POST\">\000"
	.align	2
.LC10:
	.ascii	"<table><tr><th>Select</th><th>Voter/Aadhaar ID</th>"
	.ascii	"<th>First Name</th><th>Last Name</th><th>Gender</th"
	.ascii	"><th>Mobile Number</th><th>Email ID</th><th>Father "
	.ascii	"Name</th><th>Date of Birth</th><th>Address</th><th>"
	.ascii	"Party</th><th>Symbol</th></tr>\000"
	.align	2
.LC11:
	.ascii	"<tr>\000"
	.align	2
.LC12:
	.ascii	"<td><input type=\"checkbox\" name=\"selected\" valu"
	.ascii	"e=\"%s\" /></td>\000"
	.align	2
.LC13:
	.ascii	"<td>%s</td>\000"
	.align	2
.LC14:
	.ascii	"</tr>\000"
	.align	2
.LC15:
	.ascii	"</table>\000"
	.align	2
.LC16:
	.ascii	"<input type=\"submit\" value=\"Add\" name=\"operati"
	.ascii	"on\"/>\000"
	.align	2
.LC17:
	.ascii	"<input type=\"submit\" value=\"Edit\" name=\"operat"
	.ascii	"ion\"/>\000"
	.align	2
.LC18:
	.ascii	"<input type=\"submit\" value=\"Delete\" name=\"oper"
	.ascii	"ation\"/>\000"
	.align	2
.LC19:
	.ascii	"</form>\000"
	.align	2
.LC20:
	.ascii	"</body></html>\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #10
	mov	r2, #13
	ldr	r1, .L6
	ldr	r0, .L6+4
	bl	printf
	ldr	r0, .L6+8
	bl	printf
	ldr	r0, .L6+12
	bl	printf
	ldr	r0, .L6+16
	bl	printf
	ldr	r1, .L6+20
	ldr	r0, .L6+24
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+28
	bl	printf
	mov	r3, #0
	b	.L3
.L2:
	ldr	r1, .L6+32
	ldr	r0, .L6+36
	bl	printf
	ldr	r0, .L6+40
	bl	printf
	b	.L4
.L5:
	ldr	r0, .L6+44
	bl	printf
	ldr	r1, .L6+48
	ldr	r0, .L6+52
	bl	printf
	ldr	r1, .L6+48
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+60
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+64
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+68
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+72
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+76
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+80
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+84
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+88
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+92
	ldr	r0, .L6+56
	bl	printf
	ldr	r1, .L6+96
	ldr	r0, .L6+56
	bl	printf
	ldr	r0, .L6+100
	bl	printf
.L4:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r1, .L6+104
	ldr	r0, .L6+48
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L5
	ldr	r0, .L6+108
	bl	printf
	ldr	r0, .L6+112
	bl	printf
	ldr	r0, .L6+116
	bl	printf
	ldr	r0, .L6+120
	bl	printf
	ldr	r0, .L6+124
	bl	printf
	ldr	r0, .L6+128
	bl	printf
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	candidate
	.word	.LC12
	.word	.LC13
	.word	candidate+30
	.word	candidate+80
	.word	candidate+130
	.word	candidate+140
	.word	candidate+160
	.word	candidate+210
	.word	candidate+260
	.word	candidate+345
	.word	candidate+275
	.word	candidate+325
	.word	.LC14
	.word	445
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
