	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VaoCache_Commit                ## -- Begin function VaoCache_Commit
	.p2align	4, 0x90
_VaoCache_Commit:                       ## @VaoCache_Commit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_vcq@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rax
	leaq	(%rax,%rax,2), %r13
	shlq	$3, %r13
	addq	32(%rcx), %r13
	movq	_vc@GOTPCREL(%rip), %r12
	movq	24(%r12), %rdi
	callq	_R_BindVao
	movq	(%r12), %rsi
	movq	32(%r12), %r8
	movslq	8(%r12), %rax
	leaq	(%rsi,%rax,4), %r9
	movq	%r8, %r14
	testq	%rax, %rax
	jle	LBB0_10
## %bb.1:
	movq	_vcq@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	32(%rax), %r11
	movq	%r8, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, %rbx
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	shlq	$4, %rcx
	addq	%rcx, %r14
	addq	$4, %rsi
	cmpq	%r9, %rsi
	jae	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movslq	(%rsi), %rcx
	cmpl	%r10d, %ecx
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %rbx
	cmpq	%r13, %r11
	jae	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %rbx
	movq	%r14, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movslq	8(%rbx), %rax
	shlq	$2, %rax
	movslq	8(%rdx), %rdi
	cmpq	%rdi, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	addq	$24, %rbx
	addq	$16, %rdx
	cmpq	%r13, %rbx
	jb	LBB0_5
	jmp	LBB0_8
LBB0_10:
	movslq	12(%r12), %rax
	shlq	$4, %rax
	addq	%rax, %r8
	cmpq	%r8, %r14
	jae	LBB0_12
## %bb.11:
	movl	12(%r14), %eax
	sarl	$2, %eax
	movq	_tess@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_23
LBB0_12:
	movq	_vcq@GOTPCREL(%rip), %rdx
	movq	24(%rdx), %rdi
	movq	16(%rdx), %r15
	movl	(%rdx), %eax
	movl	%eax, (%r9)
	incl	8(%r12)
	movl	16(%r12), %eax
	sarl	$2, %eax
	movq	_tess@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	$0, 4(%rdx)
	movq	32(%rdx), %r12
	cmpq	%r13, %r12
	jae	LBB0_23
## %bb.13:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%r9,4), %rdi
	addl	%eax, %esi
	movl	%esi, 8(%r8)
	addq	$24, %r12
	movl	4(%r8), %r13d
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	jae	LBB0_19
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	(%r12), %r14
	movl	12(%r12), %ebx
	shll	$2, %ebx
	movl	8(%r12), %eax
	shll	$2, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_vc@GOTPCREL(%rip), %rax
	addl	20(%rax), %r13d
	movl	16(%r12), %esi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edx
	callq	_Com_Memcpy
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_vcq@GOTPCREL(%rip), %r8
	movslq	12(%r12), %r9
	addl	%ebx, 4(%r8)
	movq	_vc@GOTPCREL(%rip), %rsi
	movq	32(%rsi), %rdx
	movslq	12(%rsi), %rcx
	movq	%rsi, %r10
	movq	(%r12), %rsi
	leal	1(%rcx), %edi
	shlq	$4, %rcx
	movq	%rsi, (%rdx,%rcx)
	movl	%eax, 8(%rdx,%rcx)
	movl	8(%r8), %esi
	movl	16(%r10), %ebx
	addl	%esi, %ebx
	movl	%ebx, 12(%rdx,%rcx)
	movl	%edi, 12(%r10)
	cmpl	$0, 8(%r12)
	jle	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	sarl	$2, %r13d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14,%rcx,4), %edx
	addl	%r13d, %edx
	movl	%edx, (%r15)
	addq	$4, %r15
	incq	%rcx
	cmpl	8(%r12), %ecx
	jl	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	8(%r8), %esi
	jmp	LBB0_18
LBB0_19:
	testl	%r13d, %r13d
	movq	_vc@GOTPCREL(%rip), %r15
	je	LBB0_21
