// File: /workspace/github_c_makefile_star2_O2/lh3[P]fermi-lite/misc.c
// Function: fml_utg_print
void fml_utg_print(int n, const fml_utg_t *utg)
{
	int i, j, l;
	kstring_t out = {0,0,0};
	for (i = 0; i < n; ++i) {
		const fml_utg_t *u = &utg[i];
		out.l = 0;
		kputc('@', &out); kputw(i<<1|0, &out); kputc(':', &out); kputw(i<<1|1, &out);
		kputc('\t', &out); kputw(u->nsr, &out);
		kputc('\t', &out);
		for (j = 0; j < u->n_ovlp[0]; ++j) {
			kputw(u->ovlp[j].id<<1|u->ovlp[j].to, &out); kputc(',', &out);
			kputw(u->ovlp[j].len, &out); kputc(';', &out);
		}
		if (u->n_ovlp[0] == 0) kputc('.', &out);
		kputc('\t', &out);
		for (; j < u->n_ovlp[0] + u->n_ovlp[1]; ++j) {
			kputw(u->ovlp[j].id<<1|u->ovlp[j].to, &out); kputc(',', &out);
			kputw(u->ovlp[j].len, &out); kputc(';', &out);
		}
		if (u->n_ovlp[1] == 0) kputc('.', &out);
		kputc('\n', &out);
		l = out.l;
		kputsn(u->seq, u->len, &out);
		kputsn("\n+\n", 3, &out);
		kputsn(u->cov, u->len, &out);
		kputc('\n', &out);
		fputs(out.s, stdout);
	}
	free(out.s);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, (%rsp)
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r15
movups %xmm0, 0x8(%r15)
xorl %r14d, %r14d
testl %edi, %edi
cmovlel %r14d, %edi
movq %rdi, 0x8(%rsp)
pushq $0x2c
popq %rbp
movl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
pushq $0x3b
popq %r12
xorl %ebx, %ebx
cmpq 0x8(%rsp), %rbx
je 0x3007
imulq $0x28, %rbx, %rcx
movq %rcx, 0x10(%rsp)
movq (%rsp), %rdx
leaq (%rdx,%rcx), %r14
andq $0x0, 0x20(%rsp)
pushq $0x40
popq %rdi
movq %r15, %rsi
callq 0x301d
leal (%rbx,%rbx), %edi
movq %r15, %rsi
callq 0x30a0
pushq $0x3a
popq %rdi
movq %r15, %rsi
callq 0x301d
movq %rbx, 0x18(%rsp)
leal 0x1(,%rbx,2), %edi
movq %r15, %rsi
callq 0x30a0
pushq $0x9
popq %rbx
movl %ebx, %edi
movq %r15, %rsi
callq 0x301d
movq (%rsp), %rax
movq 0x10(%rsp), %rcx
movl 0x4(%rax,%rcx), %edi
movq %r15, %rsi
callq 0x30a0
movl %ebx, %edi
movq %r15, %rsi
callq 0x301d
xorl %ebx, %ebx
movslq 0x18(%r14), %rax
cmpq %rax, %rbx
jge 0x2f17
movq 0x20(%r14), %rax
movq (%rax,%rbx,8), %rdi
movq %rdi, %rax
shrq $0x1f, %rax
andl $-0x2, %eax
shrq $0x3f, %rdi
orl %eax, %edi
movq %r15, %rsi
callq 0x30a0
movl %ebp, %edi
movq %r15, %rsi
callq 0x301d
movq 0x20(%r14), %rax
movl (%rax,%rbx,8), %edi
andl %r13d, %edi
movq %r15, %rsi
callq 0x30a0
movl %r12d, %edi
movq %r15, %rsi
callq 0x301d
incq %rbx
jmp 0x2ec2
testl %eax, %eax
jne 0x2f26
pushq $0x2e
popq %rdi
movq %r15, %rsi
callq 0x301d
pushq $0x9
popq %rdi
movq %r15, %rsi
callq 0x301d
movslq 0x18(%r14), %rcx
movslq 0x1c(%r14), %rax
addq %rax, %rcx
cmpq %rcx, %rbx
jge 0x2f8d
movq 0x20(%r14), %rax
movq (%rax,%rbx,8), %rdi
movq %rdi, %rax
shrq $0x1f, %rax
andl $-0x2, %eax
shrq $0x3f, %rdi
orl %eax, %edi
movq %r15, %rsi
callq 0x30a0
movl %ebp, %edi
movq %r15, %rsi
callq 0x301d
movq 0x20(%r14), %rax
movl (%rax,%rbx,8), %edi
andl %r13d, %edi
movq %r15, %rsi
callq 0x30a0
movl %r12d, %edi
movq %r15, %rsi
callq 0x301d
incq %rbx
jmp 0x2f31
testl %eax, %eax
jne 0x2f9c
pushq $0x2e
popq %rdi
movq %r15, %rsi
callq 0x301d
pushq $0xa
popq %rbx
movl %ebx, %edi
movq %r15, %rsi
callq 0x301d
movq 0x8(%r14), %rdi
movl (%r14), %esi
movq %r15, %rdx
callq 0x29ed
leaq 0x11444(%rip), %rdi     # 0x14403
pushq $0x3
popq %rsi
movq %r15, %rdx
callq 0x29ed
movq 0x10(%r14), %rdi
movl (%r14), %esi
movq %r15, %rdx
callq 0x29ed
movl %ebx, %edi
movq %r15, %rsi
callq 0x301d
movq 0x30(%rsp), %r14
movq 0x17fd1(%rip), %rax     # 0x1afc0
movq (%rax), %rsi
movq %r14, %rdi
callq 0x20f0
movq 0x18(%rsp), %rbx
incq %rbx
jmp 0x2e3d
movq %r14, %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2040