// File: /workspace/github_c_makefile_star2_O0/heltilda[P]cicada/bytecd.c
// Function: parent_var
void _parent_var()
{
    searchPath *searchPosition = pcSearchPath;
    
    pcCodePtr--;
    searchView = baseView;                      // a.\.a won't work
//    searchView.width = baseView.width;          // in case the first stem is NULL
    do  {
        searchView.windowPtr = searchPosition->jamb;
        if (searchPosition->stemIndices == 0)  {
        if (searchPosition->stem != NULL)  {
            searchView.offset = searchView.windowPtr->offset;
            searchView.width = searchPosition->stem->jamb->width;     }}
        else  {
            searchView.offset = (searchView.offset - searchView.windowPtr->offset) / searchPosition->stemIndices;
            if (searchView.width > 1)  searchView.width /= searchPosition->stemIndices;        }
        
        searchPosition = searchPosition->stem;
        if (searchPosition == NULL)  {  setError(no_parent_err, pcCodePtr-1);  return;  }
        pcCodePtr++;
    }  while (*pcCodePtr == parent_variable);
    
    searchView.windowPtr = searchPosition->jamb;
    searchView.multipleIndices = ccFalse;
    GL_Object.type = var_type;
    GL_Object.codeList = &(searchView.windowPtr->variable_ptr->codeList);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x127a1(%rip), %rax     # 0x2c8c0
movq %rax, -0x8(%rbp)
movq 0x126de(%rip), %rax     # 0x2c808
addq $-0x4, %rax
movq %rax, 0x126d3(%rip)     # 0x2c808
movq 0x12754(%rip), %rax     # 0x2c890
movq %rax, 0x12765(%rip)     # 0x2c8a8
movq 0x1274e(%rip), %rax     # 0x2c898
movq %rax, 0x1275f(%rip)     # 0x2c8b0
movq 0x12748(%rip), %rax     # 0x2c8a0
movq %rax, 0x12759(%rip)     # 0x2c8b8
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x1273a(%rip)     # 0x2c8a8
movq -0x8(%rbp), %rax
cmpl $0x0, 0x28(%rax)
jne 0x1a1aa
movq -0x8(%rbp), %rax
cmpq $0x0, 0x20(%rax)
je 0x1a1a8
movq 0x1271e(%rip), %rax     # 0x2c8a8
movl 0x18(%rax), %eax
movl %eax, 0x1271d(%rip)     # 0x2c8b0
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movl 0x1c(%rax), %eax
movl %eax, 0x1270c(%rip)     # 0x2c8b4
jmp 0x1a1e9
movl 0x12700(%rip), %eax     # 0x2c8b0
movq 0x126f1(%rip), %rcx     # 0x2c8a8
subl 0x18(%rcx), %eax
movq -0x8(%rbp), %rcx
cltd
idivl 0x28(%rcx)
movl %eax, 0x126e8(%rip)     # 0x2c8b0
cmpl $0x1, 0x126e5(%rip)     # 0x2c8b4
jle 0x1a1e7
movq -0x8(%rbp), %rax
movl 0x28(%rax), %ecx
movl 0x126d6(%rip), %eax     # 0x2c8b4
cltd
idivl %ecx
movl %eax, 0x126cd(%rip)     # 0x2c8b4
jmp 0x1a1e9
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x1a213
movq 0x12605(%rip), %rsi     # 0x2c808
addq $-0x4, %rsi
movl $0x21, %edi
callq 0xf740
jmp 0x1a26d
movq 0x125ee(%rip), %rax     # 0x2c808
addq $0x4, %rax
movq %rax, 0x125e3(%rip)     # 0x2c808
movq 0x125dc(%rip), %rax     # 0x2c808
cmpl $0x2b, (%rax)
je 0x1a15f
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x12664(%rip)     # 0x2c8a8
movb $0x0, 0x1266d(%rip)     # 0x2c8b8
movl $0xffffffff, 0x125d3(%rip) # imm = 0xFFFFFFFF
movq 0x1264c(%rip), %rax     # 0x2c8a8
movq 0x10(%rax), %rax
addq $0xd0, %rax
movq %rax, 0x125e3(%rip)     # 0x2c850
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)