// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/querymatch.c
// Function: gt_querymatch_applycorrection
static void gt_querymatch_applycorrection(GtQuerymatch *querymatch)
{
  const GtSeqpaircoordinates *coords;

  gt_assert(querymatch != NULL && querymatch->ref_querymatchoutoptions != NULL
            && querymatch->distance > 0);
  coords = gt_querymatchoutoptions_correction_get(querymatch->
                                                  ref_querymatchoutoptions);
  gt_querymatch_init(querymatch,
                     coords->ulen,
                     querymatch->dbseqnum,
                     querymatch->dbstart_relative + coords->uoffset,
                     querymatch->db_seqstart,
                     querymatch->db_seqlen,
                     gt_querymatch_distance2score(coords->sumdist,
                                                  coords->ulen + coords->vlen),
                     coords->sumdist,
                     coords->sum_max_mismatches,
                     querymatch->selfmatch,
                     querymatch->queryseqnum,
                     coords->vlen,
                     querymatch->querystart + coords->voffset,
                     querymatch->query_seqstart,
                     querymatch->query_seqlen,
                     querymatch->db_desc,
                     querymatch->query_desc);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
cmpq $0x0, 0xb0(%rsp)
je 0x26b2e5
movq 0xb0(%rsp), %rax
cmpq $0x0, 0x90(%rax)
je 0x26b2e5
movq 0xb0(%rsp), %rax
cmpq $0x0, 0x70(%rax)
ja 0x26b31d
movq 0x3d0cb4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2aad1d(%rip), %rsi    # 0x516013
leaq 0x3134b9(%rip), %rdx    # 0x57e7b6
leaq 0x313511(%rip), %rcx    # 0x57e815
leaq 0x312e75(%rip), %r8     # 0x57e180
movl $0x337, %r9d            # imm = 0x337
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x26b31f
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x2655d0
movq %rax, 0xa8(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0xa8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x68(%rsp)
movq 0xb0(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x70(%rsp)
movq 0xb0(%rsp), %rax
movq 0x8(%rax), %rax
movq 0xa8(%rsp), %rcx
addq (%rcx), %rax
movq %rax, 0x78(%rsp)
movq 0xb0(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x80(%rsp)
movq 0xb0(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x88(%rsp)
movq 0xa8(%rsp), %rax
movq 0x20(%rax), %rdi
movq 0xa8(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0xa8(%rsp), %rax
addq 0x18(%rax), %rsi
callq 0x267810
movq 0x60(%rsp), %rdi
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x78(%rsp), %rcx
movq 0x80(%rsp), %r8
movq 0x88(%rsp), %r9
movq %rax, 0x90(%rsp)
movq 0xa8(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x98(%rsp)
movq 0xa8(%rsp), %rax
movq 0x28(%rax), %r13
movq 0xb0(%rsp), %rax
movb 0x8c(%rax), %bpl
movq 0xb0(%rsp), %rax
movq 0x28(%rax), %r12
movq 0xa8(%rsp), %rax
movq 0x18(%rax), %r15
movq 0xb0(%rsp), %rax
movq 0x30(%rax), %r14
movq 0xa8(%rsp), %rax
addq 0x8(%rax), %r14
movq 0xb0(%rsp), %rax
movq 0x50(%rax), %rbx
movq 0xb0(%rsp), %rax
movq 0x48(%rax), %r11
movq 0xb0(%rsp), %rax
movq 0xa0(%rax), %r10
movq 0xb0(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0xa0(%rsp)
movq 0x90(%rsp), %rax
andb $0x1, %bpl
movq %rax, (%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0xa0(%rsp), %rax
movq %r13, 0x10(%rsp)
movzbl %bpl, %ebp
movl %ebp, 0x18(%rsp)
movq %r12, 0x20(%rsp)
movq %r15, 0x28(%rsp)
movq %r14, 0x30(%rsp)
movq %rbx, 0x38(%rsp)
movq %r11, 0x40(%rsp)
movq %r10, 0x48(%rsp)
movq %rax, 0x50(%rsp)
callq 0x267890
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax,%rax)