// File: 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
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movslq -0x4(%rbp), %rcx
leaq 0xabcaf(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
testb $0x1, 0x58(%rax)
je 0x1a845
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x8(%rbp), %eax
jge 0x1a4ce
movq 0xbb11(%rip), %rdi      # 0x25fc8
leaq 0x48f6(%rip), %rsi      # 0x1edb4
callq 0x3280
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1a4a8
movslq -0x4(%rbp), %rcx
leaq 0xabc5f(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
cmpl $0x65, 0x54(%rax)
je 0x1a5cc
movslq -0x4(%rbp), %rcx
leaq 0xabc3c(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
cmpl $0x77, 0x54(%rax)
je 0x1a5cc
movslq -0x4(%rbp), %rcx
leaq 0xabc19(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
cmpl $0x83, 0x54(%rax)
je 0x1a5cc
movslq -0x4(%rbp), %rcx
leaq 0xabbf3(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
cmpl $0x85, 0x54(%rax)
je 0x1a5cc
movslq -0x4(%rbp), %rcx
leaq 0xabbd1(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0x54(%rax), %esi
movq 0xba49(%rip), %rdi      # 0x25fc8
callq 0x3440
movq %rax, %rdi
leaq 0x3f6d(%rip), %rsi      # 0x1e4fb
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xabb97(%rip), %rsi     # 0xc6138
addq $0x8, %rsi
imulq $0xa8, %rax, %rax
addq %rax, %rsi
addq $0x60, %rsi
callq 0x3260
movq %rax, %rdi
movq 0xb9ee(%rip), %rsi      # 0x25fb0
callq 0x32b0
jmp 0x1a840
movslq -0x4(%rbp), %rcx
leaq 0xabb61(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
cmpl $0x65, 0x54(%rax)
jne 0x1a698
movslq -0x4(%rbp), %rcx
leaq 0xabb3e(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0x54(%rax), %esi
movq 0xb9b6(%rip), %rdi      # 0x25fc8
callq 0x3440
movq %rax, %rdi
leaq 0x496d(%rip), %rsi      # 0x1ef8e
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xabb04(%rip), %rsi     # 0xc6138
addq $0x8, %rsi
imulq $0xa8, %rax, %rax
addq %rax, %rsi
addq $0x80, %rsi
callq 0x3260
movq %rax, %rdi
leaq 0x4749(%rip), %rsi      # 0x1eda1
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0xabacd(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0xa4(%rax), %esi
callq 0x3440
movq %rax, %rdi
movq 0xb922(%rip), %rsi      # 0x25fb0
callq 0x32b0
jmp 0x1a83e
movslq -0x4(%rbp), %rcx
leaq 0xaba95(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
cmpl $0x77, 0x54(%rax)
jne 0x1a79a
movslq -0x4(%rbp), %rcx
leaq 0xaba72(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0x54(%rax), %esi
movq 0xb8ea(%rip), %rdi      # 0x25fc8
callq 0x3440
movq %rax, %rdi
leaq 0x48ad(%rip), %rsi      # 0x1ef9a
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xaba38(%rip), %rsi     # 0xc6138
addq $0x8, %rsi
imulq $0xa8, %rax, %rax
addq %rax, %rsi
addq $0x80, %rsi
callq 0x3260
movq %rax, %rdi
leaq 0x467d(%rip), %rsi      # 0x1eda1
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0xaba01(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0xa4(%rax), %esi
callq 0x3440
movq %rax, %rdi
leaq 0x484d(%rip), %rsi      # 0x1efa7
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0xab9cb(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0xa0(%rax), %esi
callq 0x3440
movq %rax, %rdi
movq 0xb820(%rip), %rsi      # 0x25fb0
callq 0x32b0
jmp 0x1a83c
movslq -0x4(%rbp), %rcx
leaq 0xab993(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0x54(%rax), %esi
movq 0xb80b(%rip), %rdi      # 0x25fc8
callq 0x3440
movq %rax, %rdi
leaq 0x3d2f(%rip), %rsi      # 0x1e4fb
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xab959(%rip), %rsi     # 0xc6138
addq $0x8, %rsi
imulq $0xa8, %rax, %rax
addq %rax, %rsi
addq $0x60, %rsi
callq 0x3260
movq %rax, %rdi
leaq 0x47ae(%rip), %rsi      # 0x1efae
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xab925(%rip), %rsi     # 0xc6138
addq $0x8, %rsi
imulq $0xa8, %rax, %rax
addq %rax, %rsi
addq $0x80, %rsi
callq 0x3260
movq %rax, %rdi
movq 0xb779(%rip), %rsi      # 0x25fb0
callq 0x32b0
jmp 0x1a83e
jmp 0x1a840
jmp 0x1a93d
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x8(%rbp), %eax
jge 0x1a872
movq 0xb76d(%rip), %rdi      # 0x25fc8
leaq 0x4552(%rip), %rsi      # 0x1edb4
callq 0x3280
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x1a84c
movslq -0x4(%rbp), %rcx
leaq 0xab8bb(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movl 0x54(%rax), %esi
movq 0xb733(%rip), %rdi      # 0x25fc8
callq 0x3440
movq %rax, %rdi
leaq 0x3c57(%rip), %rsi      # 0x1e4fb
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xab881(%rip), %rsi     # 0xc6138
addq $0x8, %rsi
imulq $0xa8, %rax, %rax
addq %rax, %rsi
addq $0x60, %rsi
callq 0x3260
movq %rax, %rdi
movq 0xb6d8(%rip), %rsi      # 0x25fb0
callq 0x32b0
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movslq -0x4(%rbp), %rdx
leaq 0xab846(%rip), %rcx     # 0xc6138
addq $0x8, %rcx
imulq $0xa8, %rdx, %rdx
addq %rdx, %rcx
cmpl (%rcx), %eax
jge 0x1a93b
movslq -0x4(%rbp), %rcx
leaq 0xab829(%rip), %rax     # 0xc6138
addq $0x8, %rax
imulq $0xa8, %rcx, %rcx
addq %rcx, %rax
movslq -0x14(%rbp), %rcx
movl 0x4(%rax,%rcx,4), %edi
movl -0x8(%rbp), %esi
addl $0x1, %esi
callq 0x1a470
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x1a8e4
jmp 0x1a93d
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)