	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function square_redraw
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_square_redraw:                         ## @square_redraw
	.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
	movq	_GL_TEXTURE_EXTERNAL_OES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdi), %esi
	movl	%eax, %edi
	callq	_glBindTexture
	movl	%eax, %edi
	callq	_GLCHK
	xorl	%eax, %eax
	callq	_glLoadIdentity
	movq	_angle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	_glRotatef
	movq	_GL_VERTEX_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glEnableClientState
	movq	_GL_FLOAT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_vertices@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$3, %edi
	xorl	%edx, %edx
	callq	_glVertexPointer
	movq	_GL_COLOR_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glDisableClientState
	movq	_GL_TEXTURE_COORD_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glEnableClientState
	movl	(%rbx), %esi
	movq	_tex_coords@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	$2, %edi
	xorl	%edx, %edx
	callq	_glTexCoordPointer
	movq	_GL_TRIANGLES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_vcos_countof
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_glDrawArrays
	movl	%eax, %edi
	callq	_GLCHK
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_TEXTURE_EXTERNAL_OES,4,2    ## @GL_TEXTURE_EXTERNAL_OES
	.comm	_angle,4,2                      ## @angle
	.comm	_GL_VERTEX_ARRAY,4,2            ## @GL_VERTEX_ARRAY
	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.comm	_vertices,4,2                   ## @vertices
	.comm	_GL_COLOR_ARRAY,4,2             ## @GL_COLOR_ARRAY
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ## @GL_TEXTURE_COORD_ARRAY
	.comm	_tex_coords,4,2                 ## @tex_coords
	.comm	_GL_TRIANGLES,4,2               ## @GL_TRIANGLES
	.no_dead_strip	_square_redraw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function square_redraw
_square_redraw:                         ; @square_redraw
	.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
Lloh0:
	adrp	x8, _GL_TEXTURE_EXTERNAL_OES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_TEXTURE_EXTERNAL_OES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w1, [x0]
	mov	x0, x8
	bl	_glBindTexture
	bl	_GLCHK
	bl	_glLoadIdentity
Lloh3:
	adrp	x8, _angle@GOTPAGE
Lloh4:
	ldr	x8, [x8, _angle@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	fmov	d2, #1.00000000
	bl	_glRotatef
Lloh6:
	adrp	x8, _GL_VERTEX_ARRAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GL_VERTEX_ARRAY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_glEnableClientState
Lloh9:
	adrp	x19, _GL_FLOAT@GOTPAGE
Lloh10:
	ldr	x19, [x19, _GL_FLOAT@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh11:
	adrp	x8, _vertices@GOTPAGE
Lloh12:
	ldr	x8, [x8, _vertices@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	w0, #3
	mov	w2, #0
	bl	_glVertexPointer
Lloh14:
	adrp	x8, _GL_COLOR_ARRAY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_COLOR_ARRAY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_glDisableClientState
Lloh17:
	adrp	x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GL_TEXTURE_COORD_ARRAY@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_glEnableClientState
	ldr	w1, [x19]
Lloh20:
	adrp	x20, _tex_coords@GOTPAGE
Lloh21:
	ldr	x20, [x20, _tex_coords@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	w0, #2
	mov	w2, #0
	bl	_glTexCoordPointer
Lloh22:
	adrp	x8, _GL_TRIANGLES@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GL_TRIANGLES@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
	ldr	w0, [x20]
	bl	_vcos_countof
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w2, w8, #1
	mov	x0, x19
	mov	w1, #0
	bl	_glDrawArrays
	bl	_GLCHK
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_TEXTURE_EXTERNAL_OES,4,2    ; @GL_TEXTURE_EXTERNAL_OES
	.comm	_angle,4,2                      ; @angle
	.comm	_GL_VERTEX_ARRAY,4,2            ; @GL_VERTEX_ARRAY
	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.comm	_vertices,4,2                   ; @vertices
	.comm	_GL_COLOR_ARRAY,4,2             ; @GL_COLOR_ARRAY
	.comm	_GL_TEXTURE_COORD_ARRAY,4,2     ; @GL_TEXTURE_COORD_ARRAY
	.comm	_tex_coords,4,2                 ; @tex_coords
	.comm	_GL_TRIANGLES,4,2               ; @GL_TRIANGLES
	.no_dead_strip	_square_redraw
.subsections_via_symbols
