LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_window.c
// Function: glutSetWindowTitle
void FGAPIENTRY glutSetWindowTitle( const char* title )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSetWindowTitle" );
    FREEGLUT_EXIT_IF_NO_WINDOW ( "glutSetWindowTitle" );
    if( ! fgStructure.CurrentWindow->Parent )
    {
#if TARGET_HOST_POSIX_X11

        XTextProperty text;

        text.value = (unsigned char *) title;
        text.encoding = XA_STRING;
        text.format = 8;
        text.nitems = strlen( title );

        XSetWMName(
            fgDisplay.Display,
            fgStructure.CurrentWindow->Window.Handle,
            &text
        );

        XFlush( fgDisplay.Display ); /* XXX Shouldn't need this */

#elif TARGET_HOST_MS_WINDOWS
#    ifdef _WIN32_WCE
        {
            wchar_t* wstr = fghWstrFromStr(title);
            SetWindowText( fgStructure.CurrentWindow->Window.Handle, wstr );
            free(wstr);
        }
#    else
        SetWindowText( fgStructure.CurrentWindow->Window.Handle, title );
#    endif

#endif
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x74a45(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xbe7b6
leaq 0x15abe(%rip), %rdi     # 0xd4266
leaq 0x27174(%rip), %rsi     # 0xe5923
xorl %eax, %eax
callq 0xbad73
leaq 0x790d3(%rip), %r14     # 0x137890
movq 0x30(%r14), %r15
testq %r15, %r15
jne 0xbe7df
leaq 0x15df1(%rip), %rdi     # 0xd45be
leaq 0x2714f(%rip), %rsi     # 0xe5923
xorl %eax, %eax
callq 0xbad73
movq 0x30(%r14), %r15
cmpq $0x0, 0x158(%r15)
jne 0xbe829
movq %rsp, %r14
movq %rbx, (%r14)
movq $0x1f, 0x8(%r14)
movl $0x8, 0x10(%r14)
movq %rbx, %rdi
callq 0x21370
movq %rax, 0x18(%r14)
leaq 0x78fde(%rip), %rbx     # 0x1377f0
movq (%rbx), %rdi
movq 0x18(%r15), %rsi
movq %r14, %rdx
callq 0x21b50
movq (%rbx), %rdi
callq 0x21ec0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_window.c
// Function: glutSetIconTitle
void FGAPIENTRY glutSetIconTitle( const char* title )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSetIconTitle" );
    FREEGLUT_EXIT_IF_NO_WINDOW ( "glutSetIconTitle" );

    if( ! fgStructure.CurrentWindow->Parent )
    {
#if TARGET_HOST_POSIX_X11

        XTextProperty text;

        text.value = (unsigned char *) title;
        text.encoding = XA_STRING;
        text.format = 8;
        text.nitems = strlen( title );

        XSetWMIconName(
            fgDisplay.Display,
            fgStructure.CurrentWindow->Window.Handle,
            &text
        );

        XFlush( fgDisplay.Display ); /* XXX Shouldn't need this */

#elif TARGET_HOST_MS_WINDOWS
#    ifdef _WIN32_WCE
        {
            wchar_t* wstr = fghWstrFromStr(title);
            SetWindowText( fgStructure.CurrentWindow->Window.Handle, wstr );
            free(wstr);
        }
#    else
        SetWindowText( fgStructure.CurrentWindow->Window.Handle, title );
#    endif

#endif
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x7499a(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xbe861
leaq 0x15a13(%rip), %rdi     # 0xd4266
leaq 0x270dc(%rip), %rsi     # 0xe5936
xorl %eax, %eax
callq 0xbad73
leaq 0x79028(%rip), %r14     # 0x137890
movq 0x30(%r14), %r15
testq %r15, %r15
jne 0xbe88a
leaq 0x15d46(%rip), %rdi     # 0xd45be
leaq 0x270b7(%rip), %rsi     # 0xe5936
xorl %eax, %eax
callq 0xbad73
movq 0x30(%r14), %r15
cmpq $0x0, 0x158(%r15)
jne 0xbe8d4
movq %rsp, %r14
movq %rbx, (%r14)
movq $0x1f, 0x8(%r14)
movl $0x8, 0x10(%r14)
movq %rbx, %rdi
callq 0x21370
movq %rax, 0x18(%r14)
leaq 0x78f33(%rip), %rbx     # 0x1377f0
movq (%rbx), %rdi
movq 0x18(%r15), %rsi
movq %r14, %rdx
callq 0x219b0
movq (%rbx), %rdi
callq 0x21ec0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_window.c
// Function: glutReshapeWindow
void FGAPIENTRY glutReshapeWindow( int width, int height )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutReshapeWindow" );
    FREEGLUT_EXIT_IF_NO_WINDOW ( "glutReshapeWindow" );

    if (glutGet(GLUT_FULL_SCREEN))
    {
      /*  Leave full screen state before resizing. */
      glutFullScreenToggle();
    }

    fgStructure.CurrentWindow->State.NeedToResize = GL_TRUE;
    fgStructure.CurrentWindow->State.Width  = width ;
    fgStructure.CurrentWindow->State.Height = height;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl %edi, %ebp
leaq 0x748f3(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xbe908
leaq 0x1596c(%rip), %rdi     # 0xd4266
leaq 0x27046(%rip), %rsi     # 0xe5947
xorl %eax, %eax
callq 0xbad73
leaq 0x78f81(%rip), %r14     # 0x137890
cmpq $0x0, 0x30(%r14)
jne 0xbe92b
leaq 0x15ca1(%rip), %rdi     # 0xd45be
leaq 0x27023(%rip), %rsi     # 0xe5947
xorl %eax, %eax
callq 0xbad73
movl $0x1ff, %edi            # imm = 0x1FF
callq 0xbcc17
testl %eax, %eax
je 0xbe93e
callq 0xbe951
movq 0x30(%r14), %rax
movb $0x1, 0x6a(%rax)
movl %ebp, 0x38(%rax)
movl %ebx, 0x3c(%rax)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_window.c
// Function: glutFullScreenToggle
void FGAPIENTRY glutFullScreenToggle( void )
{
    SFG_Window *win;

    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutFullScreenToggle" );
    FREEGLUT_EXIT_IF_NO_WINDOW ( "glutFullScreenToggle" );

    win = fgStructure.CurrentWindow;

#if TARGET_HOST_POSIX_X11
    if(toggle_fullscreen() != -1) {
        win->State.IsFullscreen = !win->State.IsFullscreen;
    }
#elif TARGET_HOST_MS_WINDOWS
    glutFullScreen();
    win->State.IsFullscreen = !win->State.IsFullscreen;
#endif
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0x74884(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xbe977
leaq 0x158fd(%rip), %rdi     # 0xd4266
leaq 0x27028(%rip), %rsi     # 0xe5998
xorl %eax, %eax
callq 0xbad73
leaq 0x78f12(%rip), %rbx     # 0x137890
movq 0x30(%rbx), %r14
testq %r14, %r14
jne 0xbe9a0
leaq 0x15c30(%rip), %rdi     # 0xd45be
leaq 0x27003(%rip), %rsi     # 0xe5998
xorl %eax, %eax
callq 0xbad73
movq 0x30(%rbx), %r14
callq 0xbeb75
cmpb $0x0, 0x6b(%r14)
sete 0x6b(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_window.c
// Function: glutPositionWindow
void FGAPIENTRY glutPositionWindow( int x, int y )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutPositionWindow" );
    FREEGLUT_EXIT_IF_NO_WINDOW ( "glutPositionWindow" );

    if (glutGet(GLUT_FULL_SCREEN))
    {
      /*  Leave full screen state before moving. */
      glutFullScreenToggle();
    }

#if TARGET_HOST_POSIX_X11

    XMoveWindow( fgDisplay.Display, fgStructure.CurrentWindow->Window.Handle,
                 x, y );
    XFlush( fgDisplay.Display ); /* XXX Shouldn't need this */

#elif TARGET_HOST_MS_WINDOWS

    {
        RECT winRect;

        /* "GetWindowRect" returns the pixel coordinates of the outside of the window */
        GetWindowRect( fgStructure.CurrentWindow->Window.Handle, &winRect );
        MoveWindow(
            fgStructure.CurrentWindow->Window.Handle,
            x,
            y,
            winRect.right - winRect.left,
            winRect.bottom - winRect.top,
            TRUE
        );
    }

#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
leaq 0x74817(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xbe9e4
leaq 0x15890(%rip), %rdi     # 0xd4266
leaq 0x26f7c(%rip), %rsi     # 0xe5959
xorl %eax, %eax
callq 0xbad73
leaq 0x78ea5(%rip), %r14     # 0x137890
cmpq $0x0, 0x30(%r14)
jne 0xbea07
leaq 0x15bc5(%rip), %rdi     # 0xd45be
leaq 0x26f59(%rip), %rsi     # 0xe5959
xorl %eax, %eax
callq 0xbad73
movl $0x1ff, %edi            # imm = 0x1FF
callq 0xbcc17
testl %eax, %eax
je 0xbea1a
callq 0xbe951
leaq 0x78dcf(%rip), %r15     # 0x1377f0
movq (%r15), %rdi
movq 0x30(%r14), %rax
movq 0x18(%rax), %rsi
movl %ebp, %edx
movl %ebx, %ecx
callq 0x21750
movq (%r15), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x21ec0
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_window.c
// Function: toggle_fullscreen
static int ewmh_fullscr_toggle(void)
{
    XEvent xev;
    long evmask = SubstructureRedirectMask | SubstructureNotifyMask;

    if(!fgDisplay.State || !fgDisplay.StateFullScreen) {
        return -1;
    }

    xev.type = ClientMessage;
    xev.xclient.window = fgStructure.CurrentWindow->Window.Handle;
    xev.xclient.message_type = fgDisplay.State;
    xev.xclient.format = 32;
    xev.xclient.data.l[0] = _NET_WM_STATE_TOGGLE;
    xev.xclient.data.l[1] = fgDisplay.StateFullScreen;
    xev.xclient.data.l[2] = 0;	/* no second property to toggle */
    xev.xclient.data.l[3] = 1;	/* source indication: application */
    xev.xclient.data.l[4] = 0;	/* unused */

    if(!XSendEvent(fgDisplay.Display, fgDisplay.RootWindow, 0, evmask, &xev)) {
        return -1;
    }
    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xc0, %rsp
leaq 0x78c68(%rip), %r14     # 0x1377f0
movq 0x28(%r14), %rcx
movq 0x30(%r14), %rax
testq %rcx, %rcx
setne %dl
testq %rax, %rax
setne %sil
testb %sil, %dl
je 0xbec00
movq %rsp, %r8
movl $0x21, (%r8)
leaq 0x78cdd(%rip), %rdx     # 0x137890
movq 0x30(%rdx), %rdx
movq 0x18(%rdx), %rdx
movq %rdx, 0x20(%r8)
movq %rcx, 0x28(%r8)
movl $0x20, 0x30(%r8)
movq $0x2, 0x38(%r8)
movq %rax, 0x40(%r8)
andq $0x0, 0x48(%r8)
movq $0x1, 0x50(%r8)
andq $0x0, 0x58(%r8)
movq (%r14), %rdi
movq 0x10(%r14), %rsi
movl $0x180000, %ecx         # imm = 0x180000
xorl %edx, %edx
callq 0x21230
testl %eax, %eax
jne 0xbec65
movl $0x1ff, %edi            # imm = 0x1FF
callq 0xbcc17
testl %eax, %eax
je 0xbec27
leaq 0x78c7b(%rip), %rax     # 0x137890
movq 0x30(%rax), %rax
movb $0x1, 0x6a(%rax)
movq 0x40(%rax), %rcx
movq %rcx, 0x38(%rax)
jmp 0xbec65
movq (%r14), %rdi
leaq 0x78c5f(%rip), %r15     # 0x137890
movq 0x30(%r15), %rax
movq 0x18(%rax), %rsi
movq %rsp, %rbx
movq %rbx, %rdx
callq 0x22100
movq (%r14), %rdi
movq 0x30(%r15), %rax
movq 0x18(%rax), %rsi
xorl %ecx, %ecx
xorl %edx, %edx
subl (%rbx), %edx
subl 0x4(%rbx), %ecx
movl 0x38(%r14), %r8d
movl 0x3c(%r14), %r9d
callq 0x217c0
addq $0xc0, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_gamemode.c
// Function: glutLeaveGameMode
void FGAPIENTRY glutLeaveGameMode( void )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutLeaveGameMode" );

    freeglut_return_if_fail( fgStructure.GameModeWindow );

    fgAddToWindowDestroyList( fgStructure.GameModeWindow );
    fgStructure.GameModeWindow = NULL;

#if TARGET_HOST_POSIX_X11

    XUngrabPointer( fgDisplay.Display, CurrentTime );
    XUngrabKeyboard( fgDisplay.Display, CurrentTime );

#endif

    fghRestoreState();
}

// Assembly:
pushq %rbx
leaq 0x72c3c(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc05bf
leaq 0x13cb5(%rip), %rdi     # 0xd4266
leaq 0x25841(%rip), %rsi     # 0xe5df9
xorl %eax, %eax
callq 0xbad73
leaq 0x772ca(%rip), %rbx     # 0x137890
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0xc05f5
callq 0xbd65f
andq $0x0, 0x48(%rbx)
leaq 0x77210(%rip), %rbx     # 0x1377f0
movq (%rbx), %rdi
xorl %esi, %esi
callq 0x21840
movq (%rbx), %rdi
xorl %esi, %esi
popq %rbx
jmp 0x21c10
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_gamemode.c
// Function: glutGameModeGet
int FGAPIENTRY glutGameModeGet( GLenum eWhat )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutGameModeGet" );

    switch( eWhat )
    {
    case GLUT_GAME_MODE_ACTIVE:
        return !!fgStructure.GameModeWindow;

    case GLUT_GAME_MODE_POSSIBLE:
        return fghChangeDisplayMode( GL_TRUE );

    case GLUT_GAME_MODE_WIDTH:
        return fgState.GameModeSize.X;

    case GLUT_GAME_MODE_HEIGHT:
        return fgState.GameModeSize.Y;

    case GLUT_GAME_MODE_PIXEL_DEPTH:
        return fgState.GameModeDepth;

    case GLUT_GAME_MODE_REFRESH_RATE:
        return fgState.GameModeRefresh;

    case GLUT_GAME_MODE_DISPLAY_CHANGED:
        /*
         * This is true if the game mode has been activated successfully..
         */
        return !!fgStructure.GameModeWindow;
    }

    fgWarning( "Unknown gamemode get: %d", eWhat );
    return -1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x72bdc(%rip), %r14     # 0x1331e0
cmpb $0x0, 0x1c(%r14)
jne 0xc0620
leaq 0x13c54(%rip), %rdi     # 0xd4266
leaq 0x257f2(%rip), %rsi     # 0xe5e0b
xorl %eax, %eax
callq 0xbad73
cmpl $0x6, %ebx
ja 0xc065c
movl %ebx, %eax
leaq 0x258c2(%rip), %rcx     # 0xe5ef0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x77252(%rip), %rax     # 0x137890
xorl %ebx, %ebx
cmpq $0x0, 0x48(%rax)
setne %bl
jmp 0xc0681
movl 0x8c(%r14), %ebx
jmp 0xc0681
movl 0x88(%r14), %ebx
jmp 0xc0681
leaq 0x258fc(%rip), %rdi     # 0xe5f5f
movl %ebx, %esi
xorl %eax, %eax
callq 0xbae63
pushq $-0x1
popq %rbx
jmp 0xc0681
movl 0x94(%r14), %ebx
jmp 0xc0681
movl 0x98(%r14), %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: fghCircleTable
static void fghCircleTable(double **sint,double **cost,const int n)
{
    int i;

    /* Table size, the sign of n flips the circle direction */

    const int size = abs(n);

    /* Determine the angle between samples */

    const double angle = 2*M_PI/(double)( ( n == 0 ) ? 1 : n );

    /* Allocate memory for n samples, plus duplicate of first entry at the end */

    *sint = (double *) calloc(sizeof(double), size+1);
    *cost = (double *) calloc(sizeof(double), size+1);

    /* Bail out if memory allocation fails, fgError never returns */

    if (!(*sint) || !(*cost))
    {
        free(*sint);
        free(*cost);
        fgError("Failed to allocate memory in fghCircleTable");
    }

    /* Compute cos and sin around the circle */

    (*sint)[0] = 0.0;
    (*cost)[0] = 1.0;

    for (i=1; i<size; i++)
    {
        (*sint)[i] = sin(angle*i);
        (*cost)[i] = cos(angle*i);
    }

    /* Last sample is duplicate of the first */

    (*sint)[size] = (*sint)[0];
    (*cost)[size] = (*cost)[0];
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movl %edx, %r13d
negl %r13d
cmovsl %edx, %r13d
movq %rdi, %r14
cmpl $0x1, %edx
adcl $0x0, %edx
cvtsi2sd %edx, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x7e15(%rip), %xmm0     # 0xc8d38
movsd %xmm0, (%rsp)
leal 0x1(%r13), %r15d
pushq $0x8
popq %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x21600
movq %rax, (%r14)
movq %r12, %rdi
movq %r15, %rsi
callq 0x21600
movq %rax, (%rbx)
movq (%r14), %rdi
testq %rdi, %rdi
setne %cl
testq %rax, %rax
setne %dl
testb %cl, %dl
jne 0xc0f80
callq 0x21ad0
movq (%rbx), %rdi
callq 0x21ad0
leaq 0x25055(%rip), %rdi     # 0xe5fc8
xorl %eax, %eax
callq 0xbad73
movq (%r14), %rdi
movq (%rbx), %rax
movsd (%rsp), %xmm0
divsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rsp)
andq $0x0, (%rdi)
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, (%rax)
movl %r13d, %r15d
pushq $0x1
popq %r12
cmpq %r15, %r12
jae 0xc0fe4
cvtsi2sd %r12d, %xmm0
mulsd (%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x21170
movq (%r14), %rax
movsd %xmm0, (%rax,%r12,8)
movsd 0x8(%rsp), %xmm0
callq 0x221f0
movq (%rbx), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
jmp 0xc0fa8
movq (%r14), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, (%rcx,%r15,8)
movsd (%rax), %xmm0
movsd %xmm0, (%rax,%r15,8)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutWireTetrahedron
void FGAPIENTRY glutWireTetrahedron( void )
{
  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutWireTetrahedron" );

  glBegin( GL_LINE_LOOP ) ;
    glNormal3d ( -tet_r[0][0], -tet_r[0][1], -tet_r[0][2] ) ; glVertex3dv ( tet_r[1] ) ; glVertex3dv ( tet_r[3] ) ; glVertex3dv ( tet_r[2] ) ;
    glNormal3d ( -tet_r[1][0], -tet_r[1][1], -tet_r[1][2] ) ; glVertex3dv ( tet_r[0] ) ; glVertex3dv ( tet_r[2] ) ; glVertex3dv ( tet_r[3] ) ;
    glNormal3d ( -tet_r[2][0], -tet_r[2][1], -tet_r[2][2] ) ; glVertex3dv ( tet_r[0] ) ; glVertex3dv ( tet_r[3] ) ; glVertex3dv ( tet_r[1] ) ;
    glNormal3d ( -tet_r[3][0], -tet_r[3][1], -tet_r[3][2] ) ; glVertex3dv ( tet_r[0] ) ; glVertex3dv ( tet_r[1] ) ; glVertex3dv ( tet_r[2] ) ;
  glEnd() ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x6fcbf(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc353c
leaq 0x10d38(%rip), %rdi     # 0xd4266
leaq 0x227a4(%rip), %rsi     # 0xe5cd9
xorl %eax, %eax
callq 0xbad73
pushq $0x2
popq %rdi
callq 0x21190
leaq 0x6fdb5(%rip), %rbx     # 0x133300
movsd 0x6fdad(%rip), %xmm0    # 0x133300
movaps 0x1fd6(%rip), %xmm3     # 0xc5530
xorps %xmm3, %xmm0
movsd 0x6fda3(%rip), %xmm1    # 0x133308
xorps %xmm3, %xmm1
movsd 0x6fda0(%rip), %xmm2    # 0x133310
xorps %xmm3, %xmm2
callq 0x21300
leaq 0x6fd99(%rip), %r14     # 0x133318
movq %r14, %rdi
callq 0x211b0
leaq 0x6fdba(%rip), %r12     # 0x133348
movq %r12, %rdi
callq 0x211b0
leaq 0x6fd93(%rip), %r15     # 0x133330
movq %r15, %rdi
callq 0x211b0
movsd 0x6fd6b(%rip), %xmm0    # 0x133318
movaps 0x1f7c(%rip), %xmm3     # 0xc5530
xorps %xmm3, %xmm0
movsd 0x6fd61(%rip), %xmm1    # 0x133320
xorps %xmm3, %xmm1
movsd 0x6fd5e(%rip), %xmm2    # 0x133328
xorps %xmm3, %xmm2
callq 0x21300
movq %rbx, %rdi
callq 0x211b0
movq %r15, %rdi
callq 0x211b0
movq %r12, %rdi
callq 0x211b0
movsd 0x6fd3e(%rip), %xmm0    # 0x133330
movaps 0x1f37(%rip), %xmm3     # 0xc5530
xorps %xmm3, %xmm0
movsd 0x6fd34(%rip), %xmm1    # 0x133338
xorps %xmm3, %xmm1
movsd 0x6fd31(%rip), %xmm2    # 0x133340
xorps %xmm3, %xmm2
callq 0x21300
movq %rbx, %rdi
callq 0x211b0
movq %r12, %rdi
callq 0x211b0
movq %r14, %rdi
callq 0x211b0
movsd 0x6fd11(%rip), %xmm0    # 0x133348
movaps 0x1ef2(%rip), %xmm2     # 0xc5530
xorps %xmm2, %xmm0
movsd 0x6fd07(%rip), %xmm1    # 0x133350
xorps %xmm2, %xmm1
movaps %xmm2, %xmm3
movsd 0x6fd01(%rip), %xmm2    # 0x133358
xorps %xmm3, %xmm2
callq 0x21300
movq %rbx, %rdi
callq 0x211b0
movq %r14, %rdi
callq 0x211b0
movq %r15, %rdi
callq 0x211b0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x21c60
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutSolidTetrahedron
void FGAPIENTRY glutSolidTetrahedron( void )
{
  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSolidTetrahedron" );

  glBegin( GL_TRIANGLES ) ;
    glNormal3d ( -tet_r[0][0], -tet_r[0][1], -tet_r[0][2] ) ; glVertex3dv ( tet_r[1] ) ; glVertex3dv ( tet_r[3] ) ; glVertex3dv ( tet_r[2] ) ;
    glNormal3d ( -tet_r[1][0], -tet_r[1][1], -tet_r[1][2] ) ; glVertex3dv ( tet_r[0] ) ; glVertex3dv ( tet_r[2] ) ; glVertex3dv ( tet_r[3] ) ;
    glNormal3d ( -tet_r[2][0], -tet_r[2][1], -tet_r[2][2] ) ; glVertex3dv ( tet_r[0] ) ; glVertex3dv ( tet_r[3] ) ; glVertex3dv ( tet_r[1] ) ;
    glNormal3d ( -tet_r[3][0], -tet_r[3][1], -tet_r[3][2] ) ; glVertex3dv ( tet_r[0] ) ; glVertex3dv ( tet_r[1] ) ; glVertex3dv ( tet_r[2] ) ;
  glEnd() ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x6fb4a(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc36b1
leaq 0x10bc3(%rip), %rdi     # 0xd4266
leaq 0x22643(%rip), %rsi     # 0xe5ced
xorl %eax, %eax
callq 0xbad73
pushq $0x4
popq %rdi
callq 0x21190
leaq 0x6fc40(%rip), %rbx     # 0x133300
movsd 0x6fc38(%rip), %xmm0    # 0x133300
movaps 0x1e61(%rip), %xmm3     # 0xc5530
xorps %xmm3, %xmm0
movsd 0x6fc2e(%rip), %xmm1    # 0x133308
xorps %xmm3, %xmm1
movsd 0x6fc2b(%rip), %xmm2    # 0x133310
xorps %xmm3, %xmm2
callq 0x21300
leaq 0x6fc24(%rip), %r14     # 0x133318
movq %r14, %rdi
callq 0x211b0
leaq 0x6fc45(%rip), %r12     # 0x133348
movq %r12, %rdi
callq 0x211b0
leaq 0x6fc1e(%rip), %r15     # 0x133330
movq %r15, %rdi
callq 0x211b0
movsd 0x6fbf6(%rip), %xmm0    # 0x133318
movaps 0x1e07(%rip), %xmm3     # 0xc5530
xorps %xmm3, %xmm0
movsd 0x6fbec(%rip), %xmm1    # 0x133320
xorps %xmm3, %xmm1
movsd 0x6fbe9(%rip), %xmm2    # 0x133328
xorps %xmm3, %xmm2
callq 0x21300
movq %rbx, %rdi
callq 0x211b0
movq %r15, %rdi
callq 0x211b0
movq %r12, %rdi
callq 0x211b0
movsd 0x6fbc9(%rip), %xmm0    # 0x133330
movaps 0x1dc2(%rip), %xmm3     # 0xc5530
xorps %xmm3, %xmm0
movsd 0x6fbbf(%rip), %xmm1    # 0x133338
xorps %xmm3, %xmm1
movsd 0x6fbbc(%rip), %xmm2    # 0x133340
xorps %xmm3, %xmm2
callq 0x21300
movq %rbx, %rdi
callq 0x211b0
movq %r12, %rdi
callq 0x211b0
movq %r14, %rdi
callq 0x211b0
movsd 0x6fb9c(%rip), %xmm0    # 0x133348
movaps 0x1d7d(%rip), %xmm2     # 0xc5530
xorps %xmm2, %xmm0
movsd 0x6fb92(%rip), %xmm1    # 0x133350
xorps %xmm2, %xmm1
movaps %xmm2, %xmm3
movsd 0x6fb8c(%rip), %xmm2    # 0x133358
xorps %xmm3, %xmm2
callq 0x21300
movq %rbx, %rdi
callq 0x211b0
movq %r14, %rdi
callq 0x211b0
movq %r15, %rdi
callq 0x211b0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x21c60
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutWireIcosahedron
void FGAPIENTRY glutWireIcosahedron( void )
{
  int i ;

  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutWireIcosahedron" );

  for ( i = 0; i < 20; i++ )
  {
    double normal[3] ;
    normal[0] = ( icos_r[icos_v[i][1]][1] - icos_r[icos_v[i][0]][1] ) * ( icos_r[icos_v[i][2]][2] - icos_r[icos_v[i][0]][2] ) - ( icos_r[icos_v[i][1]][2] - icos_r[icos_v[i][0]][2] ) * ( icos_r[icos_v[i][2]][1] - icos_r[icos_v[i][0]][1] ) ;
    normal[1] = ( icos_r[icos_v[i][1]][2] - icos_r[icos_v[i][0]][2] ) * ( icos_r[icos_v[i][2]][0] - icos_r[icos_v[i][0]][0] ) - ( icos_r[icos_v[i][1]][0] - icos_r[icos_v[i][0]][0] ) * ( icos_r[icos_v[i][2]][2] - icos_r[icos_v[i][0]][2] ) ;
    normal[2] = ( icos_r[icos_v[i][1]][0] - icos_r[icos_v[i][0]][0] ) * ( icos_r[icos_v[i][2]][1] - icos_r[icos_v[i][0]][1] ) - ( icos_r[icos_v[i][1]][1] - icos_r[icos_v[i][0]][1] ) * ( icos_r[icos_v[i][2]][0] - icos_r[icos_v[i][0]][0] ) ;
    glBegin ( GL_LINE_LOOP ) ;
      glNormal3dv ( normal ) ;
      glVertex3dv ( icos_r[icos_v[i][0]] ) ;
      glVertex3dv ( icos_r[icos_v[i][1]] ) ;
      glVertex3dv ( icos_r[icos_v[i][2]] ) ;
    glEnd () ;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x6f9cf(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc382c
leaq 0x10a48(%rip), %rdi     # 0xd4266
leaq 0x224dd(%rip), %rsi     # 0xe5d02
xorl %eax, %eax
callq 0xbad73
pushq $0x8
popq %rbp
leaq 0x227ca(%rip), %rbx     # 0xe6000
leaq 0x6fb23(%rip), %r14     # 0x133360
cmpq $0xf8, %rbp
je 0xc3922
movslq -0x4(%rbp,%rbx), %rax
imulq $0x18, %rax, %rax
leaq (%r14,%rax), %r15
movslq -0x8(%rbp,%rbx), %rcx
imulq $0x18, %rcx, %rcx
leaq (%r14,%rcx), %r13
movslq (%rbp,%rbx), %rdx
imulq $0x18, %rdx, %rdx
leaq (%r14,%rdx), %r12
movsd 0x8(%rdx,%r14), %xmm1
movsd (%rcx,%r14), %xmm2
movsd (%rax,%r14), %xmm0
subsd %xmm2, %xmm0
movupd 0x8(%rcx,%r14), %xmm3
movupd 0x8(%rax,%r14), %xmm4
subpd %xmm3, %xmm4
movsd 0x10(%rdx,%r14), %xmm5
movhpd (%rdx,%r14), %xmm5      # xmm5 = xmm5[0],mem[0]
subsd %xmm3, %xmm1
shufpd $0x1, %xmm2, %xmm3      # xmm3 = xmm3[1],xmm2[0]
subpd %xmm3, %xmm5
movapd %xmm4, %xmm2
shufpd $0x1, %xmm0, %xmm2      # xmm2 = xmm2[1],xmm0[0]
mulsd %xmm1, %xmm0
unpcklpd %xmm5, %xmm1            # xmm1 = xmm1[0],xmm5[0]
mulpd %xmm2, %xmm1
movapd %xmm4, %xmm2
mulpd %xmm5, %xmm2
subpd %xmm1, %xmm2
movapd %xmm2, (%rsp)
unpckhpd %xmm5, %xmm5            # xmm5 = xmm5[1,1]
mulsd %xmm4, %xmm5
subsd %xmm5, %xmm0
movsd %xmm0, 0x10(%rsp)
pushq $0x2
popq %rdi
callq 0x21190
movq %rsp, %rdi
callq 0x21e20
movq %r13, %rdi
callq 0x211b0
movq %r15, %rdi
callq 0x211b0
movq %r12, %rdi
callq 0x211b0
callq 0x21c60
addq $0xc, %rbp
jmp 0xc383d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutSolidIcosahedron
void FGAPIENTRY glutSolidIcosahedron( void )
{
  int i ;

  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSolidIcosahedron" );

  glBegin ( GL_TRIANGLES ) ;
  for ( i = 0; i < 20; i++ )
  {
    double normal[3] ;
    normal[0] = ( icos_r[icos_v[i][1]][1] - icos_r[icos_v[i][0]][1] ) * ( icos_r[icos_v[i][2]][2] - icos_r[icos_v[i][0]][2] ) - ( icos_r[icos_v[i][1]][2] - icos_r[icos_v[i][0]][2] ) * ( icos_r[icos_v[i][2]][1] - icos_r[icos_v[i][0]][1] ) ;
    normal[1] = ( icos_r[icos_v[i][1]][2] - icos_r[icos_v[i][0]][2] ) * ( icos_r[icos_v[i][2]][0] - icos_r[icos_v[i][0]][0] ) - ( icos_r[icos_v[i][1]][0] - icos_r[icos_v[i][0]][0] ) * ( icos_r[icos_v[i][2]][2] - icos_r[icos_v[i][0]][2] ) ;
    normal[2] = ( icos_r[icos_v[i][1]][0] - icos_r[icos_v[i][0]][0] ) * ( icos_r[icos_v[i][2]][1] - icos_r[icos_v[i][0]][1] ) - ( icos_r[icos_v[i][1]][1] - icos_r[icos_v[i][0]][1] ) * ( icos_r[icos_v[i][2]][0] - icos_r[icos_v[i][0]][0] ) ;
      glNormal3dv ( normal ) ;
      glVertex3dv ( icos_r[icos_v[i][0]] ) ;
      glVertex3dv ( icos_r[icos_v[i][1]] ) ;
      glVertex3dv ( icos_r[icos_v[i][2]] ) ;
  }

  glEnd () ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x6f89a(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc3961
leaq 0x10913(%rip), %rdi     # 0xd4266
leaq 0x223bc(%rip), %rsi     # 0xe5d16
xorl %eax, %eax
callq 0xbad73
pushq $0x4
popq %rdi
callq 0x21190
pushq $0x8
popq %r13
leaq 0x2268c(%rip), %rbp     # 0xe6000
leaq 0x6f9e5(%rip), %rbx     # 0x133360
cmpq $0xf8, %r13
je 0xc3a4c
movslq -0x4(%r13,%rbp), %rax
imulq $0x18, %rax, %rax
leaq (%rbx,%rax), %r14
movslq -0x8(%r13,%rbp), %rcx
imulq $0x18, %rcx, %rcx
leaq (%rbx,%rcx), %r12
movslq (%r13,%rbp), %rdx
imulq $0x18, %rdx, %rdx
leaq (%rbx,%rdx), %r15
movsd 0x8(%rdx,%rbx), %xmm1
movsd (%rcx,%rbx), %xmm2
movsd (%rax,%rbx), %xmm0
subsd %xmm2, %xmm0
movupd 0x8(%rcx,%rbx), %xmm3
movupd 0x8(%rax,%rbx), %xmm4
subpd %xmm3, %xmm4
movsd 0x10(%rdx,%rbx), %xmm5
movhpd (%rdx,%rbx), %xmm5      # xmm5 = xmm5[0],mem[0]
subsd %xmm3, %xmm1
shufpd $0x1, %xmm2, %xmm3      # xmm3 = xmm3[1],xmm2[0]
subpd %xmm3, %xmm5
movapd %xmm4, %xmm2
shufpd $0x1, %xmm0, %xmm2      # xmm2 = xmm2[1],xmm0[0]
mulsd %xmm1, %xmm0
unpcklpd %xmm5, %xmm1            # xmm1 = xmm1[0],xmm5[0]
mulpd %xmm2, %xmm1
movapd %xmm4, %xmm2
mulpd %xmm5, %xmm2
subpd %xmm1, %xmm2
movapd %xmm2, (%rsp)
unpckhpd %xmm5, %xmm5            # xmm5 = xmm5[1,1]
mulsd %xmm4, %xmm5
subsd %xmm5, %xmm0
movsd %xmm0, 0x10(%rsp)
movq %rsp, %rdi
callq 0x21e20
movq %r12, %rdi
callq 0x211b0
movq %r14, %rdi
callq 0x211b0
movq %r15, %rdi
callq 0x211b0
addq $0xc, %r13
jmp 0xc397b
callq 0x21c60
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutWireRhombicDodecahedron
void FGAPIENTRY glutWireRhombicDodecahedron( void )
{
  int i ;

  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutWireRhombicDodecahedron" );

  for ( i = 0; i < 12; i++ )
  {
    glBegin ( GL_LINE_LOOP ) ;
      glNormal3dv ( rdod_n[i] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][0]] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][1]] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][2]] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][3]] ) ;
    glEnd () ;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0x6f771(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc3a8a
leaq 0x107ea(%rip), %rdi     # 0xd4266
leaq 0x22398(%rip), %rsi     # 0xe5e1b
xorl %eax, %eax
callq 0xbad73
pushq $0xc
popq %r14
leaq 0x6f9eb(%rip), %rbx     # 0x133480
pushq $0x2
popq %rbp
leaq 0x22651(%rip), %r15     # 0xe60f0
leaq 0x6fafa(%rip), %r12     # 0x1335a0
cmpq $0xcc, %r14
je 0xc3b10
movl %ebp, %edi
callq 0x21190
movq %rbx, %rdi
callq 0x21e20
movslq -0xc(%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
movslq -0x8(%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
movslq -0x4(%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
movslq (%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
callq 0x21c60
addq $0x10, %r14
addq $0x18, %rbx
jmp 0xc3aa6
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutSolidRhombicDodecahedron
void FGAPIENTRY glutSolidRhombicDodecahedron( void )
{
  int i ;

  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSolidRhombicDodecahedron" );

  glBegin ( GL_QUADS ) ;
  for ( i = 0; i < 12; i++ )
  {
      glNormal3dv ( rdod_n[i] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][0]] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][1]] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][2]] ) ;
      glVertex3dv ( rdod_r[rdod_v[i][3]] ) ;
  }

  glEnd () ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x6f6b8(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc3b43
leaq 0x10731(%rip), %rdi     # 0xd4266
leaq 0x222fb(%rip), %rsi     # 0xe5e37
xorl %eax, %eax
callq 0xbad73
pushq $0x7
popq %rdi
callq 0x21190
pushq $0xc
popq %r14
leaq 0x6f92a(%rip), %rbx     # 0x133480
leaq 0x22593(%rip), %r15     # 0xe60f0
leaq 0x6fa3c(%rip), %r12     # 0x1335a0
cmpq $0xcc, %r14
je 0xc3bc2
movq %rbx, %rdi
callq 0x21e20
movslq -0xc(%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
movslq -0x8(%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
movslq -0x4(%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
movslq (%r14,%r15), %rax
imulq $0x18, %rax, %rdi
addq %r12, %rdi
callq 0x211b0
addq $0x10, %r14
addq $0x18, %rbx
jmp 0xc3b64
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x21c60
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutWireSierpinskiSponge
void FGAPIENTRY glutWireSierpinskiSponge ( int num_levels, GLdouble offset[3], GLdouble scale )
{
  int i, j ;

  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutWireSierpinskiSponge" );

  if ( num_levels == 0 )
  {

    for ( i = 0 ; i < NUM_TETR_FACES ; i++ )
    {
      glBegin ( GL_LINE_LOOP ) ;
      glNormal3d ( -tet_r[i][0], -tet_r[i][1], -tet_r[i][2] ) ;
      for ( j = 0; j < 3; j++ )
      {
        double x = offset[0] + scale * tet_r[tet_i[i][j]][0] ;
        double y = offset[1] + scale * tet_r[tet_i[i][j]][1] ;
        double z = offset[2] + scale * tet_r[tet_i[i][j]][2] ;
        glVertex3d ( x, y, z ) ;
      }

      glEnd () ;
    }
  }
  else if ( num_levels > 0 )
  {
    GLdouble local_offset[3] ;  /* Use a local variable to avoid buildup of roundoff errors */
    num_levels -- ;
    scale /= 2.0 ;
    for ( i = 0 ; i < NUM_TETR_FACES ; i++ )
    {
      local_offset[0] = offset[0] + scale * tet_r[i][0] ;
      local_offset[1] = offset[1] + scale * tet_r[i][1] ;
      local_offset[2] = offset[2] + scale * tet_r[i][2] ;
      glutWireSierpinskiSponge ( num_levels, local_offset, scale ) ;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movapd %xmm0, (%rsp)
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x6f5ef(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc3c0c
leaq 0x10668(%rip), %rdi     # 0xd4266
leaq 0x2224f(%rip), %rsi     # 0xe5e54
xorl %eax, %eax
callq 0xbad73
testl %ebp, %ebp
je 0xc3c97
jle 0xc3d4c
decl %ebp
movapd (%rsp), %xmm0
mulsd 0x1417(%rip), %xmm0     # 0xc5040
movapd %xmm0, (%rsp)
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
movapd %xmm0, 0x10(%rsp)
pushq $0x10
popq %r15
leaq 0x6f6bd(%rip), %r12     # 0x133300
leaq 0x20(%rsp), %r14
cmpq $0x70, %r15
je 0xc3d4c
movupd (%rbx), %xmm0
movupd -0x10(%r15,%r12), %xmm1
mulpd 0x10(%rsp), %xmm1
addpd %xmm0, %xmm1
movapd %xmm1, 0x20(%rsp)
movsd (%r15,%r12), %xmm1
movapd (%rsp), %xmm0
mulsd %xmm0, %xmm1
addsd 0x10(%rbx), %xmm1
movsd %xmm1, 0x30(%rsp)
movl %ebp, %edi
movq %r14, %rsi
callq 0xc3bd2
addq $0x18, %r15
jmp 0xc3c48
leaq 0x22512(%rip), %r14     # 0xe61b0
xorl %r15d, %r15d
pushq $0x2
popq %rbp
leaq 0x6f655(%rip), %r12     # 0x133300
cmpq $0x4, %r15
je 0xc3d4c
movl %ebp, %edi
callq 0x21190
imulq $0x18, %r15, %rax
movsd (%rax,%r12), %xmm0
movsd 0x8(%rax,%r12), %xmm1
movsd 0x10(%rax,%r12), %xmm2
movapd 0x1854(%rip), %xmm3     # 0xc5530
xorpd %xmm3, %xmm0
xorpd %xmm3, %xmm1
xorpd %xmm3, %xmm2
callq 0x21300
xorl %r13d, %r13d
cmpq $0x3, %r13
je 0xc3d3b
movslq (%r14,%r13,4), %rax
imulq $0x18, %rax, %rax
movsd (%rax,%r12), %xmm0
movapd (%rsp), %xmm3
mulsd %xmm3, %xmm0
addsd (%rbx), %xmm0
movsd 0x8(%rax,%r12), %xmm1
mulsd %xmm3, %xmm1
addsd 0x8(%rbx), %xmm1
movsd 0x10(%rax,%r12), %xmm2
mulsd %xmm3, %xmm2
addsd 0x10(%rbx), %xmm2
callq 0x21e80
incq %r13
jmp 0xc3cf0
callq 0x21c60
incq %r15
addq $0xc, %r14
jmp 0xc3cab
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_geometry.c
// Function: glutSolidSierpinskiSponge
void FGAPIENTRY glutSolidSierpinskiSponge ( int num_levels, GLdouble offset[3], GLdouble scale )
{
  int i, j ;

  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSolidSierpinskiSponge" );

  if ( num_levels == 0 )
  {
    glBegin ( GL_TRIANGLES ) ;

    for ( i = 0 ; i < NUM_TETR_FACES ; i++ )
    {
      glNormal3d ( -tet_r[i][0], -tet_r[i][1], -tet_r[i][2] ) ;
      for ( j = 0; j < 3; j++ )
      {
        double x = offset[0] + scale * tet_r[tet_i[i][j]][0] ;
        double y = offset[1] + scale * tet_r[tet_i[i][j]][1] ;
        double z = offset[2] + scale * tet_r[tet_i[i][j]][2] ;
        glVertex3d ( x, y, z ) ;
      }
    }

    glEnd () ;
  }
  else if ( num_levels > 0 )
  {
    GLdouble local_offset[3] ;  /* Use a local variable to avoid buildup of roundoff errors */
    num_levels -- ;
    scale /= 2.0 ;
    for ( i = 0 ; i < NUM_TETR_FACES ; i++ )
    {
      local_offset[0] = offset[0] + scale * tet_r[i][0] ;
      local_offset[1] = offset[1] + scale * tet_r[i][1] ;
      local_offset[2] = offset[2] + scale * tet_r[i][2] ;
      glutSolidSierpinskiSponge ( num_levels, local_offset, scale ) ;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movapd %xmm0, (%rsp)
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x6f466(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc3d95
leaq 0x104df(%rip), %rdi     # 0xd4266
leaq 0x220df(%rip), %rsi     # 0xe5e6d
xorl %eax, %eax
callq 0xbad73
testl %ebp, %ebp
je 0xc3e27
jle 0xc3e18
decl %ebp
movapd (%rsp), %xmm0
mulsd 0x1292(%rip), %xmm0     # 0xc5040
movapd %xmm0, (%rsp)
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
movapd %xmm0, 0x10(%rsp)
pushq $0x10
popq %r15
leaq 0x6f538(%rip), %r12     # 0x133300
leaq 0x20(%rsp), %r14
cmpq $0x70, %r15
je 0xc3e18
movupd (%rbx), %xmm0
movupd -0x10(%r15,%r12), %xmm1
mulpd 0x10(%rsp), %xmm1
addpd %xmm0, %xmm1
movapd %xmm1, 0x20(%rsp)
movsd (%r15,%r12), %xmm1
movapd (%rsp), %xmm0
mulsd %xmm0, %xmm1
addsd 0x10(%rbx), %xmm1
movsd %xmm1, 0x30(%rsp)
movl %ebp, %edi
movq %r14, %rsi
callq 0xc3d5b
addq $0x18, %r15
jmp 0xc3dcd
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x4
popq %rdi
callq 0x21190
leaq 0x2237a(%rip), %r14     # 0xe61b0
xorl %r15d, %r15d
leaq 0x6f4c0(%rip), %r12     # 0x133300
cmpq $0x4, %r15
je 0xc3ed5
imulq $0x18, %r15, %rax
movsd (%rax,%r12), %xmm0
movsd 0x8(%rax,%r12), %xmm1
movsd 0x10(%rax,%r12), %xmm2
movapd 0x16c6(%rip), %xmm3     # 0xc5530
xorpd %xmm3, %xmm0
xorpd %xmm3, %xmm1
xorpd %xmm3, %xmm2
callq 0x21300
xorl %r13d, %r13d
cmpq $0x3, %r13
je 0xc3ec9
movslq (%r14,%r13,4), %rax
imulq $0x18, %rax, %rax
movsd (%rax,%r12), %xmm0
movapd (%rsp), %xmm3
mulsd %xmm3, %xmm0
addsd (%rbx), %xmm0
movsd 0x8(%rax,%r12), %xmm1
mulsd %xmm3, %xmm1
addsd 0x8(%rbx), %xmm1
movsd 0x10(%rax,%r12), %xmm2
mulsd %xmm3, %xmm2
addsd 0x10(%rbx), %xmm2
callq 0x21e80
incq %r13
jmp 0xc3e7e
incq %r15
addq $0xc, %r14
jmp 0xc3e40
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x21c60
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_misc.c
// Function: glutExtensionSupported
int FGAPIENTRY glutExtensionSupported( const char* extension )
{
  const char *extensions, *start;
  const size_t len = strlen( extension );

  /* Make sure there is a current window, and thus a current context available */
  FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutExtensionSupported" );
  freeglut_return_val_if_fail( fgStructure.CurrentWindow != NULL, 0 );

  if (strchr(extension, ' '))
    return 0;
  start = extensions = (const char *) glGetString(GL_EXTENSIONS);

  /* XXX consider printing a warning to stderr that there's no current
   * rendering context.
   */
  freeglut_return_val_if_fail( extensions != NULL, 0 );

  while (1) {
     const char *p = strstr(extensions, extension);
     if (!p)
        return 0;  /* not found */
     /* check that the match isn't a super string */
     if ((p == start || p[-1] == ' ') && (p[len] == ' ' || p[len] == 0))
        return 1;
     /* skip the false match and continue */
     extensions = p + len;
  }

  return 0 ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
callq 0x21370
movq %rax, %r14
leaq 0x6f2de(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc3f1d
leaq 0x10357(%rip), %rdi     # 0xd4266
leaq 0x21cc9(%rip), %rsi     # 0xe5bdf
xorl %eax, %eax
callq 0xbad73
leaq 0x7396c(%rip), %rax     # 0x137890
xorl %ebp, %ebp
cmpq $0x0, 0x30(%rax)
je 0xc3f3d
pushq $0x20
popq %rsi
movq %rbx, %rdi
callq 0x21320
testq %rax, %rax
je 0xc3f48
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x1f03, %edi           # imm = 0x1F03
callq 0x21570
testq %rax, %rax
je 0xc3f3d
movq %rax, %r15
pushq $0x1
popq %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21180
testq %rax, %rax
je 0xc3f3d
cmpq %r15, %rax
je 0xc3f79
cmpb $0x20, -0x1(%rax)
jne 0xc3f83
movzbl (%rax,%r14), %ecx
testb $-0x21, %cl
je 0xc3f88
addq %r14, %rax
jmp 0xc3f5e
movl %r12d, %ebp
jmp 0xc3f3d
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_misc.c
// Function: glutReportErrors
void FGAPIENTRY glutReportErrors( void )
{
    GLenum error;
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutReportErrors" );
    while( ( error = glGetError() ) != GL_NO_ERROR )
        fgWarning( "GL error: %s", fghErrorString( error ) );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x6f241(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc3fba
leaq 0x102ba(%rip), %rdi     # 0xd4266
leaq 0x21dd5(%rip), %rsi     # 0xe5d88
xorl %eax, %eax
callq 0xbad73
leaq 0x2226a(%rip), %r14     # 0xe622b
leaq 0x22234(%rip), %rbx     # 0xe61fc
leaq 0x22211(%rip), %rbp     # 0xe61e0
leaq 0x22296(%rip), %r15     # 0xe626c
leaq 0x2229f(%rip), %r12     # 0xe627c
leaq 0x222b6(%rip), %r13     # 0xe629a
callq 0x21450
leal -0x500(%rax), %ecx
cmpl $0x6, %ecx
ja 0xc400a
movslq (%rbp,%rcx,4), %rax
addq %rbp, %rax
movq %r14, %rsi
jmpq *%rax
leaq 0x22235(%rip), %rsi     # 0xe623d
jmp 0xc4056
cmpl $0x8031, %eax           # imm = 0x8031
je 0xc403c
cmpl $0x8065, %eax           # imm = 0x8065
je 0xc4045
testl %eax, %eax
je 0xc4062
leaq 0x222a7(%rip), %rsi     # 0xe62ca
jmp 0xc4056
movq %r15, %rsi
jmp 0xc4056
leaq 0x2221a(%rip), %rsi     # 0xe624b
jmp 0xc4056
leaq 0x22223(%rip), %rsi     # 0xe625d
jmp 0xc4056
leaq 0x22247(%rip), %rsi     # 0xe628a
jmp 0xc4056
leaq 0x2226c(%rip), %rsi     # 0xe62b8
jmp 0xc4056
movq %r12, %rsi
jmp 0xc4056
movq %r13, %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0xbae63
jmp 0xc3fe4
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_misc.c
// Function: glutSetKeyRepeat
void FGAPIENTRY glutSetKeyRepeat( int repeatMode )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutSetKeyRepeat" );

    switch( repeatMode )
    {
    case GLUT_KEY_REPEAT_OFF:
    case GLUT_KEY_REPEAT_ON:
     fgState.KeyRepeat = repeatMode;
     break;

    case GLUT_KEY_REPEAT_DEFAULT:
     fgState.KeyRepeat = GLUT_KEY_REPEAT_ON;
     break;

    default:
        fgError ("Invalid glutSetKeyRepeat mode: %d", repeatMode);
        break;
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x6f103(%rip), %r14     # 0x1331e0
cmpb $0x0, 0x1c(%r14)
jne 0xc40f9
leaq 0x1017b(%rip), %rdi     # 0xd4266
leaq 0x21cbb(%rip), %rsi     # 0xe5dad
xorl %eax, %eax
callq 0xbad73
cmpl $0x2, %ebx
jae 0xc4104
movl %ebx, 0x28(%r14)
jmp 0xc410e
jne 0xc4116
movl $0x1, 0x28(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x220ec(%rip), %rdi     # 0xe6209
movl %ebx, %esi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbad73
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_misc.c
// Function: glutForceJoystickFunc
void FGAPIENTRY glutForceJoystickFunc( void )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutForceJoystickFunc" );
#if !defined(_WIN32_WCE)
    freeglut_return_if_fail( fgStructure.CurrentWindow != NULL );
    freeglut_return_if_fail( FETCH_WCB( *( fgStructure.CurrentWindow ), Joystick ) );
    fgJoystickPollWindow( fgStructure.CurrentWindow );
#endif /* !defined(_WIN32_WCE) */
}

// Assembly:
pushq %rax
leaq 0x6f0ab(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc4150
leaq 0x10124(%rip), %rdi     # 0xd4266
leaq 0x21c75(%rip), %rsi     # 0xe5dbe
xorl %eax, %eax
callq 0xbad73
leaq 0x73739(%rip), %rax     # 0x137890
movq 0x30(%rax), %rdi
testq %rdi, %rdi
je 0xc4170
cmpq $0x0, 0xd8(%rdi)
je 0xc4170
popq %rax
jmp 0xba5e4
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/fglut/freeglut_cursor.c
// Function: glutWarpPointer
void FGAPIENTRY glutWarpPointer( int x, int y )
{
    FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutWarpPointer" );
    FREEGLUT_EXIT_IF_NO_WINDOW ( "glutWarpPointer" );

#if TARGET_HOST_POSIX_X11

    XWarpPointer(
        fgDisplay.Display,
        None,
        fgStructure.CurrentWindow->Window.Handle,
        0, 0, 0, 0,
        x, y
    );
    /* Make the warp visible immediately. */
    XFlush( fgDisplay.Display );

#elif TARGET_HOST_MS_WINDOWS

    {
        POINT coords;
        coords.x = x;
        coords.y = y;

        /* ClientToScreen() translates {coords} for us. */
        ClientToScreen( fgStructure.CurrentWindow->Window.Handle, &coords );
        SetCursorPos( coords.x, coords.y );
    }

#endif
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebp
movl %edi, %ebx
leaq 0x6ea23(%rip), %rax     # 0x1331e0
cmpb $0x0, 0x1c(%rax)
jne 0xc47d8
leaq 0xfa9c(%rip), %rdi      # 0xd4266
leaq 0x21347(%rip), %rsi     # 0xe5b18
xorl %eax, %eax
callq 0xbad73
leaq 0x730b1(%rip), %r14     # 0x137890
movq 0x30(%r14), %rax
testq %rax, %rax
jne 0xc4801
leaq 0xfdcf(%rip), %rdi      # 0xd45be
leaq 0x21322(%rip), %rsi     # 0xe5b18
xorl %eax, %eax
callq 0xbad73
movq 0x30(%r14), %rax
leaq 0x72fe8(%rip), %r14     # 0x1377f0
movq (%r14), %rdi
movq 0x18(%rax), %rdx
andl $0x0, (%rsp)
movl %ebp, 0x10(%rsp)
movl %ebx, 0x8(%rsp)
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x21e70
movq (%r14), %rdi
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x21ec0
// File: /workspace/github_cpp_makefile_star2_O2/AbraaoHonorio[P]Page-Replacement-Algorithms/PageReplacement.cpp
// Function: findIndex(std::vector<int, std::allocator<int>>, std::vector<int, std::allocator<int>>, int)
int findIndex(std::vector<int> myQueue, std::vector<int> myPages, int nPages)
{
	int index = 0;


	// erase the first nPages elements
	myPages.erase(myPages.begin(), myPages.begin() + nPages);

	// initialize an vector Priority with 1000
	std::vector<int> arrayPriority(myQueue.size(),1000);

	if (!myPages.empty())
	{
		for (unsigned int i = 0; i < myQueue.size(); i++)
		{
			for (unsigned int j = 0; j < myPages.size(); j++)
			{
				if (myQueue[i] == myPages[j])
				{
					arrayPriority[i] = j;
					break;
				}

			}
		}
		/*					DEBUG                             */
		/*std::cout << "\n ***  arrayPriority *** " << std::endl; //DEBUG
		for each (int element in arrayPriority)
		{
		std::cout << index << " *** " << element << " " << std::endl; //DEBUG
		}*/


		/* return o index with highest priority*/
		int winner = arrayPriority[0];
		for (unsigned int i = 0; i < arrayPriority.size(); i++)
		{
			if (winner < arrayPriority[i])
			{
				winner = arrayPriority[i];
				index = i;
			}
		}
	}


	return (index);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rsi
movslq %edx, %rax
leaq (%rsi,%rax,4), %rdx
movq %r14, %rdi
callq 0x19c2
movq 0x8(%rbx), %rsi
subq (%rbx), %rsi
sarq $0x2, %rsi
leaq 0xc(%rsp), %rdx
movl $0x3e8, (%rdx)          # imm = 0x3E8
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rcx
callq 0x19c8
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq %rcx, %rax
je 0x1558
movq (%rbx), %rdx
movq 0x8(%rbx), %rsi
subq %rdx, %rsi
sarq $0x2, %rsi
subq %rax, %rcx
sarq $0x2, %rcx
xorl %edi, %edi
movq 0x10(%rsp), %r8
movl %edi, %edi
cmpq %rdi, %rsi
jbe 0x152b
xorl %r9d, %r9d
movl %r9d, %r10d
cmpq %r10, %rcx
jbe 0x1527
movl (%rdx,%rdi,4), %r11d
cmpl (%rax,%r10,4), %r11d
je 0x1523
incl %r9d
jmp 0x150c
movl %r9d, (%r8,%rdi,4)
incl %edi
jmp 0x1502
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
movl (%rax), %edx
subq %rax, %rcx
sarq $0x2, %rcx
xorl %ebx, %ebx
xorl %esi, %esi
movl %esi, %esi
cmpq %rsi, %rcx
jbe 0x155a
movl (%rax,%rsi,4), %edi
cmpl %edi, %edx
cmovll %esi, %ebx
cmovlel %edi, %edx
incl %esi
jmp 0x1542
xorl %ebx, %ebx
leaq 0x10(%rsp), %rdi
callq 0x1ad6
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/AbraaoHonorio[P]Page-Replacement-Algorithms/PageReplacement.cpp
// Function: PageReplacement::otm()
void PageReplacement::otm(void)
{
	/* initializing */
	pageFaults_m = 0;
	myQueue.clear();


	/*inserting the value to queue*/
	for (int i = 0; i<sizeRam_m; i++)
	{
		if (std::find(myQueue.begin(), myQueue.end(), myPages[i]) != myQueue.end())
				;
        else
        {
            pageFaults_m++;
		    myQueue.push_back(myPages[i]);
        }
	}


	if (!myPages.empty() && !myQueue.empty())
	{
		for (unsigned int i = sizeRam_m; i < myPages.size(); i++)
		{

			if (std::find(myQueue.begin(), myQueue.end(), myPages[i]) != myQueue.end())
				;
			else
			{
				int index = findIndex(myQueue, myPages, i);
				myQueue[index] = myPages[i]; //	replacing in accordance with index
				pageFaults_m++;
			}
		}
	}
	else
	{
		std::cout << " The Queue have empty or sizeRam is null " << std::endl;
	}

	std::cout << " OTM  " << pageFaults_m << " " << std::endl; //output
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
andl $0x0, 0x8(%rdi)
movq 0x10(%rdi), %rax
cmpq %rax, 0x18(%rdi)
je 0x1591
movq %rax, 0x18(%rbx)
leaq 0x10(%rbx), %r14
leaq 0x28(%rbx), %rax
movq %rax, (%rsp)
xorl %r13d, %r13d
xorl %ebp, %ebp
movslq 0xc(%rbx), %r12
cmpq %r12, %rbp
jge 0x15e0
movq 0x10(%rbx), %rdi
movq 0x18(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %r13, %rdx
callq 0x1ae3
cmpq 0x18(%rbx), %rax
jne 0x15d7
incl 0x8(%rbx)
movq 0x28(%rbx), %rsi
addq %r13, %rsi
movq %r14, %rdi
callq 0x196a
incq %rbp
addq $0x4, %r13
jmp 0x15a2
movq 0x28(%rbx), %rax
movq 0x30(%rbx), %rcx
cmpq %rcx, %rax
je 0x1695
movq 0x10(%rbx), %rdx
cmpq 0x18(%rbx), %rdx
je 0x1695
leaq 0x20(%rsp), %r13
leaq 0x8(%rsp), %rbp
movl %r12d, %r12d
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
jbe 0x16b0
movq 0x10(%rbx), %rdi
movq 0x18(%rbx), %rsi
leaq (%rax,%r12,4), %rdx
callq 0x1ae3
cmpq 0x18(%rbx), %rax
je 0x163c
movq (%rsp), %rax
movq (%rax), %rax
jmp 0x1689
movq %r13, %rdi
movq %r14, %rsi
callq 0x1a1e
movq %rbp, %rdi
movq (%rsp), %rsi
callq 0x1a1e
movq %r13, %rdi
movq %rbp, %rsi
movl %r12d, %edx
callq 0x1496
movl %eax, %r15d
movq %rbp, %rdi
callq 0x1ad6
movq %r13, %rdi
callq 0x1ad6
movq 0x10(%rbx), %rcx
movq 0x28(%rbx), %rax
movl (%rax,%r12,4), %edx
movslq %r15d, %rsi
movl %edx, (%rcx,%rsi,4)
incl 0x8(%rbx)
incl %r12d
movq 0x30(%rbx), %rcx
jmp 0x1609
movq 0x293c(%rip), %rdi      # 0x3fd8
leaq 0x961(%rip), %rsi       # 0x2004
callq 0x10f0
movq %rax, %rdi
callq 0x1090
movq 0x2921(%rip), %rdi      # 0x3fd8
leaq 0x979(%rip), %rsi       # 0x2037
callq 0x10f0
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x1140
leaq 0x967(%rip), %rsi       # 0x203c
movq %rax, %rdi
callq 0x10f0
movq %rax, %rdi
callq 0x1090
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x1706
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x1ad6
leaq 0x20(%rsp), %rdi
callq 0x1ad6
movq %rbx, %rdi
callq 0x1150