// File: AndreyVV-100[P]GachiLang/Frontend/Frontend.cpp
// Function: GetCallParam(element**)
element* GetCallParam (element** el_now)
{
    parse_ass;

    require (PARAM);
    next;

    if ((*el_now)->type == PARAM)
    {
        next;
        return nullptr;
    }

    if ((*el_now)->type != NUM)
    {
        require_ind;
        (*el_now)->type = VAR;
    }

    element* el_result = *el_now;
    next;

    while ((*el_now)->type != PARAM)
    {
        if ((*el_now)->type != NUM)
        {
            require_ind;
            (*el_now)->type = VAR;
        }

        ((*el_now) - 1)->left = *el_now;
        next;
    }

    next;
    return el_result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x3295
jmp 0x32b4
leaq 0x2f9f(%rip), %rdi      # 0x623b
leaq 0x2d82(%rip), %rsi      # 0x6025
movl $0x1a8, %edx            # imm = 0x1A8
leaq 0x3069(%rip), %rcx      # 0x6318
callq 0x1090
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0x32c0
jmp 0x32df
leaq 0x2f73(%rip), %rdi      # 0x623a
leaq 0x2d57(%rip), %rsi      # 0x6025
movl $0x1a8, %edx            # imm = 0x1A8
leaq 0x303e(%rip), %rcx      # 0x6318
callq 0x1090
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x4, (%rax)
je 0x3331
leaq 0x2f50(%rip), %rdi      # 0x6242
leaq 0x301f(%rip), %rsi      # 0x6318
movl $0x1aa, %edx            # imm = 0x1AA
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
leaq 0x2f52(%rip), %rdi      # 0x6269
movb $0x0, %al
callq 0x1040
leaq 0x5e2b(%rip), %rax      # 0x9150
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x34b9
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x4, (%rax)
jne 0x3366
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq $0x0, -0x8(%rbp)
jmp 0x34b9
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x7, (%rax)
je 0x33df
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x9, (%rax)
jne 0x338c
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpq $0x0, 0x18(%rax)
jne 0x33d2
leaq 0x2eaf(%rip), %rdi      # 0x6242
leaq 0x2f7e(%rip), %rsi      # 0x6318
movl $0x1b5, %edx            # imm = 0x1B5
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
leaq 0x2eb1(%rip), %rdi      # 0x6269
movb $0x0, %al
callq 0x1040
leaq 0x5d8a(%rip), %rax      # 0x9150
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x34b9
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl $0x8, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x4, (%rax)
je 0x34a3
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x7, (%rax)
je 0x347e
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x9, (%rax)
jne 0x342e
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpq $0x0, 0x18(%rax)
jne 0x3471
leaq 0x2e0d(%rip), %rdi      # 0x6242
leaq 0x2edc(%rip), %rsi      # 0x6318
movl $0x1c0, %edx            # imm = 0x1C0
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
leaq 0x2e0f(%rip), %rdi      # 0x6269
movb $0x0, %al
callq 0x1040
leaq 0x5ce8(%rip), %rax      # 0x9150
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x34b9
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl $0x8, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rcx, -0x28(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
jmp 0x33f8
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)