// File: /workspace/github_cpp_makefile_star2_O2/yahoo[P]UDPing/src/statswriter.cc
// Function: StatsWriter::writeTagsStats(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, Stats*)
void StatsWriter::writeTagsStats (string guid, string peer, int port, Stats* stats) {
    stringstream stat("");
    stat << this->tags_metric << ".count,from_host=" << peer << ",from_port=" << port << ",to_host=" << this->receive_hostname << ",to_port=" << this->listen_port << ":" << stats->getCount() << "|c" << endl;
    stat << this->tags_metric << ".targetCount,from_host=" << peer << ",from_port=" << port << ",to_host=" << this->receive_hostname << ",to_port=" << this->listen_port << ":" << stats->getTargetCount() << "|c" << endl;
    stat << this->tags_metric << ".sum,from_host=" << peer << ",from_port=" << port << ",to_host=" << this->receive_hostname << ",to_port=" << this->listen_port << ":" << stats->getSum() << "|c" << endl;
    stat << this->tags_metric << ".sos,from_host=" << peer << ",from_port=" << port << ",to_host=" << this->receive_hostname << ",to_port=" << this->listen_port << ":" << stats->getSumOfSquares() << "|c" << endl;
    stat << this->tags_metric << ".max,from_host=" << peer << ",from_port=" << port << ",to_host=" << this->receive_hostname << ",to_port=" << this->listen_port << ":" << stats->getMax() << "|g" << endl;
    sendto(this->fd, stat.str().c_str(), stat.str().length(), 0, this->tags_sa, sizeof(sockaddr));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1d0, %rsp            # imm = 0x1D0
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %rbx
leaq 0xf4a(%rip), %rsi       # 0x637b
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2120
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
pushq $0x18
popq %rdx
callq 0x2420
leaq 0x8(%rsp), %rdi
callq 0x2160
leaq 0x58(%rsp), %r12
movq 0x20(%rbx), %rsi
movq %r12, %rdi
callq 0x22f0
leaq 0x1180(%rip), %rsi      # 0x65f4
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x1178(%rip), %rsi      # 0x6606
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x116b(%rip), %rsi      # 0x6612
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x115b(%rip), %rsi      # 0x661c
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0xf7d(%rip), %rsi       # 0x6458
movq %rax, %rdi
callq 0x22f0
movl 0x4(%r14), %esi
movq %rax, %rdi
callq 0x2460
leaq 0x10e0(%rip), %rsi      # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq 0x20(%rbx), %rsi
movq %r12, %rdi
callq 0x22f0
leaq 0x110d(%rip), %rsi      # 0x6626
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x10d3(%rip), %rsi      # 0x6606
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x10c6(%rip), %rsi      # 0x6612
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x10b6(%rip), %rsi      # 0x661c
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0xed8(%rip), %rsi       # 0x6458
movq %rax, %rdi
callq 0x22f0
movl (%r14), %esi
movq %rax, %rdi
callq 0x21d0
leaq 0x103c(%rip), %rsi      # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq 0x20(%rbx), %rsi
movq %r12, %rdi
callq 0x22f0
leaq 0x1081(%rip), %rsi      # 0x663e
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x102f(%rip), %rsi      # 0x6606
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x1022(%rip), %rsi      # 0x6612
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x1012(%rip), %rsi      # 0x661c
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0xe34(%rip), %rsi       # 0x6458
movq %rax, %rdi
callq 0x22f0
movsd 0x8(%r14), %xmm0
movq %rax, %rdi
callq 0x2440
leaq 0xf95(%rip), %rsi       # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq 0x20(%rbx), %rsi
movq %r12, %rdi
callq 0x22f0
leaq 0xfea(%rip), %rsi       # 0x664e
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0xf88(%rip), %rsi       # 0x6606
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0xf7b(%rip), %rsi       # 0x6612
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0xf6b(%rip), %rsi       # 0x661c
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0xd8d(%rip), %rsi       # 0x6458
movq %rax, %rdi
callq 0x22f0
movsd 0x10(%r14), %xmm0
movq %rax, %rdi
callq 0x2440
leaq 0xeee(%rip), %rsi       # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq 0x20(%rbx), %rsi
movq %r12, %rdi
callq 0x22f0
leaq 0xf53(%rip), %rsi       # 0x665e
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0xee1(%rip), %rsi       # 0x6606
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0xed4(%rip), %rsi       # 0x6612
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0xec4(%rip), %rsi       # 0x661c
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0xce6(%rip), %rsi       # 0x6458
movq %rax, %rdi
callq 0x22f0
movsd 0x18(%r14), %xmm0
movq %rax, %rdi
callq 0x2440
leaq 0xe62(%rip), %rsi       # 0x65f1
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movl 0xc(%rbx), %ebp
leaq 0x60(%rsp), %r15
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x2410
movq 0x8(%rsp), %r14
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0x2410
movq 0x30(%rsp), %rdx
movq 0x18(%rbx), %r8
pushq $0x10
popq %r9
movl %ebp, %edi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x2070
leaq 0x28(%rsp), %rdi
callq 0x2160
leaq 0x8(%rsp), %rdi
callq 0x2160
leaq 0x48(%rsp), %rdi
callq 0x2210
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x2160
jmp 0x581f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2160
jmp 0x5844
jmp 0x5841
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2160
jmp 0x584e
movq %rax, %rbx
jmp 0x584e
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x2210
movq %rbx, %rdi
callq 0x2470