	.file	"extr_egl_context.c__glfwInitEGL.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"libEGL.so.1"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"EGL: Failed to load required entry points"
	.align 8
.LC2:
	.string	"EGL: Failed to get EGL display: %s"
	.align 8
.LC3:
	.string	"EGL: Failed to initialize EGL: %s"
	.section	.rodata.str1.1
.LC4:
	.string	"EGL_KHR_create_context"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"EGL_KHR_create_context_no_error"
	.section	.rodata.str1.1
.LC6:
	.string	"EGL_KHR_gl_colorspace"
.LC7:
	.string	"EGL: Library not found"
.LC8:
	.string	"lib"
.LC9:
	.string	"eglGetConfigAttrib"
.LC10:
	.string	"eglGetConfigs"
.LC11:
	.string	"eglGetDisplay"
.LC12:
	.string	"eglGetError"
.LC13:
	.string	"eglInitialize"
.LC14:
	.string	"eglTerminate"
.LC15:
	.string	"eglBindAPI"
.LC16:
	.string	"eglCreateContext"
.LC17:
	.string	"eglDestroySurface"
.LC18:
	.string	"eglDestroyContext"
.LC19:
	.string	"eglCreateWindowSurface"
.LC20:
	.string	"eglMakeCurrent"
.LC21:
	.string	"eglSwapBuffers"
.LC22:
	.string	"eglSwapInterval"
.LC23:
	.string	"eglQueryString"
.LC24:
	.string	"eglGetProcAddress"
	.text
	.p2align 4
	.globl	_glfwInitEGL
	.type	_glfwInitEGL, @function
