	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_context_check_attribs      ## -- Begin function egl_context_check_attribs
	.p2align	4, 0x90
_egl_context_check_attribs:             ## @egl_context_check_attribs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EGL_TRUE@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	_EGL_FALSE@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ecx
	cmpl	$129, %ecx
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, %ecx
	jg	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, (%rdx)
	addq	$8, %rdi
	jmp	LBB0_2
LBB0_3:
	cmpl	$128, %ecx
	je	LBB0_5
LBB0_4:
	movq	%r8, %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_TRUE,4,2                   ## @EGL_TRUE
	.comm	_EGL_FALSE,4,2                  ## @EGL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_context_check_attribs      ; -- Begin function egl_context_check_attribs
	.p2align	2
_egl_context_check_attribs:             ; @egl_context_check_attribs
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, _EGL_TRUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EGL_TRUE@GOTPAGEOFF]
Lloh2:
	adrp	x8, _EGL_FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EGL_FALSE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0]
	cmp	w10, #129
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x0, #4]
	cmp	w10, #1
	ccmp	w10, w1, #0, ge
	b.gt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w10, [x2]
	add	x0, x0, #8
	b	LBB0_2
LBB0_5:
Lloh4:
	adrp	x8, _EGL_TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EGL_TRUE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
LBB0_6:
	cmp	w10, #128
Lloh7:
	adrp	x8, _EGL_FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EGL_FALSE@GOTPAGEOFF]
	csel	x8, x9, x8, eq
LBB0_7:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_TRUE,4,2                   ; @EGL_TRUE
	.comm	_EGL_FALSE,4,2                  ; @EGL_FALSE
.subsections_via_symbols
