	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_TransitionPlayerState       ## -- Begin function CG_TransitionPlayerState
	.p2align	4, 0x90
_CG_TransitionPlayerState:              ## @CG_TransitionPlayerState
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpq	(%rsi), %rax
	je	LBB0_2
## %bb.1:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cg@GOTPCREL(%rip), %rcx
	movl	%eax, 32(%rcx)
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	32(%rbx), %xmm2
	movups	%xmm2, 32(%r14)
	movups	%xmm1, 16(%r14)
	movups	%xmm0, (%r14)
LBB0_2:
	movq	8(%rbx), %rax
	cmpq	8(%r14), %rax
	je	LBB0_5
## %bb.3:
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movl	40(%rbx), %esi
	movl	44(%rbx), %edi
	callq	_CG_DamageFeedback
LBB0_5:
	movq	16(%rbx), %rax
	movq	_PERS_SPAWN_COUNT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	16(%r14), %rdx
	cmpq	(%rdx,%rcx,8), %rax
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_CG_Respawn
LBB0_7:
	movq	_cg@GOTPCREL(%rip), %r15
	cmpq	$0, 24(%r15)
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_CG_Respawn
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
LBB0_9:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	_PM_INTERMISSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.10:
	movq	16(%rbx), %rax
	movq	_PERS_TEAM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_CG_CheckLocalSounds
LBB0_12:
	xorl	%eax, %eax
	callq	_CG_CheckAmmo
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_CG_CheckPlayerstateEvents
	movq	24(%rbx), %rax
	subq	24(%r14), %rax
	je	LBB0_14
## %bb.13:
	movq	%rax, (%r15)
	movl	8(%r15), %eax
	movl	%eax, 12(%r15)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_cg,40,3                        ## @cg
	.comm	_PERS_SPAWN_COUNT,8,3           ## @PERS_SPAWN_COUNT
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_PM_INTERMISSION,8,3            ## @PM_INTERMISSION
	.comm	_PERS_TEAM,8,3                  ## @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ## @TEAM_SPECTATOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_TransitionPlayerState       ; -- Begin function CG_TransitionPlayerState
	.p2align	2
_CG_TransitionPlayerState:              ; @CG_TransitionPlayerState
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x1]
Lloh0:
	adrp	x21, _cg@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cg@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21, #32]
	ldp	q0, q1, [x20]
	ldr	q2, [x20, #32]
	stp	q1, q2, [x19, #16]
	str	q0, [x19]
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.3:
	ldr	x2, [x20, #32]
	cbz	x2, LBB0_5
; %bb.4:
	ldp	w1, w0, [x20, #40]
	bl	_CG_DamageFeedback
LBB0_5:
	ldr	x8, [x20, #16]
Lloh5:
	adrp	x9, _PERS_SPAWN_COUNT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PERS_SPAWN_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	lsl	x9, x9, #3
	ldr	x8, [x8, x9]
	ldr	x10, [x19, #16]
	ldr	x9, [x10, x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	bl	_CG_Respawn
LBB0_7:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_9
; %bb.8:
	bl	_CG_Respawn
Lloh8:
	adrp	x8, _qfalse@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x21, #24]
LBB0_9:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _PM_INTERMISSION@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PM_INTERMISSION@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.10:
	ldr	x8, [x20, #16]
Lloh14:
	adrp	x9, _PERS_TEAM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PERS_TEAM@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh17:
	adrp	x9, _TEAM_SPECTATOR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TEAM_SPECTATOR@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_CG_CheckLocalSounds
LBB0_12:
	bl	_CG_CheckAmmo
	mov	x0, x20
	mov	x1, x19
	bl	_CG_CheckPlayerstateEvents
	ldr	x8, [x20, #24]
	ldr	x9, [x19, #24]
	subs	x8, x8, x9
	b.eq	LBB0_14
; %bb.13:
	str	x8, [x21]
	ldr	w8, [x21, #8]
	str	w8, [x21, #12]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_cg,40,3                        ; @cg
	.comm	_PERS_SPAWN_COUNT,8,3           ; @PERS_SPAWN_COUNT
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_PM_INTERMISSION,8,3            ; @PM_INTERMISSION
	.comm	_PERS_TEAM,8,3                  ; @PERS_TEAM
	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
.subsections_via_symbols
