	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function mirror_redraw
LCPI0_0:
	.quad	0x3fa999999999999a              ## double 0.050000000000000003
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mirror_redraw:                         ## @mirror_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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_GL_COLOR_BUFFER_BIT@GOTPCREL(%rip), %rax
	movq	_GL_DEPTH_BUFFER_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_glClear
	movq	_GL_TEXTURE_EXTERNAL_OES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_glBindTexture
	movss	_mirror_redraw.offset(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, _mirror_redraw.offset(%rip)
	movq	_mirror_shader@GOTPCREL(%rip), %rbx
	movl	16(%rbx), %edi
	callq	_glUseProgram
	movl	%eax, %edi
	callq	_GLCHK
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_glEnableVertexAttribArray
	movl	%eax, %edi
	callq	_GLCHK
	movaps	l___const.mirror_redraw.varray+32(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movaps	l___const.mirror_redraw.varray+16(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.mirror_redraw.varray(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_GL_FLOAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %r9
	movl	$2, %esi
	xorl	%r8d, %r8d
	callq	_glVertexAttribPointer
	movl	%eax, %edi
	callq	_GLCHK
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	movss	_mirror_redraw.offset(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
	callq	_glUniform1f
	movl	%eax, %edi
	callq	_GLCHK
	movq	_GL_TRIANGLES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$6, %edx
	callq	_glDrawArrays
	movl	%eax, %edi
	callq	_GLCHK
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_glDisableVertexAttribArray
	movl	%eax, %edi
	callq	_GLCHK
	xorl	%edi, %edi
	callq	_glUseProgram
	movl	%eax, %edi
	callq	_GLCHK
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mirror_redraw.offset,4,2 ## @mirror_redraw.offset
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ## @GL_COLOR_BUFFER_BIT
	.comm	_GL_DEPTH_BUFFER_BIT,4,2        ## @GL_DEPTH_BUFFER_BIT
	.comm	_GL_TEXTURE_EXTERNAL_OES,4,2    ## @GL_TEXTURE_EXTERNAL_OES
	.comm	_mirror_shader,24,3             ## @mirror_shader
	.section	__TEXT,__const
	.p2align	4                               ## @__const.mirror_redraw.varray
l___const.mirror_redraw.varray:
	.long	0xbf800000                      ## float -1
	.long	0xbf800000                      ## float -1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0xbf800000                      ## float -1
	.long	0xbf800000                      ## float -1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0xbf800000                      ## float -1
	.long	0xbf800000                      ## float -1

	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_GL_TRIANGLES,4,2               ## @GL_TRIANGLES
	.no_dead_strip	_mirror_redraw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mirror_redraw
_mirror_redraw:                         ; @mirror_redraw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GL_COLOR_BUFFER_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_COLOR_BUFFER_BIT@GOTPAGEOFF]
	stur	x8, [x29, #-24]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _GL_DEPTH_BUFFER_BIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GL_DEPTH_BUFFER_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_glClear
Lloh9:
	adrp	x8, _GL_TEXTURE_EXTERNAL_OES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GL_TEXTURE_EXTERNAL_OES@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_glBindTexture
	adrp	x20, _mirror_redraw.offset@PAGE
	ldr	s0, [x20, _mirror_redraw.offset@PAGEOFF]
	fcvt	d0, s0
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16297, lsl #48
	fmov	d1, x8
	fadd	d0, d0, d1
	fcvt	s0, d0
	str	s0, [x20, _mirror_redraw.offset@PAGEOFF]
Lloh12:
	adrp	x19, _mirror_shader@GOTPAGE
Lloh13:
	ldr	x19, [x19, _mirror_shader@GOTPAGEOFF]
	ldr	w0, [x19, #16]
	bl	_glUseProgram
	bl	_GLCHK
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_glEnableVertexAttribArray
	bl	_GLCHK
Lloh14:
	adrp	x8, l___const.mirror_redraw.varray@PAGE
Lloh15:
	add	x8, x8, l___const.mirror_redraw.varray@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldr	q0, [x8, #32]
	str	q0, [sp, #32]
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _GL_FLOAT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GL_FLOAT@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x5, sp
	mov	w1, #2
	mov	w4, #0
	bl	_glVertexAttribPointer
	bl	_GLCHK
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	ldr	s0, [x20, _mirror_redraw.offset@PAGEOFF]
	bl	_glUniform1f
	bl	_GLCHK
Lloh22:
	adrp	x8, _GL_TRIANGLES@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GL_TRIANGLES@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #6
	bl	_glDrawArrays
	bl	_GLCHK
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_glDisableVertexAttribArray
	bl	_GLCHK
	mov	w0, #0
	bl	_glUseProgram
	bl	_GLCHK
	ldur	x8, [x29, #-24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mirror_redraw.offset,4,2 ; @mirror_redraw.offset
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ; @GL_COLOR_BUFFER_BIT
	.comm	_GL_DEPTH_BUFFER_BIT,4,2        ; @GL_DEPTH_BUFFER_BIT
	.comm	_GL_TEXTURE_EXTERNAL_OES,4,2    ; @GL_TEXTURE_EXTERNAL_OES
	.comm	_mirror_shader,24,3             ; @mirror_shader
	.section	__TEXT,__const
	.p2align	2                               ; @__const.mirror_redraw.varray
l___const.mirror_redraw.varray:
	.long	0xbf800000                      ; float -1
	.long	0xbf800000                      ; float -1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0xbf800000                      ; float -1
	.long	0xbf800000                      ; float -1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0xbf800000                      ; float -1
	.long	0xbf800000                      ; float -1

	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_GL_TRIANGLES,4,2               ; @GL_TRIANGLES
	.no_dead_strip	_mirror_redraw
.subsections_via_symbols
