// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/mgth/mg_outputwriter.c
// Function: check_startcodon
static short check_startcodon(const ParseStruct *parsestruct_ptr,
                              const char *contig_seq_ptrfct)
{
  unsigned short codon_status = 0;

  /* jeder if-Zweig ueberprueft entsprechend des
     Metagenomethreader-Arguments zur Verwendung alternativer Start-Codons
     auf Start-Codons */
  if (ARGUMENTSSTRUCT(codon_mode) == 2)
  {
    if (!strcmp(contig_seq_ptrfct, "atg")
        || !strcmp(contig_seq_ptrfct, "ctg")
        || !strcmp(contig_seq_ptrfct, "gtg")
        || !strcmp(contig_seq_ptrfct, "aug")
        || !strcmp(contig_seq_ptrfct, "cug")
        || !strcmp(contig_seq_ptrfct, "gug"))
    {
      codon_status = 1;
    }
  }
  else if (ARGUMENTSSTRUCT(codon_mode) == 3)
  {
    if (!strcmp(contig_seq_ptrfct, "atg")
        || !strcmp(contig_seq_ptrfct, "ctg")
        || !strcmp(contig_seq_ptrfct, "gtg")
        || !strcmp(contig_seq_ptrfct, "ttg")
        || !strcmp(contig_seq_ptrfct, "aug")
        || !strcmp(contig_seq_ptrfct, "cug")
        || !strcmp(contig_seq_ptrfct, "gug")
        || !strcmp(contig_seq_ptrfct, "uug"))
    {
      codon_status = 1;
    }
  }
  else
  {
    if (!strcmp(contig_seq_ptrfct, "atg")
        || !strcmp(contig_seq_ptrfct, "aug"))
    {
      codon_status = 1;
    }
  }

  return codon_status;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movw $0x0, 0x6(%rsp)
movq 0x10(%rsp), %rax
cmpl $0x2, 0x1e4(%rax)
jne 0x3196d7
movq 0x8(%rsp), %rdi
leaq 0x219da3(%rip), %rsi    # 0x5333f6
callq 0x19980
cmpl $0x0, %eax
je 0x3196cb
movq 0x8(%rsp), %rdi
leaq 0x2a12b0(%rip), %rsi    # 0x5ba919
callq 0x19980
cmpl $0x0, %eax
je 0x3196cb
movq 0x8(%rsp), %rdi
leaq 0x2a1309(%rip), %rsi    # 0x5ba988
callq 0x19980
cmpl $0x0, %eax
je 0x3196cb
movq 0x8(%rsp), %rdi
leaq 0x27bf5f(%rip), %rsi    # 0x5955f4
callq 0x19980
cmpl $0x0, %eax
je 0x3196cb
movq 0x8(%rsp), %rdi
leaq 0x27bf4d(%rip), %rsi    # 0x5955f8
callq 0x19980
cmpl $0x0, %eax
je 0x3196cb
movq 0x8(%rsp), %rdi
leaq 0x27bf3b(%rip), %rsi    # 0x5955fc
callq 0x19980
cmpl $0x0, %eax
jne 0x3196d2
movw $0x1, 0x6(%rsp)
jmp 0x3197e1
movq 0x10(%rsp), %rax
cmpl $0x3, 0x1e4(%rax)
jne 0x3197aa
movq 0x8(%rsp), %rdi
leaq 0x219d01(%rip), %rsi    # 0x5333f6
callq 0x19980
cmpl $0x0, %eax
je 0x3197a1
movq 0x8(%rsp), %rdi
leaq 0x2a120a(%rip), %rsi    # 0x5ba919
callq 0x19980
cmpl $0x0, %eax
je 0x3197a1
movq 0x8(%rsp), %rdi
leaq 0x2a125f(%rip), %rsi    # 0x5ba988
callq 0x19980
cmpl $0x0, %eax
je 0x3197a1
movq 0x8(%rsp), %rdi
leaq 0x27bec1(%rip), %rsi    # 0x595600
callq 0x19980
cmpl $0x0, %eax
je 0x3197a1
movq 0x8(%rsp), %rdi
leaq 0x27be9f(%rip), %rsi    # 0x5955f4
callq 0x19980
cmpl $0x0, %eax
je 0x3197a1
movq 0x8(%rsp), %rdi
leaq 0x27be8d(%rip), %rsi    # 0x5955f8
callq 0x19980
cmpl $0x0, %eax
je 0x3197a1
movq 0x8(%rsp), %rdi
leaq 0x27be7b(%rip), %rsi    # 0x5955fc
callq 0x19980
cmpl $0x0, %eax
je 0x3197a1
movq 0x8(%rsp), %rdi
leaq 0x27be6d(%rip), %rsi    # 0x595604
callq 0x19980
cmpl $0x0, %eax
jne 0x3197a8
movw $0x1, 0x6(%rsp)
jmp 0x3197df
movq 0x8(%rsp), %rdi
leaq 0x219c40(%rip), %rsi    # 0x5333f6
callq 0x19980
cmpl $0x0, %eax
je 0x3197d6
movq 0x8(%rsp), %rdi
leaq 0x27be28(%rip), %rsi    # 0x5955f4
callq 0x19980
cmpl $0x0, %eax
jne 0x3197dd
movw $0x1, 0x6(%rsp)
jmp 0x3197df
jmp 0x3197e1
movw 0x6(%rsp), %ax
addq $0x18, %rsp
retq
nopl (%rax,%rax)