	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_init                        ## -- Begin function gl_init
	.p2align	4, 0x90
_gl_init:                               ## @gl_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -88(%rbp)
	movq	%rsi, -80(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, -60(%rbp)
	movq	_EGL_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	leaq	-88(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_gl_platform_init
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
LBB0_2:
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_18
LBB0_3:
	movl	$1, %edi
	movl	$1048576, %esi                  ## imm = 0x100000
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r14
	movl	-88(%rbp), %edi
	callq	_eglGetDisplay
	movq	_edpy@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movq	_EGL_NO_DISPLAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_17
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_7:
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_eglInitialize
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	movq	(%r15), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-96(%rbp), %r8
	movl	$1, %ecx
	callq	_eglChooseConfig
	testl	%eax, %eax
	je	LBB0_14
## %bb.9:
	movq	-72(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.10:
	cmpq	$0, -96(%rbp)
	je	LBB0_16
## %bb.11:
	movq	(%r15), %rdi
	movl	-80(%rbp), %edx
	xorl	%ecx, %ecx
	callq	_eglCreateWindowSurface
	movq	_esfc@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	_EGL_NO_SURFACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_eglGetError
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_15
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_17
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_eglGetError
	leaq	L_.str.4(%rip), %rsi
LBB0_15:
	movl	%ebx, %edi
	jmp	LBB0_2
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_17:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_18:
	movl	$-1, %ebx
LBB0_19:
	movq	%r14, %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.20:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	(%r15), %rdi
	movq	-72(%rbp), %rsi
	movq	_EGL_NO_CONTEXT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	xorl	%ecx, %ecx
	callq	_eglCreateContext
	movq	_ectxt@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpq	(%rbx), %rax
	jne	LBB0_23
## %bb.22:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_eglGetError
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_15
LBB0_23:
	movq	(%r15), %rdi
	movq	(%r12), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rcx
	callq	_eglMakeCurrent
	movq	_GL_TEXTURE_2D@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_glEnable
	leaq	-60(%rbp), %rsi
	movl	$1, %edi
	callq	_glGenTextures
	movl	(%rbx), %edi
	movl	-60(%rbp), %esi
	callq	_glBindTexture
	movl	(%rbx), %edi
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GL_UNSIGNED_SHORT_5_6_5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	$1024, %ecx                     ## imm = 0x400
	movl	$512, %r8d                      ## imm = 0x200
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%rax
	pushq	%rdx
	callq	_glTexImage2D
	addq	$32, %rsp
	leaq	L_.str.8(%rip), %rdi
	callq	_gl_have_error
	testq	%rax, %rax
	jne	LBB0_18
## %bb.25:
	movl	(%rbx), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_LINEAR@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_glTexParameterf
	movl	(%rbx), %edi
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	callq	_glTexParameterf
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_glLoadIdentity
	movq	_GL_CW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glFrontFace
	movq	_GL_CULL_FACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glEnable
	movq	_GL_TEXTURE_COORD_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glEnableClientState
	movq	_GL_VERTEX_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glEnableClientState
	leaq	L_.str.9(%rip), %rdi
	callq	_gl_have_error
	testq	%rax, %rax
	jne	LBB0_18
## %bb.27:
	movq	(%r15), %rax
	movq	_gl_es_display@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%r12), %rax
	movq	_gl_es_surface@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_19
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_NONE,8,3                   ## @EGL_NONE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gl_platform_init failed with %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"OOM\n"

	.comm	_edpy,8,3                       ## @edpy
	.comm	_EGL_NO_DISPLAY,8,3             ## @EGL_NO_DISPLAY
L_.str.2:                               ## @.str.2
	.asciz	"Failed to get EGL display\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to initialize EGL\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to choose config (%x)\n"

L_.str.5:                               ## @.str.5
	.asciz	"No EGL configs available\n"

	.comm	_esfc,8,3                       ## @esfc
	.comm	_EGL_NO_SURFACE,8,3             ## @EGL_NO_SURFACE
L_.str.6:                               ## @.str.6
	.asciz	"Unable to create EGL surface (%x)\n"

	.comm	_EGL_NO_CONTEXT,8,3             ## @EGL_NO_CONTEXT
	.comm	_ectxt,8,3                      ## @ectxt
L_.str.7:                               ## @.str.7
	.asciz	"Unable to create EGL context (%x)\n"

	.comm	_GL_TEXTURE_2D,4,2              ## @GL_TEXTURE_2D
	.comm	_GL_RGB,4,2                     ## @GL_RGB
	.comm	_GL_UNSIGNED_SHORT_5_6_5,4,2    ## @GL_UNSIGNED_SHORT_5_6_5
L_.str.8:                               ## @.str.8
	.asciz	"glTexImage2D"

	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ## @GL_TEXTURE_MIN_FILTER
	.comm	_GL_LINEAR,4,2                  ## @GL_LINEAR
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ## @GL_TEXTURE_MAG_FILTER
	.comm	_GL_CW,4,2                      ## @GL_CW
	.comm	_GL_CULL_FACE,4,2               ## @GL_CULL_FACE
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ## @GL_TEXTURE_COORD_ARRAY
	.comm	_GL_VERTEX_ARRAY,4,2            ## @GL_VERTEX_ARRAY
L_.str.9:                               ## @.str.9
	.asciz	"init"

	.comm	_gl_es_display,8,3              ## @gl_es_display
	.comm	_gl_es_surface,8,3              ## @gl_es_surface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_init                        ; -- Begin function gl_init
	.p2align	2
_gl_init:                               ; @gl_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	x1, x0, [sp, #32]
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
Lloh3:
	adrp	x8, _EGL_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EGL_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #48]
	add	x0, sp, #40
	add	x1, sp, #32
	bl	_gl_platform_init
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_fprintf
	mov	x19, #0
	b	LBB0_17
LBB0_2:
	mov	w0, #1
	mov	w1, #1048576
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [sp, #40]
	bl	_eglGetDisplay
Lloh11:
	adrp	x21, _edpy@GOTPAGE
Lloh12:
	ldr	x21, [x21, _edpy@GOTPAGEOFF]
	str	x0, [x21]
Lloh13:
	adrp	x8, _EGL_NO_DISPLAY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EGL_NO_DISPLAY@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_5:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_6:
	mov	x1, #0
	mov	x2, #0
	bl	_eglInitialize
	cbz	w0, LBB0_12
; %bb.7:
	ldr	x0, [x21]
	add	x1, sp, #48
	add	x2, sp, #24
	add	x4, sp, #8
	mov	w3, #1
	bl	_eglChooseConfig
	cbz	w0, LBB0_13
; %bb.8:
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_15
; %bb.9:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_15
; %bb.10:
	ldr	x0, [x21]
	ldr	w2, [sp, #32]
	mov	x3, #0
	bl	_eglCreateWindowSurface
Lloh26:
	adrp	x22, _esfc@GOTPAGE
Lloh27:
	ldr	x22, [x22, _esfc@GOTPAGEOFF]
	str	x0, [x22]
Lloh28:
	adrp	x8, _EGL_NO_SURFACE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EGL_NO_SURFACE@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.11:
Lloh31:
	adrp	x8, _stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh33:
	ldr	w20, [x8]
	bl	_eglGetError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh36:
	adrp	x8, _stderr@GOTPAGE
Lloh37:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_13:
Lloh41:
	adrp	x8, _stderr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
	ldr	w20, [x8]
	bl	_eglGetError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh44:
	adrp	x1, l_.str.4@PAGE
Lloh45:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_14:
	mov	x0, x20
	b	LBB0_16
LBB0_15:
Lloh46:
	adrp	x8, _stderr@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_16:
	bl	_fprintf
LBB0_17:
	mov	w20, #-1
LBB0_18:
	mov	x0, x19
	bl	_free
	ldr	x8, [sp, #56]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.19:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
	ldr	x0, [x21]
	ldr	x1, [sp, #24]
Lloh54:
	adrp	x20, _EGL_NO_CONTEXT@GOTPAGE
Lloh55:
	ldr	x20, [x20, _EGL_NO_CONTEXT@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	x3, #0
	bl	_eglCreateContext
Lloh56:
	adrp	x8, _ectxt@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ectxt@GOTPAGEOFF]
Lloh58:
	str	x0, [x8]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_22
; %bb.21:
Lloh59:
	adrp	x8, _stderr@GOTPAGE
Lloh60:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh61:
	ldr	w20, [x8]
	bl	_eglGetError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh62:
	adrp	x1, l_.str.7@PAGE
Lloh63:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_22:
	mov	x3, x0
	ldr	x0, [x21]
	ldr	x1, [x22]
	mov	x2, x1
	bl	_eglMakeCurrent
Lloh64:
	adrp	x20, _GL_TEXTURE_2D@GOTPAGE
Lloh65:
	ldr	x20, [x20, _GL_TEXTURE_2D@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_glEnable
	add	x1, sp, #20
	mov	w0, #1
	bl	_glGenTextures
	ldr	w0, [x20]
	ldr	w1, [sp, #20]
	bl	_glBindTexture
	ldr	w0, [x20]
Lloh66:
	adrp	x8, _GL_RGB@GOTPAGE
Lloh67:
	ldr	x8, [x8, _GL_RGB@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
Lloh69:
	adrp	x8, _GL_UNSIGNED_SHORT_5_6_5@GOTPAGE
Lloh70:
	ldr	x8, [x8, _GL_UNSIGNED_SHORT_5_6_5@GOTPAGEOFF]
Lloh71:
	ldr	w7, [x8]
	str	x19, [sp]
	mov	w1, #0
	mov	w3, #1024
	mov	w4, #512
	mov	w5, #0
	mov	x6, x2
	bl	_glTexImage2D
Lloh72:
	adrp	x0, l_.str.8@PAGE
Lloh73:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_gl_have_error
	cbnz	x0, LBB0_17
; %bb.23:
	ldr	w0, [x20]
Lloh74:
	adrp	x8, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh75:
	ldr	x8, [x8, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
Lloh77:
	adrp	x23, _GL_LINEAR@GOTPAGE
Lloh78:
	ldr	x23, [x23, _GL_LINEAR@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_glTexParameterf
	ldr	w0, [x20]
Lloh79:
	adrp	x8, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh80:
	ldr	x8, [x8, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	ldr	w2, [x23]
	bl	_glTexParameterf
	bl	_glLoadIdentity
Lloh82:
	adrp	x8, _GL_CW@GOTPAGE
Lloh83:
	ldr	x8, [x8, _GL_CW@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
	bl	_glFrontFace
Lloh85:
	adrp	x8, _GL_CULL_FACE@GOTPAGE
Lloh86:
	ldr	x8, [x8, _GL_CULL_FACE@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
	bl	_glEnable
Lloh88:
	adrp	x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGE
Lloh89:
	ldr	x8, [x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
	bl	_glEnableClientState
Lloh91:
	adrp	x8, _GL_VERTEX_ARRAY@GOTPAGE
Lloh92:
	ldr	x8, [x8, _GL_VERTEX_ARRAY@GOTPAGEOFF]
Lloh93:
	ldr	w0, [x8]
	bl	_glEnableClientState
Lloh94:
	adrp	x0, l_.str.9@PAGE
Lloh95:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_gl_have_error
	cbnz	x0, LBB0_17
; %bb.24:
	mov	w20, #0
Lloh96:
	adrp	x8, _gl_es_display@GOTPAGE
Lloh97:
	ldr	x8, [x8, _gl_es_display@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh98:
	str	x9, [x8]
	ldr	x8, [x22]
Lloh99:
	adrp	x9, _gl_es_surface@GOTPAGE
Lloh100:
	ldr	x9, [x9, _gl_es_surface@GOTPAGEOFF]
Lloh101:
	str	x8, [x9]
	b	LBB0_18
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotStr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotStr	Lloh96, Lloh97, Lloh98
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_NONE,8,3                   ; @EGL_NONE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gl_platform_init failed with %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"OOM\n"

	.comm	_edpy,8,3                       ; @edpy
	.comm	_EGL_NO_DISPLAY,8,3             ; @EGL_NO_DISPLAY
l_.str.2:                               ; @.str.2
	.asciz	"Failed to get EGL display\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to initialize EGL\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to choose config (%x)\n"

l_.str.5:                               ; @.str.5
	.asciz	"No EGL configs available\n"

	.comm	_esfc,8,3                       ; @esfc
	.comm	_EGL_NO_SURFACE,8,3             ; @EGL_NO_SURFACE
l_.str.6:                               ; @.str.6
	.asciz	"Unable to create EGL surface (%x)\n"

	.comm	_EGL_NO_CONTEXT,8,3             ; @EGL_NO_CONTEXT
	.comm	_ectxt,8,3                      ; @ectxt
l_.str.7:                               ; @.str.7
	.asciz	"Unable to create EGL context (%x)\n"

	.comm	_GL_TEXTURE_2D,4,2              ; @GL_TEXTURE_2D
	.comm	_GL_RGB,4,2                     ; @GL_RGB
	.comm	_GL_UNSIGNED_SHORT_5_6_5,4,2    ; @GL_UNSIGNED_SHORT_5_6_5
l_.str.8:                               ; @.str.8
	.asciz	"glTexImage2D"

	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ; @GL_TEXTURE_MIN_FILTER
	.comm	_GL_LINEAR,4,2                  ; @GL_LINEAR
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ; @GL_TEXTURE_MAG_FILTER
	.comm	_GL_CW,4,2                      ; @GL_CW
	.comm	_GL_CULL_FACE,4,2               ; @GL_CULL_FACE
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ; @GL_TEXTURE_COORD_ARRAY
	.comm	_GL_VERTEX_ARRAY,4,2            ; @GL_VERTEX_ARRAY
l_.str.9:                               ; @.str.9
	.asciz	"init"

	.comm	_gl_es_display,8,3              ; @gl_es_display
	.comm	_gl_es_surface,8,3              ; @gl_es_surface
.subsections_via_symbols
