// File: /workspace/github_c_makefile_star2_O0/Gaurang18[P]Compiler-Project-BITS-Pilani/./tokensymboltable.h
// Function: display
void display(char* functionname){
    int i;
    int j = get_func_hash_value(functionname);
      
    for(i=0;i<SIZE;i++){
        pNode* it  = ht->functable[j]->table[i]->next;

        if(it !=NULL && strcmp(it->name,"")!= 0){

            if(strncmp(ht->functable[j]->table[i]->next->type,"ARRAY",5)==0)
                printf("%-3d %-20s %-22s %-20s %-5d %-6d\n",(sequencenumber++),ht->functable[j]->table[i]->next->name,"ARRAY",ht->functable[j]->table[i]->next->scope,ht->functable[j]->table[i]->next->width,offseter);
           
            else
                printf("%-3d %-20s %-22s %-20s %-5d %-6d\n",(sequencenumber++),ht->functable[j]->table[i]->next->name,ht->functable[j]->table[i]->next->type,ht->functable[j]->table[i]->next->scope,ht->functable[j]->table[i]->next->width,offseter);
            offseter += ht->functable[j]->table[i]->next->width;
            //printf("%d.\t%s\t\t%s\t\t%s\t\t%s\t\t%d\n",(sequencenumber++),ht->functable[j]->table[i]->next->name,ht->functable[j]->table[i]->next->type,ht->functable[j]->table[i]->next->ifnumvalue,ht->functable[j]->table[i]->next->scope,ht->functable[j]->table[i]->next->offset); 
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64a0
movl %eax, -0x10(%rbp)
movl $0x0, -0xc(%rbp)
cmpl $0x14, -0xc(%rbp)
jge 0x712c
movq 0x1c2c8(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x711c
movq -0x18(%rbp), %rdi
leaq 0x674d(%rip), %rsi      # 0xd6cb
callq 0x20f0
cmpl $0x0, %eax
je 0x711c
movq 0x1c285(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %rdi
addq $0x37, %rdi
leaq 0x542d(%rip), %rsi      # 0xc3df
movl $0x5, %edx
callq 0x2040
cmpl $0x0, %eax
jne 0x7052
movl 0x15c35(%rip), %esi     # 0x1cc00
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x15c2a(%rip)     # 0x1cc00
movq 0x1c23b(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %rdx
movq 0x1c220(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %r8
addq $0x28, %r8
movq 0x1c201(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %rax
movl 0x4c(%rax), %r9d
movl 0x1c1db(%rip), %eax     # 0x23210
leaq 0x5801(%rip), %rdi      # 0xc83d
leaq 0x539c(%rip), %rcx      # 0xc3df
movl %eax, (%rsp)
movb $0x0, %al
callq 0x2090
jmp 0x70f2
movl 0x15ba8(%rip), %esi     # 0x1cc00
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x15b9d(%rip)     # 0x1cc00
movq 0x1c1ae(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %rdx
movq 0x1c193(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %rcx
addq $0x37, %rcx
movq 0x1c174(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rdi
movq (%rax,%rdi,8), %rax
movslq -0xc(%rbp), %rdi
movq (%rax,%rdi,8), %rax
movq 0x50(%rax), %r8
addq $0x28, %r8
movq 0x1c155(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rdi
movq (%rax,%rdi,8), %rax
movslq -0xc(%rbp), %rdi
movq (%rax,%rdi,8), %rax
movq 0x50(%rax), %rax
movl 0x4c(%rax), %r9d
movl 0x1c12f(%rip), %eax     # 0x23210
leaq 0x5755(%rip), %rdi      # 0xc83d
movl %eax, (%rsp)
movb $0x0, %al
callq 0x2090
movq 0x1c11f(%rip), %rax     # 0x23218
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rax), %rax
movl 0x4c(%rax), %eax
addl 0x1c0fa(%rip), %eax     # 0x23210
movl %eax, 0x1c0f4(%rip)     # 0x23210
jmp 0x711e
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x6f3f
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)