// File: /workspace/github_c_makefile_star2_O0/rikuu[P]kermit/miniasm/asm.c
// Function: ma_sg_print
void ma_sg_print(const asg_t *g, const sdict_t *d, const ma_sub_t *sub, FILE *fp)
{
	uint32_t i;
	for (i = 0; i < g->n_arc; ++i) {
		const asg_arc_t *p = &g->arc[i];
		if (sub) {
			const ma_sub_t *sq = &sub[p->ul>>33], *st = &sub[p->v>>1];
			fprintf(fp, "L\t%s:%d-%d\t%c\t%s:%d-%d\t%c\t%d:\tL1:i:%d\n", d->seq[p->ul>>33].name, sq->s + 1, sq->e, "+-"[p->ul>>32&1],
					d->seq[p->v>>1].name, st->s + 1, st->e, "+-"[p->v&1], p->ol, (uint32_t)p->ul);
		} else {
			fprintf(fp, "L\t%s\t%c\t%s\t%c\t%d:\tL1:i:%d\n", d->seq[p->ul>>33].name, "+-"[p->ul>>32&1],
					d->seq[p->v>>1].name, "+-"[p->v&1], p->ol, (uint32_t)p->ul);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rdi, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq %rdx, -0x30(%rbp)
movq %rcx, -0x38(%rbp)
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
movq -0x20(%rbp), %rcx
movl 0x4(%rcx), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %ecx, %eax
jae 0x8666
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movl -0x3c(%rbp), %ecx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x85b8
movq -0x30(%rbp), %rax
movq -0x48(%rbp), %rcx
movq (%rcx), %rcx
shrq $0x21, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x8(%rcx), %ecx
shrl %ecx
movl %ecx, %ecx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x48(%rbp), %rcx
movq (%rcx), %rcx
shrq $0x21, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rdx
movq -0x50(%rbp), %rax
movl (%rax), %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addl $0x1, %ecx
movq -0x50(%rbp), %rax
movl 0x4(%rax), %r8d
movq -0x48(%rbp), %rax
movq (%rax), %rsi
shrq $0x20, %rsi
andq $0x1, %rsi
leaq 0x703d(%rip), %rax      # 0xf55c
movsbl (%rax,%rsi), %r9d
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x48(%rbp), %rsi
movl 0x8(%rsi), %esi
shrl %esi
movl %esi, %esi
shlq $0x4, %rsi
addq %rsi, %rax
movq (%rax), %r15
movq -0x58(%rbp), %rax
movl (%rax), %r14d
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
addl $0x1, %r14d
movq -0x58(%rbp), %rax
movl 0x4(%rax), %ebx
movq -0x48(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x1, %eax
movl %eax, %eax
movl %eax, %esi
leaq 0x6fed(%rip), %rax      # 0xf55c
movsbl (%rax,%rsi), %r11d
movq -0x48(%rbp), %rax
movl 0xc(%rax), %r10d
andl $0x7fffffff, %r10d      # imm = 0x7FFFFFFF
movq -0x48(%rbp), %rax
movq (%rax), %rax
leaq 0x6fa4(%rip), %rsi      # 0xf535
movq %r15, (%rsp)
movl %r14d, 0x8(%rsp)
movl %ebx, 0x10(%rsp)
movl %r11d, 0x18(%rsp)
movl %r10d, 0x20(%rsp)
movl %eax, 0x28(%rsp)
movb $0x0, %al
callq 0x1110
jmp 0x8656
movq -0x38(%rbp), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x48(%rbp), %rcx
movq (%rcx), %rcx
shrq $0x21, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rdx
movq -0x48(%rbp), %rax
movq (%rax), %rcx
shrq $0x20, %rcx
andq $0x1, %rcx
leaq 0x6f6d(%rip), %rax      # 0xf55c
movsbl (%rax,%rcx), %ecx
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x48(%rbp), %rsi
movl 0x8(%rsi), %esi
shrl %esi
movl %esi, %esi
shlq $0x4, %rsi
addq %rsi, %rax
movq (%rax), %r8
movq -0x48(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x1, %eax
movl %eax, %eax
movl %eax, %esi
leaq 0x6f37(%rip), %rax      # 0xf55c
movsbl (%rax,%rsi), %r9d
movq -0x48(%rbp), %rax
movl 0xc(%rax), %r10d
andl $0x7fffffff, %r10d      # imm = 0x7FFFFFFF
movq -0x48(%rbp), %rax
movq (%rax), %rax
leaq 0x6f18(%rip), %rsi      # 0xf55f
movl %r10d, (%rsp)
movl %eax, 0x8(%rsp)
movb $0x0, %al
callq 0x1110
jmp 0x8658
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x8464
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)