	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_PureServerSetReferencedPaks ## -- Begin function FS_PureServerSetReferencedPaks
	.p2align	4, 0x90
_FS_PureServerSetReferencedPaks:        ## @FS_PureServerSetReferencedPaks
	.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), %r15
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	movq	_fs_numServerReferencedPaks@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.1:
	movl	%ecx, %r12d
	xorl	%ebx, %ebx
	movq	_fs_serverReferencedPaks@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_Cmd_Argv
	movl	%eax, %edi
	callq	_atoi
	movq	(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	movq	_fs_serverReferencedPakNames@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_Z_Free
	movq	(%r13), %rax
	jmp	LBB0_6
LBB0_7:
	testq	%r14, %r14
	je	LBB0_12
## %bb.8:
	cmpb	$0, (%r14)
	je	LBB0_12
## %bb.9:
	movq	%r14, %rdi
	callq	_Cmd_TokenizeString
	xorl	%eax, %eax
	callq	_Cmd_Argc
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.10:
	movl	%ecx, %r14d
	xorl	%ebx, %ebx
	movq	_fs_serverReferencedPakNames@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>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_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SEARCH_PATHS,4,2           ## @MAX_SEARCH_PATHS
	.comm	_fs_numServerReferencedPaks,4,2 ## @fs_numServerReferencedPaks
	.comm	_fs_serverReferencedPaks,8,3    ## @fs_serverReferencedPaks
	.comm	_fs_serverReferencedPakNames,8,3 ## @fs_serverReferencedPakNames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_PureServerSetReferencedPaks ; -- Begin function FS_PureServerSetReferencedPaks
	.p2align	2
_FS_PureServerSetReferencedPaks:        ; @FS_PureServerSetReferencedPaks
	.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	x8, _fs_numServerReferencedPaks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fs_numServerReferencedPaks@GOTPAGEOFF]
Lloh4:
	str	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, #0
Lloh5:
	adrp	x23, _fs_serverReferencedPaks@GOTPAGE
Lloh6:
	ldr	x23, [x23, _fs_serverReferencedPaks@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_Cmd_Argv
	bl	_atoi
	ldr	x8, [x23]
	str	w0, [x8, x20, lsl #2]
	add	x20, x20, #1
	cmp	x22, x20
	b.ne	LBB0_2
; %bb.3:
	mov	x20, #0
	lsl	x22, x22, #3
Lloh7:
	adrp	x23, _fs_serverReferencedPakNames@GOTPAGE
Lloh8:
	ldr	x23, [x23, _fs_serverReferencedPakNames@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x8, x20]
	add	x20, x20, #8
	cmp	x22, x20
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x0, [x8, x20]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_Z_Free
	ldr	x8, [x23]
	b	LBB0_4
LBB0_7:
	cbz	x19, LBB0_12
; %bb.8:
	ldrb	w8, [x19]
	cbz	w8, LBB0_12
; %bb.9:
	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_12
; %bb.10:
	mov	x19, #0
Lloh9:
	adrp	x21, _fs_serverReferencedPakNames@GOTPAGE
Lloh10:
	ldr	x21, [x21, _fs_serverReferencedPakNames@GOTPAGEOFF]
LBB0_11:                                ; =>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_11
LBB0_12:
	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
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SEARCH_PATHS,4,2           ; @MAX_SEARCH_PATHS
	.comm	_fs_numServerReferencedPaks,4,2 ; @fs_numServerReferencedPaks
	.comm	_fs_serverReferencedPaks,8,3    ; @fs_serverReferencedPaks
	.comm	_fs_serverReferencedPakNames,8,3 ; @fs_serverReferencedPakNames
.subsections_via_symbols
