// File: /workspace/github_c_makefile_star2_O0/ugobas[P]tnm/nma.c
// Function: Tors_outliers
void Tors_outliers(int *outlier_tors, int naxe, int *outlier, int Na,
		   struct axe *axe, struct chain *chains, int Nchain)
{
  int a=0, a_ini=0;
  for(a=0; a<naxe; a++)outlier_tors[a]=0;
  for(int c=0; c<Nchain; c++){
    struct chain *ch=chains+c;
    int i=ch->ini_res, end_res=ch->ini_res+ch->nres-1;
    while(1){
      if((outlier[i]==0)&&(outlier[i+1]==0))break;
      while(1){
	int a=Get_tors(axe, naxe, i, a_ini);
	if(a>=0){outlier_tors[a]=1; a_ini=a+1;}
	else{break;}
      }
      i++; if(i>=end_res)break;
    }
    i=end_res;
    while(1)
    	{if((outlier[i]==0)&&(outlier[i-1]==0))break;
      	 while(1){
			int a=Get_tors(axe, naxe, i, a_ini);
			if(a>=0){outlier_tors[a]=1; a_ini=a+1;}
			else{break;}
      		}
      	i--;
      	if(i<=ch->ini_res)break;
    	}
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x3aff8
movq -0x8(%rbp), %rax
movslq -0x34(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x3afd6
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl 0x10(%rbp), %eax
jge 0x3b13c
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x4c(%rbp)
movq -0x48(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x48(%rbp), %rcx
addl 0x1c(%rcx), %eax
subl $0x1, %eax
movl %eax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movslq -0x4c(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0x3b05f
movq -0x18(%rbp), %rax
movl -0x4c(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0x3b05f
jmp 0x3b0af
jmp 0x3b061
movq -0x28(%rbp), %rdi
movl -0xc(%rbp), %esi
movl -0x4c(%rbp), %edx
movl -0x38(%rbp), %ecx
callq 0x3b150
movl %eax, -0x54(%rbp)
cmpl $0x0, -0x54(%rbp)
jl 0x3b096
movq -0x8(%rbp), %rax
movslq -0x54(%rbp), %rcx
movl $0x1, (%rax,%rcx,4)
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x3b098
jmp 0x3b09a
jmp 0x3b061
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
cmpl -0x50(%rbp), %eax
jl 0x3b0ad
jmp 0x3b0af
jmp 0x3b03c
movl -0x50(%rbp), %eax
movl %eax, -0x4c(%rbp)
movq -0x18(%rbp), %rax
movslq -0x4c(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0x3b0d8
movq -0x18(%rbp), %rax
movl -0x4c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0x3b0d8
jmp 0x3b12c
jmp 0x3b0da
movq -0x28(%rbp), %rdi
movl -0xc(%rbp), %esi
movl -0x4c(%rbp), %edx
movl -0x38(%rbp), %ecx
callq 0x3b150
movl %eax, -0x58(%rbp)
cmpl $0x0, -0x58(%rbp)
jl 0x3b10f
movq -0x8(%rbp), %rax
movslq -0x58(%rbp), %rcx
movl $0x1, (%rax,%rcx,4)
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x3b111
jmp 0x3b113
jmp 0x3b0da
movl -0x4c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq -0x48(%rbp), %rcx
cmpl 0x18(%rcx), %eax
jg 0x3b12a
jmp 0x3b12c
jmp 0x3b0b5
jmp 0x3b12e
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x3afff
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)