// File: /workspace/github_cpp_makefile_star2_O1/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 0xe860
cmpq $-0x1, 0x98(%r14)
jne 0xe8c3
xorl %edi, %edi
callq 0x1bf4c
testb %al, %al
je 0xe6ac
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 0xaaa36(%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 0xe691
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe6ac
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 0xe6f9
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0xe700
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, %esi
cmpq %r15, %rcx
je 0xe756
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xe775
leaq 0x58(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0xe770
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xe786
movq 0x48(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0xb1b0
jmp 0xe794
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 0xe7b8
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0xe7be
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 0xe805
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe820
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xe837
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe852
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 0xeb65
leaq 0x849cd(%rip), %rsi     # 0x9324f
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xeaf5
leaq 0x849cd(%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 0xe8f5
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0xe902
movl $0x10, %edi
callq 0xb2d0
movq %rax, %r14
leaq 0x849a9(%rip), %rsi     # 0x93280
movq %rax, %rdi
callq 0xb250
movq 0xaa70a(%rip), %rsi     # 0xb8ff0
movq 0xaa683(%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 0xea9b
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0xb960
xorl %ebp, %ebp
movq 0xaa6ac(%rip), %rsi     # 0xb8ff0
movq 0xaa625(%rip), %rdx     # 0xb8f70
movq %r15, %rdi
callq 0xba00
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe979
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xe979
movq %rax, %rbx
movb $0x1, %bpl
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0xe998
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xe998
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe9bb
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xe9bb
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xe9eb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xe9eb
jmp 0xea75
movq %rax, %rbx
movq %r14, %rdi
jmp 0xe9f7
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0xea93
movq %r15, %rdi
callq 0xb440
jmp 0xea93
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xea24
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xea24
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xea40
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xea40
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xea93
movq 0x78(%rsp), %rsi
jmp 0xea8b
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xea78
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0xea78
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xea93
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
movq %rbx, %rdi
callq 0xba60