// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %edx, %ebp
movq %rdi, %r15
leaq 0x10(%rdi), %rax
movq %rax, 0x30(%rsp)
leaq 0x20(%rdi), %rax
movq %rax, 0x28(%rsp)
movq %rax, 0x10(%rdi)
movq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
leaq 0x48(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x38(%rsp), %rdi
movq %rax, %rsi
callq 0x5d4e
movsbl %bpl, %edx
leaq 0x10(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x249c
movq 0x38(%rsp), %rdi
cmpq %rbx, %rdi
je 0x561f
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x10(%rsp), %rax
movq (%rax), %r12
callq 0x2040
movq %rax, %r14
movl (%rax), %ebx
movl $0x0, (%rax)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x5901
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x590d
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x590d
testl %ecx, %ecx
jne 0x5675
movl %ebx, (%r14)
movl %eax, (%r15)
movq 0x10(%rsp), %rax
movq 0x20(%rax), %r12
movl (%r14), %ebx
movl $0x0, (%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x5919
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x5925
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x5925
testl %ecx, %ecx
jne 0x56d7
movl %ebx, (%r14)
movl %eax, 0x4(%r15)
movq 0x10(%rsp), %rax
movq 0x40(%rax), %r12
movl (%r14), %ebp
movl $0x0, (%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x5931
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x593d
movl (%r14), %ebx
cmpl $0x22, %ebx
je 0x593d
testl %ebx, %ebx
jne 0x573c
movl %ebp, (%r14)
movl %ebp, %ebx
movw %ax, 0x8(%r15)
movq 0x10(%rsp), %rax
movq 0x60(%rax), %r12
movl $0x0, (%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x5949
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x5955
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x5955
testl %ecx, %ecx
jne 0x579d
movl %ebx, (%r14)
movl %eax, 0xc(%r15)
movq 0x10(%rsp), %rsi
subq $-0x80, %rsi
movq 0x30(%rsp), %rdi
callq 0x2110
movq 0x10(%rsp), %rax
movq 0xa0(%rax), %r12
movl (%r14), %ebp
movl $0x0, (%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x5961
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x596d
movl (%r14), %ebx
cmpl $0x22, %ebx
je 0x596d
testl %ebx, %ebx
jne 0x5818
movl %ebp, (%r14)
movl %ebp, %ebx
testl %eax, %eax
setne 0x30(%r15)
movq 0x10(%rsp), %rax
movq 0xc0(%rax), %r12
movl $0x0, (%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x5979
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x5985
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x5985
testl %ecx, %ecx
jne 0x587e
movl %ebx, (%r14)
movl %eax, 0x34(%r15)
movq 0x10(%rsp), %rax
movq 0xe0(%rax), %r12
movl (%r14), %ebx
movl $0x0, (%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x5991
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x599d
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x599d
testl %ecx, %ecx
jne 0x58e4
movl %ebx, (%r14)
movl %eax, 0x38(%r15)
leaq 0x10(%rsp), %rdi
callq 0x439e
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1c45(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c39(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c2d(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c21(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c15(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c09(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1bfd(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1bf1(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1be5(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1bd9(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1bcd(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1bc1(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1bb5(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1ba9(%rip), %rdi      # 0x754d
callq 0x2280
movq %rax, %r15
jmp 0x59f3
movq %rax, %r15
movq 0x38(%rsp), %rdi
cmpq %rbx, %rdi
je 0x59fd
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x59fd
movq %rax, %r15
jmp 0x59fd
jmp 0x59e7
jmp 0x59e7
jmp 0x59d7
jmp 0x59e7
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x59f3
movl %ebp, (%r14)
jmp 0x59f3
jmp 0x59e7
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x59f3
movl %ebx, (%r14)
leaq 0x10(%rsp), %rdi
callq 0x439e
movq 0x30(%rsp), %rax
movq (%rax), %rdi
cmpq 0x28(%rsp), %rdi
je 0x5a1c
movq 0x28(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2200
movq %r15, %rdi
callq 0x22e0