	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DrawTris
_DrawTris:                              ## @DrawTris
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_tr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GL_Bind
	movl	$1, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_qglColor3f
	movq	_GLS_POLYMODE_LINE@GOTPCREL(%rip), %rax
	movq	_GLS_DEPTHMASK_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_GL_State
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_qglDepthRange
	movq	_GL_COLOR_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglDisableClientState
	movq	_GL_TEXTURE_COORD_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglDisableClientState
	movq	_GL_FLOAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %ecx
	movl	$3, %edi
	movl	$16, %edx
	callq	_qglVertexPointer
	movl	8(%rbx), %esi
	xorl	%edi, %edi
	callq	_qglLockArraysEXT
	leaq	L_.str(%rip), %rdi
	callq	_GLimp_LogComment
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_R_DrawElements
	xorl	%eax, %eax
	callq	_qglUnlockArraysEXT
	leaq	L_.str.1(%rip), %rdi
	callq	_GLimp_LogComment
	xorl	%edi, %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qglDepthRange                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,4,2                         ## @tr
	.comm	_GLS_POLYMODE_LINE,4,2          ## @GLS_POLYMODE_LINE
	.comm	_GLS_DEPTHMASK_TRUE,4,2         ## @GLS_DEPTHMASK_TRUE
	.comm	_GL_COLOR_ARRAY,4,2             ## @GL_COLOR_ARRAY
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ## @GL_TEXTURE_COORD_ARRAY
	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glLockArraysEXT\n"

L_.str.1:                               ## @.str.1
	.asciz	"glUnlockArraysEXT\n"

	.no_dead_strip	_DrawTris
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DrawTris
_DrawTris:                              ; @DrawTris
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _tr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GL_Bind
	mov	w0, #1
	mov	w1, #1
	mov	w2, #1
	bl	_qglColor3f
Lloh3:
	adrp	x8, _GLS_POLYMODE_LINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLS_POLYMODE_LINE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GLS_DEPTHMASK_TRUE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GLS_DEPTHMASK_TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_GL_State
	mov	w0, #0
	mov	w1, #0
	bl	_qglDepthRange
Lloh9:
	adrp	x8, _GL_COLOR_ARRAY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GL_COLOR_ARRAY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_qglDisableClientState
Lloh12:
	adrp	x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_qglDisableClientState
Lloh15:
	adrp	x8, _GL_FLOAT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GL_FLOAT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w3, [x19, #12]
	mov	w0, #3
	mov	w2, #16
	bl	_qglVertexPointer
	ldr	w1, [x19, #8]
	mov	w0, #0
	bl	_qglLockArraysEXT
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GLimp_LogComment
	ldp	w1, w0, [x19]
	bl	_R_DrawElements
	bl	_qglUnlockArraysEXT
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_GLimp_LogComment
	mov	w0, #0
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qglDepthRange
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,4,2                         ; @tr
	.comm	_GLS_POLYMODE_LINE,4,2          ; @GLS_POLYMODE_LINE
	.comm	_GLS_DEPTHMASK_TRUE,4,2         ; @GLS_DEPTHMASK_TRUE
	.comm	_GL_COLOR_ARRAY,4,2             ; @GL_COLOR_ARRAY
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ; @GL_TEXTURE_COORD_ARRAY
	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glLockArraysEXT\n"

l_.str.1:                               ; @.str.1
	.asciz	"glUnlockArraysEXT\n"

	.no_dead_strip	_DrawTris
.subsections_via_symbols
