	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetFarmInfo                  ## -- Begin function StGetFarmInfo
	.p2align	4, 0x90
_StGetFarmInfo:                         ## @StGetFarmInfo
	.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, %r13
	movq	(%rdi), %r14
	movq	(%rsi), %r12
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rsi, %rdi
	callq	_FreeRpcFarmInfo
	movq	%r13, %rdi
	movl	$88, %esi
	callq	_Zero
	movq	(%r14), %rax
	movq	_SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movl	8(%r14), %edi
	callq	_LockList
	movl	8(%r14), %edi
	movq	%r12, %rsi
	callq	_IsInListKey
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edi
	movq	%r12, %rsi
	callq	_ListKeyToPointer
	movq	%rax, %r15
	movq	%r12, (%r13)
	movl	52(%rax), %eax
	movl	%eax, 68(%r13)
	movl	48(%r15), %eax
	movl	%eax, 80(%r13)
	movl	44(%r15), %edi
	callq	_LockList
	movl	44(%r15), %edi
	callq	_LIST_NUM
	movq	%rax, 8(%r13)
	leal	(,%rax,8), %edi
	callq	_ZeroMalloc
	movq	%rax, 72(%r13)
	cmpq	$0, 8(%r13)
	je	LBB0_7
## %bb.3:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	44(%r15), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movl	4(%rax), %ecx
	movl	%ecx, 4(%r12,%rbx,8)
	movl	(%r12,%rbx,8), %edi
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_StrCpy
	incq	%rbx
	cmpq	8(%r13), %rbx
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	72(%r13), %r12
	jmp	LBB0_4
LBB0_6:
	movq	_ERR_NOT_FARM_CONTROLLER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
LBB0_7:
	movl	44(%r15), %edi
	callq	_UnlockList
	cmpl	$0, 68(%r13)
	je	LBB0_20