_glfwInitEGL:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR _glfw[rip+176], 0
	mov	eax, DWORD PTR GLFW_TRUE[rip]
	jne	.L15
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	_glfw_dlopen@PLT
	mov	QWORD PTR _glfw[rip+176], rax
	test	rax, rax
	jne	.L20
	mov	edi, DWORD PTR GLFW_API_UNAVAILABLE[rip]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GLFW_FALSE[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L20:
	.cfi_restore_state
	mov	edx, 3
	lea	rsi, .LC8[rip]
	lea	rdi, .LC0[rip]
	call	strncmp@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC9[rip]
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	DWORD PTR _glfw[rip], eax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC10[rip]
	mov	QWORD PTR _glfw[rip+168], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC11[rip]
	mov	QWORD PTR _glfw[rip+160], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC12[rip]
	mov	QWORD PTR _glfw[rip+152], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC13[rip]
	mov	QWORD PTR _glfw[rip+144], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC14[rip]
	mov	QWORD PTR _glfw[rip+136], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC15[rip]
	mov	QWORD PTR _glfw[rip+128], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC16[rip]
	mov	QWORD PTR _glfw[rip+120], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC17[rip]
	mov	QWORD PTR _glfw[rip+112], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC18[rip]
	mov	QWORD PTR _glfw[rip+104], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC19[rip]
	mov	QWORD PTR _glfw[rip+96], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC20[rip]
	mov	QWORD PTR _glfw[rip+88], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC21[rip]
	mov	QWORD PTR _glfw[rip+80], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC22[rip]
	mov	QWORD PTR _glfw[rip+72], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC23[rip]
	mov	QWORD PTR _glfw[rip+64], rax
	call	_glfw_dlsym@PLT
	mov	rdi, QWORD PTR _glfw[rip+176]
	lea	rsi, .LC24[rip]
	mov	QWORD PTR _glfw[rip+56], rax
	call	_glfw_dlsym@PLT
	cmp	QWORD PTR _glfw[rip+168], 0
	mov	QWORD PTR _glfw[rip+48], rax
	je	.L6
	cmp	QWORD PTR _glfw[rip+160], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+152], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+144], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+136], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+128], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+120], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+112], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+104], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+96], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+88], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+80], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+72], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+64], 0
	je	.L6
	cmp	QWORD PTR _glfw[rip+56], 0
	je	.L6
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR _GLFW_EGL_NATIVE_DISPLAY[rip]
	call	eglGetDisplay@PLT
	cmp	rax, QWORD PTR EGL_NO_DISPLAY[rip]
	mov	QWORD PTR _glfw[rip+8], rax
	mov	rdi, rax
	je	.L21
	lea	rdx, _glfw[rip+40]
	lea	rsi, 4[rdx]
	call	eglInitialize@PLT
	test	eax, eax
	je	.L22
	lea	rdi, .LC4[rip]
	call	extensionSupportedEGL@PLT
	lea	rdi, .LC5[rip]
	mov	QWORD PTR _glfw[rip+32], rax
	call	extensionSupportedEGL@PLT
	lea	rdi, .LC6[rip]
	mov	QWORD PTR _glfw[rip+24], rax
	call	extensionSupportedEGL@PLT
	mov	QWORD PTR _glfw[rip+16], rax
	mov	eax, DWORD PTR GLFW_TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR GLFW_PLATFORM_ERROR[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	xor	eax, eax
	call	_glfwTerminateEGL@PLT
	mov	eax, DWORD PTR GLFW_FALSE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	ret
.L21:
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	eglGetError@PLT
	mov	edi, eax
	call	getEGLErrorString@PLT
	lea	rsi, .LC2[rip]
	mov	edx, eax
.L18:
	mov	edi, DWORD PTR GLFW_API_UNAVAILABLE[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	xor	eax, eax
	call	_glfwTerminateEGL@PLT
	mov	eax, DWORD PTR GLFW_FALSE[rip]
	jmp	.L1
.L22:
	call	eglGetError@PLT
	mov	edi, eax
	call	getEGLErrorString@PLT
	lea	rsi, .LC3[rip]
	mov	edx, eax
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	_glfwInitEGL, .-_glfwInitEGL
	.comm	_glfw,184,32
	.comm	_GLFW_EGL_NATIVE_DISPLAY,4,4
	.comm	GLFW_TRUE,4,4
	.comm	GLFW_PLATFORM_ERROR,4,4
	.comm	GLFW_FALSE,4,4
	.comm	GLFW_API_UNAVAILABLE,4,4
	.comm	EGL_NO_DISPLAY,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_egl_context.c__glfwInitEGL.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"libEGL.so.1\000"
	.align	2
.LC1:
	.ascii	"EGL: Failed to load required entry points\000"
	.align	2
.LC2:
	.ascii	"EGL: Failed to get EGL display: %s\000"
	.align	2
.LC3:
	.ascii	"EGL: Failed to initialize EGL: %s\000"
	.align	2
.LC4:
	.ascii	"EGL_KHR_create_context\000"
	.align	2
.LC5:
	.ascii	"EGL_KHR_create_context_no_error\000"
	.align	2
.LC6:
	.ascii	"EGL_KHR_gl_colorspace\000"
	.align	2
.LC7:
	.ascii	"EGL: Library not found\000"
	.align	2
.LC8:
	.ascii	"eglGetConfigAttrib\000"
	.align	2
.LC9:
	.ascii	"eglGetConfigs\000"
	.align	2
.LC10:
	.ascii	"eglGetDisplay\000"
	.align	2
.LC11:
	.ascii	"eglGetError\000"
	.align	2
.LC12:
	.ascii	"eglInitialize\000"
	.align	2
.LC13:
	.ascii	"eglTerminate\000"
	.align	2
.LC14:
	.ascii	"eglBindAPI\000"
	.align	2
.LC15:
	.ascii	"eglCreateContext\000"
	.align	2
.LC16:
	.ascii	"eglDestroySurface\000"
	.align	2
.LC17:
	.ascii	"eglDestroyContext\000"
	.align	2
.LC18:
	.ascii	"eglCreateWindowSurface\000"
	.align	2
.LC19:
	.ascii	"eglMakeCurrent\000"
	.align	2
.LC20:
	.ascii	"eglSwapBuffers\000"
	.align	2
.LC21:
	.ascii	"eglSwapInterval\000"
	.align	2
.LC22:
	.ascii	"eglQueryString\000"
	.align	2
.LC23:
	.ascii	"eglGetProcAddress\000"
	.text
	.align	2
	.global	_glfwInitEGL
	.syntax unified
	.arm
	.fpu softvfp
	.type	_glfwInitEGL, %function
_glfwInitEGL:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L60
	ldr	r3, [r4, #92]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L60+4
	bl	_glfw_dlopen
	cmp	r0, #0
	str	r0, [r4, #92]
	bne	.L57
	ldr	r3, .L60+8
	ldr	r1, .L60+12
	ldr	r0, [r3]
	bl	_glfwInputError
	ldr	r3, .L60+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L57:
	mov	r3, #1
	ldr	r1, .L60+20
	str	r3, [r4]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+24
	ldr	r0, [r4, #92]
	str	r3, [r4, #88]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+28
	ldr	r0, [r4, #92]
	str	r3, [r4, #84]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+32
	ldr	r0, [r4, #92]
	str	r3, [r4, #80]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+36
	ldr	r0, [r4, #92]
	str	r3, [r4, #76]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+40
	ldr	r0, [r4, #92]
	str	r3, [r4, #72]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+44
	ldr	r0, [r4, #92]
	str	r3, [r4, #68]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+48
	ldr	r0, [r4, #92]
	str	r3, [r4, #64]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+52
	ldr	r0, [r4, #92]
	str	r3, [r4, #60]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+56
	ldr	r0, [r4, #92]
	str	r3, [r4, #56]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+60
	ldr	r0, [r4, #92]
	str	r3, [r4, #52]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+64
	ldr	r0, [r4, #92]
	str	r3, [r4, #48]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+68
	ldr	r0, [r4, #92]
	str	r3, [r4, #44]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+72
	ldr	r0, [r4, #92]
	str	r3, [r4, #40]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+76
	ldr	r0, [r4, #92]
	str	r3, [r4, #36]
	bl	_glfw_dlsym
	mov	r3, r0
	ldr	r1, .L60+80
	ldr	r0, [r4, #92]
	str	r3, [r4, #32]
	bl	_glfw_dlsym
	ldr	r3, [r4, #88]
	str	r0, [r4, #28]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #84]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #80]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #76]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #72]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #68]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #64]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #60]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #56]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #52]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #48]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #44]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #40]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #36]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #32]
	cmp	r0, #0
	cmpne	r3, #0
	beq	.L6
	ldr	r3, .L60+84
	ldr	r0, [r3]
	bl	eglGetDisplay
	ldr	r2, .L60+88
	str	r0, [r4, #4]
	ldr	r2, [r2]
	cmp	r0, r2
	beq	.L58
	ldr	r2, .L60+92
	add	r1, r2, #4
	bl	eglInitialize
	cmp	r0, #0
	beq	.L59
	ldr	r0, .L60+96
	bl	extensionSupportedEGL
	mov	r3, r0
	ldr	r0, .L60+100
	str	r3, [r4, #16]
	bl	extensionSupportedEGL
	mov	r3, r0
	ldr	r0, .L60+104
	str	r3, [r4, #12]
	bl	extensionSupportedEGL
	ldr	r3, .L60+108
	str	r0, [r4, #8]
	ldr	r0, [r3]
	pop	{r4, pc}
.L6:
	ldr	r3, .L60+112
	ldr	r1, .L60+116
	ldr	r0, [r3]
	bl	_glfwInputError
	bl	_glfwTerminateEGL
	ldr	r3, .L60+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L2:
	ldr	r3, .L60+108
	ldr	r0, [r3]
	pop	{r4, pc}
.L58:
	ldr	r3, .L60+8
	ldr	r4, [r3]
	bl	eglGetError
	bl	getEGLErrorString
	ldr	r1, .L60+120
	mov	r2, r0
	mov	r0, r4
	bl	_glfwInputError
	bl	_glfwTerminateEGL
	ldr	r3, .L60+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L59:
	ldr	r3, .L60+8
	ldr	r4, [r3]
	bl	eglGetError
	bl	getEGLErrorString
	ldr	r1, .L60+124
	mov	r2, r0
	mov	r0, r4
	bl	_glfwInputError
	bl	_glfwTerminateEGL
	ldr	r3, .L60+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L61:
	.align	2
.L60:
	.word	_glfw
	.word	.LC0
	.word	GLFW_API_UNAVAILABLE
	.word	.LC7
	.word	GLFW_FALSE
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	_GLFW_EGL_NATIVE_DISPLAY
	.word	EGL_NO_DISPLAY
	.word	_glfw+20
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	GLFW_TRUE
	.word	GLFW_PLATFORM_ERROR
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	_glfwInitEGL, .-_glfwInitEGL
	.comm	_glfw,96,4
	.comm	_GLFW_EGL_NATIVE_DISPLAY,4,4
	.comm	GLFW_TRUE,4,4
	.comm	GLFW_PLATFORM_ERROR,4,4
	.comm	GLFW_FALSE,4,4
	.comm	GLFW_API_UNAVAILABLE,4,4
	.comm	EGL_NO_DISPLAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
