// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_fingerprint.c
// Function: detect_collisions
static int detect_collisions(int num_of_seqfiles, const char **seqfiles,
                             GtError *err)
{
  GtStrArray *sequence_files;
  GtSeqCol *sc;
  GtUword i;
  int had_err = 0;
  gt_error_check(err);
  sequence_files = gt_str_array_new();
  for (i = 0; i < num_of_seqfiles; i++)
    gt_str_array_add_cstr(sequence_files, seqfiles[i]);
  if (!(sc = gt_bioseq_col_new(sequence_files, err)))
    had_err = -1;
  if (!had_err)
    had_err = detect_collisions_on_bsc((GtBioseqCol*) sc, err);
  gt_seq_col_delete(sc);
  gt_str_array_delete(sequence_files);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %ebp
testq %rdx, %rdx
je 0xab03c
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0xab349
movq %r14, (%rsp)
callq 0x121b54
movq %rax, %r12
testl %ebp, %ebp
je 0xab066
movslq %ebp, %r14
xorl %r15d, %r15d
movq (%rbx,%r15,8), %rsi
movq %r12, %rdi
callq 0x121c30
incq %r15
cmpq %r15, %r14
jne 0xab052
movq %r12, %rdi
movq (%rsp), %rbx
movq %rbx, %rsi
callq 0xd8618
movq %rax, %r14
testq %rax, %rax
movq %r12, 0x18(%rsp)
je 0xab308
testq %rbx, %rbx
je 0xab09b
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0xab34e
callq 0x119808
movq %rax, %r15
movq %r14, %rdi
callq 0x11975b
testq %rax, %rax
je 0xab310
xorl %r12d, %r12d
movq %r14, 0x28(%rsp)
movq %r15, 0x20(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x119777
movl $0x0, %r13d
testq %rax, %rax
je 0xab2ed
xorl %ebx, %ebx
movq %r12, 0x10(%rsp)
movq %r14, %rbp
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x119793
movq %rax, %r13
movq %r15, %rdi
movq %rax, %rsi
callq 0x119865
movq %rbx, %r14
testq %rax, %rax
je 0xab2ae
movq %rax, %rbx
movq %r14, 0x8(%rsp)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xab12b
callq 0x101a9a
testb %al, %al
jne 0xab344
movq %r13, 0x30(%rsp)
testq %r13, %r13
je 0xab33f
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %rbp, %rdi
callq 0x1197e9
movq %rax, %r12
movq %rbp, %rdi
movq 0x10(%rsp), %r15
movq %r15, %rsi
movq %rbp, %r14
movq 0x8(%rsp), %rdx
callq 0x1197e9
movq %rax, %rbp
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
leaq -0x1(%r12), %r8
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x1197af
movq %rax, %r13
leaq -0x1(%rbp), %r8
movq %r14, %rdi
movq %r15, %rsi
movq 0x8(%rsp), %rdx
xorl %ecx, %ecx
callq 0x1197af
movq %rax, %rbx
leaq 0x1(%r12), %rdi
leaq 0x2aabfb(%rip), %r14    # 0x355d9f
movq %r14, %rsi
movl $0xe1, %edx
callq 0x1092b2
movq %rax, %r15
leaq 0x1(%rbp), %rdi
movq %r14, %rsi
movl $0xe2, %edx
callq 0x1092b2
movq %rax, %r14
cmpq $0x1, %r12
jb 0xab1ed
callq 0x170d0
xorl %ecx, %ecx
movq (%rax), %rdx
movsbq (%r13,%rcx), %rsi
movb (%rdx,%rsi,4), %dl
movb %dl, (%r15,%rcx)
incq %rcx
cmpq %rcx, %r12
jne 0xab1d5
testq %rbp, %rbp
je 0xab210
callq 0x170d0
xorl %ecx, %ecx
movq (%rax), %rdx
movsbq (%rbx,%rcx), %rsi
movb (%rdx,%rsi,4), %dl
movb %dl, (%r14,%rcx)
incq %rcx
cmpq %rcx, %rbp
jne 0xab1f9
movq %r13, %rdi
leaq 0x2aab85(%rip), %r13    # 0x355d9f
movq %r13, %rsi
movl $0xe7, %edx
callq 0x109670
movq %rbx, %rdi
movq %r13, %rsi
movl $0xe8, %edx
callq 0x109670
xorl %r13d, %r13d
movb %r13b, (%r15,%r12)
movb %r13b, (%r14,%rbp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x17a40
testl %eax, %eax
movq (%rsp), %rbx
je 0xab271
movq %rbx, %rdi
leaq 0x2aaf43(%rip), %rsi    # 0x3561a2
movq 0x30(%rsp), %rdx
xorl %eax, %eax
callq 0x1019cf
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq %r14, %rdi
leaq 0x2aab24(%rip), %rbx    # 0x355d9f
movq %rbx, %rsi
movl $0xef, %edx
callq 0x109670
movq %r15, %rdi
movq %rbx, %rsi
movl $0xf0, %edx
callq 0x109670
movq 0x28(%rsp), %r14
movq 0x20(%rsp), %r15
movq 0x10(%rsp), %r12
movq 0x8(%rsp), %rbx
jmp 0xab2d1
movq %r12, 0x38(%rsp)
movq %r14, 0x40(%rsp)
movq %r15, %rdi
movq %r13, %rsi
leaq 0x38(%rsp), %rdx
callq 0x119878
xorl %r13d, %r13d
movq %r14, %rbx
movq %rbp, %r14
testl %r13d, %r13d
jne 0xab2ed
incq %rbx
movq %r14, %rdi
movq %r12, %rsi
callq 0x119777
cmpq %rax, %rbx
jb 0xab0e2
testl %r13d, %r13d
jne 0xab313
incq %r12
movq %r14, %rdi
callq 0x11975b
cmpq %rax, %r12
jb 0xab0c1
jmp 0xab313
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
jmp 0xab31b
xorl %r13d, %r13d
movq %r15, %rdi
callq 0x11983e
movq %r14, %rdi
callq 0x1195e3
movq 0x18(%rsp), %rdi
callq 0x121e8b
movl %r13d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1b271
callq 0x1b238
callq 0x1b1c6
callq 0x1b1ff