	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsCascadePolicySet             ## -- Begin function PsCascadePolicySet
	.p2align	4, 0x90
_PsCascadePolicySet:                    ## @PsCascadePolicySet
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -144(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	%rax, -136(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movl	%eax, -128(%rbp)
	movq	_CmdEvalNotEmpty@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, -124(%rbp)
	movl	$0, -120(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -112(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -104(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	__UU
	movl	%eax, -96(%rbp)
	movl	(%r14), %eax
	movl	%eax, -92(%rbp)
	movl	$0, -88(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -80(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.5(%rip), %rdi
	callq	__UU
	movl	%eax, -64(%rbp)
	movl	(%r14), %eax
	movl	%eax, -60(%rbp)
	movl	$0, -56(%rbp)
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.1:
	movq	%r15, %rbx
	leaq	-144(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	movl	$3, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	movq	%r12, %r14
	leaq	-168(%rbp), %r13
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_Zero
	movl	-152(%rbp), %edi
	movq	%rbx, %r12
	movq	8(%rbx), %rdx
	movl	$4, %esi
	callq	_StrCpy
	movl	$4, %edi
	callq	_ZeroMalloc
	movq	%rax, -160(%rbp)
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamUniStr
	movl	%ebx, %edi
	movl	$4, %esi
	movl	%eax, %edx
	callq	_UniStrCpy
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_ScGetLink
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	leaq	-168(%rbp), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	$1, %r8d
	callq	_EditPolicy
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movl	(%r12), %edi
	leaq	-168(%rbp), %rsi
	callq	_ScSetLink
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.5:
	leaq	-168(%rbp), %rdi
	callq	_FreeRpcCreateLink
	movq	%r15, %rdi
	callq	_FreeParamValueList
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_6:
	movq	(%r12), %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	__UU
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%rbx
LBB0_7:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rbx
	jmp	LBB0_11
LBB0_8:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_CmdPrintError
	movq	%r15, %rdi
	callq	_FreeParamValueList
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-168(%rbp), %rdi
	callq	_FreeRpcCreateLink
	movq	%r15, %rdi
	callq	_FreeParamValueList
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[name]"

	.comm	_CmdPrompt,4,2                  ## @CmdPrompt
L_.str.1:                               ## @.str.1
	.asciz	"CMD_CascadeCreate_Prompt_Name"

	.comm	_CmdEvalNotEmpty,4,2            ## @CmdEvalNotEmpty
L_.str.2:                               ## @.str.2
	.asciz	"NAME"

L_.str.3:                               ## @.str.3
	.asciz	"CMD_CascadePolicySet_PROMPT_POLNAME"

L_.str.4:                               ## @.str.4
	.asciz	"VALUE"

L_.str.5:                               ## @.str.5
	.asciz	"CMD_CascadePolicySet_PROMPT_POLVALUE"

L_.str.6:                               ## @.str.6
	.asciz	"CMD_Hub_Not_Selected"

	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_ERR_INTERNAL_ERROR,8,3         ## @ERR_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsCascadePolicySet             ; -- Begin function PsCascadePolicySet
	.p2align	2
_PsCascadePolicySet:                    ; @PsCascadePolicySet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x23, _CmdPrompt@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CmdPrompt@GOTPAGEOFF]
	stur	x8, [x29, #-56]
	ldrsw	x8, [x23]
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
	stp	x9, x8, [sp, #24]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
Lloh9:
	adrp	x24, _CmdEvalNotEmpty@GOTPAGE
Lloh10:
	ldr	x24, [x24, _CmdEvalNotEmpty@GOTPAGEOFF]
	ldr	w8, [x24]
	stp	w0, w8, [sp, #40]
	str	wzr, [sp, #48]
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #56]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__UU
	ldr	w8, [x24]
	stp	w0, w8, [sp, #72]
	str	wzr, [sp, #80]
Lloh15:
	adrp	x8, l_.str.4@PAGE
Lloh16:
	add	x8, x8, l_.str.4@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #88]
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__UU
	ldr	w8, [x24]
	stp	w0, w8, [sp, #104]
	str	wzr, [sp, #112]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.1:
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #3
	bl	_ParseCommandList
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	mov	x0, sp
	mov	w1, #24
	bl	_Zero
	ldr	w0, [sp, #16]
	ldr	x2, [x20, #8]
	mov	w1, #4
	bl	_StrCpy
	mov	w0, #4
	bl	_ZeroMalloc
	str	x0, [sp, #8]
	ldr	w22, [x0]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x2, x0
	mov	x0, x22
	mov	w1, #4
	bl	_UniStrCpy
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ScGetLink
Lloh21:
	adrp	x23, _ERR_NO_ERROR@GOTPAGE
Lloh22:
	ldr	x23, [x23, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.3:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	mov	x22, x0
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	mov	x3, x0
	mov	x1, sp
	mov	x0, x19
	mov	x2, x22
	mov	w4, #1
	bl	_EditPolicy
	cbz	w0, LBB0_12
; %bb.4:
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ScSetLink
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:
	mov	x0, sp
	bl	_FreeRpcCreateLink
	mov	x0, x21
	bl	_FreeParamValueList
	mov	x22, #0
	b	LBB0_10
LBB0_6:
	ldr	x20, [x19]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x20
LBB0_7:
Lloh29:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
LBB0_8:
	ldr	x22, [x8]
	b	LBB0_10
LBB0_9:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_CmdPrintError
	mov	x0, x21
	bl	_FreeParamValueList
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x22
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_12:
	mov	x0, sp
	bl	_FreeRpcCreateLink
	mov	x0, x21
	bl	_FreeParamValueList
Lloh34:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[name]"

	.comm	_CmdPrompt,4,2                  ; @CmdPrompt
l_.str.1:                               ; @.str.1
	.asciz	"CMD_CascadeCreate_Prompt_Name"

	.comm	_CmdEvalNotEmpty,4,2            ; @CmdEvalNotEmpty
l_.str.2:                               ; @.str.2
	.asciz	"NAME"

l_.str.3:                               ; @.str.3
	.asciz	"CMD_CascadePolicySet_PROMPT_POLNAME"

l_.str.4:                               ; @.str.4
	.asciz	"VALUE"

l_.str.5:                               ; @.str.5
	.asciz	"CMD_CascadePolicySet_PROMPT_POLVALUE"

l_.str.6:                               ; @.str.6
	.asciz	"CMD_Hub_Not_Selected"

	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_ERR_INTERNAL_ERROR,8,3         ; @ERR_INTERNAL_ERROR
.subsections_via_symbols
