	.file	"extr_context.c__glfwIsValidContextConfig.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid client API"
.LC1:
	.string	"Invalid OpenGL version %i.%i"
.LC2:
	.string	"Invalid OpenGL profile"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Context profiles are only defined for OpenGL version 3.2 and above"
	.align 8
.LC4:
	.string	"Forward-compatibility is only defined for OpenGL version 3.0 and above"
	.align 8
.LC5:
	.string	"Invalid OpenGL ES version %i.%i"
	.align 8
.LC6:
	.string	"Invalid context robustness mode"
	.align 8
.LC7:
	.string	"Invalid context release behavior"
	.text
	.p2align 4
	.globl	_glfwIsValidContextConfig
	.type	_glfwIsValidContextConfig, @function
_glfwIsValidContextConfig:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR [rdi]
	cmp	rax, QWORD PTR GLFW_OPENGL_API[rip]
	je	.L2
	cmp	rax, QWORD PTR GLFW_OPENGL_ES_API[rip]
	jne	.L61
	mov	edx, DWORD PTR 8[rdi]
	mov	ecx, DWORD PTR 12[rdi]
	test	edx, edx
	jle	.L13
	test	ecx, ecx
	js	.L13
	cmp	ecx, 1
	jle	.L19
	cmp	edx, 1
	je	.L13
.L19:
	test	ecx, ecx
	je	.L12
	cmp	edx, 2
	je	.L13
.L12:
	mov	rax, QWORD PTR 24[rdi]
	test	rax, rax
	je	.L15
	cmp	rax, QWORD PTR GLFW_NO_RESET_NOTIFICATION[rip]
	je	.L15
	cmp	rax, QWORD PTR GLFW_LOSE_CONTEXT_ON_RESET[rip]
	jne	.L62
.L15:
	mov	rax, QWORD PTR 32[rdi]
	test	rax, rax
	je	.L16
	cmp	rax, QWORD PTR GLFW_RELEASE_BEHAVIOR_NONE[rip]
	je	.L16
	cmp	rax, QWORD PTR GLFW_RELEASE_BEHAVIOR_FLUSH[rip]
	jne	.L63
