// File: /workspace/github_c_makefile_star2_O0/stetre[P]moongl/src/pixel.c
// Function: CopyImageSubData
static int CopyImageSubData(lua_State *L)
    {
    int arg = 1;
    GLuint srcName = luaL_checkinteger(L, arg++);
    GLenum srcTarget = checkimagetarget(L, arg++);
    GLint srcLevel = luaL_checkinteger(L, arg++);
    GLint srcX = luaL_checkinteger(L, arg++);
    GLint srcY = luaL_checkinteger(L, arg++);
    GLint srcZ = luaL_checkinteger(L, arg++);
    GLuint dstName = luaL_checkinteger(L, arg++);
    GLenum dstTarget = checkimagetarget(L, arg++);
    GLint dstLevel = luaL_checkinteger(L, arg++);
    GLint dstX = luaL_checkinteger(L, arg++);
    GLint dstY = luaL_checkinteger(L, arg++);
    GLint dstZ = luaL_checkinteger(L, arg++);
    GLsizei srcWidth = luaL_checkinteger(L, arg++);
    GLsizei srcHeight = luaL_checkinteger(L, arg++);
    GLsizei srcDepth = luaL_checkinteger(L, arg++);
    glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, 
                        dstName, dstTarget, dstLevel, dstX, dstY, dstZ, 
                            srcWidth, srcHeight, srcDepth);
    CheckError(L);
    return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, 0x90(%rsp)
movl $0x1, 0x8c(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x88(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %edx
movl %edx, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
movl $0x32, %esi
callq 0x11160
movl %eax, 0x84(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x80(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x7c(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x78(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x74(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x70(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %edx
movl %edx, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
movl $0x32, %esi
callq 0x11160
movl %eax, 0x6c(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x68(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x64(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x60(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x5c(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x58(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x54(%rsp)
movq 0x90(%rsp), %rdi
movl 0x8c(%rsp), %esi
movl %esi, %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
callq 0x11af0
movl %eax, 0x50(%rsp)
movq 0x29046(%rip), %rax     # 0x677d0
movq (%rax), %rax
movq %rax, 0x48(%rsp)
movl 0x88(%rsp), %edi
movl 0x84(%rsp), %esi
movl 0x80(%rsp), %edx
movl 0x7c(%rsp), %ecx
movl 0x78(%rsp), %r8d
movl 0x74(%rsp), %r9d
movl 0x70(%rsp), %eax
movl 0x6c(%rsp), %r13d
movl 0x68(%rsp), %r12d
movl 0x64(%rsp), %r15d
movl 0x60(%rsp), %r14d
movl 0x5c(%rsp), %ebp
movl 0x58(%rsp), %ebx
movl 0x54(%rsp), %r11d
movl 0x50(%rsp), %r10d
movl %eax, (%rsp)
movq 0x48(%rsp), %rax
movl %r13d, 0x8(%rsp)
movl %r12d, 0x10(%rsp)
movl %r15d, 0x18(%rsp)
movl %r14d, 0x20(%rsp)
movl %ebp, 0x28(%rsp)
movl %ebx, 0x30(%rsp)
movl %r11d, 0x38(%rsp)
movl %r10d, 0x40(%rsp)
callq *%rax
movq 0x90(%rsp), %rdi
callq 0x11880
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq