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

    require (PARAM);
    next;

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

    require_ind;
    element* el_result = *el_now;
    el_result->type    = PARAM;
    next;

    while ((*el_now)->type != PARAM)
    {
        require_ind;
        (*el_now)->type = PARAM;
        ((*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 0x2255
jmp 0x2274
leaq 0x3fdf(%rip), %rdi      # 0x623b
leaq 0x3dc2(%rip), %rsi      # 0x6025
movl $0x129, %edx            # imm = 0x129
leaq 0x4010(%rip), %rcx      # 0x627f
callq 0x1090
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0x2280
jmp 0x229f
leaq 0x3fb3(%rip), %rdi      # 0x623a
leaq 0x3d97(%rip), %rsi      # 0x6025
movl $0x129, %edx            # imm = 0x129
leaq 0x3fe5(%rip), %rcx      # 0x627f
callq 0x1090
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x4, (%rax)
je 0x22f1
leaq 0x3f90(%rip), %rdi      # 0x6242
leaq 0x3fc6(%rip), %rsi      # 0x627f
movl $0x12b, %edx            # imm = 0x12B
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
leaq 0x3f92(%rip), %rdi      # 0x6269
movb $0x0, %al
callq 0x1040
leaq 0x6e6b(%rip), %rax      # 0x9150
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x245e
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x4, (%rax)
jne 0x2326
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq $0x0, -0x8(%rbp)
jmp 0x245e
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x9, (%rax)
jne 0x2340
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpq $0x0, 0x18(%rax)
jne 0x2386
leaq 0x3efb(%rip), %rdi      # 0x6242
leaq 0x3f31(%rip), %rsi      # 0x627f
movl $0x134, %edx            # imm = 0x134
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
leaq 0x3efd(%rip), %rdi      # 0x6269
movb $0x0, %al
callq 0x1040
leaq 0x6dd6(%rip), %rax      # 0x9150
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x245e
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movl $0x4, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x4, (%rax)
je 0x2448
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpl $0x9, (%rax)
jne 0x23d3
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpq $0x0, 0x18(%rax)
jne 0x2416
leaq 0x3e68(%rip), %rdi      # 0x6242
leaq 0x3e9e(%rip), %rsi      # 0x627f
movl $0x13b, %edx            # imm = 0x13B
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
leaq 0x3e6a(%rip), %rdi      # 0x6269
movb $0x0, %al
callq 0x1040
leaq 0x6d43(%rip), %rax      # 0x9150
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x245e
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl $0x4, (%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 0x23a9
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
nopl (%rax,%rax)