	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_PureServerSetLoadedPaks     ## -- Begin function FS_PureServerSetLoadedPaks
	.p2align	4, 0x90
_FS_PureServerSetLoadedPaks:            ## @FS_PureServerSetLoadedPaks
	.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
	movq	%rsi, %r14
	callq	_Cmd_TokenizeString
	xorl	%eax, %eax
	callq	_Cmd_Argc
	movq	_MAX_SEARCH_PATHS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	cmpl	%r13d, %eax
	cmovll	%eax, %r13d
	movq	_fs_numServerPaks@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movl	%r13d, %r12d
	movl	%r13d, %eax
	testl	%r13d, %r13d
	jle	LBB0_4
## %bb.1:
	movq	%r14, %r15
	xorl	%ebx, %ebx
	movq	_fs_serverPaks@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_Cmd_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_2
## %bb.3:
	movq	_fs_numServerPaks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %r14
LBB0_4:
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_Com_DPrintf
LBB0_7:
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	movq	_fs_serverPakNames@GOTPCREL(%rip), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_Z_Free
	movq	(%r15), %rax
	jmp	LBB0_11
LBB0_12:
	testq	%r14, %r14
	je	LBB0_17
## %bb.13:
	cmpb	$0, (%r14)
	je	LBB0_17
## %bb.14:
	movq	%r14, %rdi
	callq	_Cmd_TokenizeString
	xorl	%eax, %eax
	callq	_Cmd_Argc
	movq	_MAX_SEARCH_PATHS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.15:
	movl	%ecx, %r14d
	xorl	%ebx, %ebx
	movq	_fs_serverPakNames@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_Cmd_Argv
	movl	%eax, %edi
	callq	_CopyString
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_fs_reordered@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.18:
	leaq	L_.str.1(%rip), %rdi
	callq	_Com_DPrintf
	movq	_fs_checksumFeed@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FS_Restart                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SEARCH_PATHS,4,2           ## @MAX_SEARCH_PATHS
	.comm	_fs_numServerPaks,4,2           ## @fs_numServerPaks
	.comm	_fs_serverPaks,8,3              ## @fs_serverPaks
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Connected to a pure server.\n"

	.comm	_fs_reordered,8,3               ## @fs_reordered
L_.str.1:                               ## @.str.1
	.asciz	"FS search reorder is required\n"

	.comm	_fs_checksumFeed,4,2            ## @fs_checksumFeed
	.comm	_fs_serverPakNames,8,3          ## @fs_serverPakNames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_PureServerSetLoadedPaks     ; -- Begin function FS_PureServerSetLoadedPaks
	.p2align	2
_FS_PureServerSetLoadedPaks:            ; @FS_PureServerSetLoadedPaks
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	bl	_Cmd_TokenizeString
	bl	_Cmd_Argc
Lloh0:
	adrp	x21, _MAX_SEARCH_PATHS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_SEARCH_PATHS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	csel	w22, w0, w8, lt
Lloh2:
	adrp	x23, _fs_numServerPaks@GOTPAGE
Lloh3:
	ldr	x23, [x23, _fs_numServerPaks@GOTPAGEOFF]
	str	w22, [x23]
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x20, #0
Lloh4:
	adrp	x24, _fs_serverPaks@GOTPAGE
Lloh5:
	ldr	x24, [x24, _fs_serverPaks@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_Cmd_Argv
	bl	_atoi
	ldr	x8, [x24]
	str	w0, [x8, x20, lsl #2]
	add	x20, x20, #1
	cmp	x22, x20
	b.ne	LBB0_2
; %bb.3:
	ldr	w8, [x23]
	cbz	w8, LBB0_17
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_DPrintf
LBB0_5:
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x20, #0
	lsl	x22, x22, #3
Lloh8:
	adrp	x23, _fs_serverPakNames@GOTPAGE
Lloh9:
	ldr	x23, [x23, _fs_serverPakNames@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	xzr, [x8, x20]
	add	x20, x20, #8
	cmp	x22, x20
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x0, [x8, x20]
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_Z_Free
	ldr	x8, [x23]
	b	LBB0_7
LBB0_10:
	cbz	x19, LBB0_15
; %bb.11:
	ldrb	w8, [x19]
	cbz	w8, LBB0_15
; %bb.12:
	mov	x0, x19
	bl	_Cmd_TokenizeString
	bl	_Cmd_Argc
	ldr	w8, [x21]
	cmp	w0, w8
	csel	w20, w0, w8, lt
	cmp	w20, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x19, #0
Lloh10:
	adrp	x21, _fs_serverPakNames@GOTPAGE
Lloh11:
	ldr	x21, [x21, _fs_serverPakNames@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_Cmd_Argv
	bl	_CopyString
	ldr	x8, [x21]
	str	x0, [x8, x19, lsl #3]
	add	x19, x19, #1
	cmp	x20, x19
	b.ne	LBB0_14
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x8, x22
	cbnz	w8, LBB0_4
LBB0_17:
Lloh12:
	adrp	x8, _fs_reordered@GOTPAGE
Lloh13:
	ldr	x8, [x8, _fs_reordered@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.18:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_DPrintf
Lloh17:
	adrp	x8, _fs_checksumFeed@GOTPAGE
Lloh18:
	ldr	x8, [x8, _fs_checksumFeed@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_FS_Restart
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SEARCH_PATHS,4,2           ; @MAX_SEARCH_PATHS
	.comm	_fs_numServerPaks,4,2           ; @fs_numServerPaks
	.comm	_fs_serverPaks,8,3              ; @fs_serverPaks
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Connected to a pure server.\n"

	.comm	_fs_reordered,8,3               ; @fs_reordered
l_.str.1:                               ; @.str.1
	.asciz	"FS search reorder is required\n"

	.comm	_fs_checksumFeed,4,2            ; @fs_checksumFeed
	.comm	_fs_serverPakNames,8,3          ; @fs_serverPakNames
.subsections_via_symbols
