// File: /workspace/github_c_makefile_star2_O0/jaroslov[P]docoptc/./docopt.h
// Function: docopt_parse_expr
static int docopt_parse_expr(struct docopt_parse_state* dS, struct docopt_str* usestmt)
{
    if (dS->entries->error) return 0;
    int multisequence           = 0;
    struct docopt_str olduse    = *usestmt;
    int hterm                   = docopt_new_term(dS, DOCOPT_TYPE_EXPR);
    DO_TM(hterm)->optional = dS->optional;
    docopt_eat_ws(usestmt);
    while ((usestmt->fst < usestmt->lst) && docopt_parse_seq(dS, usestmt))
    {
        ++multisequence;
        docopt_eat_ws(usestmt);
        if (usestmt->fst[0] != '|') break;
        ++usestmt->fst;
        docopt_eat_ws(usestmt);
    }
    if (DO_TM(hterm)->optional && (multisequence == 1))
    {
        for (int x = 1; x < DO_TM(hterm+1)->length; x += DO_TM(hterm+1+x)->length)
            DO_TM(hterm+1+x)->optional = 1;
    }
    if ((hterm + 1) == dS->curterm)
    {
        *usestmt                    = olduse;
        dS->curterm                 = hterm;
        return 0;
    }
    DO_TM(hterm)->length = dS->curterm - hterm;
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
cmpl $0x0, (%rax)
je 0x9d09
movl $0x0, -0x4(%rbp)
jmp 0x9ee1
movl $0x0, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x30(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movl $0xc, %esi
callq 0x9940
movl %eax, -0x34(%rbp)
movq -0x10(%rbp), %rax
movl 0x160(%rax), %eax
movl %eax, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %esi
callq 0x99f0
movl -0x3c(%rbp), %edx
movl 0x4(%rax), %ecx
andl $0x1, %edx
shll $0x5, %edx
andl $-0x21, %ecx
orl %edx, %ecx
movl %ecx, 0x4(%rax)
movq -0x18(%rbp), %rdi
callq 0x9a10
movq -0x18(%rbp), %rax
movq (%rax), %rcx
movq -0x18(%rbp), %rdx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, -0x3d(%rbp)
jae 0x9d96
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x9ef0
cmpl $0x0, %eax
setne %al
movb %al, -0x3d(%rbp)
movb -0x3d(%rbp), %al
testb $0x1, %al
jne 0x9d9f
jmp 0x9ddb
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x18(%rbp), %rdi
callq 0x9a10
movq -0x18(%rbp), %rax
movq (%rax), %rax
movsbl (%rax), %eax
cmpl $0x7c, %eax
je 0x9dc2
jmp 0x9ddb
movq -0x18(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rdi
callq 0x9a10
jmp 0x9d6a
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %esi
callq 0x99f0
movl 0x4(%rax), %eax
shrl $0x5, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x9e72
cmpl $0x1, -0x1c(%rbp)
jne 0x9e72
movl $0x1, -0x38(%rbp)
movl -0x38(%rbp), %eax
movl %eax, -0x44(%rbp)
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %esi
addl $0x1, %esi
callq 0x99f0
movq %rax, %rcx
movl -0x44(%rbp), %eax
movl 0x4(%rcx), %ecx
shrl $0x7, %ecx
andl $0xfffff, %ecx          # imm = 0xFFFFF
cmpl %ecx, %eax
jge 0x9e70
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %esi
addl $0x1, %esi
addl -0x38(%rbp), %esi
callq 0x99f0
movl 0x4(%rax), %ecx
andl $-0x21, %ecx
orl $0x20, %ecx
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %esi
addl $0x1, %esi
addl -0x38(%rbp), %esi
callq 0x99f0
movl 0x4(%rax), %eax
shrl $0x7, %eax
andl $0xfffff, %eax          # imm = 0xFFFFF
addl -0x38(%rbp), %eax
movl %eax, -0x38(%rbp)
jmp 0x9e02
jmp 0x9e72
movl -0x34(%rbp), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
cmpl 0x1c(%rcx), %eax
jne 0x9ea7
movq -0x18(%rbp), %rax
movq -0x30(%rbp), %rcx
movq %rcx, (%rax)
movq -0x28(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl -0x34(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x1c(%rax)
movl $0x0, -0x4(%rbp)
jmp 0x9ee1
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
subl -0x34(%rbp), %eax
movl %eax, -0x48(%rbp)
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %esi
callq 0x99f0
movl -0x48(%rbp), %edx
movl 0x4(%rax), %ecx
andl $0xfffff, %edx          # imm = 0xFFFFF
shll $0x7, %edx
andl $0xf800007f, %ecx       # imm = 0xF800007F
orl %edx, %ecx
movl %ecx, 0x4(%rax)
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)