	.file	"700926.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/700926.c"
	.align 8
.LC1:
	.string	"eglChooseConfig((EGLDisplay) display, attr, &ecfg, 1, &num_config) == EGL_TRUE"
.LC2:
	.string	"surface != EGL_NO_SURFACE"
.LC3:
	.string	"surface != EGL_NO_CONTEXT"
	.align 8
.LC4:
	.string	"eglMakeCurrent((EGLDisplay) display, surface, surface, context) == EGL_TRUE"
.LC5:
	.string	"stop"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 12320
	mov	DWORD PTR -28[rbp], 32
	mov	DWORD PTR -24[rbp], 12352
	mov	DWORD PTR -20[rbp], 4
	mov	DWORD PTR -16[rbp], 12344
	mov	DWORD PTR -44[rbp], 12440
	mov	DWORD PTR -40[rbp], 2
	mov	DWORD PTR -36[rbp], 12344
	mov	edi, 0
	call	eglGetDisplay@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	eglInitialize@PLT
	lea	rcx, -84[rbp]
	lea	rdx, -80[rbp]
	lea	rsi, -32[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, rcx
	mov	ecx, 1
	mov	rdi, rax
	call	eglChooseConfig@PLT
	cmp	eax, 1
	je	.L2
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 43
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	eglCreateWindowSurface@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L3
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 45
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L3:
	mov	rsi, QWORD PTR -80[rbp]
	lea	rdx, -44[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	eglCreateContext@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 47
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L4:
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	eglMakeCurrent@PLT
	cmp	eax, 1
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 48
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L5:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"700926.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"the_stack_data/700926.c\000"
	.align	2
.LC3:
	.ascii	"eglChooseConfig((EGLDisplay) display, attr, &ecfg, "
	.ascii	"1, &num_config) == EGL_TRUE\000"
	.align	2
.LC4:
	.ascii	"surface != EGL_NO_SURFACE\000"
	.align	2
.LC5:
	.ascii	"surface != EGL_NO_CONTEXT\000"
	.align	2
.LC6:
	.ascii	"eglMakeCurrent((EGLDisplay) display, surface, surfa"
	.ascii	"ce, context) == EGL_TRUE\000"
	.align	2
.LC7:
	.ascii	"stop\000"
	.align	2
.LC0:
	.word	12320
	.word	32
	.word	12352
	.word	4
	.word	12344
	.align	2
.LC1:
	.word	12440
	.word	2
	.word	12344
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L8+4
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r2, .L8+8
	sub	r3, fp, #40
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r0, #0
	bl	eglGetDisplay
	str	r0, [fp, #-52]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	eglInitialize
	sub	r2, fp, #60
	sub	r1, fp, #28
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #1
	ldr	r0, [fp, #-52]
	bl	eglChooseConfig
	mov	r3, r0
	cmp	r3, #1
	beq	.L2
	ldr	r3, .L8+12
	mov	r2, #43
	ldr	r1, .L8+16
	ldr	r0, .L8+20
	bl	__assert_fail
.L2:
	ldr	r1, [fp, #-60]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-52]
	bl	eglCreateWindowSurface
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L8+12
	mov	r2, #45
	ldr	r1, .L8+16
	ldr	r0, .L8+24
	bl	__assert_fail
.L3:
	ldr	r1, [fp, #-60]
	sub	r3, fp, #40
	mov	r2, #0
	ldr	r0, [fp, #-52]
	bl	eglCreateContext
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L8+12
	mov	r2, #47
	ldr	r1, .L8+16
	ldr	r0, .L8+28
	bl	__assert_fail
.L4:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-52]
	bl	eglMakeCurrent
	mov	r3, r0
	cmp	r3, #1
	beq	.L5
	ldr	r3, .L8+12
	mov	r2, #48
	ldr	r1, .L8+16
	ldr	r0, .L8+32
	bl	__assert_fail
.L5:
	ldr	r0, .L8+36
	bl	puts
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	__PRETTY_FUNCTION__.8387
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.8387, %object
	.size	__PRETTY_FUNCTION__.8387, 5
__PRETTY_FUNCTION__.8387:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
