	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetFarmSetting               ## -- Begin function StGetFarmSetting
	.p2align	4, 0x90
_StGetFarmSetting:                      ## @StGetFarmSetting
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_FreeRpcFarm
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_Zero
	movq	(%r14), %r14
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movl	32(%r14), %ecx
	movl	%ecx, 40(%rbx)
	movl	28(%r14), %ecx
	movl	%ecx, 36(%rbx)
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	8(%r14), %edi
	movl	%edi, 8(%rbx)
	shll	$2, %edi
	callq	_ZeroMalloc
	movq	%rax, 16(%rbx)
	movl	24(%r14), %esi
	movl	8(%rbx), %edx
	shll	$2, %edx
	movq	%rax, %rdi
	callq	_Copy
	movl	20(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	28(%rbx), %edi
	movl	16(%r14), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	12(%r14), %eax
	movl	%eax, 24(%rbx)
	jmp	LBB0_3
LBB0_2:
	movl	$0, 8(%rbx)
	xorl	%edi, %edi
	callq	_ZeroMalloc
	movq	%rax, 16(%rbx)
LBB0_3:
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetFarmSetting               ; -- Begin function StGetFarmSetting
	.p2align	2
_StGetFarmSetting:                      ; @StGetFarmSetting
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_FreeRpcFarm
	mov	x0, x19
	mov	w1, #48
	bl	_Zero
	ldr	x20, [x20]
	ldr	x8, [x20]
	str	x8, [x19]
	ldur	d0, [x20, #28]
	stur	d0, [x19, #36]
Lloh0:
	adrp	x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x20, #8]
	str	w8, [x19, #8]
	lsl	w0, w8, #2
	bl	_ZeroMalloc
	str	x0, [x19, #16]
	ldr	w1, [x20, #24]
	ldr	w8, [x19, #8]
	lsl	w2, w8, #2
	bl	_Copy
	ldp	w2, w8, [x20, #16]
	str	w8, [x19, #32]
	ldr	w0, [x19, #28]
	mov	w1, #4
	bl	_StrCpy
	ldr	w8, [x20, #12]
	str	w8, [x19, #24]
	b	LBB0_3
LBB0_2:
	str	wzr, [x19, #8]
	mov	w0, #0
	bl	_ZeroMalloc
	str	x0, [x19, #16]
LBB0_3:
Lloh3:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
.subsections_via_symbols
