	.file	"extr_egl_context.c_makeContextCurrentEGL.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EGL: Failed to make context current: %s"
	.align 8
.LC1:
	.string	"EGL: Failed to clear current context: %s"
	.text
	.p2align 4
	.type	makeContextCurrentEGL, @function
makeContextCurrentEGL:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR _glfw[rip+4]
	test	rbp, rbp
	je	.L2
	mov	esi, DWORD PTR 4[rbp]
	mov	ecx, DWORD PTR 0[rbp]
	mov	edx, esi
	call	eglMakeCurrent@PLT
	test	eax, eax
	je	.L6
.L3:
	mov	rsi, rbp
	lea	rdi, _glfw[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	_glfwPlatformSetTls@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR EGL_NO_SURFACE[rip]
	mov	ecx, DWORD PTR EGL_NO_CONTEXT[rip]
	mov	edx, esi
	call	eglMakeCurrent@PLT
	test	eax, eax
	jne	.L3
	call	eglGetError@PLT
	mov	edi, eax
	call	getEGLErrorString@PLT
	mov	edi, DWORD PTR GLFW_PLATFORM_ERROR[rip]
	lea	rsi, .LC1[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	edx, eax
	jmp	_glfwInputError@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	call	eglGetError@PLT
	mov	edi, eax
	call	getEGLErrorString@PLT
	mov	edi, DWORD PTR GLFW_PLATFORM_ERROR[rip]
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	edx, eax
	jmp	_glfwInputError@PLT
	.cfi_endproc
.LFE0:
	.size	makeContextCurrentEGL, .-makeContextCurrentEGL
	.comm	_glfw,8,8
	.comm	GLFW_PLATFORM_ERROR,4,4
	.comm	EGL_NO_SURFACE,4,4
	.comm	EGL_NO_CONTEXT,4,4
	.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_makeContextCurrentEGL.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EGL: Failed to make context current: %s\000"
	.align	2
.LC1:
	.ascii	"EGL: Failed to clear current context: %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	makeContextCurrentEGL, %function
makeContextCurrentEGL:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, lr}
	subs	r4, r0, #0
	ldr	r0, [r3, #4]
	beq	.L2
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	mov	r1, r2
	bl	eglMakeCurrent
	cmp	r0, #0
	beq	.L6
.L3:
	mov	r1, r4
	pop	{r4, lr}
	ldr	r0, .L7
	b	_glfwPlatformSetTls
.L2:
	ldr	r2, .L7+4
	ldr	r3, .L7+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r1, r2
	bl	eglMakeCurrent
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L7+12
	ldr	r4, [r3]
	bl	eglGetError
	bl	getEGLErrorString
	ldr	r1, .L7+16
	mov	r2, r0
	mov	r0, r4
	pop	{r4, lr}
	b	_glfwInputError
.L6:
	ldr	r3, .L7+12
	ldr	r4, [r3]
	bl	eglGetError
	bl	getEGLErrorString
	ldr	r1, .L7+20
	mov	r2, r0
	mov	r0, r4
	pop	{r4, lr}
	b	_glfwInputError
.L8:
	.align	2
.L7:
	.word	_glfw
	.word	EGL_NO_SURFACE
	.word	EGL_NO_CONTEXT
	.word	GLFW_PLATFORM_ERROR
	.word	.LC1
	.word	.LC0
	.size	makeContextCurrentEGL, .-makeContextCurrentEGL
	.comm	_glfw,8,4
	.comm	GLFW_PLATFORM_ERROR,4,4
	.comm	EGL_NO_SURFACE,4,4
	.comm	EGL_NO_CONTEXT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
