	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gxDrawCrosshair
LCPI0_0:
	.quad	0x4024000000000000              ## double 10
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gxDrawCrosshair:                       ## @gxDrawCrosshair
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ecx
	movq	%rdi, %r12
	movq	_rmode@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %eax
	movl	8(%rbx), %edi
	imull	(%r12), %eax
	cltd
	idivl	4(%rbx)
	movl	%eax, %r13d
	imull	4(%r12), %edi
	movl	%edi, %eax
	cltd
	idivl	12(%rbx)
	movl	%eax, %ebx
	movl	%esi, %eax
	movq	_config@GOTPCREL(%rip), %rdx
	testb	$2, (%rdx)
	je	LBB0_2
## %bb.1:
	leal	(%r13,%r13,2), %edx
	leal	3(%r13,%r13,2), %r13d
	testl	%edx, %edx
	cmovnsl	%edx, %r13d
	sarl	$2, %r13d
LBB0_2:
	movq	_square@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	36(%rdx), %r14d
	movl	12(%rdx), %edi
	movl	16(%rdx), %esi
	subl	%r14d, %edi
	movl	40(%rdx), %r15d
	subl	%r15d, %esi
	movq	_bitmap@GOTPCREL(%rip), %r8
	addl	(%r8), %eax
	imull	%edi, %eax
	movq	_vwidth@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
	movl	%r13d, %edx
	shrl	$31, %edx
	addl	%r13d, %edx
	sarl	%edx
	subl	%edx, %r14d
	addl	%eax, %r14d
	addl	4(%r8), %ecx
	imull	%esi, %ecx
	movq	_vheight@GOTPCREL(%rip), %rsi
	movl	%ecx, %eax
	cltd
	idivl	(%rsi)
	movl	%ebx, %ecx
	shrl	$31, %ecx
	addl	%ebx, %ecx
	sarl	%ecx
	subl	%ecx, %r15d
	addl	%eax, %r15d
	movl	$1, %edi
	callq	_gxResetRendering
	movl	8(%r12), %esi
	movl	(%r12), %edx
	movl	4(%r12), %ecx
	movq	_GX_TF_RGBA8@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GX_CLAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_GX_FALSE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	leaq	-48(%rbp), %rdi
	pushq	%rax
	pushq	%r9
	callq	_GX_InitTexObj
	addq	$16, %rsp
	movq	_GX_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_LIN_MIP_LIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	_GX_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GX_ANISO_4@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	xorps	%xmm2, %xmm2
	leaq	-48(%rbp), %rdi
	callq	_GX_InitTexObjLOD
	movq	_GX_TEXMAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_GX_LoadTexObj
	xorl	%eax, %eax
	callq	_GX_InvalidateTexAll
	movq	_GX_QUADS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_VTXFMT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_GX_Begin
	addl	%r15d, %ebx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_GX_Position2s16
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	movl	$255, %ecx
	callq	_GX_Color4u8
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	callq	_GX_TexCoord2f32
	addl	%r14d, %r13d
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_GX_Position2s16
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	movl	$255, %ecx
	callq	_GX_Color4u8
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_GX_TexCoord2f32
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_GX_Position2s16
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	movl	$255, %ecx
	callq	_GX_Color4u8
	xorps	%xmm1, %xmm1
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_GX_TexCoord2f32
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_GX_Position2s16
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	movl	$255, %ecx
	callq	_GX_Color4u8
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	_GX_TexCoord2f32
	xorl	%eax, %eax
	callq	_GX_End
	xorl	%edi, %edi
	callq	_gxResetRendering
	movq	_texturemem@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_vwidth@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_vheight@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GX_TF_RGB565@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GX_CLAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	(%r12), %eax
	leaq	-44(%rbp), %rdi
	pushq	%rax
	pushq	%r9
	callq	_GX_InitTexObj
	addq	$16, %rsp
	movq	_config@GOTPCREL(%rip), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_4
## %bb.3:
	movq	_GX_NEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GX_NEAR_MIP_NEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	_GX_ANISO_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-44(%rbp), %rdi
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	xorps	%xmm2, %xmm2
	movl	%ecx, %r8d
	callq	_GX_InitTexObjLOD
