	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_config_filter              ## -- Begin function egl_config_filter
	.p2align	4, 0x90
_egl_config_filter:                     ## @egl_config_filter
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %eax
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %r14
	movq	_EGL_NONE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %r14
	je	LBB0_23
## %bb.2:
	movl	%edi, %r15d
	addq	$16, %rbx
	jmp	LBB0_5
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_UNREACHABLE
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %r14
	addq	$16, %rbx
	cmpq	(%r12), %r14
	je	LBB0_20
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %r13
	movl	%r15d, %edi
	movq	%r14, %rsi
	leaq	-48(%rbp), %rdx
	callq	_egl_config_get_attrib
	testl	%eax, %eax
	je	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$-128, %r14
	cmpq	$34, %r14
	ja	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r14,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_EGL_DONT_CARE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	-48(%rbp), %r13
	jle	LBB0_4
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_EGL_DONT_CARE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	-48(%rbp), %r13
	je	LBB0_4
	jmp	LBB0_22
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_EGL_DONT_CARE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax
	notq	%rax
	testq	%rax, %r13
	je	LBB0_4
	jmp	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_EGL_DONT_CARE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_4
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	leaq	-52(%rbp), %r14
	movq	%r14, %rsi
	callq	_platform_get_pixmap_info
	testl	%eax, %eax
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_egl_config_match_pixmap_info
	testl	%eax, %eax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %edi
	callq	_egl_config_get_api_support
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_platform_match_pixmap_api_support
	testl	%eax, %eax
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_khrn_platform_release_pixmap_info
	jmp	LBB0_4
LBB0_19:
	xorl	%eax, %eax
	callq	_UNREACHABLE
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_20:
	movl	$1, %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	leaq	-52(%rbp), %rsi
	movl	%r13d, %edi
	callq	_khrn_platform_release_pixmap_info
	jmp	LBB0_22
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_14
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_EGL_NONE,8,3                   ## @EGL_NONE
	.comm	_EGL_DONT_CARE,8,3              ## @EGL_DONT_CARE
	.comm	_EGL_FORMAT_RGBA_8888_EXACT_KHR,8,3 ## @EGL_FORMAT_RGBA_8888_EXACT_KHR
	.comm	_EGL_FORMAT_RGBA_8888_KHR,8,3   ## @EGL_FORMAT_RGBA_8888_KHR
	.comm	_EGL_FORMAT_RGB_565_EXACT_KHR,8,3 ## @EGL_FORMAT_RGB_565_EXACT_KHR
	.comm	_EGL_FORMAT_RGB_565_KHR,8,3     ## @EGL_FORMAT_RGB_565_KHR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_config_filter              ; -- Begin function egl_config_filter
	.p2align	2
_egl_config_filter:                     ; @egl_config_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x21, [x1]
Lloh0:
	adrp	x22, _EGL_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EGL_NONE@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x21, x8
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	mov	x19, x0
	add	x23, x1, #16
Lloh2:
	adrp	x24, lJTI0_0@PAGE
Lloh3:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x25, _EGL_DONT_CARE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _EGL_DONT_CARE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25]
	ldr	x9, [sp, #8]
	cmp	x20, x8
	ccmp	x20, x9, #4, ne
	b.ne	LBB0_21
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x21, [x23], #16
	ldr	x8, [x22]
	cmp	x21, x8
	b.eq	LBB0_2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x20, [x23, #-8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_egl_config_get_attrib
	cbz	w0, LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x8, x21, #128
	cmp	x8, #34
	b.hi	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_5
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25]
	ldr	x9, [sp, #8]
	cmp	x20, x8
	ccmp	x20, x9, #4, ne
	b.le	LBB0_6
	b	LBB0_21
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25]
	cmp	x20, x8
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	bics	xzr, x20, x8
	b.eq	LBB0_6
	b	LBB0_21
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25]
	cmp	x20, x8
	b.eq	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #4
	mov	x0, x20
	bl	_platform_get_pixmap_info
	cbz	w0, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #4
	mov	x0, x19
	bl	_egl_config_match_pixmap_info
	cbz	w0, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_egl_config_get_api_support
	mov	x1, x0
	mov	x0, x20
	bl	_platform_match_pixmap_api_support
	cbz	w0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #4
	mov	x0, x20
	bl	_khrn_platform_release_pixmap_info
	b	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	cmp	x20, x8
	b.eq	LBB0_6
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_UNREACHABLE
	b	LBB0_6
LBB0_20:
	bl	_UNREACHABLE
LBB0_21:
	mov	w0, #0
	b	LBB0_3
LBB0_22:
	add	x1, sp, #4
	mov	x0, x20
	bl	_khrn_platform_release_pixmap_info
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
                                        ; -- End function
	.comm	_EGL_NONE,8,3                   ; @EGL_NONE
	.comm	_EGL_DONT_CARE,8,3              ; @EGL_DONT_CARE
	.comm	_EGL_FORMAT_RGBA_8888_EXACT_KHR,8,3 ; @EGL_FORMAT_RGBA_8888_EXACT_KHR
	.comm	_EGL_FORMAT_RGBA_8888_KHR,8,3   ; @EGL_FORMAT_RGBA_8888_KHR
	.comm	_EGL_FORMAT_RGB_565_EXACT_KHR,8,3 ; @EGL_FORMAT_RGB_565_EXACT_KHR
	.comm	_EGL_FORMAT_RGB_565_KHR,8,3     ; @EGL_FORMAT_RGB_565_KHR
.subsections_via_symbols
