	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_End                         ## -- Begin function gl_End
	.p2align	4, 0x90
_gl_End:                                ## @gl_End
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_GL_BITMAP@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_1
## %bb.8:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_1:
	movq	32(%rbx), %r15
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	cmpq	8(%rax), %rcx
	jle	LBB0_3
## %bb.2:
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_gl_transform_vb_part1
LBB0_3:
	cmpq	$0, (%r15)
	jle	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_gl_flush_pb
LBB0_5:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_7:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	%rax, 8(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_BITMAP,8,3                  ## @GL_BITMAP
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glEnd"

	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
	.comm	_begin_time,8,3                 ## @begin_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_End                         ; -- Begin function gl_End
	.p2align	2
_gl_End:                                ; @gl_End
	.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	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _GL_BITMAP@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GL_BITMAP@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	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_2:
	ldp	x8, x21, [x19, #24]
	ldp	x9, x8, [x8]
	cmp	x9, x8
	b.le	LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gl_transform_vb_part1
LBB0_4:
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_gl_flush_pb
LBB0_6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	blr	x8
LBB0_8:
	ldr	x8, [x20]
	str	x8, [x19]
	str	x8, [x21, #8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_BITMAP,8,3                  ; @GL_BITMAP
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glEnd"

	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
	.comm	_begin_time,8,3                 ; @begin_time
.subsections_via_symbols
