// File: /workspace/github_cpp_makefile_star2_O1/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 0x2c80a
movq %rax, 0x8(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x28975
cmpl $0x3, %eax
jne 0x274c9
testq %rbx, %rbx
je 0x274c5
movl $0x0, (%rbx)
callq 0x2c80a
movq %rax, 0x8(%rbx)
xorl %ebx, %ebx
jmp 0x27542
leaq -0x48(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x2ac84
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a334
testl %eax, %eax
je 0x2754f
cmpq $0x0, -0x40(%rbp)
je 0x27523
leaq -0x48(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x28975
cmpl $0x1, %eax
jne 0x27523
leaq -0x48(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x2747a
cmpl $0x0, -0x28(%rbp)
je 0x27523
testq %rbx, %rbx
je 0x2756e
movups -0x28(%rbp), %xmm0
movups %xmm0, (%rbx)
xorl %ebx, %ebx
jmp 0x27530
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2760e
movl %eax, %ebx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27542
callq 0xb430
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xe643(%rip), %rdi      # 0x35b99
leaq 0xe57c(%rip), %rsi      # 0x35ad9
leaq 0xe66d(%rip), %rcx      # 0x35bd1
movl $0x3ad, %edx            # imm = 0x3AD
callq 0xb310
movl $0x50, %edi
callq 0xb250
movq %rax, %rbx
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xe69e(%rip), %rsi      # 0x35c28
leaq 0xe6bc(%rip), %rdx      # 0x35c4d
leaq -0x68(%rbp), %rdi
callq 0xf97e
movl -0x28(%rbp), %ecx
movq -0x20(%rbp), %r8
leaq -0x68(%rbp), %rsi
leaq -0x48(%rbp), %rdx
movq %rbx, %rdi
callq 0x29772
leaq 0x23fb0(%rip), %rsi     # 0x4b568
leaq 0x229d(%rip), %rdx      # 0x2985c
movq %rbx, %rdi
callq 0xb7b0
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x275d8
callq 0xb430
xorl %eax, %eax
jmp 0x275e1
movq %rax, %r14
movb $0x1, %al
testb %al, %al
je 0x275f4
movq %rbx, %rdi
callq 0xb360
jmp 0x275f4
jmp 0x275f1
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27606
callq 0xb430
movq %r14, %rdi
callq 0xb7f0