// File: acherkaoui[P]HTOP/terminal/terminal.cpp
// Function: Curses::printNet()
void Curses::printNet()
{
	int x = 0;
	print(_net, x++, 2, "                                     "
		"                   ", 2);
	print(_net, x++, 2, ("                         " +
		data.network.getModuleName()).c_str(), 8);
	print(_net, x++, 2, "                                     "
		"                   ", 2);
	x++;
	wattron(_net, COLOR_PAIR(4));
	mvwprintw(_net, x++, 2, " Receive Bytes:\t%s        ", std::to_string(data.network.getInBytes()).c_str());
	mvwprintw(_net, x++, 2, " Transmit Bytes:\t%s        ", std::to_string(data.network.getOutBytes()).c_str());
	wattroff(_net, COLOR_PAIR(4));
	x++;
	wattron(_net, COLOR_PAIR(7));
	mvwprintw(_net, x++, 2, " Receive Packets:\t%s        ", std::to_string(data.network.getInPackets()).c_str());
	mvwprintw(_net, x++, 2, " Transmit Packets:\t%s        ", std::to_string(data.network.getOutPackets()).c_str());
	wattroff(_net, COLOR_PAIR(7));
	x++;
	print(_net, x++, 2, "                                     "
		"                   ", 2);

	mvwin(_net  , LINES - 15 - 18, 1);

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x100(%rbp)
movl $0x0, -0xc(%rbp)
movq 0x6d0(%rdi), %rsi
movl -0xc(%rbp), %edx
movl %edx, %eax
incl %eax
movl %eax, -0xc(%rbp)
leaq 0x328c(%rip), %r8       # 0x147f5
movl $0x2, %r9d
movl %r9d, %ecx
callq 0xfad0
movq -0x100(%rbp), %rsi
movq 0x6d0(%rsi), %rax
movq %rax, -0xf8(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0xec(%rbp)
incl %eax
movl %eax, -0xc(%rbp)
subq $-0x80, %rsi
leaq -0x50(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0xbcf0
movq -0xe8(%rbp), %rdx
leaq 0x3258(%rip), %rsi      # 0x14814
leaq -0x30(%rbp), %rdi
callq 0x12990
jmp 0x115c7
leaq -0x30(%rbp), %rdi
callq 0x41f0
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
movl -0xec(%rbp), %edx
movq %rax, %r8
movl $0x2, %ecx
movl $0x8, %r9d
callq 0xfad0
jmp 0x115f9
leaq -0x30(%rbp), %rdi
callq 0x42a0
leaq -0x50(%rbp), %rdi
callq 0x42a0
movq -0x100(%rbp), %rdi
movq 0x6d0(%rdi), %rsi
movl -0xc(%rbp), %edx
movl %edx, %eax
incl %eax
movl %eax, -0xc(%rbp)
leaq 0x31cb(%rip), %r8       # 0x147f5
movl $0x2, %r9d
movl %r9d, -0x108(%rbp)
movl %r9d, %ecx
callq 0xfad0
movq -0x100(%rbp), %rax
movl -0xc(%rbp), %ecx
incl %ecx
movl %ecx, -0xc(%rbp)
movq 0x6d0(%rax), %rdi
xorl %eax, %eax
movl %eax, -0x104(%rbp)
movl %eax, %edx
movl $0x400, %esi            # imm = 0x400
callq 0x4250
movq -0x100(%rbp), %rdi
movq 0x6d0(%rdi), %rax
movq %rax, -0x118(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x10c(%rbp)
incl %eax
movl %eax, -0xc(%rbp)
subq $-0x80, %rdi
callq 0xdfe0
movq %rax, %rsi
leaq -0x80(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x129e0
movq -0x120(%rbp), %rdi
callq 0x41f0
movq -0x118(%rbp), %rdi
movl -0x10c(%rbp), %esi
movl -0x108(%rbp), %edx
movq %rax, %r8
movl -0x104(%rbp), %eax
leaq 0x31b8(%rip), %rcx      # 0x1488f
callq 0x4110
jmp 0x116de
leaq -0x80(%rbp), %rdi
callq 0x42a0
movq -0x100(%rbp), %rdi
movq 0x6d0(%rdi), %rax
movq %rax, -0x130(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x124(%rbp)
incl %eax
movl %eax, -0xc(%rbp)
subq $-0x80, %rdi
callq 0xe3a0
movq %rax, %rsi
leaq -0xa0(%rbp), %rdi
movq %rdi, -0x138(%rbp)
callq 0x129e0
movq -0x138(%rbp), %rdi
callq 0x41f0
movq -0x130(%rbp), %rdi
movl -0x124(%rbp), %esi
movq %rax, %r8
leaq 0x315e(%rip), %rcx      # 0x148aa
xorl %eax, %eax
movl $0x2, %edx
callq 0x4110
jmp 0x1175a
leaq -0xa0(%rbp), %rdi
callq 0x42a0
movq -0x100(%rbp), %rax
movq 0x6d0(%rax), %rdi
xorl %eax, %eax
movl %eax, -0x13c(%rbp)
movl %eax, %edx
movq %rdx, -0x158(%rbp)
movl $0x400, %esi            # imm = 0x400
callq 0x4550
movq -0x158(%rbp), %rdx
movq -0x100(%rbp), %rax
movl -0xc(%rbp), %ecx
incl %ecx
movl %ecx, -0xc(%rbp)
movq 0x6d0(%rax), %rdi
movl $0x700, %esi            # imm = 0x700
callq 0x4250
movq -0x100(%rbp), %rdi
movq 0x6d0(%rdi), %rax
movq %rax, -0x148(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x140(%rbp)
incl %eax
movl %eax, -0xc(%rbp)
subq $-0x80, %rdi
callq 0xe370
movq %rax, %rsi
leaq -0xc0(%rbp), %rdi
movq %rdi, -0x150(%rbp)
callq 0x129e0
movq -0x150(%rbp), %rdi
callq 0x41f0
movq -0x148(%rbp), %rdi
movl -0x140(%rbp), %esi
movq %rax, %r8
movl -0x13c(%rbp), %eax
leaq 0x30a5(%rip), %rcx      # 0x148c6
movl $0x2, %edx
callq 0x4110
jmp 0x1182d
leaq -0xc0(%rbp), %rdi
callq 0x42a0
movq -0x100(%rbp), %rdi
movq 0x6d0(%rdi), %rax
movq %rax, -0x168(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x15c(%rbp)
incl %eax
movl %eax, -0xc(%rbp)
subq $-0x80, %rdi
callq 0xe3d0
movq %rax, %rsi
leaq -0xe0(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0x129e0
movq -0x170(%rbp), %rdi
callq 0x41f0
movq -0x168(%rbp), %rdi
movl -0x15c(%rbp), %esi
movq %rax, %r8
leaq 0x3045(%rip), %rcx      # 0x148e3
xorl %eax, %eax
movl $0x2, %edx
callq 0x4110
jmp 0x118ac
leaq -0xe0(%rbp), %rdi
callq 0x42a0
movq -0x100(%rbp), %rax
movq 0x6d0(%rax), %rdi
movl $0x700, %esi            # imm = 0x700
xorl %eax, %eax
movl %eax, %edx
callq 0x4550
movq -0x100(%rbp), %rdi
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
movq 0x6d0(%rdi), %rsi
movl -0xc(%rbp), %edx
movl %edx, %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
movl $0x2, %r9d
leaq 0x2ef2(%rip), %r8       # 0x147f5
movl %r9d, %ecx
callq 0xfad0
movq -0x100(%rbp), %rax
movq 0x6d0(%rax), %rdi
movq 0x9670(%rip), %rax      # 0x1af90
movl (%rax), %esi
subl $0xf, %esi
subl $0x12, %esi
movl $0x1, %edx
callq 0x4200
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x1195e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x42a0
leaq -0x50(%rbp), %rdi
callq 0x42a0
jmp 0x119cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x42a0
jmp 0x119cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x42a0
jmp 0x119cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x42a0
jmp 0x119cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x42a0
movq -0x58(%rbp), %rdi
callq 0x46f0
nopw %cs:(%rax,%rax)