	.file	"extr_context_wayland.c_egl_create_window.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	egl_create_window, @function
egl_create_window:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, QWORD PTR 8[rdi]
	mov	rbp, QWORD PTR [rax]
	mov	edi, DWORD PTR 0[rbp]
	call	mp_rect_h@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r12d, eax
	call	mp_rect_w@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	edx, r12d
	mov	esi, eax
	call	wl_egl_window_create@PLT
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rbx]
	xor	ecx, ecx
	mov	DWORD PTR 12[rbx], eax
	mov	edx, eax
	call	eglCreateWindowSurface@PLT
	mov	edi, DWORD PTR [rbx]
	mov	ecx, DWORD PTR 4[rbx]
	mov	DWORD PTR 8[rbx], eax
	mov	esi, eax
	mov	edx, eax
	call	eglMakeCurrent@PLT
	mov	edi, DWORD PTR [rbx]
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	eglSwapInterval@PLT
	.cfi_endproc
.LFE0:
	.size	egl_create_window, .-egl_create_window
	.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_wayland.c_egl_create_window.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	egl_create_window, %function
egl_create_window:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r3, r4}
	ldr	r6, [r3]
	ldm	r6, {r0, r7}
	bl	mp_rect_w
	mov	r5, r0
	ldr	r0, [r6]
	bl	mp_rect_h
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	wl_egl_window_create
	ldr	r1, [r4, #16]
	mov	r2, r0
	str	r0, [r4, #12]
	mov	r3, #0
	ldr	r0, [r4]
	bl	eglCreateWindowSurface
	mov	r2, r0
	str	r0, [r4, #8]
	mov	r1, r2
	ldr	r3, [r4, #4]
	ldr	r0, [r4]
	bl	eglMakeCurrent
	ldr	r0, [r4]
	mov	r1, #0
	pop	{r4, r5, r6, r7, r8, lr}
	b	eglSwapInterval
	.size	egl_create_window, .-egl_create_window
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
