// File: /workspace/github_c_makefile_star2_O1/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 0x3b6b(%rip), %rsi      # 0xaae0
movl %ecx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x1160
movzbl (%r14), %edx
movzbl 0x1(%r14), %ecx
movzbl 0x2(%r14), %r8d
movzbl 0x3(%r14), %r9d
movzbl 0x4(%r14), %r10d
movzbl 0x5(%r14), %r11d
leaq 0x3b0e(%rip), %rbx      # 0xaab2
movq %rbp, %rdi
movq %rbx, %rsi
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x1160
addq $0x10, %rsp
leaq 0x3aa1(%rip), %r12      # 0xaa61
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbp, %rcx
callq 0x1240
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 0x1160
addq $0x10, %rsp
leaq 0x3a57(%rip), %rbx      # 0xaa66
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rcx
callq 0x1240
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 0x3a7f(%rip), %r13      # 0xaad0
movq %rbp, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x1160
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbp, %rcx
callq 0x1240
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 0x1160
movzwl 0x14(%r14), %edx
movzwl 0x16(%r14), %ecx
leaq 0x39b9(%rip), %rsi      # 0xaa6a
movq %rbp, %rdi
xorl %eax, %eax
callq 0x1160
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rcx
callq 0x1240
movq 0x48(%r14), %rdx
leaq 0x399e(%rip), %rsi      # 0xaa79
movq %rbp, %rdi
xorl %eax, %eax
callq 0x1160
movq 0x50(%r14), %rdx
leaq 0x3998(%rip), %rsi      # 0xaa88
movq %rbp, %rdi
xorl %eax, %eax
callq 0x1160
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rcx
callq 0x1240
movq 0x58(%r14), %rsi
movq %rsi, %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rcx # imm = 0x20C49BA5E353F7CF
mulq %rcx
movq %rdx, %rdi
shrq $0x4, %rdi
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
movq %rsi, %rax
mulq %rcx
movq %rdx, %r8
shrq $0x12, %r8
movq %rsi, %rax
shrq $0x9, %rax
movabsq $0x44b82fa09b5a53, %r15 # imm = 0x44B82FA09B5A53
mulq %r15
movq %rdx, %rcx
shrq $0xb, %rcx
movq %rsi, %rax
shrq $0xb, %rax
movabsq $0x9299ff347e9e9, %rdx  # imm = 0x9299FF347E9E9
mulq %rdx
movq %rdx, %r11
shrq $0xc, %r11
movabsq $-0x63a000d9128a12ab, %rdx # imm = 0x9C5FFF26ED75ED55
movq %rsi, %rax
mulq %rdx
movq %rdx, %r10
shrq $0x29, %r10
imulq $-0x3e8, %rdi, %r13     # imm = 0xFC18
addq %rsi, %r13
imulq $-0x3e8, %r8, %rbx      # imm = 0xFC18
addq %rdi, %rbx
imulq $-0x3e8, %rcx, %r9      # imm = 0xFC18
addq %r8, %r9
imulq $-0x3c, %r11, %r8
addq %rcx, %r8
imulq $-0x3c, %r10, %rcx
addq %r11, %rcx
movslq 0x7bdb(%rip), %r12      # 0xeda0
leal 0x1(%r12), %eax
shlq $0x7, %r12
andl $0xf, %eax
movl %eax, 0x7bc9(%rip)      # 0xeda0
movabsq $0xaaaaaaaaaaaaaab, %rdx # imm = 0xAAAAAAAAAAAAAAB
movq %r10, %rax
mulq %rdx
shll $0x3, %edx
leaq (%rdx,%rdx,2), %rax
subq %rax, %r10
leaq 0x73a8(%rip), %rax      # 0xe5a0
addq %rax, %r12
leaq 0x2345(%rip), %rsi      # 0x9547
movq %r12, %rdi
movq %r10, %rdx
xorl %eax, %eax
pushq %r13
pushq %rbx
callq 0x1220
addq $0x10, %rsp
movq 0x60(%r14), %rsi
movq %rsi, %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rcx # imm = 0x20C49BA5E353F7CF
mulq %rcx
movq %rdx, %rdi
shrq $0x4, %rdi
movq %rsi, %rax
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
mulq %rcx
movq %rdx, %r8
shrq $0x12, %r8
movq %rsi, %rax
shrq $0x9, %rax
mulq %r15
movq %rdx, %rcx
movq %rsi, %rax
shrq $0xb, %rax
movabsq $0x9299ff347e9e9, %rdx  # imm = 0x9299FF347E9E9
mulq %rdx
movq %rdx, %r11
shrq $0xb, %rcx
shrq $0xc, %r11
movq %rsi, %rax
movabsq $-0x63a000d9128a12ab, %rdx # imm = 0x9C5FFF26ED75ED55
mulq %rdx
movq %rdx, %r10
shrq $0x29, %r10
imulq $-0x3e8, %rdi, %r15     # imm = 0xFC18
addq %rsi, %r15
imulq $-0x3e8, %r8, %rbx      # imm = 0xFC18
addq %rdi, %rbx
imulq $-0x3e8, %rcx, %r9      # imm = 0xFC18
addq %r8, %r9
imulq $-0x3c, %r11, %r8
addq %rcx, %r8
imulq $-0x3c, %r10, %rcx
addq %r11, %rcx
movslq 0x7ade(%rip), %r13      # 0xeda0
leal 0x1(%r13), %esi
andl $0xf, %esi
movq %r10, %rax
movabsq $0xaaaaaaaaaaaaaab, %rdx # imm = 0xAAAAAAAAAAAAAAB
mulq %rdx
movl %esi, 0x7ac1(%rip)      # 0xeda0
shll $0x3, %edx
leaq (%rdx,%rdx,2), %rax
subq %rax, %r10
shlq $0x7, %r13
leaq 0x72ac(%rip), %rax      # 0xe5a0
addq %rax, %r13
movq %r13, %rdi
leaq 0x2246(%rip), %rsi      # 0x9547
movq %r10, %rdx
xorl %eax, %eax
pushq %r15
pushq %rbx
callq 0x1220
addq $0x10, %rsp
leaq 0x377f(%rip), %rsi      # 0xaa98
movq %rbp, %rdi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1160
movq 0x60(%r14), %rsi
subq 0x58(%r14), %rsi
movq %rsi, %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rcx # imm = 0x20C49BA5E353F7CF
mulq %rcx
movq %rdx, %rdi
shrq $0x4, %rdi
movq %rsi, %rax
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
mulq %rcx
movq %rdx, %r8
shrq $0x12, %r8
movq %rsi, %rax
shrq $0x9, %rax
movabsq $0x44b82fa09b5a53, %rcx # imm = 0x44B82FA09B5A53
mulq %rcx
movq %rdx, %rcx
movq %rsi, %rax
shrq $0xb, %rax
movabsq $0x9299ff347e9e9, %rdx  # imm = 0x9299FF347E9E9
mulq %rdx
movq %rdx, %r11
shrq $0xb, %rcx
shrq $0xc, %r11
movq %rsi, %rax
movabsq $-0x63a000d9128a12ab, %rdx # imm = 0x9C5FFF26ED75ED55
mulq %rdx
movq %rdx, %r10
shrq $0x29, %r10
imulq $-0x3e8, %rdi, %rbx     # imm = 0xFC18
addq %rsi, %rbx
imulq $-0x3e8, %r8, %r15      # imm = 0xFC18
addq %rdi, %r15
imulq $-0x3e8, %rcx, %r9      # imm = 0xFC18
addq %r8, %r9
imulq $-0x3c, %r11, %r8
addq %rcx, %r8
imulq $-0x3c, %r10, %rcx
addq %r11, %rcx
movslq 0x79bd(%rip), %r14      # 0xeda0
leal 0x1(%r14), %eax
shlq $0x7, %r14
leaq 0x71ae(%rip), %rdx      # 0xe5a0
addq %rdx, %r14
andl $0xf, %eax
movl %eax, 0x79a2(%rip)      # 0xeda0
movq %r10, %rax
movabsq $0xaaaaaaaaaaaaaab, %rdx # imm = 0xAAAAAAAAAAAAAAB
mulq %rdx
shll $0x3, %edx
leaq (%rdx,%rdx,2), %rax
subq %rax, %r10
movq %r14, %rdi
leaq 0x2125(%rip), %rsi      # 0x9547
movq %r10, %rdx
xorl %eax, %eax
pushq %rbx
pushq %r15
callq 0x1220
addq $0x10, %rsp
leaq 0x3668(%rip), %rsi      # 0xaaa2
movq %rbp, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1160
movl $0xa, %edi
movq %rbp, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1130
nop