// File: /workspace/github_c_makefile_star2_O0/jiqingxiaoxi[P]RPA/RPA.c
// Function: read_parProbe
struct ExoProbe *read_parProbe(char *path,int common_flag,int specific_flag)
{
        char *in,line[100];
        int pos,len,gi,position,plus,minus,size,i,flag,total,*store,*temp,*data;
        float Tm,GContent;
        struct ExoProbe *new_probe,*p_probe,*head;
        struct Node *new_node,*p_node;
        FILE *fp;

///read the  probe file
        if(access(path,0)==-1)
        {
                printf("Error! Don't have the %s file!\n",path);
                exit(1);
        }
        fp=fopen(path,"r");
        if(fp==NULL)
        {
                printf("Error: can't open the %s file!\n",path);
                exit(1);
        }
        
        size=sizeof(struct ExoProbe);
        i=0;
        while(fscanf(fp,"pos:%d\tlength:%d\t+:%d\t-:%d\t%f\t%f\n",&pos,&len,&plus,&minus,&Tm,&GContent)!=EOF)
	{
                new_probe=(struct ExoProbe *)malloc(size);
                new_probe->pos=pos;
                new_probe->len=len;
                new_probe->total=1;
		if(plus==1)
	                new_probe->strand=0;
		else
			new_probe->strand=1;
                new_probe->Tm=Tm;
		new_probe->G_content=GContent;
                new_probe->next=NULL;
                new_probe->common=NULL;
		new_probe->specific=NULL;

                if(i==0)
                {
                        head=new_probe;
                        p_probe=new_probe;
                        i++;
                }
                else
                {
                        p_probe->next=new_probe;
                        p_probe=new_probe;
                }
        }
        fclose(fp);
        if(i==0)
        {
                printf("Sorry! Don't have any candidate probes in %s!\n",path);
                exit(1);
        }

	//parameter of common
        if(common_flag==1)
	{
		i=strlen(path);
		in=(char *)malloc(i+20);
		memset(in,'\0',i+20);
		strcpy(in,path);
		strcat(in,"-common.txt"); //suffix of parameter
		if(access(in,0)==-1)
		{
			printf("Error! Don't have the %s file!\n",in);
			exit(1);
		}

		fp=fopen(in,"r");
		if(fp==NULL)
		{
			printf("Error: can't open the %s file!\n",in);
			exit(1);
		}
                
		total=0;
		while(fgets(line,100,fp)!=NULL)
			total++;
		rewind(fp);
		store=(int *)malloc(total*sizeof(int));
		temp=(int *)malloc(total*sizeof(int));
		data=(int *)malloc(6*total*sizeof(int));
		total=0;
		while(fscanf(fp,"%d\t%d\t%d\t%d\t%d\t%d\n",&pos,&len,&gi,&position,&plus,&minus)!=EOF)
		{
			data[6*total]=pos;
			data[6*total+1]=len;
			data[6*total+2]=gi;
			data[6*total+3]=position;
			data[6*total+4]=plus;
			data[6*total+5]=minus;
			store[total]=total;
			total++;
		}
		fclose(fp);
		sort_merge(store,temp,data,0,(total-1));
		p_probe=head;
		size=sizeof(struct Node);
		flag=0;
		i=0;
		while(p_probe&&i<total)
		{
		//pos
			if(data[store[i]*6]<p_probe->pos)
			{
				i++;
				continue;
			}
			if(data[store[i]*6]>p_probe->pos)
			{
				p_probe=p_probe->next;
				flag=0;
				continue;
			}
			//len
			if(data[store[i]*6+1]<p_probe->len)
			{
				i++;
				continue;
			}
			if(data[store[i]*6+1]>p_probe->len)
			{
				p_probe=p_probe->next;
				flag=0;
				continue;
			}
			new_node=(struct Node *)malloc(size);
			new_node->gi=data[store[i]*6+2];
			new_node->pos=data[store[i]*6+3];
			new_node->plus=data[store[i]*6+4];
			new_node->minus=data[store[i]*6+5];
			new_node->next=NULL;
			if(flag==0)
			{
				flag++;
				p_probe->common=new_node;
				p_node=new_node;
			}
			else
			{
				p_node->next=new_node;
				p_node=new_node;
			}
			i++;
		}
		free(in);
		free(data);
		free(store);
		free(temp);
	}
	if(specific_flag==0)
		return head;
	i=strlen(path);
	in=(char *)malloc(i+20);
	memset(in,'\0',i+20);
	strcpy(in,path);
	strcat(in,"-specific.txt"); //suffix of parameter
	if(access(in,0)==-1)
	{
		printf("Error! Don't have the %s file!\n",in);
		exit(1);
	}

