	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_ReplacePendingServerCommands ## -- Begin function SV_ReplacePendingServerCommands
	.p2align	4, 0x90
_SV_ReplacePendingServerCommands:       ## @SV_ReplacePendingServerCommands
	.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	(%rdi), %r12d
	movq	_qfalse@GOTPCREL(%rip), %rax
	cmpl	4(%rdi), %r12d
	jge	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	4(%rbx), %r12d
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r12d
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	movslq	%r12d, %r15
	andq	%rax, %r15
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %r13
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_Q_strncmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %r13
	movq	%r13, %rsi
	leaq	-48(%rbp), %rdx
	callq	_sscanf
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	movq	%r13, %rsi
	leaq	-44(%rbp), %rdx
	callq	_sscanf
	movl	-48(%rbp), %eax
	cmpl	-44(%rbp), %eax
	jne	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_Q_strncpyz
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ## @MAX_RELIABLE_COMMANDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cs"

L_.str.1:                               ## @.str.1
	.asciz	"cs %i"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_ReplacePendingServerCommands ; -- Begin function SV_ReplacePendingServerCommands
	.p2align	2
_SV_ReplacePendingServerCommands:       ; @SV_ReplacePendingServerCommands
	.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
	ldp	w25, w8, [x0]
	cmp	w25, w8
	b.ge	LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x24, _qfalse@GOTPAGE
Lloh5:
	ldr	x24, [x24, _qfalse@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #4]
	cmp	w25, w8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w25, w25, #1
	ldr	w8, [x26]
	sub	w8, w8, #1
	and	w27, w8, w25
	ldr	x8, [x20, #8]
	ldr	x23, [x8, w27, sxtw #3]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_Q_strncmp
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x23, w27
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x22
	bl	_sscanf
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	add	x2, sp, #8
	mov	x1, x22
	bl	_sscanf
	ldp	w9, w8, [sp, #8]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	mov	x1, x19
	mov	w2, #8
	bl	_Q_strncpyz
Lloh8:
	adrp	x24, _qtrue@GOTPAGE
Lloh9:
	ldr	x24, [x24, _qtrue@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x24, _qfalse@GOTPAGE
Lloh11:
	ldr	x24, [x24, _qfalse@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x24]
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ; @MAX_RELIABLE_COMMANDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cs"

l_.str.1:                               ; @.str.1
	.asciz	"cs %i"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
