// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/mutation.c
// Function: Read_pred_para
void Read_pred_para(char *name_in){
  FILE *file_in=fopen(name_in, "r");
  if(file_in==NULL){
    printf("WARNING, parameter file %s not found\n", name_in);
    return;
  }
  char string[100];
  printf("Reading weights of mutation model in %s: ", name_in);
  while(fgets(string, sizeof(string), file_in)!=NULL){
    if(string[0]=='#')continue;
    if(strncmp(string, "EXP_FORCE", 9)==0){
      sscanf(string+10, "%f", &EXP_FORCE);
    }else if(strncmp(string, "OPT_COEFF", 9)==0){
      sscanf(string+10, "%d", &OPT_COEFF);
    }else if(strncmp(string, "OPT_SCORE", 9)==0){
      char c;
      sscanf(string+10, "%c", &c);
      if((c!='C')&&(c!='A')){
	printf("WARNING, %c is not an allowed score type\n", c);
	printf("Allowed types are C (Cartesian) and A (Absolute). ");
	printf("Using default %c\n", OPT_SCORE);
      }else{
	OPT_SCORE=c;
      }
    }else if(strncmp(string, "C_SIZE", 6)==0){
      sscanf(string+7, "%f", &C_SIZE);
    }else if(strncmp(string, "C_DIST", 6)==0){
      sscanf(string+7, "%f", &C_DIST);
    }else if(strncmp(string, "C_STAB", 6)==0){
      sscanf(string+7, "%f", &C_STAB);
    }else{
      printf("WARNING, unknown record %s\n", string);
    }
  }
  printf("size,dist,stab= %.3g %.3g %.3g\n", C_SIZE, C_DIST, C_STAB);
  fclose(file_in);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %r14
leaq 0x1ba09(%rip), %rsi     # 0x53dde
callq 0x2210
testq %rax, %rax
je 0x38611
movq %rax, %rbx
leaq 0x1e322(%rip), %rdi     # 0x5670f
movq %r14, %rsi
xorl %eax, %eax
callq 0x20f0
leaq 0x1a(%rsp), %r15
leaq 0x10(%rsp), %r12
pushq $0x64
popq %rbp
leaq 0x1e32e(%rip), %r13     # 0x56739
pushq $0x9
popq %r14
movq %r12, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x2170
testq %rax, %rax
je 0x385d4
cmpb $0x23, 0x10(%rsp)
je 0x3840f
movq %r12, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x2200
testl %eax, %eax
je 0x384e7
movq %r12, %rdi
leaq 0x1e2f7(%rip), %rsi     # 0x56743
movq %r14, %rdx
callq 0x2200
testl %eax, %eax
je 0x384fa
movq %r12, %rdi
leaq 0x1e2e7(%rip), %rsi     # 0x5674d
movq %r14, %rdx
callq 0x2200
testl %eax, %eax
je 0x38517
movq %r14, %rbp
movq %r13, %r14
movq %r15, %r13
movq %r12, %rdi
leaq 0x1e33d(%rip), %rsi     # 0x567c6
pushq $0x6
popq %r15
movq %r15, %rdx
callq 0x2200
testl %eax, %eax
je 0x38546
movq %r12, %rdi
leaq 0x1e326(%rip), %rsi     # 0x567cd
movq %r15, %rdx
callq 0x2200
testl %eax, %eax
je 0x38594
movq %r12, %rdi
leaq 0x1e313(%rip), %rsi     # 0x567d4
movq %r15, %rdx
callq 0x2200
testl %eax, %eax
je 0x385a9
leaq 0x1e303(%rip), %rdi     # 0x567db
movq %r12, %rsi
xorl %eax, %eax
callq 0x20f0
jmp 0x385c3
movq %r15, %rdi
leaq 0x17753(%rip), %rsi     # 0x4fc44
leaq 0x3c09c(%rip), %rdx     # 0x74594
jmp 0x3850b
movq %r15, %rdi
leaq 0x1ed27(%rip), %rsi     # 0x5722b
leaq 0x3c095(%rip), %rdx     # 0x745a0
xorl %eax, %eax
callq 0x21f0
jmp 0x3840f
movq %r15, %rdi
leaq 0x1f27b(%rip), %rsi     # 0x5779c
leaq 0xf(%rsp), %rdx
xorl %eax, %eax
callq 0x21f0
movb 0xf(%rsp), %al
movl %eax, %ecx
andb $-0x3, %cl
cmpb $0x41, %cl
jne 0x3855b
movb %al, 0x2ba2b(%rip)      # 0x63f6c
jmp 0x3840f
leaq 0x17(%rsp), %rdi
leaq 0x176f2(%rip), %rsi     # 0x4fc44
leaq 0x2b9f7(%rip), %rdx     # 0x63f50
jmp 0x385bc
movsbl %al, %esi
leaq 0x1e1f2(%rip), %rdi     # 0x56757
xorl %eax, %eax
callq 0x20f0
leaq 0x1e20e(%rip), %rdi     # 0x56781
xorl %eax, %eax
callq 0x20f0
movsbl 0x2b9eb(%rip), %esi     # 0x63f6c
leaq 0x1e22c(%rip), %rdi     # 0x567b4
xorl %eax, %eax
callq 0x20f0
jmp 0x3840f
leaq 0x17(%rsp), %rdi
leaq 0x176a4(%rip), %rsi     # 0x4fc44
leaq 0x2b9b1(%rip), %rdx     # 0x63f58
jmp 0x385bc
leaq 0x17(%rsp), %rdi
leaq 0x1768f(%rip), %rsi     # 0x4fc44
leaq 0x2b998(%rip), %rdx     # 0x63f54
xorl %eax, %eax
callq 0x21f0
movq %r13, %r15
movq %r14, %r13
movq %rbp, %r14
pushq $0x64
popq %rbp
jmp 0x3840f
cvtss2sd 0x2b974(%rip), %xmm0    # 0x63f50
cvtss2sd 0x2b974(%rip), %xmm1    # 0x63f58
cvtss2sd 0x2b968(%rip), %xmm2    # 0x63f54
leaq 0x1e204(%rip), %rdi     # 0x567f7
movb $0x3, %al
callq 0x20f0
movq %rbx, %rdi
callq 0x20c0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1e0d1(%rip), %rdi     # 0x566e9
movq %r14, %rsi
xorl %eax, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20f0