// File: /workspace/github_cpp_makefile_star2_O1/acliusBackHome[P]kamaya/dist/ParseExpression.cpp
// Function: ParseExpression::get_item(ParseExpression const&) const
const ParseExpression &ParseExpression::get_item(const ParseExpression &expr) const {
    const ParseType &this_type = get_ret_type();
    ParseExpression res;
    if (!this_type.get_array_size() && !this_type.get_ptr_lv()) {
        string info = "ParseExpression::get_item(const ParseExpression &expr)";
        info += " this_expr=" + to_string(get_id());
        info += " expr=" + to_string(get_id());
        throw ParseException(EX_NOT_AN_ARRAY_TYPE, info);
    }
    res.expr_type = E_GET_ITEM;
    res.ret_type_id = this_type.get_lower_type().get_id();
    res.child[0] = get_id();
    res.child[1] = expr.get_id();
    update(res);
    return get_expression(res.get_id());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xb0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2bbcc
movq %rax, %r15
movq $-0x1, -0x50(%rbp)
movl $0x0, -0x48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movaps %xmm0, -0x60(%rbp)
movq %rax, %rdi
callq 0x282f6
testq %rax, %rax
jne 0x2dd0a
movq %r15, %rdi
callq 0x293bc
testq %rax, %rax
je 0x2ddb1
movl $0x4, -0x48(%rbp)
leaq -0xc8(%rbp), %rdi
movq %r15, %rsi
callq 0x293c6
leaq -0xc8(%rbp), %rdi
callq 0x2770a
movq %rax, -0x50(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x28344
movq 0x10(%rbx), %rax
testq %rax, %rax
jne 0x2dd51
movq %rbx, %rdi
callq 0x2b7a0
movq 0x10(%rbx), %rax
movq %rax, -0x70(%rbp)
movq 0x10(%r14), %rax
testq %rax, %rax
jne 0x2dd6a
movq %r14, %rdi
callq 0x2b7a0
movq 0x10(%r14), %rax
leaq -0x70(%rbp), %rdi
movq %rax, 0x8(%rdi)
callq 0x2b7a0
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
jne 0x2dd8d
leaq -0x70(%rbp), %rdi
callq 0x2b7a0
movq -0x60(%rbp), %rdi
callq 0x2b8a6
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x2c47e
movq %rbx, %rax
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq -0xb8(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x198cb(%rip), %rsi     # 0x4768e
leaq 0x198fa(%rip), %rdx     # 0x476c4
leaq -0xc8(%rbp), %rdi
callq 0xf65c
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
jne 0x2ddeb
movq %rbx, %rdi
callq 0x2b7a0
movq 0x10(%rbx), %rsi
leaq -0x90(%rbp), %rdi
callq 0xe329
leaq 0x198c7(%rip), %rsi     # 0x476c5
leaq -0x40(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0xe2af
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0xc8(%rbp), %rdi
callq 0x4110
leaq -0x30(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x2de35
callq 0x42b0
leaq -0x80(%rbp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x2de47
callq 0x42b0
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
jne 0x2de5c
movq %rbx, %rdi
callq 0x2b7a0
movq 0x10(%rbx), %rsi
leaq -0x90(%rbp), %rdi
callq 0xe329
leaq 0x19676(%rip), %rsi     # 0x474e5
leaq -0x40(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0xe2af
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0xc8(%rbp), %rdi
callq 0x4110
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x2dea1
callq 0x42b0
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x2deb2
callq 0x42b0
movl $0x28, %edi
callq 0x4190
movq %rax, %r14
leaq -0xc8(%rbp), %rdx
movq %rax, %rdi
movl $0x12, %esi
callq 0x33d12
leaq 0x2de96(%rip), %rsi     # 0x5bd70
leaq -0x1fb27(%rip), %rdx    # 0xe3ba
movq %r14, %rdi
callq 0x4540
jmp 0x2df4c
movq %rax, %rbx
movq %r14, %rdi
callq 0x4250
jmp 0x2df4f
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x2df0e
callq 0x42b0
jmp 0x2df0e
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
jne 0x2df45
jmp 0x2df4f
jmp 0x2df4c
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2df38
callq 0x42b0
jmp 0x2df38
movq %rax, %rbx
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2df4f
callq 0x42b0
jmp 0x2df4f
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x2df7a
callq 0x42b0
jmp 0x2df7a
jmp 0x2df77
movq %rax, %rbx
leaq -0xc8(%rbp), %rdi
callq 0x28344
jmp 0x2df7a
jmp 0x2df77
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x2c47e
movq %rbx, %rdi
callq 0x4560
nop