	fp=fopen(in,"r");
	if(fp==NULL)
	{
		printf("Error: can't open the %s file!\n",in);
		exit(1);
	}
	total=0;
	while(fgets(line,100,fp)!=NULL)
		total++;
	rewind(fp);
	store=(int *)malloc(total*sizeof(int));
	temp=(int *)malloc(total*sizeof(int));
	data=(int *)malloc(6*total*sizeof(int));
	total=0;
	while(fscanf(fp,"%d\t%d\t%d\t%d\t%d\t%d\n",&pos,&len,&gi,&position,&plus,&minus)!=EOF)
	{
		data[6*total]=pos;
		data[6*total+1]=len;
		data[6*total+2]=gi;
		data[6*total+3]=position;
		data[6*total+4]=plus;
		data[6*total+5]=minus;
		store[total]=total;
		total++;
	}
	fclose(fp);
	sort_merge(store,temp,data,0,(total-1));

	p_probe=head;
	size=sizeof(struct Node);
	flag=0;
	i=0;
	while(p_probe&&i<total)
	{
	//pos
		if(data[store[i]*6]<p_probe->pos)
		{
			i++;
			continue;
		}
		if(data[store[i]*6]>p_probe->pos)
		{
			p_probe=p_probe->next;
			flag=0;
			continue;
		}
	//len
		if(data[store[i]*6+1]<p_probe->len)
		{
			i++;
			continue;
		}
		if(data[store[i]*6+1]>p_probe->len)
		{
			p_probe=p_probe->next;
			flag=0;
			continue;
		}
		new_node=(struct Node *)malloc(size);
		new_node->gi=data[store[i]*6+2];
		new_node->pos=data[store[i]*6+3];
		new_node->plus=data[store[i]*6+4];
		new_node->minus=data[store[i]*6+5];
		new_node->next=NULL;
		if(flag==0)
		{
			flag++;
			p_probe->specific=new_node;
			p_node=new_node;
		}
		else
		{
			p_node->next=new_node;
			p_node=new_node;
		}
		i++;
	}
	free(in);
	free(data);
	free(store);
	free(temp);

