	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_BindVao                      ## -- Begin function R_BindVao
	.p2align	4, 0x90
_R_BindVao:                             ## @R_BindVao
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	_r_logFile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movl	12(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_va
	movl	%eax, %edi
	callq	_GLimp_LogComment
LBB0_3:
	movq	_glState@GOTPCREL(%rip), %rax
	cmpq	%rbx, 16(%rax)
	je	LBB0_11
## %bb.4:
	movq	_backEnd@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movq	%rbx, 16(%rax)
	movq	$0, 8(%rax)
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_glRefConfig@GOTPCREL(%rip), %r14
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.5:
	movl	8(%rbx), %edi
	callq	_qglBindVertexArray
	cmpq	$0, (%r14)
	movq	_tess@GOTPCREL(%rip), %r14
	jne	LBB0_7
## %bb.6:
	movq	(%r14), %rax
	cmpq	%rbx, %rax
	je	LBB0_7
## %bb.8:
	cmpq	%rbx, %rax
	jne	LBB0_11
	jmp	LBB0_9
LBB0_12:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ERR_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_10:
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_qglBindBuffer
	movq	_GL_ELEMENT_ARRAY_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_qglBindBuffer
	movq	_tess@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_11
## %bb.13:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Vao_SetVertexPointers          ## TAILCALL
LBB0_7:
	movq	_GL_ELEMENT_ARRAY_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_qglBindBuffer
	movq	(%r14), %rax
	cmpq	%rbx, %rax
	je	LBB0_9
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qglBindBuffer                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"R_BindVao: NULL vao"

	.comm	_r_logFile,8,3                  ## @r_logFile
L_.str.1:                               ## @.str.1
	.asciz	"--- R_BindVao( %s ) ---\n"

	.comm	_glState,24,3                   ## @glState
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_backEnd,4,2                    ## @backEnd
	.comm	_glRefConfig,16,3               ## @glRefConfig
	.comm	_tess,8,3                       ## @tess
	.comm	_GL_ELEMENT_ARRAY_BUFFER,4,2    ## @GL_ELEMENT_ARRAY_BUFFER
	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_BindVao                      ; -- Begin function R_BindVao
	.p2align	2
_R_BindVao:                             ; @R_BindVao
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _r_logFile@GOTPAGE
Lloh1:
	ldr	x8, [x8, _r_logFile@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w1, [x19, #12]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_va
	bl	_GLimp_LogComment
LBB0_3:
Lloh5:
	adrp	x8, _glState@GOTPAGE
Lloh6:
	ldr	x8, [x8, _glState@GOTPAGEOFF]
	ldr	x9, [x8, #16]
	cmp	x9, x19
	b.eq	LBB0_12
; %bb.4:
	stp	xzr, x19, [x8, #8]
Lloh7:
	adrp	x9, _qfalse@GOTPAGE
Lloh8:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w9, [x8]
Lloh10:
	adrp	x8, _backEnd@GOTPAGE
Lloh11:
	ldr	x8, [x8, _backEnd@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh12:
	adrp	x20, _glRefConfig@GOTPAGE
Lloh13:
	ldr	x20, [x20, _glRefConfig@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
; %bb.5:
	ldr	w0, [x19, #8]
	bl	_qglBindVertexArray
	ldr	x8, [x20]
Lloh14:
	adrp	x20, _tess@GOTPAGE
Lloh15:
	ldr	x20, [x20, _tess@GOTPAGEOFF]
	cbnz	x8, LBB0_11
; %bb.6:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_11
; %bb.7:
	cmp	x8, x19
	b.ne	LBB0_12
	b	LBB0_13
LBB0_8:
Lloh16:
	adrp	x8, _ri@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh18:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh20:
	ldr	x2, [x8]
Lloh21:
	ldr	w0, [x9]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_9:
Lloh24:
	adrp	x8, _GL_ARRAY_BUFFER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GL_ARRAY_BUFFER@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	_qglBindBuffer
Lloh27:
	adrp	x8, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_qglBindBuffer
Lloh30:
	adrp	x8, _tess@GOTPAGE
Lloh31:
	ldr	x8, [x8, _tess@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_12
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Vao_SetVertexPointers
LBB0_11:
Lloh33:
	adrp	x8, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_qglBindBuffer
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_13
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh36:
	adrp	x8, _GL_ARRAY_BUFFER@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GL_ARRAY_BUFFER@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qglBindBuffer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"R_BindVao: NULL vao"

	.comm	_r_logFile,8,3                  ; @r_logFile
l_.str.1:                               ; @.str.1
	.asciz	"--- R_BindVao( %s ) ---\n"

	.comm	_glState,24,3                   ; @glState
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_backEnd,4,2                    ; @backEnd
	.comm	_glRefConfig,16,3               ; @glRefConfig
	.comm	_tess,8,3                       ; @tess
	.comm	_GL_ELEMENT_ARRAY_BUFFER,4,2    ; @GL_ELEMENT_ARRAY_BUFFER
	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
.subsections_via_symbols
