	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FS_ReorderPurePaks
_FS_ReorderPurePaks:                    ## @FS_ReorderPurePaks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_fs_numServerPaks@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	testq	%r11, %r11
	je	LBB0_10
## %bb.1:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_fs_reordered@GOTPCREL(%rip), %r8
	movl	%eax, (%r8)
	testl	%r11d, %r11d
	jle	LBB0_10
## %bb.2:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_fs_searchpaths@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	movq	_fs_serverPaks@GOTPCREL(%rip), %r10
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	cmpq	%r11, %rdi
	je	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r10), %rax
	movq	%r14, %rdx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	%rsi, %rdx
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rax,%rdi,8), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r9d, (%r8)
	movq	(%rsi), %rax
	movq	%rax, (%rdx)
	movq	(%r14), %rax
	movq	%rax, (%rsi)
	movq	%rsi, (%r14)
	movq	%rsi, %r14
	jmp	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fs_numServerPaks,4,2           ## @fs_numServerPaks
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_fs_reordered,4,2               ## @fs_reordered
	.comm	_fs_searchpaths,8,3             ## @fs_searchpaths
	.comm	_fs_serverPaks,8,3              ## @fs_serverPaks
	.comm	_qtrue,4,2                      ## @qtrue
	.no_dead_strip	_FS_ReorderPurePaks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FS_ReorderPurePaks
_FS_ReorderPurePaks:                    ; @FS_ReorderPurePaks
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _fs_numServerPaks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fs_numServerPaks@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.1:
Lloh3:
	adrp	x9, _qfalse@GOTPAGE
Lloh4:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x9]
Lloh6:
	adrp	x9, _fs_reordered@GOTPAGE
Lloh7:
	ldr	x9, [x9, _fs_reordered@GOTPAGEOFF]
	str	w10, [x9]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x10, #0
Lloh8:
	adrp	x11, _qtrue@GOTPAGE
Lloh9:
	ldr	x11, [x11, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
Lloh11:
	adrp	x12, _fs_searchpaths@GOTPAGE
Lloh12:
	ldr	x12, [x12, _fs_searchpaths@GOTPAGEOFF]
Lloh13:
	adrp	x13, _fs_serverPaks@GOTPAGE
Lloh14:
	ldr	x13, [x13, _fs_serverPaks@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	cmp	x10, x8
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x14, [x12]
	cbz	x14, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x13]
	mov	x16, x12
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x16, x14
	ldr	x14, [x14]
	cbz	x14, LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x17, [x14, #8]
	cbz	x17, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x0, [x15, x10, lsl #3]
	ldr	x17, [x17]
	cmp	x0, x17
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w11, [x9]
	ldr	x15, [x14]
	str	x15, [x16]
	ldr	x15, [x12]
	str	x15, [x14]
	str	x14, [x12]
	mov	x12, x14
	b	LBB0_3
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_fs_numServerPaks,4,2           ; @fs_numServerPaks
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_fs_reordered,4,2               ; @fs_reordered
	.comm	_fs_searchpaths,8,3             ; @fs_searchpaths
	.comm	_fs_serverPaks,8,3              ; @fs_serverPaks
	.comm	_qtrue,4,2                      ; @qtrue
	.no_dead_strip	_FS_ReorderPurePaks
.subsections_via_symbols
