	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_save_DrawElements           ## -- Begin function gl_save_DrawElements
	.p2align	4, 0x90
_gl_save_DrawElements:                  ## @gl_save_DrawElements
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rdx, %r15
	movq	%rdi, %r12
	cmpl	$128, %ecx
	je	LBB0_7
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_10
## %bb.2:
	cmpl	$130, %ecx
	jne	LBB0_13
## %bb.3:
	movq	%r12, %rdi
	callq	_gl_save_Begin
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r14,%rbx,4), %rsi
	movq	%r12, %rdi
	callq	_gl_save_ArrayElement
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	%r12, %rdi
	callq	_gl_save_Begin
	testq	%r15, %r15
	je	LBB0_6
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r14,%rbx,4), %rsi
	movq	%r12, %rdi
	callq	_gl_save_ArrayElement
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_9
	jmp	LBB0_6
LBB0_10:
	movq	%r12, %rdi
	callq	_gl_save_Begin
	testq	%r15, %r15
	je	LBB0_6
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r14,%rbx,4), %rsi
	movq	%r12, %rdi
	callq	_gl_save_ArrayElement
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_12
LBB0_6:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_save_End                    ## TAILCALL
LBB0_13:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glDrawElements(type)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_save_DrawElements           ; -- Begin function gl_save_DrawElements
	.p2align	2
_gl_save_DrawElements:                  ; @gl_save_DrawElements
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x4
	mov	x21, x2
	mov	x19, x0
	cmp	w3, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w3, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w3, #130
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x19
	bl	_gl_save_Begin
	cbz	x21, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x1, [x20], #4
	mov	x0, x19
	bl	_gl_save_ArrayElement
	subs	x21, x21, #1
	b.ne	LBB0_4
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_gl_save_Begin
	cbz	x21, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x1, [x20], #4
	mov	x0, x19
	bl	_gl_save_ArrayElement
	subs	x21, x21, #1
	b.ne	LBB0_6
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_gl_save_Begin
	cbz	x21, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x1, [x20], #4
	mov	x0, x19
	bl	_gl_save_ArrayElement
	subs	x21, x21, #1
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gl_save_End
LBB0_10:
Lloh0:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gl_error
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glDrawElements(type)"

.subsections_via_symbols
