	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetFarmConnectionStatus      ## -- Begin function StGetFarmConnectionStatus
	.p2align	4, 0x90
_StGetFarmConnectionStatus:             ## @StGetFarmConnectionStatus
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rsi, %rdi
	movl	$40, %esi
	callq	_Zero
	movq	8(%rbx), %rbx
	movl	4(%rbx), %edi
	callq	_Lock
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	addq	$4, %rdi
	callq	_IPToUINT
	movl	%eax, 36(%r14)
	movq	40(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
LBB0_4:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%ecx, 28(%r14)
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	28(%rbx), %eax
	movl	%eax, 24(%r14)
	jmp	LBB0_7
LBB0_1:
	movq	_ERR_NOT_FARM_MEMBER@GOTPCREL(%rip), %r15
	jmp	LBB0_8
LBB0_5:
	movl	32(%rbx), %eax
	movl	%eax, 28(%r14)
LBB0_7:
	movl	24(%rbx), %eax
	movl	%eax, 20(%r14)
	movups	8(%rbx), %xmm0
	movups	%xmm0, 4(%r14)
	movl	4(%rbx), %edi
	callq	_Unlock
LBB0_8:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_MEMBER,4,2        ## @ERR_NOT_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	_StGetFarmConnectionStatus      ; -- Begin function StGetFarmConnectionStatus
	.p2align	2
_StGetFarmConnectionStatus:             ; @StGetFarmConnectionStatus
	.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
	ldr	x20, [x0]
	ldr	x8, [x20]
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_5
; %bb.1:
	mov	x19, x1
	mov	x0, x1
	mov	w1, #40
	bl	_Zero
	ldr	x20, [x20, #8]
	ldr	w0, [x20, #4]
	bl	_Lock
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x8, #4
	bl	_IPToUINT
	ldr	x8, [x20, #40]
	ldr	w8, [x8]
	stp	w8, w0, [x19, #32]
LBB0_3:
	ldr	w8, [x20]
	str	w8, [x19]
Lloh3:
	adrp	x9, _ERR_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x19, #28]
	cbz	w8, LBB0_6
; %bb.4:
	ldr	w8, [x20, #28]
	str	w8, [x19, #24]
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _ERR_NOT_FARM_MEMBER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_NOT_FARM_MEMBER@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w8, [x20, #32]
	str	w8, [x19, #28]
LBB0_7:
	ldr	w8, [x20, #24]
	str	w8, [x19, #20]
	ldur	q0, [x20, #8]
	stur	q0, [x19, #4]
	ldr	w0, [x20, #4]
	bl	_Unlock
Lloh8:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_MEMBER,4,2        ; @ERR_NOT_FARM_MEMBER
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
.subsections_via_symbols
