// File: /workspace/github_c_makefile_star2_O3/fmadio[P]pcap_flow/main.c
// Function: PrintFlowUDP
static void PrintFlowUDP(FILE* Out, FlowHash_t* F, u32 FlowID, u32 FlowCnt)
{

	UDPHash_t* UDP = (UDPHash_t*)F->Data;
	fprintf(Out, "%5i FlowID: %8i | UDP  ", FlowCnt, FlowID); 	
	PrintMAC(Out, UDP->MACSrc);
	fprintf(Out, " -> ");
	PrintMAC(Out, UDP->MACDst);

	fprintf(Out, " | ");
	PrintIP4(Out, UDP->IPSrc);
	fprintf(Out, " -> ");
	PrintIP4(Out, UDP->IPDst);

	fprintf(Out, " | %6i -> %6i ", UDP->PortSrc, UDP->PortDst);

	fprintf(Out, " | ");
	fprintf(Out, " %'16lld Pkts ", F->PktCnt);
	fprintf(Out, " %'16lli Bytes ", F->Bytes);

	fprintf(Out, " | ");
	fprintf(Out, " %s -> %s", FormatTS(F->TSFirst), FormatTS(F->TSLast) ); 
	fprintf(Out, " : %s", FormatTS(F->TSLast - F->TSFirst));

	fprintf(Out, "\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %eax
movq %rsi, %r14
movq %rdi, %rbp
leaq 0x3fac(%rip), %rsi      # 0xaae0
movl %ecx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x1170
movzbl (%r14), %edx
movzbl 0x1(%r14), %ecx
movzbl 0x2(%r14), %r8d
movzbl 0x3(%r14), %r9d
movzbl 0x4(%r14), %r10d
movzbl 0x5(%r14), %r11d
leaq 0x3f4f(%rip), %rbx      # 0xaab2
movq %rbp, %rdi
movq %rbx, %rsi
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x1170
addq $0x10, %rsp
leaq 0x3ee2(%rip), %r12      # 0xaa61
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbp, %rcx
callq 0x1250
movzbl 0x6(%r14), %edx
movzbl 0x7(%r14), %ecx
movzbl 0x8(%r14), %r8d
movzbl 0x9(%r14), %r9d
movzbl 0xa(%r14), %r10d
movzbl 0xb(%r14), %r11d
movq %rbp, %rdi
movq %rbx, %rsi
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x1170
addq $0x10, %rsp
leaq 0x3e98(%rip), %rbx      # 0xaa66
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rcx
callq 0x1250
movl 0xc(%r14), %edx
movl %edx, %ecx
shrl $0x8, %ecx
movl %edx, %r8d
shrl $0x10, %r8d
movl %edx, %r9d
shrl $0x18, %r9d
movl $0xff, %r15d
andl %r15d, %edx
andl %r15d, %ecx
andl %r15d, %r8d
leaq 0x3ec0(%rip), %r13      # 0xaad0
movq %rbp, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x1170
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbp, %rcx
callq 0x1250
movl 0x10(%r14), %edx
movl %edx, %ecx
shrl $0x8, %ecx
movl %edx, %r8d
shrl $0x10, %r8d
movl %edx, %r9d
shrl $0x18, %r9d
andl %r15d, %edx
andl %r15d, %ecx
andl %r15d, %r8d
movq %rbp, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x1170
movzwl 0x14(%r14), %edx
movzwl 0x16(%r14), %ecx
leaq 0x3dfa(%rip), %rsi      # 0xaa6a
movq %rbp, %rdi
xorl %eax, %eax
callq 0x1170
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rcx
callq 0x1250
movq 0x48(%r14), %rdx
leaq 0x3ddf(%rip), %rsi      # 0xaa79
movq %rbp, %rdi
xorl %eax, %eax
callq 0x1170
movq 0x50(%r14), %rdx
leaq 0x3dd9(%rip), %rsi      # 0xaa88
movq %rbp, %rdi
xorl %eax, %eax
callq 0x1170
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rcx
callq 0x1250
movq 0x58(%r14), %rcx
movq %rcx, %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rdx # imm = 0x20C49BA5E353F7CF
mulq %rdx
movq %rdx, %rsi
movabsq $0x431bde82d7b634db, %rdx # imm = 0x431BDE82D7B634DB
movq %rcx, %rax
mulq %rdx
movq %rdx, %rdi
shrq $0x4, %rsi
movq %rcx, %rax
shrq $0x9, %rax
movabsq $0x44b82fa09b5a53, %rdx # imm = 0x44B82FA09B5A53
mulq %rdx
movq %rdx, %r10
shrq $0x12, %rdi
movq %rcx, %rax
shrq $0xb, %rax
movabsq $0x9299ff347e9e9, %rdx  # imm = 0x9299FF347E9E9
mulq %rdx
movq %rdx, %r11
shrq $0xb, %r10
shrq $0xc, %r11
movabsq $-0x63a000d9128a12ab, %r15 # imm = 0x9C5FFF26ED75ED55
movq %rcx, %rax
mulq %r15
shrq $0x29, %rdx
imulq $-0x3e8, %rsi, %r13     # imm = 0xFC18
addq %rcx, %r13
imulq $-0x3e8, %rdi, %rbx     # imm = 0xFC18
addq %rsi, %rbx
imulq $-0x3e8, %r10, %r9      # imm = 0xFC18
addq %rdi, %r9
imulq $-0x3c, %r11, %r8
addq %r10, %r8
imulq $-0x3c, %rdx, %rcx
addq %r11, %rcx
movslq 0x801f(%rip), %r12      # 0xeda0
leal 0x1(%r12), %eax
shlq $0x7, %r12
leaq 0x780f(%rip), %rsi      # 0xe5a0
addq %rsi, %r12
andl $0xf, %eax
movl %eax, 0x8003(%rip)      # 0xeda0
imulq $0xaaaaaab, %rdx, %rax  # imm = 0xAAAAAAB
shrq $0x20, %rax
shll $0x3, %eax
leal (%rax,%rax,2), %eax
subl %eax, %edx
leaq 0x2790(%rip), %rsi      # 0x9547
movq %r12, %rdi
xorl %eax, %eax
pushq %r13
pushq %rbx
callq 0x1230
addq $0x10, %rsp
movq 0x60(%r14), %rcx
movq %rcx, %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rdx # imm = 0x20C49BA5E353F7CF
mulq %rdx
movq %rdx, %rsi
movq %rcx, %rax
movabsq $0x431bde82d7b634db, %rdx # imm = 0x431BDE82D7B634DB
mulq %rdx
movq %rdx, %rdi
shrq $0x4, %rsi
shrq $0x12, %rdi
movq %rcx, %rax
shrq $0x9, %rax
movabsq $0x44b82fa09b5a53, %rdx # imm = 0x44B82FA09B5A53
mulq %rdx
movq %rdx, %r10
shrq $0xb, %r10
movq %rcx, %rax
shrq $0xb, %rax
movabsq $0x9299ff347e9e9, %rdx  # imm = 0x9299FF347E9E9
mulq %rdx
movq %rdx, %r11
shrq $0xc, %r11
movq %rcx, %rax
mulq %r15
shrq $0x29, %rdx
imulq $-0x3e8, %rsi, %r15     # imm = 0xFC18
addq %rcx, %r15
imulq $-0x3e8, %rdi, %rbx     # imm = 0xFC18
addq %rsi, %rbx
imulq $-0x3e8, %r10, %r9      # imm = 0xFC18
addq %rdi, %r9
imulq $-0x3c, %r11, %r8
addq %r10, %r8
imulq $-0x3c, %rdx, %rcx
addq %r11, %rcx
movslq 0x7f2f(%rip), %r13      # 0xeda0
leal 0x1(%r13), %eax
shlq $0x7, %r13
leaq 0x7720(%rip), %rsi      # 0xe5a0
addq %rsi, %r13
andl $0xf, %eax
movl %eax, 0x7f14(%rip)      # 0xeda0
imulq $0xaaaaaab, %rdx, %rax  # imm = 0xAAAAAAB
shrq $0x20, %rax
shll $0x3, %eax
leal (%rax,%rax,2), %eax
subl %eax, %edx
movq %r13, %rdi
leaq 0x269e(%rip), %rsi      # 0x9547
xorl %eax, %eax
pushq %r15
pushq %rbx
callq 0x1230
addq $0x10, %rsp
leaq 0x3bda(%rip), %rsi      # 0xaa98
movq %rbp, %rdi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1170
movq 0x60(%r14), %rcx
subq 0x58(%r14), %rcx
movq %rcx, %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rdx # imm = 0x20C49BA5E353F7CF
mulq %rdx
movq %rdx, %rsi
movq %rcx, %rax
movabsq $0x431bde82d7b634db, %rdx # imm = 0x431BDE82D7B634DB
mulq %rdx
movq %rdx, %rdi
shrq $0x4, %rsi
shrq $0x12, %rdi
movq %rcx, %rax
shrq $0x9, %rax
movabsq $0x44b82fa09b5a53, %rdx # imm = 0x44B82FA09B5A53
mulq %rdx
movq %rdx, %r10
shrq $0xb, %r10
movq %rcx, %rax
shrq $0xb, %rax
movabsq $0x9299ff347e9e9, %rdx  # imm = 0x9299FF347E9E9
mulq %rdx
movq %rdx, %r11
shrq $0xc, %r11
movq %rcx, %rax
movabsq $-0x63a000d9128a12ab, %rdx # imm = 0x9C5FFF26ED75ED55
mulq %rdx
shrq $0x29, %rdx
imulq $-0x3e8, %rsi, %rbx     # imm = 0xFC18
addq %rcx, %rbx
imulq $-0x3e8, %rdi, %r15     # imm = 0xFC18
addq %rsi, %r15
imulq $-0x3e8, %r10, %r9      # imm = 0xFC18
addq %rdi, %r9
imulq $-0x3c, %r11, %r8
addq %r10, %r8
imulq $-0x3c, %rdx, %rcx
addq %r11, %rcx
movslq 0x7e1b(%rip), %r14      # 0xeda0
leal 0x1(%r14), %eax
shlq $0x7, %r14
leaq 0x760c(%rip), %rsi      # 0xe5a0
addq %rsi, %r14
andl $0xf, %eax
movl %eax, 0x7e00(%rip)      # 0xeda0
imulq $0xaaaaaab, %rdx, %rax  # imm = 0xAAAAAAB
shrq $0x20, %rax
shll $0x3, %eax
leal (%rax,%rax,2), %eax
subl %eax, %edx
movq %r14, %rdi
leaq 0x258a(%rip), %rsi      # 0x9547
xorl %eax, %eax
pushq %rbx
pushq %r15
callq 0x1230
addq $0x10, %rsp
leaq 0x3ad0(%rip), %rsi      # 0xaaa2
movq %rbp, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1170
movl $0xa, %edi
movq %rbp, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1130
nop