	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function draw_quad
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_draw_quad:                             ## @draw_quad
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_glfwGetCurrentContext
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	movl	%eax, %edi
	callq	_glfwGetFramebufferSize
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_glViewport
	movq	_GL_PROJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glMatrixMode
	xorl	%eax, %eax
	callq	_glLoadIdentity
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	xorps	%xmm2, %xmm2
	xorps	%xmm4, %xmm4
	movaps	%xmm1, %xmm3
	movaps	%xmm1, %xmm5
	callq	_glOrtho
	movq	_GL_TEXTURE_2D@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_glEnable
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_glBindTexture
	movq	_GL_TEXTURE_ENV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GL_TEXTURE_ENV_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_MODULATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_glTexEnvi
	movq	_GL_QUADS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glBegin
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	_glTexCoord2f
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	_glVertex2f
	xorps	%xmm1, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_glTexCoord2f
	xorps	%xmm1, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_glVertex2f
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	callq	_glTexCoord2f
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	callq	_glVertex2f
	xorps	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_glTexCoord2f
	xorps	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_glVertex2f
	xorl	%eax, %eax
	callq	_glEnd
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_PROJECTION,4,2              ## @GL_PROJECTION
	.comm	_GL_TEXTURE_2D,4,2              ## @GL_TEXTURE_2D
	.comm	_GL_TEXTURE_ENV,4,2             ## @GL_TEXTURE_ENV
	.comm	_GL_TEXTURE_ENV_MODE,4,2        ## @GL_TEXTURE_ENV_MODE
	.comm	_GL_MODULATE,4,2                ## @GL_MODULATE
	.comm	_GL_QUADS,4,2                   ## @GL_QUADS
	.no_dead_strip	_draw_quad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_quad
_draw_quad:                             ; @draw_quad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_glfwGetCurrentContext
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_glfwGetFramebufferSize
	ldp	w3, w2, [sp, #8]
	mov	w0, #0
	mov	w1, #0
	bl	_glViewport
Lloh0:
	adrp	x8, _GL_PROJECTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_PROJECTION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_glMatrixMode
	bl	_glLoadIdentity
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	movi	d2, #0000000000000000
	fmov	s3, #1.00000000
	movi	d4, #0000000000000000
	fmov	s5, #1.00000000
	bl	_glOrtho
Lloh3:
	adrp	x20, _GL_TEXTURE_2D@GOTPAGE
Lloh4:
	ldr	x20, [x20, _GL_TEXTURE_2D@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_glEnable
	ldr	w0, [x20]
	mov	x1, x19
	bl	_glBindTexture
Lloh5:
	adrp	x8, _GL_TEXTURE_ENV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_TEXTURE_ENV@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _GL_TEXTURE_ENV_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_TEXTURE_ENV_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _GL_MODULATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GL_MODULATE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_glTexEnvi
Lloh14:
	adrp	x8, _GL_QUADS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_QUADS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_glBegin
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	bl	_glTexCoord2f
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	bl	_glVertex2f
	fmov	s0, #1.00000000
	movi	d1, #0000000000000000
	bl	_glTexCoord2f
	fmov	s0, #1.00000000
	movi	d1, #0000000000000000
	bl	_glVertex2f
	fmov	s0, #1.00000000
	fmov	s1, #1.00000000
	bl	_glTexCoord2f
	fmov	s0, #1.00000000
	fmov	s1, #1.00000000
	bl	_glVertex2f
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_glTexCoord2f
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_glVertex2f
	bl	_glEnd
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_PROJECTION,4,2              ; @GL_PROJECTION
	.comm	_GL_TEXTURE_2D,4,2              ; @GL_TEXTURE_2D
	.comm	_GL_TEXTURE_ENV,4,2             ; @GL_TEXTURE_ENV
	.comm	_GL_TEXTURE_ENV_MODE,4,2        ; @GL_TEXTURE_ENV_MODE
	.comm	_GL_MODULATE,4,2                ; @GL_MODULATE
	.comm	_GL_QUADS,4,2                   ; @GL_QUADS
	.no_dead_strip	_draw_quad
.subsections_via_symbols
