	.file	"24488.c"
	.intel_syntax noprefix
	.section	.rodata
.LC0:
	.string	"id"
.LC1:
	.string	"print"
.LC2:
	.string	"clear"
.LC3:
	.string	"delete"
.LC4:
	.string	"generate"
.LC5:
	.string	"delay"
.LC6:
	.string	"loss"
.LC7:
	.string	"modify"
.LC8:
	.string	"setflag"
.LC9:
	.string	"drop"
.LC10:
	.string	"unset"
.LC11:
	.string	"help"
.LC12:
	.string	"insert"
.LC13:
	.string	"ACK"
.LC14:
	.string	"URG"
.LC15:
	.string	"PSH"
.LC16:
	.string	"SYN"
.LC17:
	.string	"FIN"
.LC18:
	.string	"RST"
.LC19:
	.string	"sport"
.LC20:
	.string	"dport"
.LC21:
	.string	"setwindow"
.LC22:
	.string	"setcheck"
.LC23:
	.string	"setSEQ"
.LC24:
	.string	"setACK"
.LC25:
	.string	"thread"
.LC26:
	.string	"times"
.LC27:
	.string	"setdoff"
.LC28:
	.string	"pcap"
.LC29:
	.string	"pcapng"
.LC30:
	.string	"destip"
.LC31:
	.string	"destip ran"
	.text
	.section	.rodata
.LC33:
	.string	"== USAGE =="
	.align 8
.LC34:
	.string	">> genereate a connection entry"
	.align 8
.LC35:
	.string	"-g(--generate) <src ip> <dst ip> <protocol> <src port> <dst port>"
.LC36:
	.string	">> print a connection table"
.LC37:
	.string	"-p(--print)"
.LC38:
	.string	">> clear a connection table"
.LC39:
	.string	"-p(--clear)"
.LC40:
	.string	">> delete a connection by id"
.LC41:
	.string	"--delete <connection id>"
	.align 8
.LC42:
	.string	">> modify a packets (need to specify -i option)"
	.align 8
.LC43:
	.string	"-i <connection id> -m(--modify) <beofre> <after> <percentage>"
	.align 8
.LC44:
	.string	">> delay packets (need to specify -i option)"
	.align 8
.LC45:
	.string	"-i <connection id> -d(--delay) <mili seconds> <percentage> <diff_time>"
	.align 8
.LC46:
	.string	">> loss packets (need to specify -i option)"
	.align 8
.LC47:
	.string	"-i <connection id> -l(--loss) <percentage>"
	.align 8
.LC48:
	.string	">> drop all packets (need to specify -i option)"
.LC49:
	.string	"-i <connection id> --drop"
.LC50:
	.string	">> set TCP flag "
	.align 8
