	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_crosshair_buffer           ## -- Begin function gen_crosshair_buffer
	.p2align	4, 0x90
_gen_crosshair_buffer:                  ## @gen_crosshair_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	_g@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	8(%rcx), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movq	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	pextrd	$1, %xmm1, %ecx
	subl	%eax, %ecx
	movd	%eax, %xmm0
	pshufd	$80, %xmm0, %xmm2               ## xmm2 = xmm0[0,0,1,1]
	paddd	%xmm1, %xmm2
	movd	%ecx, %xmm3
	movd	%xmm1, %ecx
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	pshufd	$85, %xmm1, %xmm4               ## xmm4 = xmm1[1,1,1,1]
	psubd	%xmm0, %xmm1
	pblendw	$12, %xmm2, %xmm1               ## xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6,7]
	pshufd	$225, %xmm1, %xmm0              ## xmm0 = xmm1[1,0,2,3]
	punpcklqdq	%xmm0, %xmm3            ## xmm3 = xmm3[0],xmm0[0]
	cvtdq2ps	%xmm3, %xmm0
	extractps	$1, %xmm0, -48(%rbp)
	movups	%xmm0, -44(%rbp)
	addl	%eax, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm0
	cvtdq2ps	%xmm4, %xmm1
	movss	%xmm1, -28(%rbp)
	movss	%xmm0, -24(%rbp)
	movss	%xmm1, -20(%rbp)
	leaq	-48(%rbp), %rsi
	movl	$32, %edi
	callq	_gen_buffer
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_g,8,3                          ## @g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_crosshair_buffer           ; -- Begin function gen_crosshair_buffer
	.p2align	2
_gen_crosshair_buffer:                  ; @gen_crosshair_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, _g@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldp	w9, w10, [x8]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	ldr	w8, [x8, #8]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	scvtf	s0, w9
	sub	w11, w10, w8
	scvtf	s1, w11
	stp	s0, s1, [sp, #8]
	add	w11, w8, w10
	scvtf	s1, w11
	stp	s0, s1, [sp, #16]
	sub	w11, w9, w8
	scvtf	s0, w11
	scvtf	s1, w10
	stp	s0, s1, [sp, #24]
	add	w8, w8, w9
	scvtf	s0, w8
	stp	s0, s1, [sp, #32]
	add	x1, sp, #8
	mov	w0, #32
	bl	_gen_buffer
	ldur	x8, [x29, #-8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_g,8,3                          ; @g
.subsections_via_symbols