## %bb.20:
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	24(%r15), %rax
	movl	4(%rax), %esi
	callq	_qglBindBuffer
	movl	(%rbx), %edi
	movl	20(%r15), %esi
	movq	_vcq@GOTPCREL(%rip), %rax
	movl	4(%rax), %edx
	movq	_vcq@GOTPCREL(%rip), %rax
	movq	24(%rax), %rcx
	callq	_qglBufferSubData
	movq	_vcq@GOTPCREL(%rip), %r8
	movl	4(%r8), %eax
	movl	8(%r8), %esi
	addl	%eax, 20(%r15)
LBB0_21:
	testl	%esi, %esi
	je	LBB0_23
## %bb.22:
	movq	_GL_ELEMENT_ARRAY_BUFFER@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	24(%r15), %rax
	movl	(%rax), %esi
	movq	%r8, %rbx
	callq	_qglBindBuffer
	movl	(%r14), %edi
	movl	16(%r15), %esi
	movl	8(%rbx), %edx
	movq	16(%rbx), %rcx
	callq	_qglBufferSubData
	movl	8(%rbx), %eax
	addl	%eax, 16(%r15)
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vcq,40,3                       ## @vcq
	.comm	_vc,40,3                        ## @vc
	.comm	_tess,4,2                       ## @tess
	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
	.comm	_GL_ELEMENT_ARRAY_BUFFER,4,2    ## @GL_ELEMENT_ARRAY_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VaoCache_Commit                ; -- Begin function VaoCache_Commit
	.p2align	2
_VaoCache_Commit:                       ; @VaoCache_Commit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x19, _vcq@GOTPAGE
Lloh1:
	ldr	x19, [x19, _vcq@GOTPAGEOFF]
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19]
	mov	w10, #24
	madd	x23, x9, x10, x8
Lloh2:
	adrp	x20, _vc@GOTPAGE
