// File: /workspace/github_cpp_makefile_star2_O3/Linkerist[P]xs/src/io.cc
// Function: add_to_default_list(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
void
add_to_default_list(string path, string desc, bool ask_for_desc)
{
 if (cur_list.empty() && curses_running)
  path = get_cwd_as_string();

 // get the description (either from user or generic)
 string __desc;

 if (desc.empty()) {
  if (ask_for_desc && curses_running) {
   __desc = get_desc_from_user();
   if (__desc.size() == 0)
    return;
  } else
   __desc = last_dirname(path);
 } else
  __desc = desc;

 string msg = "added :" + __desc + ":" + path;
 default_list.push_back(make_pair(__desc, path));
 message(msg.c_str());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc0, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x82a6(%rip), %rax      # 0xe478
movq (%rax), %rcx
cmpq 0x8(%rax), %rcx
jne 0x6217
leaq 0x839e(%rip), %rax      # 0xe580
cmpb $0x1, (%rax)
jne 0x6217
movq %rsp, %r15
movq %r15, %rdi
callq 0x40a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3430
movq (%r15), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6217
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3350
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
cmpq $0x0, 0x8(%r14)
je 0x6245
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0x31e0
jmp 0x6314
testb %bpl, %bpl
je 0x6299
leaq 0x832f(%rip), %rax      # 0xe580
cmpb $0x1, (%rax)
jne 0x6299
movq %rsp, %rdi
callq 0x9798
leaq 0x40(%rsp), %rdi
movq %rsp, %r14
movq %r14, %rsi
callq 0x3430
movq (%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6288
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3350
cmpq $0x0, 0x48(%rsp)
jne 0x6314
jmp 0x6484
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x4a20
movq %rsp, %rdi
leaq 0x80(%rsp), %rsi
callq 0x9830
leaq 0x40(%rsp), %rdi
movq %rsp, %r14
movq %r14, %rsi
callq 0x3430
movq (%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x62f7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3350
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x6314
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3350
leaq 0x3f03(%rip), %rsi      # 0xa21e
leaq 0xa0(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x493d
leaq 0x3ef0(%rip), %rsi      # 0xa224
leaq 0xa0(%rsp), %rdi
callq 0x3680
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6368
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x6370
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x3110
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x63bd
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x63c4
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x63f2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3350
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6413
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3350
movq %rsp, %rdi
leaq 0x40(%rsp), %rsi
movq %rbx, %rdx
callq 0x695e
leaq 0x8066(%rip), %rdi      # 0xe490
movq %rsp, %rsi
callq 0x69f2
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x644d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3350
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x6463
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3350
movq 0x60(%rsp), %rdi
callq 0x9214
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x6484
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3350
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x649b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3350
addq $0xc0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6532
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x6535
movq 0x90(%rsp), %rsi
jmp 0x6528
jmp 0x6532
jmp 0x6532
jmp 0x64dd
movq %rax, %rbx
movq %rsp, %rdi
callq 0x68c4
jmp 0x64e0
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x6535
movq 0x70(%rsp), %rsi
jmp 0x6528
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x650f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3350
jmp 0x650f
movq %rax, %rbx
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6535
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3350
jmp 0x6535
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x654c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3350
movq %rbx, %rdi
callq 0x3620