// File: /workspace/github_c_makefile_star2_O1/jaroslov[P]docoptc/./docopt.h
// Function: docopt_entries_insert_entry
static int docopt_entries_insert_entry(struct docopt_entries* dE, struct docopt_entry* entry)
{
    int lentry                  = docopt_entries_get_entry(dE, &entry->name);
    struct docopt_str sname     = { &entry->short_name[0], &entry->short_name[0] + strlen(&entry->short_name[0]) };
    int sentry                  = docopt_entries_get_entry(dE, &sname);
    int hentry                  = -1;
    assert((docopt_str_len(&entry->name) || entry->short_name[0]) && "Invalid ENTRY.");
    if ((lentry >= 0) || (sentry >= 0))
    {
        hentry  = (lentry >= 0) ? lentry : sentry;
        if (!dE->entries[hentry].name.fst) dE->entries[hentry].name = entry->name;
        if (!dE->entries[hentry].command.fst) dE->entries[hentry].command = entry->command;
        if (!dE->entries[hentry].short_name[0]) strcpy(dE->entries[hentry].short_name, entry->short_name);
        if (!dE->entries[hentry].defvalue.fst) dE->entries[hentry].defvalue = entry->defvalue;
    }
    else
    {
        if ((dE->curentry+1) >= dE->nentries)
        {
            dE->nentries    *= 2;
            dE->entries     = (struct docopt_entry*)realloc(dE->entries, sizeof(struct docopt_entry) * dE->nentries);
        }
        hentry              = dE->curentry;
        dE->entries[hentry] = *entry;
        ++dE->curentry;
    }
    return hentry;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x8701
movl %eax, %r13d
leaq 0x10(%rbx), %r12
leaq -0x38(%rbp), %r15
movq %r12, (%r15)
movq %r12, %rdi
callq 0x7070
addq %rbx, %rax
addq $0x10, %rax
movq %rax, 0x8(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x8701
movl %eax, %r15d
movl 0x8(%rbx), %eax
cmpl (%rbx), %eax
jne 0x8cf2
cmpb $0x0, (%r12)
je 0x8dd5
testl %r15d, %r13d
js 0x8d6b
testl %r13d, %r13d
cmovnsl %r13d, %r15d
movq 0x28(%r14), %rax
movslq %r15d, %rcx
imulq $0x38, %rcx, %r13
cmpq $0x0, (%rax,%r13)
jne 0x8d19
addq %r13, %rax
movups (%rbx), %xmm0
movups %xmm0, (%rax)
movq 0x28(%r14), %rax
cmpq $0x0, 0x18(%rax,%r13)
jne 0x8d33
addq %r13, %rax
addq $0x18, %rax
movups 0x18(%rbx), %xmm0
movups %xmm0, (%rax)
movq 0x28(%r14), %rax
cmpb $0x0, 0x10(%rax,%r13)
jne 0x8d4f
leaq (%rax,%r13), %rdi
addq $0x10, %rdi
movq %r12, %rsi
callq 0x7050
movq 0x28(%r14), %rax
cmpq $0x0, 0x28(%rax,%r13)
jne 0x8dc3
addq %r13, %rax
addq $0x28, %rax
movups 0x28(%rbx), %xmm0
movups %xmm0, (%rax)
jmp 0x8dc3
movl 0x20(%r14), %ecx
incl %ecx
movslq 0x1c(%r14), %rax
cmpl %eax, %ecx
jl 0x8d91
leal (%rax,%rax), %ecx
movl %ecx, 0x1c(%r14)
movq 0x28(%r14), %rdi
imulq $0x70, %rax, %rsi
callq 0x7110
movq %rax, 0x28(%r14)
movslq 0x20(%r14), %r15
movq 0x28(%r14), %rax
imulq $0x38, %r15, %rcx
movq 0x30(%rbx), %rdx
movq %rdx, 0x30(%rax,%rcx)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0x20(%rax,%rcx)
movups %xmm1, 0x10(%rax,%rcx)
movups %xmm0, (%rax,%rcx)
incl 0x20(%r14)
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3380(%rip), %rdi      # 0xc15c
leaq 0x1354(%rip), %rsi      # 0xa137
leaq 0x33bd(%rip), %rcx      # 0xc1a7
movl $0xf1, %edx
callq 0x7080