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

/* initialize stars and create initial K4, for ordinary triangulations */
{
    register int i,j;
    register EDGE *si;

    for (i = 0; i < MAXN; ++i)
    {
        si = STAR3(i);

        for (j = 0; j < 3; ++j)
        {
            si[j].end = si[j+3].start = i;
            si[j].invers = si + 3 + j;
            si[j+3].invers = si + j;
            si[j].min = si[j+3].min = si + j;
            si[j+3].next = si + 3 + (j+1) % 3;
            si[j+3].prev = si + 3 + (j+2) % 3;
        }

        si = STAR4(i);
 
        for (j = 0; j < 4; ++j) 
        { 
            si[j].end = si[j+4].start = i;
            si[j].invers = si + 4 + j; 
            si[j+4].invers = si + j; 
            si[j].min = si[j+4].min = si + j;
            si[j+4].next = si + 4 + (j+1) % 4; 
            si[j+4].prev = si + 4 + (j+3) % 4;
        }

        si = STAR5(i);
  
        for (j = 0; j < 5; ++j)  
        {  
            si[j].end = si[j+5].start = i; 
            si[j].invers = si + 5 + j;  
            si[j+5].invers = si + j;  
            si[j].min = si[j+5].min = si + j;
            si[j+5].next = si + 5 + (j+1) % 5;  
            si[j+5].prev = si + 5 + (j+4) % 5; 
        }
    }

    init_edge[0].start = 0; init_edge[0].end = 1;
    init_edge[0].next = init_edge[0].prev = init_edge+2;
    init_edge[0].invers = init_edge+1;
    init_edge[0].min = init_edge;

    init_edge[1].start = 1; init_edge[1].end = 0;
    init_edge[1].next = init_edge[1].prev = init_edge+4;
    init_edge[1].invers = init_edge+0;
    init_edge[1].min = init_edge;

    init_edge[2].start = 0; init_edge[2].end = 2;
    init_edge[2].next = init_edge[2].prev = init_edge+0;
    init_edge[2].invers = init_edge+3;
    init_edge[2].min = init_edge+2;

    init_edge[3].start = 2; init_edge[3].end = 0;
    init_edge[3].next = init_edge[3].prev = init_edge+5;
    init_edge[3].invers = init_edge+2;
    init_edge[3].min = init_edge+2;

    init_edge[4].start = 1; init_edge[4].end = 2;
    init_edge[4].next = init_edge[4].prev = init_edge+1;
    init_edge[4].invers = init_edge+5;
    init_edge[4].min = init_edge+4;

    init_edge[5].start = 2; init_edge[5].end = 1;
    init_edge[5].next = init_edge[5].prev = init_edge+3;
    init_edge[5].invers = init_edge+4;
    init_edge[5].min = init_edge+4;

    nv = 3;
    ne = 6;

    degree[0] = degree[1] = degree[2] = 2;
    firstedge[0] = init_edge;
    firstedge[1] = init_edge+1;
    firstedge[2] = init_edge+3;

    extend3(init_edge);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
cmpl $0x40, -0x4(%rbp)
jge 0x1a6b6
movl -0x4(%rbp), %eax
shll $0x3, %eax
movslq %eax, %rcx
leaq 0x2403c7(%rip), %rax    # 0x25a630
addq $0x180, %rax            # imm = 0x180
shlq $0x6, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movl $0x0, -0x8(%rbp)
cmpl $0x3, -0x8(%rbp)
jge 0x1a3c4
movl -0x4(%rbp), %ecx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x3, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
addq $0xc0, %rcx
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x3, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x3, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0xc0, %rcx
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl $0x3, %esi
cltd
idivl %esi
movslq %edx, %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x3, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0xc0, %rcx
movl -0x8(%rbp), %eax
addl $0x2, %eax
movl $0x3, %esi
cltd
idivl %esi
movslq %edx, %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x3, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x10(%rax)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x1a281
movl -0x4(%rbp), %eax
shll $0x3, %eax
movslq %eax, %rcx
leaq 0x24025c(%rip), %rax    # 0x25a630
addq $0x180, %rax            # imm = 0x180
addq $0x8000, %rax           # imm = 0x8000
shlq $0x6, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movl $0x0, -0x8(%rbp)
cmpl $0x4, -0x8(%rbp)
jge 0x1a535
movl -0x4(%rbp), %ecx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x4, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x4, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x4, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl $0x4, %esi
cltd
idivl %esi
movslq %edx, %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x4, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0x100, %rcx            # imm = 0x100
movl -0x8(%rbp), %eax
addl $0x3, %eax
movl $0x4, %esi
cltd
idivl %esi
movslq %edx, %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x4, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x10(%rax)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x1a3f2
movl -0x4(%rbp), %eax
shll $0x4, %eax
movslq %eax, %rcx
leaq 0x2400eb(%rip), %rax    # 0x25a630
addq $0x180, %rax            # imm = 0x180
addq $0x10000, %rax          # imm = 0x10000
shlq $0x6, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movl $0x0, -0x8(%rbp)
cmpl $0x5, -0x8(%rbp)
jge 0x1a6a6
movl -0x4(%rbp), %ecx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x5, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rcx
addq $0x140, %rcx            # imm = 0x140
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x5, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rcx
movslq -0x8(%rbp), %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x5, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rax
movslq -0x8(%rbp), %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rcx
addq $0x140, %rcx            # imm = 0x140
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl $0x5, %esi
cltd
idivl %esi
movslq %edx, %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x5, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
addq $0x140, %rcx            # imm = 0x140
movl -0x8(%rbp), %eax
addl $0x4, %eax
movl $0x5, %esi
cltd
idivl %esi
movslq %edx, %rax
shlq $0x6, %rax
addq %rax, %rcx
movq -0x10(%rbp), %rax
movl -0x8(%rbp), %edx
addl $0x5, %edx
movslq %edx, %rdx
shlq $0x6, %rdx
addq %rdx, %rax
movq %rcx, 0x10(%rax)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x1a563
jmp 0x1a6a8
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x1a24f
movl $0x0, 0x23ff70(%rip)    # 0x25a630
movl $0x1, 0x23ff6a(%rip)    # 0x25a634
leaq 0x23ff5f(%rip), %rax    # 0x25a630
addq $0x80, %rax
movq %rax, 0x23ff62(%rip)    # 0x25a640
leaq 0x23ff4b(%rip), %rax    # 0x25a630
addq $0x80, %rax
movq %rax, 0x23ff56(%rip)    # 0x25a648
leaq 0x23ff37(%rip), %rax    # 0x25a630
addq $0x40, %rax
movq %rax, 0x23ff4c(%rip)    # 0x25a650
leaq 0x23ff25(%rip), %rax    # 0x25a630
movq %rax, 0x23ff46(%rip)    # 0x25a658
movl $0x1, 0x23ff54(%rip)    # 0x25a670
movl $0x0, 0x23ff4e(%rip)    # 0x25a674
leaq 0x23ff03(%rip), %rax    # 0x25a630
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x23ff46(%rip)    # 0x25a680
leaq 0x23feef(%rip), %rax    # 0x25a630
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x23ff3a(%rip)    # 0x25a688
leaq 0x23fedb(%rip), %rax    # 0x25a630
movq %rax, 0x23ff34(%rip)    # 0x25a690
leaq 0x23fecd(%rip), %rax    # 0x25a630
movq %rax, 0x23ff2e(%rip)    # 0x25a698
movl $0x0, 0x23ff3c(%rip)    # 0x25a6b0
movl $0x2, 0x23ff36(%rip)    # 0x25a6b4
leaq 0x23feab(%rip), %rax    # 0x25a630
movq %rax, 0x23ff34(%rip)    # 0x25a6c0
leaq 0x23fe9d(%rip), %rax    # 0x25a630
movq %rax, 0x23ff2e(%rip)    # 0x25a6c8
leaq 0x23fe8f(%rip), %rax    # 0x25a630
addq $0xc0, %rax
movq %rax, 0x23ff22(%rip)    # 0x25a6d0
leaq 0x23fe7b(%rip), %rax    # 0x25a630
addq $0x80, %rax
movq %rax, 0x23ff16(%rip)    # 0x25a6d8
movl $0x2, 0x23ff24(%rip)    # 0x25a6f0
movl $0x0, 0x23ff1e(%rip)    # 0x25a6f4
leaq 0x23fe53(%rip), %rax    # 0x25a630
addq $0x140, %rax            # imm = 0x140
movq %rax, 0x23ff16(%rip)    # 0x25a700
leaq 0x23fe3f(%rip), %rax    # 0x25a630
addq $0x140, %rax            # imm = 0x140
movq %rax, 0x23ff0a(%rip)    # 0x25a708
leaq 0x23fe2b(%rip), %rax    # 0x25a630
addq $0x80, %rax
movq %rax, 0x23fefe(%rip)    # 0x25a710
leaq 0x23fe17(%rip), %rax    # 0x25a630
addq $0x80, %rax
movq %rax, 0x23fef2(%rip)    # 0x25a718
movl $0x1, 0x23ff00(%rip)    # 0x25a730
movl $0x2, 0x23fefa(%rip)    # 0x25a734
leaq 0x23fdef(%rip), %rax    # 0x25a630
addq $0x40, %rax
movq %rax, 0x23fef4(%rip)    # 0x25a740
leaq 0x23fddd(%rip), %rax    # 0x25a630
addq $0x40, %rax
movq %rax, 0x23feea(%rip)    # 0x25a748
leaq 0x23fdcb(%rip), %rax    # 0x25a630
addq $0x140, %rax            # imm = 0x140
movq %rax, 0x23fede(%rip)    # 0x25a750
leaq 0x23fdb7(%rip), %rax    # 0x25a630
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x23fed2(%rip)    # 0x25a758
movl $0x2, 0x23fee0(%rip)    # 0x25a770
movl $0x1, 0x23feda(%rip)    # 0x25a774
leaq 0x23fd8f(%rip), %rax    # 0x25a630
addq $0xc0, %rax
movq %rax, 0x23fed2(%rip)    # 0x25a780
leaq 0x23fd7b(%rip), %rax    # 0x25a630
addq $0xc0, %rax
movq %rax, 0x23fec6(%rip)    # 0x25a788
leaq 0x23fd67(%rip), %rax    # 0x25a630
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x23feba(%rip)    # 0x25a790
leaq 0x23fd53(%rip), %rax    # 0x25a630
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x23feae(%rip)    # 0x25a798
movl $0x3, 0x23fd2c(%rip)    # 0x25a620
movl $0x6, 0x23fd26(%rip)    # 0x25a624
movl $0x2, 0x23300(%rip)     # 0x3dc08
movl $0x2, 0x232f2(%rip)     # 0x3dc04
movl $0x2, 0x232e4(%rip)     # 0x3dc00
leaq 0x23fd0d(%rip), %rax    # 0x25a630
movq %rax, 0x230d6(%rip)     # 0x3da00
leaq 0x23fcff(%rip), %rax    # 0x25a630
addq $0x40, %rax
movq %rax, 0x230cc(%rip)     # 0x3da08
leaq 0x23fced(%rip), %rax    # 0x25a630
addq $0xc0, %rax
movq %rax, 0x230c0(%rip)     # 0x3da10
leaq 0x23fcd9(%rip), %rdi    # 0x25a630
callq 0x2b810
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)