LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/core/encseq_col.c
// Function: gt_encseq_col_grep_desc
static int gt_encseq_col_grep_desc(GtSeqCol *sc, char **seq,
                                   GtUword start, GtUword end,
                                   GtStr *seqid, GtError *err)
{
  GtUword filenum = 0, seqnum = 0, seqlength;
  int had_err;
  GtEncseqCol *esc;
  esc = gt_encseq_col_cast(sc);
  gt_error_check(err);
  gt_assert(esc && seq && seqid);
  had_err = gt_encseq_col_do_grep_desc(esc, &filenum, &seqnum, seqid, err);
  if (!had_err) {
    seqlength = gt_encseq_col_get_sequence_length(sc, filenum, seqnum);
    if (start > seqlength - 1 || end > seqlength - 1) {
      had_err = -1;
      gt_error_set(err, "trying to extract range "GT_WU"-"GT_WU" on sequence "
                         "``%s'' which is not covered by that sequence (only "
                         ""GT_WU" characters in size). Has the sequence-region "
                         "to sequence mapping been defined correctly?",
                         start, end, gt_str_get(seqid), seqlength);
    }
  }
  if (!had_err) {
    *seq = gt_seq_col_get_sequence(sc, filenum, seqnum, start, end);
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r15
movq %r8, %r13
movq %rcx, 0x10(%rsp)
movq %rdx, %r14
movq %rsi, %r12
andq $0x0, 0x8(%rsp)
movq %rdi, %rbp
andq $0x0, (%rsp)
callq 0xb9a4c
movq %rax, %rdi
movq %rbp, %rsi
callq 0xbfaea
movq %rax, %rbx
testq %r15, %r15
je 0xb9d2f
movq %r15, %rdi
callq 0xc103
testb %al, %al
jne 0xb9e14
testq %r13, %r13
je 0xb9de6
testq %r12, %r12
je 0xb9de6
testq %rbx, %rbx
je 0xb9de6
leaq 0x8(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
movq %r13, %rcx
movq %r15, %r8
callq 0xbac4c
testl %eax, %eax
jne 0xb9dd7
movq 0x8(%rsp), %rsi
movq (%rsp), %rdx
movq %rbp, %rdi
callq 0xbaa7b
movq %rax, %rbx
decq %rax
cmpq %r14, %rax
setae %cl
movq 0x10(%rsp), %r8
cmpq %r8, %rax
setae %al
testb %al, %cl
jne 0xb9dbd
movq %r13, %rdi
movq %r8, %r12
callq 0x143d2
leaq 0x2b133(%rip), %rsi     # 0xe4ed5
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
movq %rax, %r8
movq %rbx, %r9
xorl %eax, %eax
callq 0xc007
pushq $-0x1
popq %rax
jmp 0xb9dd7
movq 0x8(%rsp), %rsi
movq (%rsp), %rdx
movq %rbp, %rdi
movq %r14, %rcx
callq 0xbfed3
movq %rax, (%r12)
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x741cb(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1026f(%rip), %rsi     # 0xca066
leaq 0x3746a(%rip), %rdx     # 0xf1268
leaq 0x3744b(%rip), %rcx     # 0xf1250
leaq 0x373a6(%rip), %r8      # 0xf11b2
movl $0xab, %r9d
jmp 0xb9e40
movq 0x7419d(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x10241(%rip), %rsi     # 0xca066
leaq 0x1082d(%rip), %rdx     # 0xca659
leaq 0x3741d(%rip), %rcx     # 0xf1250
leaq 0x37378(%rip), %r8      # 0xf11b2
movl $0xaa, %r9d
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/core/encseq_col.c
// Function: gt_encseq_col_grep_desc_desc
static int gt_encseq_col_grep_desc_desc(GtSeqCol *sc, GtStr *desc,
                                        GtStr *seqid, GtError *err)
{
  GtUword filenum = 0, seqnum = 0;
  int had_err;
  GtEncseqCol *esc;
  esc = gt_encseq_col_cast(sc);
  gt_error_check(err);
  gt_assert(esc && desc && seqid);
  had_err = gt_encseq_col_do_grep_desc(esc, &filenum, &seqnum, seqid, err);
  if (!had_err) {
    char *mydesc = gt_seq_col_get_description(sc, filenum, seqnum);
    if (mydesc)
      gt_str_append_cstr(desc, mydesc);
    gt_free(mydesc);
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
andq $0x0, 0x10(%rsp)
movq %rdi, %r14
andq $0x0, 0x8(%rsp)
callq 0xb9a4c
movq %rax, %rdi
movq %r14, %rsi
callq 0xbfaea
movq %rax, %r13
testq %r15, %r15
je 0xb9e9a
movq %r15, %rdi
callq 0xc103
testb %al, %al
jne 0xb9f3f
testq %r12, %r12
je 0xb9f11
testq %rbx, %rbx
je 0xb9f11
testq %r13, %r13
je 0xb9f11
leaq 0x10(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %r13, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0xbac4c
movl %eax, %ebp
testl %eax, %eax
jne 0xb9f00
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0xbff22
movq %rax, %r14
testq %rax, %rax
je 0xb9eec
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13dd3
leaq 0x372bf(%rip), %rsi     # 0xf11b2
movq %r14, %rdi
movl $0xdb, %edx
callq 0xd249
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x740a0(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x10144(%rip), %rsi     # 0xca066
leaq 0x373eb(%rip), %rdx     # 0xf1314
leaq 0x373c7(%rip), %rcx     # 0xf12f7
leaq 0x3727b(%rip), %r8      # 0xf11b2
movl $0xd5, %r9d
jmp 0xb9f6b
movq 0x74072(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x10116(%rip), %rsi     # 0xca066
leaq 0x10702(%rip), %rdx     # 0xca659
leaq 0x37399(%rip), %rcx     # 0xf12f7
leaq 0x3724d(%rip), %r8      # 0xf11b2
movl $0xd4, %r9d
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/core/encseq_col.c
// Function: gt_encseq_col_grep_desc_md5
static int gt_encseq_col_grep_desc_md5(GtSeqCol *sc, const char **md5,
                                       GtStr *seqid, GtError *err)
{
  GtUword filenum = 0, seqnum = 0;
  int had_err;
  GtEncseqCol *esc;
  esc = gt_encseq_col_cast(sc);
  gt_error_check(err);
  gt_assert(esc && md5 && seqid);
  had_err = gt_encseq_col_do_grep_desc(esc, &filenum, &seqnum, seqid, err);
  if (!had_err)
    *md5 = gt_seq_col_get_md5_fingerprint(sc, filenum, seqnum);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
andq $0x0, 0x10(%rsp)
movq %rdi, %r14
andq $0x0, 0x8(%rsp)
callq 0xb9a4c
movq %rax, %rdi
movq %r14, %rsi
callq 0xbfaea
movq %rax, %r13
testq %r15, %r15
je 0xb9fc5
movq %r15, %rdi
callq 0xc103
testb %al, %al
jne 0xba046
testq %r12, %r12
je 0xba018
testq %rbx, %rbx
je 0xba018
testq %r13, %r13
je 0xba018
leaq 0x10(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %r13, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0xbac4c
movl %eax, %ebp
testl %eax, %eax
jne 0xba007
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0xbfe84
movq %rax, (%rbx)
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x73f99(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1003d(%rip), %rsi     # 0xca066
leaq 0x37315(%rip), %rdx     # 0xf1345
leaq 0x372f2(%rip), %rcx     # 0xf1329
leaq 0x37174(%rip), %r8      # 0xf11b2
movl $0xc6, %r9d
jmp 0xba072
movq 0x73f6b(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x1000f(%rip), %rsi     # 0xca066
leaq 0x105fb(%rip), %rdx     # 0xca659
leaq 0x372c4(%rip), %rcx     # 0xf1329
leaq 0x37146(%rip), %r8      # 0xf11b2
movl $0xc5, %r9d
xorl %eax, %eax
callq 0xb8c0
callq 0xb300