// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/diagbandseed.c
// Function: gt_diagbandseed_kmer_iter_new_list
static GtDiagbandseedKmerIterator *gt_diagbandseed_kmer_iter_new_list(
                               const GtKmerPosList *original)
{
  GtDiagbandseedKmerIterator *ki = gt_malloc(sizeof *ki);

  gt_assert(original != NULL);
  ki->original = original;
  if (original->encode_info != NULL)
  {
    gt_assert(original->spaceGtUword != NULL);
    ki->listend_uword = original->spaceGtUword + original->nextfree;
    ki->section.spaceGtDiagbandseedKmerPos
      = gt_malloc(sizeof *ki->section.spaceGtDiagbandseedKmerPos
                  * original->longest_code_run);
    ki->listend_struct = ki->section.spaceGtDiagbandseedKmerPos +
                         original->longest_code_run;
  } else
  {
    gt_assert(original->spaceGtDiagbandseedKmerPos != NULL);
    ki->listend_uword = NULL;
    ki->listend_struct = original->spaceGtDiagbandseedKmerPos +
                         original->nextfree;
  }
  ki->section.encode_info = original->encode_info;
  gt_diagbandseed_kmer_iter_reset(ki);
  return ki;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl $0x98, %edi
leaq 0x35c98f(%rip), %rsi    # 0x571f94
movl $0x3fe, %edx            # imm = 0x3FE
callq 0xe80f0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x215654
movq 0x42697d(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3009e6(%rip), %rsi    # 0x516013
leaq 0x35d32d(%rip), %rdx    # 0x572961
leaq 0x35d337(%rip), %rcx    # 0x572972
leaq 0x35c952(%rip), %r8     # 0x571f94
movl $0x400, %r9d            # imm = 0x400
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x215656
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x38(%rax)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x28(%rax)
je 0x21572a
jmp 0x215676
movq 0x10(%rsp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x2156ba
movq 0x426917(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x300980(%rip), %rsi    # 0x516013
leaq 0x35d2fb(%rip), %rdx    # 0x572995
leaq 0x35d2d1(%rip), %rcx    # 0x572972
leaq 0x35c8ec(%rip), %r8     # 0x571f94
movl $0x404, %r9d            # imm = 0x404
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2156bc
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rax)
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rdi
shlq $0x4, %rdi
leaq 0x35c8a2(%rip), %rsi    # 0x571f94
movl $0x408, %edx            # imm = 0x408
callq 0xe80f0
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, (%rax)
movq 0x8(%rsp), %rax
movq (%rax), %rcx
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rax
shlq $0x4, %rax
addq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rax)
jmp 0x21579f
jmp 0x21572c
movq 0x10(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x21576f
movq 0x426862(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3008cb(%rip), %rsi    # 0x516013
leaq 0x35d265(%rip), %rdx    # 0x5729b4
leaq 0x35d21c(%rip), %rcx    # 0x572972
leaq 0x35c837(%rip), %r8     # 0x571f94
movl $0x40d, %r9d            # imm = 0x40D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x215771
movq 0x8(%rsp), %rax
movq $0x0, 0x50(%rax)
movq 0x10(%rsp), %rax
movq (%rax), %rcx
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
shlq $0x4, %rax
addq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rax)
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x28(%rax)
movq 0x8(%rsp), %rdi
callq 0x216440
movq 0x8(%rsp), %rax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)