	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_context_get_attrib         ## -- Begin function egl_context_get_attrib
	.p2align	4, 0x90
_egl_context_get_attrib:                ## @egl_context_get_attrib
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-131, %esi
	cmpl	$3, %esi
	ja	LBB0_5
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	(%rdi), %eax
	jmp	LBB0_14
LBB0_3:
	movl	4(%rdi), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_11
## %bb.4:
	movq	_EGL_OPENGL_ES_API@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movq	_EGL_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	movl	4(%rdi), %eax
	cmpl	$130, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$129, %eax
	je	LBB0_18
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_17
LBB0_9:
	movl	$1, (%rdx)
	jmp	LBB0_15
LBB0_10:
	movl	8(%rdi), %eax
	jmp	LBB0_14
LBB0_11:
	cmpl	$128, %eax
	jne	LBB0_17
## %bb.12:
	movq	_EGL_OPENVG_API@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
LBB0_14:
	movl	%eax, (%rdx)
LBB0_15:
	movq	_EGL_TRUE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_17:
	xorl	%eax, %eax
	callq	_UNREACHABLE
	jmp	LBB0_15
LBB0_18:
	movl	$2, (%rdx)
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EGL_TRUE,4,2                   ## @EGL_TRUE
	.comm	_EGL_OPENGL_ES_API,4,2          ## @EGL_OPENGL_ES_API
	.comm	_EGL_OPENVG_API,4,2             ## @EGL_OPENVG_API
	.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_get_attrib         ; -- Begin function egl_context_get_attrib
	.p2align	2
_egl_context_get_attrib:                ; @egl_context_get_attrib
	.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
	sub	w8, w1, #131
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x0]
	b	LBB0_15
LBB0_3:
	ldr	w8, [x0, #4]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_11
; %bb.4:
Lloh2:
	adrp	x8, _EGL_OPENGL_ES_API@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EGL_OPENGL_ES_API@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	b	LBB0_15
LBB0_5:
Lloh5:
	adrp	x8, _EGL_FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EGL_FALSE@GOTPAGEOFF]
	b	LBB0_17
LBB0_6:
	ldr	w8, [x0, #4]
	cmp	w8, #130
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #129
	b.eq	LBB0_14
; %bb.8:
	cmp	w8, #128
	b.ne	LBB0_13
LBB0_9:
	mov	w8, #1
	b	LBB0_15
LBB0_10:
	ldr	w8, [x0, #8]
	b	LBB0_15
LBB0_11:
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.12:
Lloh7:
	adrp	x8, _EGL_OPENVG_API@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EGL_OPENVG_API@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	b	LBB0_15
LBB0_13:
	bl	_UNREACHABLE
	b	LBB0_16
LBB0_14:
	mov	w8, #2
LBB0_15:
	str	w8, [x2]
LBB0_16:
Lloh10:
	adrp	x8, _EGL_TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EGL_TRUE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_EGL_TRUE,4,2                   ; @EGL_TRUE
	.comm	_EGL_OPENGL_ES_API,4,2          ; @EGL_OPENGL_ES_API
	.comm	_EGL_OPENVG_API,4,2             ; @EGL_OPENVG_API
	.comm	_EGL_FALSE,4,2                  ; @EGL_FALSE
.subsections_via_symbols
