// File: /workspace/github_cpp_makefile_star2_O1/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 0x5cd8
movsbl %bpl, %edx
leaq 0x10(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x249c
movq 0x38(%rsp), %rdi
cmpq %rbx, %rdi
je 0x55dd
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x10(%rsp), %rax
movq (%rax), %r12
callq 0x2040
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x588f
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x589b
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x589b
testl %ecx, %ecx
jne 0x5633
movl %ebp, (%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 0x58a7
movabsq $-0x100000000, %rbp     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rbp, %rcx
jb 0x58b3
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x58b3
testl %ecx, %ecx
jne 0x5695
movl %ebx, (%r14)
movl %eax, 0x4(%r15)
movq 0x10(%rsp), %rax
movq 0x40(%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 0x58bf
leaq -0x80000000(%rax), %rcx
cmpq %rbp, %rcx
jb 0x58cb
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x58cb
testl %ecx, %ecx
jne 0x56ee
movl %ebx, (%r14)
movw %ax, 0x8(%r15)
movq 0x10(%rsp), %rax
movq 0x60(%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 0x58d7
leaq -0x80000000(%rax), %rcx
cmpq %rbp, %rcx
jb 0x58e3
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x58e3
testl %ecx, %ecx
jne 0x5748
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), %ebx
movl $0x0, (%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
cmpq %r12, (%r13)
je 0x58ef
leaq -0x80000000(%rax), %rcx
cmpq %rbp, %rcx
jb 0x58fb
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x58fb
testl %ecx, %ecx
jne 0x57b7
movl %ebx, (%r14)
testl %eax, %eax
setne 0x30(%r15)
movq 0x10(%rsp), %rax
movq 0xc0(%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 0x5907
leaq -0x80000000(%rax), %rcx
cmpq %rbp, %rcx
jb 0x5913
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x5913
testl %ecx, %ecx
jne 0x5816
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 0x591f
leaq -0x80000000(%rax), %rcx
cmpq %rbp, %rcx
jb 0x592b
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x592b
testl %ecx, %ecx
jne 0x5872
movl %ebx, (%r14)
movl %eax, 0x38(%r15)
leaq 0x10(%rsp), %rdi
callq 0x4346
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1cb7(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1cab(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c9f(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c93(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c87(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c7b(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c6f(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c63(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c57(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c4b(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c3f(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c33(%rip), %rdi      # 0x754d
callq 0x2280
leaq 0x1c27(%rip), %rdi      # 0x754d
callq 0x2120
leaq 0x1c1b(%rip), %rdi      # 0x754d
callq 0x2280
movq %rax, %r15
jmp 0x5973
movq %rax, %r15
movq 0x38(%rsp), %rdi
cmpq %rbx, %rdi
je 0x597d
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x597d
movq %rax, %r15
jmp 0x597d
jmp 0x5967
jmp 0x5967
jmp 0x5967
jmp 0x5967
jmp 0x5967
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x5973
movl %ebx, (%r14)
leaq 0x10(%rsp), %rdi
callq 0x4346
movq 0x30(%rsp), %rax
movq (%rax), %rdi
cmpq 0x28(%rsp), %rdi
je 0x599c
movq 0x28(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2200
movq %r15, %rdi
callq 0x22e0
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x5973
movl %ebp, (%r14)
jmp 0x5973