	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_triangles_2d              ## -- Begin function draw_triangles_2d
	.p2align	4, 0x90
_draw_triangles_2d:                     ## @draw_triangles_2d
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_glBindBuffer
	movl	4(%rbx), %edi
	callq	_glEnableVertexAttribArray
	movl	(%rbx), %edi
	callq	_glEnableVertexAttribArray
	movl	4(%rbx), %edi
	movq	_GL_FLOAT@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_GL_FALSE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	$2, %esi
	movl	$16, %r8d
	xorl	%r9d, %r9d
	callq	_glVertexAttribPointer
	movl	(%rbx), %edi
	movl	(%r12), %edx
	movl	(%r13), %ecx
	movl	$8, %r9d
	movl	$2, %esi
	movl	$16, %r8d
	callq	_glVertexAttribPointer
	movq	_GL_TRIANGLES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_glDrawArrays
	movl	4(%rbx), %edi
	callq	_glDisableVertexAttribArray
	movl	(%rbx), %edi
	callq	_glDisableVertexAttribArray
	movl	(%r15), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_glBindBuffer                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.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	_draw_triangles_2d              ; -- Begin function draw_triangles_2d
	.p2align	2
_draw_triangles_2d:                     ; @draw_triangles_2d
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x21, _GL_ARRAY_BUFFER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GL_ARRAY_BUFFER@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_glBindBuffer
	ldr	w0, [x19, #4]
	bl	_glEnableVertexAttribArray
	ldr	w0, [x19]
	bl	_glEnableVertexAttribArray
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x22, _GL_FLOAT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GL_FLOAT@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh4:
	adrp	x23, _GL_FALSE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GL_FALSE@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	w1, #2
	mov	w4, #16
	mov	x5, #0
	bl	_glVertexAttribPointer
	ldr	w0, [x19]
	ldr	w2, [x22]
	ldr	w3, [x23]
	mov	w1, #2
	mov	w4, #16
	mov	w5, #8
	bl	_glVertexAttribPointer
Lloh6:
	adrp	x8, _GL_TRIANGLES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GL_TRIANGLES@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, x20
	bl	_glDrawArrays
	ldr	w0, [x19, #4]
	bl	_glDisableVertexAttribArray
	ldr	w0, [x19]
	bl	_glDisableVertexAttribArray
	ldr	w0, [x21]
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_glBindBuffer
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_GL_TRIANGLES,4,2               ; @GL_TRIANGLES
.subsections_via_symbols
