	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_IndexPointer                ## -- Begin function gl_IndexPointer
	.p2align	4, 0x90
_gl_IndexPointer:                       ## @gl_IndexPointer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.1:
	movl	%esi, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	testq	%rdx, %rdx
	movl	$4, %eax
	cmovneq	%rdx, %rax
	movq	%rax, 24(%rdi)
	movl	%esi, (%rdi)
	movq	%rdx, 16(%rdi)
	movq	%rcx, 8(%rdi)
	popq	%rbp
	retq
LBB0_3:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_4:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_VALUE,4,2           ## @GL_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glIndexPointer(stride)"

	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
L_.str.1:                               ## @.str.1
	.asciz	"glIndexPointer(type)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_IndexPointer                ; -- Begin function gl_IndexPointer
	.p2align	2
_gl_IndexPointer:                       ; @gl_IndexPointer
	.cfi_startproc
; %bb.0:
	tbnz	x2, #63, LBB0_3
; %bb.1:
	and	w8, w1, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
	mov	w8, #4
	cmp	x2, #0
	csel	x8, x8, x2, eq
	stp	x2, x8, [x0, #16]
	str	w1, [x0]
	str	x3, [x0, #8]
	ret
LBB0_3:
Lloh0:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	_gl_error
LBB0_4:
Lloh5:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	_gl_error
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_VALUE,4,2           ; @GL_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glIndexPointer(stride)"

	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
l_.str.1:                               ; @.str.1
	.asciz	"glIndexPointer(type)"

.subsections_via_symbols
