// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/linearalign_affinegapcost.c
// Function: firstAStabcolumn
static void firstAStabcolumn(GtAffinealignDPentry *Atabcolumn,
                             Starttabentry *Starttabcolumn,
                             const GtScoreHandler *scorehandler,
                             GtUword ulen)
{
  GtUword rowindex;
  GtWord gap_opening, gap_extension;

  gap_opening = gt_scorehandler_get_gap_opening(scorehandler);
  gap_extension = gt_scorehandler_get_gapscore(scorehandler);

  Atabcolumn[0].Rvalue = GT_WORD_MIN;
  Atabcolumn[0].Dvalue = GT_WORD_MIN;
  Atabcolumn[0].Ivalue = GT_WORD_MIN;
  Atabcolumn[0].totalvalue = 0;

  Starttabcolumn[0].Rstart.a = 0;
  Starttabcolumn[0].Rstart.b = 0;
  Starttabcolumn[0].Dstart.a = 0;
  Starttabcolumn[0].Dstart.b = 0;
  Starttabcolumn[0].Istart.a = 0;
  Starttabcolumn[0].Istart.b = 0;

  for (rowindex = 1; rowindex <= ulen; rowindex++)
  {
    Atabcolumn[rowindex].Rvalue = GT_WORD_MIN;
    Atabcolumn[rowindex].Dvalue = (gap_opening + gap_extension);
    Atabcolumn[rowindex].Ivalue = GT_WORD_MIN;
    Atabcolumn[rowindex].totalvalue = 0;

    Starttabcolumn[rowindex].Rstart.a = rowindex;
    Starttabcolumn[rowindex].Rstart.b = 0;
    Starttabcolumn[rowindex].Dstart.a = rowindex;
    Starttabcolumn[rowindex].Dstart.b = 0;
    Starttabcolumn[rowindex].Istart.a = rowindex;
    Starttabcolumn[rowindex].Istart.b = 0;
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq 0x20(%rsp), %rdi
callq 0x1d1180
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
callq 0x1d11d0
movq %rax, (%rsp)
movq 0x30(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
movq %rcx, (%rax)
movq 0x30(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
movq %rcx, 0x8(%rax)
movq 0x30(%rsp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
movq %rcx, 0x10(%rax)
movq 0x30(%rsp), %rax
movq $0x0, 0x18(%rax)
movq 0x28(%rsp), %rax
movq $0x0, (%rax)
movq 0x28(%rsp), %rax
movq $0x0, 0x8(%rax)
movq 0x28(%rsp), %rax
movq $0x0, 0x10(%rax)
movq 0x28(%rsp), %rax
movq $0x0, 0x18(%rax)
movq 0x28(%rsp), %rax
movq $0x0, 0x20(%rax)
movq 0x28(%rsp), %rax
movq $0x0, 0x28(%rax)
movq $0x1, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x18(%rsp), %rax
ja 0x1a2011
movq 0x30(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rcx
addq %rcx, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
movq %rcx, (%rax)
movq 0x8(%rsp), %rcx
addq (%rsp), %rcx
movq 0x30(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rdx
addq %rdx, %rax
movq %rcx, 0x8(%rax)
movq 0x30(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rcx
addq %rcx, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
movq %rcx, 0x10(%rax)
movq 0x30(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rcx
addq %rcx, %rax
movq $0x0, 0x18(%rax)
movq 0x10(%rsp), %rcx
movq 0x28(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq 0x28(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rcx
addq %rcx, %rax
movq $0x0, 0x8(%rax)
movq 0x10(%rsp), %rcx
movq 0x28(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rdx
addq %rdx, %rax
movq %rcx, 0x10(%rax)
movq 0x28(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rcx
addq %rcx, %rax
movq $0x0, 0x18(%rax)
movq 0x10(%rsp), %rcx
movq 0x28(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rdx
addq %rdx, %rax
movq %rcx, 0x20(%rax)
movq 0x28(%rsp), %rax
imulq $0x30, 0x10(%rsp), %rcx
addq %rcx, %rax
movq $0x0, 0x28(%rax)
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x1a1f00
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)