Lloh3:
	ldr	x20, [x20, _vc@GOTPAGEOFF]
	ldr	x0, [x20, #24]
	bl	_R_BindVao
	ldr	x9, [x20, #32]
	ldr	x11, [x20]
	ldrsw	x10, [x20, #8]
	add	x8, x11, x10, lsl #2
	cmp	w10, #1
	b.lt	LBB0_10
; %bb.1:
	ldr	w12, [x19]
	ldr	x13, [x19, #32]
	mov	x10, x9
	mov	x1, x19
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x15, x23
	b.eq	LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, x14, lsl #4
	add	x11, x11, #4
	cmp	x11, x8
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldrsw	x14, [x11]
	cmp	w14, w12
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x15, x13
	cmp	x13, x23
	b.hs	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x15, x13
	mov	x16, x10
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x17, [x15]
	ldr	x0, [x16]
	cmp	x17, x0
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldrsw	x17, [x15, #8]
	ldrsw	x0, [x16, #8]
	cmp	x0, x17, lsl #2
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x15, x15, #24
	add	x16, x16, #16
	cmp	x15, x23
	b.lo	LBB0_7
	b	LBB0_2
LBB0_10:
	mov	x10, x9
	mov	x1, x19
LBB0_11:
	ldrsw	x11, [x20, #12]
	add	x9, x9, x11, lsl #4
	cmp	x10, x9
	b.hs	LBB0_13
; %bb.12:
	ldr	w8, [x10, #12]
	asr	w8, w8, #2
Lloh4:
	adrp	x9, _tess@GOTPAGE
Lloh5:
	ldr	x9, [x9, _tess@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
	b	LBB0_23
LBB0_13:
	ldp	x24, x19, [x1, #16]
	ldr	w9, [x1]
	str	w9, [x8]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	ldr	w8, [x20, #16]
Lloh7:
	adrp	x9, _tess@GOTPAGE
Lloh8:
	ldr	x9, [x9, _tess@GOTPAGEOFF]
	asr	w8, w8, #2
Lloh9:
	str	w8, [x9]
	stp	wzr, wzr, [x1, #4]
	ldr	x25, [x1, #32]
	cmp	x25, x23
	b.hs	LBB0_23
; %bb.14:
	mov	w28, #0
Lloh10:
	adrp	x21, _vc@GOTPAGE
Lloh11:
	ldr	x21, [x21, _vc@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x19, x19, x8, lsl #2
	add	w8, w9, w26
	str	w8, [x13, #8]
	add	x25, x25, #24
	ldr	w28, [x13, #4]
	cmp	x25, x23
	b.hs	LBB0_20
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x27, [x25]
	ldp	w9, w8, [x25, #8]
	lsl	w20, w8, #2
	lsl	w26, w9, #2
	ldr	w22, [x21, #20]
	ldr	w1, [x25, #16]
	mov	x0, x19
	mov	x2, x20
	bl	_Com_Memcpy
Lloh12:
	adrp	x13, _vcq@GOTPAGE
Lloh13:
	ldr	x13, [x13, _vcq@GOTPAGEOFF]
	ldp	w8, w9, [x13, #4]
	add	w8, w8, w20
	str	w8, [x13, #4]
	ldr	x8, [x21, #32]
	ldr	x10, [x25]
	ldp	w11, w12, [x21, #12]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	add	x8, x8, x11, lsl #4
	str	x10, [x8]
	add	w10, w9, w12
	stp	w26, w10, [x8, #8]
	add	w8, w11, #1
	str	w8, [x21, #12]
	ldp	w10, w8, [x25, #8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	cmp	w10, #1
	b.lt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x9, #0
	add	w10, w28, w22
	asr	w10, w10, #2
LBB0_18:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x27, x9, lsl #2]
	add	w11, w11, w10
	str	w11, [x24], #4
	ldr	w11, [x25, #8]
	add	x9, x9, #1
	cmp	w9, w11
	b.lt	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w9, [x13, #8]
	b	LBB0_15
LBB0_20:
	cbz	w28, LBB0_24
; %bb.21:
Lloh14:
	adrp	x19, _GL_ARRAY_BUFFER@GOTPAGE
Lloh15:
	ldr	x19, [x19, _GL_ARRAY_BUFFER@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh16:
	adrp	x20, _vc@GOTPAGE
Lloh17:
	ldr	x20, [x20, _vc@GOTPAGEOFF]
	ldr	x8, [x20, #24]
	ldr	w1, [x8, #4]
	bl	_qglBindBuffer
	ldr	w0, [x19]
	ldr	w1, [x20, #20]
Lloh18:
	adrp	x8, _vcq@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vcq@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8, #4]
Lloh21:
	adrp	x8, _vcq@GOTPAGE
Lloh22:
	ldr	x8, [x8, _vcq@GOTPAGEOFF]
Lloh23:
	ldr	x3, [x8, #24]
	bl	_qglBufferSubData
Lloh24:
	adrp	x13, _vcq@GOTPAGE
Lloh25:
	ldr	x13, [x13, _vcq@GOTPAGEOFF]
	ldr	w9, [x20, #20]
	ldp	w10, w8, [x13, #4]
	add	w9, w9, w10
	str	w9, [x20, #20]
	cbz	w8, LBB0_23
LBB0_22:
Lloh26:
	adrp	x19, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGE
Lloh27:
	ldr	x19, [x19, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGEOFF]
	ldr	w0, [x19]
	ldr	x8, [x20, #24]
	mov	x21, x13
	ldr	w1, [x8]
	bl	_qglBindBuffer
	ldr	w0, [x19]
	ldr	w1, [x20, #16]
	ldr	w2, [x21, #8]
	ldr	x3, [x21, #16]
	bl	_qglBufferSubData
	ldr	w8, [x21, #8]
	ldr	w9, [x20, #16]
	add	w8, w9, w8
	str	w8, [x20, #16]
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh28:
	adrp	x20, _vc@GOTPAGE
Lloh29:
	ldr	x20, [x20, _vc@GOTPAGEOFF]
	cbnz	w8, LBB0_22
	b	LBB0_23
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_vcq,40,3                       ; @vcq
	.comm	_vc,40,3                        ; @vc
	.comm	_tess,4,2                       ; @tess
	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
	.comm	_GL_ELEMENT_ARRAY_BUFFER,4,2    ; @GL_ELEMENT_ARRAY_BUFFER
.subsections_via_symbols
