	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_crosshairs              ## -- Begin function render_crosshairs
	.p2align	4, 0x90
_render_crosshairs:                     ## @render_crosshairs
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_g@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	callq	_set_matrix_2d
	movl	4(%r15), %edi
	callq	_glUseProgram
	movq	(%rbx), %rax
	movl	(%rax), %edi
	shll	$2, %edi
	callq	_glLineWidth
	movq	_GL_COLOR_LOGIC_OP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_glEnable
	movl	(%r15), %edi
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	movq	%r14, %rcx
	callq	_glUniformMatrix4fv
	xorl	%eax, %eax
	callq	_gen_crosshair_buffer
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$2, %edx
	movl	$4, %ecx
	callq	_draw_lines
	movl	%ebx, %edi
	callq	_del_buffer
	movl	(%r12), %edi
	callq	_glDisable
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_g,8,3                          ## @g
	.comm	_GL_COLOR_LOGIC_OP,4,2          ## @GL_COLOR_LOGIC_OP
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_crosshairs              ; -- Begin function render_crosshairs
	.p2align	2
_render_crosshairs:                     ; @render_crosshairs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x20, _g@GOTPAGE
Lloh4:
	ldr	x20, [x20, _g@GOTPAGEOFF]
	ldr	x8, [x20]
	ldp	w2, w1, [x8, #4]
	add	x0, sp, #8
	bl	_set_matrix_2d
	ldr	w0, [x19, #4]
	bl	_glUseProgram
	ldr	x8, [x20]
	ldr	w8, [x8]
	lsl	w0, w8, #2
	bl	_glLineWidth
Lloh5:
	adrp	x21, _GL_COLOR_LOGIC_OP@GOTPAGE
Lloh6:
	ldr	x21, [x21, _GL_COLOR_LOGIC_OP@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_glEnable
	ldr	w0, [x19]
Lloh7:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	w1, #1
	bl	_glUniformMatrix4fv
	bl	_gen_crosshair_buffer
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	mov	w3, #4
	bl	_draw_lines
	mov	x0, x20
	bl	_del_buffer
	ldr	w0, [x21]
	bl	_glDisable
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_g,8,3                          ; @g
	.comm	_GL_COLOR_LOGIC_OP,4,2          ; @GL_COLOR_LOGIC_OP
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
.subsections_via_symbols
