// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/orf_finder_visitor.c
// Function: process_orf
static void process_orf(GtRange orf_rng, unsigned int orf_frame,
                        GtStrand strand, GtFeatureNode *gf,
                        GtUword offset, unsigned int min,
                        unsigned int max, GT_UNUSED GtError *err)
{

  gt_assert(gf);
  GtUword tmp;

  if ((gt_range_length(&orf_rng) >= min) &&
      (gt_range_length(&orf_rng) <= max)) {
    switch (strand) {
      case GT_STRAND_FORWARD:
        orf_rng.start = orf_rng.start + offset;
        orf_rng.end = orf_rng.end + offset;
        break;
      case GT_STRAND_REVERSE:
        tmp = orf_rng.start;
        orf_rng.start = offset - orf_rng.end;
        orf_rng.end = offset - tmp;
        break;
      default:
        exit(GT_EXIT_PROGRAMMING_ERROR);
        break;
    }
    orf_attach_results_to_gff3(gf, orf_rng, orf_frame, strand, err);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, %r15
movq %r8, %r13
movl %ecx, %r14d
movl %edx, %ebp
movl 0x90(%rsp), %ebx
leaq 0x10(%rsp), %rax
movq %rdi, (%rax)
movq %rsi, 0x8(%rax)
movq %rax, %rdi
callq 0x117813
cmpq %rbx, %rax
jb 0x16bb0f
movl 0x98(%rsp), %ebx
leaq 0x10(%rsp), %rdi
callq 0x117813
movl %ebx, %ecx
cmpq %rcx, %rax
ja 0x16bb0f
movq 0x10(%rsp), %rax
testl %r14d, %r14d
je 0x16b9a4
movq %r15, %rcx
subq 0x18(%rsp), %rcx
movq %rcx, 0x10(%rsp)
subq %rax, %r15
jmp 0x16b9b1
addq %r15, %rax
movq %rax, 0x10(%rsp)
addq 0x18(%rsp), %r15
movq %r15, 0x18(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %r15, 0x28(%rsp)
leaq 0x22b2c7(%rip), %rdi    # 0x396c93
callq 0x120955
movq %rax, 0x40(%rsp)
movq %r13, %rdi
callq 0x14970e
cmpl $0x1, %eax
jne 0x16b9f1
movl %r14d, %edi
callq 0x121f38
movl %eax, 0x8(%rsp)
jmp 0x16b9f6
movl %r14d, 0x8(%rsp)
movdqa 0x20(%rsp), %xmm0
pcmpeqd %xmm1, %xmm1
psubq %xmm1, %xmm0
movdqa %xmm0, 0x20(%rsp)
leaq 0x267c99(%rip), %rsi    # 0x3d36aa
xorl %r12d, %r12d
leaq 0xd(%rsp), %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x17130
movq %r13, 0x38(%rsp)
movq %r13, %rdi
callq 0x14b1a8
movq %rax, %r13
movq %rax, %rdi
callq 0x14b33e
testq %rax, %rax
je 0x16baa0
movq %rax, %r14
xorl %r12d, %r12d
leaq 0x22b226(%rip), %rbp    # 0x396c72
leaq 0x48(%rsp), %r15
leaq 0x20(%rsp), %rbx
movq %r14, %rdi
callq 0x149bb2
movq %rax, %rdi
movq %rbp, %rsi
callq 0x17a40
testl %eax, %eax
je 0x16ba90
movq %r14, %rdi
callq 0x14b8df
movq %rax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1178d5
testb %al, %al
cmovneq %r14, %r12
movq %r13, %rdi
callq 0x14b33e
movq %rax, %r14
testq %rax, %rax
jne 0x16ba56
testq %r12, %r12
movq 0x40(%rsp), %r14
je 0x16baff
movq 0x38(%rsp), %rdi
callq 0x14b89b
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
leaq 0x22b1ad(%rip), %rsi    # 0x396c72
movq %rax, %rdi
movl 0x8(%rsp), %r8d
callq 0x14952c
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq 0x1491f1
leaq 0x279c14(%rip), %rsi    # 0x3e56fb
leaq 0xd(%rsp), %rdx
movq %rbx, %rdi
callq 0x149c3c
movq %r12, %rdi
movq %rbx, %rsi
callq 0x149997
movq %r14, %rdi
callq 0x121b03
movq %r13, %rdi
callq 0x14b3d0
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop