// File: SaadBazaz[P]RIP-Protocol-Simulation/./RoutingTable.h
// Function: TableRow::TableRow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, char)
TableRow (std::string data, char delimiter = ','){

		auto vec = tokenizeData (data, delimiter);
		// for (int i=0; i<vec.size(); i++){
		// 	std::cout<<vec[i]<<std::endl;
		// }
		identifier = stoi(vec[0]);
		// int client_name;
		fd = stoi(vec[1]);
		status = stoi(vec[2]);
		hop_count = stoi(vec[3]);
		type = vec[4];
		in_use = stoi(vec[5]);
		send_port = stoi(vec[6]);
		receive_port = stoi(vec[7]);
		
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rsi, -0x68(%rbp)
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb %al, -0x11(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x78(%rbp)
addq $0x10, %rdi
movq %rdi, -0x70(%rbp)
callq 0x33a0
movq -0x68(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x3100
jmp 0x5d40
movsbl -0x11(%rbp), %edx
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x3610
jmp 0x5d53
leaq -0x50(%rbp), %rdi
callq 0x31a0
xorl %eax, %eax
movl %eax, %esi
movq %rsi, -0x88(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x5ce0
movq -0x88(%rbp), %rsi
movq %rax, %rdi
movl $0xa, %edx
callq 0x6650
movl %eax, -0x7c(%rbp)
jmp 0x5d89
movq -0x78(%rbp), %rax
movl -0x7c(%rbp), %ecx
movl %ecx, (%rax)
leaq -0x30(%rbp), %rdi
movl $0x1, %esi
callq 0x5ce0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x6650
movl %eax, -0x8c(%rbp)
jmp 0x5db9
movq -0x78(%rbp), %rax
movl -0x8c(%rbp), %ecx
movl %ecx, 0x4(%rax)
leaq -0x30(%rbp), %rdi
movl $0x2, %esi
callq 0x5ce0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x6650
movl %eax, -0x90(%rbp)
jmp 0x5ded
movq -0x78(%rbp), %rax
movl -0x90(%rbp), %ecx
movw %cx, 0x8(%rax)
leaq -0x30(%rbp), %rdi
movl $0x3, %esi
callq 0x5ce0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x6650
movl %eax, -0x94(%rbp)
jmp 0x5e22
movq -0x78(%rbp), %rax
movl -0x94(%rbp), %ecx
movl %ecx, 0xc(%rax)
leaq -0x30(%rbp), %rdi
movl $0x4, %esi
callq 0x5ce0
movq -0x78(%rbp), %rdi
movq %rax, %rsi
addq $0x10, %rdi
callq 0x3040
jmp 0x5e4f
leaq -0x30(%rbp), %rdi
movl $0x5, %esi
callq 0x5ce0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x6650
movl %eax, -0x98(%rbp)
jmp 0x5e76
movq -0x78(%rbp), %rax
movl -0x98(%rbp), %ecx
testl %ecx, %ecx
setne 0x30(%rax)
leaq -0x30(%rbp), %rdi
movl $0x6, %esi
callq 0x5ce0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x6650
movl %eax, -0x9c(%rbp)
jmp 0x5ead
movq -0x78(%rbp), %rax
movl -0x9c(%rbp), %ecx
movl %ecx, 0x34(%rax)
leaq -0x30(%rbp), %rdi
movl $0x7, %esi
callq 0x5ce0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xa, %edx
callq 0x6650
movl %eax, -0xa0(%rbp)
jmp 0x5ee1
movq -0x78(%rbp), %rax
movl -0xa0(%rbp), %ecx
movl %ecx, 0x38(%rax)
leaq -0x30(%rbp), %rdi
callq 0x5580
addq $0xa0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x5f3a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x31a0
jmp 0x5f3a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x5580
movq -0x70(%rbp), %rdi
callq 0x31a0
movq -0x58(%rbp), %rdi
callq 0x3440
nopl (%rax)