// File: /workspace/github_c_makefile_star2_O0/mishun[P]plantri/plantri.c
// Function: initialize_bip
static void
initialize_bip(void)

/* initialize edges for bipartite generation, and make the
   inital octahedron */
{
    EDGE *run,*start;
    int n;

/* First initialize the edges for the P-operation. They look like

       a
      / \
  ---b---c   Vertex c is the point where the reference edge is glued to.
      \ /      c--->b is the first edge P_op(n)
       d

a and d will be from the old graph -- they cannot be initialised so far.
It is assumed that for 0<=n<MAXN after P_op(n) there is room for 12 edges.
*/

    for (n=6; n<=MAXN-2; n++)
      { run=start=P_op(n);
        run->start=n; run->end=n+1; run->min=run;
            run->invers=start+1; run->next=start+2; run->prev=start+4;
        run=start+1; run->start=n+1; run->end=n;
            run->min=run->invers=start; run->next=start+7; run->prev=start+11;
        run=start+2; run->start=n; run->min=run; run->invers=start+3;
            run->prev=start;
        run=start+3; run->end=n; run->min=run->invers=start+2;
            run->next=start+10;
        run=start+4; run->start=n; run->min=run; run->invers=start+5;
            run->next=start; 
        run=start+5; run->end=n; run->min=run->invers=start+4;
            run->prev=start+6;
        run=start+6; run->end=n+1; run->min=run; run->invers=start+7;
            run->next=start+5; 
        run=start+7; run->start=n+1; run->min=run->invers=start+6;
            run->next=start+9; run->prev=start+1;
        run=start+8; run->end=n+1; run->min=run; run->invers=start+9; 
        run=start+9; run->start=n+1; run->min=run->invers=start+8;
            run->next=start+11; run->prev=start+7;
        run=start+10; run->end=n+1; run->min=run; run->invers=start+11;
            run->prev=start+3;
        run=start+11; run->start=n+1; run->min=run->invers=start+10;
            run->next=start+1; run->prev=start+9;
      }

/* The new edges for the Q-operations look like

   |\
   | \ c  Vertex c is the point where the reference edge is glued to
   | /    and the only new vertex
   |/

*/

   for (n=6; n<=MAXN-1; n++)
     { run=start=Q_op(n);  run->min=run;
                   run->start=n; run->invers=start+1; run->next=start+4;
       run=start+1; run->end=n; run->invers=run->min=start;
	   run->prev=start+2;
       run=start+2; run->invers=start+3; run->next=start+1; run->min=run;
       run=start+3; run->invers=run->min=start+2; run->prev=start+5;
       run=start+4; run->start=n; run->invers=start+5; run->prev=start;
	   run->min=run;
       run=start+5; run->end=n; run->invers=run->min=start+4;
           run->next=start+3;
     }

   make_octahedron();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x6, -0x14(%rbp)
cmpl $0x3e, -0x14(%rbp)
jg 0x3095d
imull $0xc, -0x14(%rbp), %eax
movslq %eax, %rcx
leaq 0x22a099(%rip), %rax    # 0x25a630
addq $0x600, %rax            # imm = 0x600
shlq $0x6, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x40, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0x80, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x40, %rax
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x1c0, %rcx            # imm = 0x1C0
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0x2c0, %rcx            # imm = 0x2C0
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x80, %rax
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0xc0, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0xc0, %rax
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
addq $0x80, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x280, %rcx            # imm = 0x280
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rax
addq $0x100, %rax            # imm = 0x100
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x140, %rcx            # imm = 0x140
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rax
addq $0x140, %rax            # imm = 0x140
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x180, %rcx            # imm = 0x180
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x180, %rax            # imm = 0x180
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x1c0, %rcx            # imm = 0x1C0
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0x140, %rcx            # imm = 0x140
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rax
addq $0x1c0, %rax            # imm = 0x1C0
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rcx
addq $0x180, %rcx            # imm = 0x180
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x240, %rcx            # imm = 0x240
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0x40, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x200, %rax            # imm = 0x200
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x240, %rcx            # imm = 0x240
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rax
addq $0x240, %rax            # imm = 0x240
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rcx
addq $0x200, %rcx            # imm = 0x200
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x2c0, %rcx            # imm = 0x2C0
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0x1c0, %rcx            # imm = 0x1C0
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x280, %rax            # imm = 0x280
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x2c0, %rcx            # imm = 0x2C0
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0xc0, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x2c0, %rax            # imm = 0x2C0
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rcx
addq $0x280, %rcx            # imm = 0x280
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x40, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0x240, %rcx            # imm = 0x240
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x3057f
movl $0x6, -0x14(%rbp)
cmpl $0x3f, -0x14(%rbp)
jg 0x30b1b
imull $0x6, -0x14(%rbp), %eax
movslq %eax, %rcx
leaq 0x229cb4(%rip), %rax    # 0x25a630
addq $0x600, %rax            # imm = 0x600
addq $0xc000, %rax           # imm = 0xC000
shlq $0x6, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rcx
addq $0x40, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rax
addq $0x40, %rax
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0x80, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x80, %rax
movq %rax, -0x8(%rbp)
movq -0x10(%rbp), %rcx
addq $0xc0, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0x40, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rax
addq $0xc0, %rax
movq %rax, -0x8(%rbp)
movq -0x10(%rbp), %rcx
addq $0x80, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0x140, %rcx            # imm = 0x140
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
addq $0x100, %rax            # imm = 0x100
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rcx
addq $0x140, %rcx            # imm = 0x140
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rax
addq $0x140, %rax            # imm = 0x140
movq %rax, -0x8(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
addq $0xc0, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x30964
callq 0x27f80
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)