// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/cloud-writers.cpp
// Function: CloudWriter::generate_filename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long)
std::string CloudWriter::generate_filename(const std::string& ext,
                                           const std::string& dir,
                                           const std::string& name,
                                           size_t cnt) {
  auto t = std::time(nullptr);
  auto tm = *std::localtime(&t);
  std::ostringstream oss;
  oss << std::put_time(&tm, "%d.%m.%Y-%H.%M.%S");

  std::string filename = dir + "/" + oss.str();
  if (name != "") {
    filename += "-" + name;
  }
  if (cnt != 0) {
    filename += "-" + std::to_string(cnt);
  }
  filename += "." + ext;
  return filename;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %r8, -0x70(%rbp)
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, -0x78(%rbp)
movq %rdi, %rbx
xorl %edi, %edi
callq 0x3210
leaq -0x80(%rbp), %rdi
movq %rax, (%rdi)
callq 0x31a0
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
leaq -0xc0(%rbp), %r14
movaps %xmm0, (%r14)
movaps %xmm1, 0x10(%r14)
movaps %xmm2, 0x20(%r14)
movq 0x30(%rax), %rax
movq %rax, 0x30(%r14)
leaq -0x238(%rbp), %r15
movq %r15, %rdi
callq 0x3300
leaq 0x2556(%rip), %rdx      # 0x94d8
movq %r15, %rdi
movq %r14, %rsi
callq 0x8127
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x5aa4
leaq 0x253a(%rip), %rsi      # 0x94ea
leaq -0x48(%rbp), %rdi
callq 0x3490
movq -0x70(%rbp), %r14
leaq -0x230(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x3390
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %r8
movq -0x60(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x6feb
movq -0x38(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x7008
leaq -0x58(%rbp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x7003
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x7017
movq -0x68(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x30b0
jmp 0x7024
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3280
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x7043
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x7049
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x58(%rbp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x707e
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3260
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x7093
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
leaq 0x2761(%rip), %rsi      # 0x97fb
movq %r12, %rdi
callq 0x3090
testl %eax, %eax
je 0x70de
leaq 0x243f(%rip), %rsi      # 0x94ec
leaq -0x48(%rbp), %rdi
movq %r12, %rdx
callq 0x82cd
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x70de
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
testq %r14, %r14
je 0x71f6
movl $0x1, %esi
cmpq $0xa, %r14
jb 0x7141
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r14, %rcx
cmpq $0x63, %rcx
jbe 0x713a
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x713f
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x7141
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x7104
addl $-0x3, %esi
jmp 0x7141
addl $-0x2, %esi
jmp 0x7141
decl %esi
movl %esi, %esi
leaq -0x68(%rbp), %rdi
movq %r13, (%rdi)
xorl %edx, %edx
callq 0x32b0
leaq -0x68(%rbp), %r14
movq (%r14), %rdi
movl 0x8(%r14), %esi
movq -0x70(%rbp), %rdx
callq 0x83e1
leaq 0x2380(%rip), %rcx      # 0x94ec
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3280
movq %r15, -0x48(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x719e
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x71a5
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x71e1
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x71f6
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3260
leaq 0x24c2(%rip), %rsi      # 0x96bf
leaq -0x48(%rbp), %rdi
movq -0x78(%rbp), %rdx
callq 0x82cd
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x722f
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
movq 0x5d92(%rip), %rsi      # 0xcfc8
leaq -0x238(%rbp), %rdi
callq 0x3130
leaq -0x1c8(%rbp), %rdi
callq 0x30c0
movq %rbx, %rax
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x7280
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
jmp 0x7280
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x72b2
movq -0x58(%rbp), %rsi
jmp 0x72a5
jmp 0x72af
jmp 0x7295
jmp 0x72af
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x72b2
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
jmp 0x72b2
movq %rax, %r14
movq (%rbx), %rdi
addq $0x10, %rbx
cmpq %rbx, %rdi
je 0x7302
movq (%rbx), %rsi
jmp 0x72f3
movq %rax, %r14
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x72e6
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3260
jmp 0x72e6
jmp 0x72e3
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x7302
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
jmp 0x7302
jmp 0x72ff
movq %rax, %r14
movq 0x5cbf(%rip), %rsi      # 0xcfc8
leaq -0x238(%rbp), %rdi
callq 0x3130
leaq -0x1c8(%rbp), %rdi
callq 0x30c0
movq %r14, %rdi
callq 0x3430
nop