	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_NewList                     ## -- Begin function gl_NewList
	.p2align	4, 0x90
_gl_NewList:                            ## @gl_NewList
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_3:
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	movq	_GL_COMPILE@GOTPCREL(%rip), %r12
	cmpq	%r14, (%r12)
	je	LBB0_8
## %bb.6:
	movq	_GL_COMPILE_AND_EXECUTE@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_GL_INVALID_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	cmpq	$0, 40(%rbx)
	jne	LBB0_1
## %bb.9:
	movq	%r15, 48(%rbx)
	movq	_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %edi
	callq	_malloc
	movq	%rax, 32(%rbx)
	movq	%rax, 40(%rbx)
	movq	$0, 24(%rbx)
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	cmpq	%r14, (%r12)
	jne	LBB0_11
## %bb.10:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_11:
	movq	%rax, 8(%rbx)
	movl	(%rbx), %eax
	movl	%eax, 4(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glNewList"

	.comm	_GL_INVALID_VALUE,4,2           ## @GL_INVALID_VALUE
	.comm	_GL_COMPILE,8,3                 ## @GL_COMPILE
	.comm	_GL_COMPILE_AND_EXECUTE,8,3     ## @GL_COMPILE_AND_EXECUTE
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.comm	_BLOCK_SIZE,4,2                 ## @BLOCK_SIZE
	.comm	_GL_TRUE,8,3                    ## @GL_TRUE
	.comm	_GL_FALSE,8,3                   ## @GL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_NewList                     ; -- Begin function gl_NewList
	.p2align	2
_gl_NewList:                            ; @gl_NewList
	.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, x2
	mov	x21, x1
	mov	x19, x0
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_3
LBB0_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:
	cbz	x21, LBB0_7
; %bb.4:
Lloh4:
	adrp	x22, _GL_COMPILE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _GL_COMPILE@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _GL_COMPILE_AND_EXECUTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GL_COMPILE_AND_EXECUTE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x20
	ccmp	x9, x20, #4, ne
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_1
; %bb.6:
	str	x21, [x19, #48]
Lloh9:
	adrp	x8, _BLOCK_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BLOCK_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w0, w8, #2
	bl	_malloc
	str	x0, [x19, #40]
Lloh12:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
	stp	xzr, x0, [x19, #24]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x22]
Lloh15:
	adrp	x10, _GL_FALSE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _GL_FALSE@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x20
	csel	x9, x10, x8, eq
	stp	x9, x8, [x19, #8]
	ldr	w8, [x19]
	str	w8, [x19, #4]
	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_7:
Lloh18:
	adrp	x8, _GL_INVALID_VALUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GL_INVALID_VALUE@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
Lloh20:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glNewList"

	.comm	_GL_INVALID_VALUE,4,2           ; @GL_INVALID_VALUE
	.comm	_GL_COMPILE,8,3                 ; @GL_COMPILE
	.comm	_GL_COMPILE_AND_EXECUTE,8,3     ; @GL_COMPILE_AND_EXECUTE
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.comm	_BLOCK_SIZE,4,2                 ; @BLOCK_SIZE
	.comm	_GL_TRUE,8,3                    ; @GL_TRUE
	.comm	_GL_FALSE,8,3                   ; @GL_FALSE
.subsections_via_symbols
