// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/md5_seqid.c
// Function: gt_md5_seqid_unit_test
int gt_md5_seqid_unit_test(GtError *err) {
  int had_err = 0;
  const char *seqid1 = "foo",
             *seqid1_diffptr = "_foo",
             *seqid1_md5 = "md5:d3b07384d113edec49eaa6238ad5ff00:foo",
             *seqid1_wrongmd5 = "md5:c157a79031e1c40f85931829bc5fc552:foo";
  gt_error_check(err);

  gt_ensure(!gt_md5_seqid_has_prefix(seqid1));
  gt_ensure(gt_md5_seqid_has_prefix(seqid1_md5));
  gt_ensure(gt_md5_seqid_cmp_seqids(seqid1, seqid1) == 0);
  gt_ensure(gt_md5_seqid_cmp_seqids(seqid1, seqid1_diffptr+1) == 0);
  gt_ensure(gt_md5_seqid_cmp_seqids(seqid1, seqid1_md5) == -1);
  gt_ensure(gt_md5_seqid_cmp_seqids(seqid1_md5, seqid1) == 1);
  gt_ensure(gt_md5_seqid_cmp_seqids(seqid1_md5, seqid1_md5) == 0);
  gt_ensure(gt_md5_seqid_cmp_seqids(seqid1_md5, seqid1_wrongmd5) > 0);

  return had_err;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movl $0x0, 0x2c(%rsp)
leaq 0xe1891(%rip), %rax     # 0x16f719
movq %rax, 0x20(%rsp)
leaq 0xe185b(%rip), %rax     # 0x16f6ef
movq %rax, 0x18(%rsp)
leaq 0xe1854(%rip), %rax     # 0x16f6f4
movq %rax, 0x10(%rsp)
leaq 0xe1871(%rip), %rax     # 0x16f71d
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x8df01
movq 0x30(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x8dec9
jmp 0x8df01
movq 0x126108(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0xd018c(%rip), %rsi     # 0x15e066
leaq 0xd0767(%rip), %rdx     # 0x15e648
leaq 0xe185e(%rip), %rcx     # 0x16f746
leaq 0xe17c1(%rip), %r8      # 0x16f6b0
movl $0x40, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x8df03
jmp 0x8df05
cmpl $0x0, 0x2c(%rsp)
jne 0x8df54
movq 0x20(%rsp), %rdi
callq 0x8dca0
testb $0x1, %al
jne 0x8df1c
jmp 0x8df52
movq 0x30(%rsp), %rdi
leaq 0xd224f(%rip), %rsi     # 0x160177
leaq 0xe182e(%rip), %rdx     # 0x16f75d
leaq 0xe1810(%rip), %rcx     # 0x16f746
leaq 0xe1773(%rip), %r8      # 0x16f6b0
movl $0x42, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8df54
jmp 0x8df56
jmp 0x8df58
cmpl $0x0, 0x2c(%rsp)
jne 0x8dfa5
movq 0x10(%rsp), %rdi
callq 0x8dca0
testb $0x1, %al
jne 0x8dfa3
movq 0x30(%rsp), %rdi
leaq 0xd21fe(%rip), %rsi     # 0x160177
leaq 0xe17fe(%rip), %rdx     # 0x16f77e
leaq 0xe17bf(%rip), %rcx     # 0x16f746
leaq 0xe1722(%rip), %r8      # 0x16f6b0
movl $0x43, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8dfa5
jmp 0x8dfa7
jmp 0x8dfa9
cmpl $0x0, 0x2c(%rsp)
jne 0x8dffc
movq 0x20(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x8dd10
cmpl $0x0, %eax
je 0x8dffa
movq 0x30(%rsp), %rdi
leaq 0xd21a7(%rip), %rsi     # 0x160177
leaq 0xe17cb(%rip), %rdx     # 0x16f7a2
leaq 0xe1768(%rip), %rcx     # 0x16f746
leaq 0xe16cb(%rip), %r8      # 0x16f6b0
movl $0x44, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8dffc
jmp 0x8dffe
jmp 0x8e000
cmpl $0x0, 0x2c(%rsp)
jne 0x8e057
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
addq $0x1, %rsi
callq 0x8dd10
cmpl $0x0, %eax
je 0x8e055
movq 0x30(%rsp), %rdi
leaq 0xd214c(%rip), %rsi     # 0x160177
leaq 0xe179d(%rip), %rdx     # 0x16f7cf
leaq 0xe170d(%rip), %rcx     # 0x16f746
leaq 0xe1670(%rip), %r8      # 0x16f6b0
movl $0x45, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8e057
jmp 0x8e059
jmp 0x8e05b
cmpl $0x0, 0x2c(%rsp)
jne 0x8e0ae
movq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x8dd10
cmpl $-0x1, %eax
je 0x8e0ac
movq 0x30(%rsp), %rdi
leaq 0xd20f5(%rip), %rsi     # 0x160177
leaq 0xe177d(%rip), %rdx     # 0x16f806
leaq 0xe16b6(%rip), %rcx     # 0x16f746
leaq 0xe1619(%rip), %r8      # 0x16f6b0
movl $0x46, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8e0ae
jmp 0x8e0b0
jmp 0x8e0b2
cmpl $0x0, 0x2c(%rsp)
jne 0x8e105
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x8dd10
cmpl $0x1, %eax
je 0x8e103
movq 0x30(%rsp), %rdi
leaq 0xd209e(%rip), %rsi     # 0x160177
leaq 0xe1758(%rip), %rdx     # 0x16f838
leaq 0xe165f(%rip), %rcx     # 0x16f746
leaq 0xe15c2(%rip), %r8      # 0x16f6b0
movl $0x47, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8e105
jmp 0x8e107
jmp 0x8e109
cmpl $0x0, 0x2c(%rsp)
jne 0x8e15c
movq 0x10(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x8dd10
cmpl $0x0, %eax
je 0x8e15a
movq 0x30(%rsp), %rdi
leaq 0xd2047(%rip), %rsi     # 0x160177
leaq 0xe1732(%rip), %rdx     # 0x16f869
leaq 0xe1608(%rip), %rcx     # 0x16f746
leaq 0xe156b(%rip), %r8      # 0x16f6b0
movl $0x48, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8e15c
jmp 0x8e15e
jmp 0x8e160
cmpl $0x0, 0x2c(%rsp)
jne 0x8e1b3
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x8dd10
cmpl $0x0, %eax
jg 0x8e1b1
movq 0x30(%rsp), %rdi
leaq 0xd1ff0(%rip), %rsi     # 0x160177
leaq 0xe1710(%rip), %rdx     # 0x16f89e
leaq 0xe15b1(%rip), %rcx     # 0x16f746
leaq 0xe1514(%rip), %r8      # 0x16f6b0
movl $0x49, %r9d
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x8e1b3
jmp 0x8e1b5
movl 0x2c(%rsp), %eax
addq $0x38, %rsp
retq
nop