	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_DeleteLists                 ## -- Begin function gl_DeleteLists
	.p2align	4, 0x90
_gl_DeleteLists:                        ## @gl_DeleteLists
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_3:
	testq	%r15, %r15
	js	LBB0_4
## %bb.5:
	je	LBB0_8
## %bb.6:
	addq	%rbx, %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gl_destroy_list
	incq	%rbx
	cmpq	%r15, %rbx
	jl	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glDeleteLists"

	.comm	_GL_INVALID_VALUE,4,2           ## @GL_INVALID_VALUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_DeleteLists                 ; -- Begin function gl_DeleteLists
	.p2align	2
_gl_DeleteLists:                        ; @gl_DeleteLists
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
LBB0_2:
	ldr	w1, [x8]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	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
LBB0_3:
	tbnz	x21, #63, LBB0_8
; %bb.4:
	cbz	x21, LBB0_7
; %bb.5:
	add	x21, x21, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_gl_destroy_list
	add	x20, x20, #1
	cmp	x20, x21
	b.lt	LBB0_6
LBB0_7:
	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
	ret
LBB0_8:
Lloh4:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glDeleteLists"

	.comm	_GL_INVALID_VALUE,4,2           ; @GL_INVALID_VALUE
.subsections_via_symbols
