// File: /workspace/github_cpp_makefile_star2_O2/yahoo[P]UDPing/src/statswriter.cc
// Function: StatsWriter::writeStatsdStats(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::writeStatsdStats (string guid, string peer, int port, Stats* stats) {
    stringstream stat("");
    stat << peer << "." << port << "." << this->receive_hostname << "." << this->listen_port << "." << "count" << ":" << stats->getCount() << "|c" << endl;
    stat << peer << "." << port << "." << this->receive_hostname << "." << this->listen_port << "." << "targetCount" << ":" << stats->getTargetCount() << "|c" << endl;
    stat << peer << "." << port << "." << this->receive_hostname << "." << this->listen_port << "." << "sum" << ":" << stats->getSum() << "|c" << endl;
    stat << peer << "." << port << "." << this->receive_hostname << "." << this->listen_port << "." << "sos" << ":" << stats->getSumOfSquares() << "|c" << endl;
    stat << peer << "." << port << "." << this->receive_hostname << "." << this->listen_port << "." << "max" << ":" << stats->getMax() << "|g" << endl;
    sendto(this->fd, stat.str().c_str(), stat.str().length(), 0, this->statsd_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 0x13a0(%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 %r12, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x15b1(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x1598(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x157e(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0x1564(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
leaq 0x1557(%rip), %rsi      # 0x65d0
movq %rax, %rdi
callq 0x22f0
leaq 0x13d0(%rip), %rsi      # 0x6458
movq %rax, %rdi
callq 0x22f0
movl 0x4(%r14), %esi
movq %rax, %rdi
callq 0x2460
leaq 0x1533(%rip), %rsi      # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq %r12, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x1509(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x14f0(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x14d6(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0x14bc(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
leaq 0x14b8(%rip), %rsi      # 0x65d9
movq %rax, %rdi
callq 0x22f0
leaq 0x1328(%rip), %rsi      # 0x6458
movq %rax, %rdi
callq 0x22f0
movl (%r14), %esi
movq %rax, %rdi
callq 0x21d0
leaq 0x148c(%rip), %rsi      # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq %r12, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x1462(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x1449(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x142f(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0x1415(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
leaq 0x141d(%rip), %rsi      # 0x65e5
movq %rax, %rdi
callq 0x22f0
leaq 0x1281(%rip), %rsi      # 0x6458
movq %rax, %rdi
callq 0x22f0
movsd 0x8(%r14), %xmm0
movq %rax, %rdi
callq 0x2440
leaq 0x13e2(%rip), %rsi      # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq %r12, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x13b8(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x139f(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x1385(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0x136b(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
leaq 0x1377(%rip), %rsi      # 0x65e9
movq %rax, %rdi
callq 0x22f0
leaq 0x11d7(%rip), %rsi      # 0x6458
movq %rax, %rdi
callq 0x22f0
movsd 0x10(%r14), %xmm0
movq %rax, %rdi
callq 0x2440
leaq 0x1338(%rip), %rsi      # 0x65d6
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
callq 0x2170
movq %r12, %rdi
movq %r15, %rsi
callq 0x2290
leaq 0x130e(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2460
leaq 0x12f5(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movq (%rbx), %rsi
movq %rax, %rdi
callq 0x22f0
leaq 0x12db(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2460
leaq 0x12c1(%rip), %rsi      # 0x65ce
movq %rax, %rdi
callq 0x22f0
leaq 0x12d1(%rip), %rsi      # 0x65ed
movq %rax, %rdi
callq 0x22f0
leaq 0x112d(%rip), %rsi      # 0x6458
movq %rax, %rdi
callq 0x22f0
movsd 0x18(%r14), %xmm0
movq %rax, %rdi
callq 0x2440
leaq 0x12a9(%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 0x10(%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 0x53d8
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2160
jmp 0x53fd
jmp 0x53fa
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2160
jmp 0x5407
movq %rax, %rbx
jmp 0x5407
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x2210
movq %rbx, %rdi
callq 0x2470
nop