// File: /workspace/github_cpp_makefile_star2_O2/zhengwangsun[P]pas2c/grammar.cpp
// Function: showTreeI(int, int)
void showTreeI(int i,int tab)
{
	if(tree.node[i].isT)
	{
		for(int j=0;j<tab;j++) 
			cout<<"   ";
			
		if(tree.node[i].type!=101 && tree.node[i].type!=119 && tree.node[i].type!=131 && tree.node[i].type!=133)
		{
		    cout<<tree.node[i].type<<" "<<tree.node[i].code<<endl;
		//	cout<<"  line:"<<tree.node[i].row<<"    tokenCount:"<<tree.node[i].numType<<endl;
		} 
		else if(tree.node[i].type==101)
		{
			cout<<tree.node[i].type<<" id ****** "<<tree.node[i].value<<"  line:"<<tree.node[i].row<<endl;
		}
		else if(tree.node[i].type==119)
		{
			cout<<tree.node[i].type<<" num ****** "<<tree.node[i].value<<"  line:"<<tree.node[i].row<<" type:"<<tree.node[i].numType<<endl;
		}
		else
	    {
	    	cout<<tree.node[i].type<<" "<<tree.node[i].code<<" ************ "<<tree.node[i].value<<endl;
	    }
			
	}
	else
	{ 
		for(int j=0;j<tab;j++) 
			cout<<"   ";
		
        cout<<tree.node[i].type<<" "<<tree.node[i].code<<endl;
			
		for(int j=0;j<tree.node[i].childNum;j++)
	     	showTreeI(tree.node[i].child[j],tab+1);
	}	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movslq %edi, %rax
imulq $0xa8, %rax, %rax
leaq 0xa7dd8(%rip), %rcx     # 0xb4098
leaq (%rax,%rcx), %rbx
addq $0x8, %rbx
xorl %r12d, %r12d
testl %esi, %esi
cmovgl %esi, %r12d
cmpb $0x0, 0x58(%rbx)
je 0xc2f8
movq 0x7cf2(%rip), %r14      # 0x13fd0
leaq 0x2af1(%rip), %r15      # 0xedd6
subl $0x1, %r12d
jb 0xc31b
movq %r14, %rdi
movq %r15, %rsi
callq 0x21d0
jmp 0xc2e5
movl %esi, %ebp
movq 0x7ccf(%rip), %r14      # 0x13fd0
leaq 0x2ace(%rip), %r15      # 0xedd6
subl $0x1, %r12d
jb 0xc383
movq %r14, %rdi
movq %r15, %rsi
callq 0x21d0
jmp 0xc308
movl 0x54(%rbx), %esi
cmpl $0x65, %esi
je 0xc43d
cmpl $0x77, %esi
je 0xc3dc
cmpl $0x83, %esi
je 0xc344
cmpl $0x85, %esi
jne 0xc489
movq 0x7c85(%rip), %rdi      # 0x13fd0
callq 0x2320
leaq 0x226a(%rip), %rsi      # 0xe5c1
movq %rax, %rdi
callq 0x21d0
leaq 0x60(%rbx), %rsi
movq %rax, %rdi
callq 0x21c0
leaq 0x2e9c(%rip), %rsi      # 0xf20e
movq %rax, %rdi
callq 0x21d0
subq $-0x80, %rbx
jmp 0xc4a8
movl 0x54(%rbx), %esi
movq 0x7c43(%rip), %rdi      # 0x13fd0
callq 0x2320
leaq 0x2228(%rip), %rsi      # 0xe5c1
movq %rax, %rdi
callq 0x21d0
leaq 0x60(%rbx), %rsi
movq %rax, %rdi
callq 0x21c0
movq %rax, %rdi
callq 0x20f0
incl %ebp
xorl %r14d, %r14d
movslq (%rbx), %rax
cmpq %rax, %r14
jge 0xc3d3
movl 0x4(%rbx,%r14,4), %edi
movl %ebp, %esi
callq 0xc2a7
incq %r14
jmp 0xc3ba
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x7bed(%rip), %rdi      # 0x13fd0
pushq $0x77
popq %rsi
callq 0x2320
leaq 0x2e08(%rip), %rsi      # 0xf1fa
movq %rax, %rdi
callq 0x21d0
leaq 0x80(%rbx), %rsi
movq %rax, %rdi
callq 0x21c0
leaq 0x29b3(%rip), %rsi      # 0xedc3
movq %rax, %rdi
callq 0x21d0
movl 0xa4(%rbx), %esi
movq %rax, %rdi
callq 0x2320
leaq 0x2dda(%rip), %rsi      # 0xf207
movq %rax, %rdi
callq 0x21d0
movl 0xa0(%rbx), %esi
jmp 0xc47f
movq 0x7b8c(%rip), %rdi      # 0x13fd0
pushq $0x65
popq %rsi
callq 0x2320
leaq 0x2d9b(%rip), %rsi      # 0xf1ee
movq %rax, %rdi
callq 0x21d0
leaq 0x80(%rbx), %rsi
movq %rax, %rdi
callq 0x21c0
leaq 0x2952(%rip), %rsi      # 0xedc3
movq %rax, %rdi
callq 0x21d0
movl 0xa4(%rbx), %esi
movq %rax, %rdi
callq 0x2320
jmp 0xc4b3
movq 0x7b40(%rip), %rdi      # 0x13fd0
callq 0x2320
leaq 0x2125(%rip), %rsi      # 0xe5c1
movq %rax, %rdi
callq 0x21d0
addq $0x60, %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x20f0