// File: /workspace/github_c_makefile_star2_O2/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 0x84ab
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 0x84ab
movl %eax, %r15d
movl 0x8(%rbx), %eax
cmpl (%rbx), %eax
jne 0x8a41
cmpb $0x0, (%r12)
je 0x8b2b
testl %r15d, %r13d
js 0x8aba
testl %r13d, %r13d
cmovnsl %r13d, %r15d
movq 0x28(%r14), %rax
movslq %r15d, %rcx
imulq $0x38, %rcx, %r13
cmpq $0x0, (%rax,%r13)
jne 0x8a6c
addq %r13, %rax
movups (%rbx), %xmm0
movups %xmm0, (%rax)
movq 0x28(%r14), %rax
cmpq $0x0, 0x18(%rax,%r13)
jne 0x8a86
addq %r13, %rax
addq $0x18, %rax
movups 0x18(%rbx), %xmm0
movups %xmm0, (%rax)
movq 0x28(%r14), %rax
cmpb $0x0, 0x10(%rax,%r13)
jne 0x8aa2
leaq (%rax,%r13), %rdi
addq $0x10, %rdi
movq %r12, %rsi
callq 0x7050
movq 0x28(%r14), %rax
cmpq $0x0, 0x28(%rax,%r13)
jne 0x8b19
addq %r13, %rax
addq $0x28, %rax
movups 0x28(%rbx), %xmm0
movups %xmm0, (%rax)
jmp 0x8b19
movl 0x20(%r14), %r15d
leal 0x1(%r15), %ecx
movslq 0x1c(%r14), %rax
cmpl %eax, %ecx
jge 0x8ad0
movq 0x28(%r14), %rax
jmp 0x8aec
leal (%rax,%rax), %ecx
movl %ecx, 0x1c(%r14)
movq 0x28(%r14), %rdi
imulq $0x70, %rax, %rsi
callq 0x7100
movq %rax, 0x28(%r14)
movl 0x20(%r14), %r15d
movslq %r15d, %rcx
imulq $0x38, %rcx, %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 0x3627(%rip), %rdi      # 0xc159
leaq 0x15fb(%rip), %rsi      # 0xa134
leaq 0x3664(%rip), %rcx      # 0xc1a4
movl $0xf1, %edx
callq 0x7080