// File: /workspace/github_cpp_makefile_star2_O3/ncbi[P]amr/./alignment.hpp
// Function: Alignment_sp::AmrMutation::apply(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) const
void apply (string &seq) const
    { if (pos_real >= seq. size ())
        throw runtime_error ("AmrMutation position " + to_string (pos_real) + " is outside the sequence: " + seq);
      if (frameshift != no_index)
        throw runtime_error ("AmrMutation is a frameshift");
      if (verbose ())
        cerr         << seq. substr (0, pos_real) 
             << endl << allele 
             << endl << seq. substr (pos_real + reference. size ())
             << endl;
      seq = seq. substr (0, pos_real) + allele + seq. substr (pos_real + reference. size ());
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rax
cmpq 0x8(%rsi), %rax
jae 0xe869
cmpq $-0x1, 0x98(%r14)
jne 0xe8cc
xorl %edi, %edi
callq 0x1bde3
testb %al, %al
je 0xe6b6
movq 0x8(%r14), %rcx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb5d0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xaaa2c(%rip), %rdi     # 0xb8fe8
callq 0xb640
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0xb570
movsbl %al, %esi
movq %r15, %rdi
callq 0xb040
movq %rax, %rdi
callq 0xb3f0
movq 0x50(%r14), %rsi
movq 0x58(%r14), %rdx
movq %rax, %rdi
callq 0xb640
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0xb570
movsbl %al, %esi
movq %r15, %rdi
callq 0xb040
movq %rax, %rdi
callq 0xb3f0
movq %rax, %r15
movq 0x38(%r14), %rdx
addq 0x8(%r14), %rdx
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq $-0x1, %rcx
callq 0xb5d0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0xb640
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0xb570
movsbl %al, %esi
movq %r15, %rdi
callq 0xb040
movq %rax, %rdi
callq 0xb3f0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe69b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe6b6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
movq 0x8(%r14), %rcx
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb5d0
movq 0x50(%r14), %rsi
movq 0x58(%r14), %rdx
movq %r15, %rdi
callq 0xb1b0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xe703
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0xe70a
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x38(%r14), %rdx
addq 0x8(%r14), %rdx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
movq $-0x1, %rcx
callq 0xb5d0
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x50(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r15, %rcx
je 0xe760
movq 0x18(%rsp), %rdi
movq 0x48(%rsp), %rsi
cmpq %rdi, %rax
jbe 0xe783
leaq 0x58(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0xe77e
movq 0x58(%rsp), %rdi
cmpq %rdi, %rax
jbe 0xe78f
leaq 0x8(%rsp), %rdi
callq 0xb1b0
jmp 0xe79d
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xb620
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xe7c1
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0xe7c7
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x28(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb6f0
movq (%r14), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xe80e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe829
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xe840
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe85b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
addq $0x88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0xb2d0
movq %rax, %r15
movq 0x8(%r14), %rsi
leaq 0x48(%rsp), %rdi
callq 0xeb82
leaq 0x849c4(%rip), %rsi     # 0x9324f
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xeb12
leaq 0x849c4(%rip), %rsi     # 0x93265
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0xe8fe
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0xe90b
movl $0x10, %edi
callq 0xb2d0
movq %rax, %r14
leaq 0x849a0(%rip), %rsi     # 0x93280
movq %rax, %rdi
callq 0xb250
movq 0xaa701(%rip), %rsi     # 0xb8ff0
movq 0xaa67a(%rip), %rdx     # 0xb8f70
movq %r14, %rdi
callq 0xba00
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
movq %rbx, %rdx
callq 0xeab8
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0xb960
xorl %ebp, %ebp
movq 0xaa6a3(%rip), %rsi     # 0xb8ff0
movq 0xaa61c(%rip), %rdx     # 0xb8f70
movq %r15, %rdi
callq 0xba00
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe982
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xe982
movq %rax, %rbx
movb $0x1, %bpl
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0xe9a1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xe9a1
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe9bc
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe9d7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
testb %bpl, %bpl
jne 0xea11
jmp 0xeab0
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xea11
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xea11
jmp 0xea92
movq %rax, %rbx
movq %r14, %rdi
jmp 0xea14
movq %rax, %rbx
movq %r15, %rdi
callq 0xb440
jmp 0xeab0
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xea41
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xea41
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xea5d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xea5d
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xeab0
movq 0x78(%rsp), %rsi
jmp 0xeaa8
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xea95
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xea95
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xeab0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
movq %rbx, %rdi
callq 0xba60