// File: /workspace/github_cpp_makefile_star2_O3/demon386[P]git-store/./libs/filesystem/src/operations.cpp
// Function: boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)
BOOST_FILESYSTEM_DECL
  bool create_directories(const path& p, system::error_code* ec)
  {
    error_code local_ec;
    file_status p_status = status(p, local_ec);

    if (p_status.type() == directory_file)
    {
      if (ec != 0)
        ec->clear();
      return false;
    }

    path parent = p.parent_path();
    BOOST_ASSERT_MSG(parent != p, "internal error: p == p.parent_path()");
    if (!parent.empty())
    {
      // determine if the parent exists
      file_status parent_status = status(parent, local_ec);

      // if the parent does not exist, create the parent
      if (parent_status.type() == file_not_found)
      {
        create_directories(parent, local_ec);
        if (local_ec)
        {
          if (ec == 0)
            BOOST_FILESYSTEM_THROW(filesystem_error(
              "boost::filesystem::create_directories", parent, local_ec));
          else
            *ec = local_ec;
          return false;
        }
      }
    }

    // create the directory
    return create_directory(p, ec);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq -0x28(%rbp), %r15
movl $0x0, (%r15)
callq 0x2c4e2
movq %rax, 0x8(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x2869d
cmpl $0x3, %eax
jne 0x27224
testq %rbx, %rbx
je 0x27220
movl $0x0, (%rbx)
callq 0x2c4e2
movq %rax, 0x8(%rbx)
xorl %ebx, %ebx
jmp 0x2729d
leaq -0x48(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a9a2
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a038
testl %eax, %eax
je 0x272aa
cmpq $0x0, -0x40(%rbp)
je 0x2727e
leaq -0x48(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x2869d
cmpl $0x1, %eax
jne 0x2727e
leaq -0x48(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x271d5
cmpl $0x0, -0x28(%rbp)
je 0x2727e
testq %rbx, %rbx
je 0x272c9
movups -0x28(%rbp), %xmm0
movups %xmm0, (%rbx)
xorl %ebx, %ebx
jmp 0x2728b
movq %r14, %rdi
movq %rbx, %rsi
callq 0x27361
movl %eax, %ebx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2729d
callq 0xb430
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xe8e8(%rip), %rdi      # 0x35b99
leaq 0xe821(%rip), %rsi      # 0x35ad9
leaq 0xe912(%rip), %rcx      # 0x35bd1
movl $0x3ad, %edx            # imm = 0x3AD
callq 0xb310
movl $0x50, %edi
callq 0xb250
movq %rax, %r14
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xe943(%rip), %rsi      # 0x35c28
leaq 0xe961(%rip), %rdx      # 0x35c4d
leaq -0x68(%rbp), %rdi
callq 0xf8ee
movl -0x28(%rbp), %ecx
movq -0x20(%rbp), %r8
leaq -0x68(%rbp), %rsi
leaq -0x48(%rbp), %rdx
movq %r14, %rdi
callq 0x2946c
leaq 0x24255(%rip), %rsi     # 0x4b568
leaq 0x225c(%rip), %rdx      # 0x29576
movq %r14, %rdi
callq 0xb7b0
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x27347
callq 0xb430
jmp 0x27347
movq %rax, %rbx
movq %r14, %rdi
callq 0xb360
jmp 0x27347
jmp 0x27344
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27359
callq 0xb430
movq %rbx, %rdi
callq 0xb7f0