.L16:
	mov	eax, DWORD PTR GL_TRUE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L61:
	.cfi_restore_state
	mov	edi, DWORD PTR GLFW_INVALID_ENUM[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[rdi]
	mov	ecx, DWORD PTR 12[rdi]
	test	edx, edx
	jle	.L5
	test	ecx, ecx
	js	.L5
	cmp	edx, 1
	jne	.L17
	cmp	ecx, 5
	jg	.L5
.L17:
	cmp	edx, 2
	jne	.L18
	cmp	ecx, 1
	jg	.L5
.L18:
	cmp	edx, 3
	sete	sil
	cmp	ecx, 3
	jle	.L8
	test	sil, sil
	jne	.L5
.L8:
	mov	rax, QWORD PTR 16[rdi]
	test	rax, rax
	je	.L9
	cmp	rax, QWORD PTR GLFW_OPENGL_CORE_PROFILE[rip]
	je	.L10
	cmp	rax, QWORD PTR GLFW_OPENGL_COMPAT_PROFILE[rip]
	jne	.L64
.L10:
	cmp	edx, 2
	jle	.L11
	cmp	ecx, 1
	jg	.L12
	test	sil, sil
	je	.L12
.L11:
	mov	edi, DWORD PTR GLFW_INVALID_VALUE[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR GLFW_INVALID_VALUE[rip]
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR GLFW_INVALID_VALUE[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmp	QWORD PTR 40[rdi], 0
	je	.L12
	cmp	edx, 2
	jg	.L12
	mov	edi, DWORD PTR GLFW_INVALID_VALUE[rip]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L62:
	mov	edi, DWORD PTR GLFW_INVALID_ENUM[rip]
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L63:
	mov	edi, DWORD PTR GLFW_INVALID_ENUM[rip]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L64:
	mov	edi, DWORD PTR GLFW_INVALID_ENUM[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	_glfwInputError@PLT
	mov	eax, DWORD PTR GL_FALSE[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	_glfwIsValidContextConfig, .-_glfwIsValidContextConfig
	.comm	GL_TRUE,4,4
	.comm	GL_FALSE,4,4
	.comm	GLFW_RELEASE_BEHAVIOR_NONE,8,8
	.comm	GLFW_RELEASE_BEHAVIOR_FLUSH,8,8
	.comm	GLFW_OPENGL_ES_API,8,8
	.comm	GLFW_OPENGL_CORE_PROFILE,8,8
	.comm	GLFW_OPENGL_COMPAT_PROFILE,8,8
	.comm	GLFW_OPENGL_API,8,8
	.comm	GLFW_NO_RESET_NOTIFICATION,8,8
	.comm	GLFW_LOSE_CONTEXT_ON_RESET,8,8
	.comm	GLFW_INVALID_VALUE,4,4
	.comm	GLFW_INVALID_ENUM,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_context.c__glfwIsValidContextConfig.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid client API\000"
	.align	2
.LC1:
	.ascii	"Invalid OpenGL version %i.%i\000"
	.align	2
.LC2:
	.ascii	"Invalid OpenGL profile\000"
	.align	2
.LC3:
	.ascii	"Context profiles are only defined for OpenGL versio"
	.ascii	"n 3.2 and above\000"
	.align	2
.LC4:
	.ascii	"Forward-compatibility is only defined for OpenGL ve"
	.ascii	"rsion 3.0 and above\000"
	.align	2
.LC5:
	.ascii	"Invalid OpenGL ES version %i.%i\000"
	.align	2
.LC6:
	.ascii	"Invalid context robustness mode\000"
	.align	2
.LC7:
	.ascii	"Invalid context release behavior\000"
	.text
	.align	2
	.global	_glfwIsValidContextConfig
	.syntax unified
	.arm
	.fpu softvfp
	.type	_glfwIsValidContextConfig, %function
_glfwIsValidContextConfig:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L35
	ldr	r3, [r0]
	ldr	r2, [r2]
	push	{r4, lr}
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L35+4
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L31
	ldmib	r0, {r2, r3}
	cmp	r2, #0
	ble	.L11
	cmp	r3, #0
	blt	.L11
	cmp	r3, #1
	movle	r1, #0
	movgt	r1, #1
	cmp	r2, #1
	movne	r1, #0
	cmp	r1, #0
	bne	.L11
	sub	r1, r2, #2
	clz	r1, r1
	cmp	r3, #0
	lsr	r1, r1, #5
	moveq	r1, #0
	cmp	r1, #0
	bne	.L11
.L10:
	ldr	r3, [r0, #16]
	cmp	r3, #0
	beq	.L12
	ldr	r2, .L35+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L12
	ldr	r2, .L35+12
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L32
.L12:
	ldr	r3, [r0, #20]
	cmp	r3, #0
	beq	.L13
	ldr	r2, .L35+16
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
	ldr	r2, .L35+20
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L33
.L13:
	ldr	r3, .L35+24
	ldr	r0, [r3]
	pop	{r4, pc}
.L31:
	ldr	r3, .L35+28
	ldr	r1, .L35+32
	ldr	r0, [r3]
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L2:
	ldmib	r0, {r2, r3}
	cmp	r2, #0
	ble	.L5
	cmp	r3, #0
	blt	.L5
	sub	r1, r2, #1
	clz	r1, r1
	cmp	r3, #5
	lsr	r1, r1, #5
	movle	r1, #0
	cmp	r1, #0
	bne	.L5
	sub	r1, r2, #2
	clz	r1, r1
	cmp	r3, #1
	lsr	r1, r1, #5
	movle	r1, #0
	cmp	r1, #0
	bne	.L5
	sub	r1, r2, #3
	clz	r1, r1
	lsr	r1, r1, #5
	cmp	r3, #3
	movle	ip, #0
	andgt	ip, r1, #1
	cmp	ip, #0
	bne	.L5
	ldr	ip, [r0, #12]
	cmp	ip, #0
	beq	.L7
	ldr	lr, .L35+40
	ldr	lr, [lr]
	cmp	ip, lr
	beq	.L8
	ldr	lr, .L35+44
	ldr	lr, [lr]
	cmp	ip, lr
	bne	.L34
.L8:
	cmp	r2, #2
	ble	.L9
	cmp	r3, #1
	movgt	r3, #0
	andle	r3, r1, #1
	cmp	r3, #0
	beq	.L10
.L9:
	ldr	r3, .L35+48
	ldr	r1, .L35+52
	ldr	r0, [r3]
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L11:
	ldr	r1, .L35+48
	ldr	r0, [r1]
	ldr	r1, .L35+56
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L5:
	ldr	r1, .L35+48
	ldr	r0, [r1]
	ldr	r1, .L35+60
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L7:
	ldr	r3, [r0, #24]
	cmp	r2, #2
	movgt	r2, #0
	movle	r2, #1
	cmp	r3, #0
	moveq	r2, #0
	cmp	r2, #0
	beq	.L10
	ldr	r3, .L35+48
	ldr	r1, .L35+64
	ldr	r0, [r3]
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L32:
	ldr	r3, .L35+28
	ldr	r1, .L35+68
	ldr	r0, [r3]
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L33:
	ldr	r3, .L35+28
	ldr	r1, .L35+72
	ldr	r0, [r3]
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L34:
	ldr	r3, .L35+28
	ldr	r1, .L35+76
	ldr	r0, [r3]
	bl	_glfwInputError
	ldr	r3, .L35+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L36:
	.align	2
.L35:
	.word	GLFW_OPENGL_API
	.word	GLFW_OPENGL_ES_API
	.word	GLFW_NO_RESET_NOTIFICATION
	.word	GLFW_LOSE_CONTEXT_ON_RESET
	.word	GLFW_RELEASE_BEHAVIOR_NONE
	.word	GLFW_RELEASE_BEHAVIOR_FLUSH
	.word	GL_TRUE
	.word	GLFW_INVALID_ENUM
	.word	.LC0
	.word	GL_FALSE
	.word	GLFW_OPENGL_CORE_PROFILE
	.word	GLFW_OPENGL_COMPAT_PROFILE
	.word	GLFW_INVALID_VALUE
	.word	.LC3
	.word	.LC5
	.word	.LC1
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.word	.LC2
	.size	_glfwIsValidContextConfig, .-_glfwIsValidContextConfig
	.comm	GL_TRUE,4,4
	.comm	GL_FALSE,4,4
	.comm	GLFW_RELEASE_BEHAVIOR_NONE,4,4
	.comm	GLFW_RELEASE_BEHAVIOR_FLUSH,4,4
	.comm	GLFW_OPENGL_ES_API,4,4
	.comm	GLFW_OPENGL_CORE_PROFILE,4,4
	.comm	GLFW_OPENGL_COMPAT_PROFILE,4,4
	.comm	GLFW_OPENGL_API,4,4
	.comm	GLFW_NO_RESET_NOTIFICATION,4,4
	.comm	GLFW_LOSE_CONTEXT_ON_RESET,4,4
	.comm	GLFW_INVALID_VALUE,4,4
	.comm	GLFW_INVALID_ENUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
