	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initEGLFunc                    ## -- Begin function initEGLFunc
	.p2align	4, 0x90
_initEGLFunc:                           ## @initEGLFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_RTLD_LAZY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dlopen
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_dlsym
	movq	_eglGetCurrentDisplay@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	_eglGetCurrentSurface@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	_eglGetCurrentContext@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	_eglQuerySurface@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	_eglSwapInterval@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	_eglMakeCurrent@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	_eglSwapBuffers@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	_eglQueryString@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dlsym
	movq	%rax, %rcx
	movq	_eglGetError@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	callq	_dlerror
	movl	%eax, %edi
	callq	_yprintf
	movl	$-1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libEGL.so"

	.comm	_RTLD_LAZY,4,2                  ## @RTLD_LAZY
L_.str.1:                               ## @.str.1
	.asciz	"eglGetCurrentDisplay"

	.comm	_eglGetCurrentDisplay,8,3       ## @eglGetCurrentDisplay
L_.str.2:                               ## @.str.2
	.asciz	"eglGetCurrentSurface"

	.comm	_eglGetCurrentSurface,8,3       ## @eglGetCurrentSurface
L_.str.3:                               ## @.str.3
	.asciz	"eglGetCurrentContext"

	.comm	_eglGetCurrentContext,8,3       ## @eglGetCurrentContext
L_.str.4:                               ## @.str.4
	.asciz	"eglQuerySurface"

	.comm	_eglQuerySurface,8,3            ## @eglQuerySurface
L_.str.5:                               ## @.str.5
	.asciz	"eglSwapInterval"

	.comm	_eglSwapInterval,8,3            ## @eglSwapInterval
L_.str.6:                               ## @.str.6
	.asciz	"eglMakeCurrent"

	.comm	_eglMakeCurrent,8,3             ## @eglMakeCurrent
L_.str.7:                               ## @.str.7
	.asciz	"eglSwapBuffers"

	.comm	_eglSwapBuffers,8,3             ## @eglSwapBuffers
L_.str.8:                               ## @.str.8
	.asciz	"eglQueryString"

	.comm	_eglQueryString,8,3             ## @eglQueryString
L_.str.9:                               ## @.str.9
	.asciz	"eglGetError"

	.comm	_eglGetError,8,3                ## @eglGetError
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initEGLFunc                    ; -- Begin function initEGLFunc
	.p2align	2
_initEGLFunc:                           ; @initEGLFunc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _RTLD_LAZY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTLD_LAZY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlopen
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dlsym
Lloh7:
	adrp	x8, _eglGetCurrentDisplay@GOTPAGE
Lloh8:
	ldr	x8, [x8, _eglGetCurrentDisplay@GOTPAGEOFF]
Lloh9:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.2:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh12:
	adrp	x8, _eglGetCurrentSurface@GOTPAGE
Lloh13:
	ldr	x8, [x8, _eglGetCurrentSurface@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.3:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh17:
	adrp	x8, _eglGetCurrentContext@GOTPAGE
Lloh18:
	ldr	x8, [x8, _eglGetCurrentContext@GOTPAGEOFF]
Lloh19:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.4:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh22:
	adrp	x8, _eglQuerySurface@GOTPAGE
Lloh23:
	ldr	x8, [x8, _eglQuerySurface@GOTPAGEOFF]
Lloh24:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.5:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh27:
	adrp	x8, _eglSwapInterval@GOTPAGE
Lloh28:
	ldr	x8, [x8, _eglSwapInterval@GOTPAGEOFF]
Lloh29:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.6:
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh32:
	adrp	x8, _eglMakeCurrent@GOTPAGE
Lloh33:
	ldr	x8, [x8, _eglMakeCurrent@GOTPAGEOFF]
Lloh34:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.7:
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh37:
	adrp	x8, _eglSwapBuffers@GOTPAGE
Lloh38:
	ldr	x8, [x8, _eglSwapBuffers@GOTPAGEOFF]
Lloh39:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.8:
Lloh40:
	adrp	x1, l_.str.8@PAGE
Lloh41:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh42:
	adrp	x8, _eglQueryString@GOTPAGE
Lloh43:
	ldr	x8, [x8, _eglQueryString@GOTPAGEOFF]
Lloh44:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.9:
Lloh45:
	adrp	x1, l_.str.9@PAGE
Lloh46:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dlsym
Lloh47:
	adrp	x8, _eglGetError@GOTPAGE
Lloh48:
	ldr	x8, [x8, _eglGetError@GOTPAGEOFF]
Lloh49:
	str	x0, [x8]
	cbz	x0, LBB0_11
; %bb.10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	bl	_dlerror
	bl	_yprintf
	mov	w0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libEGL.so"

	.comm	_RTLD_LAZY,4,2                  ; @RTLD_LAZY
l_.str.1:                               ; @.str.1
	.asciz	"eglGetCurrentDisplay"

	.comm	_eglGetCurrentDisplay,8,3       ; @eglGetCurrentDisplay
l_.str.2:                               ; @.str.2
	.asciz	"eglGetCurrentSurface"

	.comm	_eglGetCurrentSurface,8,3       ; @eglGetCurrentSurface
l_.str.3:                               ; @.str.3
	.asciz	"eglGetCurrentContext"

	.comm	_eglGetCurrentContext,8,3       ; @eglGetCurrentContext
l_.str.4:                               ; @.str.4
	.asciz	"eglQuerySurface"

	.comm	_eglQuerySurface,8,3            ; @eglQuerySurface
l_.str.5:                               ; @.str.5
	.asciz	"eglSwapInterval"

	.comm	_eglSwapInterval,8,3            ; @eglSwapInterval
l_.str.6:                               ; @.str.6
	.asciz	"eglMakeCurrent"

	.comm	_eglMakeCurrent,8,3             ; @eglMakeCurrent
l_.str.7:                               ; @.str.7
	.asciz	"eglSwapBuffers"

	.comm	_eglSwapBuffers,8,3             ; @eglSwapBuffers
l_.str.8:                               ; @.str.8
	.asciz	"eglQueryString"

	.comm	_eglQueryString,8,3             ; @eglQueryString
l_.str.9:                               ; @.str.9
	.asciz	"eglGetError"

	.comm	_eglGetError,8,3                ; @eglGetError
.subsections_via_symbols
