// File: /workspace/github_cpp_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1b80(%rip), %rdx      # 0x837b
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x425a
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
movl $0x18, %edx
callq 0x3450
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x6826
callq 0x32f0
leaq 0x50(%rsp), %rdi
movq (%r15), %rsi
movq 0x8(%r15), %rdx
callq 0x3340
movq %rax, %r13
leaq 0x1db5(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq %r13, %rdi
movl %ebp, %esi
callq 0x34a0
movq %rax, %r13
leaq 0x1d94(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq (%rbx), %r12
testq %r12, %r12
je 0x688f
movq %r12, %rdi
callq 0x3150
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x3340
jmp 0x68aa
movq (%r13), %rax
movq -0x18(%rax), %rax
movq %r13, %rdi
addq %rax, %rdi
movl 0x20(%r13,%rax), %esi
orl $0x1, %esi
callq 0x3490
leaq 0x1d45(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movl 0x8(%rbx), %esi
movq %r13, %rdi
callq 0x34a0
movq %rax, %r13
leaq 0x1d23(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
leaq 0x1d11(%rip), %rsi      # 0x85f8
movl $0x5, %edx
movq %r13, %rdi
callq 0x3340
leaq 0x1b85(%rip), %rsi      # 0x8480
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movl 0x4(%r14), %esi
movq %r13, %rdi
callq 0x34a0
movq %rax, %r13
leaq 0x1ce0(%rip), %rsi      # 0x85fe
movl $0x2, %edx
movq %rax, %rdi
callq 0x3340
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31e0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x50(%rsp), %rdi
callq 0x3340
movq %rax, %r13
leaq 0x1c88(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq %r13, %rdi
movl %ebp, %esi
callq 0x34a0
movq %rax, %r13
leaq 0x1c67(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq (%rbx), %r12
testq %r12, %r12
je 0x69bc
movq %r12, %rdi
callq 0x3150
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x3340
jmp 0x69d7
movq (%r13), %rax
movq -0x18(%rax), %rax
movq %r13, %rdi
addq %rax, %rdi
movl 0x20(%r13,%rax), %esi
orl $0x1, %esi
callq 0x3490
leaq 0x1c18(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movl 0x8(%rbx), %esi
movq %r13, %rdi
callq 0x34a0
movq %rax, %r13
leaq 0x1bf6(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
leaq 0x1bed(%rip), %rsi      # 0x8601
movl $0xb, %edx
movq %r13, %rdi
callq 0x3340
leaq 0x1a58(%rip), %rsi      # 0x8480
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movl (%r14), %esi
movq %r13, %rdi
callq 0x31d0
movq %rax, %r13
leaq 0x1bb4(%rip), %rsi      # 0x85fe
movl $0x2, %edx
movq %rax, %rdi
callq 0x3340
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31e0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x50(%rsp), %rdi
callq 0x3340
movq %rax, %r13
leaq 0x1b5c(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq %r13, %rdi
movl %ebp, %esi
callq 0x34a0
movq %rax, %r13
leaq 0x1b3b(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq (%rbx), %r12
testq %r12, %r12
je 0x6ae8
movq %r12, %rdi
callq 0x3150
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x3340
jmp 0x6b03
movq (%r13), %rax
movq -0x18(%rax), %rax
movq %r13, %rdi
addq %rax, %rdi
movl 0x20(%r13,%rax), %esi
orl $0x1, %esi
callq 0x3490
leaq 0x1aec(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movl 0x8(%rbx), %esi
movq %r13, %rdi
callq 0x34a0
movq %rax, %r13
leaq 0x1aca(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
leaq 0x1acd(%rip), %rsi      # 0x860d
movl $0x3, %edx
movq %r13, %rdi
callq 0x3340
leaq 0x192c(%rip), %rsi      # 0x8480
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movsd 0x8(%r14), %xmm0
movq %r13, %rdi
callq 0x3470
movq %rax, %r13
leaq 0x1a85(%rip), %rsi      # 0x85fe
movl $0x2, %edx
movq %rax, %rdi
callq 0x3340
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31e0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x50(%rsp), %rdi
callq 0x3340
movq %rax, %r13
leaq 0x1a2d(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq %r13, %rdi
movl %ebp, %esi
callq 0x34a0
movq %rax, %r13
leaq 0x1a0c(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq (%rbx), %r12
testq %r12, %r12
je 0x6c17
movq %r12, %rdi
callq 0x3150
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x3340
jmp 0x6c32
movq (%r13), %rax
movq -0x18(%rax), %rax
movq %r13, %rdi
addq %rax, %rdi
movl 0x20(%r13,%rax), %esi
orl $0x1, %esi
callq 0x3490
leaq 0x19bd(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movl 0x8(%rbx), %esi
movq %r13, %rdi
callq 0x34a0
movq %rax, %r13
leaq 0x199b(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
leaq 0x19a2(%rip), %rsi      # 0x8611
movl $0x3, %edx
movq %r13, %rdi
callq 0x3340
leaq 0x17fd(%rip), %rsi      # 0x8480
movl $0x1, %edx
movq %r13, %rdi
callq 0x3340
movsd 0x10(%r14), %xmm0
movq %r13, %rdi
callq 0x3470
movq %rax, %r13
leaq 0x1956(%rip), %rsi      # 0x85fe
movl $0x2, %edx
movq %rax, %rdi
callq 0x3340
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31e0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x50(%rsp), %rdi
callq 0x3340
movq %rax, %r15
leaq 0x18fe(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq %r15, %rdi
movl %ebp, %esi
callq 0x34a0
movq %rax, %r15
leaq 0x18dd(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
movq (%rbx), %r12
testq %r12, %r12
je 0x6d46
movq %r12, %rdi
callq 0x3150
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x3340
jmp 0x6d60
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %r15, %rdi
addq %rax, %rdi
movl 0x20(%r15,%rax), %esi
orl $0x1, %esi
callq 0x3490
leaq 0x188f(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %r15, %rdi
callq 0x3340
movl 0x8(%rbx), %esi
movq %r15, %rdi
callq 0x34a0
movq %rax, %r15
leaq 0x186d(%rip), %rsi      # 0x85f6
movl $0x1, %edx
movq %rax, %rdi
callq 0x3340
leaq 0x1878(%rip), %rsi      # 0x8615
movl $0x3, %edx
movq %r15, %rdi
callq 0x3340
leaq 0x16cf(%rip), %rsi      # 0x8480
movl $0x1, %edx
movq %r15, %rdi
callq 0x3340
movsd 0x18(%r14), %xmm0
movq %r15, %rdi
callq 0x3470
movq %rax, %r14
leaq 0x1843(%rip), %rsi      # 0x8619
movl $0x2, %edx
movq %rax, %rdi
callq 0x3340
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31e0
movl 0xc(%rbx), %ebp
leaq 0x58(%rsp), %r14
movq %rsp, %rdi
movq %r14, %rsi
callq 0x3440
movq (%rsp), %r15
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x3440
movq 0x28(%rsp), %rdx
movq 0x10(%rbx), %r8
movl %ebp, %edi
movq %r15, %rsi
xorl %ecx, %ecx
movl $0x10, %r9d
leaq 0x10(%rsp), %rbx
callq 0x3080
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6e61
callq 0x32f0
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x6e6f
callq 0x32f0
movq 0x4142(%rip), %rsi      # 0xafb8
leaq 0x40(%rsp), %rdi
callq 0x3220
leaq 0xc0(%rsp), %rdi
callq 0x3110
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6eba
callq 0x32f0
jmp 0x6eba
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6eec
callq 0x32f0
jmp 0x6eec
jmp 0x6ee9
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x6f0a
callq 0x32f0
jmp 0x6f0a
movq %rax, %rbx
jmp 0x6f0a
movq %rax, %rbx
movq 0x40c5(%rip), %rsi      # 0xafb8
leaq 0x40(%rsp), %rdi
callq 0x3220
leaq 0xc0(%rsp), %rdi
callq 0x3110
movq %rbx, %rdi
callq 0x34b0