// File: /workspace/github_c_makefile_star2_O1/samtools[P]htslib/vcf.c
// Function: vcf_parse_info
static int vcf_parse_info(kstring_t *str, const bcf_hdr_t *h, bcf1_t *v, char *p, char *q) {
    static int extreme_int_warned = 0, negative_rlen_warned = 0;
    int max_n_val = 0, overflow = 0;
    char *r, *key;
    khint_t k;
    vdict_t *d = (vdict_t*)h->dict[BCF_DT_ID];
    int32_t *a_val = NULL;

    v->n_info = 0;
    if (*(q-1) == ';') *(q-1) = 0;
    for (r = key = p;; ++r) {
        int c;
        char *val, *end;
        while (*r > '=' || (*r != ';' && *r != '=' && *r != 0)) r++;
        if (v->n_info == UINT16_MAX) {
            hts_log_error("Too many INFO entries at %s:%"PRIhts_pos,
                          bcf_seqname_safe(h,v), v->pos+1);
            v->errcode |= BCF_ERR_LIMITS;
            goto fail;
        }
        val = end = NULL;
        c = *r; *r = 0;
        if (c == '=') {
            val = r + 1;

            for (end = val; *end != ';' && *end != 0; ++end);
            c = *end; *end = 0;
        } else end = r;
        if ( !*key ) { if (c==0) break; r = end; key = r + 1; continue; }  // faulty VCF, ";;" in the INFO
        k = kh_get(vdict, d, key);
        if (k == kh_end(d) || kh_val(d, k).info[BCF_HL_INFO] == 15)
        {
            hts_log_warning("INFO '%s' is not defined in the header, assuming Type=String", key);
            kstring_t tmp = {0,0,0};
            int l;
            ksprintf(&tmp, "##INFO=<ID=%s,Number=1,Type=String,Description=\"Dummy\">", key);
            bcf_hrec_t *hrec = bcf_hdr_parse_line(h,tmp.s,&l);
            free(tmp.s);
            int res = hrec ? bcf_hdr_add_hrec((bcf_hdr_t*)h, hrec) : -1;
            if (res < 0) bcf_hrec_destroy(hrec);
            if (res > 0) res = bcf_hdr_sync((bcf_hdr_t*)h);
            k = kh_get(vdict, d, key);
            v->errcode |= BCF_ERR_TAG_UNDEF;
            if (res || k == kh_end(d)) {
                hts_log_error("Could not add dummy header for INFO '%s' at %s:%"PRIhts_pos, key, bcf_seqname_safe(h,v), v->pos+1);
                v->errcode |= BCF_ERR_TAG_INVALID;
                goto fail;
            }
        }
        uint32_t y = kh_val(d, k).info[BCF_HL_INFO];
        ++v->n_info;
        bcf_enc_int1(str, kh_val(d, k).id);
        if (val == 0) {
            bcf_enc_size(str, 0, BCF_BT_NULL);
        } else if ((y>>4&0xf) == BCF_HT_FLAG || (y>>4&0xf) == BCF_HT_STR) { // if Flag has a value, treat it as a string
            bcf_enc_vchar(str, end - val, val);
        } else { // int/float value/array
            int i, n_val;
            char *t, *te;
            for (t = val, n_val = 1; *t; ++t) // count the number of values
                if (*t == ',') ++n_val;
            // Check both int and float size in one step for simplicity
            if (n_val > max_n_val) {
                int32_t *a_tmp = (int32_t *)realloc(a_val, n_val * sizeof(*a_val));
                if (!a_tmp) {
                    hts_log_error("Could not allocate memory at %s:%"PRIhts_pos, bcf_seqname_safe(h,v), v->pos+1);
                    v->errcode |= BCF_ERR_LIMITS; // No appropriate code?
                    goto fail;
                }
                a_val = a_tmp;
                max_n_val = n_val;
            }
            if ((y>>4&0xf) == BCF_HT_INT) {
                i = 0, t = val;
                int64_t val1;
                int is_int64 = 0;
#ifdef VCF_ALLOW_INT64
                if ( n_val==1 )
                {
                    overflow = 0;
                    long long int tmp_val = hts_str2int(val, &te, sizeof(tmp_val)*CHAR_BIT, &overflow);
                    if ( te==val ) tmp_val = bcf_int32_missing;
                    else if ( overflow || tmp_val<BCF_MIN_BT_INT64 || tmp_val>BCF_MAX_BT_INT64 )
                    {
                        if ( !extreme_int_warned )
                        {
                            hts_log_warning("Extreme INFO/%s value encountered and set to missing at %s:%"PRIhts_pos,key,bcf_seqname_safe(h,v), v->pos+1);
                            extreme_int_warned = 1;
                        }
                        tmp_val = bcf_int32_missing;
                    }
                    else
                        is_int64 = 1;
                    val1 = tmp_val;
                    t = te;
                    i = 1;  // this is just to avoid adding another nested block...
                }
#endif
                for (; i < n_val; ++i, ++t)
                {
                    overflow = 0;
                    long int tmp_val = hts_str2int(t, &te, sizeof(tmp_val)*CHAR_BIT, &overflow);
                    if ( te==t ) tmp_val = bcf_int32_missing;
                    else if ( overflow || tmp_val<BCF_MIN_BT_INT32 || tmp_val>BCF_MAX_BT_INT32 )
                    {
                        if ( !extreme_int_warned )
                        {
                            hts_log_warning("Extreme INFO/%s value encountered and set to missing at %s:%"PRIhts_pos,key,bcf_seqname_safe(h,v), v->pos+1);
                            extreme_int_warned = 1;
                        }
                        tmp_val = bcf_int32_missing;
                    }
                    a_val[i] = tmp_val;
                    for (t = te; *t && *t != ','; t++);
                }
                if (n_val == 1) {
#ifdef VCF_ALLOW_INT64
                    if ( is_int64 )
                    {
                        v->unpacked |= BCF_IS_64BIT;
                        bcf_enc_long1(str, val1);
                    }
                    else
                        bcf_enc_int1(str, (int32_t)val1);
#else
                    val1 = a_val[0];
                    bcf_enc_int1(str, (int32_t)val1);
#endif
                } else {
                    bcf_enc_vint(str, n_val, a_val, -1);
                }
                if (n_val==1 && (val1!=bcf_int32_missing || is_int64)
                    && memcmp(key, "END", 4) == 0)
                {
                    if ( val1 <= v->pos )
                    {
                        if ( !negative_rlen_warned )
                        {
                            hts_log_warning("INFO/END=%"PRIhts_pos" is smaller than POS at %s:%"PRIhts_pos,val1,bcf_seqname_safe(h,v),v->pos+1);
                            negative_rlen_warned = 1;
                        }
                    }
                }
            } else if ((y>>4&0xf) == BCF_HT_REAL) {
                float *val_f = (float *)a_val;
                for (i = 0, t = val; i < n_val; ++i, ++t)
                {
                    overflow = 0;
                    val_f[i] = hts_str2dbl(t, &te, &overflow);
                    if ( te==t || overflow ) // conversion failed
                        bcf_float_set_missing(val_f[i]);
                    for (t = te; *t && *t != ','; t++);
                }
                bcf_enc_vfloat(str, n_val, val_f);
            }
        }
        if (c == 0) break;
        r = end;
        key = r + 1;
    }

    free(a_val);
    return 0;

 fail:
    free(a_val);
    return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, %r12
movq %rsi, %r13
movl $0x0, 0xc(%rsp)
movq 0x28(%rsi), %rax
movq %rax, 0x30(%rsp)
andq $-0x10000, 0x18(%rdx)   # imm = 0xFFFF0000
movq %rcx, %r15
movq %rdi, %rbp
cmpb $0x3b, -0x1(%r8)
jne 0x35055
movb $0x0, -0x1(%r8)
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
movq $0x0, 0x18(%rsp)
movq %r15, %rcx
movl $0x0, 0x50(%rsp)
movq %r12, 0x60(%rsp)
movq %r13, 0x58(%rsp)
movq %rbp, (%rsp)
movb (%rcx), %al
movl %eax, 0x8(%rsp)
cmpb $0x3d, %al
jg 0x3509d
movzbl 0x8(%rsp), %eax
cmpl $0x3d, %eax
ja 0x3509d
movl %eax, %eax
btq %rax, %r14
jb 0x350a2
incq %rcx
jmp 0x35081
cmpw $-0x1, 0x18(%r12)
jne 0x350c3
testq %r12, %r12
movq %rcx, 0x48(%rsp)
je 0x351d6
movl 0x10(%r12), %eax
jmp 0x351db
movb $0x0, (%rcx)
cmpb $0x3d, 0x8(%rsp)
jne 0x350ed
leaq 0x1(%rcx), %rax
movq %rax, 0x38(%rsp)
movzbl (%rax), %edx
movl %edx, 0x8(%rsp)
testl %edx, %edx
je 0x350fd
cmpl $0x3b, 0x8(%rsp)
je 0x350fd
incq %rax
jmp 0x350d6
movq $0x0, 0x38(%rsp)
movq %rcx, 0x68(%rsp)
jmp 0x35105
movq %rax, 0x68(%rsp)
movb $0x0, (%rax)
movb (%r15), %al
testb %al, %al
je 0x35244
movq %rcx, 0x48(%rsp)
movq 0x30(%rsp), %rcx
movl (%rcx), %ecx
testl %ecx, %ecx
movq %r15, 0x20(%rsp)
je 0x35284
movq %rcx, 0x10(%rsp)
leaq 0x1(%r15), %rcx
movl $0x811c9dc5, %r14d      # imm = 0x811C9DC5
movzbl %al, %eax
xorl %r14d, %eax
imull $0x1000193, %eax, %r14d # imm = 0x1000193
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x35138
movq 0x10(%rsp), %rax
leal -0x1(%rax), %ebx
andl %ebx, %r14d
movq 0x30(%rsp), %rax
movq 0x10(%rax), %rsi
movl $0x1, %r13d
movl %r14d, %r15d
movq %rsi, 0x28(%rsp)
movl %r15d, %eax
shrl $0x4, %eax
movl (%rsi,%rax,4), %r12d
leal (%r15,%r15), %ebp
andl $0x1e, %ebp
movl %r12d, %eax
movl %ebp, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0x35262
testb $0x1, %al
jne 0x351bb
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
movl %r15d, %ecx
movq (%rax,%rcx,8), %rdi
movq 0x20(%rsp), %rsi
callq 0x46e0
movq 0x28(%rsp), %rsi
testl %eax, %eax
je 0x35262
addl %r13d, %r15d
andl %ebx, %r15d
incl %r13d
cmpl %r14d, %r15d
jne 0x35170
movq 0x10(%rsp), %rcx
movl %ecx, %r15d
jmp 0x35274
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %r13, %r13
sete %cl
testl %eax, %eax
sets %dl
orb %cl, %dl
jne 0x35200
cmpl %eax, 0x4(%r13)
jle 0x35200
movq 0x18(%r13), %rcx
movl %eax, %eax
shlq $0x4, %rax
movq (%rcx,%rax), %rcx
jmp 0x35202
xorl %ecx, %ecx
testq %rcx, %rcx
leaq 0x7a753(%rip), %rax     # 0xaf95f
cmoveq %rax, %rcx
movq (%r12), %r8
incq %r8
movl $0x1, %edi
leaq 0x7a829(%rip), %rsi     # 0xafa4c
leaq 0x7a831(%rip), %rdx     # 0xafa5b
xorl %eax, %eax
callq 0x9774
orb $0x8, 0xcc(%r12)
movl $0x7, %ecx
jmp 0x356a2
cmpb $0x0, 0x8(%rsp)
je 0x353a5
movq 0x68(%rsp), %rax
leaq 0x1(%rax), %r15
movl $0x4, %ecx
jmp 0x35696
movl %ebp, %ecx
shrl %cl, %r12d
testb $0x3, %r12b
movq 0x10(%rsp), %rcx
cmovnel %ecx, %r15d
movq 0x60(%rsp), %r12
movq 0x58(%rsp), %r13
movq (%rsp), %rbp
jmp 0x35287
xorl %r15d, %r15d
cmpl %ecx, %r15d
je 0x352a8
movq 0x30(%rsp), %rax
movq 0x20(%rax), %rax
movl %r15d, %ecx
imulq $0x38, %rcx, %rcx
cmpq $0xf, 0x8(%rax,%rcx)
jne 0x35502
movl $0x3, %edi
leaq 0x7a798(%rip), %rsi     # 0xafa4c
leaq 0x7a7c0(%rip), %rdx     # 0xafa7b
movq 0x20(%rsp), %r14
movq %r14, %rcx
xorl %eax, %eax
callq 0x9774
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0x80(%rsp)
leaq 0x70(%rsp), %rdi
leaq 0x7a7ce(%rip), %rsi     # 0xafab8
movq %r14, %rdx
xorl %eax, %eax
callq 0x8b533
movq 0x80(%rsp), %rsi
leaq 0x94(%rsp), %rdx
callq 0x2c456
movq %rax, %r14
movq 0x80(%rsp), %rdi
callq 0x45c0
testq %r14, %r14
je 0x3532d
movq %r13, %rdi
movq %r14, %rsi
callq 0x2ce41
movl %eax, %ebp
jmp 0x35332
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %ebp, %ebp
jns 0x3533e
movq %r14, %rdi
callq 0x2bd39
testl %ebp, %ebp
jle 0x3534c
movq %r13, %rdi
callq 0x2bc46
movl %eax, %ebp
movq 0x30(%rsp), %rax
movl (%rax), %ecx
movl $0x0, 0x10(%rsp)
movl $0x0, %r15d
testl %ecx, %ecx
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
je 0x3545d
movq %rcx, 0x40(%rsp)
movl %ebp, 0x54(%rsp)
movq 0x20(%rsp), %rax
movb (%rax), %cl
testb %cl, %cl
je 0x353af
incq %rax
movl $0x811c9dc5, %ebp       # imm = 0x811C9DC5
movzbl %cl, %ecx
xorl %ebp, %ecx
imull $0x1000193, %ecx, %ebp  # imm = 0x1000193
movb (%rax), %cl
incq %rax
testb %cl, %cl
jne 0x3538f
jmp 0x353b4
movq %rcx, 0x48(%rsp)
jmp 0x3569d
movl $0x811c9dc5, %ebp       # imm = 0x811C9DC5
movq 0x40(%rsp), %rax
leal -0x1(%rax), %ebx
andl %ebx, %ebp
movq 0x30(%rsp), %rax
movq 0x10(%rax), %rsi
movl $0x1, %r13d
movl %ebp, %r15d
movq %rsi, 0x28(%rsp)
movl %r15d, %eax
shrl $0x4, %eax
movl (%rsi,%rax,4), %r12d
leal (%r15,%r15), %r14d
andl $0x1e, %r14d
movl %r12d, %eax
movl %r14d, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0x35432
testb $0x1, %al
jne 0x3541a
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
movl %r15d, %ecx
movq (%rax,%rcx,8), %rdi
movq 0x20(%rsp), %rsi
callq 0x46e0
movq 0x28(%rsp), %rsi
testl %eax, %eax
je 0x35432
addl %r13d, %r15d
andl %ebx, %r15d
incl %r13d
cmpl %ebp, %r15d
jne 0x353d5
movq 0x40(%rsp), %rcx
movl %ecx, %r15d
jmp 0x35445
movl %r14d, %ecx
shrl %cl, %r12d
testb $0x3, %r12b
movq 0x40(%rsp), %rcx
cmovnel %ecx, %r15d
movq 0x60(%rsp), %r12
movq 0x58(%rsp), %r13
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
movl 0x54(%rsp), %ebp
orb $0x2, 0xcc(%r12)
testl %ebp, %ebp
sete %al
cmpl %ecx, %r15d
setne %bpl
andb %al, %bpl
jne 0x354f5
testq %r12, %r12
je 0x35483
movl 0x10(%r12), %eax
jmp 0x35488
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %r13, %r13
sete %cl
testl %eax, %eax
sets %dl
orb %cl, %dl
jne 0x354ad
cmpl %eax, 0x4(%r13)
jle 0x354ad
movq 0x18(%r13), %rcx
movl %eax, %eax
shlq $0x4, %rax
movq (%rcx,%rax), %r8
jmp 0x354b0
xorl %r8d, %r8d
testq %r8, %r8
leaq 0x7a4a5(%rip), %rax     # 0xaf95f
cmoveq %rax, %r8
movq (%r12), %r9
incq %r9
movl $0x1, %edi
leaq 0x7a57b(%rip), %rsi     # 0xafa4c
leaq 0x7a618(%rip), %rdx     # 0xafaf0
movq 0x20(%rsp), %rcx
xorl %eax, %eax
callq 0x9774
orb $0x40, 0xcc(%r12)
movl $0x7, 0x10(%rsp)
testb %bpl, %bpl
movq (%rsp), %rbp
je 0x355a8
movq 0x30(%rsp), %rdx
movq 0x20(%rdx), %rax
movl %r15d, %ecx
imulq $0x38, %rcx, %rcx
movq 0x8(%rax,%rcx), %rsi
incw 0x18(%r12)
movq 0x20(%rdx), %rax
movl 0x30(%rax,%rcx), %r15d
movq (%rbp), %rax
addq $0x5, %rax
cmpq %rax, 0x8(%rbp)
jae 0x35588
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %r14d
cmovbeq %rcx, %r14
addq %rax, %r14
movq 0x10(%rbp), %rdi
movq %r12, %rbp
movq %r13, %r12
movq %rsi, %r13
movq %r14, %rsi
callq 0x4860
movq %r13, %rsi
movq %r12, %r13
movq %rbp, %r12
movq (%rsp), %rbp
testq %rax, %rax
movq 0x38(%rsp), %rdx
je 0x355e5
movq %rax, 0x10(%rbp)
movq %r14, 0x8(%rbp)
movq (%rbp), %rax
movq 0x10(%rbp), %rcx
movl %r15d, %edx
negl %edx
jo 0x355b6
cmpl $0x80000001, %r15d      # imm = 0x80000001
jne 0x355be
movw $0x8111, (%rcx,%rax)    # imm = 0x8111
jmp 0x355d7
movq 0x20(%rsp), %r15
movl 0x10(%rsp), %ecx
jmp 0x356a2
movw $0x8011, (%rcx,%rax)    # imm = 0x8011
jmp 0x355d7
leal 0x78(%r15), %edx
cmpl $0xf7, %edx
ja 0x35723
movb $0x11, (%rcx,%rax)
movb %r15b, 0x1(%rcx,%rax)
movl $0x2, %eax
addq %rax, (%rbp)
movq 0x38(%rsp), %rdx
testq %rdx, %rdx
je 0x3561f
shrl $0x4, %esi
andl $0xf, %esi
cmpl $0x3, %esi
movq 0x20(%rsp), %r15
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
je 0x3560c
testl %esi, %esi
jne 0x356c7
movq 0x68(%rsp), %rax
movl %eax, %esi
subl %edx, %esi
movq %rbp, %rdi
callq 0x338fe
jmp 0x35684
movq (%rbp), %rax
incq %rax
cmpq %rax, 0x8(%rbp)
movq 0x20(%rsp), %r15
jae 0x3566a
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %r14d
cmovbeq %rcx, %r14
addq %rax, %r14
movq 0x10(%rbp), %rdi
movq %r14, %rsi
callq 0x4860
testq %rax, %rax
je 0x3567a
movq %rax, 0x10(%rbp)
movq %r14, 0x8(%rbp)
movq (%rbp), %rax
movq 0x10(%rbp), %rcx
movb $0x0, (%rcx,%rax)
incq (%rbp)
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
cmpb $0x0, 0x8(%rsp)
je 0x3569d
movq 0x68(%rsp), %rax
leaq 0x1(%rax), %r15
xorl %ecx, %ecx
movq %rax, 0x48(%rsp)
jmp 0x356a2
movl $0x2, %ecx
cmpl $0x7, %ecx
ja 0x35cf3
movl %ecx, %eax
leaq 0x7862c(%rip), %rcx     # 0xadce0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x48(%rsp), %rcx
jmp 0x3509d
movl $0x1, %ebp
movq %rdx, %rax
movzbl (%rax), %ecx
cmpl $0x2c, %ecx
je 0x356dd
testl %ecx, %ecx
jne 0x356df
jmp 0x356e4
incl %ebp
incq %rax
jmp 0x356cf
cmpl 0x50(%rsp), %ebp
jle 0x35746
movq %rsi, 0x28(%rsp)
movslq %ebp, %rsi
shlq $0x2, %rsi
movq 0x18(%rsp), %rdi
callq 0x4860
testq %rax, %rax
je 0x35768
movl $0x0, 0x10(%rsp)
movq %rax, %rcx
movl %ebp, 0x50(%rsp)
movq 0x38(%rsp), %rdi
movq 0x28(%rsp), %rsi
jmp 0x357f9
leal 0x7ff8(%r15), %edx
cmpl $0xfff7, %edx           # imm = 0xFFF7
ja 0x35755
movb $0x12, (%rcx,%rax)
movw %r15w, 0x1(%rcx,%rax)
movl $0x3, %eax
jmp 0x355dc
movq 0x18(%rsp), %rcx
movq 0x38(%rsp), %rdi
jmp 0x35802
movb $0x13, (%rcx,%rax)
movl %r15d, 0x1(%rcx,%rax)
movl $0x5, %eax
jmp 0x355dc
testq %r12, %r12
je 0x35774
movl 0x10(%r12), %esi
jmp 0x35779
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
testq %r13, %r13
sete %cl
testl %esi, %esi
sets %dl
orb %cl, %dl
movq %rax, 0x40(%rsp)
jne 0x357a3
cmpl %esi, 0x4(%r13)
jle 0x357a3
movq 0x18(%r13), %rcx
movl %esi, %eax
shlq $0x4, %rax
movq (%rcx,%rax), %rcx
jmp 0x357a5
xorl %ecx, %ecx
testq %rcx, %rcx
leaq 0x7a1b0(%rip), %rax     # 0xaf95f
cmoveq %rax, %rcx
movq (%r12), %r8
incq %r8
movl $0x1, %edi
leaq 0x7a286(%rip), %rsi     # 0xafa4c
leaq 0x7a1d6(%rip), %rdx     # 0xaf9a3
xorl %eax, %eax
callq 0x9774
orb $0x8, 0xcc(%r12)
movl $0x7, 0x10(%rsp)
movq 0x18(%rsp), %rcx
movq 0x38(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x40(%rsp), %rax
testq %rax, %rax
je 0x35b1f
movl $0x0, 0x10(%rsp)
cmpl $0x1, %esi
movq %rcx, 0x18(%rsp)
je 0x358c0
cmpl $0x2, %esi
jne 0x35c51
testl %ebp, %ebp
jle 0x35899
movl %ebp, %ebx
xorl %r15d, %r15d
movq %r13, %r14
movl $0x0, 0xc(%rsp)
leaq 0x70(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movq %rdi, %r13
callq 0x4286d
cvtsd2ss %xmm0, %xmm0
movq 0x18(%rsp), %rax
movss %xmm0, (%rax,%r15,4)
movq 0x70(%rsp), %rax
cmpq %r13, %rax
je 0x35867
cmpl $0x0, 0xc(%rsp)
je 0x35876
movl 0x99ca3(%rip), %ecx     # 0xcf510
movq 0x18(%rsp), %rdx
movl %ecx, (%rdx,%r15,4)
incq %rax
movq %rax, %rdi
movq %r14, %r13
movzbl -0x1(%rdi), %eax
testl %eax, %eax
je 0x35891
cmpl $0x2c, %eax
je 0x35891
incq %rdi
jmp 0x3587f
incq %r15
cmpq %rbx, %r15
jne 0x3582a
movq (%rsp), %rdi
movl %ebp, %esi
movq %rdi, %rbp
movq 0x18(%rsp), %rdx
callq 0x33836
movq 0x20(%rsp), %r15
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
jmp 0x35c55
testl %ebp, %ebp
jle 0x35af6
movl %ebp, %r11d
xorl %r14d, %r14d
movq %r11, 0x28(%rsp)
movl $0x0, 0xc(%rsp)
movzbl (%rdi), %eax
cmpl $0x2b, %eax
je 0x35923
movq %rdi, %rsi
cmpl $0x2d, %eax
jne 0x35927
movq %rdi, %r10
leaq 0x13(%rdi), %rax
movl $0x1, %edx
xorl %ecx, %ecx
movzbl (%r10,%rdx), %esi
leal -0x3a(%rsi), %edi
cmpb $-0xa, %dil
setb %dil
jb 0x35973
leaq (%rcx,%rcx,4), %rcx
leaq (%rsi,%rcx,2), %rcx
addq $-0x30, %rcx
incq %rdx
cmpl $0x13, %edx
jne 0x358f9
xorl %edi, %edi
jmp 0x35979
leaq 0x1(%rdi), %rsi
movq %rdi, %r10
leaq 0x12(%rsi), %rax
xorl %edx, %edx
xorl %ecx, %ecx
movzbl (%rsi,%rdx), %r8d
leal -0x3a(%r8), %edi
cmpb $-0xa, %dil
setb %dil
jb 0x3595f
leaq (%rcx,%rcx,4), %rcx
leaq (%r8,%rcx,2), %rcx
addq $-0x30, %rcx
incq %rdx
cmpl $0x12, %edx
jne 0x35932
movb $0x1, %dl
xorl %edi, %edi
jmp 0x35967
addq %rdx, %rsi
movb $0x1, %dl
movq %rsi, %rax
movabsq $0x7fffffffffffffff, %rsi # imm = 0x7FFFFFFFFFFFFFFF
jmp 0x35989
addq %r10, %rdx
movq %rdx, %rax
movabsq $0x7fffffffffffffff, %rdx # imm = 0x7FFFFFFFFFFFFFFF
leaq 0x1(%rdx), %rsi
xorl %edx, %edx
testb %dil, %dil
jne 0x35a05
movb (%rax), %dil
cmpb $0x30, %dil
jb 0x35a05
movzbl %dil, %r8d
addl $-0x30, %r8d
cmpl $0x9, %r8d
ja 0x35a05
movabsq $0x7fffffffffffffff, %rdi # imm = 0x7FFFFFFFFFFFFFFF
addq %rsi, %rdi
addq $0x9, %rdi
movl %r8d, %r8d
movabsq $0xccccccccccccccc, %r9 # imm = 0xCCCCCCCCCCCCCCC
cmpq %r9, %rcx
jb 0x359cf
jne 0x359eb
cmpq %r8, %rdi
jb 0x359eb
leaq (%rcx,%rcx,4), %rcx
leaq (%r8,%rcx,2), %rcx
movzbl 0x1(%rax), %r8d
incq %rax
addl $-0x30, %r8d
cmpl $0xa, %r8d
jb 0x359b6
jmp 0x35a05
movzbl 0x1(%rax), %ecx
incq %rax
addl $-0x30, %ecx
cmpl $0xa, %ecx
jb 0x359eb
movl $0x1, 0xc(%rsp)
movq %rsi, %rcx
movq %rax, 0x70(%rsp)
cmpq %r10, %rax
je 0x35a45
movq %rcx, %rax
negq %rax
testb %dl, %dl
cmovneq %rcx, %rax
cmpl $0x0, 0xc(%rsp)
jne 0x35a3c
leaq -0x80000000(%rax), %rcx
movabsq $-0xfffffff9, %rdx      # imm = 0xFFFFFFFF00000007
cmpq %rdx, %rcx
ja 0x35acc
cmpb $0x0, 0x9a3cd(%rip)     # 0xcfe10
je 0x35a4e
movq $-0x80000000, %rax      # imm = 0x80000000
jmp 0x35acc
testq %r12, %r12
je 0x35a5a
movl 0x10(%r12), %eax
jmp 0x35a5f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %r13, %r13
sete %cl
testl %eax, %eax
sets %dl
orb %cl, %dl
jne 0x35a84
cmpl %eax, 0x4(%r13)
jle 0x35a84
movq 0x18(%r13), %rcx
movl %eax, %eax
shlq $0x4, %rax
movq (%rcx,%rax), %r8
jmp 0x35a87
xorl %r8d, %r8d
testq %r8, %r8
leaq 0x79ece(%rip), %rax     # 0xaf95f
cmoveq %rax, %r8
movq (%r12), %r9
incq %r9
movl $0x3, %edi
leaq 0x79fa4(%rip), %rsi     # 0xafa4c
leaq 0x7a074(%rip), %rdx     # 0xafb23
movq %r15, %rcx
xorl %eax, %eax
callq 0x9774
movb $0x1, 0x9a350(%rip)     # 0xcfe10
movq $-0x80000000, %rax      # imm = 0x80000000
movq 0x28(%rsp), %r11
movq 0x18(%rsp), %rcx
movl %eax, (%rcx,%r14,4)
movq 0x70(%rsp), %rdi
incq %rdi
movzbl -0x1(%rdi), %eax
testl %eax, %eax
je 0x35aea
cmpl $0x2c, %eax
jne 0x35ada
incq %r14
cmpq %r11, %r14
jne 0x358d3
cmpl $0x1, %ebp
je 0x35b29
movq (%rsp), %rdi
movl %ebp, %esi
movq 0x18(%rsp), %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x3321b
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
jmp 0x35bf4
movq %rcx, 0x18(%rsp)
jmp 0x35c51
movq 0x18(%rsp), %rax
movl (%rax), %esi
movslq %esi, %rax
movq %rax, 0x88(%rsp)
movq (%rsp), %r15
movq (%r15), %rax
addq $0x5, %rax
cmpq %rax, 0x8(%r15)
jae 0x35b93
movq %rsi, 0x28(%rsp)
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %r14d
cmovbeq %rcx, %r14
addq %rax, %r14
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x4860
testq %rax, %rax
je 0x35c65
movq %rax, 0x10(%r15)
movq %r14, 0x8(%r15)
movq 0x28(%rsp), %rsi
movq (%r15), %rax
movq 0x10(%r15), %rcx
movl %esi, %edx
negl %edx
movabsq $0x2800000000000001, %r14 # imm = 0x2800000000000001
jo 0x35bbf
cmpl $0x80000001, %esi       # imm = 0x80000001
movq 0x20(%rsp), %r15
jne 0x35bd4
movw $0x8111, (%rcx,%rax)    # imm = 0x8111
jmp 0x35bec
movw $0x8011, (%rcx,%rax)    # imm = 0x8011
movq (%rsp), %rax
addq $0x2, (%rax)
movq 0x20(%rsp), %r15
jmp 0x35bf4
leal 0x78(%rsi), %edx
cmpl $0xf7, %edx
ja 0x35cb6
movb $0x11, (%rcx,%rax)
movb %sil, 0x1(%rcx,%rax)
movq (%rsp), %rax
addq $0x2, (%rax)
cmpl $0x1, %ebp
movq 0x88(%rsp), %rax
jne 0x35c51
cmpq $-0x80000000, %rax      # imm = 0x80000000
movq (%rsp), %rbp
je 0x35c55
cmpl $0x444e45, (%r15)       # imm = 0x444E45
jne 0x35c55
movq (%r12), %r9
cmpq %r9, %rax
jg 0x35c55
testb $0x1, 0x9a1ee(%rip)     # 0xcfe14
jne 0x35c55
testq %r13, %r13
sete %cl
movslq 0x10(%r12), %rax
testq %rax, %rax
sets %dl
orb %cl, %dl
jne 0x35c6f
cmpl %eax, 0x4(%r13)
jle 0x35c6f
movq 0x18(%r13), %rcx
shlq $0x4, %rax
movq (%rcx,%rax), %r8
jmp 0x35c72
movq (%rsp), %rbp
cmpl $0x0, 0x10(%rsp)
jne 0x355ad
jmp 0x35684
movq 0x20(%rsp), %r15
jmp 0x35b10
xorl %r8d, %r8d
testq %r8, %r8
leaq 0x79ce3(%rip), %rax     # 0xaf95f
cmoveq %rax, %r8
incq %r9
movl $0x0, 0x10(%rsp)
movl $0x3, %edi
leaq 0x79db5(%rip), %rsi     # 0xafa4c
leaq 0x795f8(%rip), %rdx     # 0xaf296
movq 0x88(%rsp), %rcx
xorl %eax, %eax
callq 0x9774
movb $0x1, 0x9a160(%rip)     # 0xcfe14
jmp 0x35c55
leal 0x7ff8(%rsi), %edx
cmpl $0xfff7, %edx           # imm = 0xFFF7
ja 0x35cda
movb $0x12, (%rcx,%rax)
movw %si, 0x1(%rcx,%rax)
movq (%rsp), %rax
addq $0x3, (%rax)
jmp 0x35bf4
movb $0x13, (%rcx,%rax)
movl %esi, 0x1(%rcx,%rax)
movq (%rsp), %rax
addq $0x5, (%rax)
jmp 0x35bf4
xorl %ebx, %ebx
jmp 0x35cfa
jmp 0x35d04
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq 0x18(%rsp), %rdi
callq 0x45c0
movl %ebx, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq