// File: /workspace/github_c_makefile_star2_O3/samtools[P]htslib/vcf.c
// Function: bcf_update_format
int bcf_update_format(const bcf_hdr_t *hdr, bcf1_t *line, const char *key, const void *values, int n, int type)
{
    // Is the field already present?
    int i, fmt_id = bcf_hdr_id2int(hdr,BCF_DT_ID,key);
    int is_len = 0;
    if ( !bcf_hdr_idinfo_exists(hdr,BCF_HL_FMT,fmt_id) )
    {
        if ( !n ) return 0;
        return -1;  // the key not present in the header
    }

    if ( !(line->unpacked & BCF_UN_FMT) ) bcf_unpack(line, BCF_UN_FMT);

    for (i=0; i<line->n_fmt; i++)
        if ( line->d.fmt[i].id==fmt_id ) break;
    bcf_fmt_t *fmt = i==line->n_fmt ? NULL : &line->d.fmt[i];

    is_len = strcmp(key, "LEN") == 0;
    if ( !n )
    {
        if ( fmt )
        {
            // Mark the tag for removal, free existing memory if necessary
            if ( fmt->p_free )
            {
                free(fmt->p - fmt->p_off);
                fmt->p_free = 0;
            }
            line->d.indiv_dirty = 1;
            fmt->p = NULL;
        }
        if (is_len) {
            line->rlen = get_rlen(hdr, line);
        }
        return 0;
    }

    line->n_sample = bcf_hdr_nsamples(hdr);
    int nps = n / line->n_sample;  // number of values per sample
    assert( nps && nps*line->n_sample==n );     // must be divisible by n_sample

    // Encode the values and determine the size required to accommodate the values
    kstring_t str = {0,0,0};
    bcf_enc_int1(&str, fmt_id);
    assert(values != NULL);
    if ( type==BCF_HT_INT )
        bcf_enc_vint(&str, n, (int32_t*)values, nps);
    else if ( type==BCF_HT_REAL )
    {
        bcf_enc_size(&str, nps, BCF_BT_FLOAT);
        serialize_float_array(&str, nps*line->n_sample, (float *) values);
    }
    else if ( type==BCF_HT_STR )
    {
        bcf_enc_size(&str, nps, BCF_BT_CHAR);
        kputsn((char*)values, nps*line->n_sample, &str);
    }
    else
    {
        hts_log_error("The type %d not implemented yet at %s:%"PRIhts_pos, type, bcf_seqname_safe(hdr,line), line->pos+1);
        abort();
    }

    if ( !fmt )
    {
        // Not present, new format field
        line->n_fmt++;
        hts_expand0(bcf_fmt_t, line->n_fmt, line->d.m_fmt, line->d.fmt);

        // Special case: VCF specification requires that GT is always first
        if ( line->n_fmt > 1 && key[0]=='G' && key[1]=='T' && !key[2] )
        {
            for (i=line->n_fmt-1; i>0; i--)
                line->d.fmt[i] = line->d.fmt[i-1];
            fmt = &line->d.fmt[0];
        }
        else
            fmt = &line->d.fmt[line->n_fmt-1];
        bcf_unpack_fmt_core1((uint8_t*)str.s, line->n_sample, fmt);
        line->d.indiv_dirty = 1;
        fmt->p_free = 1;
    }
    else
    {
        // The tag is already present, check if it is big enough to accommodate the new block
        if ( fmt->p && str.l <= fmt->p_len + fmt->p_off )
        {
            // good, the block is big enough
            if ( str.l != fmt->p_len + fmt->p_off ) line->d.indiv_dirty = 1;
            uint8_t *ptr = fmt->p - fmt->p_off;
            memcpy(ptr, str.s, str.l);
            free(str.s);
            int p_free = fmt->p_free;
            bcf_unpack_fmt_core1(ptr, line->n_sample, fmt);
            fmt->p_free = p_free;
        }
        else
        {
            if ( fmt->p_free )
                free(fmt->p - fmt->p_off);
            bcf_unpack_fmt_core1((uint8_t*)str.s, line->n_sample, fmt);
            fmt->p_free = 1;
            line->d.indiv_dirty = 1;
        }
    }
    line->unpacked |= BCF_UN_FMT;

    if (is_len) {
        line->rlen = get_rlen(hdr, line);
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r9d, %r15d
movl %r8d, %ebp
movq %rcx, 0x18(%rsp)
movq %rdx, %r12
movq %rsi, 0x40(%rsp)
movq %rdi, %r14
xorl %r13d, %r13d
xorl %esi, %esi
callq 0x2d3d9
testl %eax, %eax
js 0x3f065
movl %eax, %ebx
cmpl (%r14), %eax
jge 0x3f065
movq 0x10(%r14), %rax
movl %ebx, %ecx
shlq $0x4, %rcx
movq 0x8(%rax,%rcx), %rax
testq %rax, %rax
je 0x3f065
movl 0x10(%rax), %eax
notl %eax
testb $0xf, %al
jne 0x3f07c
negl %ebp
sbbl %r13d, %r13d
movl %r13d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x40(%rsp), %r13
testb $0x8, 0xbc(%r13)
jne 0x3f098
movq %r13, %rdi
movl $0x8, %esi
callq 0x38183
movq %r13, %rdx
movq 0x18(%r13), %r13
movq %r13, %rcx
shrq $0x20, %rcx
movl %ecx, %eax
andl $0xff, %eax
je 0x3f0d6
movq 0x98(%rdx), %rdx
movzbl %cl, %esi
movq $0x0, 0x48(%rsp)
xorl %ecx, %ecx
cmpl %ebx, (%rdx)
je 0x3f0d8
incq %rcx
addq $0x20, %rdx
cmpq %rcx, %rsi
jne 0x3f0c4
jmp 0x3f0fe
xorl %ecx, %ecx
cmpl %eax, %ecx
jne 0x3f0e7
movq $0x0, 0x48(%rsp)
jmp 0x3f0fe
movl %ecx, %ecx
shlq $0x5, %rcx
movq 0x40(%rsp), %rax
addq 0x98(%rax), %rcx
movq %rcx, 0x48(%rsp)
leaq 0x6d0a6(%rip), %rsi     # 0xac1ab
movq %r12, %rdi
callq 0x46e0
movl %eax, %ecx
testl %ebp, %ebp
je 0x3f1bb
movl %ecx, 0x54(%rsp)
movabsq $0xffffffffff, %rdx     # imm = 0xFFFFFFFFFF
movl 0x8(%r14), %eax
movl %eax, %ecx
andl $0xffffff, %ecx         # imm = 0xFFFFFF
shlq $0x28, %rax
andq %rdx, %r13
orq %rax, %r13
movq 0x40(%rsp), %rax
movq %r13, 0x18(%rax)
movl %ebp, %eax
cltd
idivl %ecx
testl %eax, %eax
je 0x3fa0a
imull %eax, %ecx
cmpl %ebp, %ecx
jne 0x3fa0a
movl %eax, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movl $0x7, %edi
callq 0x46a0
testq %rax, %rax
je 0x3f222
movq %rax, 0x30(%rsp)
movq $0x7, 0x28(%rsp)
movl %ebx, %ecx
negl %ecx
movq 0x18(%rsp), %rdx
jo 0x3f232
cmpl $0x80000001, %ebx       # imm = 0x80000001
movl 0x10(%rsp), %ecx
jne 0x3f243
movw $0x8111, (%rax)         # imm = 0x8111
jmp 0x3f252
movq 0x48(%rsp), %r15
testq %r15, %r15
je 0x3f1fe
movl 0x1c(%r15), %eax
testl %eax, %eax
jns 0x3f1e7
movq 0x10(%r15), %rdi
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
subq %rax, %rdi
movl %ecx, %ebx
callq 0x45c0
movl %ebx, %ecx
andb $0x7f, 0x1f(%r15)
movq 0x40(%rsp), %rax
movl $0x1, 0xb4(%rax)
movq $0x0, 0x10(%r15)
xorl %r13d, %r13d
testl %ecx, %ecx
jne 0x3f06a
movq %r14, %rdi
movq 0x40(%rsp), %rbx
movq %rbx, %rsi
callq 0x370a7
movq %rax, 0x8(%rbx)
jmp 0x3f06a
xorl %edi, %edi
xorl %r13d, %r13d
movq 0x18(%rsp), %rdx
movl 0x10(%rsp), %ecx
jmp 0x3f262
movw $0x8011, (%rax)         # imm = 0x8011
movl $0x2, %r13d
movl 0x10(%rsp), %ecx
jmp 0x3f258
cmpl $0x7f, %ebx
ja 0x3f3f8
movb $0x11, (%rax)
movb %bl, 0x1(%rax)
movl $0x2, %r13d
movq %r13, 0x20(%rsp)
movl $0x7, %edi
testq %rdx, %rdx
je 0x3fa29
cmpl $0x3, %r15d
je 0x3f2ed
cmpl $0x2, %r15d
je 0x3f292
cmpl $0x1, %r15d
jne 0x3fa48
leaq 0x20(%rsp), %rdi
movl %ebp, %esi
callq 0x32025
jmp 0x3f5f7
cmpl $0xe, %ecx
jg 0x3f348
cmpl %r13d, %edi
ja 0x3f2d4
leaq 0x1(%r13), %rcx
shrl %ecx
leaq (%rcx,%r13), %rbx
incq %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4860
testq %rax, %rax
je 0x3f451
movq %rax, 0x30(%rsp)
movq %rbx, 0x28(%rsp)
movq 0x18(%rsp), %rdx
movl 0x10(%rsp), %ecx
movl %ecx, %esi
shlb $0x4, %sil
orb $0x5, %sil
movb %sil, (%rax,%r13)
movl $0x1, %r13d
jmp 0x3f48c
cmpl $0xe, %ecx
jg 0x3f3a2
cmpl %r13d, %edi
ja 0x3f32f
leaq 0x1(%r13), %rcx
shrl %ecx
leaq (%rcx,%r13), %rbx
incq %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4860
testq %rax, %rax
je 0x3f45c
movq %rax, 0x30(%rsp)
movq %rbx, 0x28(%rsp)
movq 0x18(%rsp), %rdx
movl 0x10(%rsp), %ecx
movl %ecx, %esi
shlb $0x4, %sil
orb $0x7, %sil
movb %sil, (%rax,%r13)
movl $0x1, %r13d
jmp 0x3f559
leaq 0x6(%r13), %rsi
cmpl %esi, %edi
jae 0x3f37e
movl %esi, %ebx
shrl %ebx
addq %rsi, %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4860
testq %rax, %rax
je 0x3f451
movq %rax, 0x30(%rsp)
movq %rbx, 0x28(%rsp)
movq 0x18(%rsp), %rdx
movl 0x10(%rsp), %ecx
movb $-0xb, (%rax,%r13)
cmpl $0x7f, %ecx
ja 0x3f412
movb $0x11, 0x1(%rax,%r13)
movb %cl, 0x2(%rax,%r13)
movl $0x3, %r13d
jmp 0x3f48c
leaq 0x6(%r13), %rsi
cmpl %esi, %edi
jae 0x3f3d8
movl %esi, %ebx
shrl %ebx
addq %rsi, %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4860
testq %rax, %rax
je 0x3f45c
movq %rax, 0x30(%rsp)
movq %rbx, 0x28(%rsp)
movq 0x18(%rsp), %rdx
movl 0x10(%rsp), %ecx
movb $-0x9, (%rax,%r13)
cmpl $0x7f, %ecx
ja 0x3f42e
movb $0x11, 0x1(%rax,%r13)
movb %cl, 0x2(%rax,%r13)
movl $0x3, %r13d
jmp 0x3f559
cmpl $0x7fff, %ebx           # imm = 0x7FFF
ja 0x3f46a
movb $0x12, (%rax)
movw %bx, 0x1(%rax)
movl $0x3, %r13d
jmp 0x3f258
cmpl $0x7fff, %ecx           # imm = 0x7FFF
ja 0x3f47b
movb $0x12, 0x1(%rax,%r13)
movw %cx, 0x2(%rax,%r13)
movl $0x4, %r13d
jmp 0x3f48c
cmpl $0x7fff, %ecx           # imm = 0x7FFF
ja 0x3f548
movb $0x12, 0x1(%rax,%r13)
movw %cx, 0x2(%rax,%r13)
movl $0x4, %r13d
jmp 0x3f559
movq 0x18(%rsp), %rdx
movl 0x10(%rsp), %ecx
jmp 0x3f496
movq 0x18(%rsp), %rdx
movl 0x10(%rsp), %ecx
jmp 0x3f563
movb $0x13, (%rax)
movl %ebx, 0x1(%rax)
movl $0x5, %r13d
jmp 0x3f258
movb $0x13, 0x1(%rax,%r13)
movl %ecx, 0x2(%rax,%r13)
movl $0x6, %r13d
addq 0x20(%rsp), %r13
movq %r13, 0x20(%rsp)
movq 0x40(%rsp), %rax
movq 0x18(%rax), %r15
movq %r15, %rax
shrq $0x28, %rax
imull %eax, %ecx
testl %ecx, %ecx
js 0x3f5f7
movslq %ecx, %rbp
leaq (,%rbp,4), %rsi
addq %r13, %rsi
cmpq %rsi, 0x28(%rsp)
jae 0x3f510
movq %rsi, %rax
shrq $0x3e, %rax
movq %rsi, %rcx
shrq %rcx
xorl %ebx, %ebx
testq %rax, %rax
cmoveq %rcx, %rbx
movq %rsi, 0x10(%rsp)
addq %rsi, %rbx
movq 0x30(%rsp), %rdi
movq %rbx, %rsi
callq 0x4860
movq 0x18(%rsp), %rdx
testq %rax, %rax
je 0x3f5f7
movq %rax, 0x30(%rsp)
movq %rbx, 0x28(%rsp)
movq 0x10(%rsp), %rsi
jmp 0x3f515
movq 0x30(%rsp), %rax
movabsq $0xffffffffff, %rcx     # imm = 0xFFFFFFFFFF
incq %rcx
cmpq %rcx, %r15
jb 0x3f53e
addq %r13, %rax
xorl %ecx, %ecx
movss (%rdx,%rcx,4), %xmm0
movss %xmm0, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %rbp
jne 0x3f52c
movq %rsi, 0x20(%rsp)
jmp 0x3f5f7
movb $0x13, 0x1(%rax,%r13)
movl %ecx, 0x2(%rax,%r13)
movl $0x6, %r13d
addq 0x20(%rsp), %r13
movq %r13, 0x20(%rsp)
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rax
shrq $0x28, %rax
imull %eax, %ecx
movslq %ecx, %rbx
leaq (%rbx,%r13), %rax
addq $0x2, %rax
cmpq %r13, %rax
jbe 0x3f5c9
cmpq %rax, 0x28(%rsp)
jae 0x3f5d6
movq %rax, %rcx
shrq $0x3e, %rcx
movq %rax, %rdx
shrq %rdx
xorl %ebp, %ebp
testq %rcx, %rcx
cmoveq %rdx, %rbp
addq %rax, %rbp
movq 0x30(%rsp), %rdi
movq %rbp, %rsi
callq 0x4860
movq 0x18(%rsp), %rdx
testq %rax, %rax
je 0x3f5f7
movq %rax, %r15
movq %rax, 0x30(%rsp)
movq %rbp, 0x28(%rsp)
jmp 0x3f5db
callq 0x4050
movl $0x4b, (%rax)
jmp 0x3f5f7
movq 0x30(%rsp), %r15
leaq (%r15,%r13), %rdi
movq %rdx, %rsi
movq %rbx, %rdx
callq 0x43c0
addq %rbx, %r13
movq %r13, 0x20(%rsp)
movb $0x0, (%r15,%r13)
movq 0x48(%rsp), %r13
testq %r13, %r13
je 0x3f699
movq 0x10(%r13), %rbx
testq %rbx, %rbx
movq 0x40(%rsp), %r15
je 0x3f799
movq 0x20(%rsp), %rdx
movl 0x1c(%r13), %eax
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl 0x18(%r13), %esi
addl %ecx, %esi
cmpq %rsi, %rdx
ja 0x3f79d
je 0x3f64d
movl $0x1, 0xb4(%r15)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl 0x1c(%r13), %ecx
movl %ecx, %eax
subq %rax, %rbx
movq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x43c0
movq 0x30(%rsp), %rdi
callq 0x45c0
movl $0x80000000, %ebp       # imm = 0x80000000
andl 0x1c(%r13), %ebp
movq 0x18(%r15), %rsi
shrq $0x28, %rsi
movq %rbx, %rdi
movq %r13, %rdx
callq 0x2fb90
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl 0x1c(%r13), %eax
orl %ebp, %eax
movl %eax, 0x1c(%r13)
jmp 0x3f941
movq 0x40(%rsp), %r15
movq 0x18(%r15), %rdx
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rdx, %rcx
movabsq $0xff00000000, %rsi     # imm = 0xFF00000000
andq %rcx, %rsi
movabsq $-0xff00000001, %rax    # imm = 0xFFFFFF00FFFFFFFF
andq %rdx, %rax
orq %rsi, %rax
movq %rax, 0x18(%r15)
shrq $0x20, %rcx
movzbl %cl, %edx
movslq 0x50(%r15), %rsi
cmpl %esi, %edx
jle 0x3f71c
testl %edx, %edx
movzbl %cl, %eax
movl $0x1, %edi
cmovneq %rax, %rdi
leaq 0x98(%r15), %r9
leaq 0x6cbfb(%rip), %rax     # 0xac2f6
movq %rax, (%rsp)
movl $0x4, %edx
movl $0x20, %ecx
movl $0x1, %r8d
callq 0x114b1
movl %eax, 0x50(%r15)
movq 0x18(%r15), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movabsq $0xfe00000000, %rdx     # imm = 0xFE00000000
testq %rdx, %rax
je 0x3f74d
cmpb $0x47, (%r12)
jne 0x3f74d
cmpb $0x54, 0x1(%r12)
jne 0x3f74d
cmpb $0x0, 0x2(%r12)
je 0x3f9c5
movq 0x98(%r15), %rdx
movzbl %cl, %ecx
shll $0x5, %ecx
addq %rcx, %rdx
addq $-0x20, %rdx
movq 0x30(%rsp), %rsi
shrq $0x28, %rax
movzbl (%rsi), %ecx
andl $0xf, %ecx
decl %ecx
cmpl $0x3, %ecx
ja 0x3f8af
leaq 0x6b78a(%rip), %rdi     # 0xaaf0c
movslq (%rdi,%rcx,4), %rcx
addq %rdi, %rcx
jmpq *%rcx
leaq 0x2(%rsi), %rdi
movsbq 0x1(%rsi), %rcx
jmp 0x3f8b4
movl 0x1c(%r13), %eax
testl %eax, %eax
jns 0x3f7b1
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
subq %rax, %rbx
movq %rbx, %rdi
callq 0x45c0
movq 0x30(%rsp), %rdx
movq 0x18(%r15), %rax
shrq $0x28, %rax
movzbl (%rdx), %ecx
andl $0xf, %ecx
decl %ecx
cmpl $0x3, %ecx
ja 0x3f804
leaq 0x6b71a(%rip), %rsi     # 0xaaeec
movslq (%rsi,%rcx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
leaq 0x2(%rdx), %rsi
movsbq 0x1(%rdx), %rcx
jmp 0x3f809
leaq 0x5(%rdx), %rsi
movl 0x1(%rdx), %ecx
jmp 0x3f809
leaq 0x9(%rdx), %rsi
movq 0x1(%rdx), %rcx
jmp 0x3f809
leaq 0x3(%rdx), %rsi
movswq 0x1(%rdx), %rcx
jmp 0x3f809
xorl %ecx, %ecx
movq %rdx, %rsi
movl %ecx, (%r13)
movzbl (%rsi), %ecx
andl $0xf, %ecx
movl %ecx, 0xc(%r13)
movzbl (%rsi), %edi
cmpl $0xef, %edi
jbe 0x3f84f
movzbl 0x1(%rsi), %edi
andl $0xf, %edi
decl %edi
cmpl $0x3, %edi
ja 0x3f98e
leaq 0x6b6c1(%rip), %r8      # 0xaaefc
movslq (%r8,%rdi,4), %rdi
addq %r8, %rdi
jmpq *%rdi
movsbq 0x2(%rsi), %rdi
addq $0x3, %rsi
jmp 0x3f855
incq %rsi
shrl $0x4, %edi
movl %edi, 0x4(%r13)
leaq 0x8dcc0(%rip), %r8      # 0xcd520
movb (%rcx,%r8), %cl
shll %cl, %edi
movl %edi, 0x8(%r13)
movq %rsi, 0x10(%r13)
subl %edx, %esi
imull %eax, %edi
movl %edi, 0x18(%r13)
orl $0x80000000, %esi       # imm = 0x80000000
movl %esi, 0x1c(%r13)
movl $0x1, 0xb4(%r15)
jmp 0x3f941
leaq 0x5(%rsi), %rdi
movl 0x1(%rsi), %ecx
jmp 0x3f8b4
leaq 0x9(%rsi), %rdi
movq 0x1(%rsi), %rcx
jmp 0x3f8b4
leaq 0x3(%rsi), %rdi
movswq 0x1(%rsi), %rcx
jmp 0x3f8b4
xorl %ecx, %ecx
movq %rsi, %rdi
movl %ecx, (%rdx)
movzbl (%rdi), %ecx
andl $0xf, %ecx
movl %ecx, 0xc(%rdx)
movzbl (%rdi), %r8d
cmpl $0xef, %r8d
jbe 0x3f8fe
movzbl 0x1(%rdi), %r8d
andl $0xf, %r8d
decl %r8d
cmpl $0x3, %r8d
ja 0x3f9bd
leaq 0x6b633(%rip), %r9      # 0xaaf1c
movslq (%r9,%r8,4), %r8
addq %r9, %r8
jmpq *%r8
movsbq 0x2(%rdi), %r8
addq $0x3, %rdi
jmp 0x3f905
incq %rdi
shrl $0x4, %r8d
movl %r8d, 0x4(%rdx)
leaq 0x8dc10(%rip), %r9      # 0xcd520
movb (%rcx,%r9), %cl
shll %cl, %r8d
movl %r8d, 0x8(%rdx)
movq %rdi, 0x10(%rdx)
subl %esi, %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movl %edi, 0x1c(%rdx)
imull %eax, %r8d
movl %r8d, 0x18(%rdx)
movl $0x1, 0xb4(%r15)
orb $-0x80, 0x1f(%rdx)
orb $0x8, 0xbc(%r15)
cmpl $0x0, 0x54(%rsp)
jne 0x3f95f
movq %r14, %rdi
movq %r15, %rsi
callq 0x370a7
movq %rax, 0x8(%r15)
xorl %r13d, %r13d
jmp 0x3f06a
movl 0x2(%rsi), %edi
addq $0x6, %rsi
jmp 0x3f855
movq 0x2(%rsi), %rdi
addq $0xa, %rsi
jmp 0x3f855
movswq 0x2(%rsi), %rdi
addq $0x4, %rsi
jmp 0x3f855
xorl %edi, %edi
jmp 0x3f855
movl 0x2(%rdi), %r8d
addq $0x6, %rdi
jmp 0x3f905
movq 0x2(%rdi), %r8
addq $0xa, %rdi
jmp 0x3f905
movswq 0x2(%rdi), %r8
addq $0x4, %rdi
jmp 0x3f905
xorl %r8d, %r8d
jmp 0x3f905
movzbl %cl, %eax
leaq 0x1(%rax), %rcx
shll $0x5, %eax
addq $-0x20, %rax
movq 0x98(%r15), %rdx
movups -0x20(%rdx,%rax), %xmm0
movups -0x10(%rdx,%rax), %xmm1
movups %xmm1, 0x10(%rdx,%rax)
movups %xmm0, (%rdx,%rax)
decq %rcx
addq $-0x20, %rax
cmpq $0x2, %rcx
ja 0x3f9d3
movq 0x18(%r15), %rax
movq 0x98(%r15), %rdx
jmp 0x3f761
leaq 0x6c860(%rip), %rdi     # 0xac271
leaq 0x6bbbb(%rip), %rsi     # 0xab5d3
leaq 0x6c86f(%rip), %rcx     # 0xac28e
movl $0x157a, %edx           # imm = 0x157A
callq 0x42e0
leaq 0x6c8b7(%rip), %rdi     # 0xac2e7
leaq 0x6bb9c(%rip), %rsi     # 0xab5d3
leaq 0x6c850(%rip), %rcx     # 0xac28e
movl $0x157f, %edx           # imm = 0x157F
callq 0x42e0
movq %r14, %rdi
movq 0x40(%rsp), %rbx
movq %rbx, %rsi
callq 0x318ad
movq (%rbx), %r9
incq %r9
leaq 0x6c891(%rip), %rsi     # 0xac2f6
leaq 0x6c7b0(%rip), %rdx     # 0xac21c
movl $0x1, %edi
movl %r15d, %ecx
movq %rax, %r8
xorl %eax, %eax
callq 0x942d
callq 0x4260