.LC51:
	.string	"-i <connection id> -a <tcp flag or no>"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC33[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	lea	rdi, .LC36[rip]
	call	puts@PLT
	lea	rdi, .LC37[rip]
	call	puts@PLT
	lea	rdi, .LC38[rip]
	call	puts@PLT
	lea	rdi, .LC39[rip]
	call	puts@PLT
	lea	rdi, .LC40[rip]
	call	puts@PLT
	lea	rdi, .LC41[rip]
	call	puts@PLT
	lea	rdi, .LC42[rip]
	call	puts@PLT
	lea	rdi, .LC43[rip]
	call	puts@PLT
	lea	rdi, .LC44[rip]
	call	puts@PLT
	lea	rdi, .LC45[rip]
	call	puts@PLT
	lea	rdi, .LC46[rip]
	call	puts@PLT
	lea	rdi, .LC47[rip]
	call	puts@PLT
	lea	rdi, .LC48[rip]
	call	puts@PLT
	lea	rdi, .LC49[rip]
	call	puts@PLT
	lea	rdi, .LC50[rip]
	call	puts@PLT
	lea	rdi, .LC51[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC52:
	.string	"START CONTROLLER"
.LC53:
	.string	"127.0.0.1"
.LC54:
	.string	"SOCKET"
	.align 8
.LC55:
	.string	"ERROR: nwsimulator isn't running!\n"
.LC57:
	.string	"mode list"
	.align 8
.LC58:
	.string	"===================================="
.LC59:
	.string	"1. print connection table"
.LC60:
	.string	"2. clear connection table"
.LC61:
	.string	"3. generate connection table"
.LC62:
	.string	"4. delete connection"
.LC63:
	.string	"5. packet manipulate setting"
	.align 8
.LC64:
	.string	"6. using scenario manipulate setting"
.LC65:
	.string	"7. output pcap log"
.LC66:
	.string	"8. output pcapng log"
.LC67:
	.string	"input mode id:"
.LC68:
	.string	"%d"
.LC69:
	.string	"%s\n\n"
.LC70:
	.string	"input Connection table id"
.LC71:
	.string	"example:"
	.align 8
.LC72:
	.string	"[source ip] [dest ip] [TCP] [sport] [dport]"
.LC73:
	.string	"%s%s%s%s%s"
.LC74:
	.string	"generate %s %s %s %s %s"
.LC75:
	.string	"input delete id"
.LC76:
	.string	"Invalid ID\n"
.LC77:
	.string	"delete %d"
.LC78:
	.string	"manipulate list"
.LC79:
	.string	"1. loss"
.LC80:
	.string	"2. delay"
.LC81:
	.string	"3. modify"
.LC82:
	.string	"4. insert"
.LC83:
	.string	"input number"
.LC84:
	.string	"Invalid manipulate_id\n"
.LC85:
	.string	"test"
.LC86:
	.string	"input delay param"
	.align 8
.LC87:
	.string	"[connection_table_id] [delay_time] [percentage ]"
.LC88:
	.string	"%d%d%d"
.LC89:
	.string	"setdelay %d %d %d 0"
	.data
	.align 32
.LC56:
	.quad	.LC0
	.long	1
	.zero	4
	.quad	0
	.long	105
	.zero	4
	.quad	.LC1
	.long	0
	.zero	4
	.quad	0
	.long	112
	.zero	4
	.quad	.LC2
	.long	0
	.zero	4
	.quad	0
	.long	99
	.zero	4
	.quad	.LC3
	.long	1
	.zero	4
	.quad	0
	.long	2
	.zero	4
	.quad	.LC4
	.long	1
	.zero	4
	.quad	0
	.long	103
	.zero	4
	.quad	.LC5
	.long	1
	.zero	4
	.quad	0
	.long	100
	.zero	4
	.quad	.LC6
	.long	1
	.zero	4
	.quad	0
	.long	108
	.zero	4
	.quad	.LC7
	.long	1
	.zero	4
	.quad	0
	.long	109
	.zero	4
	.quad	.LC8
	.long	1
	.zero	4
	.quad	0
	.long	102
	.zero	4
	.quad	.LC9
	.long	0
	.zero	4
	.quad	0
	.long	1
	.zero	4
	.quad	.LC10
	.long	1
	.zero	4
	.quad	0
	.long	117
	.zero	4
	.quad	.LC11
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	.LC12
	.long	1
	.zero	4
	.quad	0
	.long	97
	.zero	4
	.quad	.LC13
	.long	1
	.zero	4
	.quad	0
	.long	65
	.zero	4
	.quad	.LC14
	.long	1
	.zero	4
	.quad	0
	.long	85
	.zero	4
	.quad	.LC15
	.long	1
	.zero	4
	.quad	0
	.long	80
	.zero	4
	.quad	.LC16
	.long	1
	.zero	4
	.quad	0
	.long	83
	.zero	4
	.quad	.LC17
	.long	1
	.zero	4
	.quad	0
	.long	70
	.zero	4
	.quad	.LC18
	.long	1
	.zero	4
	.quad	0
	.long	82
	.zero	4
	.quad	.LC19
	.long	1
	.zero	4
	.quad	0
	.long	122
	.zero	4
	.quad	.LC20
	.long	1
	.zero	4
	.quad	0
	.long	68
	.zero	4
	.quad	.LC21
	.long	1
	.zero	4
	.quad	0
	.long	87
	.zero	4
	.quad	.LC22
	.long	1
	.zero	4
	.quad	0
	.long	66
	.zero	4
	.quad	.LC23
	.long	1
	.zero	4
	.quad	0
	.long	77
	.zero	4
	.quad	.LC24
	.long	1
	.zero	4
	.quad	0
	.long	76
	.zero	4
	.quad	.LC25
	.long	1
	.zero	4
	.quad	0
	.long	84
	.zero	4
	.quad	.LC26
	.long	1
	.zero	4
	.quad	0
	.long	78
	.zero	4
	.quad	.LC27
	.long	1
	.zero	4
	.quad	0
	.long	79
	.zero	4
	.quad	.LC28
	.long	1
	.zero	4
	.quad	0
	.long	88
	.zero	4
	.quad	.LC29
	.long	1
	.zero	4
	.quad	0
	.long	71
	.zero	4
	.quad	.LC30
	.long	1
	.zero	4
	.quad	0
	.long	106
	.zero	4
	.quad	.LC31
	.long	1
	.zero	4
	.quad	0
	.long	74
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -65536[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1456
	mov	DWORD PTR -66980[rbp], edi
	mov	QWORD PTR -66992[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC52[rip]
	call	puts@PLT
	mov	WORD PTR -66944[rbp], 2
	mov	edi, 55555
	call	htons@PLT
	mov	WORD PTR -66942[rbp], ax
	lea	rdi, .LC53[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -66940[rbp], eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -66948[rbp], eax
	cmp	DWORD PTR -66948[rbp], 0
	jns	.L3
	lea	rdi, .LC54[rip]
	call	perror@PLT
	call	usage
	mov	edi, -1
	call	exit@PLT
.L3:
	lea	rcx, -66944[rbp]
	mov	eax, DWORD PTR -66948[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC55[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	mov	DWORD PTR opterr[rip], 0
	lea	rax, -66928[rbp]
	lea	rdx, .LC56[rip]
	mov	ecx, 132
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
.L17:
	lea	rdi, .LC57[rip]
	call	puts@PLT
	lea	rdi, .LC58[rip]
	call	puts@PLT
	lea	rdi, .LC59[rip]
	call	puts@PLT
	lea	rdi, .LC60[rip]
	call	puts@PLT
	lea	rdi, .LC61[rip]
	call	puts@PLT
	lea	rdi, .LC62[rip]
	call	puts@PLT
	lea	rdi, .LC63[rip]
	call	puts@PLT
	lea	rdi, .LC64[rip]
	call	puts@PLT
	lea	rdi, .LC65[rip]
	call	puts@PLT
	lea	rdi, .LC66[rip]
	call	puts@PLT
	lea	rdi, .LC58[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC67[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -66968[rbp]
	mov	rsi, rax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -66968[rbp]
	cmp	eax, 1
	jne	.L5
	lea	rax, -65808[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, -65808[rbp]
	mov	eax, DWORD PTR -66948[rbp]
	mov	ecx, 0
	mov	edx, 256
	mov	edi, eax
	call	send@PLT
	lea	rsi, -65552[rbp]
	mov	eax, DWORD PTR -66948[rbp]
	mov	ecx, 0
	mov	edx, 65536
	mov	edi, eax
	call	recv@PLT
	lea	rax, -65552[rbp]
	mov	rsi, rax
	lea	rdi, .LC69[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L5:
	mov	eax, DWORD PTR -66968[rbp]
	cmp	eax, 2
	jne	.L7
	lea	rax, -65808[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, -65808[rbp]
	mov	eax, DWORD PTR -66948[rbp]
	mov	ecx, 0
	mov	edx, 256
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -66948[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L17
.L7:
	mov	eax, DWORD PTR -66968[rbp]
	cmp	eax, 3
	jne	.L8
	lea	rdi, .LC70[rip]
	call	puts@PLT
	lea	rdi, .LC71[rip]
	call	puts@PLT
	lea	rdi, .LC72[rip]
	call	puts@PLT
	lea	rdi, -65552[rbp]
	lea	rsi, -65823[rbp]
	lea	rcx, -65838[rbp]
	lea	rdx, -65853[rbp]
	lea	rax, -65868[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC73[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, -65552[rbp]
	lea	rsi, -65823[rbp]
	lea	rcx, -65838[rbp]
	lea	rdx, -65853[rbp]
	lea	rax, -65868[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC74[rip]
	mov	eax, 0
	call	printf@PLT
	lea	r8, -65823[rbp]
	lea	rdi, -65838[rbp]
	lea	rcx, -65853[rbp]
	lea	rdx, -65868[rbp]
	lea	rax, -65808[rbp]
	sub	rsp, 8
	lea	rsi, -65552[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC74[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	lea	rsi, -65808[rbp]
	mov	eax, DWORD PTR -66948[rbp]
	mov	ecx, 0
	mov	edx, 256
	mov	edi, eax
	call	send@PLT
	jmp	.L17
.L8:
	mov	eax, DWORD PTR -66968[rbp]
	cmp	eax, 4
	jne	.L9
	lea	rdi, .LC75[rip]
	call	puts@PLT
	lea	rax, -66952[rbp]
	mov	rsi, rax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -66952[rbp]
	test	eax, eax
	jg	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC76[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L10:
	mov	edx, DWORD PTR -66952[rbp]
	lea	rax, -65808[rbp]
	lea	rsi, .LC77[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, -65808[rbp]
	mov	eax, DWORD PTR -66948[rbp]
	mov	ecx, 0
	mov	edx, 256
	mov	edi, eax
	call	send@PLT
	jmp	.L17
.L9:
	mov	eax, DWORD PTR -66968[rbp]
	cmp	eax, 5
	jne	.L17
	lea	rdi, .LC78[rip]
	call	puts@PLT
	lea	rdi, .LC79[rip]
	call	puts@PLT
	lea	rdi, .LC80[rip]
	call	puts@PLT
	lea	rdi, .LC81[rip]
	call	puts@PLT
	lea	rdi, .LC82[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC83[rip]
	call	puts@PLT
	lea	rax, -66964[rbp]
	mov	rsi, rax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -66964[rbp]
	test	eax, eax
	jg	.L12
	mov	eax, DWORD PTR -66964[rbp]
	cmp	eax, 4
	jle	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC84[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR -66964[rbp]
	cmp	eax, 1
	jne	.L13
	lea	rdi, .LC85[rip]
	call	puts@PLT
.L13:
	mov	eax, DWORD PTR -66964[rbp]
	cmp	eax, 2
	jne	.L14
	lea	rdi, .LC86[rip]
	call	puts@PLT
.L14:
	lea	rdi, .LC87[rip]
	call	puts@PLT
	lea	rcx, -66952[rbp]
	lea	rdx, -66956[rbp]
	lea	rax, -66960[rbp]
	mov	rsi, rax
	lea	rdi, .LC88[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	esi, DWORD PTR -66952[rbp]
	mov	ecx, DWORD PTR -66956[rbp]
	mov	edx, DWORD PTR -66960[rbp]
	lea	rax, -65808[rbp]
	mov	r8d, esi
	lea	rsi, .LC89[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, -65808[rbp]
	mov	eax, DWORD PTR -66948[rbp]
	mov	ecx, 0
	mov	edx, 256
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -66964[rbp]
	cmp	eax, 3
	jne	.L15
	lea	rdi, .LC85[rip]
	call	puts@PLT
.L15:
	mov	eax, DWORD PTR -66964[rbp]
	cmp	eax, 4
	jne	.L17
	lea	rdi, .LC85[rip]
	call	puts@PLT
	jmp	.L17
	.cfi_endproc
.LFE7:
	.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	"24488.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"id\000"
	.align	2
.LC1:
	.ascii	"print\000"
	.align	2
.LC2:
	.ascii	"clear\000"
	.align	2
.LC3:
	.ascii	"delete\000"
	.align	2
.LC4:
	.ascii	"generate\000"
	.align	2
.LC5:
	.ascii	"delay\000"
	.align	2
.LC6:
	.ascii	"loss\000"
	.align	2
.LC7:
	.ascii	"modify\000"
	.align	2
.LC8:
	.ascii	"setflag\000"
	.align	2
.LC9:
	.ascii	"drop\000"
	.align	2
.LC10:
	.ascii	"unset\000"
	.align	2
.LC11:
	.ascii	"help\000"
	.align	2
.LC12:
	.ascii	"insert\000"
	.align	2
.LC13:
	.ascii	"ACK\000"
	.align	2
.LC14:
	.ascii	"URG\000"
	.align	2
.LC15:
	.ascii	"PSH\000"
	.align	2
.LC16:
	.ascii	"SYN\000"
	.align	2
.LC17:
	.ascii	"FIN\000"
	.align	2
.LC18:
	.ascii	"RST\000"
	.align	2
.LC19:
	.ascii	"sport\000"
	.align	2
.LC20:
	.ascii	"dport\000"
	.align	2
.LC21:
	.ascii	"setwindow\000"
	.align	2
.LC22:
	.ascii	"setcheck\000"
	.align	2
.LC23:
	.ascii	"setSEQ\000"
	.align	2
.LC24:
	.ascii	"setACK\000"
	.align	2
.LC25:
	.ascii	"thread\000"
	.align	2
.LC26:
	.ascii	"times\000"
	.align	2
.LC27:
	.ascii	"setdoff\000"
	.align	2
.LC28:
	.ascii	"pcap\000"
	.align	2
.LC29:
	.ascii	"pcapng\000"
	.align	2
.LC30:
	.ascii	"destip\000"
	.align	2
.LC31:
	.ascii	"destip ran\000"
	.text
	.section	.rodata
	.align	2
.LC33:
	.ascii	"== USAGE ==\000"
	.align	2
.LC34:
	.ascii	">> genereate a connection entry\000"
	.align	2
.LC35:
	.ascii	"-g(--generate) <src ip> <dst ip> <protocol> <src po"
	.ascii	"rt> <dst port>\000"
	.align	2
.LC36:
	.ascii	">> print a connection table\000"
	.align	2
.LC37:
	.ascii	"-p(--print)\000"
	.align	2
.LC38:
	.ascii	">> clear a connection table\000"
	.align	2
.LC39:
	.ascii	"-p(--clear)\000"
	.align	2
.LC40:
	.ascii	">> delete a connection by id\000"
	.align	2
.LC41:
	.ascii	"--delete <connection id>\000"
	.align	2
.LC42:
	.ascii	">> modify a packets (need to specify -i option)\000"
	.align	2
.LC43:
	.ascii	"-i <connection id> -m(--modify) <beofre> <after> <p"
	.ascii	"ercentage>\000"
	.align	2
.LC44:
	.ascii	">> delay packets (need to specify -i option)\000"
	.align	2
.LC45:
	.ascii	"-i <connection id> -d(--delay) <mili seconds> <perc"
	.ascii	"entage> <diff_time>\000"
	.align	2
.LC46:
	.ascii	">> loss packets (need to specify -i option)\000"
	.align	2
.LC47:
	.ascii	"-i <connection id> -l(--loss) <percentage>\000"
	.align	2
.LC48:
	.ascii	">> drop all packets (need to specify -i option)\000"
	.align	2
.LC49:
	.ascii	"-i <connection id> --drop\000"
	.align	2
.LC50:
	.ascii	">> set TCP flag \000"
	.align	2
.LC51:
	.ascii	"-i <connection id> -a <tcp flag or no>\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	ldr	r0, .L2+16
	bl	puts
	ldr	r0, .L2+20
	bl	puts
	ldr	r0, .L2+24
	bl	puts
	ldr	r0, .L2+28
	bl	puts
	ldr	r0, .L2+32
	bl	puts
	ldr	r0, .L2+36
	bl	puts
	ldr	r0, .L2+40
	bl	puts
	ldr	r0, .L2+44
	bl	puts
	ldr	r0, .L2+48
	bl	puts
	ldr	r0, .L2+52
	bl	puts
	ldr	r0, .L2+56
	bl	puts
	ldr	r0, .L2+60
	bl	puts
	ldr	r0, .L2+64
	bl	puts
	ldr	r0, .L2+68
	bl	puts
	ldr	r0, .L2+72
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC52:
	.ascii	"START CONTROLLER\000"
	.align	2
.LC53:
	.ascii	"127.0.0.1\000"
	.align	2
.LC54:
	.ascii	"SOCKET\000"
	.align	2
.LC55:
	.ascii	"ERROR: nwsimulator isn't running!\012\000"
	.align	2
.LC57:
	.ascii	"mode list\000"
	.align	2
.LC58:
	.ascii	"====================================\000"
	.align	2
.LC59:
	.ascii	"1. print connection table\000"
	.align	2
.LC60:
	.ascii	"2. clear connection table\000"
	.align	2
.LC61:
	.ascii	"3. generate connection table\000"
	.align	2
.LC62:
	.ascii	"4. delete connection\000"
	.align	2
.LC63:
	.ascii	"5. packet manipulate setting\000"
	.align	2
.LC64:
	.ascii	"6. using scenario manipulate setting\000"
	.align	2
.LC65:
	.ascii	"7. output pcap log\000"
	.align	2
.LC66:
	.ascii	"8. output pcapng log\000"
	.align	2
.LC67:
	.ascii	"input mode id:\000"
	.align	2
.LC68:
	.ascii	"%d\000"
	.align	2
.LC69:
	.ascii	"%s\012\012\000"
	.align	2
.LC70:
	.ascii	"input Connection table id\000"
	.align	2
.LC71:
	.ascii	"example:\000"
	.align	2
.LC72:
	.ascii	"[source ip] [dest ip] [TCP] [sport] [dport]\000"
	.align	2
.LC73:
	.ascii	"%s%s%s%s%s\000"
	.align	2
.LC74:
	.ascii	"generate %s %s %s %s %s\000"
	.align	2
.LC75:
	.ascii	"input delete id\000"
	.align	2
.LC76:
	.ascii	"Invalid ID\012\000"
	.align	2
.LC77:
	.ascii	"delete %d\000"
	.align	2
.LC78:
	.ascii	"manipulate list\000"
	.align	2
.LC79:
	.ascii	"1. loss\000"
	.align	2
.LC80:
	.ascii	"2. delay\000"
	.align	2
.LC81:
	.ascii	"3. modify\000"
	.align	2
.LC82:
	.ascii	"4. insert\000"
	.align	2
.LC83:
	.ascii	"input number\000"
	.align	2
.LC84:
	.ascii	"Invalid manipulate_id\012\000"
	.align	2
.LC85:
	.ascii	"test\000"
	.align	2
.LC86:
	.ascii	"input delay param\000"
	.align	2
.LC87:
	.ascii	"[connection_table_id] [delay_time] [percentage ]\000"
	.align	2
.LC88:
	.ascii	"%d%d%d\000"
	.align	2
.LC89:
	.ascii	"setdelay %d %d %d 0\000"
	.align	2
.LC56:
	.word	.LC0
	.word	1
	.word	0
	.word	105
	.word	.LC1
	.word	0
	.word	0
	.word	112
	.word	.LC2
	.word	0
	.word	0
	.word	99
	.word	.LC3
	.word	1
	.word	0
	.word	2
	.word	.LC4
	.word	1
	.word	0
	.word	103
	.word	.LC5
	.word	1
	.word	0
	.word	100
	.word	.LC6
	.word	1
	.word	0
	.word	108
	.word	.LC7
	.word	1
	.word	0
	.word	109
	.word	.LC8
	.word	1
	.word	0
	.word	102
	.word	.LC9
	.word	0
	.word	0
	.word	1
	.word	.LC10
	.word	1
	.word	0
	.word	117
	.word	.LC11
	.word	0
	.word	0
	.word	104
	.word	.LC12
	.word	1
	.word	0
	.word	97
	.word	.LC13
	.word	1
	.word	0
	.word	65
	.word	.LC14
	.word	1
	.word	0
	.word	85
	.word	.LC15
	.word	1
	.word	0
	.word	80
	.word	.LC16
	.word	1
	.word	0
	.word	83
	.word	.LC17
	.word	1
	.word	0
	.word	70
	.word	.LC18
	.word	1
	.word	0
	.word	82
	.word	.LC19
	.word	1
	.word	0
	.word	122
	.word	.LC20
	.word	1
	.word	0
	.word	68
	.word	.LC21
	.word	1
	.word	0
	.word	87
	.word	.LC22
	.word	1
	.word	0
	.word	66
	.word	.LC23
	.word	1
	.word	0
	.word	77
	.word	.LC24
	.word	1
	.word	0
	.word	76
	.word	.LC25
	.word	1
	.word	0
	.word	84
	.word	.LC26
	.word	1
	.word	0
	.word	78
	.word	.LC27
	.word	1
	.word	0
	.word	79
	.word	.LC28
	.word	1
	.word	0
	.word	88
	.word	.LC29
	.word	1
	.word	0
	.word	71
	.word	.LC30
	.word	1
	.word	0
	.word	106
	.word	.LC31
	.word	1
	.word	0
	.word	74
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
.LC90:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 66440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #65536
	sub	sp, sp, #924
	sub	r3, fp, #65536
	sub	r3, r3, #12
	str	r0, [r3, #-900]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	str	r1, [r3, #-904]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	puts
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #868
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r0, .L21+8
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #868
	strh	r2, [r3, #2]	@ movhi
	ldr	r0, .L21+12
	bl	inet_addr
	mov	r3, r0
	sub	r2, fp, #65536
	sub	r2, r2, #12
	str	r3, [r2, #-864]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-872]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-872]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L21+16
	bl	perror
	bl	usage
	mvn	r0, #0
	bl	exit
.L5:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #868
	sub	r2, fp, #65536
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-872]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L21+20
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L21+24
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L6:
	ldr	r3, .L21+28
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r2, .L21+32
	sub	r3, r3, #852
	mov	r1, r2
	mov	r2, #528
	mov	r0, r3
	bl	memcpy
.L19:
	ldr	r0, .L21+36
	bl	puts
	ldr	r0, .L21+40
	bl	puts
	ldr	r0, .L21+44
	bl	puts
	ldr	r0, .L21+48
	bl	puts
	ldr	r0, .L21+52
	bl	puts
	ldr	r0, .L21+56
	bl	puts
	ldr	r0, .L21+60
	bl	puts
	ldr	r0, .L21+64
	bl	puts
	ldr	r0, .L21+68
	bl	puts
	ldr	r0, .L21+72
	bl	puts
	ldr	r0, .L21+40
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, .L21+76
	bl	printf
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #892
	mov	r1, r3
	ldr	r0, .L21+80
	bl	__isoc99_scanf
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-892]
	cmp	r3, #1
	bne	.L7
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #260
	ldr	r1, .L21+84
	mov	r0, r3
	bl	sprintf
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #260
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #256
	ldr	r0, [r0, #-872]
	bl	send
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #65536
	ldr	r0, [r0, #-872]
	bl	recv
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+88
	bl	printf
	b	.L19
.L7:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-892]
	cmp	r3, #2
	bne	.L9
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #260
	ldr	r1, .L21+92
	mov	r0, r3
	bl	sprintf
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #260
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #256
	ldr	r0, [r0, #-872]
	bl	send
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r0, [r3, #-872]
	bl	close
	b	.L19
.L9:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-892]
	cmp	r3, #3
	bne	.L10
	ldr	r0, .L21+96
	bl	puts
	ldr	r0, .L21+100
	bl	puts
	ldr	r0, .L21+104
	bl	puts
	sub	r0, fp, #65536
	sub	r0, r0, #12
	sub	r0, r0, #292
	sub	r2, fp, #65536
	sub	r2, r2, #12
	sub	r2, r2, #308
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #324
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #276
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L21+108
	bl	__isoc99_scanf
	sub	r0, fp, #65536
	sub	r0, r0, #12
	sub	r0, r0, #292
	sub	r2, fp, #65536
	sub	r2, r2, #12
	sub	r2, r2, #308
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #324
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #276
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L21+112
	bl	printf
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #308
	sub	r2, fp, #65536
	sub	r2, r2, #12
	sub	r2, r2, #324
	sub	r0, fp, #65536
	sub	r0, r0, #12
	sub	r0, r0, #260
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp, #8]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #276
	str	r3, [sp, #4]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #292
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L21+112
	bl	sprintf
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #260
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #256
	ldr	r0, [r0, #-872]
	bl	send
	b	.L19
.L10:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-892]
	cmp	r3, #4
	bne	.L11
	ldr	r0, .L21+116
	bl	puts
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #876
	mov	r1, r3
	ldr	r0, .L21+80
	bl	__isoc99_scanf
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-876]
	cmp	r3, #0
	bgt	.L12
	ldr	r3, .L21+20
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L21+120
	bl	fwrite
	mov	r0, #0
	bl	exit
.L12:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r2, [r3, #-876]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #260
	ldr	r1, .L21+124
	mov	r0, r3
	bl	sprintf
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #260
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #256
	ldr	r0, [r0, #-872]
	bl	send
	b	.L19
.L11:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-892]
	cmp	r3, #5
	bne	.L19
	ldr	r0, .L21+128
	bl	puts
	ldr	r0, .L21+132
	bl	puts
	ldr	r0, .L21+136
	bl	puts
	ldr	r0, .L21+140
	bl	puts
	ldr	r0, .L21+144
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, .L21+148
	bl	puts
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #888
	mov	r1, r3
	ldr	r0, .L21+80
	bl	__isoc99_scanf
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-888]
	cmp	r3, #0
	bgt	.L14
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-888]
	cmp	r3, #4
	ble	.L14
	ldr	r3, .L21+20
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L21+152
	bl	fwrite
	mov	r0, #0
	bl	exit
.L14:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-888]
	cmp	r3, #1
	bne	.L15
	ldr	r0, .L21+156
	bl	puts
.L15:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-888]
	cmp	r3, #2
	bne	.L16
	ldr	r0, .L21+160
	bl	puts
.L16:
	ldr	r0, .L21+164
	bl	puts
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #876
	sub	r2, fp, #65536
	sub	r2, r2, #12
	sub	r2, r2, #880
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #884
	ldr	r0, .L21+168
	bl	__isoc99_scanf
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r2, [r3, #-884]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r1, [r3, #-880]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-876]
	sub	r0, fp, #65536
	sub	r0, r0, #12
	sub	r0, r0, #260
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L21+172
	bl	sprintf
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #260
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #256
	ldr	r0, [r0, #-872]
	bl	send
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-888]
	cmp	r3, #3
	bne	.L17
	ldr	r0, .L21+156
	bl	puts
.L17:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-888]
	cmp	r3, #4
	bne	.L19
	ldr	r0, .L21+156
	bl	puts
	b	.L19
.L22:
	.align	2
.L21:
	.word	.LC90
	.word	.LC52
	.word	55555
	.word	.LC53
	.word	.LC54
	.word	stderr
	.word	.LC55
	.word	opterr
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC1
	.word	.LC69
	.word	.LC2
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
