// File: /workspace/github_c_makefile_star2_O3/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 0x2608b
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x2ea58
leaq 0x2d28c(%rip), %rsi     # 0x5329e
leaq 0x48(%rsp), %rdi
callq 0xcca0
leaq 0x88(%rsp), %rdi
leaq 0x44(%rsp), %rsi
callq 0x2a671
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0x90(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x26053
movq 0x58(%rsp), %rdi
movq 0x88(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x2607f
leaq 0x98(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x2607a
movq 0x98(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x260ee
leaq 0x48(%rsp), %rdi
callq 0xc190
jmp 0x260ff
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x2ea58
leaq 0x2bfc9(%rip), %rsi     # 0x52076
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 0x26279
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x26280
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 0x26123
movq %rsi, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x26129
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 0x2bf29(%rip), %rsi     # 0x52076
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 0x2617d
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x26184
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 0x261cd
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x261d5
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 0x26216
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x2622c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x26247
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x26268
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x262d7
movq 0x58(%rsp), %rsi
jmp 0x262cf
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 0x262c1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x262d7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
leaq 0x20(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x28764
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11aa0
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x26314
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x26339
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 0x26350
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x2640b
movq 0x10(%rsp), %rsi
jmp 0x263fe
jmp 0x26408
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x2638d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x2638d
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x263ad
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x263ad
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x263d5
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x263d5
jmp 0x263d2
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x2640b
movq 0x58(%rsp), %rsi
jmp 0x263fe
jmp 0x26408
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2640b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xc600
jmp 0x2640b
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x26430
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xc600
movq %rbx, %rdi
callq 0xcbb0