// File: /workspace/github_cpp_makefile_star2_O1/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
movl %esi, %ebx
movslq %edi, %rax
imulq $0xa8, %rax, %rax
leaq 0xa8168(%rip), %rcx     # 0xba0c8
leaq (%rax,%rcx), %r12
addq $0x8, %r12
cmpb $0x0, 0x58(%r12)
je 0x12048
testl %ebx, %ebx
jle 0x11f9a
movq 0x8051(%rip), %r14      # 0x19fd0
leaq 0x2df0(%rip), %r15      # 0x14d76
movl $0x3, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2280
decl %ebx
jne 0x11f86
movl 0x54(%r12), %esi
cmpl $0x82, %esi
jg 0x12101
cmpl $0x65, %esi
je 0x121a6
cmpl $0x77, %esi
jne 0x1216f
movq 0x800c(%rip), %rdi      # 0x19fd0
movl $0x77, %esi
callq 0x2390
movq %rax, %rbx
leaq 0x31bf(%rip), %rsi      # 0x15197
movl $0xc, %edx
movq %rax, %rdi
callq 0x2280
movq 0x80(%r12), %rsi
movq 0x88(%r12), %rdx
movq %rbx, %rdi
callq 0x2280
movq %rax, %rbx
leaq 0x2d5c(%rip), %rsi      # 0x14d63
movl $0x7, %edx
movq %rax, %rdi
callq 0x2280
movl 0xa4(%r12), %esi
movq %rbx, %rdi
callq 0x2390
movq %rax, %rbx
leaq 0x3176(%rip), %rsi      # 0x151a4
movl $0x6, %edx
movq %rax, %rdi
callq 0x2280
movl 0xa0(%r12), %esi
jmp 0x12205
testl %ebx, %ebx
jle 0x12070
movq 0x7f7d(%rip), %r14      # 0x19fd0
leaq 0x2d1c(%rip), %r15      # 0x14d76
movl %ebx, %ebp
movl $0x3, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2280
decl %ebp
jne 0x1205c
movl 0x54(%r12), %esi
movq 0x7f54(%rip), %rdi      # 0x19fd0
callq 0x2390
movq %rax, %r14
leaq 0x24d6(%rip), %rsi      # 0x14561
movl $0x1, %edx
movq %rax, %rdi
callq 0x2280
movq 0x60(%r12), %rsi
movq 0x68(%r12), %rdx
movq %r14, %rdi
callq 0x2280
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
cmpl $0x0, (%r12)
jle 0x120f8
incl %ebx
xorl %r14d, %r14d
movl 0x4(%r12,%r14,4), %edi
movl %ebx, %esi
callq 0x11f45
incq %r14
movslq (%r12), %rax
cmpq %rax, %r14
jl 0x120e0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x83, %esi
je 0x12111
cmpl $0x85, %esi
jne 0x1216f
movq 0x7eb8(%rip), %rdi      # 0x19fd0
callq 0x2390
movq %rax, %rbx
leaq 0x243a(%rip), %rsi      # 0x14561
movl $0x1, %edx
movq %rax, %rdi
callq 0x2280
movq 0x60(%r12), %rsi
movq 0x68(%r12), %rdx
movq %rbx, %rdi
callq 0x2280
movq %rax, %rbx
leaq 0x305b(%rip), %rsi      # 0x151ab
movl $0xe, %edx
movq %rax, %rdi
callq 0x2280
movq 0x80(%r12), %rsi
movq 0x88(%r12), %rdx
jmp 0x1219c
movq 0x7e5a(%rip), %rdi      # 0x19fd0
callq 0x2390
movq %rax, %rbx
leaq 0x23dc(%rip), %rsi      # 0x14561
movl $0x1, %edx
movq %rax, %rdi
callq 0x2280
movq 0x60(%r12), %rsi
movq 0x68(%r12), %rdx
movq %rbx, %rdi
callq 0x2280
jmp 0x1220d
movq 0x7e23(%rip), %rdi      # 0x19fd0
movl $0x65, %esi
callq 0x2390
movq %rax, %rbx
leaq 0x2fca(%rip), %rsi      # 0x1518b
movl $0xb, %edx
movq %rax, %rdi
callq 0x2280
movq 0x80(%r12), %rsi
movq 0x88(%r12), %rdx
movq %rbx, %rdi
callq 0x2280
movq %rax, %rbx
leaq 0x2b73(%rip), %rsi      # 0x14d63
movl $0x7, %edx
movq %rax, %rdi
callq 0x2280
movl 0xa4(%r12), %esi
movq %rbx, %rdi
callq 0x2390
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2150