// File: /workspace/github_cpp_makefile_star2_O3/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 0x2b332
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 0x27c62
testq %rax, %rax
jne 0x2d42e
movq %r15, %rdi
callq 0x28b98
testq %rax, %rax
je 0x2d4d5
movl $0x4, -0x48(%rbp)
leaq -0xc8(%rbp), %rdi
movq %r15, %rsi
callq 0x28ba2
leaq -0xc8(%rbp), %rdi
callq 0x270b4
movq %rax, -0x50(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x27ca8
movq 0x10(%rbx), %rax
testq %rax, %rax
jne 0x2d475
movq %rbx, %rdi
callq 0x2af00
movq 0x10(%rbx), %rax
movq %rax, -0x70(%rbp)
movq 0x10(%r14), %rax
testq %rax, %rax
jne 0x2d48e
movq %r14, %rdi
callq 0x2af00
movq 0x10(%r14), %rax
leaq -0x70(%rbp), %rdi
movq %rax, 0x8(%rdi)
callq 0x2af00
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
jne 0x2d4b1
leaq -0x70(%rbp), %rdi
callq 0x2af00
movq -0x60(%rbp), %rdi
callq 0x2b006
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x2bba0
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 0x191a7(%rip), %rsi     # 0x4668e
leaq 0x191d6(%rip), %rdx     # 0x466c4
leaq -0xc8(%rbp), %rdi
callq 0xf868
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
jne 0x2d50f
movq %rbx, %rdi
callq 0x2af00
movq 0x10(%rbx), %rsi
leaq -0x90(%rbp), %rdi
callq 0xe50f
leaq 0x191a3(%rip), %rsi     # 0x466c5
leaq -0x40(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0xe495
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 0x2d559
callq 0x42b0
leaq -0x80(%rbp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x2d56b
callq 0x42b0
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
jne 0x2d580
movq %rbx, %rdi
callq 0x2af00
movq 0x10(%rbx), %rsi
leaq -0x90(%rbp), %rdi
callq 0xe50f
leaq 0x18f52(%rip), %rsi     # 0x464e5
leaq -0x40(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0xe495
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0xc8(%rbp), %rdi
callq 0x4110
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x2d5c5
callq 0x42b0
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x2d5d6
callq 0x42b0
movl $0x28, %edi
callq 0x4190
movq %rax, %r14
leaq -0xc8(%rbp), %rdx
movq %rax, %rdi
movl $0x12, %esi
callq 0x333ee
leaq 0x2d772(%rip), %rsi     # 0x5ad70
leaq -0x1f065(%rip), %rdx    # 0xe5a0
movq %r14, %rdi
callq 0x4540
jmp 0x2d670
movq %rax, %rbx
movq %r14, %rdi
callq 0x4250
jmp 0x2d673
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x2d632
callq 0x42b0
jmp 0x2d632
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
jne 0x2d669
jmp 0x2d673
jmp 0x2d670
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d65c
callq 0x42b0
jmp 0x2d65c
movq %rax, %rbx
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d673
callq 0x42b0
jmp 0x2d673
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x2d69e
callq 0x42b0
jmp 0x2d69e
jmp 0x2d69b
movq %rax, %rbx
leaq -0xc8(%rbp), %rdi
callq 0x27ca8
jmp 0x2d69e
jmp 0x2d69b
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x2bba0
movq %rbx, %rdi
callq 0x4560
nop