	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsClusterSettingController     ## -- Begin function PsClusterSettingController
	.p2align	4, 0x90
_PsClusterSettingController:            ## @PsClusterSettingController
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -112(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -128(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -88(%rbp)
	leaq	-128(%rbp), %rcx
	movl	$2, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_GetParamInt
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_FARM_DEFAULT_WEIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_4:
	leaq	-152(%rbp), %r13
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_Zero
	movq	_SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movq	%rbx, -144(%rbp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_GetParamYes
	movl	%eax, -152(%rbp)
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_ScSetFarmSetting
	movq	%rax, %rbx
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	callq	_FreeParamValueList
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_CmdPrintError
	movq	%r12, %rdi
	callq	_FreeParamValueList
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WEIGHT"

L_.str.1:                               ## @.str.1
	.asciz	"ONLY"

	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_FARM_DEFAULT_WEIGHT,8,3        ## @FARM_DEFAULT_WEIGHT
	.comm	_SERVER_TYPE_FARM_CONTROLLER,4,2 ## @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsClusterSettingController     ; -- Begin function PsClusterSettingController
	.p2align	2
_PsClusterSettingController:            ; @PsClusterSettingController
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x3
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #64]
	str	xzr, [sp, #96]
	stp	q0, q0, [sp, #32]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #24]
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp, #64]
	add	x3, sp, #24
	mov	w4, #2
	bl	_ParseCommandList
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GetParamInt
Lloh9:
	adrp	x8, _FARM_DEFAULT_WEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FARM_DEFAULT_WEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x22, x8, x0, eq
	mov	x0, sp
	mov	w1, #24
	bl	_Zero
Lloh12:
	adrp	x8, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	x22, [sp, #8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_GetParamYes
	str	w0, [sp]
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ScSetFarmSetting
Lloh17:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_FreeParamValueList
	mov	x20, #0
	b	LBB0_5
LBB0_3:
Lloh20:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh22:
	ldr	x20, [x8]
	b	LBB0_5
LBB0_4:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_CmdPrintError
	mov	x0, x21
	bl	_FreeParamValueList
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WEIGHT"

l_.str.1:                               ; @.str.1
	.asciz	"ONLY"

	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_FARM_DEFAULT_WEIGHT,8,3        ; @FARM_DEFAULT_WEIGHT
	.comm	_SERVER_TYPE_FARM_CONTROLLER,4,2 ; @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
.subsections_via_symbols
