	.file	"extr_wl_window.c__glfwPlatformCreateWindow.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_glfwPlatformCreateWindow
	.type	_glfwPlatformCreateWindow, @function
_glfwPlatformCreateWindow:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	createSurface@PLT
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR GLFW_NO_API[rip]
	cmp	QWORD PTR 0[r13], rax
	jne	.L17
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	jne	.L18
.L6:
	cmp	QWORD PTR 0[rbp], 0
	jne	.L19
.L7:
	mov	eax, DWORD PTR GLFW_FALSE[rip]
	mov	QWORD PTR 32[rbx], 0
	mov	DWORD PTR [rbx], eax
.L9:
	mov	QWORD PTR 24[rbx], 0
	mov	esi, 8
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR GLFW_TRUE[rip]
	mov	DWORD PTR 4[rbx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	xor	eax, eax
	call	_glfwInitEGL@PLT
	test	eax, eax
	jne	.L5
.L14:
	mov	eax, DWORD PTR GLFW_FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbx
	call	_glfwCreateContextEGL@PLT
	test	eax, eax
	je	.L14
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L6
.L18:
	call	strdup@PLT
	cmp	QWORD PTR 0[rbp], 0
	mov	DWORD PTR 40[rbx], eax
	je	.L7
.L19:
	mov	rdi, rbx
	call	createShellSurface@PLT
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR GLFW_TRUE[rip]
	mov	DWORD PTR [rbx], eax
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	_glfwPlatformCreateWindow, .-_glfwPlatformCreateWindow
	.comm	GLFW_TRUE,4,4
	.comm	GLFW_NO_API,8,8
	.comm	GLFW_FALSE,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_wl_window.c__glfwPlatformCreateWindow.c"
	.text
	.align	2
	.global	_glfwPlatformCreateWindow
	.syntax unified
	.arm
	.fpu softvfp
	.type	_glfwPlatformCreateWindow, %function
_glfwPlatformCreateWindow:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	mov	r6, r3
	mov	r4, r0
	mov	r5, r1
	bl	createSurface
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L20
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L17
	ldr	r0, [r5, #4]
	cmp	r0, #0
	bne	.L18
.L6:
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L19
.L7:
	ldr	r2, .L20+4
	ldr	r1, .L20+8
	ldr	r2, [r2]
	ldr	r5, [r1]
	str	r3, [r4, #20]
	str	r2, [r4]
.L9:
	mov	r6, #0
	mov	r1, #4
	str	r6, [r4, #16]
	mov	r0, #1
	bl	calloc
	mov	r3, #1
	str	r0, [r4, #12]
	str	r6, [r4, #8]
	mov	r0, r5
	str	r3, [r4, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	bl	_glfwInitEGL
	cmp	r0, #0
	bne	.L5
.L14:
	ldr	r3, .L20+4
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r2, r6
	mov	r1, r7
	mov	r0, r4
	bl	_glfwCreateContextEGL
	cmp	r0, #0
	beq	.L14
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L6
.L18:
	bl	strdup
	ldr	r3, [r5]
	str	r0, [r4, #24]
	cmp	r3, #0
	beq	.L7
.L19:
	mov	r0, r4
	bl	createShellSurface
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L20+8
	ldr	r5, [r3]
	str	r5, [r4]
	b	.L9
.L21:
	.align	2
.L20:
	.word	GLFW_NO_API
	.word	GLFW_FALSE
	.word	GLFW_TRUE
	.size	_glfwPlatformCreateWindow, .-_glfwPlatformCreateWindow
	.comm	GLFW_TRUE,4,4
	.comm	GLFW_NO_API,4,4
	.comm	GLFW_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