LBB0_4:
	movq	_GX_TEXMAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	callq	_GX_LoadTexObj
	xorl	%eax, %eax
	callq	_GX_InvalidateTexAll
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rmode,8,3                      ## @rmode
	.comm	_config,8,2                     ## @config
	.comm	_square,8,3                     ## @square
	.comm	_bitmap,8,2                     ## @bitmap
	.comm	_vwidth,4,2                     ## @vwidth
	.comm	_vheight,4,2                    ## @vheight
	.comm	_GX_TF_RGBA8,4,2                ## @GX_TF_RGBA8
	.comm	_GX_CLAMP,4,2                   ## @GX_CLAMP
	.comm	_GX_FALSE,4,2                   ## @GX_FALSE
	.comm	_GX_LINEAR,4,2                  ## @GX_LINEAR
	.comm	_GX_LIN_MIP_LIN,4,2             ## @GX_LIN_MIP_LIN
	.comm	_GX_TRUE,4,2                    ## @GX_TRUE
	.comm	_GX_ANISO_4,4,2                 ## @GX_ANISO_4
	.comm	_GX_TEXMAP0,4,2                 ## @GX_TEXMAP0
	.comm	_GX_QUADS,4,2                   ## @GX_QUADS
	.comm	_GX_VTXFMT0,4,2                 ## @GX_VTXFMT0
	.comm	_texturemem,4,2                 ## @texturemem
	.comm	_GX_TF_RGB565,4,2               ## @GX_TF_RGB565
	.comm	_GX_NEAR,4,2                    ## @GX_NEAR
	.comm	_GX_NEAR_MIP_NEAR,4,2           ## @GX_NEAR_MIP_NEAR
	.comm	_GX_ANISO_1,4,2                 ## @GX_ANISO_1
	.no_dead_strip	_gxDrawCrosshair
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gxDrawCrosshair
_gxDrawCrosshair:                       ; @gxDrawCrosshair
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
Lloh0:
	adrp	x8, _rmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rmode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w9, w10, [x8]
	ldp	w11, w12, [x0]
	mul	w9, w9, w11
	sdiv	w22, w9, w10
	ldp	w9, w8, [x8, #8]
	mul	w9, w9, w12
Lloh3:
	adrp	x10, _config@GOTPAGE
Lloh4:
	ldr	x10, [x10, _config@GOTPAGEOFF]
	sdiv	w23, w9, w8
	ldrb	w8, [x10]
	tbz	w8, #1, LBB0_2
; %bb.1:
	add	w8, w22, w22, lsl #1
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w22, w8, #2
LBB0_2:
Lloh5:
	adrp	x8, _square@GOTPAGE
Lloh6:
	ldr	x8, [x8, _square@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldp	w9, w10, [x8, #12]
	ldp	w11, w8, [x8, #36]
	sub	w9, w9, w11
	sub	w10, w10, w8
Lloh8:
	adrp	x12, _bitmap@GOTPAGE
Lloh9:
	ldr	x12, [x12, _bitmap@GOTPAGEOFF]
	ldp	w13, w12, [x12]
	add	w13, w13, w1
	mul	w9, w13, w9
Lloh10:
	adrp	x25, _vwidth@GOTPAGE
Lloh11:
	ldr	x25, [x25, _vwidth@GOTPAGEOFF]
	ldr	w13, [x25]
	sdiv	w9, w9, w13
	cmp	w22, #0
	cinc	w13, w22, lt
	sub	w11, w11, w13, asr #1
	add	w19, w11, w9
	add	w9, w12, w2
	mul	w9, w9, w10
Lloh12:
	adrp	x26, _vheight@GOTPAGE
Lloh13:
	ldr	x26, [x26, _vheight@GOTPAGEOFF]
	ldr	w10, [x26]
	sdiv	w9, w9, w10
	cmp	w23, #0
	cinc	w10, w23, lt
	sub	w8, w8, w10, asr #1
	add	w20, w8, w9
	mov	w0, #1
	bl	_gxResetRendering
	ldp	w3, w1, [x21, #4]
	ldr	w2, [x21]
Lloh14:
	adrp	x8, _GX_TF_RGBA8@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GX_TF_RGBA8@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
Lloh17:
	adrp	x28, _GX_CLAMP@GOTPAGE
Lloh18:
	ldr	x28, [x28, _GX_CLAMP@GOTPAGEOFF]
	ldr	w5, [x28]
Lloh19:
	adrp	x24, _GX_FALSE@GOTPAGE
Lloh20:
	ldr	x24, [x24, _GX_FALSE@GOTPAGEOFF]
	ldr	w7, [x24]
	add	x0, sp, #12
	mov	x6, x5
	bl	_GX_InitTexObj
Lloh21:
	adrp	x8, _GX_LINEAR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GX_LINEAR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _GX_LIN_MIP_LIN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GX_LIN_MIP_LIN@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	ldr	w3, [x24]
Lloh27:
	adrp	x8, _GX_TRUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GX_TRUE@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
Lloh30:
	adrp	x8, _GX_ANISO_4@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GX_ANISO_4@GOTPAGEOFF]
Lloh32:
	ldr	w5, [x8]
	add	x0, sp, #12
	movi	d0, #0000000000000000
	fmov	d1, #10.00000000
	movi	d2, #0000000000000000
	bl	_GX_InitTexObjLOD
Lloh33:
	adrp	x27, _GX_TEXMAP0@GOTPAGE
Lloh34:
	ldr	x27, [x27, _GX_TEXMAP0@GOTPAGEOFF]
	ldr	w1, [x27]
	add	x0, sp, #12
	bl	_GX_LoadTexObj
	bl	_GX_InvalidateTexAll
Lloh35:
	adrp	x8, _GX_QUADS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GX_QUADS@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _GX_VTXFMT0@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GX_VTXFMT0@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_GX_Begin
	add	w21, w20, w23
	mov	x0, x19
	mov	x1, x21
	bl	_GX_Position2s16
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	mov	w3, #255
	bl	_GX_Color4u8
	movi	d0, #0000000000000000
	fmov	d1, #1.00000000
	bl	_GX_TexCoord2f32
	add	w22, w19, w22
	mov	x0, x22
	mov	x1, x21
	bl	_GX_Position2s16
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	mov	w3, #255
	bl	_GX_Color4u8
	fmov	d0, #1.00000000
	fmov	d1, #1.00000000
	bl	_GX_TexCoord2f32
	mov	x0, x22
	mov	x1, x20
	bl	_GX_Position2s16
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	mov	w3, #255
	bl	_GX_Color4u8
	fmov	d0, #1.00000000
	movi	d1, #0000000000000000
	bl	_GX_TexCoord2f32
	mov	x0, x19
	mov	x1, x20
	bl	_GX_Position2s16
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	mov	w3, #255
	bl	_GX_Color4u8
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	bl	_GX_TexCoord2f32
	bl	_GX_End
	mov	w0, #0
	bl	_gxResetRendering
Lloh41:
	adrp	x8, _texturemem@GOTPAGE
Lloh42:
	ldr	x8, [x8, _texturemem@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	w2, [x25]
	ldr	w3, [x26]
Lloh44:
	adrp	x8, _GX_TF_RGB565@GOTPAGE
Lloh45:
	ldr	x8, [x8, _GX_TF_RGB565@GOTPAGEOFF]
Lloh46:
	ldr	w4, [x8]
	ldr	w5, [x28]
	ldr	w7, [x24]
	add	x0, sp, #8
	mov	x6, x5
	bl	_GX_InitTexObj
Lloh47:
	adrp	x8, _config@GOTPAGE
Lloh48:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh50:
	adrp	x8, _GX_NEAR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _GX_NEAR@GOTPAGEOFF]
Lloh52:
	adrp	x9, _GX_NEAR_MIP_NEAR@GOTPAGE
Lloh53:
	ldr	x9, [x9, _GX_NEAR_MIP_NEAR@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
Lloh55:
	ldr	w2, [x9]
	ldr	w3, [x24]
Lloh56:
	adrp	x8, _GX_ANISO_1@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GX_ANISO_1@GOTPAGEOFF]
Lloh58:
	ldr	w5, [x8]
	add	x0, sp, #8
	movi	d0, #0000000000000000
	fmov	d1, #10.00000000
	movi	d2, #0000000000000000
	mov	x4, x3
	bl	_GX_InitTexObjLOD
LBB0_4:
	ldr	w1, [x27]
	add	x0, sp, #8
	bl	_GX_LoadTexObj
	bl	_GX_InvalidateTexAll
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_rmode,8,3                      ; @rmode
	.comm	_config,8,2                     ; @config
	.comm	_square,8,3                     ; @square
	.comm	_bitmap,8,2                     ; @bitmap
	.comm	_vwidth,4,2                     ; @vwidth
	.comm	_vheight,4,2                    ; @vheight
	.comm	_GX_TF_RGBA8,4,2                ; @GX_TF_RGBA8
	.comm	_GX_CLAMP,4,2                   ; @GX_CLAMP
	.comm	_GX_FALSE,4,2                   ; @GX_FALSE
	.comm	_GX_LINEAR,4,2                  ; @GX_LINEAR
	.comm	_GX_LIN_MIP_LIN,4,2             ; @GX_LIN_MIP_LIN
	.comm	_GX_TRUE,4,2                    ; @GX_TRUE
	.comm	_GX_ANISO_4,4,2                 ; @GX_ANISO_4
	.comm	_GX_TEXMAP0,4,2                 ; @GX_TEXMAP0
	.comm	_GX_QUADS,4,2                   ; @GX_QUADS
	.comm	_GX_VTXFMT0,4,2                 ; @GX_VTXFMT0
	.comm	_texturemem,4,2                 ; @texturemem
	.comm	_GX_TF_RGB565,4,2               ; @GX_TF_RGB565
	.comm	_GX_NEAR,4,2                    ; @GX_NEAR
	.comm	_GX_NEAR_MIP_NEAR,4,2           ; @GX_NEAR_MIP_NEAR
	.comm	_GX_ANISO_1,4,2                 ; @GX_ANISO_1
	.no_dead_strip	_gxDrawCrosshair
.subsections_via_symbols
