// File: /workspace/github_c_makefile_star2_O1/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 $0x48, %rsp
movl %r9d, %r15d
movl %r8d, %ebp
movq %rcx, 0x38(%rsp)
movq %rdx, %r12
movq %rsi, 0x28(%rsp)
movq %rdi, %r14
xorl %r13d, %r13d
xorl %esi, %esi
callq 0x2e585
testl %eax, %eax
js 0x3fe79
movl %eax, %ebx
cmpl (%r14), %eax
jge 0x3fe79
movq 0x10(%r14), %rax
movl %ebx, %ecx
shlq $0x4, %rcx
movq 0x8(%rax,%rcx), %rax
testq %rax, %rax
je 0x3fe79
movl 0x10(%rax), %eax
notl %eax
testb $0xf, %al
jne 0x3fe90
negl %ebp
sbbl %r13d, %r13d
movl %r13d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x28(%rsp), %r13
testb $0x8, 0xbc(%r13)
jne 0x3feac
movq %r13, %rdi
movl $0x8, %esi
callq 0x38e9d
movq %r13, %rdx
movq 0x18(%r13), %r13
movq %r13, %rcx
shrq $0x20, %rcx
movl %ecx, %eax
andl $0xff, %eax
je 0x3fee3
movq 0x98(%rdx), %rdx
movzbl %cl, %esi
xorl %ecx, %ecx
cmpl %ebx, (%rdx)
je 0x3fee5
incq %rcx
addq $0x20, %rdx
cmpq %rcx, %rsi
jne 0x3fecf
movl %eax, %ecx
jmp 0x3fee5
xorl %ecx, %ecx
cmpl %eax, %ecx
jne 0x3fef4
movq $0x0, 0x30(%rsp)
jmp 0x3ff0b
movl %ecx, %ecx
shlq $0x5, %rcx
movq 0x28(%rsp), %rax
addq 0x98(%rax), %rcx
movq %rcx, 0x30(%rsp)
leaq 0x6f2e9(%rip), %rsi     # 0xaf1fb
movq %r12, %rdi
callq 0x46e0
movl %eax, %ecx
testl %ebp, %ebp
je 0x3ffdc
movl %ecx, 0x44(%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 0x28(%rsp), %rax
movq %r13, 0x18(%rax)
movq %rax, %r13
movl %ebp, %eax
cltd
idivl %ecx
testl %eax, %eax
je 0x40838
movl %eax, %r8d
imull %eax, %ecx
cmpl %ebp, %ecx
jne 0x40838
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
cmpq $0x4, 0x18(%rsp)
ja 0x3ffb9
movq 0x20(%rsp), %rdi
movl $0x7, %esi
movl %r8d, %r13d
callq 0x4860
movl %r13d, %r8d
movq 0x28(%rsp), %r13
testq %rax, %rax
je 0x40062
movq %rax, 0x20(%rsp)
movq $0x7, 0x18(%rsp)
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
movl %ebx, %edx
negl %edx
jo 0x40043
cmpl $0x80000001, %ebx       # imm = 0x80000001
jne 0x4004b
movw $0x8111, (%rcx,%rax)    # imm = 0x8111
jmp 0x4005c
movq 0x30(%rsp), %r15
testq %r15, %r15
je 0x4001f
movl 0x1c(%r15), %eax
testl %eax, %eax
jns 0x40008
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 0x28(%rsp), %rax
movl $0x1, 0xb4(%rax)
movq $0x0, 0x10(%r15)
xorl %r13d, %r13d
testl %ecx, %ecx
jne 0x3fe7e
movq %r14, %rdi
movq 0x28(%rsp), %rbx
movq %rbx, %rsi
callq 0x37d95
movq %rax, 0x8(%rbx)
jmp 0x3fe7e
movw $0x8011, (%rcx,%rax)    # imm = 0x8011
jmp 0x4005c
cmpl $0x7f, %ebx
ja 0x4027a
movb $0x11, (%rcx,%rax)
movb %bl, 0x1(%rcx,%rax)
addq $0x2, 0x10(%rsp)
movq 0x38(%rsp), %rdx
testq %rdx, %rdx
je 0x40857
cmpl $0x3, %r15d
je 0x40119
cmpl $0x2, %r15d
je 0x4009e
cmpl $0x1, %r15d
jne 0x40876
leaq 0x10(%rsp), %rdi
movl %ebp, %esi
movl %r8d, %ecx
callq 0x3321b
jmp 0x4044d
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
cmpl $0xe, %r8d
jg 0x40194
incq %rax
cmpq %rax, %rcx
jae 0x400f9
movq %rax, %rcx
shrq $0x3e, %rcx
movq %rax, %rdx
shrq %rdx
xorl %ebx, %ebx
testq %rcx, %rcx
cmoveq %rdx, %rbx
addq %rax, %rbx
movq 0x20(%rsp), %rdi
movq %rbx, %rsi
movl %r8d, %ebp
callq 0x4860
movl %ebp, %r8d
testq %rax, %rax
je 0x402f8
movq %rax, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
movl %r8d, %edx
shlb $0x4, %dl
orb $0x5, %dl
movb %dl, (%rcx,%rax)
incq 0x10(%rsp)
jmp 0x402f8
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
cmpl $0xe, %r8d
jg 0x40209
incq %rax
cmpq %rax, %rcx
jae 0x40174
movq %rax, %rcx
shrq $0x3e, %rcx
movq %rax, %rdx
shrq %rdx
xorl %ebx, %ebx
testq %rcx, %rcx
cmoveq %rdx, %rbx
addq %rax, %rbx
movq 0x20(%rsp), %rdi
movq %rbx, %rsi
movl %r8d, %ebp
callq 0x4860
movl %ebp, %r8d
testq %rax, %rax
je 0x403b8
movq %rax, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
movl %r8d, %edx
shlb $0x4, %dl
orb $0x7, %dl
movb %dl, (%rcx,%rax)
incq 0x10(%rsp)
jmp 0x403b8
addq $0x6, %rax
cmpq %rax, %rcx
jae 0x401dc
movq %rax, %rcx
shrq $0x3e, %rcx
movq %rax, %rdx
shrq %rdx
xorl %ebx, %ebx
testq %rcx, %rcx
cmoveq %rdx, %rbx
addq %rax, %rbx
movq 0x20(%rsp), %rdi
movq %rbx, %rsi
movl %r8d, %ebp
callq 0x4860
movl %ebp, %r8d
testq %rax, %rax
je 0x402f8
movq %rax, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
movb $-0xb, (%rcx,%rax)
cmpl $0x7f, %r8d
jg 0x402a9
movb $0x11, 0x1(%rcx,%rax)
movb %r8b, 0x2(%rcx,%rax)
addq $0x3, 0x10(%rsp)
jmp 0x402f8
addq $0x6, %rax
cmpq %rax, %rcx
jae 0x40251
movq %rax, %rcx
shrq $0x3e, %rcx
movq %rax, %rdx
shrq %rdx
xorl %ebx, %ebx
testq %rcx, %rcx
cmoveq %rdx, %rbx
addq %rax, %rbx
movq 0x20(%rsp), %rdi
movq %rbx, %rsi
movl %r8d, %ebp
callq 0x4860
movl %ebp, %r8d
testq %rax, %rax
je 0x403b8
movq %rax, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
movb $-0x9, (%rcx,%rax)
cmpl $0x7f, %r8d
jg 0x402c5
movb $0x11, 0x1(%rcx,%rax)
movb %r8b, 0x2(%rcx,%rax)
addq $0x3, 0x10(%rsp)
jmp 0x403b8
cmpl $0x7fff, %ebx           # imm = 0x7FFF
ja 0x40296
movb $0x12, (%rcx,%rax)
movw %bx, 0x1(%rcx,%rax)
addq $0x3, 0x10(%rsp)
jmp 0x40062
movb $0x13, (%rcx,%rax)
movl %ebx, 0x1(%rcx,%rax)
addq $0x5, 0x10(%rsp)
jmp 0x40062
cmpl $0x7fff, %r8d           # imm = 0x7FFF
jg 0x402e8
movb $0x12, 0x1(%rcx,%rax)
movw %r8w, 0x2(%rcx,%rax)
addq $0x4, 0x10(%rsp)
jmp 0x402f8
cmpl $0x7fff, %r8d           # imm = 0x7FFF
jg 0x403a8
movb $0x12, 0x1(%rcx,%rax)
movw %r8w, 0x2(%rcx,%rax)
addq $0x4, 0x10(%rsp)
jmp 0x403b8
movb $0x13, 0x1(%rcx,%rax)
movl %r8d, 0x2(%rcx,%rax)
addq $0x6, 0x10(%rsp)
movq 0x18(%r13), %rbp
movq %rbp, %rax
shrq $0x28, %rax
imull %eax, %r8d
testl %r8d, %r8d
js 0x4044d
movslq %r8d, %r13
leaq (,%r13,4), %r15
movq 0x10(%rsp), %rax
addq %r15, %rax
cmpq %rax, 0x18(%rsp)
jae 0x40363
movq %rax, %rcx
shrq $0x3e, %rcx
movq %rax, %rdx
shrq %rdx
xorl %ebx, %ebx
testq %rcx, %rcx
cmoveq %rdx, %rbx
addq %rax, %rbx
movq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x4860
testq %rax, %rax
je 0x4044d
movq %rax, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movq 0x10(%rsp), %rax
movabsq $0xffffffffff, %rcx     # imm = 0xFFFFFFFFFF
incq %rcx
cmpq %rcx, %rbp
movq 0x38(%rsp), %rsi
jb 0x4039b
movq 0x20(%rsp), %rcx
addq %rax, %rcx
xorl %edx, %edx
movss (%rsi,%rdx,4), %xmm0
movss %xmm0, (%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %r13
jne 0x40389
addq %r15, %rax
movq %rax, 0x10(%rsp)
jmp 0x4044d
movb $0x13, 0x1(%rcx,%rax)
movl %r8d, 0x2(%rcx,%rax)
addq $0x6, 0x10(%rsp)
movq 0x18(%r13), %rax
shrq $0x28, %rax
imull %eax, %r8d
movslq %r8d, %rbx
movq 0x10(%rsp), %rcx
leaq (%rcx,%rbx), %rax
addq $0x2, %rax
cmpq %rcx, %rax
jbe 0x40442
cmpq %rax, 0x18(%rsp)
jae 0x40416
movq %rax, %rcx
shrq $0x3e, %rcx
movq %rax, %rdx
shrq %rdx
xorl %r15d, %r15d
testq %rcx, %rcx
cmoveq %rdx, %r15
addq %rax, %r15
movq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x4860
testq %rax, %rax
je 0x4044d
movq %rax, 0x20(%rsp)
movq %r15, 0x18(%rsp)
movq 0x20(%rsp), %rdi
addq 0x10(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
callq 0x43c0
addq 0x10(%rsp), %rbx
movq %rbx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movb $0x0, (%rax,%rbx)
jmp 0x4044d
callq 0x4050
movl $0x4b, (%rax)
movq 0x30(%rsp), %r13
testq %r13, %r13
je 0x404d4
movq 0x10(%r13), %rbx
testq %rbx, %rbx
movq 0x28(%rsp), %r15
je 0x40480
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl 0x1c(%r13), %eax
movq 0x10(%rsp), %rdx
addl 0x18(%r13), %eax
cmpq %rax, %rdx
jbe 0x405b8
movl 0x1c(%r13), %eax
testl %eax, %eax
jns 0x40498
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
subq %rax, %rbx
movq %rbx, %rdi
callq 0x45c0
movq 0x20(%rsp), %rdx
movq 0x18(%r15), %rax
shrq $0x28, %rax
movzbl (%rdx), %ecx
andl $0xf, %ecx
decl %ecx
cmpl $0x3, %ecx
ja 0x40636
leaq 0x6da83(%rip), %rsi     # 0xadf40
movslq (%rsi,%rcx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
leaq 0x2(%rdx), %rsi
movsbq 0x1(%rdx), %rcx
jmp 0x4063b
movabsq $0x100000000, %rax      # imm = 0x100000000
movq 0x28(%rsp), %r15
addq 0x18(%r15), %rax
shrq $0x20, %rax
movb %al, 0x1c(%r15)
movzbl %al, %ecx
movslq 0x50(%r15), %rsi
cmpl %esi, %ecx
jle 0x40533
testl %ecx, %ecx
movzbl %al, %eax
movl $0x1, %edi
cmovneq %rax, %rdi
leaq 0x98(%r15), %r9
leaq 0x6ee30(%rip), %rax     # 0xaf346
movq %rax, (%rsp)
movl $0x4, %edx
movl $0x20, %ecx
movl $0x1, %r8d
callq 0x1183c
movl %eax, 0x50(%r15)
movq 0x18(%r15), %rcx
movq %rcx, %rax
shrq $0x20, %rax
movabsq $0xfe00000000, %rdx     # imm = 0xFE00000000
testq %rdx, %rcx
je 0x40568
cmpb $0x47, (%r12)
jne 0x40568
cmpb $0x54, 0x1(%r12)
jne 0x40568
cmpb $0x0, 0x2(%r12)
je 0x407f7
movq 0x98(%r15), %rcx
movzbl %al, %eax
shll $0x5, %eax
addq %rcx, %rax
addq $-0x20, %rax
movq 0x20(%rsp), %rsi
movq 0x18(%r15), %rdx
shrq $0x28, %rdx
movzbl (%rsi), %ecx
andl $0xf, %ecx
decl %ecx
cmpl $0x3, %ecx
ja 0x406e1
leaq 0x6d9bf(%rip), %rdi     # 0xadf60
movslq (%rdi,%rcx,4), %rcx
addq %rdi, %rcx
jmpq *%rcx
leaq 0x2(%rsi), %rdi
movsbq 0x1(%rsi), %rcx
jmp 0x406e6
je 0x405c5
movl $0x1, 0xb4(%r15)
movl 0x1c(%r13), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
subq %rax, %rbx
movq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x43c0
movq 0x20(%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 0x30d25
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl 0x1c(%r13), %eax
orl %ebp, %eax
movl %eax, 0x1c(%r13)
jmp 0x40773
leaq 0x5(%rdx), %rsi
movl 0x1(%rdx), %ecx
jmp 0x4063b
leaq 0x9(%rdx), %rsi
movq 0x1(%rdx), %rcx
jmp 0x4063b
leaq 0x3(%rdx), %rsi
movswq 0x1(%rdx), %rcx
jmp 0x4063b
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 0x40681
movzbl 0x1(%rsi), %edi
andl $0xf, %edi
decl %edi
cmpl $0x3, %edi
ja 0x407c0
leaq 0x6d8e3(%rip), %r8      # 0xadf50
movslq (%r8,%rdi,4), %rdi
addq %r8, %rdi
jmpq *%rdi
movsbq 0x2(%rsi), %rdi
addq $0x3, %rsi
jmp 0x40687
incq %rsi
shrl $0x4, %edi
movl %edi, 0x4(%r13)
leaq 0x8ee8e(%rip), %r8      # 0xcf520
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 0x40773
leaq 0x5(%rsi), %rdi
movl 0x1(%rsi), %ecx
jmp 0x406e6
leaq 0x9(%rsi), %rdi
movq 0x1(%rsi), %rcx
jmp 0x406e6
leaq 0x3(%rsi), %rdi
movswq 0x1(%rsi), %rcx
jmp 0x406e6
xorl %ecx, %ecx
movq %rsi, %rdi
movl %ecx, (%rax)
movzbl (%rdi), %ecx
andl $0xf, %ecx
movl %ecx, 0xc(%rax)
movzbl (%rdi), %r8d
cmpl $0xef, %r8d
jbe 0x40730
movzbl 0x1(%rdi), %r8d
andl $0xf, %r8d
decl %r8d
cmpl $0x3, %r8d
ja 0x407ef
leaq 0x6d855(%rip), %r9      # 0xadf70
movslq (%r9,%r8,4), %r8
addq %r9, %r8
jmpq *%r8
movsbq 0x2(%rdi), %r8
addq $0x3, %rdi
jmp 0x40737
incq %rdi
shrl $0x4, %r8d
movl %r8d, 0x4(%rax)
leaq 0x8edde(%rip), %r9      # 0xcf520
movb (%rcx,%r9), %cl
shll %cl, %r8d
movl %r8d, 0x8(%rax)
movq %rdi, 0x10(%rax)
subl %esi, %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movl %edi, 0x1c(%rax)
imull %edx, %r8d
movl %r8d, 0x18(%rax)
movl $0x1, 0xb4(%r15)
orb $-0x80, 0x1f(%rax)
orb $0x8, 0xbc(%r15)
cmpl $0x0, 0x44(%rsp)
jne 0x40791
movq %r14, %rdi
movq %r15, %rsi
callq 0x37d95
movq %rax, 0x8(%r15)
xorl %r13d, %r13d
jmp 0x3fe7e
movl 0x2(%rsi), %edi
addq $0x6, %rsi
jmp 0x40687
movq 0x2(%rsi), %rdi
addq $0xa, %rsi
jmp 0x40687
movswq 0x2(%rsi), %rdi
addq $0x4, %rsi
jmp 0x40687
xorl %edi, %edi
jmp 0x40687
movl 0x2(%rdi), %r8d
addq $0x6, %rdi
jmp 0x40737
movq 0x2(%rdi), %r8
addq $0xa, %rdi
jmp 0x40737
movswq 0x2(%rdi), %r8
addq $0x4, %rdi
jmp 0x40737
xorl %r8d, %r8d
jmp 0x40737
movzbl %al, %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
jg 0x40805
movq 0x98(%r15), %rax
jmp 0x4057c
leaq 0x6ea82(%rip), %rdi     # 0xaf2c1
leaq 0x6dddd(%rip), %rsi     # 0xae623
leaq 0x6ea91(%rip), %rcx     # 0xaf2de
movl $0x157a, %edx           # imm = 0x157A
callq 0x42e0
leaq 0x6ead9(%rip), %rdi     # 0xaf337
leaq 0x6ddbe(%rip), %rsi     # 0xae623
leaq 0x6ea72(%rip), %rcx     # 0xaf2de
movl $0x157f, %edx           # imm = 0x157F
callq 0x42e0
movq %r14, %rdi
movq 0x28(%rsp), %rbx
movq %rbx, %rsi
callq 0x32a62
movq (%rbx), %r9
incq %r9
leaq 0x6eab3(%rip), %rsi     # 0xaf346
leaq 0x6e9d2(%rip), %rdx     # 0xaf26c
movl $0x1, %edi
movl %r15d, %ecx
movq %rax, %r8
xorl %eax, %eax
callq 0x9774
callq 0x4260