// File: /workspace/github_cpp_makefile_star2_O3/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 0xa7612(%rip), %rcx     # 0xb90c8
leaq (%rax,%rcx), %r12
addq $0x8, %r12
cmpb $0x0, 0x58(%r12)
je 0x11b9e
testl %ebx, %ebx
jle 0x11af0
movq 0x74fb(%rip), %r14      # 0x18fd0
leaq 0x22ca(%rip), %r15      # 0x13da6
movl $0x3, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2280
decl %ebx
jne 0x11adc
movl 0x54(%r12), %esi
cmpl $0x82, %esi
jg 0x11c57
cmpl $0x65, %esi
je 0x11cfc
cmpl $0x77, %esi
jne 0x11cc5
movq 0x74b6(%rip), %rdi      # 0x18fd0
movl $0x77, %esi
callq 0x2390
movq %rax, %rbx
leaq 0x2689(%rip), %rsi      # 0x141b7
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 0x2236(%rip), %rsi      # 0x13d93
movl $0x7, %edx
movq %rax, %rdi
callq 0x2280
movl 0xa4(%r12), %esi
movq %rbx, %rdi
callq 0x2390
movq %rax, %rbx
leaq 0x2640(%rip), %rsi      # 0x141c4
movl $0x6, %edx
movq %rax, %rdi
callq 0x2280
movl 0xa0(%r12), %esi
jmp 0x11d5b
testl %ebx, %ebx
jle 0x11bc6
movq 0x7427(%rip), %r14      # 0x18fd0
leaq 0x21f6(%rip), %r15      # 0x13da6
movl %ebx, %ebp
movl $0x3, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2280
decl %ebp
jne 0x11bb2
movl 0x54(%r12), %esi
movq 0x73fe(%rip), %rdi      # 0x18fd0
callq 0x2390
movq %rax, %r14
leaq 0x19b0(%rip), %rsi      # 0x13591
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 0x11c4e
incl %ebx
xorl %r14d, %r14d
movl 0x4(%r12,%r14,4), %edi
movl %ebx, %esi
callq 0x11a9b
incq %r14
movslq (%r12), %rax
cmpq %rax, %r14
jl 0x11c36
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x83, %esi
je 0x11c67
cmpl $0x85, %esi
jne 0x11cc5
movq 0x7362(%rip), %rdi      # 0x18fd0
callq 0x2390
movq %rax, %rbx
leaq 0x1914(%rip), %rsi      # 0x13591
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 0x2525(%rip), %rsi      # 0x141cb
movl $0xe, %edx
movq %rax, %rdi
callq 0x2280
movq 0x80(%r12), %rsi
movq 0x88(%r12), %rdx
jmp 0x11cf2
movq 0x7304(%rip), %rdi      # 0x18fd0
callq 0x2390
movq %rax, %rbx
leaq 0x18b6(%rip), %rsi      # 0x13591
movl $0x1, %edx
movq %rax, %rdi
callq 0x2280
movq 0x60(%r12), %rsi
movq 0x68(%r12), %rdx
movq %rbx, %rdi
callq 0x2280
jmp 0x11d63
movq 0x72cd(%rip), %rdi      # 0x18fd0
movl $0x65, %esi
callq 0x2390
movq %rax, %rbx
leaq 0x2494(%rip), %rsi      # 0x141ab
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 0x204d(%rip), %rsi      # 0x13d93
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