// File: /workspace/github_c_makefile_star2_O3/lh3[P]bgt/vcf.c
// Function: vcf_format1
int vcf_format1(const bcf_hdr_t *h, const bcf1_t *v, kstring_t *s)
{
	uint8_t *ptr = (uint8_t*)v->shared.s;
	int i;
	s->l = 0;
	bcf_unpack((bcf1_t*)v, BCF_UN_ALL);
	kputs(h->id[BCF_DT_CTG][v->rid].key, s); // CHROM
	kputc('\t', s); kputw(v->pos + 1, s); // POS
	kputc('\t', s); kputs(v->d.id, s); // ID
	kputc('\t', s); // REF
	if (v->n_allele > 0) kputs(v->d.allele[0], s);
	else kputc('.', s);
	kputc('\t', s); // ALT
	if (v->n_allele > 1) {
		for (i = 1; i < v->n_allele; ++i) {
			if (i > 1) kputc(',', s);
			kputs(v->d.allele[i], s);
		}
	} else kputc('.', s);
	kputc('\t', s); // QUAL
	if (memcmp(&v->qual, &bcf_float_missing, 4) == 0) kputc('.', s); // QUAL
	else ksprintf(s, "%g", v->qual);
	kputc('\t', s); // FILTER
	if (v->d.n_flt) {
		for (i = 0; i < v->d.n_flt; ++i) {
			if (i) kputc(';', s);
			kputs(h->id[BCF_DT_ID][v->d.flt[i]].key, s);
		}
	} else kputc('.', s);
	kputc('\t', s); // INFO
	if (v->n_info) {
		for (i = 0; i < v->n_info; ++i) {
			bcf_info_t *z = &v->d.info[i];
			if (i) kputc(';', s);
			kputs(h->id[BCF_DT_ID][z->key].key, s);
			if (z->len <= 0) continue;
			kputc('=', s);
			if (z->len == 1) {
				if (z->type == BCF_BT_FLOAT) ksprintf(s, "%g", z->v1.f);
				else if (z->type != BCF_BT_CHAR) kputw(z->v1.i, s);
				else kputc(z->v1.i, s);
			} else bcf_fmt_array(s, z->len, z->type, z->vptr);
		}
	} else kputc('.', s);
	// FORMAT and individual information
	ptr = (uint8_t*)v->indiv.s;
	if (v->n_sample && v->n_fmt) { // FORMAT
		int i, j, l, gt_i = -1;
		bcf_fmt_t *fmt;
		fmt = (bcf_fmt_t*)alloca(v->n_fmt * sizeof(bcf_fmt_t));
		ptr = bcf_unpack_fmt_core(ptr, v->n_sample, v->n_fmt, fmt);
		for (i = 0; i < (int)v->n_fmt; ++i) {
			kputc(i? ':' : '\t', s);
			kputs(h->id[BCF_DT_ID][fmt[i].id].key, s);
			if (strcmp(h->id[BCF_DT_ID][fmt[i].id].key, "GT") == 0) gt_i = i;
		}
		for (j = 0; j < v->n_sample; ++j) {
			kputc('\t', s);
			for (i = 0; i < (int)v->n_fmt; ++i) {
				bcf_fmt_t *f = &fmt[i];
				if (i) kputc(':', s);
				if (gt_i == i) {
					int8_t *x = (int8_t*)(f->p + j * f->size); // FIXME: does not work with n_alt >= 64
					for (l = 0; l < f->n && x[l] != bcf_int8_end; ++l) {
						if (l) kputc("/|"[x[l]&1], s);
						if (x[l]>>1) kputw((x[l]>>1) - 1, s);
						else kputc('.', s);
					}
					if (l == 0) kputc('.', s);
				} else bcf_fmt_array(s, f->n, f->type, f->p + j * f->size);
			}
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq $0x0, (%rdx)
movq %rsi, %rdi
movl $0xf, %esi
callq 0xf116
movq %r14, -0x40(%rbp)
movq 0x20(%r14), %rax
movslq (%r15), %rcx
shlq $0x4, %rcx
movq (%rax,%rcx), %r12
movq %r12, %rdi
callq 0x2170
movq (%rbx), %rdi
movslq %eax, %r13
leaq (%rdi,%r13), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0xf61b
movq 0x10(%rbx), %rax
jmp 0xf663
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rbx)
movq 0x10(%rbx), %rdi
callq 0x2330
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2280
addq (%rbx), %r13
movq %r13, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r13)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
movq %rbx, -0x30(%rbp)
jae 0xf697
movq 0x10(%rbx), %rax
jmp 0xf6e7
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%rbx)
movq 0x10(%rbx), %rdi
callq 0x2330
movq -0x30(%rbp), %rbx
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl 0x4(%r15), %edi
incl %edi
movq %rbx, %rsi
callq 0xc33d
movq -0x30(%rbp), %rdi
movq (%rdi), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rdi), %rcx
jae 0xf71e
movq 0x10(%rdi), %rax
jmp 0xf76e
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%rdi)
movq 0x10(%rdi), %rdi
callq 0x2330
movq -0x30(%rbp), %rdi
movq %rax, 0x10(%rdi)
movq (%rdi), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rdi)
movb $0x9, (%rax,%rdx)
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
movb $0x0, (%rcx,%rax)
movq 0x60(%r15), %r12
movq %r12, %rdi
callq 0x2170
movq -0x30(%rbp), %rdx
movq (%rdx), %rdi
movslq %eax, %r13
leaq (%rdi,%r13), %rax
incq %rax
cmpq 0x8(%rdx), %rax
jae 0xf7ac
movq 0x10(%rdx), %rax
movq %rdx, %rbx
jmp 0xf7f7
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rdx)
movq 0x10(%rdx), %rdi
movq %rdx, %rbx
callq 0x2330
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2280
addq (%rbx), %r13
movq %r13, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r13)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
movq %rbx, %r8
jae 0xf82a
movq 0x10(%r8), %rax
jmp 0xf87a
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x9, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
cmpw $0x0, 0x12(%r15)
je 0xf8c3
movq 0x68(%r15), %rax
movq (%rax), %r13
movq %r13, %rdi
callq 0x2170
movq -0x30(%rbp), %rdx
movq (%rdx), %rdi
movslq %eax, %r12
leaq (%rdi,%r12), %rax
incq %rax
cmpq 0x8(%rdx), %rax
jae 0xf8d9
movq 0x10(%rdx), %rax
movq %rdx, %rbx
jmp 0xf924
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xf941
movq 0x10(%r8), %rax
jmp 0xf991
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rdx)
movq 0x10(%rdx), %rdi
movq %rdx, %rbx
callq 0x2330
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x2280
addq (%rbx), %r12
movq %r12, (%rbx)
addq 0x10(%rbx), %r12
movq %rbx, %r8
jmp 0xf99f
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2e, (%rax,%rdx)
movq 0x10(%r8), %r12
addq (%r8), %r12
movb $0x0, (%r12)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xf9b7
movq 0x10(%r8), %rax
jmp 0xfa07
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x9, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movzwl 0x12(%r15), %eax
testl $0xfffe, %eax           # imm = 0xFFFE
je 0xfb58
movl $0x1, %r14d
cmpq $0x2, %r14
jb 0xfaaa
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xfa48
movq 0x10(%r8), %rax
jmp 0xfa98
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2c, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq 0x68(%r15), %rax
movq (%rax,%r14,8), %r12
movq %r12, %rdi
callq 0x2170
movq -0x30(%rbp), %rdx
movq (%rdx), %rdi
movslq %eax, %r13
leaq (%rdi,%r13), %rax
incq %rax
cmpq 0x8(%rdx), %rax
jae 0xfada
movq 0x10(%rdx), %rax
movq %rdx, %rbx
jmp 0xfb25
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rdx)
movq 0x10(%rdx), %rdi
movq %rdx, %rbx
callq 0x2330
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2280
addq (%rbx), %r13
movq %r13, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r13)
incq %r14
movzwl 0x12(%r15), %eax
cmpq %rax, %r14
movq %rbx, %r8
jb 0xfa2f
jmp 0xfbcd
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xfb6b
movq 0x10(%r8), %rax
jmp 0xfbbb
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2e, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xfbe0
movq 0x10(%r8), %rax
jmp 0xfc30
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x9, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movl 0xc(%r15), %eax
cmpl 0x16734(%rip), %eax     # 0x26380
je 0xfc64
cvtss2sd 0xc(%r15), %xmm0
movq %r8, %rdi
movb $0x1, %al
callq 0xd6a2
movq -0x30(%rbp), %r8
jmp 0xfcd9
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xfc77
movq 0x10(%r8), %rax
jmp 0xfcc7
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2e, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xfcec
movq 0x10(%r8), %rax
jmp 0xfd3c
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x9, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
cmpl $0x0, 0x5c(%r15)
je 0xfe99
jle 0xff0e
xorl %r14d, %r14d
testq %r14, %r14
je 0xfddc
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xfd7a
movq 0x10(%r8), %rax
jmp 0xfdca
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x3b, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq -0x40(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x70(%r15), %rcx
movslq (%rcx,%r14,4), %rcx
shlq $0x4, %rcx
movq (%rax,%rcx), %r12
movq %r12, %rdi
callq 0x2170
movq -0x30(%rbp), %rdx
movq (%rdx), %rdi
movslq %eax, %r13
leaq (%rdi,%r13), %rax
incq %rax
cmpq 0x8(%rdx), %rax
jae 0xfe1c
movq 0x10(%rdx), %rax
movq %rdx, %rbx
jmp 0xfe67
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rdx)
movq 0x10(%rdx), %rdi
movq %rdx, %rbx
callq 0x2330
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2280
addq (%rbx), %r13
movq %r13, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r13)
incq %r14
movslq 0x5c(%r15), %rax
cmpq %rax, %r14
movq %rbx, %r8
jl 0xfd62
jmp 0xff0e
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xfeac
movq 0x10(%r8), %rax
jmp 0xfefc
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2e, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xff21
movq 0x10(%r8), %rax
jmp 0xff71
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x9, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
cmpw $0x0, 0x10(%r15)
movq %r15, -0x58(%rbp)
je 0x1023b
xorl %r14d, %r14d
xorl %edx, %edx
movq %rdx, -0x48(%rbp)
movq 0x78(%r15), %rbx
testq %r14, %r14
je 0x1001a
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0xffb8
movq 0x10(%r8), %rax
jmp 0x10008
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x3b, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq -0x40(%rbp), %rax
movq 0x18(%rax), %rax
movq %rbx, %r15
movslq (%rbx,%r14), %rcx
shlq $0x4, %rcx
movq (%rax,%rcx), %r12
movq %r12, %rdi
callq 0x2170
movq -0x30(%rbp), %rdx
movq (%rdx), %rdi
movslq %eax, %r13
leaq (%rdi,%r13), %rax
incq %rax
cmpq 0x8(%rdx), %rax
jae 0x10059
movq 0x10(%rdx), %rax
movq %rdx, %rbx
jmp 0x100a4
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rdx)
movq 0x10(%rdx), %rdi
movq %rdx, %rbx
callq 0x2330
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2280
addq (%rbx), %r13
movq %r13, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r13)
cmpl $0x0, 0x8(%r15,%r14)
movq %rbx, %r8
movq -0x48(%rbp), %rdx
jle 0x101b4
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x100e7
movq 0x10(%r8), %rax
jmp 0x10137
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x3d, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movl 0x4(%r15,%r14), %edx
movl 0x8(%r15,%r14), %esi
cmpl $0x1, %esi
jne 0x10175
cmpl $0x7, %edx
je 0x10184
cmpl $0x5, %edx
jne 0x1019f
cvtss2sd 0xc(%r15,%r14), %xmm0
movq %r8, %rdi
movb $0x1, %al
callq 0xd6a2
jmp 0x101ac
movq 0x10(%r15,%r14), %rcx
movq %r8, %rdi
callq 0xd0a2
jmp 0x101ac
movl 0xc(%r15,%r14), %r12d
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x101d4
movq 0x10(%r8), %rax
jmp 0x10224
movl 0xc(%r15,%r14), %edi
movq %r8, %rsi
callq 0xc33d
movq -0x30(%rbp), %r8
movq -0x48(%rbp), %rdx
incq %rdx
movq -0x58(%rbp), %r15
movq 0x10(%r15), %rax
movzwl %ax, %ecx
addq $0x18, %r14
cmpq %rcx, %rdx
jb 0xff98
jmp 0x102b4
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb %r12b, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
jmp 0x101b0
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x1024e
movq 0x10(%r8), %rax
jmp 0x1029e
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2e, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq 0x10(%r15), %rax
movq %rax, %rsi
shrq $0x28, %rsi
je 0x10828
shrq $0x20, %rax
movl %eax, %edx
andl $0xff, %edx
je 0x10828
movq %r15, %rbx
movq 0x40(%r15), %rdi
movabsq $0xff00000000, %r14     # imm = 0xFF00000000
movzbl %al, %eax
leal (%rax,%rax,2), %eax
leal 0xf(,%rax,8), %eax
andl $-0x10, %eax
movq %rsp, %r15
subq %rax, %r15
movq %r15, %rsp
movq %r15, %rcx
callq 0xef2e
movq 0x10(%rbx), %rax
testq %r14, %rax
movq %r15, -0x48(%rbp)
je 0x104b1
movl $0xffffffff, -0x4c(%rbp) # imm = 0xFFFFFFFF
xorl %r14d, %r14d
movq -0x30(%rbp), %r8
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x10337
movq 0x10(%r8), %rax
jmp 0x10387
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
testq %r14, %r14
movl $0x3a, %esi
movl $0x9, %edi
cmovel %edi, %esi
movq %rcx, (%r8)
movb %sil, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq -0x40(%rbp), %rax
movq 0x18(%rax), %rax
movq %r15, -0x38(%rbp)
movslq (%r15), %r12
shlq $0x4, %r12
movq (%rax,%r12), %r13
movq %r13, %rdi
callq 0x2170
movq -0x30(%rbp), %rdx
movq (%rdx), %rdi
movslq %eax, %r15
leaq (%rdi,%r15), %rax
incq %rax
cmpq 0x8(%rdx), %rax
jae 0x103e8
movq 0x10(%rdx), %rax
movq %rdx, %rbx
jmp 0x10433
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rdx)
movq 0x10(%rdx), %rdi
movq %rdx, %rbx
callq 0x2330
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x2280
addq (%rbx), %r15
movq %r15, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r15)
movq -0x40(%rbp), %rax
movq 0x18(%rax), %rax
movq (%rax,%r12), %rax
cmpb $0x47, (%rax)
movq %rbx, %r8
jne 0x10482
cmpb $0x54, 0x1(%rax)
movq -0x58(%rbp), %rbx
movq -0x38(%rbp), %r15
jne 0x1048a
cmpb $0x0, 0x2(%rax)
movl -0x4c(%rbp), %eax
cmovel %r14d, %eax
movl %eax, -0x4c(%rbp)
jmp 0x1048a
movq -0x58(%rbp), %rbx
movq -0x38(%rbp), %r15
incq %r14
movq 0x10(%rbx), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movzbl %cl, %ecx
addq $0x18, %r15
cmpq %rcx, %r14
jb 0x10324
movl -0x4c(%rbp), %ecx
movq %rcx, -0x40(%rbp)
jmp 0x104be
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rcx, -0x40(%rbp)
movq -0x30(%rbp), %r8
movabsq $0x10000000000, %rcx    # imm = 0x10000000000
cmpq %rcx, %rax
jb 0x10828
movq $0x0, -0x38(%rbp)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x104ec
movq 0x10(%r8), %rax
jmp 0x1053c
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x9, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movq 0x10(%rbx), %rax
movabsq $0xff00000000, %rcx     # imm = 0xFF00000000
testq %rcx, %rax
je 0x10812
xorl %r12d, %r12d
testq %r12, %r12
je 0x105e2
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x10580
movq 0x10(%r8), %rax
jmp 0x105d0
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x3a, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
leaq (%r12,%r12,2), %rax
movq -0x48(%rbp), %rcx
leaq (%rcx,%rax,8), %rax
cmpq %r12, -0x40(%rbp)
jne 0x10756
movslq 0x4(%rax), %r15
testq %r15, %r15
jle 0x1077f
movl 0xc(%rax), %ecx
imull -0x38(%rbp), %ecx
movslq %ecx, %r13
addq 0x10(%rax), %r13
xorl %r14d, %r14d
movzbl (%r13,%r14), %eax
cmpq $0x81, %rax
je 0x1077a
testq %r14, %r14
je 0x106b7
andl $0x1, %eax
leaq 0xee21(%rip), %rcx      # 0x1f45c
movb (%rax,%rcx), %bl
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x10651
movq 0x10(%r8), %rax
jmp 0x106a1
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb %bl, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
movb (%r13,%r14), %al
cmpb $0x2, %al
jae 0x106ce
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x106e3
movq 0x10(%r8), %rax
jmp 0x10733
sarb %al
decb %al
movsbl %al, %edi
movq %r8, %rsi
callq 0xc33d
movq -0x30(%rbp), %r8
jmp 0x10745
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2e, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
incq %r14
cmpq %r14, %r15
jne 0x10616
jmp 0x107f4
movl 0x4(%rax), %esi
movl 0x8(%rax), %edx
movslq 0xc(%rax), %rdi
movslq -0x38(%rbp), %rcx
imulq %rdi, %rcx
addq 0x10(%rax), %rcx
movq %r8, %rdi
callq 0xd0a2
movq -0x30(%rbp), %r8
jmp 0x107f4
testq %r14, %r14
jne 0x107f4
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%r8), %rcx
jae 0x10792
movq 0x10(%r8), %rax
jmp 0x107e2
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x8(%r8)
movq 0x10(%r8), %rdi
callq 0x2330
movq -0x30(%rbp), %r8
movq %rax, 0x10(%r8)
movq (%r8), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%r8)
movb $0x2e, (%rax,%rdx)
movq (%r8), %rax
movq 0x10(%r8), %rcx
movb $0x0, (%rcx,%rax)
incq %r12
movq -0x58(%rbp), %rbx
movq 0x10(%rbx), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movzbl %cl, %ecx
cmpq %rcx, %r12
jb 0x10568
movq -0x38(%rbp), %rcx
incl %ecx
shrq $0x28, %rax
movq %rcx, -0x38(%rbp)
cmpl %eax, %ecx
jb 0x104d9
xorl %eax, %eax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq