	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_report_error               ## -- Begin function egl_report_error
	.p2align	4, 0x90
_egl_report_error:                      ## @egl_report_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_eglGetError
	movl	%eax, %ecx
	addl	$-128, %ecx
	cmpl	$12, %ecx
	ja	LBB0_1
## %bb.2:
	movslq	%ecx, %rcx
	leaq	l_reltable.egl_report_error(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rdx
	addq	%rsi, %rdx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.13(%rip), %rdx
LBB0_3:
	leaq	L_.str.14(%rip), %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_RARCH_ERR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EGL_SUCCESS"

L_.str.1:                               ## @.str.1
	.asciz	"EGL_BAD_ACCESS"

L_.str.2:                               ## @.str.2
	.asciz	"EGL_BAD_ALLOC"

L_.str.3:                               ## @.str.3
	.asciz	"EGL_BAD_ATTRIBUTE"

L_.str.4:                               ## @.str.4
	.asciz	"EGL_BAD_CONFIG"

L_.str.5:                               ## @.str.5
	.asciz	"EGL_BAD_CONTEXT"

L_.str.6:                               ## @.str.6
	.asciz	"EGL_BAD_CURRENT_SURFACE"

L_.str.7:                               ## @.str.7
	.asciz	"EGL_BAD_DISPLAY"

L_.str.8:                               ## @.str.8
	.asciz	"EGL_BAD_MATCH"

L_.str.9:                               ## @.str.9
	.asciz	"EGL_BAD_NATIVE_PIXMAP"

L_.str.10:                              ## @.str.10
	.asciz	"EGL_BAD_NATIVE_WINDOW"

L_.str.11:                              ## @.str.11
	.asciz	"EGL_BAD_PARAMETER"

L_.str.12:                              ## @.str.12
	.asciz	"EGL_BAD_SURFACE"

L_.str.13:                              ## @.str.13
	.asciz	"Unknown"

L_.str.14:                              ## @.str.14
	.asciz	"[EGL]: #0x%x, %s\n"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.egl_report_error
l_reltable.egl_report_error:
	.long	L_.str-l_reltable.egl_report_error
	.long	L_.str.12-l_reltable.egl_report_error
	.long	L_.str.11-l_reltable.egl_report_error
	.long	L_.str.10-l_reltable.egl_report_error
	.long	L_.str.9-l_reltable.egl_report_error
	.long	L_.str.8-l_reltable.egl_report_error
	.long	L_.str.7-l_reltable.egl_report_error
	.long	L_.str.6-l_reltable.egl_report_error
	.long	L_.str.5-l_reltable.egl_report_error
	.long	L_.str.4-l_reltable.egl_report_error
	.long	L_.str.3-l_reltable.egl_report_error
	.long	L_.str.2-l_reltable.egl_report_error
	.long	L_.str.1-l_reltable.egl_report_error

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_report_error               ; -- Begin function egl_report_error
	.p2align	2
_egl_report_error:                      ; @egl_report_error
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_eglGetError
	mov	x1, x0
	sub	w8, w0, #128
	cmp	w8, #12
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.egl_report_error@PAGE
Lloh1:
	add	x9, x9, l_switch.table.egl_report_error@PAGEOFF
	ldr	x2, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x2, l_.str.13@PAGE
Lloh3:
	add	x2, x2, l_.str.13@PAGEOFF
LBB0_3:
Lloh4:
	adrp	x0, l_.str.14@PAGE
Lloh5:
	add	x0, x0, l_.str.14@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_RARCH_ERR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EGL_SUCCESS"

l_.str.1:                               ; @.str.1
	.asciz	"EGL_BAD_ACCESS"

l_.str.2:                               ; @.str.2
	.asciz	"EGL_BAD_ALLOC"

l_.str.3:                               ; @.str.3
	.asciz	"EGL_BAD_ATTRIBUTE"

l_.str.4:                               ; @.str.4
	.asciz	"EGL_BAD_CONFIG"

l_.str.5:                               ; @.str.5
	.asciz	"EGL_BAD_CONTEXT"

l_.str.6:                               ; @.str.6
	.asciz	"EGL_BAD_CURRENT_SURFACE"

l_.str.7:                               ; @.str.7
	.asciz	"EGL_BAD_DISPLAY"

l_.str.8:                               ; @.str.8
	.asciz	"EGL_BAD_MATCH"

l_.str.9:                               ; @.str.9
	.asciz	"EGL_BAD_NATIVE_PIXMAP"

l_.str.10:                              ; @.str.10
	.asciz	"EGL_BAD_NATIVE_WINDOW"

l_.str.11:                              ; @.str.11
	.asciz	"EGL_BAD_PARAMETER"

l_.str.12:                              ; @.str.12
	.asciz	"EGL_BAD_SURFACE"

l_.str.13:                              ; @.str.13
	.asciz	"Unknown"

l_.str.14:                              ; @.str.14
	.asciz	"[EGL]: #0x%x, %s\n"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.egl_report_error
l_switch.table.egl_report_error:
	.quad	l_.str
	.quad	l_.str.12
	.quad	l_.str.11
	.quad	l_.str.10
	.quad	l_.str.9
	.quad	l_.str.8
	.quad	l_.str.7
	.quad	l_.str.6
	.quad	l_.str.5
	.quad	l_.str.4
	.quad	l_.str.3
	.quad	l_.str.2
	.quad	l_.str.1

.subsections_via_symbols
