diff -u mesa-8.0.2/debian/changelog mesa-8.0.2/debian/changelog --- mesa-8.0.2/debian/changelog +++ mesa-8.0.2/debian/changelog @@ -1,3 +1,11 @@ +mesa (8.0.2-0ubuntu3) precise; urgency=low + + * Drop 113_fix_tls.diff - this turns out to have been working around a libc + bug (most likely Debian bug #637239) which is now fixed. It also seems + to be causing problems itself now. (LP: #965798) + + -- Christopher James Halse Rogers Tue, 27 Mar 2012 12:51:58 +1100 + mesa (8.0.2-0ubuntu2) precise; urgency=low [ Robert Hooker ] diff -u mesa-8.0.2/debian/patches/series mesa-8.0.2/debian/patches/series --- mesa-8.0.2/debian/patches/series +++ mesa-8.0.2/debian/patches/series @@ -10,7 +10,6 @@ # Ubuntu patches. 100_no_abi_tag.patch 101_ubuntu_hidden_glname.patch -113_fix_tls.diff 115_llvm_dynamic_linking.diff 116_use_shared_galliumcore.diff 117_intel_fix_hiz_null_dereference.patch reverted: --- mesa-8.0.2/debian/patches/113_fix_tls.diff +++ mesa-8.0.2.orig/debian/patches/113_fix_tls.diff @@ -1,13051 +0,0 @@ -commit 7354b4a95976915f4496f24944cbe9df93d1f8af -Author: Christopher James Halse Rogers -Date: Tue Mar 15 09:56:23 2011 +1100 - - Stage changes to extract interesting ones - -Index: mesa/src/egl/main/eglcurrent.c -=================================================================== ---- mesa.orig/src/egl/main/eglcurrent.c 2011-06-27 10:35:46.000000000 +0100 -+++ mesa/src/egl/main/eglcurrent.c 2011-06-27 14:49:30.706934576 +0100 -@@ -24,7 +24,7 @@ - - #ifdef GLX_USE_TLS - static __thread const _EGLThreadInfo *_egl_TLS -- __attribute__ ((tls_model("initial-exec"))); -+ __attribute__ ((tls_model("global-dynamic"))); - #endif - - static INLINE void _eglSetTSD(const _EGLThreadInfo *t) -Index: mesa/src/glx/glxclient.h -=================================================================== ---- mesa.orig/src/glx/glxclient.h 2011-06-27 10:35:46.000000000 +0100 -+++ mesa/src/glx/glxclient.h 2011-06-27 14:49:30.706934576 +0100 -@@ -616,7 +616,7 @@ - # if defined( GLX_USE_TLS ) - - extern __thread void *__glX_tls_Context -- __attribute__ ((tls_model("initial-exec"))); -+ __attribute__ ((tls_model("global-dynamic"))); - - # define __glXGetCurrentContext() __glX_tls_Context - -Index: mesa/src/glx/glxcurrent.c -=================================================================== ---- mesa.orig/src/glx/glxcurrent.c 2011-06-27 10:35:46.000000000 +0100 -+++ mesa/src/glx/glxcurrent.c 2011-06-27 14:49:30.706934576 +0100 -@@ -86,7 +86,7 @@ - * \b never be \c NULL. This is important! Because of this - * \c __glXGetCurrentContext can be implemented as trivial macro. - */ --__thread void *__glX_tls_Context __attribute__ ((tls_model("initial-exec"))) -+__thread void *__glX_tls_Context __attribute__ ((tls_model("global-dynamic"))) - = &dummyContext; - - _X_HIDDEN void -Index: mesa/src/mapi/glapi/gen/gl_x86-64_asm.py -=================================================================== ---- mesa.orig/src/mapi/glapi/gen/gl_x86-64_asm.py 2011-06-27 10:02:56.000000000 +0100 -+++ mesa/src/mapi/glapi/gen/gl_x86-64_asm.py 2011-06-27 14:49:30.706934576 +0100 -@@ -153,8 +153,16 @@ - print '' - print '\t.p2align\t4,,15' - print '_x86_64_get_dispatch:' -- print '\tmovq\t_glapi_tls_Dispatch@GOTTPOFF(%rip), %rax' -- print '\tmovq\t%fs:(%rax), %rax' -+# print '\tpush\t%rdi' -+ # print '\tmovq\t_glapi_tls_Dispatch@GOTTPOFF(%rip), %rax' -+ # print '\tmovq\t%fs:(%rax), %rax' -+ print '\t.byte\t0x66' -+ print '\tleaq\t_glapi_tls_Dispatch@tlsgd(%rip), %rdi' -+ print '\t.word\t0x6666' -+ print '\trex64' -+ print '\tcall\t__tls_get_addr@plt' -+ print '\tmovq\t(%rax), %rax' -+# print '\tpop\t%rdi' - print '\tret' - print '\t.size\t_x86_64_get_dispatch, .-_x86_64_get_dispatch' - print '' -@@ -248,7 +256,9 @@ - print '\tHIDDEN(GL_PREFIX(%s))' % (name) - print 'GL_PREFIX(%s):' % (name) - print '#if defined(GLX_USE_TLS)' -+ save_all_regs(registers) - print '\tcall\t_x86_64_get_dispatch@PLT' -+ restore_all_regs(registers) - print '\tmovq\t%u(%%rax), %%r11' % (f.offset * 8) - print '\tjmp\t*%r11' - print '#elif defined(PTHREADS)' -Index: mesa/src/mapi/glapi/glapi.h -=================================================================== ---- mesa.orig/src/mapi/glapi/glapi.h 2011-06-27 10:35:46.000000000 +0100 -+++ mesa/src/mapi/glapi/glapi.h 2011-06-27 14:49:30.706934576 +0100 -@@ -81,10 +81,10 @@ - #if defined (GLX_USE_TLS) - - _GLAPI_EXPORT extern __thread struct _glapi_table * _glapi_tls_Dispatch -- __attribute__((tls_model("initial-exec"))); -+ __attribute__((tls_model("global-dynamic"))); - - _GLAPI_EXPORT extern __thread void * _glapi_tls_Context -- __attribute__((tls_model("initial-exec"))); -+ __attribute__((tls_model("global-dynamic"))); - - _GLAPI_EXPORT extern const struct _glapi_table *_glapi_Dispatch; - _GLAPI_EXPORT extern const void *_glapi_Context; -Index: mesa/src/mapi/mapi/u_current.c -=================================================================== ---- mesa.orig/src/mapi/mapi/u_current.c 2011-06-27 10:35:46.000000000 +0100 -+++ mesa/src/mapi/mapi/u_current.c 2011-06-27 14:51:15.321344318 +0100 -@@ -100,11 +100,11 @@ - #if defined(GLX_USE_TLS) - - __thread struct mapi_table *u_current_table -- __attribute__((tls_model("initial-exec"))) -+ __attribute__((tls_model("global-dynamic"))) - = (struct mapi_table *) table_noop_array; - - __thread void *u_current_user -- __attribute__((tls_model("initial-exec"))); -+ __attribute__((tls_model("global-dynamic"))); - - #else - -Index: mesa/src/mapi/mapi/u_current.h -=================================================================== ---- mesa.orig/src/mapi/mapi/u_current.h 2011-06-27 10:35:46.000000000 +0100 -+++ mesa/src/mapi/mapi/u_current.h 2011-06-27 14:52:02.803363632 +0100 -@@ -31,10 +31,10 @@ - #ifdef GLX_USE_TLS - - extern __thread struct mapi_table *u_current_table -- __attribute__((tls_model("initial-exec"))); -+ __attribute__((tls_model("global-dynamic"))); - - extern __thread void *u_current_user -- __attribute__((tls_model("initial-exec"))); -+ __attribute__((tls_model("global-dynamic"))); - - #else /* GLX_USE_TLS */ - -Index: mesa/src/mesa/drivers/x11/glxapi.c -=================================================================== ---- mesa.orig/src/mesa/drivers/x11/glxapi.c 2011-06-27 10:02:56.000000000 +0100 -+++ mesa/src/mesa/drivers/x11/glxapi.c 2011-06-27 14:49:30.726935452 +0100 -@@ -160,7 +160,7 @@ - */ - #if defined(GLX_USE_TLS) - PUBLIC __thread void * CurrentContext -- __attribute__((tls_model("initial-exec"))); -+ __attribute__((tls_model("global-dynamic"))); - #elif defined(THREADS) - static _glthread_TSD ContextTSD; /**< Per-thread context pointer */ - #else -Index: mesa/src/mapi/glapi/glapi_x86-64.S -=================================================================== ---- mesa.orig/src/mapi/glapi/glapi_x86-64.S 2011-06-27 14:47:42.261891747 +0100 -+++ mesa/src/mapi/glapi/glapi_x86-64.S 2011-06-27 14:49:30.966946012 +0100 -@@ -60,8 +60,12 @@ - - .p2align 4,,15 - _x86_64_get_dispatch: -- movq _glapi_tls_Dispatch@GOTTPOFF(%rip), %rax -- movq %fs:(%rax), %rax -+ .byte 0x66 -+ leaq _glapi_tls_Dispatch@tlsgd(%rip), %rdi -+ .word 0x6666 -+ rex64 -+ call __tls_get_addr@plt -+ movq (%rax), %rax - ret - .size _x86_64_get_dispatch, .-_x86_64_get_dispatch - -@@ -88,7 +92,13 @@ - .type GL_PREFIX(NewList), @function - GL_PREFIX(NewList): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 0(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -125,7 +135,9 @@ - .type GL_PREFIX(EndList), @function - GL_PREFIX(EndList): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 8(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -154,7 +166,9 @@ - .type GL_PREFIX(CallList), @function - GL_PREFIX(CallList): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 16(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -183,7 +197,13 @@ - .type GL_PREFIX(CallLists), @function - GL_PREFIX(CallLists): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 24(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -220,7 +240,13 @@ - .type GL_PREFIX(DeleteLists), @function - GL_PREFIX(DeleteLists): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 32(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -257,7 +283,9 @@ - .type GL_PREFIX(GenLists), @function - GL_PREFIX(GenLists): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 40(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -286,7 +314,9 @@ - .type GL_PREFIX(ListBase), @function - GL_PREFIX(ListBase): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 48(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -315,7 +345,9 @@ - .type GL_PREFIX(Begin), @function - GL_PREFIX(Begin): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 56(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -344,7 +376,23 @@ - .type GL_PREFIX(Bitmap), @function - GL_PREFIX(Bitmap): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) -+ movq %xmm1, 24(%rsp) -+ movq %xmm2, 32(%rsp) -+ movq %xmm3, 40(%rsp) -+ movq %rdx, 48(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 48(%rsp), %rdx -+ movq 40(%rsp), %xmm3 -+ movq 32(%rsp), %xmm2 -+ movq 24(%rsp), %xmm1 -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 64(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -401,7 +449,13 @@ - .type GL_PREFIX(Color3b), @function - GL_PREFIX(Color3b): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 72(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -438,7 +492,9 @@ - .type GL_PREFIX(Color3bv), @function - GL_PREFIX(Color3bv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 80(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -467,7 +523,15 @@ - .type GL_PREFIX(Color3d), @function - GL_PREFIX(Color3d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 88(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -508,7 +572,9 @@ - .type GL_PREFIX(Color3dv), @function - GL_PREFIX(Color3dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 96(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -537,7 +603,15 @@ - .type GL_PREFIX(Color3f), @function - GL_PREFIX(Color3f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 104(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -578,7 +652,9 @@ - .type GL_PREFIX(Color3fv), @function - GL_PREFIX(Color3fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 112(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -607,7 +683,13 @@ - .type GL_PREFIX(Color3i), @function - GL_PREFIX(Color3i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 120(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -644,7 +726,9 @@ - .type GL_PREFIX(Color3iv), @function - GL_PREFIX(Color3iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 128(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -673,7 +757,13 @@ - .type GL_PREFIX(Color3s), @function - GL_PREFIX(Color3s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 136(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -710,7 +800,9 @@ - .type GL_PREFIX(Color3sv), @function - GL_PREFIX(Color3sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 144(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -739,7 +831,13 @@ - .type GL_PREFIX(Color3ub), @function - GL_PREFIX(Color3ub): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 152(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -776,7 +874,9 @@ - .type GL_PREFIX(Color3ubv), @function - GL_PREFIX(Color3ubv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 160(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -805,7 +905,13 @@ - .type GL_PREFIX(Color3ui), @function - GL_PREFIX(Color3ui): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 168(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -842,7 +948,9 @@ - .type GL_PREFIX(Color3uiv), @function - GL_PREFIX(Color3uiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 176(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -871,7 +979,13 @@ - .type GL_PREFIX(Color3us), @function - GL_PREFIX(Color3us): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 184(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -908,7 +1022,9 @@ - .type GL_PREFIX(Color3usv), @function - GL_PREFIX(Color3usv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 192(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -937,7 +1053,17 @@ - .type GL_PREFIX(Color4b), @function - GL_PREFIX(Color4b): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 200(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -982,7 +1108,9 @@ - .type GL_PREFIX(Color4bv), @function - GL_PREFIX(Color4bv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 208(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1011,7 +1139,17 @@ - .type GL_PREFIX(Color4d), @function - GL_PREFIX(Color4d): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 216(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1056,7 +1194,9 @@ - .type GL_PREFIX(Color4dv), @function - GL_PREFIX(Color4dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 224(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1085,7 +1225,17 @@ - .type GL_PREFIX(Color4f), @function - GL_PREFIX(Color4f): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 232(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1130,7 +1280,9 @@ - .type GL_PREFIX(Color4fv), @function - GL_PREFIX(Color4fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 240(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1159,7 +1311,17 @@ - .type GL_PREFIX(Color4i), @function - GL_PREFIX(Color4i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 248(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1204,7 +1366,9 @@ - .type GL_PREFIX(Color4iv), @function - GL_PREFIX(Color4iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 256(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1233,7 +1397,17 @@ - .type GL_PREFIX(Color4s), @function - GL_PREFIX(Color4s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 264(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1278,7 +1452,9 @@ - .type GL_PREFIX(Color4sv), @function - GL_PREFIX(Color4sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 272(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1307,7 +1483,17 @@ - .type GL_PREFIX(Color4ub), @function - GL_PREFIX(Color4ub): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 280(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1352,7 +1538,9 @@ - .type GL_PREFIX(Color4ubv), @function - GL_PREFIX(Color4ubv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 288(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1381,7 +1569,17 @@ - .type GL_PREFIX(Color4ui), @function - GL_PREFIX(Color4ui): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 296(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1426,7 +1624,9 @@ - .type GL_PREFIX(Color4uiv), @function - GL_PREFIX(Color4uiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 304(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1455,7 +1655,17 @@ - .type GL_PREFIX(Color4us), @function - GL_PREFIX(Color4us): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 312(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1500,7 +1710,9 @@ - .type GL_PREFIX(Color4usv), @function - GL_PREFIX(Color4usv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 320(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1529,7 +1741,9 @@ - .type GL_PREFIX(EdgeFlag), @function - GL_PREFIX(EdgeFlag): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 328(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1558,7 +1772,9 @@ - .type GL_PREFIX(EdgeFlagv), @function - GL_PREFIX(EdgeFlagv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 336(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1587,7 +1803,9 @@ - .type GL_PREFIX(End), @function - GL_PREFIX(End): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 344(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1616,7 +1834,11 @@ - .type GL_PREFIX(Indexd), @function - GL_PREFIX(Indexd): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 352(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1649,7 +1871,9 @@ - .type GL_PREFIX(Indexdv), @function - GL_PREFIX(Indexdv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 360(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1678,7 +1902,11 @@ - .type GL_PREFIX(Indexf), @function - GL_PREFIX(Indexf): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 368(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1711,7 +1939,9 @@ - .type GL_PREFIX(Indexfv), @function - GL_PREFIX(Indexfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 376(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1740,7 +1970,9 @@ - .type GL_PREFIX(Indexi), @function - GL_PREFIX(Indexi): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 384(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1769,7 +2001,9 @@ - .type GL_PREFIX(Indexiv), @function - GL_PREFIX(Indexiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 392(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1798,7 +2032,9 @@ - .type GL_PREFIX(Indexs), @function - GL_PREFIX(Indexs): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 400(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1827,7 +2063,9 @@ - .type GL_PREFIX(Indexsv), @function - GL_PREFIX(Indexsv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 408(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1856,7 +2094,13 @@ - .type GL_PREFIX(Normal3b), @function - GL_PREFIX(Normal3b): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 416(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1893,7 +2137,9 @@ - .type GL_PREFIX(Normal3bv), @function - GL_PREFIX(Normal3bv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 424(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1922,7 +2168,15 @@ - .type GL_PREFIX(Normal3d), @function - GL_PREFIX(Normal3d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 432(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1963,7 +2217,9 @@ - .type GL_PREFIX(Normal3dv), @function - GL_PREFIX(Normal3dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 440(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -1992,7 +2248,15 @@ - .type GL_PREFIX(Normal3f), @function - GL_PREFIX(Normal3f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 448(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2033,7 +2297,9 @@ - .type GL_PREFIX(Normal3fv), @function - GL_PREFIX(Normal3fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 456(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2062,7 +2328,13 @@ - .type GL_PREFIX(Normal3i), @function - GL_PREFIX(Normal3i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 464(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2099,7 +2371,9 @@ - .type GL_PREFIX(Normal3iv), @function - GL_PREFIX(Normal3iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 472(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2128,7 +2402,13 @@ - .type GL_PREFIX(Normal3s), @function - GL_PREFIX(Normal3s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 480(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2165,7 +2445,9 @@ - .type GL_PREFIX(Normal3sv), @function - GL_PREFIX(Normal3sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 488(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2194,7 +2476,13 @@ - .type GL_PREFIX(RasterPos2d), @function - GL_PREFIX(RasterPos2d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 496(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2231,7 +2519,9 @@ - .type GL_PREFIX(RasterPos2dv), @function - GL_PREFIX(RasterPos2dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 504(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2260,7 +2550,13 @@ - .type GL_PREFIX(RasterPos2f), @function - GL_PREFIX(RasterPos2f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 512(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2297,7 +2593,9 @@ - .type GL_PREFIX(RasterPos2fv), @function - GL_PREFIX(RasterPos2fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 520(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2326,7 +2624,13 @@ - .type GL_PREFIX(RasterPos2i), @function - GL_PREFIX(RasterPos2i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 528(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2363,7 +2667,9 @@ - .type GL_PREFIX(RasterPos2iv), @function - GL_PREFIX(RasterPos2iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 536(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2392,7 +2698,13 @@ - .type GL_PREFIX(RasterPos2s), @function - GL_PREFIX(RasterPos2s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 544(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2429,7 +2741,9 @@ - .type GL_PREFIX(RasterPos2sv), @function - GL_PREFIX(RasterPos2sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 552(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2458,7 +2772,15 @@ - .type GL_PREFIX(RasterPos3d), @function - GL_PREFIX(RasterPos3d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 560(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2499,7 +2821,9 @@ - .type GL_PREFIX(RasterPos3dv), @function - GL_PREFIX(RasterPos3dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 568(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2528,7 +2852,15 @@ - .type GL_PREFIX(RasterPos3f), @function - GL_PREFIX(RasterPos3f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 576(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2569,7 +2901,9 @@ - .type GL_PREFIX(RasterPos3fv), @function - GL_PREFIX(RasterPos3fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 584(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2598,7 +2932,13 @@ - .type GL_PREFIX(RasterPos3i), @function - GL_PREFIX(RasterPos3i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 592(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2635,7 +2975,9 @@ - .type GL_PREFIX(RasterPos3iv), @function - GL_PREFIX(RasterPos3iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 600(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2664,7 +3006,13 @@ - .type GL_PREFIX(RasterPos3s), @function - GL_PREFIX(RasterPos3s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 608(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2701,7 +3049,9 @@ - .type GL_PREFIX(RasterPos3sv), @function - GL_PREFIX(RasterPos3sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 616(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2730,7 +3080,17 @@ - .type GL_PREFIX(RasterPos4d), @function - GL_PREFIX(RasterPos4d): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 624(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2775,7 +3135,9 @@ - .type GL_PREFIX(RasterPos4dv), @function - GL_PREFIX(RasterPos4dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 632(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2804,7 +3166,17 @@ - .type GL_PREFIX(RasterPos4f), @function - GL_PREFIX(RasterPos4f): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 640(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2849,7 +3221,9 @@ - .type GL_PREFIX(RasterPos4fv), @function - GL_PREFIX(RasterPos4fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 648(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2878,7 +3252,17 @@ - .type GL_PREFIX(RasterPos4i), @function - GL_PREFIX(RasterPos4i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 656(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2923,7 +3307,9 @@ - .type GL_PREFIX(RasterPos4iv), @function - GL_PREFIX(RasterPos4iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 664(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2952,7 +3338,17 @@ - .type GL_PREFIX(RasterPos4s), @function - GL_PREFIX(RasterPos4s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 672(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -2997,7 +3393,9 @@ - .type GL_PREFIX(RasterPos4sv), @function - GL_PREFIX(RasterPos4sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 680(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3026,7 +3424,17 @@ - .type GL_PREFIX(Rectd), @function - GL_PREFIX(Rectd): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 688(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3071,7 +3479,13 @@ - .type GL_PREFIX(Rectdv), @function - GL_PREFIX(Rectdv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 696(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3108,7 +3522,17 @@ - .type GL_PREFIX(Rectf), @function - GL_PREFIX(Rectf): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 704(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3153,7 +3577,13 @@ - .type GL_PREFIX(Rectfv), @function - GL_PREFIX(Rectfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 712(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3190,7 +3620,17 @@ - .type GL_PREFIX(Recti), @function - GL_PREFIX(Recti): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 720(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3235,7 +3675,13 @@ - .type GL_PREFIX(Rectiv), @function - GL_PREFIX(Rectiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 728(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3272,7 +3718,17 @@ - .type GL_PREFIX(Rects), @function - GL_PREFIX(Rects): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 736(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3317,7 +3773,13 @@ - .type GL_PREFIX(Rectsv), @function - GL_PREFIX(Rectsv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 744(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3354,7 +3816,11 @@ - .type GL_PREFIX(TexCoord1d), @function - GL_PREFIX(TexCoord1d): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 752(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3387,7 +3853,9 @@ - .type GL_PREFIX(TexCoord1dv), @function - GL_PREFIX(TexCoord1dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 760(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3416,7 +3884,11 @@ - .type GL_PREFIX(TexCoord1f), @function - GL_PREFIX(TexCoord1f): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 768(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3449,7 +3921,9 @@ - .type GL_PREFIX(TexCoord1fv), @function - GL_PREFIX(TexCoord1fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 776(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3478,7 +3952,9 @@ - .type GL_PREFIX(TexCoord1i), @function - GL_PREFIX(TexCoord1i): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 784(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3507,7 +3983,9 @@ - .type GL_PREFIX(TexCoord1iv), @function - GL_PREFIX(TexCoord1iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 792(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3536,7 +4014,9 @@ - .type GL_PREFIX(TexCoord1s), @function - GL_PREFIX(TexCoord1s): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 800(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3565,7 +4045,9 @@ - .type GL_PREFIX(TexCoord1sv), @function - GL_PREFIX(TexCoord1sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 808(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3594,7 +4076,13 @@ - .type GL_PREFIX(TexCoord2d), @function - GL_PREFIX(TexCoord2d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 816(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3631,7 +4119,9 @@ - .type GL_PREFIX(TexCoord2dv), @function - GL_PREFIX(TexCoord2dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 824(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3660,7 +4150,13 @@ - .type GL_PREFIX(TexCoord2f), @function - GL_PREFIX(TexCoord2f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 832(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3697,7 +4193,9 @@ - .type GL_PREFIX(TexCoord2fv), @function - GL_PREFIX(TexCoord2fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 840(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3726,7 +4224,13 @@ - .type GL_PREFIX(TexCoord2i), @function - GL_PREFIX(TexCoord2i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 848(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3763,7 +4267,9 @@ - .type GL_PREFIX(TexCoord2iv), @function - GL_PREFIX(TexCoord2iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 856(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3792,7 +4298,13 @@ - .type GL_PREFIX(TexCoord2s), @function - GL_PREFIX(TexCoord2s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 864(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3829,7 +4341,9 @@ - .type GL_PREFIX(TexCoord2sv), @function - GL_PREFIX(TexCoord2sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 872(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3858,8 +4372,16 @@ - .type GL_PREFIX(TexCoord3d), @function - GL_PREFIX(TexCoord3d): - #if defined(GLX_USE_TLS) -- call _x86_64_get_dispatch@PLT -- movq 880(%rax), %r11 -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp -+ movq 880(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) - subq $24, %rsp -@@ -3899,7 +4421,9 @@ - .type GL_PREFIX(TexCoord3dv), @function - GL_PREFIX(TexCoord3dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 888(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3928,7 +4452,15 @@ - .type GL_PREFIX(TexCoord3f), @function - GL_PREFIX(TexCoord3f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 896(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3969,7 +4501,9 @@ - .type GL_PREFIX(TexCoord3fv), @function - GL_PREFIX(TexCoord3fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 904(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -3998,7 +4532,13 @@ - .type GL_PREFIX(TexCoord3i), @function - GL_PREFIX(TexCoord3i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 912(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4035,7 +4575,9 @@ - .type GL_PREFIX(TexCoord3iv), @function - GL_PREFIX(TexCoord3iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 920(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4064,7 +4606,13 @@ - .type GL_PREFIX(TexCoord3s), @function - GL_PREFIX(TexCoord3s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 928(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4101,7 +4649,9 @@ - .type GL_PREFIX(TexCoord3sv), @function - GL_PREFIX(TexCoord3sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 936(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4130,7 +4680,17 @@ - .type GL_PREFIX(TexCoord4d), @function - GL_PREFIX(TexCoord4d): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 944(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4175,7 +4735,9 @@ - .type GL_PREFIX(TexCoord4dv), @function - GL_PREFIX(TexCoord4dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 952(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4204,7 +4766,17 @@ - .type GL_PREFIX(TexCoord4f), @function - GL_PREFIX(TexCoord4f): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 960(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4249,7 +4821,9 @@ - .type GL_PREFIX(TexCoord4fv), @function - GL_PREFIX(TexCoord4fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 968(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4278,7 +4852,17 @@ - .type GL_PREFIX(TexCoord4i), @function - GL_PREFIX(TexCoord4i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 976(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4323,7 +4907,9 @@ - .type GL_PREFIX(TexCoord4iv), @function - GL_PREFIX(TexCoord4iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 984(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4352,7 +4938,17 @@ - .type GL_PREFIX(TexCoord4s), @function - GL_PREFIX(TexCoord4s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 992(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4397,7 +4993,9 @@ - .type GL_PREFIX(TexCoord4sv), @function - GL_PREFIX(TexCoord4sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1000(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4426,7 +5024,13 @@ - .type GL_PREFIX(Vertex2d), @function - GL_PREFIX(Vertex2d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 1008(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4463,7 +5067,9 @@ - .type GL_PREFIX(Vertex2dv), @function - GL_PREFIX(Vertex2dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1016(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4492,7 +5098,13 @@ - .type GL_PREFIX(Vertex2f), @function - GL_PREFIX(Vertex2f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 1024(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4529,7 +5141,9 @@ - .type GL_PREFIX(Vertex2fv), @function - GL_PREFIX(Vertex2fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1032(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4558,7 +5172,13 @@ - .type GL_PREFIX(Vertex2i), @function - GL_PREFIX(Vertex2i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1040(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4595,7 +5215,9 @@ - .type GL_PREFIX(Vertex2iv), @function - GL_PREFIX(Vertex2iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1048(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4624,7 +5246,13 @@ - .type GL_PREFIX(Vertex2s), @function - GL_PREFIX(Vertex2s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1056(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4661,7 +5289,9 @@ - .type GL_PREFIX(Vertex2sv), @function - GL_PREFIX(Vertex2sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1064(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4690,7 +5320,15 @@ - .type GL_PREFIX(Vertex3d), @function - GL_PREFIX(Vertex3d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 1072(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4731,7 +5369,9 @@ - .type GL_PREFIX(Vertex3dv), @function - GL_PREFIX(Vertex3dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1080(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4760,7 +5400,15 @@ - .type GL_PREFIX(Vertex3f), @function - GL_PREFIX(Vertex3f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 1088(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4801,7 +5449,9 @@ - .type GL_PREFIX(Vertex3fv), @function - GL_PREFIX(Vertex3fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1096(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4830,7 +5480,13 @@ - .type GL_PREFIX(Vertex3i), @function - GL_PREFIX(Vertex3i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1104(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4867,7 +5523,9 @@ - .type GL_PREFIX(Vertex3iv), @function - GL_PREFIX(Vertex3iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1112(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4896,7 +5554,13 @@ - .type GL_PREFIX(Vertex3s), @function - GL_PREFIX(Vertex3s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1120(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4933,7 +5597,9 @@ - .type GL_PREFIX(Vertex3sv), @function - GL_PREFIX(Vertex3sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1128(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -4962,7 +5628,17 @@ - .type GL_PREFIX(Vertex4d), @function - GL_PREFIX(Vertex4d): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 1136(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5007,7 +5683,9 @@ - .type GL_PREFIX(Vertex4dv), @function - GL_PREFIX(Vertex4dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1144(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5036,7 +5714,17 @@ - .type GL_PREFIX(Vertex4f), @function - GL_PREFIX(Vertex4f): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 1152(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5081,7 +5769,9 @@ - .type GL_PREFIX(Vertex4fv), @function - GL_PREFIX(Vertex4fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1160(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5110,7 +5800,17 @@ - .type GL_PREFIX(Vertex4i), @function - GL_PREFIX(Vertex4i): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1168(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5155,7 +5855,9 @@ - .type GL_PREFIX(Vertex4iv), @function - GL_PREFIX(Vertex4iv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1176(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5184,7 +5886,17 @@ - .type GL_PREFIX(Vertex4s), @function - GL_PREFIX(Vertex4s): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1184(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5229,7 +5941,9 @@ - .type GL_PREFIX(Vertex4sv), @function - GL_PREFIX(Vertex4sv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1192(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5258,7 +5972,13 @@ - .type GL_PREFIX(ClipPlane), @function - GL_PREFIX(ClipPlane): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1200(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5295,7 +6015,13 @@ - .type GL_PREFIX(ColorMaterial), @function - GL_PREFIX(ColorMaterial): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1208(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5332,7 +6058,9 @@ - .type GL_PREFIX(CullFace), @function - GL_PREFIX(CullFace): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1216(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5361,7 +6089,13 @@ - .type GL_PREFIX(Fogf), @function - GL_PREFIX(Fogf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1224(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5398,7 +6132,13 @@ - .type GL_PREFIX(Fogfv), @function - GL_PREFIX(Fogfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1232(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5435,7 +6175,13 @@ - .type GL_PREFIX(Fogi), @function - GL_PREFIX(Fogi): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1240(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5472,7 +6218,13 @@ - .type GL_PREFIX(Fogiv), @function - GL_PREFIX(Fogiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1248(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5509,7 +6261,9 @@ - .type GL_PREFIX(FrontFace), @function - GL_PREFIX(FrontFace): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1256(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5538,7 +6292,13 @@ - .type GL_PREFIX(Hint), @function - GL_PREFIX(Hint): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1264(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5575,7 +6335,15 @@ - .type GL_PREFIX(Lightf), @function - GL_PREFIX(Lightf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1272(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5616,7 +6384,13 @@ - .type GL_PREFIX(Lightfv), @function - GL_PREFIX(Lightfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1280(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5653,7 +6427,13 @@ - .type GL_PREFIX(Lighti), @function - GL_PREFIX(Lighti): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1288(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5690,7 +6470,13 @@ - .type GL_PREFIX(Lightiv), @function - GL_PREFIX(Lightiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1296(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5727,7 +6513,13 @@ - .type GL_PREFIX(LightModelf), @function - GL_PREFIX(LightModelf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1304(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5764,7 +6556,13 @@ - .type GL_PREFIX(LightModelfv), @function - GL_PREFIX(LightModelfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1312(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5801,7 +6599,13 @@ - .type GL_PREFIX(LightModeli), @function - GL_PREFIX(LightModeli): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1320(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5838,7 +6642,13 @@ - .type GL_PREFIX(LightModeliv), @function - GL_PREFIX(LightModeliv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1328(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5875,7 +6685,13 @@ - .type GL_PREFIX(LineStipple), @function - GL_PREFIX(LineStipple): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1336(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5912,7 +6728,11 @@ - .type GL_PREFIX(LineWidth), @function - GL_PREFIX(LineWidth): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 1344(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5945,7 +6765,15 @@ - .type GL_PREFIX(Materialf), @function - GL_PREFIX(Materialf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1352(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -5986,7 +6814,13 @@ - .type GL_PREFIX(Materialfv), @function - GL_PREFIX(Materialfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1360(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6023,7 +6857,13 @@ - .type GL_PREFIX(Materiali), @function - GL_PREFIX(Materiali): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1368(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6060,7 +6900,13 @@ - .type GL_PREFIX(Materialiv), @function - GL_PREFIX(Materialiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1376(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6097,7 +6943,11 @@ - .type GL_PREFIX(PointSize), @function - GL_PREFIX(PointSize): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 1384(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6130,7 +6980,13 @@ - .type GL_PREFIX(PolygonMode), @function - GL_PREFIX(PolygonMode): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1392(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6167,7 +7023,9 @@ - .type GL_PREFIX(PolygonStipple), @function - GL_PREFIX(PolygonStipple): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1400(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6196,7 +7054,17 @@ - .type GL_PREFIX(Scissor), @function - GL_PREFIX(Scissor): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1408(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6241,7 +7109,9 @@ - .type GL_PREFIX(ShadeModel), @function - GL_PREFIX(ShadeModel): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1416(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6270,7 +7140,15 @@ - .type GL_PREFIX(TexParameterf), @function - GL_PREFIX(TexParameterf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1424(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6311,7 +7189,13 @@ - .type GL_PREFIX(TexParameterfv), @function - GL_PREFIX(TexParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1432(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6348,7 +7232,13 @@ - .type GL_PREFIX(TexParameteri), @function - GL_PREFIX(TexParameteri): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1440(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6385,7 +7275,13 @@ - .type GL_PREFIX(TexParameteriv), @function - GL_PREFIX(TexParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1448(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6422,7 +7318,21 @@ - .type GL_PREFIX(TexImage1D), @function - GL_PREFIX(TexImage1D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1456(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6475,7 +7385,21 @@ - .type GL_PREFIX(TexImage2D), @function - GL_PREFIX(TexImage2D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1464(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6528,7 +7452,15 @@ - .type GL_PREFIX(TexEnvf), @function - GL_PREFIX(TexEnvf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1472(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6569,7 +7501,13 @@ - .type GL_PREFIX(TexEnvfv), @function - GL_PREFIX(TexEnvfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1480(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6606,7 +7544,13 @@ - .type GL_PREFIX(TexEnvi), @function - GL_PREFIX(TexEnvi): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1488(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6643,7 +7587,13 @@ - .type GL_PREFIX(TexEnviv), @function - GL_PREFIX(TexEnviv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1496(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6680,7 +7630,15 @@ - .type GL_PREFIX(TexGend), @function - GL_PREFIX(TexGend): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1504(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6721,7 +7679,13 @@ - .type GL_PREFIX(TexGendv), @function - GL_PREFIX(TexGendv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1512(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6758,7 +7722,15 @@ - .type GL_PREFIX(TexGenf), @function - GL_PREFIX(TexGenf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1520(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6799,7 +7771,13 @@ - .type GL_PREFIX(TexGenfv), @function - GL_PREFIX(TexGenfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1528(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6836,7 +7814,13 @@ - .type GL_PREFIX(TexGeni), @function - GL_PREFIX(TexGeni): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1536(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6873,7 +7857,13 @@ - .type GL_PREFIX(TexGeniv), @function - GL_PREFIX(TexGeniv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1544(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6910,7 +7900,13 @@ - .type GL_PREFIX(FeedbackBuffer), @function - GL_PREFIX(FeedbackBuffer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1552(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6947,7 +7943,13 @@ - .type GL_PREFIX(SelectBuffer), @function - GL_PREFIX(SelectBuffer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1560(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -6984,7 +7986,9 @@ - .type GL_PREFIX(RenderMode), @function - GL_PREFIX(RenderMode): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1568(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7013,7 +8017,9 @@ - .type GL_PREFIX(InitNames), @function - GL_PREFIX(InitNames): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 1576(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7042,7 +8048,9 @@ - .type GL_PREFIX(LoadName), @function - GL_PREFIX(LoadName): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1584(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7071,7 +8079,11 @@ - .type GL_PREFIX(PassThrough), @function - GL_PREFIX(PassThrough): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 1592(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7104,7 +8116,9 @@ - .type GL_PREFIX(PopName), @function - GL_PREFIX(PopName): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 1600(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7133,7 +8147,9 @@ - .type GL_PREFIX(PushName), @function - GL_PREFIX(PushName): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1608(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7162,7 +8178,9 @@ - .type GL_PREFIX(DrawBuffer), @function - GL_PREFIX(DrawBuffer): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1616(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7191,7 +8209,9 @@ - .type GL_PREFIX(Clear), @function - GL_PREFIX(Clear): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1624(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7220,10 +8240,20 @@ - .type GL_PREFIX(ClearAccum), @function - GL_PREFIX(ClearAccum): - #if defined(GLX_USE_TLS) -- call _x86_64_get_dispatch@PLT -- movq 1632(%rax), %r11 -- jmp *%r11 --#elif defined(PTHREADS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) -+ call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp -+ movq 1632(%rax), %r11 -+ jmp *%r11 -+#elif defined(PTHREADS) - subq $40, %rsp - movq %xmm0, (%rsp) - movq %xmm1, 8(%rsp) -@@ -7265,7 +8295,11 @@ - .type GL_PREFIX(ClearIndex), @function - GL_PREFIX(ClearIndex): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 1640(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7298,7 +8332,17 @@ - .type GL_PREFIX(ClearColor), @function - GL_PREFIX(ClearColor): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1648(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7343,7 +8387,9 @@ - .type GL_PREFIX(ClearStencil), @function - GL_PREFIX(ClearStencil): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1656(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7372,7 +8418,9 @@ - .type GL_PREFIX(ClearDepth), @function - GL_PREFIX(ClearDepth): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1664(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7401,7 +8449,9 @@ - .type GL_PREFIX(StencilMask), @function - GL_PREFIX(StencilMask): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1672(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7430,7 +8480,17 @@ - .type GL_PREFIX(ColorMask), @function - GL_PREFIX(ColorMask): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1680(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7475,7 +8535,9 @@ - .type GL_PREFIX(DepthMask), @function - GL_PREFIX(DepthMask): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1688(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7504,7 +8566,9 @@ - .type GL_PREFIX(IndexMask), @function - GL_PREFIX(IndexMask): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1696(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7533,7 +8597,13 @@ - .type GL_PREFIX(Accum), @function - GL_PREFIX(Accum): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1704(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7570,7 +8640,9 @@ - .type GL_PREFIX(Disable), @function - GL_PREFIX(Disable): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1712(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7599,7 +8671,9 @@ - .type GL_PREFIX(Enable), @function - GL_PREFIX(Enable): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1720(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7628,7 +8702,9 @@ - .type GL_PREFIX(Finish), @function - GL_PREFIX(Finish): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 1728(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7657,7 +8733,9 @@ - .type GL_PREFIX(Flush), @function - GL_PREFIX(Flush): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 1736(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7686,7 +8764,9 @@ - .type GL_PREFIX(PopAttrib), @function - GL_PREFIX(PopAttrib): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 1744(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7715,7 +8795,9 @@ - .type GL_PREFIX(PushAttrib), @function - GL_PREFIX(PushAttrib): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1752(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7744,7 +8826,21 @@ - .type GL_PREFIX(Map1d), @function - GL_PREFIX(Map1d): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %rsi, 24(%rsp) -+ movq %rdx, 32(%rsp) -+ movq %rcx, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %rcx -+ movq 32(%rsp), %rdx -+ movq 24(%rsp), %rsi -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 1760(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7797,7 +8893,21 @@ - .type GL_PREFIX(Map1f), @function - GL_PREFIX(Map1f): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %rsi, 24(%rsp) -+ movq %rdx, 32(%rsp) -+ movq %rcx, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %rcx -+ movq 32(%rsp), %rdx -+ movq 24(%rsp), %rsi -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 1768(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7850,7 +8960,29 @@ - .type GL_PREFIX(Map2d), @function - GL_PREFIX(Map2d): - #if defined(GLX_USE_TLS) -+ subq $88, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %rsi, 24(%rsp) -+ movq %rdx, 32(%rsp) -+ movq %xmm2, 40(%rsp) -+ movq %xmm3, 48(%rsp) -+ movq %rcx, 56(%rsp) -+ movq %r8, 64(%rsp) -+ movq %r9, 72(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 72(%rsp), %r9 -+ movq 64(%rsp), %r8 -+ movq 56(%rsp), %rcx -+ movq 48(%rsp), %xmm3 -+ movq 40(%rsp), %xmm2 -+ movq 32(%rsp), %rdx -+ movq 24(%rsp), %rsi -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $88, %rsp - movq 1776(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7919,7 +9051,29 @@ - .type GL_PREFIX(Map2f), @function - GL_PREFIX(Map2f): - #if defined(GLX_USE_TLS) -+ subq $88, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %rsi, 24(%rsp) -+ movq %rdx, 32(%rsp) -+ movq %xmm2, 40(%rsp) -+ movq %xmm3, 48(%rsp) -+ movq %rcx, 56(%rsp) -+ movq %r8, 64(%rsp) -+ movq %r9, 72(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 72(%rsp), %r9 -+ movq 64(%rsp), %r8 -+ movq 56(%rsp), %rcx -+ movq 48(%rsp), %xmm3 -+ movq 40(%rsp), %xmm2 -+ movq 32(%rsp), %rdx -+ movq 24(%rsp), %rsi -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $88, %rsp - movq 1784(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -7988,7 +9142,15 @@ - .type GL_PREFIX(MapGrid1d), @function - GL_PREFIX(MapGrid1d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1792(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8029,7 +9191,15 @@ - .type GL_PREFIX(MapGrid1f), @function - GL_PREFIX(MapGrid1f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1800(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8070,7 +9240,21 @@ - .type GL_PREFIX(MapGrid2d), @function - GL_PREFIX(MapGrid2d): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %rsi, 24(%rsp) -+ movq %xmm2, 32(%rsp) -+ movq %xmm3, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm3 -+ movq 32(%rsp), %xmm2 -+ movq 24(%rsp), %rsi -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 1808(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8123,7 +9307,21 @@ - .type GL_PREFIX(MapGrid2f), @function - GL_PREFIX(MapGrid2f): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %rsi, 24(%rsp) -+ movq %xmm2, 32(%rsp) -+ movq %xmm3, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm3 -+ movq 32(%rsp), %xmm2 -+ movq 24(%rsp), %rsi -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 1816(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8176,7 +9374,11 @@ - .type GL_PREFIX(EvalCoord1d), @function - GL_PREFIX(EvalCoord1d): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 1824(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8209,7 +9411,9 @@ - .type GL_PREFIX(EvalCoord1dv), @function - GL_PREFIX(EvalCoord1dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1832(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8238,7 +9442,11 @@ - .type GL_PREFIX(EvalCoord1f), @function - GL_PREFIX(EvalCoord1f): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 1840(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8271,7 +9479,9 @@ - .type GL_PREFIX(EvalCoord1fv), @function - GL_PREFIX(EvalCoord1fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1848(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8300,7 +9510,13 @@ - .type GL_PREFIX(EvalCoord2d), @function - GL_PREFIX(EvalCoord2d): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 1856(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8337,7 +9553,9 @@ - .type GL_PREFIX(EvalCoord2dv), @function - GL_PREFIX(EvalCoord2dv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1864(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8366,7 +9584,13 @@ - .type GL_PREFIX(EvalCoord2f), @function - GL_PREFIX(EvalCoord2f): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 1872(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8403,7 +9627,9 @@ - .type GL_PREFIX(EvalCoord2fv), @function - GL_PREFIX(EvalCoord2fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1880(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8432,7 +9658,13 @@ - .type GL_PREFIX(EvalMesh1), @function - GL_PREFIX(EvalMesh1): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1888(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8469,7 +9701,9 @@ - .type GL_PREFIX(EvalPoint1), @function - GL_PREFIX(EvalPoint1): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1896(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8498,7 +9732,17 @@ - .type GL_PREFIX(EvalMesh2), @function - GL_PREFIX(EvalMesh2): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1904(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8543,7 +9787,13 @@ - .type GL_PREFIX(EvalPoint2), @function - GL_PREFIX(EvalPoint2): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1912(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8580,7 +9830,13 @@ - .type GL_PREFIX(AlphaFunc), @function - GL_PREFIX(AlphaFunc): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1920(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8617,7 +9873,13 @@ - .type GL_PREFIX(BlendFunc), @function - GL_PREFIX(BlendFunc): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1928(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8654,7 +9916,9 @@ - .type GL_PREFIX(LogicOp), @function - GL_PREFIX(LogicOp): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1936(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8683,7 +9947,13 @@ - .type GL_PREFIX(StencilFunc), @function - GL_PREFIX(StencilFunc): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1944(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8720,7 +9990,13 @@ - .type GL_PREFIX(StencilOp), @function - GL_PREFIX(StencilOp): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 1952(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8757,7 +10033,9 @@ - .type GL_PREFIX(DepthFunc), @function - GL_PREFIX(DepthFunc): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 1960(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8786,7 +10064,13 @@ - .type GL_PREFIX(PixelZoom), @function - GL_PREFIX(PixelZoom): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 1968(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8823,7 +10107,13 @@ - .type GL_PREFIX(PixelTransferf), @function - GL_PREFIX(PixelTransferf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1976(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8860,7 +10150,13 @@ - .type GL_PREFIX(PixelTransferi), @function - GL_PREFIX(PixelTransferi): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 1984(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8897,7 +10193,13 @@ - .type GL_PREFIX(PixelStoref), @function - GL_PREFIX(PixelStoref): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 1992(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8934,7 +10236,13 @@ - .type GL_PREFIX(PixelStorei), @function - GL_PREFIX(PixelStorei): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2000(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -8971,7 +10279,13 @@ - .type GL_PREFIX(PixelMapfv), @function - GL_PREFIX(PixelMapfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2008(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9008,7 +10322,13 @@ - .type GL_PREFIX(PixelMapuiv), @function - GL_PREFIX(PixelMapuiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2016(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9045,7 +10365,13 @@ - .type GL_PREFIX(PixelMapusv), @function - GL_PREFIX(PixelMapusv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2024(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9082,7 +10408,9 @@ - .type GL_PREFIX(ReadBuffer), @function - GL_PREFIX(ReadBuffer): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2032(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9111,7 +10439,17 @@ - .type GL_PREFIX(CopyPixels), @function - GL_PREFIX(CopyPixels): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2040(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9156,7 +10494,21 @@ - .type GL_PREFIX(ReadPixels), @function - GL_PREFIX(ReadPixels): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2048(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9209,7 +10561,17 @@ - .type GL_PREFIX(DrawPixels), @function - GL_PREFIX(DrawPixels): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2056(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9254,7 +10616,13 @@ - .type GL_PREFIX(GetBooleanv), @function - GL_PREFIX(GetBooleanv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2064(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9291,7 +10659,13 @@ - .type GL_PREFIX(GetClipPlane), @function - GL_PREFIX(GetClipPlane): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2072(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9328,7 +10702,13 @@ - .type GL_PREFIX(GetDoublev), @function - GL_PREFIX(GetDoublev): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2080(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9365,7 +10745,9 @@ - .type GL_PREFIX(GetError), @function - GL_PREFIX(GetError): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 2088(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9394,7 +10776,13 @@ - .type GL_PREFIX(GetFloatv), @function - GL_PREFIX(GetFloatv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2096(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9431,7 +10819,13 @@ - .type GL_PREFIX(GetIntegerv), @function - GL_PREFIX(GetIntegerv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2104(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9468,7 +10862,13 @@ - .type GL_PREFIX(GetLightfv), @function - GL_PREFIX(GetLightfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2112(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9505,7 +10905,13 @@ - .type GL_PREFIX(GetLightiv), @function - GL_PREFIX(GetLightiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2120(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9542,7 +10948,13 @@ - .type GL_PREFIX(GetMapdv), @function - GL_PREFIX(GetMapdv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2128(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9579,7 +10991,13 @@ - .type GL_PREFIX(GetMapfv), @function - GL_PREFIX(GetMapfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2136(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9616,7 +11034,13 @@ - .type GL_PREFIX(GetMapiv), @function - GL_PREFIX(GetMapiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2144(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9653,7 +11077,13 @@ - .type GL_PREFIX(GetMaterialfv), @function - GL_PREFIX(GetMaterialfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2152(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9690,7 +11120,13 @@ - .type GL_PREFIX(GetMaterialiv), @function - GL_PREFIX(GetMaterialiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2160(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9727,7 +11163,13 @@ - .type GL_PREFIX(GetPixelMapfv), @function - GL_PREFIX(GetPixelMapfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2168(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9764,7 +11206,13 @@ - .type GL_PREFIX(GetPixelMapuiv), @function - GL_PREFIX(GetPixelMapuiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2176(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9801,7 +11249,13 @@ - .type GL_PREFIX(GetPixelMapusv), @function - GL_PREFIX(GetPixelMapusv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2184(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9838,7 +11292,9 @@ - .type GL_PREFIX(GetPolygonStipple), @function - GL_PREFIX(GetPolygonStipple): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2192(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9867,7 +11323,9 @@ - .type GL_PREFIX(GetString), @function - GL_PREFIX(GetString): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2200(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9896,7 +11354,13 @@ - .type GL_PREFIX(GetTexEnvfv), @function - GL_PREFIX(GetTexEnvfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2208(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9933,7 +11397,13 @@ - .type GL_PREFIX(GetTexEnviv), @function - GL_PREFIX(GetTexEnviv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2216(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -9970,7 +11440,13 @@ - .type GL_PREFIX(GetTexGendv), @function - GL_PREFIX(GetTexGendv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2224(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10007,7 +11483,13 @@ - .type GL_PREFIX(GetTexGenfv), @function - GL_PREFIX(GetTexGenfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2232(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10044,7 +11526,13 @@ - .type GL_PREFIX(GetTexGeniv), @function - GL_PREFIX(GetTexGeniv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2240(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10081,7 +11569,17 @@ - .type GL_PREFIX(GetTexImage), @function - GL_PREFIX(GetTexImage): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2248(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10126,7 +11624,13 @@ - .type GL_PREFIX(GetTexParameterfv), @function - GL_PREFIX(GetTexParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2256(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10163,7 +11667,13 @@ - .type GL_PREFIX(GetTexParameteriv), @function - GL_PREFIX(GetTexParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2264(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10200,7 +11710,17 @@ - .type GL_PREFIX(GetTexLevelParameterfv), @function - GL_PREFIX(GetTexLevelParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2272(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10245,10 +11765,6 @@ - .type GL_PREFIX(GetTexLevelParameteriv), @function - GL_PREFIX(GetTexLevelParameteriv): - #if defined(GLX_USE_TLS) -- call _x86_64_get_dispatch@PLT -- movq 2280(%rax), %r11 -- jmp *%r11 --#elif defined(PTHREADS) - pushq %rdi - pushq %rsi - pushq %rdx -@@ -10262,10 +11778,24 @@ - popq %rdi - movq 2280(%rax), %r11 - jmp *%r11 --#else -- movq _glapi_Dispatch(%rip), %rax -- testq %rax, %rax -- je 1f -+#elif defined(PTHREADS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp -+ call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi -+ movq 2280(%rax), %r11 -+ jmp *%r11 -+#else -+ movq _glapi_Dispatch(%rip), %rax -+ testq %rax, %rax -+ je 1f - movq 2280(%rax), %r11 - jmp *%r11 - 1: -@@ -10290,7 +11820,9 @@ - .type GL_PREFIX(IsEnabled), @function - GL_PREFIX(IsEnabled): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2288(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10319,7 +11851,9 @@ - .type GL_PREFIX(IsList), @function - GL_PREFIX(IsList): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2296(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10348,7 +11882,13 @@ - .type GL_PREFIX(DepthRange), @function - GL_PREFIX(DepthRange): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2304(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10385,7 +11925,21 @@ - .type GL_PREFIX(Frustum), @function - GL_PREFIX(Frustum): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) -+ movq %xmm4, 32(%rsp) -+ movq %xmm5, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm5 -+ movq 32(%rsp), %xmm4 -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $56, %rsp - movq 2312(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10438,7 +11992,9 @@ - .type GL_PREFIX(LoadIdentity), @function - GL_PREFIX(LoadIdentity): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 2320(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10467,7 +12023,9 @@ - .type GL_PREFIX(LoadMatrixf), @function - GL_PREFIX(LoadMatrixf): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2328(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10496,7 +12054,9 @@ - .type GL_PREFIX(LoadMatrixd), @function - GL_PREFIX(LoadMatrixd): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2336(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10525,7 +12085,9 @@ - .type GL_PREFIX(MatrixMode), @function - GL_PREFIX(MatrixMode): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2344(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10554,7 +12116,9 @@ - .type GL_PREFIX(MultMatrixf), @function - GL_PREFIX(MultMatrixf): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2352(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10583,7 +12147,9 @@ - .type GL_PREFIX(MultMatrixd), @function - GL_PREFIX(MultMatrixd): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2360(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10612,7 +12178,21 @@ - .type GL_PREFIX(Ortho), @function - GL_PREFIX(Ortho): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) -+ movq %xmm4, 32(%rsp) -+ movq %xmm5, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm5 -+ movq 32(%rsp), %xmm4 -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $56, %rsp - movq 2368(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10665,7 +12245,9 @@ - .type GL_PREFIX(PopMatrix), @function - GL_PREFIX(PopMatrix): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 2376(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10694,7 +12276,9 @@ - .type GL_PREFIX(PushMatrix), @function - GL_PREFIX(PushMatrix): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 2384(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10723,7 +12307,17 @@ - .type GL_PREFIX(Rotated), @function - GL_PREFIX(Rotated): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 2392(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10768,7 +12362,17 @@ - .type GL_PREFIX(Rotatef), @function - GL_PREFIX(Rotatef): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 2400(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10813,7 +12417,15 @@ - .type GL_PREFIX(Scaled), @function - GL_PREFIX(Scaled): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 2408(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10854,7 +12466,15 @@ - .type GL_PREFIX(Scalef), @function - GL_PREFIX(Scalef): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 2416(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10895,7 +12515,15 @@ - .type GL_PREFIX(Translated), @function - GL_PREFIX(Translated): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 2424(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10936,7 +12564,15 @@ - .type GL_PREFIX(Translatef), @function - GL_PREFIX(Translatef): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 2432(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -10977,7 +12613,17 @@ - .type GL_PREFIX(Viewport), @function - GL_PREFIX(Viewport): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2440(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11022,7 +12668,9 @@ - .type GL_PREFIX(ArrayElement), @function - GL_PREFIX(ArrayElement): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2448(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11051,7 +12699,13 @@ - .type GL_PREFIX(BindTexture), @function - GL_PREFIX(BindTexture): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2456(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11088,7 +12742,17 @@ - .type GL_PREFIX(ColorPointer), @function - GL_PREFIX(ColorPointer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2464(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11133,7 +12797,9 @@ - .type GL_PREFIX(DisableClientState), @function - GL_PREFIX(DisableClientState): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2472(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11162,7 +12828,13 @@ - .type GL_PREFIX(DrawArrays), @function - GL_PREFIX(DrawArrays): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2480(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11199,7 +12871,17 @@ - .type GL_PREFIX(DrawElements), @function - GL_PREFIX(DrawElements): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2488(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11244,7 +12926,13 @@ - .type GL_PREFIX(EdgeFlagPointer), @function - GL_PREFIX(EdgeFlagPointer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2496(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11281,7 +12969,9 @@ - .type GL_PREFIX(EnableClientState), @function - GL_PREFIX(EnableClientState): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2504(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11310,7 +13000,13 @@ - .type GL_PREFIX(IndexPointer), @function - GL_PREFIX(IndexPointer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2512(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11347,7 +13043,9 @@ - .type GL_PREFIX(Indexub), @function - GL_PREFIX(Indexub): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2520(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11376,7 +13074,9 @@ - .type GL_PREFIX(Indexubv), @function - GL_PREFIX(Indexubv): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2528(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11405,7 +13105,13 @@ - .type GL_PREFIX(InterleavedArrays), @function - GL_PREFIX(InterleavedArrays): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2536(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11442,7 +13148,13 @@ - .type GL_PREFIX(NormalPointer), @function - GL_PREFIX(NormalPointer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2544(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11479,7 +13191,13 @@ - .type GL_PREFIX(PolygonOffset), @function - GL_PREFIX(PolygonOffset): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 2552(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11516,7 +13234,17 @@ - .type GL_PREFIX(TexCoordPointer), @function - GL_PREFIX(TexCoordPointer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2560(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11561,7 +13289,17 @@ - .type GL_PREFIX(VertexPointer), @function - GL_PREFIX(VertexPointer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2568(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11606,7 +13344,13 @@ - .type GL_PREFIX(AreTexturesResident), @function - GL_PREFIX(AreTexturesResident): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2576(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11643,7 +13387,21 @@ - .type GL_PREFIX(CopyTexImage1D), @function - GL_PREFIX(CopyTexImage1D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2584(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11696,7 +13454,21 @@ - .type GL_PREFIX(CopyTexImage2D), @function - GL_PREFIX(CopyTexImage2D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2592(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11749,7 +13521,21 @@ - .type GL_PREFIX(CopyTexSubImage1D), @function - GL_PREFIX(CopyTexSubImage1D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2600(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11802,7 +13588,21 @@ - .type GL_PREFIX(CopyTexSubImage2D), @function - GL_PREFIX(CopyTexSubImage2D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2608(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11855,7 +13655,13 @@ - .type GL_PREFIX(DeleteTextures), @function - GL_PREFIX(DeleteTextures): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2616(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11892,7 +13698,13 @@ - .type GL_PREFIX(GenTextures), @function - GL_PREFIX(GenTextures): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2624(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11929,7 +13741,13 @@ - .type GL_PREFIX(GetPointerv), @function - GL_PREFIX(GetPointerv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 2632(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11966,7 +13784,9 @@ - .type GL_PREFIX(IsTexture), @function - GL_PREFIX(IsTexture): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2640(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -11995,7 +13815,13 @@ - .type GL_PREFIX(PrioritizeTextures), @function - GL_PREFIX(PrioritizeTextures): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2648(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12032,7 +13858,21 @@ - .type GL_PREFIX(TexSubImage1D), @function - GL_PREFIX(TexSubImage1D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2656(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12085,7 +13925,21 @@ - .type GL_PREFIX(TexSubImage2D), @function - GL_PREFIX(TexSubImage2D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2664(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12138,7 +13992,9 @@ - .type GL_PREFIX(PopClientAttrib), @function - GL_PREFIX(PopClientAttrib): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 2672(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12167,7 +14023,9 @@ - .type GL_PREFIX(PushClientAttrib), @function - GL_PREFIX(PushClientAttrib): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2680(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12196,7 +14054,17 @@ - .type GL_PREFIX(BlendColor), @function - GL_PREFIX(BlendColor): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2688(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12241,7 +14109,9 @@ - .type GL_PREFIX(BlendEquation), @function - GL_PREFIX(BlendEquation): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2696(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12270,7 +14140,21 @@ - .type GL_PREFIX(DrawRangeElements), @function - GL_PREFIX(DrawRangeElements): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2704(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12323,7 +14207,21 @@ - .type GL_PREFIX(ColorTable), @function - GL_PREFIX(ColorTable): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2712(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12376,7 +14274,13 @@ - .type GL_PREFIX(ColorTableParameterfv), @function - GL_PREFIX(ColorTableParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2720(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12413,7 +14317,13 @@ - .type GL_PREFIX(ColorTableParameteriv), @function - GL_PREFIX(ColorTableParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2728(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12450,7 +14360,17 @@ - .type GL_PREFIX(CopyColorTable), @function - GL_PREFIX(CopyColorTable): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2736(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12495,7 +14415,17 @@ - .type GL_PREFIX(GetColorTable), @function - GL_PREFIX(GetColorTable): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2744(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12540,7 +14470,13 @@ - .type GL_PREFIX(GetColorTableParameterfv), @function - GL_PREFIX(GetColorTableParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2752(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12577,7 +14513,13 @@ - .type GL_PREFIX(GetColorTableParameteriv), @function - GL_PREFIX(GetColorTableParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2760(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12614,7 +14556,21 @@ - .type GL_PREFIX(ColorSubTable), @function - GL_PREFIX(ColorSubTable): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2768(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12667,7 +14623,17 @@ - .type GL_PREFIX(CopyColorSubTable), @function - GL_PREFIX(CopyColorSubTable): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2776(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12712,7 +14678,21 @@ - .type GL_PREFIX(ConvolutionFilter1D), @function - GL_PREFIX(ConvolutionFilter1D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2784(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12765,7 +14745,21 @@ - .type GL_PREFIX(ConvolutionFilter2D), @function - GL_PREFIX(ConvolutionFilter2D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2792(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12818,7 +14812,15 @@ - .type GL_PREFIX(ConvolutionParameterf), @function - GL_PREFIX(ConvolutionParameterf): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 2800(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12859,7 +14861,13 @@ - .type GL_PREFIX(ConvolutionParameterfv), @function - GL_PREFIX(ConvolutionParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2808(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12896,7 +14904,13 @@ - .type GL_PREFIX(ConvolutionParameteri), @function - GL_PREFIX(ConvolutionParameteri): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2816(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12933,7 +14947,13 @@ - .type GL_PREFIX(ConvolutionParameteriv), @function - GL_PREFIX(ConvolutionParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2824(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -12970,7 +14990,17 @@ - .type GL_PREFIX(CopyConvolutionFilter1D), @function - GL_PREFIX(CopyConvolutionFilter1D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2832(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13015,7 +15045,21 @@ - .type GL_PREFIX(CopyConvolutionFilter2D), @function - GL_PREFIX(CopyConvolutionFilter2D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2840(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13068,7 +15112,17 @@ - .type GL_PREFIX(GetConvolutionFilter), @function - GL_PREFIX(GetConvolutionFilter): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2848(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13113,7 +15167,13 @@ - .type GL_PREFIX(GetConvolutionParameterfv), @function - GL_PREFIX(GetConvolutionParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2856(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13150,7 +15210,13 @@ - .type GL_PREFIX(GetConvolutionParameteriv), @function - GL_PREFIX(GetConvolutionParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2864(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13187,7 +15253,21 @@ - .type GL_PREFIX(GetSeparableFilter), @function - GL_PREFIX(GetSeparableFilter): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2872(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13240,7 +15320,21 @@ - .type GL_PREFIX(SeparableFilter2D), @function - GL_PREFIX(SeparableFilter2D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2880(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13293,7 +15387,17 @@ - .type GL_PREFIX(GetHistogram), @function - GL_PREFIX(GetHistogram): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2888(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13338,7 +15442,13 @@ - .type GL_PREFIX(GetHistogramParameterfv), @function - GL_PREFIX(GetHistogramParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2896(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13375,7 +15485,13 @@ - .type GL_PREFIX(GetHistogramParameteriv), @function - GL_PREFIX(GetHistogramParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2904(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13412,7 +15528,17 @@ - .type GL_PREFIX(GetMinmax), @function - GL_PREFIX(GetMinmax): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2912(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13457,7 +15583,13 @@ - .type GL_PREFIX(GetMinmaxParameterfv), @function - GL_PREFIX(GetMinmaxParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2920(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13494,7 +15626,13 @@ - .type GL_PREFIX(GetMinmaxParameteriv), @function - GL_PREFIX(GetMinmaxParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2928(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13531,7 +15669,17 @@ - .type GL_PREFIX(Histogram), @function - GL_PREFIX(Histogram): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2936(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13576,7 +15724,13 @@ - .type GL_PREFIX(Minmax), @function - GL_PREFIX(Minmax): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2944(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13613,7 +15767,9 @@ - .type GL_PREFIX(ResetHistogram), @function - GL_PREFIX(ResetHistogram): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2952(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13642,7 +15798,9 @@ - .type GL_PREFIX(ResetMinmax), @function - GL_PREFIX(ResetMinmax): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2960(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13671,7 +15829,21 @@ - .type GL_PREFIX(TexImage3D), @function - GL_PREFIX(TexImage3D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2968(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13724,7 +15896,21 @@ - .type GL_PREFIX(TexSubImage3D), @function - GL_PREFIX(TexSubImage3D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2976(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13777,7 +15963,21 @@ - .type GL_PREFIX(CopyTexSubImage3D), @function - GL_PREFIX(CopyTexSubImage3D): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 2984(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13830,7 +16030,9 @@ - .type GL_PREFIX(ActiveTextureARB), @function - GL_PREFIX(ActiveTextureARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 2992(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13859,7 +16061,9 @@ - .type GL_PREFIX(ClientActiveTextureARB), @function - GL_PREFIX(ClientActiveTextureARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3000(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13888,7 +16092,13 @@ - .type GL_PREFIX(MultiTexCoord1dARB), @function - GL_PREFIX(MultiTexCoord1dARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3008(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13925,7 +16135,13 @@ - .type GL_PREFIX(MultiTexCoord1dvARB), @function - GL_PREFIX(MultiTexCoord1dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3016(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13962,7 +16178,13 @@ - .type GL_PREFIX(MultiTexCoord1fARB), @function - GL_PREFIX(MultiTexCoord1fARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3024(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -13999,7 +16221,13 @@ - .type GL_PREFIX(MultiTexCoord1fvARB), @function - GL_PREFIX(MultiTexCoord1fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3032(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14036,7 +16264,13 @@ - .type GL_PREFIX(MultiTexCoord1iARB), @function - GL_PREFIX(MultiTexCoord1iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3040(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14073,7 +16307,13 @@ - .type GL_PREFIX(MultiTexCoord1ivARB), @function - GL_PREFIX(MultiTexCoord1ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3048(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14110,7 +16350,13 @@ - .type GL_PREFIX(MultiTexCoord1sARB), @function - GL_PREFIX(MultiTexCoord1sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3056(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14147,7 +16393,13 @@ - .type GL_PREFIX(MultiTexCoord1svARB), @function - GL_PREFIX(MultiTexCoord1svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3064(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14184,7 +16436,15 @@ - .type GL_PREFIX(MultiTexCoord2dARB), @function - GL_PREFIX(MultiTexCoord2dARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3072(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14225,7 +16485,13 @@ - .type GL_PREFIX(MultiTexCoord2dvARB), @function - GL_PREFIX(MultiTexCoord2dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3080(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14262,7 +16528,15 @@ - .type GL_PREFIX(MultiTexCoord2fARB), @function - GL_PREFIX(MultiTexCoord2fARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3088(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14303,7 +16577,13 @@ - .type GL_PREFIX(MultiTexCoord2fvARB), @function - GL_PREFIX(MultiTexCoord2fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3096(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14340,7 +16620,13 @@ - .type GL_PREFIX(MultiTexCoord2iARB), @function - GL_PREFIX(MultiTexCoord2iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3104(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14377,7 +16663,13 @@ - .type GL_PREFIX(MultiTexCoord2ivARB), @function - GL_PREFIX(MultiTexCoord2ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3112(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14414,7 +16706,13 @@ - .type GL_PREFIX(MultiTexCoord2sARB), @function - GL_PREFIX(MultiTexCoord2sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3120(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14451,7 +16749,13 @@ - .type GL_PREFIX(MultiTexCoord2svARB), @function - GL_PREFIX(MultiTexCoord2svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3128(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14488,7 +16792,17 @@ - .type GL_PREFIX(MultiTexCoord3dARB), @function - GL_PREFIX(MultiTexCoord3dARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3136(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14533,7 +16847,13 @@ - .type GL_PREFIX(MultiTexCoord3dvARB), @function - GL_PREFIX(MultiTexCoord3dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3144(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14570,7 +16890,17 @@ - .type GL_PREFIX(MultiTexCoord3fARB), @function - GL_PREFIX(MultiTexCoord3fARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3152(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14615,7 +16945,13 @@ - .type GL_PREFIX(MultiTexCoord3fvARB), @function - GL_PREFIX(MultiTexCoord3fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3160(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14652,7 +16988,17 @@ - .type GL_PREFIX(MultiTexCoord3iARB), @function - GL_PREFIX(MultiTexCoord3iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3168(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14697,7 +17043,13 @@ - .type GL_PREFIX(MultiTexCoord3ivARB), @function - GL_PREFIX(MultiTexCoord3ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3176(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14734,7 +17086,17 @@ - .type GL_PREFIX(MultiTexCoord3sARB), @function - GL_PREFIX(MultiTexCoord3sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3184(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14779,7 +17141,13 @@ - .type GL_PREFIX(MultiTexCoord3svARB), @function - GL_PREFIX(MultiTexCoord3svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3192(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14816,7 +17184,19 @@ - .type GL_PREFIX(MultiTexCoord4dARB), @function - GL_PREFIX(MultiTexCoord4dARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) -+ movq %xmm3, 32(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 32(%rsp), %xmm3 -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3200(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14865,7 +17245,13 @@ - .type GL_PREFIX(MultiTexCoord4dvARB), @function - GL_PREFIX(MultiTexCoord4dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3208(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14902,7 +17288,19 @@ - .type GL_PREFIX(MultiTexCoord4fARB), @function - GL_PREFIX(MultiTexCoord4fARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) -+ movq %xmm3, 32(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 32(%rsp), %xmm3 -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3216(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14951,7 +17349,13 @@ - .type GL_PREFIX(MultiTexCoord4fvARB), @function - GL_PREFIX(MultiTexCoord4fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3224(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -14988,7 +17392,17 @@ - .type GL_PREFIX(MultiTexCoord4iARB), @function - GL_PREFIX(MultiTexCoord4iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3232(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15033,7 +17447,13 @@ - .type GL_PREFIX(MultiTexCoord4ivARB), @function - GL_PREFIX(MultiTexCoord4ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3240(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15070,7 +17490,17 @@ - .type GL_PREFIX(MultiTexCoord4sARB), @function - GL_PREFIX(MultiTexCoord4sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3248(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15115,7 +17545,13 @@ - .type GL_PREFIX(MultiTexCoord4svARB), @function - GL_PREFIX(MultiTexCoord4svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3256(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15152,7 +17588,13 @@ - .type GL_PREFIX(AttachShader), @function - GL_PREFIX(AttachShader): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3264(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15189,7 +17631,9 @@ - .type GL_PREFIX(CreateProgram), @function - GL_PREFIX(CreateProgram): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 3272(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15218,7 +17662,9 @@ - .type GL_PREFIX(CreateShader), @function - GL_PREFIX(CreateShader): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3280(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15247,7 +17693,9 @@ - .type GL_PREFIX(DeleteProgram), @function - GL_PREFIX(DeleteProgram): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3288(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15276,7 +17724,9 @@ - .type GL_PREFIX(DeleteShader), @function - GL_PREFIX(DeleteShader): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3296(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15305,7 +17755,13 @@ - .type GL_PREFIX(DetachShader), @function - GL_PREFIX(DetachShader): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3304(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15342,7 +17798,17 @@ - .type GL_PREFIX(GetAttachedShaders), @function - GL_PREFIX(GetAttachedShaders): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3312(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15387,7 +17853,17 @@ - .type GL_PREFIX(GetProgramInfoLog), @function - GL_PREFIX(GetProgramInfoLog): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3320(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15432,7 +17908,13 @@ - .type GL_PREFIX(GetProgramiv), @function - GL_PREFIX(GetProgramiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3328(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15469,7 +17951,17 @@ - .type GL_PREFIX(GetShaderInfoLog), @function - GL_PREFIX(GetShaderInfoLog): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3336(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15514,7 +18006,13 @@ - .type GL_PREFIX(GetShaderiv), @function - GL_PREFIX(GetShaderiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3344(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15551,7 +18049,9 @@ - .type GL_PREFIX(IsProgram), @function - GL_PREFIX(IsProgram): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3352(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15580,7 +18080,9 @@ - .type GL_PREFIX(IsShader), @function - GL_PREFIX(IsShader): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3360(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15609,7 +18111,17 @@ - .type GL_PREFIX(StencilFuncSeparate), @function - GL_PREFIX(StencilFuncSeparate): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3368(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15654,7 +18166,13 @@ - .type GL_PREFIX(StencilMaskSeparate), @function - GL_PREFIX(StencilMaskSeparate): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3376(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15691,7 +18209,17 @@ - .type GL_PREFIX(StencilOpSeparate), @function - GL_PREFIX(StencilOpSeparate): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3384(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15736,7 +18264,17 @@ - .type GL_PREFIX(UniformMatrix2x3fv), @function - GL_PREFIX(UniformMatrix2x3fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3392(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15781,7 +18319,17 @@ - .type GL_PREFIX(UniformMatrix2x4fv), @function - GL_PREFIX(UniformMatrix2x4fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3400(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15826,7 +18374,17 @@ - .type GL_PREFIX(UniformMatrix3x2fv), @function - GL_PREFIX(UniformMatrix3x2fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3408(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15871,7 +18429,17 @@ - .type GL_PREFIX(UniformMatrix3x4fv), @function - GL_PREFIX(UniformMatrix3x4fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3416(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15916,7 +18484,17 @@ - .type GL_PREFIX(UniformMatrix4x2fv), @function - GL_PREFIX(UniformMatrix4x2fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3424(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -15961,7 +18539,17 @@ - .type GL_PREFIX(UniformMatrix4x3fv), @function - GL_PREFIX(UniformMatrix4x3fv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3432(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16006,7 +18594,13 @@ - .type GL_PREFIX(ClampColor), @function - GL_PREFIX(ClampColor): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3440(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16043,7 +18637,17 @@ - .type GL_PREFIX(ClearBufferfi), @function - GL_PREFIX(ClearBufferfi): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) -+ movq %rdx, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %rdx -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3448(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16088,7 +18692,13 @@ - .type GL_PREFIX(ClearBufferfv), @function - GL_PREFIX(ClearBufferfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3456(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16125,7 +18735,13 @@ - .type GL_PREFIX(ClearBufferiv), @function - GL_PREFIX(ClearBufferiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3464(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16162,7 +18778,13 @@ - .type GL_PREFIX(ClearBufferuiv), @function - GL_PREFIX(ClearBufferuiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3472(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16199,7 +18821,13 @@ - .type GL_PREFIX(GetStringi), @function - GL_PREFIX(GetStringi): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3480(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16236,7 +18864,13 @@ - .type GL_PREFIX(TexBuffer), @function - GL_PREFIX(TexBuffer): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3488(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16273,7 +18907,17 @@ - .type GL_PREFIX(FramebufferTexture), @function - GL_PREFIX(FramebufferTexture): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3496(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16318,7 +18962,13 @@ - .type GL_PREFIX(GetBufferParameteri64v), @function - GL_PREFIX(GetBufferParameteri64v): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3504(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16355,7 +19005,13 @@ - .type GL_PREFIX(GetInteger64i_v), @function - GL_PREFIX(GetInteger64i_v): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3512(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16392,7 +19048,13 @@ - .type GL_PREFIX(VertexAttribDivisor), @function - GL_PREFIX(VertexAttribDivisor): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3520(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16429,7 +19091,9 @@ - .type GL_PREFIX(LoadTransposeMatrixdARB), @function - GL_PREFIX(LoadTransposeMatrixdARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3528(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16458,7 +19122,9 @@ - .type GL_PREFIX(LoadTransposeMatrixfARB), @function - GL_PREFIX(LoadTransposeMatrixfARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3536(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16487,7 +19153,9 @@ - .type GL_PREFIX(MultTransposeMatrixdARB), @function - GL_PREFIX(MultTransposeMatrixdARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3544(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16516,7 +19184,9 @@ - .type GL_PREFIX(MultTransposeMatrixfARB), @function - GL_PREFIX(MultTransposeMatrixfARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3552(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16545,7 +19215,13 @@ - .type GL_PREFIX(SampleCoverageARB), @function - GL_PREFIX(SampleCoverageARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3560(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16582,7 +19258,21 @@ - .type GL_PREFIX(CompressedTexImage1DARB), @function - GL_PREFIX(CompressedTexImage1DARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3568(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16635,7 +19325,21 @@ - .type GL_PREFIX(CompressedTexImage2DARB), @function - GL_PREFIX(CompressedTexImage2DARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3576(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16688,7 +19392,21 @@ - .type GL_PREFIX(CompressedTexImage3DARB), @function - GL_PREFIX(CompressedTexImage3DARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3584(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16741,7 +19459,21 @@ - .type GL_PREFIX(CompressedTexSubImage1DARB), @function - GL_PREFIX(CompressedTexSubImage1DARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3592(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16794,7 +19526,21 @@ - .type GL_PREFIX(CompressedTexSubImage2DARB), @function - GL_PREFIX(CompressedTexSubImage2DARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3600(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16847,7 +19593,21 @@ - .type GL_PREFIX(CompressedTexSubImage3DARB), @function - GL_PREFIX(CompressedTexSubImage3DARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3608(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16900,7 +19660,13 @@ - .type GL_PREFIX(GetCompressedTexImageARB), @function - GL_PREFIX(GetCompressedTexImageARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3616(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16937,7 +19703,9 @@ - .type GL_PREFIX(DisableVertexAttribArrayARB), @function - GL_PREFIX(DisableVertexAttribArrayARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3624(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16966,7 +19734,9 @@ - .type GL_PREFIX(EnableVertexAttribArrayARB), @function - GL_PREFIX(EnableVertexAttribArrayARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 3632(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -16995,7 +19765,13 @@ - .type GL_PREFIX(GetProgramEnvParameterdvARB), @function - GL_PREFIX(GetProgramEnvParameterdvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3640(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17032,7 +19808,13 @@ - .type GL_PREFIX(GetProgramEnvParameterfvARB), @function - GL_PREFIX(GetProgramEnvParameterfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3648(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17069,7 +19851,13 @@ - .type GL_PREFIX(GetProgramLocalParameterdvARB), @function - GL_PREFIX(GetProgramLocalParameterdvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3656(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17106,7 +19894,13 @@ - .type GL_PREFIX(GetProgramLocalParameterfvARB), @function - GL_PREFIX(GetProgramLocalParameterfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3664(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17143,7 +19937,13 @@ - .type GL_PREFIX(GetProgramStringARB), @function - GL_PREFIX(GetProgramStringARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3672(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17180,7 +19980,13 @@ - .type GL_PREFIX(GetProgramivARB), @function - GL_PREFIX(GetProgramivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3680(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17217,7 +20023,13 @@ - .type GL_PREFIX(GetVertexAttribdvARB), @function - GL_PREFIX(GetVertexAttribdvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3688(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17254,7 +20066,13 @@ - .type GL_PREFIX(GetVertexAttribfvARB), @function - GL_PREFIX(GetVertexAttribfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3696(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17291,7 +20109,13 @@ - .type GL_PREFIX(GetVertexAttribivARB), @function - GL_PREFIX(GetVertexAttribivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3704(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17328,7 +20152,21 @@ - .type GL_PREFIX(ProgramEnvParameter4dARB), @function - GL_PREFIX(ProgramEnvParameter4dARB): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) -+ movq %xmm1, 24(%rsp) -+ movq %xmm2, 32(%rsp) -+ movq %xmm3, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm3 -+ movq 32(%rsp), %xmm2 -+ movq 24(%rsp), %xmm1 -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 3712(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17381,7 +20219,13 @@ - .type GL_PREFIX(ProgramEnvParameter4dvARB), @function - GL_PREFIX(ProgramEnvParameter4dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3720(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17418,7 +20262,21 @@ - .type GL_PREFIX(ProgramEnvParameter4fARB), @function - GL_PREFIX(ProgramEnvParameter4fARB): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) -+ movq %xmm1, 24(%rsp) -+ movq %xmm2, 32(%rsp) -+ movq %xmm3, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm3 -+ movq 32(%rsp), %xmm2 -+ movq 24(%rsp), %xmm1 -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 3728(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17471,7 +20329,13 @@ - .type GL_PREFIX(ProgramEnvParameter4fvARB), @function - GL_PREFIX(ProgramEnvParameter4fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3736(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17508,7 +20372,21 @@ - .type GL_PREFIX(ProgramLocalParameter4dARB), @function - GL_PREFIX(ProgramLocalParameter4dARB): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) -+ movq %xmm1, 24(%rsp) -+ movq %xmm2, 32(%rsp) -+ movq %xmm3, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm3 -+ movq 32(%rsp), %xmm2 -+ movq 24(%rsp), %xmm1 -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 3744(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17561,7 +20439,13 @@ - .type GL_PREFIX(ProgramLocalParameter4dvARB), @function - GL_PREFIX(ProgramLocalParameter4dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3752(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17598,7 +20482,21 @@ - .type GL_PREFIX(ProgramLocalParameter4fARB), @function - GL_PREFIX(ProgramLocalParameter4fARB): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %xmm0, 16(%rsp) -+ movq %xmm1, 24(%rsp) -+ movq %xmm2, 32(%rsp) -+ movq %xmm3, 40(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 40(%rsp), %xmm3 -+ movq 32(%rsp), %xmm2 -+ movq 24(%rsp), %xmm1 -+ movq 16(%rsp), %xmm0 -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 3760(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17651,7 +20549,13 @@ - .type GL_PREFIX(ProgramLocalParameter4fvARB), @function - GL_PREFIX(ProgramLocalParameter4fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3768(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17688,7 +20592,17 @@ - .type GL_PREFIX(ProgramStringARB), @function - GL_PREFIX(ProgramStringARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3776(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17733,7 +20647,13 @@ - .type GL_PREFIX(VertexAttrib1dARB), @function - GL_PREFIX(VertexAttrib1dARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3784(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17770,7 +20690,13 @@ - .type GL_PREFIX(VertexAttrib1dvARB), @function - GL_PREFIX(VertexAttrib1dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3792(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17807,7 +20733,13 @@ - .type GL_PREFIX(VertexAttrib1fARB), @function - GL_PREFIX(VertexAttrib1fARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3800(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17844,7 +20776,13 @@ - .type GL_PREFIX(VertexAttrib1fvARB), @function - GL_PREFIX(VertexAttrib1fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3808(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17881,7 +20819,13 @@ - .type GL_PREFIX(VertexAttrib1sARB), @function - GL_PREFIX(VertexAttrib1sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3816(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17918,7 +20862,13 @@ - .type GL_PREFIX(VertexAttrib1svARB), @function - GL_PREFIX(VertexAttrib1svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3824(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17955,7 +20905,15 @@ - .type GL_PREFIX(VertexAttrib2dARB), @function - GL_PREFIX(VertexAttrib2dARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3832(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -17996,7 +20954,13 @@ - .type GL_PREFIX(VertexAttrib2dvARB), @function - GL_PREFIX(VertexAttrib2dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3840(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18033,7 +20997,15 @@ - .type GL_PREFIX(VertexAttrib2fARB), @function - GL_PREFIX(VertexAttrib2fARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 3848(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18074,7 +21046,13 @@ - .type GL_PREFIX(VertexAttrib2fvARB), @function - GL_PREFIX(VertexAttrib2fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3856(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18111,7 +21089,13 @@ - .type GL_PREFIX(VertexAttrib2sARB), @function - GL_PREFIX(VertexAttrib2sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3864(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18148,7 +21132,13 @@ - .type GL_PREFIX(VertexAttrib2svARB), @function - GL_PREFIX(VertexAttrib2svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3872(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18185,7 +21175,17 @@ - .type GL_PREFIX(VertexAttrib3dARB), @function - GL_PREFIX(VertexAttrib3dARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3880(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18230,7 +21230,13 @@ - .type GL_PREFIX(VertexAttrib3dvARB), @function - GL_PREFIX(VertexAttrib3dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3888(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18267,7 +21273,17 @@ - .type GL_PREFIX(VertexAttrib3fARB), @function - GL_PREFIX(VertexAttrib3fARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3896(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18312,7 +21328,13 @@ - .type GL_PREFIX(VertexAttrib3fvARB), @function - GL_PREFIX(VertexAttrib3fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3904(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18349,7 +21371,17 @@ - .type GL_PREFIX(VertexAttrib3sARB), @function - GL_PREFIX(VertexAttrib3sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3912(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18394,7 +21426,13 @@ - .type GL_PREFIX(VertexAttrib3svARB), @function - GL_PREFIX(VertexAttrib3svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3920(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18431,7 +21469,13 @@ - .type GL_PREFIX(VertexAttrib4NbvARB), @function - GL_PREFIX(VertexAttrib4NbvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3928(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18468,7 +21512,13 @@ - .type GL_PREFIX(VertexAttrib4NivARB), @function - GL_PREFIX(VertexAttrib4NivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3936(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18505,7 +21555,13 @@ - .type GL_PREFIX(VertexAttrib4NsvARB), @function - GL_PREFIX(VertexAttrib4NsvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3944(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18542,7 +21598,17 @@ - .type GL_PREFIX(VertexAttrib4NubARB), @function - GL_PREFIX(VertexAttrib4NubARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 3952(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18587,7 +21653,13 @@ - .type GL_PREFIX(VertexAttrib4NubvARB), @function - GL_PREFIX(VertexAttrib4NubvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3960(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18624,7 +21696,13 @@ - .type GL_PREFIX(VertexAttrib4NuivARB), @function - GL_PREFIX(VertexAttrib4NuivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3968(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18661,7 +21739,13 @@ - .type GL_PREFIX(VertexAttrib4NusvARB), @function - GL_PREFIX(VertexAttrib4NusvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3976(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18698,7 +21782,13 @@ - .type GL_PREFIX(VertexAttrib4bvARB), @function - GL_PREFIX(VertexAttrib4bvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 3984(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18735,7 +21825,19 @@ - .type GL_PREFIX(VertexAttrib4dARB), @function - GL_PREFIX(VertexAttrib4dARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) -+ movq %xmm3, 32(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 32(%rsp), %xmm3 -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 3992(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18784,7 +21886,13 @@ - .type GL_PREFIX(VertexAttrib4dvARB), @function - GL_PREFIX(VertexAttrib4dvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4000(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18821,7 +21929,19 @@ - .type GL_PREFIX(VertexAttrib4fARB), @function - GL_PREFIX(VertexAttrib4fARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) -+ movq %xmm3, 32(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 32(%rsp), %xmm3 -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 4008(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18870,7 +21990,13 @@ - .type GL_PREFIX(VertexAttrib4fvARB), @function - GL_PREFIX(VertexAttrib4fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4016(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18907,7 +22033,13 @@ - .type GL_PREFIX(VertexAttrib4ivARB), @function - GL_PREFIX(VertexAttrib4ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4024(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18944,7 +22076,17 @@ - .type GL_PREFIX(VertexAttrib4sARB), @function - GL_PREFIX(VertexAttrib4sARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4032(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -18989,7 +22131,13 @@ - .type GL_PREFIX(VertexAttrib4svARB), @function - GL_PREFIX(VertexAttrib4svARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4040(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19026,7 +22174,13 @@ - .type GL_PREFIX(VertexAttrib4ubvARB), @function - GL_PREFIX(VertexAttrib4ubvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4048(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19063,7 +22217,13 @@ - .type GL_PREFIX(VertexAttrib4uivARB), @function - GL_PREFIX(VertexAttrib4uivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4056(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19100,7 +22260,13 @@ - .type GL_PREFIX(VertexAttrib4usvARB), @function - GL_PREFIX(VertexAttrib4usvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4064(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19137,7 +22303,21 @@ - .type GL_PREFIX(VertexAttribPointerARB), @function - GL_PREFIX(VertexAttribPointerARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4072(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19190,7 +22370,13 @@ - .type GL_PREFIX(BindBufferARB), @function - GL_PREFIX(BindBufferARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4080(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19227,7 +22413,17 @@ - .type GL_PREFIX(BufferDataARB), @function - GL_PREFIX(BufferDataARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4088(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19272,7 +22468,17 @@ - .type GL_PREFIX(BufferSubDataARB), @function - GL_PREFIX(BufferSubDataARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4096(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19317,7 +22523,13 @@ - .type GL_PREFIX(DeleteBuffersARB), @function - GL_PREFIX(DeleteBuffersARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4104(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19354,7 +22566,13 @@ - .type GL_PREFIX(GenBuffersARB), @function - GL_PREFIX(GenBuffersARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4112(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19391,7 +22609,13 @@ - .type GL_PREFIX(GetBufferParameterivARB), @function - GL_PREFIX(GetBufferParameterivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4120(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19428,7 +22652,13 @@ - .type GL_PREFIX(GetBufferPointervARB), @function - GL_PREFIX(GetBufferPointervARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4128(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19465,7 +22695,17 @@ - .type GL_PREFIX(GetBufferSubDataARB), @function - GL_PREFIX(GetBufferSubDataARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4136(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19510,7 +22750,9 @@ - .type GL_PREFIX(IsBufferARB), @function - GL_PREFIX(IsBufferARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4144(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19539,7 +22781,13 @@ - .type GL_PREFIX(MapBufferARB), @function - GL_PREFIX(MapBufferARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4152(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19576,7 +22824,9 @@ - .type GL_PREFIX(UnmapBufferARB), @function - GL_PREFIX(UnmapBufferARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4160(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19605,7 +22855,13 @@ - .type GL_PREFIX(BeginQueryARB), @function - GL_PREFIX(BeginQueryARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4168(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19642,7 +22898,13 @@ - .type GL_PREFIX(DeleteQueriesARB), @function - GL_PREFIX(DeleteQueriesARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4176(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19679,7 +22941,9 @@ - .type GL_PREFIX(EndQueryARB), @function - GL_PREFIX(EndQueryARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4184(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19708,7 +22972,13 @@ - .type GL_PREFIX(GenQueriesARB), @function - GL_PREFIX(GenQueriesARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4192(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19745,7 +23015,13 @@ - .type GL_PREFIX(GetQueryObjectivARB), @function - GL_PREFIX(GetQueryObjectivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4200(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19782,7 +23058,13 @@ - .type GL_PREFIX(GetQueryObjectuivARB), @function - GL_PREFIX(GetQueryObjectuivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4208(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19819,7 +23101,13 @@ - .type GL_PREFIX(GetQueryivARB), @function - GL_PREFIX(GetQueryivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4216(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19856,7 +23144,9 @@ - .type GL_PREFIX(IsQueryARB), @function - GL_PREFIX(IsQueryARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4224(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19885,7 +23175,13 @@ - .type GL_PREFIX(AttachObjectARB), @function - GL_PREFIX(AttachObjectARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4232(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19922,7 +23218,9 @@ - .type GL_PREFIX(CompileShaderARB), @function - GL_PREFIX(CompileShaderARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4240(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19951,7 +23249,9 @@ - .type GL_PREFIX(CreateProgramObjectARB), @function - GL_PREFIX(CreateProgramObjectARB): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 4248(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -19980,7 +23280,9 @@ - .type GL_PREFIX(CreateShaderObjectARB), @function - GL_PREFIX(CreateShaderObjectARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4256(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20009,7 +23311,9 @@ - .type GL_PREFIX(DeleteObjectARB), @function - GL_PREFIX(DeleteObjectARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4264(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20038,7 +23342,13 @@ - .type GL_PREFIX(DetachObjectARB), @function - GL_PREFIX(DetachObjectARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4272(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20075,7 +23385,21 @@ - .type GL_PREFIX(GetActiveUniformARB), @function - GL_PREFIX(GetActiveUniformARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4280(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20128,7 +23452,17 @@ - .type GL_PREFIX(GetAttachedObjectsARB), @function - GL_PREFIX(GetAttachedObjectsARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4288(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20173,7 +23507,9 @@ - .type GL_PREFIX(GetHandleARB), @function - GL_PREFIX(GetHandleARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4296(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20202,7 +23538,17 @@ - .type GL_PREFIX(GetInfoLogARB), @function - GL_PREFIX(GetInfoLogARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4304(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20247,7 +23593,13 @@ - .type GL_PREFIX(GetObjectParameterfvARB), @function - GL_PREFIX(GetObjectParameterfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4312(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20284,7 +23636,13 @@ - .type GL_PREFIX(GetObjectParameterivARB), @function - GL_PREFIX(GetObjectParameterivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4320(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20321,7 +23679,17 @@ - .type GL_PREFIX(GetShaderSourceARB), @function - GL_PREFIX(GetShaderSourceARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4328(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20366,7 +23734,13 @@ - .type GL_PREFIX(GetUniformLocationARB), @function - GL_PREFIX(GetUniformLocationARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4336(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20403,7 +23777,13 @@ - .type GL_PREFIX(GetUniformfvARB), @function - GL_PREFIX(GetUniformfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4344(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20440,7 +23820,13 @@ - .type GL_PREFIX(GetUniformivARB), @function - GL_PREFIX(GetUniformivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4352(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20477,7 +23863,9 @@ - .type GL_PREFIX(LinkProgramARB), @function - GL_PREFIX(LinkProgramARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4360(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20506,7 +23894,17 @@ - .type GL_PREFIX(ShaderSourceARB), @function - GL_PREFIX(ShaderSourceARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4368(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20551,7 +23949,13 @@ - .type GL_PREFIX(Uniform1fARB), @function - GL_PREFIX(Uniform1fARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 4376(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20588,7 +23992,13 @@ - .type GL_PREFIX(Uniform1fvARB), @function - GL_PREFIX(Uniform1fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4384(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20625,7 +24035,13 @@ - .type GL_PREFIX(Uniform1iARB), @function - GL_PREFIX(Uniform1iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4392(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20662,7 +24078,13 @@ - .type GL_PREFIX(Uniform1ivARB), @function - GL_PREFIX(Uniform1ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4400(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20699,7 +24121,15 @@ - .type GL_PREFIX(Uniform2fARB), @function - GL_PREFIX(Uniform2fARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 4408(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20740,7 +24170,13 @@ - .type GL_PREFIX(Uniform2fvARB), @function - GL_PREFIX(Uniform2fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4416(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20777,7 +24213,13 @@ - .type GL_PREFIX(Uniform2iARB), @function - GL_PREFIX(Uniform2iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4424(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20814,7 +24256,13 @@ - .type GL_PREFIX(Uniform2ivARB), @function - GL_PREFIX(Uniform2ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4432(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20851,7 +24299,17 @@ - .type GL_PREFIX(Uniform3fARB), @function - GL_PREFIX(Uniform3fARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 4440(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20896,7 +24354,13 @@ - .type GL_PREFIX(Uniform3fvARB), @function - GL_PREFIX(Uniform3fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4448(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20933,7 +24397,17 @@ - .type GL_PREFIX(Uniform3iARB), @function - GL_PREFIX(Uniform3iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4456(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -20978,7 +24452,13 @@ - .type GL_PREFIX(Uniform3ivARB), @function - GL_PREFIX(Uniform3ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4464(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21015,7 +24495,19 @@ - .type GL_PREFIX(Uniform4fARB), @function - GL_PREFIX(Uniform4fARB): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) -+ movq %xmm3, 32(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 32(%rsp), %xmm3 -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 4472(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21064,7 +24556,13 @@ - .type GL_PREFIX(Uniform4fvARB), @function - GL_PREFIX(Uniform4fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4480(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21101,7 +24599,17 @@ - .type GL_PREFIX(Uniform4iARB), @function - GL_PREFIX(Uniform4iARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4488(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21146,7 +24654,13 @@ - .type GL_PREFIX(Uniform4ivARB), @function - GL_PREFIX(Uniform4ivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4496(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21183,7 +24697,17 @@ - .type GL_PREFIX(UniformMatrix2fvARB), @function - GL_PREFIX(UniformMatrix2fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4504(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21228,7 +24752,17 @@ - .type GL_PREFIX(UniformMatrix3fvARB), @function - GL_PREFIX(UniformMatrix3fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4512(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21273,7 +24807,17 @@ - .type GL_PREFIX(UniformMatrix4fvARB), @function - GL_PREFIX(UniformMatrix4fvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4520(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21318,7 +24862,9 @@ - .type GL_PREFIX(UseProgramObjectARB), @function - GL_PREFIX(UseProgramObjectARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4528(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21347,7 +24893,9 @@ - .type GL_PREFIX(ValidateProgramARB), @function - GL_PREFIX(ValidateProgramARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4536(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21376,7 +24924,13 @@ - .type GL_PREFIX(BindAttribLocationARB), @function - GL_PREFIX(BindAttribLocationARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4544(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21413,7 +24967,21 @@ - .type GL_PREFIX(GetActiveAttribARB), @function - GL_PREFIX(GetActiveAttribARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4552(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21466,7 +25034,13 @@ - .type GL_PREFIX(GetAttribLocationARB), @function - GL_PREFIX(GetAttribLocationARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4560(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21503,7 +25077,13 @@ - .type GL_PREFIX(DrawBuffersARB), @function - GL_PREFIX(DrawBuffersARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4568(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21540,7 +25120,17 @@ - .type GL_PREFIX(ClampColorARB), @function - GL_PREFIX(ClampColorARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4576(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21577,7 +25167,17 @@ - .type GL_PREFIX(DrawArraysInstancedARB), @function - GL_PREFIX(DrawArraysInstancedARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4584(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21622,7 +25222,17 @@ - .type GL_PREFIX(DrawElementsInstancedARB), @function - GL_PREFIX(DrawElementsInstancedARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4592(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21667,7 +25277,17 @@ - .type GL_PREFIX(RenderbufferStorageMultisample), @function - GL_PREFIX(RenderbufferStorageMultisample): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4600(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21712,7 +25332,17 @@ - .type GL_PREFIX(FramebufferTextureARB), @function - GL_PREFIX(FramebufferTextureARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4608(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21757,7 +25387,13 @@ - .type GL_PREFIX(FramebufferTextureFaceARB), @function - GL_PREFIX(FramebufferTextureFaceARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4616(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21802,7 +25438,13 @@ - .type GL_PREFIX(ProgramParameteriARB), @function - GL_PREFIX(ProgramParameteriARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4624(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21839,7 +25481,17 @@ - .type GL_PREFIX(VertexAttribDivisorARB), @function - GL_PREFIX(VertexAttribDivisorARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4632(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21876,7 +25528,9 @@ - .type GL_PREFIX(FlushMappedBufferRange), @function - GL_PREFIX(FlushMappedBufferRange): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4640(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21913,7 +25567,13 @@ - .type GL_PREFIX(MapBufferRange), @function - GL_PREFIX(MapBufferRange): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4648(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21958,7 +25618,17 @@ - .type GL_PREFIX(TexBufferARB), @function - GL_PREFIX(TexBufferARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4656(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -21995,7 +25665,13 @@ - .type GL_PREFIX(BindVertexArray), @function - GL_PREFIX(BindVertexArray): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4664(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22024,7 +25700,9 @@ - .type GL_PREFIX(GenVertexArrays), @function - GL_PREFIX(GenVertexArrays): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4672(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22061,7 +25739,13 @@ - .type GL_PREFIX(CopyBufferSubData), @function - GL_PREFIX(CopyBufferSubData): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4680(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22106,7 +25790,13 @@ - .type GL_PREFIX(ClientWaitSync), @function - GL_PREFIX(ClientWaitSync): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4688(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22143,7 +25833,17 @@ - .type GL_PREFIX(DeleteSync), @function - GL_PREFIX(DeleteSync): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4696(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22172,7 +25872,9 @@ - .type GL_PREFIX(FenceSync), @function - GL_PREFIX(FenceSync): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4704(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22209,7 +25911,13 @@ - .type GL_PREFIX(GetInteger64v), @function - GL_PREFIX(GetInteger64v): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4712(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22246,7 +25954,17 @@ - .type GL_PREFIX(GetSynciv), @function - GL_PREFIX(GetSynciv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4720(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22291,7 +26009,21 @@ - .type GL_PREFIX(IsSync), @function - GL_PREFIX(IsSync): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4728(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22320,7 +26052,21 @@ - .type GL_PREFIX(WaitSync), @function - GL_PREFIX(WaitSync): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4736(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22357,7 +26103,13 @@ - .type GL_PREFIX(DrawElementsBaseVertex), @function - GL_PREFIX(DrawElementsBaseVertex): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4744(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22402,7 +26154,13 @@ - .type GL_PREFIX(DrawElementsInstancedBaseVertex), @function - GL_PREFIX(DrawElementsInstancedBaseVertex): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4752(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22455,7 +26213,13 @@ - .type GL_PREFIX(DrawRangeElementsBaseVertex), @function - GL_PREFIX(DrawRangeElementsBaseVertex): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4760(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22508,7 +26272,13 @@ - .type GL_PREFIX(MultiDrawElementsBaseVertex), @function - GL_PREFIX(MultiDrawElementsBaseVertex): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4768(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22561,7 +26331,9 @@ - .type GL_PREFIX(BlendEquationSeparateiARB), @function - GL_PREFIX(BlendEquationSeparateiARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4776(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22598,7 +26370,9 @@ - .type GL_PREFIX(BlendEquationiARB), @function - GL_PREFIX(BlendEquationiARB): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 4784(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22635,7 +26409,9 @@ - .type GL_PREFIX(BlendFuncSeparateiARB), @function - GL_PREFIX(BlendFuncSeparateiARB): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 4792(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22680,7 +26456,9 @@ - .type GL_PREFIX(BlendFunciARB), @function - GL_PREFIX(BlendFunciARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4800(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22717,7 +26495,13 @@ - .type GL_PREFIX(BindSampler), @function - GL_PREFIX(BindSampler): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4808(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22754,7 +26538,17 @@ - .type GL_PREFIX(DeleteSamplers), @function - GL_PREFIX(DeleteSamplers): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4816(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22791,7 +26585,9 @@ - .type GL_PREFIX(GenSamplers), @function - GL_PREFIX(GenSamplers): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 4824(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22828,7 +26624,17 @@ - .type GL_PREFIX(GetSamplerParameterIiv), @function - GL_PREFIX(GetSamplerParameterIiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4832(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22865,7 +26671,13 @@ - .type GL_PREFIX(GetSamplerParameterIuiv), @function - GL_PREFIX(GetSamplerParameterIuiv): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 4840(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22902,7 +26714,13 @@ - .type GL_PREFIX(GetSamplerParameterfv), @function - GL_PREFIX(GetSamplerParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4848(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22939,7 +26757,13 @@ - .type GL_PREFIX(GetSamplerParameteriv), @function - GL_PREFIX(GetSamplerParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4856(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -22976,7 +26800,13 @@ - .type GL_PREFIX(IsSampler), @function - GL_PREFIX(IsSampler): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 4864(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23005,7 +26835,13 @@ - .type GL_PREFIX(SamplerParameterIiv), @function - GL_PREFIX(SamplerParameterIiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4872(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23042,7 +26878,13 @@ - .type GL_PREFIX(SamplerParameterIuiv), @function - GL_PREFIX(SamplerParameterIuiv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4880(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23079,7 +26921,13 @@ - .type GL_PREFIX(SamplerParameterf), @function - GL_PREFIX(SamplerParameterf): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4888(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23120,7 +26968,13 @@ - .type GL_PREFIX(SamplerParameterfv), @function - GL_PREFIX(SamplerParameterfv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4896(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23157,7 +27011,9 @@ - .type GL_PREFIX(SamplerParameteri), @function - GL_PREFIX(SamplerParameteri): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 4904(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23194,7 +27050,17 @@ - .type GL_PREFIX(SamplerParameteriv), @function - GL_PREFIX(SamplerParameteriv): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4912(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23231,7 +27097,13 @@ - .type GL_PREFIX(BindTransformFeedback), @function - GL_PREFIX(BindTransformFeedback): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4920(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23268,7 +27140,17 @@ - .type GL_PREFIX(DeleteTransformFeedbacks), @function - GL_PREFIX(DeleteTransformFeedbacks): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4928(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23305,7 +27187,17 @@ - .type GL_PREFIX(DrawTransformFeedback), @function - GL_PREFIX(DrawTransformFeedback): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4936(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23342,7 +27234,17 @@ - .type GL_PREFIX(GenTransformFeedbacks), @function - GL_PREFIX(GenTransformFeedbacks): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4944(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23379,7 +27281,17 @@ - .type GL_PREFIX(IsTransformFeedback), @function - GL_PREFIX(IsTransformFeedback): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4952(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23408,7 +27320,13 @@ - .type GL_PREFIX(PauseTransformFeedback), @function - GL_PREFIX(PauseTransformFeedback): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 4960(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23437,7 +27355,13 @@ - .type GL_PREFIX(ResumeTransformFeedback), @function - GL_PREFIX(ResumeTransformFeedback): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4968(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23466,7 +27390,13 @@ - .type GL_PREFIX(ClearDepthf), @function - GL_PREFIX(ClearDepthf): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 4976(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23495,7 +27425,9 @@ - .type GL_PREFIX(DepthRangef), @function - GL_PREFIX(DepthRangef): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 4984(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23532,7 +27464,13 @@ - .type GL_PREFIX(GetShaderPrecisionFormat), @function - GL_PREFIX(GetShaderPrecisionFormat): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 4992(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23577,7 +27515,9 @@ - .type GL_PREFIX(ReleaseShaderCompiler), @function - GL_PREFIX(ReleaseShaderCompiler): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5000(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23606,7 +27546,15 @@ - .type GL_PREFIX(ShaderBinary), @function - GL_PREFIX(ShaderBinary): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 5008(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23651,7 +27599,9 @@ - .type GL_PREFIX(GetGraphicsResetStatusARB), @function - GL_PREFIX(GetGraphicsResetStatusARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5016(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23680,7 +27630,15 @@ - .type GL_PREFIX(GetnColorTableARB), @function - GL_PREFIX(GetnColorTableARB): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 5024(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23725,7 +27683,9 @@ - .type GL_PREFIX(GetnCompressedTexImageARB), @function - GL_PREFIX(GetnCompressedTexImageARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5032(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23770,7 +27730,13 @@ - .type GL_PREFIX(GetnConvolutionFilterARB), @function - GL_PREFIX(GetnConvolutionFilterARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5040(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23815,7 +27781,9 @@ - .type GL_PREFIX(GetnHistogramARB), @function - GL_PREFIX(GetnHistogramARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5048(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23868,7 +27836,13 @@ - .type GL_PREFIX(GetnMapdvARB), @function - GL_PREFIX(GetnMapdvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5056(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23913,7 +27887,9 @@ - .type GL_PREFIX(GetnMapfvARB), @function - GL_PREFIX(GetnMapfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5064(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -23958,7 +27934,13 @@ - .type GL_PREFIX(GetnMapivARB), @function - GL_PREFIX(GetnMapivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5072(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24003,7 +27985,9 @@ - .type GL_PREFIX(GetnMinmaxARB), @function - GL_PREFIX(GetnMinmaxARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5080(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24056,7 +28040,13 @@ - .type GL_PREFIX(GetnPixelMapfvARB), @function - GL_PREFIX(GetnPixelMapfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5088(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24093,7 +28083,9 @@ - .type GL_PREFIX(GetnPixelMapuivARB), @function - GL_PREFIX(GetnPixelMapuivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5096(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24130,7 +28122,13 @@ - .type GL_PREFIX(GetnPixelMapusvARB), @function - GL_PREFIX(GetnPixelMapusvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5104(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24167,7 +28165,9 @@ - .type GL_PREFIX(GetnPolygonStippleARB), @function - GL_PREFIX(GetnPolygonStippleARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5112(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24204,7 +28204,17 @@ - .type GL_PREFIX(GetnSeparableFilterARB), @function - GL_PREFIX(GetnSeparableFilterARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5120(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24257,7 +28267,17 @@ - .type GL_PREFIX(GetnTexImageARB), @function - GL_PREFIX(GetnTexImageARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5128(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24310,7 +28330,17 @@ - .type GL_PREFIX(GetnUniformdvARB), @function - GL_PREFIX(GetnUniformdvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5136(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24355,7 +28385,13 @@ - .type GL_PREFIX(GetnUniformfvARB), @function - GL_PREFIX(GetnUniformfvARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5144(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24400,7 +28436,11 @@ - .type GL_PREFIX(GetnUniformivARB), @function - GL_PREFIX(GetnUniformivARB): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 5152(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24445,7 +28485,9 @@ - .type GL_PREFIX(GetnUniformuivARB), @function - GL_PREFIX(GetnUniformuivARB): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5160(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24490,7 +28532,11 @@ - .type GL_PREFIX(ReadnPixelsARB), @function - GL_PREFIX(ReadnPixelsARB): - #if defined(GLX_USE_TLS) -+ subq $8, %rsp -+ movq %xmm0, (%rsp) - call _x86_64_get_dispatch@PLT -+ movq (%rsp), %xmm0 -+ addq $8, %rsp - movq 5168(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24543,7 +28589,9 @@ - .type GL_PREFIX(PolygonOffsetEXT), @function - GL_PREFIX(PolygonOffsetEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5176(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24581,7 +28629,9 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_648)) - GL_PREFIX(_dispatch_stub_648): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5184(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24619,7 +28669,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_649)) - GL_PREFIX(_dispatch_stub_649): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5192(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24657,7 +28717,9 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_650)) - GL_PREFIX(_dispatch_stub_650): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 5200(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24695,7 +28757,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_651)) - GL_PREFIX(_dispatch_stub_651): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5208(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24733,7 +28801,21 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_652)) - GL_PREFIX(_dispatch_stub_652): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5216(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24771,7 +28853,21 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_653)) - GL_PREFIX(_dispatch_stub_653): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5224(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24809,7 +28905,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_654)) - GL_PREFIX(_dispatch_stub_654): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 5232(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24847,7 +28949,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_655)) - GL_PREFIX(_dispatch_stub_655): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5240(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24876,7 +28984,13 @@ - .type GL_PREFIX(ColorPointerEXT), @function - GL_PREFIX(ColorPointerEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5248(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24921,7 +29035,13 @@ - .type GL_PREFIX(EdgeFlagPointerEXT), @function - GL_PREFIX(EdgeFlagPointerEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5256(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -24958,7 +29078,17 @@ - .type GL_PREFIX(IndexPointerEXT), @function - GL_PREFIX(IndexPointerEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5264(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25003,7 +29133,17 @@ - .type GL_PREFIX(NormalPointerEXT), @function - GL_PREFIX(NormalPointerEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5272(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25048,7 +29188,17 @@ - .type GL_PREFIX(TexCoordPointerEXT), @function - GL_PREFIX(TexCoordPointerEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5280(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25093,7 +29243,17 @@ - .type GL_PREFIX(VertexPointerEXT), @function - GL_PREFIX(VertexPointerEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5288(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25138,7 +29298,17 @@ - .type GL_PREFIX(PointParameterfEXT), @function - GL_PREFIX(PointParameterfEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5296(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25175,7 +29345,13 @@ - .type GL_PREFIX(PointParameterfvEXT), @function - GL_PREFIX(PointParameterfvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5304(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25212,7 +29388,13 @@ - .type GL_PREFIX(LockArraysEXT), @function - GL_PREFIX(LockArraysEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5312(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25249,7 +29431,9 @@ - .type GL_PREFIX(UnlockArraysEXT), @function - GL_PREFIX(UnlockArraysEXT): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 5320(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25278,7 +29462,13 @@ - .type GL_PREFIX(SecondaryColor3bEXT), @function - GL_PREFIX(SecondaryColor3bEXT): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 5328(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25315,7 +29505,9 @@ - .type GL_PREFIX(SecondaryColor3bvEXT), @function - GL_PREFIX(SecondaryColor3bvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5336(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25344,7 +29536,13 @@ - .type GL_PREFIX(SecondaryColor3dEXT), @function - GL_PREFIX(SecondaryColor3dEXT): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 5344(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25385,7 +29583,9 @@ - .type GL_PREFIX(SecondaryColor3dvEXT), @function - GL_PREFIX(SecondaryColor3dvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5352(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25414,7 +29614,13 @@ - .type GL_PREFIX(SecondaryColor3fEXT), @function - GL_PREFIX(SecondaryColor3fEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5360(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25455,7 +29661,9 @@ - .type GL_PREFIX(SecondaryColor3fvEXT), @function - GL_PREFIX(SecondaryColor3fvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5368(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25484,7 +29692,13 @@ - .type GL_PREFIX(SecondaryColor3iEXT), @function - GL_PREFIX(SecondaryColor3iEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5376(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25521,7 +29735,9 @@ - .type GL_PREFIX(SecondaryColor3ivEXT), @function - GL_PREFIX(SecondaryColor3ivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5384(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25550,7 +29766,15 @@ - .type GL_PREFIX(SecondaryColor3sEXT), @function - GL_PREFIX(SecondaryColor3sEXT): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 5392(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25587,7 +29811,9 @@ - .type GL_PREFIX(SecondaryColor3svEXT), @function - GL_PREFIX(SecondaryColor3svEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5400(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25616,7 +29842,15 @@ - .type GL_PREFIX(SecondaryColor3ubEXT), @function - GL_PREFIX(SecondaryColor3ubEXT): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $24, %rsp - movq 5408(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25653,7 +29887,9 @@ - .type GL_PREFIX(SecondaryColor3ubvEXT), @function - GL_PREFIX(SecondaryColor3ubvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5416(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25682,7 +29918,13 @@ - .type GL_PREFIX(SecondaryColor3uiEXT), @function - GL_PREFIX(SecondaryColor3uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5424(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25719,7 +29961,9 @@ - .type GL_PREFIX(SecondaryColor3uivEXT), @function - GL_PREFIX(SecondaryColor3uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5432(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25748,7 +29992,13 @@ - .type GL_PREFIX(SecondaryColor3usEXT), @function - GL_PREFIX(SecondaryColor3usEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5440(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25785,7 +30035,9 @@ - .type GL_PREFIX(SecondaryColor3usvEXT), @function - GL_PREFIX(SecondaryColor3usvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5448(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25814,7 +30066,17 @@ - .type GL_PREFIX(SecondaryColorPointerEXT), @function - GL_PREFIX(SecondaryColorPointerEXT): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 5456(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25859,7 +30121,9 @@ - .type GL_PREFIX(MultiDrawArraysEXT), @function - GL_PREFIX(MultiDrawArraysEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5464(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25904,7 +30168,17 @@ - .type GL_PREFIX(MultiDrawElementsEXT), @function - GL_PREFIX(MultiDrawElementsEXT): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %xmm0, (%rsp) -+ movq %xmm1, 8(%rsp) -+ movq %xmm2, 16(%rsp) -+ movq %xmm3, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm3 -+ movq 16(%rsp), %xmm2 -+ movq 8(%rsp), %xmm1 -+ movq (%rsp), %xmm0 -+ addq $40, %rsp - movq 5472(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25949,7 +30223,9 @@ - .type GL_PREFIX(FogCoordPointerEXT), @function - GL_PREFIX(FogCoordPointerEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5480(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -25986,7 +30262,17 @@ - .type GL_PREFIX(FogCoorddEXT), @function - GL_PREFIX(FogCoorddEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5488(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26019,7 +30305,9 @@ - .type GL_PREFIX(FogCoorddvEXT), @function - GL_PREFIX(FogCoorddvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5496(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26048,7 +30336,17 @@ - .type GL_PREFIX(FogCoordfEXT), @function - GL_PREFIX(FogCoordfEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5504(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26081,7 +30379,9 @@ - .type GL_PREFIX(FogCoordfvEXT), @function - GL_PREFIX(FogCoordfvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5512(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26111,7 +30411,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_690)) - GL_PREFIX(_dispatch_stub_690): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5520(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26140,7 +30450,21 @@ - .type GL_PREFIX(BlendFuncSeparateEXT), @function - GL_PREFIX(BlendFuncSeparateEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5528(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26185,7 +30509,13 @@ - .type GL_PREFIX(FlushVertexArrayRangeNV), @function - GL_PREFIX(FlushVertexArrayRangeNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5536(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26214,7 +30544,9 @@ - .type GL_PREFIX(VertexArrayRangeNV), @function - GL_PREFIX(VertexArrayRangeNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5544(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26251,7 +30583,13 @@ - .type GL_PREFIX(CombinerInputNV), @function - GL_PREFIX(CombinerInputNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5552(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26304,7 +30642,13 @@ - .type GL_PREFIX(CombinerOutputNV), @function - GL_PREFIX(CombinerOutputNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5560(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26357,7 +30701,9 @@ - .type GL_PREFIX(CombinerParameterfNV), @function - GL_PREFIX(CombinerParameterfNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5568(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26394,7 +30740,13 @@ - .type GL_PREFIX(CombinerParameterfvNV), @function - GL_PREFIX(CombinerParameterfvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5576(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26431,7 +30783,9 @@ - .type GL_PREFIX(CombinerParameteriNV), @function - GL_PREFIX(CombinerParameteriNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5584(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26468,7 +30822,13 @@ - .type GL_PREFIX(CombinerParameterivNV), @function - GL_PREFIX(CombinerParameterivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5592(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26505,7 +30865,13 @@ - .type GL_PREFIX(FinalCombinerInputNV), @function - GL_PREFIX(FinalCombinerInputNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5600(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26550,7 +30916,13 @@ - .type GL_PREFIX(GetCombinerInputParameterfvNV), @function - GL_PREFIX(GetCombinerInputParameterfvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5608(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26595,7 +30967,13 @@ - .type GL_PREFIX(GetCombinerInputParameterivNV), @function - GL_PREFIX(GetCombinerInputParameterivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5616(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26640,7 +31018,13 @@ - .type GL_PREFIX(GetCombinerOutputParameterfvNV), @function - GL_PREFIX(GetCombinerOutputParameterfvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5624(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26685,7 +31069,17 @@ - .type GL_PREFIX(GetCombinerOutputParameterivNV), @function - GL_PREFIX(GetCombinerOutputParameterivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5632(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26730,7 +31124,17 @@ - .type GL_PREFIX(GetFinalCombinerInputParameterfvNV), @function - GL_PREFIX(GetFinalCombinerInputParameterfvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5640(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26767,7 +31171,13 @@ - .type GL_PREFIX(GetFinalCombinerInputParameterivNV), @function - GL_PREFIX(GetFinalCombinerInputParameterivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5648(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26804,7 +31214,13 @@ - .type GL_PREFIX(ResizeBuffersMESA), @function - GL_PREFIX(ResizeBuffersMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5656(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26833,7 +31249,17 @@ - .type GL_PREFIX(WindowPos2dMESA), @function - GL_PREFIX(WindowPos2dMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5664(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26870,7 +31296,13 @@ - .type GL_PREFIX(WindowPos2dvMESA), @function - GL_PREFIX(WindowPos2dvMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5672(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26899,7 +31331,13 @@ - .type GL_PREFIX(WindowPos2fMESA), @function - GL_PREFIX(WindowPos2fMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5680(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26936,7 +31374,13 @@ - .type GL_PREFIX(WindowPos2fvMESA), @function - GL_PREFIX(WindowPos2fvMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5688(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -26965,7 +31409,13 @@ - .type GL_PREFIX(WindowPos2iMESA), @function - GL_PREFIX(WindowPos2iMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5696(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27002,7 +31452,9 @@ - .type GL_PREFIX(WindowPos2ivMESA), @function - GL_PREFIX(WindowPos2ivMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 5704(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27031,7 +31483,17 @@ - .type GL_PREFIX(WindowPos2sMESA), @function - GL_PREFIX(WindowPos2sMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5712(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27068,7 +31530,17 @@ - .type GL_PREFIX(WindowPos2svMESA), @function - GL_PREFIX(WindowPos2svMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5720(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27097,7 +31569,17 @@ - .type GL_PREFIX(WindowPos3dMESA), @function - GL_PREFIX(WindowPos3dMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5728(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27138,7 +31620,13 @@ - .type GL_PREFIX(WindowPos3dvMESA), @function - GL_PREFIX(WindowPos3dvMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5736(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27167,7 +31655,17 @@ - .type GL_PREFIX(WindowPos3fMESA), @function - GL_PREFIX(WindowPos3fMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5744(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27208,7 +31706,13 @@ - .type GL_PREFIX(WindowPos3fvMESA), @function - GL_PREFIX(WindowPos3fvMESA): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 5752(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27237,7 +31741,13 @@ - .type GL_PREFIX(WindowPos3iMESA), @function - GL_PREFIX(WindowPos3iMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5760(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27274,7 +31784,13 @@ - .type GL_PREFIX(WindowPos3ivMESA), @function - GL_PREFIX(WindowPos3ivMESA): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 5768(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27303,7 +31819,13 @@ - .type GL_PREFIX(WindowPos3sMESA), @function - GL_PREFIX(WindowPos3sMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5776(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27340,7 +31862,13 @@ - .type GL_PREFIX(WindowPos3svMESA), @function - GL_PREFIX(WindowPos3svMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5784(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27369,7 +31897,13 @@ - .type GL_PREFIX(WindowPos4dMESA), @function - GL_PREFIX(WindowPos4dMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5792(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27414,7 +31948,15 @@ - .type GL_PREFIX(WindowPos4dvMESA), @function - GL_PREFIX(WindowPos4dvMESA): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 5800(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27443,7 +31985,13 @@ - .type GL_PREFIX(WindowPos4fMESA), @function - GL_PREFIX(WindowPos4fMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5808(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27488,7 +32036,15 @@ - .type GL_PREFIX(WindowPos4fvMESA), @function - GL_PREFIX(WindowPos4fvMESA): - #if defined(GLX_USE_TLS) -+ subq $24, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $24, %rsp - movq 5816(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27517,7 +32073,13 @@ - .type GL_PREFIX(WindowPos4iMESA), @function - GL_PREFIX(WindowPos4iMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5824(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27562,7 +32124,13 @@ - .type GL_PREFIX(WindowPos4ivMESA), @function - GL_PREFIX(WindowPos4ivMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5832(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27591,7 +32159,13 @@ - .type GL_PREFIX(WindowPos4sMESA), @function - GL_PREFIX(WindowPos4sMESA): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5840(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27636,7 +32210,17 @@ - .type GL_PREFIX(WindowPos4svMESA), @function - GL_PREFIX(WindowPos4svMESA): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 5848(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27666,7 +32250,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_732)) - GL_PREFIX(_dispatch_stub_732): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5856(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27712,7 +32302,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_733)) - GL_PREFIX(_dispatch_stub_733): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 5864(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27766,7 +32366,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_734)) - GL_PREFIX(_dispatch_stub_734): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5872(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27804,7 +32410,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_735)) - GL_PREFIX(_dispatch_stub_735): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5880(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27834,7 +32450,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_736)) - GL_PREFIX(_dispatch_stub_736): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5888(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27872,7 +32494,19 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_737)) - GL_PREFIX(_dispatch_stub_737): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) -+ movq %xmm3, 32(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 32(%rsp), %xmm3 -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 5896(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27910,7 +32544,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_738)) - GL_PREFIX(_dispatch_stub_738): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5904(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27940,7 +32580,19 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_739)) - GL_PREFIX(_dispatch_stub_739): - #if defined(GLX_USE_TLS) -+ subq $40, %rsp -+ movq %rdi, (%rsp) -+ movq %xmm0, 8(%rsp) -+ movq %xmm1, 16(%rsp) -+ movq %xmm2, 24(%rsp) -+ movq %xmm3, 32(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 32(%rsp), %xmm3 -+ movq 24(%rsp), %xmm2 -+ movq 16(%rsp), %xmm1 -+ movq 8(%rsp), %xmm0 -+ movq (%rsp), %rdi -+ addq $40, %rsp - movq 5912(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -27978,7 +32630,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_740)) - GL_PREFIX(_dispatch_stub_740): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5920(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28007,7 +32665,17 @@ - .type GL_PREFIX(AreProgramsResidentNV), @function - GL_PREFIX(AreProgramsResidentNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5928(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28044,7 +32712,13 @@ - .type GL_PREFIX(BindProgramNV), @function - GL_PREFIX(BindProgramNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5936(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28081,7 +32755,17 @@ - .type GL_PREFIX(DeleteProgramsNV), @function - GL_PREFIX(DeleteProgramsNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5944(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28118,7 +32802,13 @@ - .type GL_PREFIX(ExecuteProgramNV), @function - GL_PREFIX(ExecuteProgramNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 5952(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28155,7 +32845,17 @@ - .type GL_PREFIX(GenProgramsNV), @function - GL_PREFIX(GenProgramsNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5960(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28192,7 +32892,13 @@ - .type GL_PREFIX(GetProgramParameterdvNV), @function - GL_PREFIX(GetProgramParameterdvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5968(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28237,7 +32943,13 @@ - .type GL_PREFIX(GetProgramParameterfvNV), @function - GL_PREFIX(GetProgramParameterfvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5976(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28282,7 +32994,13 @@ - .type GL_PREFIX(GetProgramStringNV), @function - GL_PREFIX(GetProgramStringNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5984(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28319,7 +33037,13 @@ - .type GL_PREFIX(GetProgramivNV), @function - GL_PREFIX(GetProgramivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 5992(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28356,7 +33080,13 @@ - .type GL_PREFIX(GetTrackMatrixivNV), @function - GL_PREFIX(GetTrackMatrixivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6000(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28401,7 +33131,13 @@ - .type GL_PREFIX(GetVertexAttribPointervNV), @function - GL_PREFIX(GetVertexAttribPointervNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6008(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28438,7 +33174,13 @@ - .type GL_PREFIX(GetVertexAttribdvNV), @function - GL_PREFIX(GetVertexAttribdvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6016(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28475,7 +33217,13 @@ - .type GL_PREFIX(GetVertexAttribfvNV), @function - GL_PREFIX(GetVertexAttribfvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6024(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28512,7 +33260,13 @@ - .type GL_PREFIX(GetVertexAttribivNV), @function - GL_PREFIX(GetVertexAttribivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6032(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28549,7 +33303,13 @@ - .type GL_PREFIX(IsProgramNV), @function - GL_PREFIX(IsProgramNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6040(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28578,7 +33338,13 @@ - .type GL_PREFIX(LoadProgramNV), @function - GL_PREFIX(LoadProgramNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6048(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28623,7 +33389,13 @@ - .type GL_PREFIX(ProgramParameters4dvNV), @function - GL_PREFIX(ProgramParameters4dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6056(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28668,7 +33440,13 @@ - .type GL_PREFIX(ProgramParameters4fvNV), @function - GL_PREFIX(ProgramParameters4fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6064(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28713,7 +33491,13 @@ - .type GL_PREFIX(RequestResidentProgramsNV), @function - GL_PREFIX(RequestResidentProgramsNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6072(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28750,7 +33534,13 @@ - .type GL_PREFIX(TrackMatrixNV), @function - GL_PREFIX(TrackMatrixNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6080(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28795,7 +33585,13 @@ - .type GL_PREFIX(VertexAttrib1dNV), @function - GL_PREFIX(VertexAttrib1dNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6088(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28832,7 +33628,13 @@ - .type GL_PREFIX(VertexAttrib1dvNV), @function - GL_PREFIX(VertexAttrib1dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6096(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28869,7 +33671,21 @@ - .type GL_PREFIX(VertexAttrib1fNV), @function - GL_PREFIX(VertexAttrib1fNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6104(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28906,7 +33722,21 @@ - .type GL_PREFIX(VertexAttrib1fvNV), @function - GL_PREFIX(VertexAttrib1fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6112(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28943,7 +33773,21 @@ - .type GL_PREFIX(VertexAttrib1sNV), @function - GL_PREFIX(VertexAttrib1sNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6120(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -28980,7 +33824,9 @@ - .type GL_PREFIX(VertexAttrib1svNV), @function - GL_PREFIX(VertexAttrib1svNV): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 6128(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29017,7 +33863,9 @@ - .type GL_PREFIX(VertexAttrib2dNV), @function - GL_PREFIX(VertexAttrib2dNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6136(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29058,7 +33906,21 @@ - .type GL_PREFIX(VertexAttrib2dvNV), @function - GL_PREFIX(VertexAttrib2dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6144(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29095,7 +33957,21 @@ - .type GL_PREFIX(VertexAttrib2fNV), @function - GL_PREFIX(VertexAttrib2fNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6152(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29136,7 +34012,21 @@ - .type GL_PREFIX(VertexAttrib2fvNV), @function - GL_PREFIX(VertexAttrib2fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6160(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29173,7 +34063,9 @@ - .type GL_PREFIX(VertexAttrib2sNV), @function - GL_PREFIX(VertexAttrib2sNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6168(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29210,7 +34102,9 @@ - .type GL_PREFIX(VertexAttrib2svNV), @function - GL_PREFIX(VertexAttrib2svNV): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 6176(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29247,7 +34141,9 @@ - .type GL_PREFIX(VertexAttrib3dNV), @function - GL_PREFIX(VertexAttrib3dNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6184(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29292,7 +34188,13 @@ - .type GL_PREFIX(VertexAttrib3dvNV), @function - GL_PREFIX(VertexAttrib3dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6192(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29329,7 +34231,13 @@ - .type GL_PREFIX(VertexAttrib3fNV), @function - GL_PREFIX(VertexAttrib3fNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6200(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29374,7 +34282,13 @@ - .type GL_PREFIX(VertexAttrib3fvNV), @function - GL_PREFIX(VertexAttrib3fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6208(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29411,7 +34325,13 @@ - .type GL_PREFIX(VertexAttrib3sNV), @function - GL_PREFIX(VertexAttrib3sNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6216(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29456,7 +34376,13 @@ - .type GL_PREFIX(VertexAttrib3svNV), @function - GL_PREFIX(VertexAttrib3svNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6224(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29493,7 +34419,9 @@ - .type GL_PREFIX(VertexAttrib4dNV), @function - GL_PREFIX(VertexAttrib4dNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6232(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29542,7 +34470,9 @@ - .type GL_PREFIX(VertexAttrib4dvNV), @function - GL_PREFIX(VertexAttrib4dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6240(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29579,7 +34509,13 @@ - .type GL_PREFIX(VertexAttrib4fNV), @function - GL_PREFIX(VertexAttrib4fNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6248(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29628,7 +34564,13 @@ - .type GL_PREFIX(VertexAttrib4fvNV), @function - GL_PREFIX(VertexAttrib4fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6256(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29665,7 +34607,9 @@ - .type GL_PREFIX(VertexAttrib4sNV), @function - GL_PREFIX(VertexAttrib4sNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6264(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29710,7 +34654,17 @@ - .type GL_PREFIX(VertexAttrib4svNV), @function - GL_PREFIX(VertexAttrib4svNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6272(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29747,7 +34701,17 @@ - .type GL_PREFIX(VertexAttrib4ubNV), @function - GL_PREFIX(VertexAttrib4ubNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6280(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29792,7 +34756,23 @@ - .type GL_PREFIX(VertexAttrib4ubvNV), @function - GL_PREFIX(VertexAttrib4ubvNV): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %rdx, 16(%rsp) -+ movq %xmm0, 24(%rsp) -+ movq %xmm1, 32(%rsp) -+ movq %xmm2, 40(%rsp) -+ movq %xmm3, 48(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 48(%rsp), %xmm3 -+ movq 40(%rsp), %xmm2 -+ movq 32(%rsp), %xmm1 -+ movq 24(%rsp), %xmm0 -+ movq 16(%rsp), %rdx -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 6288(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29829,7 +34809,17 @@ - .type GL_PREFIX(VertexAttribPointerNV), @function - GL_PREFIX(VertexAttribPointerNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6296(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29874,7 +34864,23 @@ - .type GL_PREFIX(VertexAttribs1dvNV), @function - GL_PREFIX(VertexAttribs1dvNV): - #if defined(GLX_USE_TLS) -+ subq $56, %rsp -+ movq %rdi, (%rsp) -+ movq %rsi, 8(%rsp) -+ movq %rdx, 16(%rsp) -+ movq %xmm0, 24(%rsp) -+ movq %xmm1, 32(%rsp) -+ movq %xmm2, 40(%rsp) -+ movq %xmm3, 48(%rsp) - call _x86_64_get_dispatch@PLT -+ movq 48(%rsp), %xmm3 -+ movq 40(%rsp), %xmm2 -+ movq 32(%rsp), %xmm1 -+ movq 24(%rsp), %xmm0 -+ movq 16(%rsp), %rdx -+ movq 8(%rsp), %rsi -+ movq (%rsp), %rdi -+ addq $56, %rsp - movq 6304(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29911,7 +34917,17 @@ - .type GL_PREFIX(VertexAttribs1fvNV), @function - GL_PREFIX(VertexAttribs1fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6312(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29948,7 +34964,9 @@ - .type GL_PREFIX(VertexAttribs1svNV), @function - GL_PREFIX(VertexAttribs1svNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6320(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -29985,7 +35003,9 @@ - .type GL_PREFIX(VertexAttribs2dvNV), @function - GL_PREFIX(VertexAttribs2dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 6328(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30022,7 +35042,13 @@ - .type GL_PREFIX(VertexAttribs2fvNV), @function - GL_PREFIX(VertexAttribs2fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6336(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30059,7 +35085,13 @@ - .type GL_PREFIX(VertexAttribs2svNV), @function - GL_PREFIX(VertexAttribs2svNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6344(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30096,7 +35128,13 @@ - .type GL_PREFIX(VertexAttribs3dvNV), @function - GL_PREFIX(VertexAttribs3dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6352(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30133,7 +35171,13 @@ - .type GL_PREFIX(VertexAttribs3fvNV), @function - GL_PREFIX(VertexAttribs3fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6360(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30170,7 +35214,9 @@ - .type GL_PREFIX(VertexAttribs3svNV), @function - GL_PREFIX(VertexAttribs3svNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6368(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30207,7 +35253,13 @@ - .type GL_PREFIX(VertexAttribs4dvNV), @function - GL_PREFIX(VertexAttribs4dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6376(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30244,7 +35296,13 @@ - .type GL_PREFIX(VertexAttribs4fvNV), @function - GL_PREFIX(VertexAttribs4fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6384(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30281,7 +35339,17 @@ - .type GL_PREFIX(VertexAttribs4svNV), @function - GL_PREFIX(VertexAttribs4svNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6392(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30318,7 +35386,17 @@ - .type GL_PREFIX(VertexAttribs4ubvNV), @function - GL_PREFIX(VertexAttribs4ubvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6400(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30355,7 +35433,17 @@ - .type GL_PREFIX(GetTexBumpParameterfvATI), @function - GL_PREFIX(GetTexBumpParameterfvATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6408(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30392,7 +35480,21 @@ - .type GL_PREFIX(GetTexBumpParameterivATI), @function - GL_PREFIX(GetTexBumpParameterivATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6416(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30429,7 +35531,13 @@ - .type GL_PREFIX(TexBumpParameterfvATI), @function - GL_PREFIX(TexBumpParameterfvATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6424(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30466,7 +35574,13 @@ - .type GL_PREFIX(TexBumpParameterivATI), @function - GL_PREFIX(TexBumpParameterivATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6432(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30503,7 +35617,9 @@ - .type GL_PREFIX(AlphaFragmentOp1ATI), @function - GL_PREFIX(AlphaFragmentOp1ATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6440(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30556,7 +35672,17 @@ - .type GL_PREFIX(AlphaFragmentOp2ATI), @function - GL_PREFIX(AlphaFragmentOp2ATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6448(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30609,7 +35735,13 @@ - .type GL_PREFIX(AlphaFragmentOp3ATI), @function - GL_PREFIX(AlphaFragmentOp3ATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6456(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30662,7 +35794,9 @@ - .type GL_PREFIX(BeginFragmentShaderATI), @function - GL_PREFIX(BeginFragmentShaderATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6464(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30691,7 +35825,9 @@ - .type GL_PREFIX(BindFragmentShaderATI), @function - GL_PREFIX(BindFragmentShaderATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6472(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30720,7 +35856,17 @@ - .type GL_PREFIX(ColorFragmentOp1ATI), @function - GL_PREFIX(ColorFragmentOp1ATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6480(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30773,7 +35919,21 @@ - .type GL_PREFIX(ColorFragmentOp2ATI), @function - GL_PREFIX(ColorFragmentOp2ATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6488(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30826,7 +35986,13 @@ - .type GL_PREFIX(ColorFragmentOp3ATI), @function - GL_PREFIX(ColorFragmentOp3ATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6496(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30879,7 +36045,13 @@ - .type GL_PREFIX(DeleteFragmentShaderATI), @function - GL_PREFIX(DeleteFragmentShaderATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6504(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30908,7 +36080,13 @@ - .type GL_PREFIX(EndFragmentShaderATI), @function - GL_PREFIX(EndFragmentShaderATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6512(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30937,7 +36115,13 @@ - .type GL_PREFIX(GenFragmentShadersATI), @function - GL_PREFIX(GenFragmentShadersATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6520(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -30966,7 +36150,13 @@ - .type GL_PREFIX(PassTexCoordATI), @function - GL_PREFIX(PassTexCoordATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6528(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31003,7 +36193,13 @@ - .type GL_PREFIX(SampleMapATI), @function - GL_PREFIX(SampleMapATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6536(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31040,7 +36236,13 @@ - .type GL_PREFIX(SetFragmentShaderConstantATI), @function - GL_PREFIX(SetFragmentShaderConstantATI): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6544(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31077,7 +36279,13 @@ - .type GL_PREFIX(PointParameteriNV), @function - GL_PREFIX(PointParameteriNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6552(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31114,7 +36322,13 @@ - .type GL_PREFIX(PointParameterivNV), @function - GL_PREFIX(PointParameterivNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6560(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31152,7 +36366,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_821)) - GL_PREFIX(_dispatch_stub_821): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6568(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31182,7 +36402,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_822)) - GL_PREFIX(_dispatch_stub_822): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6576(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31212,7 +36438,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_823)) - GL_PREFIX(_dispatch_stub_823): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6584(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31250,7 +36486,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_824)) - GL_PREFIX(_dispatch_stub_824): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6592(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31288,7 +36530,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_825)) - GL_PREFIX(_dispatch_stub_825): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6600(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31317,7 +36569,13 @@ - .type GL_PREFIX(GetProgramNamedParameterdvNV), @function - GL_PREFIX(GetProgramNamedParameterdvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6608(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31362,7 +36620,13 @@ - .type GL_PREFIX(GetProgramNamedParameterfvNV), @function - GL_PREFIX(GetProgramNamedParameterfvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6616(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31407,7 +36671,13 @@ - .type GL_PREFIX(ProgramNamedParameter4dNV), @function - GL_PREFIX(ProgramNamedParameter4dNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6624(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31464,7 +36734,13 @@ - .type GL_PREFIX(ProgramNamedParameter4dvNV), @function - GL_PREFIX(ProgramNamedParameter4dvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6632(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31509,7 +36785,13 @@ - .type GL_PREFIX(ProgramNamedParameter4fNV), @function - GL_PREFIX(ProgramNamedParameter4fNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6640(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31566,7 +36848,13 @@ - .type GL_PREFIX(ProgramNamedParameter4fvNV), @function - GL_PREFIX(ProgramNamedParameter4fvNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6648(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31611,7 +36899,13 @@ - .type GL_PREFIX(PrimitiveRestartIndexNV), @function - GL_PREFIX(PrimitiveRestartIndexNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6656(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31640,7 +36934,13 @@ - .type GL_PREFIX(PrimitiveRestartNV), @function - GL_PREFIX(PrimitiveRestartNV): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6664(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31670,7 +36970,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_834)) - GL_PREFIX(_dispatch_stub_834): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6672(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31708,7 +37014,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_835)) - GL_PREFIX(_dispatch_stub_835): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6680(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31745,7 +37061,13 @@ - .type GL_PREFIX(BindFramebufferEXT), @function - GL_PREFIX(BindFramebufferEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6688(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31782,7 +37104,17 @@ - .type GL_PREFIX(BindRenderbufferEXT), @function - GL_PREFIX(BindRenderbufferEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6696(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31819,7 +37151,13 @@ - .type GL_PREFIX(CheckFramebufferStatusEXT), @function - GL_PREFIX(CheckFramebufferStatusEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6704(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31848,7 +37186,13 @@ - .type GL_PREFIX(DeleteFramebuffersEXT), @function - GL_PREFIX(DeleteFramebuffersEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6712(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31885,7 +37229,17 @@ - .type GL_PREFIX(DeleteRenderbuffersEXT), @function - GL_PREFIX(DeleteRenderbuffersEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6720(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31922,7 +37276,13 @@ - .type GL_PREFIX(FramebufferRenderbufferEXT), @function - GL_PREFIX(FramebufferRenderbufferEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6728(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -31967,7 +37327,13 @@ - .type GL_PREFIX(FramebufferTexture1DEXT), @function - GL_PREFIX(FramebufferTexture1DEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6736(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32012,7 +37378,13 @@ - .type GL_PREFIX(FramebufferTexture2DEXT), @function - GL_PREFIX(FramebufferTexture2DEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6744(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32057,7 +37429,17 @@ - .type GL_PREFIX(FramebufferTexture3DEXT), @function - GL_PREFIX(FramebufferTexture3DEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6752(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32110,7 +37492,13 @@ - .type GL_PREFIX(GenFramebuffersEXT), @function - GL_PREFIX(GenFramebuffersEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6760(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32147,7 +37535,13 @@ - .type GL_PREFIX(GenRenderbuffersEXT), @function - GL_PREFIX(GenRenderbuffersEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6768(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32184,7 +37578,17 @@ - .type GL_PREFIX(GenerateMipmapEXT), @function - GL_PREFIX(GenerateMipmapEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6776(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32213,7 +37617,17 @@ - .type GL_PREFIX(GetFramebufferAttachmentParameterivEXT), @function - GL_PREFIX(GetFramebufferAttachmentParameterivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6784(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32258,7 +37672,17 @@ - .type GL_PREFIX(GetRenderbufferParameterivEXT), @function - GL_PREFIX(GetRenderbufferParameterivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6792(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32295,7 +37719,13 @@ - .type GL_PREFIX(IsFramebufferEXT), @function - GL_PREFIX(IsFramebufferEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6800(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32324,7 +37754,13 @@ - .type GL_PREFIX(IsRenderbufferEXT), @function - GL_PREFIX(IsRenderbufferEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6808(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32353,7 +37789,13 @@ - .type GL_PREFIX(RenderbufferStorageEXT), @function - GL_PREFIX(RenderbufferStorageEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6816(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32399,7 +37841,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_853)) - GL_PREFIX(_dispatch_stub_853): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6824(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32453,7 +37901,13 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_854)) - GL_PREFIX(_dispatch_stub_854): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6832(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32491,7 +37945,17 @@ - HIDDEN(GL_PREFIX(_dispatch_stub_855)) - GL_PREFIX(_dispatch_stub_855): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6840(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32528,7 +37992,17 @@ - .type GL_PREFIX(BindFragDataLocationEXT), @function - GL_PREFIX(BindFragDataLocationEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6848(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32565,7 +38039,13 @@ - .type GL_PREFIX(GetFragDataLocationEXT), @function - GL_PREFIX(GetFragDataLocationEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6856(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32602,7 +38082,13 @@ - .type GL_PREFIX(GetUniformuivEXT), @function - GL_PREFIX(GetUniformuivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6864(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32639,7 +38125,13 @@ - .type GL_PREFIX(GetVertexAttribIivEXT), @function - GL_PREFIX(GetVertexAttribIivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6872(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32676,7 +38168,13 @@ - .type GL_PREFIX(GetVertexAttribIuivEXT), @function - GL_PREFIX(GetVertexAttribIuivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6880(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32713,7 +38211,13 @@ - .type GL_PREFIX(Uniform1uiEXT), @function - GL_PREFIX(Uniform1uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 6888(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32750,7 +38254,9 @@ - .type GL_PREFIX(Uniform1uivEXT), @function - GL_PREFIX(Uniform1uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 6896(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32787,7 +38293,9 @@ - .type GL_PREFIX(Uniform2uiEXT), @function - GL_PREFIX(Uniform2uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6904(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32824,7 +38332,13 @@ - .type GL_PREFIX(Uniform2uivEXT), @function - GL_PREFIX(Uniform2uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6912(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32861,7 +38375,17 @@ - .type GL_PREFIX(Uniform3uiEXT), @function - GL_PREFIX(Uniform3uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6920(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32906,7 +38430,17 @@ - .type GL_PREFIX(Uniform3uivEXT), @function - GL_PREFIX(Uniform3uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 - call _x86_64_get_dispatch@PLT -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6928(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32943,7 +38477,9 @@ - .type GL_PREFIX(Uniform4uiEXT), @function - GL_PREFIX(Uniform4uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp - movq 6936(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -32988,7 +38524,21 @@ - .type GL_PREFIX(Uniform4uivEXT), @function - GL_PREFIX(Uniform4uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %r8 -+ pushq %r9 -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %r9 -+ popq %r8 -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6944(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33025,7 +38575,17 @@ - .type GL_PREFIX(VertexAttribI1iEXT), @function - GL_PREFIX(VertexAttribI1iEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6952(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33062,7 +38622,9 @@ - .type GL_PREFIX(VertexAttribI1ivEXT), @function - GL_PREFIX(VertexAttribI1ivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 6960(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33099,7 +38661,13 @@ - .type GL_PREFIX(VertexAttribI1uiEXT), @function - GL_PREFIX(VertexAttribI1uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6968(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33136,7 +38704,13 @@ - .type GL_PREFIX(VertexAttribI1uivEXT), @function - GL_PREFIX(VertexAttribI1uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6976(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33173,7 +38747,17 @@ - .type GL_PREFIX(VertexAttribI2iEXT), @function - GL_PREFIX(VertexAttribI2iEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6984(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33210,7 +38794,13 @@ - .type GL_PREFIX(VertexAttribI2ivEXT), @function - GL_PREFIX(VertexAttribI2ivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 6992(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33247,7 +38837,13 @@ - .type GL_PREFIX(VertexAttribI2uiEXT), @function - GL_PREFIX(VertexAttribI2uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 7000(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33284,7 +38880,9 @@ - .type GL_PREFIX(VertexAttribI2uivEXT), @function - GL_PREFIX(VertexAttribI2uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi - call _x86_64_get_dispatch@PLT -+ popq %rdi - movq 7008(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33321,7 +38919,13 @@ - .type GL_PREFIX(VertexAttribI3iEXT), @function - GL_PREFIX(VertexAttribI3iEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 7016(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33366,7 +38970,13 @@ - .type GL_PREFIX(VertexAttribI3ivEXT), @function - GL_PREFIX(VertexAttribI3ivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 7024(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33403,7 +39013,17 @@ - .type GL_PREFIX(VertexAttribI3uiEXT), @function - GL_PREFIX(VertexAttribI3uiEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 7032(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33448,7 +39068,17 @@ - .type GL_PREFIX(VertexAttribI3uivEXT), @function - GL_PREFIX(VertexAttribI3uivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 7040(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33485,7 +39115,17 @@ - .type GL_PREFIX(VertexAttribI4bvEXT), @function - GL_PREFIX(VertexAttribI4bvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx -+ pushq %rcx -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rcx -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 7048(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33522,7 +39162,13 @@ - .type GL_PREFIX(VertexAttribI4iEXT), @function - GL_PREFIX(VertexAttribI4iEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 7056(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33567,7 +39213,13 @@ - .type GL_PREFIX(VertexAttribI4ivEXT), @function - GL_PREFIX(VertexAttribI4ivEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rdx - call _x86_64_get_dispatch@PLT -+ popq %rdx -+ popq %rsi -+ popq %rdi - movq 7064(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33604,7 +39256,13 @@ - .type GL_PREFIX(VertexAttribI4svEXT), @function - GL_PREFIX(VertexAttribI4svEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 7072(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -@@ -33641,7 +39299,13 @@ - .type GL_PREFIX(VertexAttribI4ubvEXT), @function - GL_PREFIX(VertexAttribI4ubvEXT): - #if defined(GLX_USE_TLS) -+ pushq %rdi -+ pushq %rsi -+ pushq %rbp - call _x86_64_get_dispatch@PLT -+ popq %rbp -+ popq %rsi -+ popq %rdi - movq 7080(%rax), %r11 - jmp *%r11 - #elif defined(PTHREADS) -Index: mesa/src/mapi/glapi/gen/gl_x86_asm.py -=================================================================== ---- mesa.orig/src/mapi/glapi/gen/gl_x86_asm.py 2011-06-27 10:02:56.000000000 +0100 -+++ mesa/src/mapi/glapi/gen/gl_x86_asm.py 2011-06-27 14:49:30.966946012 +0100 -@@ -84,18 +84,11 @@ - print '' - print '#ifdef GLX_USE_TLS' - print '' -- print '#ifdef GLX_X86_READONLY_TEXT' -- print '# define CTX_INSNS MOV_L(GS:(EAX), EAX)' -- print '#else' -- print '# define CTX_INSNS NOP /* Pad for init_glapi_relocs() */' -- print '#endif' -- print '' - print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\' - print 'ALIGNTEXT16;\t\t\t\t\t\t\\' - print 'GLOBL_FN(GL_PREFIX(fn, fn_alt));\t\t\t\\' - print 'GL_PREFIX(fn, fn_alt):\t\t\t\t\t\\' - print '\tCALL(_x86_get_dispatch) ;\t\t\t\\' -- print '\tCTX_INSNS ; \\' - print '\tJMP(GL_OFFSET(off))' - print '' - print '#elif defined(PTHREADS)' -@@ -146,10 +139,14 @@ - print '\tHIDDEN(GLNAME(_x86_get_dispatch))' - print 'ALIGNTEXT16' - print 'GLNAME(_x86_get_dispatch):' -- print '\tcall 1f' -- print '1:\tpopl %eax' -- print '\taddl $_GLOBAL_OFFSET_TABLE_+[.-1b], %eax' -- print '\tmovl _glapi_tls_Dispatch@GOTNTPOFF(%eax), %eax' -+ print '\tpushl\t%ebx' -+ print '\tcall\t1f' -+ print '1:\tpopl\t%ebx' -+ print '\taddl\t$_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx' -+ print '\tleal\t_glapi_tls_Dispatch@tlsgd(,%ebx,1), %eax' -+ print '\tcall\t___tls_get_addr@plt' -+ print '\tmovl\t(%eax),%eax' -+ print '\tpopl\t%ebx' - print '\tret' - print '' - print '#elif defined(PTHREADS)' -Index: mesa/src/mapi/glapi/glapi_entrypoint.c -=================================================================== ---- mesa.orig/src/mapi/glapi/glapi_entrypoint.c 2011-06-27 10:02:56.199019309 +0100 -+++ mesa/src/mapi/glapi/glapi_entrypoint.c 2011-06-27 14:49:30.966946012 +0100 -@@ -65,21 +65,6 @@ - static void - init_glapi_relocs( void ) - { --#if defined(GLX_USE_TLS) && !defined(GLX_X86_READONLY_TEXT) -- extern unsigned long _x86_get_dispatch(void); -- char run_time_patch[] = { -- 0x65, 0xa1, 0, 0, 0, 0 /* movl %gs:0,%eax */ -- }; -- GLuint *offset = (GLuint *) &run_time_patch[2]; /* 32-bits for x86/32 */ -- const GLubyte * const get_disp = (const GLubyte *) run_time_patch; -- GLubyte * curr_func = (GLubyte *) gl_dispatch_functions_start; -- -- *offset = _x86_get_dispatch(); -- while ( curr_func != (GLubyte *) gl_dispatch_functions_end ) { -- (void) memcpy( curr_func, get_disp, sizeof(run_time_patch)); -- curr_func += DISPATCH_FUNCTION_SIZE; -- } --#endif - } - - -Index: mesa/src/mapi/glapi/glapi_x86.S -=================================================================== ---- mesa.orig/src/mapi/glapi/glapi_x86.S 2011-06-27 14:47:42.000000000 +0100 -+++ mesa/src/mapi/glapi/glapi_x86.S 2011-06-27 14:49:30.966946012 +0100 -@@ -57,18 +57,11 @@ - - #ifdef GLX_USE_TLS - --#ifdef GLX_X86_READONLY_TEXT --# define CTX_INSNS MOV_L(GS:(EAX), EAX) --#else --# define CTX_INSNS NOP /* Pad for init_glapi_relocs() */ --#endif -- - # define GL_STUB(fn,off,fn_alt) \ - ALIGNTEXT16; \ - GLOBL_FN(GL_PREFIX(fn, fn_alt)); \ - GL_PREFIX(fn, fn_alt): \ - CALL(_x86_get_dispatch) ; \ -- CTX_INSNS ; \ - JMP(GL_OFFSET(off)) - - #elif defined(PTHREADS) -@@ -119,10 +112,14 @@ - HIDDEN(GLNAME(_x86_get_dispatch)) - ALIGNTEXT16 - GLNAME(_x86_get_dispatch): -+ pushl %ebx - call 1f --1: popl %eax -- addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %eax -- movl _glapi_tls_Dispatch@GOTNTPOFF(%eax), %eax -+1: popl %ebx -+ addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx -+ leal _glapi_tls_Dispatch@tlsgd(,%ebx,1), %eax -+ call ___tls_get_addr@plt -+ movl (%eax),%eax -+ popl %ebx - ret - - #elif defined(PTHREADS)