	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_default_accept_config_cb   ## -- Begin function egl_default_accept_config_cb
	.p2align	4, 0x90
_egl_default_accept_config_cb:          ## @egl_default_accept_config_cb
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	_EGL_RED_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	movl	%esi, %edi
	movl	%r15d, %esi
	callq	_eglGetConfigAttrib
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_EGL_GREEN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_eglGetConfigAttrib
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	_EGL_BLUE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_eglGetConfigAttrib
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	-36(%rbp), %eax
	xorl	$8, %eax
	movl	-32(%rbp), %ecx
	xorl	$8, %ecx
	orl	%eax, %ecx
	movl	-28(%rbp), %eax
	xorl	$8, %eax
	xorl	%r14d, %r14d
	orl	%ecx, %eax
	sete	%r14b
LBB0_4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_RED_SIZE,4,2               ## @EGL_RED_SIZE
	.comm	_EGL_GREEN_SIZE,4,2             ## @EGL_GREEN_SIZE
	.comm	_EGL_BLUE_SIZE,4,2              ## @EGL_BLUE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_default_accept_config_cb   ; -- Begin function egl_default_accept_config_cb
	.p2align	2
_egl_default_accept_config_cb:          ; @egl_default_accept_config_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _EGL_RED_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EGL_RED_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x1
	mov	x1, x19
	bl	_eglGetConfigAttrib
	cbz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _EGL_GREEN_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EGL_GREEN_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_eglGetConfigAttrib
	cbz	w0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _EGL_BLUE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EGL_BLUE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x19
	bl	_eglGetConfigAttrib
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
	cmp	w8, #8
	ldr	w8, [sp, #8]
	ccmp	w8, #8, #0, eq
	ldr	w8, [sp, #4]
	ccmp	w8, #8, #0, eq
	cset	w0, eq
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_RED_SIZE,4,2               ; @EGL_RED_SIZE
	.comm	_EGL_GREEN_SIZE,4,2             ; @EGL_GREEN_SIZE
	.comm	_EGL_BLUE_SIZE,4,2              ; @EGL_BLUE_SIZE
.subsections_via_symbols