## %bb.8:
	movq	16(%r14), %rax
	movl	12(%rax), %edi
	callq	_TickToTime
	movl	%eax, 64(%r13)
	movl	$16777343, 16(%r13)             ## imm = 0x100007F
	movl	60(%r13), %edi
	movl	$4, %esi
	callq	_GetMachineName
	movl	32(%r15), %eax
	movl	%eax, 56(%r13)
	movl	24(%r14), %edi
	callq	_LockList
	movl	$0, 20(%r13)
	movl	24(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movl	24(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jae	LBB0_13
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	20(%r13)
	jmp	LBB0_10
LBB0_13:
	movl	20(%r13), %edi
	shll	$3, %edi
	callq	_ZeroMalloc
	movq	%rax, 48(%r13)
	movl	24(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	movl	24(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jae	LBB0_18
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpq	$0, 8(%rax)
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rax), %eax
	movq	48(%r13), %rcx
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	jmp	LBB0_15
LBB0_18:
	movl	24(%r14), %edi
	callq	_UnlockList
	movq	16(%r14), %rax
	movl	8(%rax), %edi
	callq	_CloneX
	movq	%rax, 40(%r13)
	movq	16(%r14), %rax
	movl	4(%rax), %edi
	callq	_Count
	movq	%rax, 32(%r13)
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_Count
	movq	%rax, 24(%r13)
	jmp	LBB0_21
LBB0_19:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_22
LBB0_20:
	movl	40(%r15), %eax
	movl	%eax, 64(%r13)
	movl	(%r15), %eax
	movl	%eax, 16(%r13)
	movl	60(%r13), %edi
	movl	36(%r15), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	32(%r15), %eax
	movl	%eax, 56(%r13)
	movl	4(%r15), %edi
	movl	%edi, 20(%r13)
	shll	$3, %edi
	callq	_ZeroMalloc
	movq	%rax, 48(%r13)
	movl	28(%r15), %esi
	movl	20(%r13), %edx
	shll	$3, %edx
	movq	%rax, %rdi
	callq	_Copy
	movl	24(%r15), %edi
	callq	_CloneX
	movq	%rax, 40(%r13)
	movups	8(%r15), %xmm0
	movups	%xmm0, 24(%r13)
LBB0_21:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_22:
	movl	8(%r14), %edi
	callq	_UnlockList
LBB0_23:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ## @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_NOT_FARM_CONTROLLER,8,3    ## @ERR_NOT_FARM_CONTROLLER
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ## @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetFarmInfo                  ; -- Begin function StGetFarmInfo
	.p2align	2
_StGetFarmInfo:                         ; @StGetFarmInfo
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	ldr	x23, [x0]
	ldr	x22, [x1]
Lloh0:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	mov	x0, x1
	bl	_FreeRpcFarmInfo
	mov	x0, x20
	mov	w1, #88
	bl	_Zero
	ldr	x8, [x23]
Lloh3:
	adrp	x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	w0, [x23, #8]
	bl	_LockList
	ldr	w0, [x23, #8]
	mov	x1, x22
	bl	_IsInListKey
	cbz	x0, LBB0_19
; %bb.2:
	ldr	w0, [x23, #8]
	mov	x1, x22
	bl	_ListKeyToPointer
	mov	x21, x0
	str	x22, [x20]
	ldr	w8, [x0, #52]
	str	w8, [x20, #68]
	ldp	w0, w8, [x0, #44]
	str	w8, [x20, #80]
	bl	_LockList
	ldr	w0, [x21, #44]
	bl	_LIST_NUM
	str	x0, [x20, #8]
	lsl	w0, w0, #3
	bl	_ZeroMalloc
	str	x0, [x20, #72]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x22, x0
	mov	x24, #0
	mov	w25, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x1, x25, #1
	ldr	w0, [x21, #44]
	bl	_LIST_DATA
	add	x8, x22, x24
	ldp	w2, w9, [x0]
	str	w9, [x8, #4]
	ldr	w0, [x8]
	mov	w1, #4
	bl	_StrCpy
	ldr	x8, [x20, #8]
	cmp	x25, x8
	b.hs	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x20, #72]
	add	x25, x25, #1
	add	x24, x24, #8
	b	LBB0_4
LBB0_6:
Lloh6:
	adrp	x8, _ERR_NOT_FARM_CONTROLLER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_NOT_FARM_CONTROLLER@GOTPAGEOFF]
Lloh8:
	ldr	x19, [x8]
	b	LBB0_22
LBB0_7:
	ldr	w0, [x21, #44]
	bl	_UnlockList
	ldr	w8, [x20, #68]
	cbz	w8, LBB0_20
; %bb.8:
	ldr	x8, [x23, #16]
	ldr	w0, [x8, #12]
	bl	_TickToTime
	str	w0, [x20, #64]
	mov	w8, #127
	movk	w8, #256, lsl #16
	str	w8, [x20, #16]
	ldr	w0, [x20, #60]
	mov	w1, #4
	bl	_GetMachineName
	ldr	w8, [x21, #32]
	str	w8, [x20, #56]
	ldr	w0, [x23, #24]
	bl	_LockList
	str	wzr, [x20, #20]
	ldr	w0, [x23, #24]
	bl	_LIST_NUM
	cbz	x0, LBB0_13
; %bb.9:
	mov	x21, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	ldr	w0, [x23, #24]
	bl	_LIST_NUM
	cmp	x21, x0
	b.hs	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #24]
	mov	x1, x21
	bl	_LIST_DATA
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x20, #20]
	add	w8, w8, #1
	str	w8, [x20, #20]
	b	LBB0_10
LBB0_13:
	ldr	w8, [x20, #20]
	lsl	w0, w8, #3
	bl	_ZeroMalloc
	str	x0, [x20, #48]
	ldr	w0, [x23, #24]
	bl	_LIST_NUM
	cbz	x0, LBB0_18
; %bb.14:
	mov	x22, #0
	mov	x21, #0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x21, x21, #1
	ldr	w0, [x23, #24]
	bl	_LIST_NUM
	cmp	x21, x0
	b.hs	LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #24]
	mov	x1, x21
	bl	_LIST_DATA
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x0]
	ldr	x9, [x20, #48]
	str	w8, [x9, x22, lsl #2]
	add	x22, x22, #1
	b	LBB0_15
LBB0_18:
	ldr	w0, [x23, #24]
	bl	_UnlockList
	ldr	x8, [x23, #16]
	ldr	w0, [x8, #8]
	bl	_CloneX
	str	x0, [x20, #40]
	ldr	x8, [x23, #16]
	ldr	w0, [x8, #4]
	bl	_Count
	str	x0, [x20, #32]
	ldr	x8, [x23, #16]
	ldr	w0, [x8]
	bl	_Count
	str	x0, [x20, #24]
	b	LBB0_21
LBB0_19:
Lloh9:
	adrp	x8, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
Lloh11:
	ldr	x19, [x8]
	b	LBB0_21
LBB0_20:
	ldp	w2, w8, [x21, #36]
	str	w8, [x20, #64]
	ldr	w8, [x21]
	str	w8, [x20, #16]
	ldr	w0, [x20, #60]
	mov	w1, #4
	bl	_StrCpy
	ldr	w8, [x21, #32]
	str	w8, [x20, #56]
	ldr	w8, [x21, #4]
	str	w8, [x20, #20]
	lsl	w0, w8, #3
	bl	_ZeroMalloc
	str	x0, [x20, #48]
	ldr	w1, [x21, #28]
	ldr	w8, [x20, #20]
	lsl	w2, w8, #3
	bl	_Copy
	ldr	w0, [x21, #24]
	bl	_CloneX
	str	x0, [x20, #40]
	ldp	x9, x8, [x21, #8]
	stp	x9, x8, [x20, #24]
LBB0_21:
	ldr	w0, [x23, #8]
	bl	_UnlockList
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ; @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_NOT_FARM_CONTROLLER,8,3    ; @ERR_NOT_FARM_CONTROLLER
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ; @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols
