	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_UserMove
_SV_UserMove:                           ## @SV_UserMove
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PACKET_USERCMDS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	movl	%eax, (%rbx)
	movq	%r13, %r12
	movq	%r13, %rdi
	callq	_MSG_ReadByte
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	cmpl	(%r14), %eax
	jle	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_Com_Printf
	jmp	LBB0_25
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	jmp	LBB0_25
LBB0_7:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	_sv@GOTPCREL(%rip), %rcx
	movl	4(%rbx), %r14d
	xorl	(%rcx), %r14d
	movq	56(%rbx), %rsi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movslq	8(%rbx), %rcx
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	decq	%rdx
	andq	%rcx, %rdx
	movl	(%rsi,%rdx,4), %edi
	movl	$32, %esi
	callq	_MSG_HashKey
	xorl	%r14d, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	-104(%rbp), %r14
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_Com_Memset
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	leaq	(,%rax,8), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %r15
	movq	%rbx, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_MSG_ReadDeltaUsercmdKey
	addq	$8, %r13
	movq	%r15, %r14
	cmpq	%r13, %r12
	jne	LBB0_8
## %bb.9:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	_svs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	48(%r14), %rcx
	movslq	4(%r14), %rdx
	movq	_PACKET_MASK@GOTPCREL(%rip), %rsi
	andq	(%rsi), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_sv_pure@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	cmpq	$0, 16(%r14)
	jne	LBB0_14
## %bb.11:
	cmpl	$0, 44(%r14)
	je	LBB0_12
LBB0_14:
	movq	24(%r14), %rcx
	movq	_CS_PRIMED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_SV_ClientEnterWorld
	movq	(%rbx), %rax
	movq	(%rax), %rax
LBB0_16:
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	cmpq	$0, 16(%r14)
	je	LBB0_18
LBB0_19:
	movq	24(%r14), %rax
	movq	_CS_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.20:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	decl	%ecx
	movq	%r12, %rbx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	addq	$8, %rbx
	decq	%rdx
	je	LBB0_25
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r12,%rcx,8), %rax
	jg	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	32(%r14), %rax
	jle	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rcx, %r13
	movq	%r14, %r12
	movq	%r15, %r14
	movq	%rdx, %r15
	callq	_SV_ClientThink
	movq	%r15, %rdx
	movq	%r14, %r15
	movq	%r12, %r14
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r13, %rcx
	jmp	LBB0_24
LBB0_27:
	movl	$-1, (%r14)
	jmp	LBB0_25
LBB0_18:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_SV_DropClient
LBB0_25:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.26:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	24(%r14), %rax
	movq	_CS_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_25
## %bb.13:
	movl	40(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_Com_DPrintf
	movq	%r14, %rdi
	callq	_SV_SendClientGameState
	jmp	LBB0_25
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PACKET_USERCMDS,4,2        ## @MAX_PACKET_USERCMDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmdCount < 1\n"

L_.str.1:                               ## @.str.1
	.asciz	"cmdCount > MAX_PACKET_USERCMDS\n"

	.comm	_sv,4,2                         ## @sv
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ## @MAX_RELIABLE_COMMANDS
	.comm	_svs,4,2                        ## @svs
	.comm	_PACKET_MASK,8,3                ## @PACKET_MASK
	.comm	_sv_pure,8,3                    ## @sv_pure
	.comm	_CS_ACTIVE,8,3                  ## @CS_ACTIVE
L_.str.2:                               ## @.str.2
	.asciz	"%s: didn't get cp command, resending gamestate\n"

	.comm	_CS_PRIMED,8,3                  ## @CS_PRIMED
L_.str.3:                               ## @.str.3
	.asciz	"Cannot validate pure client!"

	.no_dead_strip	_SV_UserMove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_UserMove
_SV_UserMove:                           ; @SV_UserMove
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x22, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x23, _MAX_PACKET_USERCMDS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAX_PACKET_USERCMDS@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	b	LBB0_3
LBB0_2:
	mov	w8, #-1
LBB0_3:
	str	w8, [x19]
	mov	x0, x22
	bl	_MSG_ReadByte
	cmp	w0, #0
	b.le	LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.le	LBB0_7
; %bb.5:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	b	LBB0_24
LBB0_6:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
	b	LBB0_24
LBB0_7:
	stur	x24, [x29, #-104]               ; 8-byte Folded Spill
Lloh11:
	adrp	x8, _sv@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sv@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldp	w9, w10, [x19, #4]
	eor	w23, w9, w8
Lloh14:
	adrp	x8, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
	ldr	x9, [x19, #56]
Lloh16:
	ldr	w8, [x8]
	sub	w8, w8, #1
	and	w8, w8, w10
	ldr	w0, [x9, w8, sxtw #2]
	mov	w1, #32
	bl	_MSG_HashKey
	eor	w23, w23, w0
	sub	x24, x29, #96
	sub	x0, x29, #96
	mov	w1, #0
	mov	w2, #8
	bl	_Com_Memset
	mov	x28, #0
	mov	w27, w21
	lsl	x26, x27, #3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x20, x28
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_MSG_ReadDeltaUsercmdKey
	add	x28, x28, #8
	mov	x24, x25
	cmp	x26, x28
	b.ne	LBB0_8
; %bb.9:
Lloh17:
	adrp	x8, _svs@GOTPAGE
Lloh18:
	ldr	x8, [x8, _svs@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x9, [x19, #48]
	ldrsw	x10, [x19, #4]
Lloh20:
	adrp	x11, _PACKET_MASK@GOTPAGE
Lloh21:
	ldr	x11, [x11, _PACKET_MASK@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	and	x10, x11, x10
	str	w8, [x9, x10, lsl #2]
Lloh23:
	adrp	x22, _sv_pure@GOTPAGE
Lloh24:
	ldr	x22, [x22, _sv_pure@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldur	x24, [x29, #-104]               ; 8-byte Folded Reload
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x9, [x19, #16]
	cbnz	x9, LBB0_12
; %bb.11:
	ldr	w9, [x19, #44]
	cbz	w9, LBB0_26
LBB0_12:
	ldr	x9, [x19, #24]
Lloh25:
	adrp	x10, _CS_PRIMED@GOTPAGE
Lloh26:
	ldr	x10, [x10, _CS_PRIMED@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	bl	_SV_ClientEnterWorld
	ldr	x8, [x22]
	ldr	x8, [x8]
LBB0_14:
	cbz	x8, LBB0_16
; %bb.15:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_23
LBB0_16:
	ldr	x8, [x19, #24]
Lloh28:
	adrp	x9, _CS_ACTIVE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _CS_ACTIVE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.17:
	sub	w22, w21, #1
	mov	x21, x20
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x21, x21, #8
	subs	x27, x27, #1
	b.eq	LBB0_24
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x20, x22, lsl #3]
	cmp	x8, x9
	b.gt	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.le	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_SV_ClientThink
	b	LBB0_18
LBB0_22:
	mov	w8, #-1
	str	w8, [x19]
	b	LBB0_24
LBB0_23:
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_SV_DropClient
LBB0_24:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.25:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	ldr	x8, [x19, #24]
Lloh36:
	adrp	x9, _CS_ACTIVE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _CS_ACTIVE@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.27:
	ldr	w1, [x19, #40]
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_DPrintf
	mov	x0, x19
	bl	_SV_SendClientGameState
	b	LBB0_24
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PACKET_USERCMDS,4,2        ; @MAX_PACKET_USERCMDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmdCount < 1\n"

l_.str.1:                               ; @.str.1
	.asciz	"cmdCount > MAX_PACKET_USERCMDS\n"

	.comm	_sv,4,2                         ; @sv
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ; @MAX_RELIABLE_COMMANDS
	.comm	_svs,4,2                        ; @svs
	.comm	_PACKET_MASK,8,3                ; @PACKET_MASK
	.comm	_sv_pure,8,3                    ; @sv_pure
	.comm	_CS_ACTIVE,8,3                  ; @CS_ACTIVE
l_.str.2:                               ; @.str.2
	.asciz	"%s: didn't get cp command, resending gamestate\n"

	.comm	_CS_PRIMED,8,3                  ; @CS_PRIMED
l_.str.3:                               ; @.str.3
	.asciz	"Cannot validate pure client!"

	.no_dead_strip	_SV_UserMove
.subsections_via_symbols
