// File: /workspace/github_c_makefile_star2_O2/ugobas[P]tnm/read.c
// Function: Ini_modres
void Ini_modres(){
  ini_modres=0;
  int i;
 // for(i=0; i<20; i++){ 									// modyves: no need to allocate given definition on top of file
 //   modres[i]=malloc(100*sizeof(char));
 //   stdres[i]=malloc(4*sizeof(char));
 // }
  strcpy(modres[0], mod_0); strcpy(stdres[0],"ALA");   // A  //modyves: use strcpy
  strcpy(modres[1], mod_1); strcpy(stdres[1],"CYS");   // C 
  strcpy(modres[2], mod_2); strcpy(stdres[2],"ASP");   // D
  strcpy(modres[3], mod_3); strcpy(stdres[3],"GLU");   // E 
  strcpy(modres[4], mod_4); strcpy(stdres[4],"PHE");   // F
  strcpy(modres[5], mod_5); strcpy(stdres[5],"GLY");   // G 
  strcpy(modres[6], mod_6); strcpy(stdres[6],"HIS");   // H
  strcpy(modres[7], mod_7); strcpy(stdres[7],"ILE");   // I
  strcpy(modres[8], mod_8); strcpy(stdres[8],"LYS");   // K 
  strcpy(modres[9], mod_9); strcpy(stdres[9],"LEU");   // L 
  strcpy(modres[10],mod_10); strcpy(stdres[10],"MET"); // M
  strcpy(modres[11],mod_11); strcpy(stdres[11],"ASN"); // N
  strcpy(modres[12],mod_12); strcpy(stdres[12],"PRO"); // P 
  strcpy(modres[13],mod_13); strcpy(stdres[13],"GLN"); // Q 
  strcpy(modres[14],mod_14); strcpy(stdres[14],"ARG"); // R
  strcpy(modres[15],mod_15); strcpy(stdres[15],"SER"); // S
  strcpy(modres[16],mod_16); strcpy(stdres[16],"THR"); // T
  strcpy(modres[17],mod_17); strcpy(stdres[17],"VAL"); // V
  strcpy(modres[18],mod_18); strcpy(stdres[18],"TRP"); // W
  strcpy(modres[19],mod_19); strcpy(stdres[19],"TYR"); // Y
  for(i=0; i<20; i++){
    int k=0; while(modres[i][k]!='\0')k++; n_modres[i]=k/4;
    //printf("%c %d\n", AANAME1[i], n_modres[i]);
  }
}

// Assembly:
pushq %rbx
andl $0x0, 0x5620b(%rip)     # 0x64ea0
leaq 0x572d4(%rip), %rbx     # 0x65f70
leaq 0x5497d(%rip), %rsi     # 0x63620
movq %rbx, %rdi
callq 0x2080
movl $0x414c41, 0x57a8b(%rip) # imm = 0x414C41
leaq 0x57318(%rip), %rdi     # 0x65fd4
leaq 0x5498d(%rip), %rsi     # 0x63650
callq 0x2080
movl $0x535943, 0x57a73(%rip) # imm = 0x535943
leaq 0x5735f(%rip), %rdi     # 0x66038
leaq 0x549d0(%rip), %rsi     # 0x636b0
callq 0x2080
movl $0x505341, 0x57a5b(%rip) # imm = 0x505341
leaq 0x573a6(%rip), %rdi     # 0x6609c
leaq 0x549d3(%rip), %rsi     # 0x636d0
callq 0x2080
movl $0x554c47, 0x57a43(%rip) # imm = 0x554C47
leaq 0x573ed(%rip), %rdi     # 0x66100
leaq 0x549c7(%rip), %rsi     # 0x636e1
callq 0x2080
movl $0x454850, 0x57a2b(%rip) # imm = 0x454850
leaq 0x57434(%rip), %rdi     # 0x66164
leaq 0x549b9(%rip), %rsi     # 0x636f0
callq 0x2080
movl $0x594c47, 0x57a13(%rip) # imm = 0x594C47
leaq 0x5747b(%rip), %rdi     # 0x661c8
leaq 0x549b1(%rip), %rsi     # 0x63705
callq 0x2080
movl $0x534948, 0x579fb(%rip) # imm = 0x534948
leaq 0x574c2(%rip), %rdi     # 0x6622c
leaq 0x549a1(%rip), %rsi     # 0x63712
callq 0x2080
movl $0x454c49, 0x579e3(%rip) # imm = 0x454C49
leaq 0x57509(%rip), %rdi     # 0x66290
leaq 0x54992(%rip), %rsi     # 0x63720
callq 0x2080
movl $0x53594c, 0x579cb(%rip) # imm = 0x53594C
leaq 0x57550(%rip), %rdi     # 0x662f4
leaq 0x54992(%rip), %rsi     # 0x6373d
callq 0x2080
movl $0x55454c, 0x579b3(%rip) # imm = 0x55454C
leaq 0x57597(%rip), %rdi     # 0x66358
leaq 0x54988(%rip), %rsi     # 0x63750
callq 0x2080
movl $0x54454d, 0x5799b(%rip) # imm = 0x54454D
leaq 0x575de(%rip), %rdi     # 0x663bc
leaq 0x54988(%rip), %rsi     # 0x6376d
callq 0x2080
movl $0x4e5341, 0x57983(%rip) # imm = 0x4E5341
leaq 0x57625(%rip), %rdi     # 0x66420
leaq 0x54974(%rip), %rsi     # 0x63776
callq 0x2080
movl $0x4f5250, 0x5796b(%rip) # imm = 0x4F5250
leaq 0x5766c(%rip), %rdi     # 0x66484
leaq 0x54960(%rip), %rsi     # 0x6377f
callq 0x2080
movl $0x4e4c47, 0x57953(%rip) # imm = 0x4E4C47
leaq 0x576b3(%rip), %rdi     # 0x664e8
leaq 0x54954(%rip), %rsi     # 0x63790
callq 0x2080
movl $0x475241, 0x5793b(%rip) # imm = 0x475241
leaq 0x576fa(%rip), %rdi     # 0x6654c
leaq 0x54957(%rip), %rsi     # 0x637b0
callq 0x2080
movl $0x524553, 0x57923(%rip) # imm = 0x524553
leaq 0x57741(%rip), %rdi     # 0x665b0
leaq 0x54953(%rip), %rsi     # 0x637c9
callq 0x2080
movl $0x524854, 0x5790b(%rip) # imm = 0x524854
leaq 0x57788(%rip), %rdi     # 0x66614
leaq 0x5493b(%rip), %rsi     # 0x637ce
callq 0x2080
movl $0x4c4156, 0x578f3(%rip) # imm = 0x4C4156
leaq 0x577cf(%rip), %rdi     # 0x66678
leaq 0x54930(%rip), %rsi     # 0x637e0
callq 0x2080
movl $0x505254, 0x578db(%rip) # imm = 0x505254
leaq 0x57816(%rip), %rdi     # 0x666dc
leaq 0x54933(%rip), %rsi     # 0x63800
callq 0x2080
movl $0x525954, 0x578c3(%rip) # imm = 0x525954
xorl %eax, %eax
pushq $-0x1
popq %rcx
leaq 0x57038(%rip), %rdx     # 0x65f20
cmpq $0x14, %rax
je 0xef0d
movq %rbx, %rdi
movl %ecx, %esi
incl %esi
cmpb $0x0, (%rdi)
leaq 0x1(%rdi), %rdi
jne 0xeef3
shrl $0x2, %esi
movl %esi, (%rdx,%rax,4)
incq %rax
addq $0x64, %rbx
jmp 0xeee8
popq %rbx
retq