/*
 |            file: gles2test1.c
 |        language: 1	(ANSI C)
 |     produced by: GNU C 4.2.1
 |    compiler dir: /OST/GraphicsGFX/SDP3430/Source/SGX12.19/GFX_Linux_DDK/src/eurasia/eurasiacon/unittests/gles2test1
 | program counter: <0x9288;0x9e08>
 */
typedef unsigned char GLubyte

typedef unsigned int GLuint

typedef float GLfloat

typedef int GLfixed

typedef int int32_t

typedef void* NativeWindowType

typedef int32_t EGLint

typedef unsigned int EGLBoolean

typedef void* EGLConfig

typedef void* EGLContext

typedef void* EGLDisplay

typedef void* EGLSurface

typedef unsigned int size_t

typedef long long int __quad_t

typedef long int __off_t

typedef __quad_t __off64_t

typedef struct _IO_FILE FILE

struct _IO_FILE {
	int _flags // @0
	char* _IO_read_ptr // @4
	char* _IO_read_end // @8
	char* _IO_read_base // @c
	char* _IO_write_base // @10
	char* _IO_write_ptr // @14
	char* _IO_write_end // @18
	char* _IO_buf_base // @1c
	char* _IO_buf_end // @20
	char* _IO_save_base // @24
	char* _IO_backup_base // @28
	char* _IO_save_end // @2c
	struct _IO_marker* _markers // @30
	struct _IO_FILE* _chain // @34
	int _fileno // @38
	int _flags2 // @3c
	__off_t _old_offset // @40
	short unsigned int _cur_column // @44
	signed char _vtable_offset // @46
	char[1] _shortbuf // @47
	_IO_lock_t* _lock // @48
	__off64_t _offset // @50
	void* __pad1 // @58
	void* __pad2 // @5c
	void* __pad3 // @60
	void* __pad4 // @64
	size_t __pad5 // @68
	int _mode // @6c
	char[40] _unused2 // @70
}

typedef void _IO_lock_t

struct _IO_marker {
	struct _IO_marker* _next // @0
	struct _IO_FILE* _sbuf // @4
	int _pos // @8
}

// external function
long int strtol(
	const char* __nptr
	char** __endptr
	int __base
	)
{
}


// function
void file_unload(
	char* pData
	)
{
}


// external function PC=<0x9288;0x93f8>
void display(
	)
{
	int framecount
}


// function
EGLBoolean file_load(
	int i
	char** pcData
	int* piLen
	)
{
	FILE* fpShader
	int iLen
	int iGot
}


// external function PC=<0x93f8;0x9a20>
int init(
	)
{
	GLubyte[4096] texdata
	GLubyte* lpTex
	GLuint i
	GLuint j
	char[1024] pszInfoLog
	int nShaderStatus
	int nInfoLogLength
	int[3] hShaderHandle
	int basetexture_pos
	{
		char* pszProgramString
		int nProgramLength
		// inlined
		// function
		void file_unload(
			char* pData
			)
		{
		}

		// inlined
		// function
		EGLBoolean file_load(
			int i
			char** pcData
			int* piLen
			)
		{
			FILE* fpShader
			int iLen
			int iGot
		}

	}
	GLfixed[12] vertices
	GLfloat[24] colors
	GLfloat[12] texcoord
}


// external function
long int atol(
	const char* __nptr
	)
{
	{
	}
}


// function
void handle_egl_error(
	char* name
	)
{
	EGLint error_code
}


// external function PC=<0x9a20;0x9e08>
int main(
	int argc
	char** argv
	)
{
	EGLDisplay dpy
	EGLSurface surface
	EGLContext context
	EGLConfig[2] configs
	EGLBoolean eRetStatus
	EGLint config_count
	EGLint major
	EGLint minor
	EGLint[3] context_attribs
	EGLint[13] cfg_attribs
	int frameStop
	int i
	NativeWindowType eglWindow
	term: \\ label @0x9c28
	// inlined
	// external function
	long int atol(
		const char* __nptr
		)
	{
		{
		}
	}

	// inlined
	// function
	void handle_egl_error(
		char* name
		)
	{
		EGLint error_code
	}

	// inlined
	// function
	void handle_egl_error(
		char* name
		)
	{
		EGLint error_code
	}

	// inlined
	// function
	void handle_egl_error(
		char* name
		)
	{
		EGLint error_code
	}

	// inlined
	// function
	void handle_egl_error(
		char* name
		)
	{
		EGLint error_code
	}

	// inlined
	// function
	void handle_egl_error(
		char* name
		)
	{
		EGLint error_code
	}

	// inlined
	// function
	void handle_egl_error(
		char* name
		)
	{
		EGLint error_code
	}

	// inlined
	// function
	void handle_egl_error(
		char* name
		)
	{
		EGLint error_code
	}

}


const char*[14] error_strings

const const char*[3] apszProgramFileName

struct _IO_FILE* stdin

struct _IO_FILE* stdout

struct _IO_FILE* stderr

int[2] mvp_pos

int[2] hProgramHandle

int[2] attriblocation

GLfloat[4] projection

GLfloat[4] modelview

GLfloat[4] mvp

