// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/tools/gt_fingerprint.c
// Function: compare_fingerprints
static int compare_fingerprints(GtStringDistri *sd, const char *checklist,
                                GtError *err)
{
  bool comparisons_failed = false, use_stdin = false;
  FILE *checkfile;
  GtStr *line;
  gt_error_check(err);
  gt_assert(sd && checklist);
  if (!strcmp(checklist, "-"))
    use_stdin = true;
  checkfile = use_stdin ? stdin : gt_fa_xfopen(checklist, "r");
  line = gt_str_new();
  /* process checklist */
  while (gt_str_read_next_line(line, checkfile) != EOF) {
    if (gt_string_distri_get(sd, gt_str_get(line)))
      gt_string_distri_sub(sd, gt_str_get(line));
    else {
      printf("%s only in checklist\n", gt_str_get(line));
      comparisons_failed = true;
    }
    gt_str_reset(line);
  }
  gt_str_delete(line);
  if (!use_stdin)
    gt_fa_xfclose(checkfile);
  /* process remaining sequence_file(s) fingerprints */
  gt_string_distri_foreach(sd, proc_superfluous_sequence, &comparisons_failed);
  if (comparisons_failed) {
    gt_error_set(err, "fingerprint comparison failed");
    return -1;
  }
  return 0;
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movb $0x0, 0x37(%rsp)
movb $0x0, 0x36(%rsp)
cmpq $0x0, 0x38(%rsp)
je 0x382ed
movq 0x38(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x382b5
jmp 0x382ed
movq 0x603ce4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ddd4d(%rip), %rsi    # 0x516013
leaq 0x4ddef2(%rip), %rdx    # 0x5161bf
leaq 0x4e5df3(%rip), %rcx    # 0x51e0c7
leaq 0x4e5b32(%rip), %r8     # 0x51de0d
movl $0x93, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x382ef
jmp 0x382f1
cmpq $0x0, 0x48(%rsp)
je 0x38301
cmpq $0x0, 0x40(%rsp)
jne 0x38339
movq 0x603c98(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4ddd01(%rip), %rsi    # 0x516013
leaq 0x4e5dc3(%rip), %rdx    # 0x51e0dc
leaq 0x4e5da7(%rip), %rcx    # 0x51e0c7
leaq 0x4e5ae6(%rip), %r8     # 0x51de0d
movl $0x94, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x3833b
movq 0x40(%rsp), %rdi
leaq 0x562fe0(%rip), %rsi    # 0x59b327
callq 0x19980
cmpl $0x0, %eax
jne 0x38356
movb $0x1, 0x36(%rsp)
testb $0x1, 0x36(%rsp)
je 0x3836e
movq 0x603bfc(%rip), %rax    # 0x63bf60
movq (%rax), %rax
movq %rax, 0x18(%rsp)
jmp 0x38390
movq 0x40(%rsp), %rdi
leaq 0x4f3c60(%rip), %rsi    # 0x52bfda
leaq 0x4e5a8c(%rip), %rdx    # 0x51de0d
movl $0x97, %ecx
callq 0xd91d0
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x28(%rsp)
callq 0x11d4a0
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x11e3a0
cmpl $-0x1, %eax
je 0x38431
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rdi
callq 0x11dee0
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x1203f0
cmpq $0x0, %rax
je 0x38402
movq 0x48(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
callq 0x11dee0
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x120320
jmp 0x38422
movq 0x20(%rsp), %rdi
callq 0x11dee0
movq %rax, %rsi
leaq 0x4e5cd6(%rip), %rdi    # 0x51e0ec
movb $0x0, %al
callq 0x19070
movb $0x1, 0x37(%rsp)
movq 0x20(%rsp), %rdi
callq 0x11e110
jmp 0x383a4
movq 0x20(%rsp), %rdi
callq 0x11f560
testb $0x1, 0x36(%rsp)
jne 0x3844c
movq 0x28(%rsp), %rdi
callq 0xd9570
movq 0x48(%rsp), %rdi
leaq 0x2b8(%rip), %rsi       # 0x38710
leaq 0x37(%rsp), %rdx
callq 0x1205a0
testb $0x1, 0x37(%rsp)
je 0x38486
movq 0x38(%rsp), %rdi
leaq 0x4e5c8d(%rip), %rsi    # 0x51e102
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x54(%rsp) # imm = 0xFFFFFFFF
jmp 0x3848e
movl $0x0, 0x54(%rsp)
movl 0x54(%rsp), %eax
addq $0x58, %rsp
retq
nopw (%rax,%rax)