	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_gltype
_convert_gltype:                        ## @convert_gltype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %edi
	jne	LBB0_4
## %bb.2:
	movq	_EGL_SERVER_GL11@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	movq	_EGL_SERVER_GL20@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_UNREACHABLE
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_SERVER_GL11,4,2            ## @EGL_SERVER_GL11
	.comm	_EGL_SERVER_GL20,4,2            ## @EGL_SERVER_GL20
	.no_dead_strip	_convert_gltype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_gltype
_convert_gltype:                        ; @convert_gltype
	.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
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _EGL_SERVER_GL11@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EGL_SERVER_GL11@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _EGL_SERVER_GL20@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EGL_SERVER_GL20@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_UNREACHABLE
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_SERVER_GL11,4,2            ; @EGL_SERVER_GL11
	.comm	_EGL_SERVER_GL20,4,2            ; @EGL_SERVER_GL20
	.no_dead_strip	_convert_gltype
.subsections_via_symbols
