	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_SpawnRailTrail
_CG_SpawnRailTrail:                     ## @CG_SpawnRailTrail
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	_WP_RAILGUN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.3:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
	movq	_cgs@GOTPCREL(%rip), %rcx
	movq	24(%rdi), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	movl	(%rdi), %edx
	movq	%rax, %rdi
	popq	%rbp
	jmp	_CG_RailTrail                   ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WP_RAILGUN,8,3                 ## @WP_RAILGUN
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_cgs,8,3                        ## @cgs
	.no_dead_strip	_CG_SpawnRailTrail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_SpawnRailTrail
_CG_SpawnRailTrail:                     ; @CG_SpawnRailTrail
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _WP_RAILGUN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WP_RAILGUN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _qtrue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x0, #8]
Lloh6:
	adrp	x8, _cgs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x0, #24]
	add	x8, x8, x9, lsl #2
	ldr	w2, [x0]
	mov	x0, x8
	b	_CG_RailTrail
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WP_RAILGUN,8,3                 ; @WP_RAILGUN
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_cgs,8,3                        ; @cgs
	.no_dead_strip	_CG_SpawnRailTrail
.subsections_via_symbols
