// File: /workspace/github_c_makefile_star2_O1/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-filepath.cc
// Function: testing::internal::FilePath::MakeFileName(testing::internal::FilePath const&, testing::internal::FilePath const&, int, char const*)
FilePath FilePath::MakeFileName(const FilePath& directory,
                                const FilePath& base_name,
                                int number,
                                const char* extension) {
  std::string file;
  if (number == 0) {
    file = base_name.string() + "." + extension;
  } else {
    file = base_name.string() + "_" + StreamableToString(number)
        + "." + extension;
  }
  return ConcatPaths(directory, FilePath(file));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r8, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl %ecx, 0x44(%rsp)
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
testl %ecx, %ecx
je 0x263d4
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x2eef4
leaq 0x2df14(%rip), %rsi     # 0x5426e
leaq 0x48(%rsp), %rdi
callq 0xcca0
leaq 0x88(%rsp), %rdi
leaq 0x44(%rsp), %rsi
callq 0x2aba1
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0x90(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x2639b
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x263c0
leaq 0x98(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x263bb
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x26437
movq 0x88(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0xc190
jmp 0x26448
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x2eef4
leaq 0x2cc50(%rip), %rsi     # 0x53046
movq %rsp, %rdi
callq 0xcca0
movq %rsp, %rdi
movq %r15, %rsi
callq 0xcca0
leaq 0x30(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x265c2
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x265c9
leaq 0x88(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc6e0
leaq 0x78(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x2646c
movq %rsi, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x26472
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x2cbb0(%rip), %rsi     # 0x53046
leaq 0x68(%rsp), %rdi
callq 0xcca0
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x264c6
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x264cd
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rsi
callq 0xcca0
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x26516
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x2651e
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xa8(%rsp), %rdi
movq %r15, %rsi
callq 0xc7d0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x2655f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x26575
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x26590
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x265b1
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x26620
movq 0x58(%rsp), %rsi
jmp 0x26618
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xa8(%rsp), %rdi
movq %r15, %rsi
callq 0xc7d0
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0x2660a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x26620
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x20(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x28b24
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11b2a
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2665d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x26682
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x26699
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x26754
movq 0x10(%rsp), %rsi
jmp 0x26747
jmp 0x26751
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x266d6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x266d6
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x266f6
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x266f6
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2671e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x2671e
jmp 0x2671b
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x26754
movq 0x58(%rsp), %rsi
jmp 0x26747
jmp 0x26751
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x26754
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x26754
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x26779
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0
nop