	return head;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x1180
cmpl $-0x1, %eax
jne 0x12ce1
movq -0x10(%rbp), %rsi
leaq 0x4dea(%rip), %rdi      # 0x17aba
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x11c0
movq -0x10(%rbp), %rdi
leaq 0x4c80(%rip), %rsi      # 0x1796c
callq 0x1190
movq %rax, -0x108(%rbp)
cmpq $0x0, -0x108(%rbp)
jne 0x12d1e
movq -0x10(%rbp), %rsi
leaq 0x4ffe(%rip), %rdi      # 0x17d0b
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x11c0
movl $0x30, -0xac(%rbp)
movl $0x0, -0xb0(%rbp)
movq -0x108(%rbp), %rdi
leaq 0x507a(%rip), %rsi      # 0x17dba
leaq -0x94(%rbp), %rdx
leaq -0x98(%rbp), %rcx
leaq -0xa4(%rbp), %r8
leaq -0xa8(%rbp), %r9
leaq -0xd4(%rbp), %r10
leaq -0xd8(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x1060
cmpl $-0x1, %eax
je 0x12e9a
movslq -0xac(%rbp), %rdi
callq 0x1160
movq %rax, -0xe0(%rbp)
movl -0x94(%rbp), %ecx
movq -0xe0(%rbp), %rax
movl %ecx, (%rax)
movl -0x98(%rbp), %ecx
movq -0xe0(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0xe0(%rbp), %rax
movl $0x1, 0xc(%rax)
cmpl $0x1, -0xa4(%rbp)
jne 0x12ddc
movq -0xe0(%rbp), %rax
movl $0x0, 0x8(%rax)
jmp 0x12dea
movq -0xe0(%rbp), %rax
movl $0x1, 0x8(%rax)
movss -0xd4(%rbp), %xmm0
movq -0xe0(%rbp), %rax
movss %xmm0, 0x10(%rax)
movss -0xd8(%rbp), %xmm0
movq -0xe0(%rbp), %rax
movss %xmm0, 0x14(%rax)
movq -0xe0(%rbp), %rax
movq $0x0, 0x18(%rax)
movq -0xe0(%rbp), %rax
movq $0x0, 0x20(%rax)
movq -0xe0(%rbp), %rax
movq $0x0, 0x28(%rax)
cmpl $0x0, -0xb0(%rbp)
jne 0x12e75
movq -0xe0(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movl -0xb0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb0(%rbp)
jmp 0x12e95
movq -0xe0(%rbp), %rcx
movq -0xe8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0xe0(%rbp), %rax
movq %rax, -0xe8(%rbp)
jmp 0x12d32
movq -0x108(%rbp), %rdi
callq 0x1090
cmpl $0x0, -0xb0(%rbp)
jne 0x12ecb
movq -0x10(%rbp), %rsi
leaq 0x4f22(%rip), %rdi      # 0x17ddc
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x11c0
cmpl $0x1, -0x14(%rbp)
jne 0x1346c
movq -0x10(%rbp), %rdi
callq 0x10a0
movl %eax, -0xb0(%rbp)
movl -0xb0(%rbp), %eax
addl $0x14, %eax
movslq %eax, %rdi
callq 0x1160
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movl -0xb0(%rbp), %eax
addl $0x14, %eax
movslq %eax, %rdx
xorl %esi, %esi
callq 0x10e0
movq -0x20(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x1050
movq -0x20(%rbp), %rdi
leaq 0x4e59(%rip), %rsi      # 0x17d81
callq 0x11b0
movq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x1180
cmpl $-0x1, %eax
jne 0x12f59
movq -0x20(%rbp), %rsi
leaq 0x4b72(%rip), %rdi      # 0x17aba
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x11c0
movq -0x20(%rbp), %rdi
leaq 0x4a08(%rip), %rsi      # 0x1796c
callq 0x1190
movq %rax, -0x108(%rbp)
cmpq $0x0, -0x108(%rbp)
jne 0x12f96
movq -0x20(%rbp), %rsi
leaq 0x4d86(%rip), %rdi      # 0x17d0b
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x11c0
movl $0x0, -0xb8(%rbp)
leaq -0x90(%rbp), %rdi
movq -0x108(%rbp), %rdx
movl $0x64, %esi
callq 0x1110
cmpq $0x0, %rax
je 0x12fcf
movl -0xb8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb8(%rbp)
jmp 0x12fa0
movq -0x108(%rbp), %rdi
callq 0x10d0
movslq -0xb8(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1160
movq %rax, -0xc0(%rbp)
movslq -0xb8(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1160
movq %rax, -0xc8(%rbp)
imull $0x6, -0xb8(%rbp), %eax
movslq %eax, %rdi
shlq $0x2, %rdi
callq 0x1160
movq %rax, -0xd0(%rbp)
movl $0x0, -0xb8(%rbp)
movq -0x108(%rbp), %rdi
leaq 0x4d52(%rip), %rsi      # 0x17d8d
leaq -0x94(%rbp), %rdx
leaq -0x98(%rbp), %rcx
leaq -0x9c(%rbp), %r8
leaq -0xa0(%rbp), %r9
leaq -0xa4(%rbp), %r10
leaq -0xa8(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x1060
cmpl $-0x1, %eax
je 0x13154
movl -0x94(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x98(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x9c(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xa0(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xa4(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x4, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xa8(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x5, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb8(%rbp), %edx
movq -0xc0(%rbp), %rax
movslq -0xb8(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb8(%rbp)
jmp 0x1302d
movq -0x108(%rbp), %rdi
callq 0x1090
movq -0xc0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
movl -0xb8(%rbp), %r8d
subl $0x1, %r8d
xorl %ecx, %ecx
callq 0x11d30
movq -0xf0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movl $0x18, -0xac(%rbp)
movl $0x0, -0xb4(%rbp)
movl $0x0, -0xb0(%rbp)
xorl %eax, %eax
cmpq $0x0, -0xe8(%rbp)
movb %al, -0x109(%rbp)
je 0x131da
movl -0xb0(%rbp), %eax
cmpl -0xb8(%rbp), %eax
setl %al
movb %al, -0x109(%rbp)
movb -0x109(%rbp), %al
testb $0x1, %al
jne 0x131e9
jmp 0x1343f
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl (%rcx), %eax
jge 0x13224
movl -0xb0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb0(%rbp)
jmp 0x131b3
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl (%rcx), %eax
jle 0x1326f
movq -0xe8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0xe8(%rbp)
movl $0x0, -0xb4(%rbp)
jmp 0x131b3
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x132b1
movl -0xb0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb0(%rbp)
jmp 0x131b3
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jle 0x13300
movq -0xe8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0xe8(%rbp)
movl $0x0, -0xb4(%rbp)
jmp 0x131b3
movslq -0xac(%rbp), %rdi
callq 0x1160
movq %rax, -0xf8(%rbp)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, (%rax)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x4, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x5, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, 0xc(%rax)
movq -0xf8(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpl $0x0, -0xb4(%rbp)
jne 0x1340b
movl -0xb4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb4(%rbp)
movq -0xf8(%rbp), %rcx
movq -0xe8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0xf8(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x1342b
movq -0xf8(%rbp), %rcx
movq -0x100(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0xf8(%rbp), %rax
movq %rax, -0x100(%rbp)
movl -0xb0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb0(%rbp)
jmp 0x131b3
movq -0x20(%rbp), %rdi
callq 0x1030
movq -0xd0(%rbp), %rdi
callq 0x1030
movq -0xc0(%rbp), %rdi
callq 0x1030
movq -0xc8(%rbp), %rdi
callq 0x1030
cmpl $0x0, -0x18(%rbp)
jne 0x13482
movq -0xf0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x13a24
movq -0x10(%rbp), %rdi
callq 0x10a0
movl %eax, -0xb0(%rbp)
movl -0xb0(%rbp), %eax
addl $0x14, %eax
movslq %eax, %rdi
callq 0x1160
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movl -0xb0(%rbp), %eax
addl $0x14, %eax
movslq %eax, %rdx
xorl %esi, %esi
callq 0x10e0
movq -0x20(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x1050
movq -0x20(%rbp), %rdi
leaq 0x48cb(%rip), %rsi      # 0x17da0
callq 0x11b0
movq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x1180
cmpl $-0x1, %eax
jne 0x13506
movq -0x20(%rbp), %rsi
leaq 0x45c5(%rip), %rdi      # 0x17aba
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x11c0
movq -0x20(%rbp), %rdi
leaq 0x445b(%rip), %rsi      # 0x1796c
callq 0x1190
movq %rax, -0x108(%rbp)
cmpq $0x0, -0x108(%rbp)
jne 0x13543
movq -0x20(%rbp), %rsi
leaq 0x47d9(%rip), %rdi      # 0x17d0b
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x11c0
movl $0x0, -0xb8(%rbp)
leaq -0x90(%rbp), %rdi
movq -0x108(%rbp), %rdx
movl $0x64, %esi
callq 0x1110
cmpq $0x0, %rax
je 0x1357c
movl -0xb8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb8(%rbp)
jmp 0x1354d
movq -0x108(%rbp), %rdi
callq 0x10d0
movslq -0xb8(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1160
movq %rax, -0xc0(%rbp)
movslq -0xb8(%rbp), %rdi
shlq $0x2, %rdi
callq 0x1160
movq %rax, -0xc8(%rbp)
imull $0x6, -0xb8(%rbp), %eax
movslq %eax, %rdi
shlq $0x2, %rdi
callq 0x1160
movq %rax, -0xd0(%rbp)
movl $0x0, -0xb8(%rbp)
movq -0x108(%rbp), %rdi
leaq 0x47a5(%rip), %rsi      # 0x17d8d
leaq -0x94(%rbp), %rdx
leaq -0x98(%rbp), %rcx
leaq -0x9c(%rbp), %r8
leaq -0xa0(%rbp), %r9
leaq -0xa4(%rbp), %r10
leaq -0xa8(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x1060
cmpl $-0x1, %eax
je 0x13701
movl -0x94(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x98(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x9c(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xa0(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xa4(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x4, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xa8(%rbp), %edx
movq -0xd0(%rbp), %rax
imull $0x6, -0xb8(%rbp), %ecx
addl $0x5, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb8(%rbp), %edx
movq -0xc0(%rbp), %rax
movslq -0xb8(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0xb8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb8(%rbp)
jmp 0x135da
movq -0x108(%rbp), %rdi
callq 0x1090
movq -0xc0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
movl -0xb8(%rbp), %r8d
subl $0x1, %r8d
xorl %ecx, %ecx
callq 0x11d30
movq -0xf0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movl $0x18, -0xac(%rbp)
movl $0x0, -0xb4(%rbp)
movl $0x0, -0xb0(%rbp)
xorl %eax, %eax
cmpq $0x0, -0xe8(%rbp)
movb %al, -0x10a(%rbp)
je 0x13787
movl -0xb0(%rbp), %eax
cmpl -0xb8(%rbp), %eax
setl %al
movb %al, -0x10a(%rbp)
movb -0x10a(%rbp), %al
testb $0x1, %al
jne 0x13796
jmp 0x139ec
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl (%rcx), %eax
jge 0x137d1
movl -0xb0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb0(%rbp)
jmp 0x13760
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl (%rcx), %eax
jle 0x1381c
movq -0xe8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0xe8(%rbp)
movl $0x0, -0xb4(%rbp)
jmp 0x13760
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x1385e
movl -0xb0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb0(%rbp)
jmp 0x13760
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movq -0xe8(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jle 0x138ad
movq -0xe8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0xe8(%rbp)
movl $0x0, -0xb4(%rbp)
jmp 0x13760
movslq -0xac(%rbp), %rdi
callq 0x1160
movq %rax, -0xf8(%rbp)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, (%rax)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x4, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0xd0(%rbp), %rax
movq -0xc0(%rbp), %rcx
movslq -0xb0(%rbp), %rdx
imull $0x6, (%rcx,%rdx,4), %ecx
addl $0x5, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq -0xf8(%rbp), %rax
movl %ecx, 0xc(%rax)
movq -0xf8(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpl $0x0, -0xb4(%rbp)
jne 0x139b8
movl -0xb4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb4(%rbp)
movq -0xf8(%rbp), %rcx
movq -0xe8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0xf8(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x139d8
movq -0xf8(%rbp), %rcx
movq -0x100(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0xf8(%rbp), %rax
movq %rax, -0x100(%rbp)
movl -0xb0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb0(%rbp)
jmp 0x13760
movq -0x20(%rbp), %rdi
callq 0x1030
movq -0xd0(%rbp), %rdi
callq 0x1030
movq -0xc0(%rbp), %rdi
callq 0x1030
movq -0xc8(%rbp), %rdi
callq 0x1030
movq -0xf0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw %cs:(%rax,%rax)