	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___gl_renderCache               ## -- Begin function __gl_renderCache
	.p2align	4, 0x90
___gl_renderCache:                      ## @__gl_renderCache
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movslq	(%rdi), %r13
	cmpq	$3, %r13
	jge	LBB0_2
## %bb.1:
	movq	_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_25
LBB0_2:
	movq	%rdi, %r15
	movq	32(%rdi), %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rdx
	movq	%rdx, -80(%rbp)
	movq	8(%rax), %rcx
	movq	%rcx, -72(%rbp)
	movq	16(%rax), %rax
	movq	%rax, -64(%rbp)
	testq	%rdx, %rdx
	jne	LBB0_6
## %bb.3:
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.4:
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ComputeNormal
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ComputeNormal
	movl	%eax, %r14d
	movq	_SIGN_INCONSISTENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_8
## %bb.7:
	movq	_FALSE@GOTPCREL(%rip), %r12
	jmp	LBB0_25
LBB0_8:
	testl	%r14d, %r14d
	je	LBB0_25
## %bb.9:
	movl	16(%r15), %eax
	cmpl	$132, %eax
	je	LBB0_25
## %bb.10:
	cmpl	$131, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$128, %eax
	jne	LBB0_14
## %bb.12:
	testl	%r14d, %r14d
	jns	LBB0_14
	jmp	LBB0_25
LBB0_13:
	testl	%r14d, %r14d
	jg	LBB0_25
LBB0_14:
	cmpq	$0, 24(%r15)
	je	LBB0_16
## %bb.15:
	movq	_GL_LINE_LOOP@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	cmpl	$4, (%r15)
	jl	LBB0_17
## %bb.18:
	movq	_GL_TRIANGLE_FAN@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_GL_TRIANGLES@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %edi
	leaq	(%rbx,%r13,4), %r15
	callq	_CALL_BEGIN_OR_BEGIN_DATA
	movl	(%rbx), %edi
	callq	_CALL_VERTEX_OR_VERTEX_DATA
	testl	%r14d, %r14d
	jle	LBB0_20
## %bb.22:
	addq	$4, %rbx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_CALL_VERTEX_OR_VERTEX_DATA
	addq	$4, %rbx
	cmpq	%r15, %rbx
	jb	LBB0_23
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	(%r15), %edi
	callq	_CALL_VERTEX_OR_VERTEX_DATA
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	addq	$-4, %r15
	cmpq	%rbx, %r15
	ja	LBB0_21
LBB0_24:
	xorl	%eax, %eax
	callq	_CALL_END_OR_END_DATA
LBB0_25:
	movl	(%r12), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SIGN_INCONSISTENT,4,2          ## @SIGN_INCONSISTENT
	.comm	_GL_LINE_LOOP,4,2               ## @GL_LINE_LOOP
	.comm	_GL_TRIANGLE_FAN,4,2            ## @GL_TRIANGLE_FAN
	.comm	_GL_TRIANGLES,4,2               ## @GL_TRIANGLES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___gl_renderCache               ; -- Begin function __gl_renderCache
	.p2align	2
___gl_renderCache:                      ; @__gl_renderCache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldrsw	x22, [x0]
Lloh3:
	adrp	x20, _TRUE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	cmp	w22, #3
	b.lt	LBB0_19
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #32]
	ldr	x8, [x0, #8]
	ldp	x9, x10, [x8]
	stp	x9, x10, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	cmp	x9, #0
	ccmp	x10, #0, #0, eq
	ccmp	x8, #0, #0, eq
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_ComputeNormal
LBB0_3:
	ldr	w2, [x20]
	mov	x1, sp
	mov	x0, x19
	bl	_ComputeNormal
Lloh8:
	adrp	x8, _SIGN_INCONSISTENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGN_INCONSISTENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
Lloh11:
	adrp	x20, _FALSE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	b	LBB0_19
LBB0_5:
	mov	x20, x0
	cbz	w0, LBB0_18
; %bb.6:
	ldr	w8, [x19, #16]
	cmp	w8, #132
	b.eq	LBB0_18
; %bb.7:
	cmp	w8, #131
	b.eq	LBB0_10
; %bb.8:
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.9:
	tbz	w20, #31, LBB0_11
	b	LBB0_18
LBB0_10:
	cmp	w20, #0
	b.gt	LBB0_18
LBB0_11:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_13
; %bb.12:
Lloh13:
	adrp	x8, _GL_LINE_LOOP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GL_LINE_LOOP@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh15:
	adrp	x8, _GL_TRIANGLE_FAN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GL_TRIANGLE_FAN@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh17:
	adrp	x10, _GL_TRIANGLES@GOTPAGE
Lloh18:
	ldr	x10, [x10, _GL_TRIANGLES@GOTPAGEOFF]
	cmp	w9, #3
	csel	x8, x8, x10, gt
LBB0_14:
	ldr	w0, [x8]
	add	x19, x21, x22, lsl #2
	bl	_CALL_BEGIN_OR_BEGIN_DATA
	ldr	w0, [x21]
	bl	_CALL_VERTEX_OR_VERTEX_DATA
	cmp	w20, #0
	b.le	LBB0_21
; %bb.15:
	add	x20, x21, #4
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_CALL_VERTEX_OR_VERTEX_DATA
	cmp	x20, x19
	b.lo	LBB0_16
LBB0_17:
	bl	_CALL_END_OR_END_DATA
LBB0_18:
Lloh19:
	adrp	x20, _TRUE@GOTPAGE
Lloh20:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x20]
	ldr	x8, [sp, #24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_21:
	sub	x19, x19, #4
	cmp	x19, x21
	b.ls	LBB0_17
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #-4
	bl	_CALL_VERTEX_OR_VERTEX_DATA
	cmp	x19, x21
	b.hi	LBB0_22
	b	LBB0_17
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SIGN_INCONSISTENT,4,2          ; @SIGN_INCONSISTENT
	.comm	_GL_LINE_LOOP,4,2               ; @GL_LINE_LOOP
	.comm	_GL_TRIANGLE_FAN,4,2            ; @GL_TRIANGLE_FAN
	.comm	_GL_TRIANGLES,4,2               ; @GL_TRIANGLES
.subsections_via_symbols
