	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsCascadePasswordSet           ## -- Begin function PsCascadePasswordSet
	.p2align	4, 0x90
_PsCascadePasswordSet:                  ## @PsCascadePasswordSet
	.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	$168, %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, -208(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -176(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	%rax, -168(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movq	%rax, -160(%rbp)
	movq	_CmdEvalNotEmpty@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -152(%rbp)
	movl	$0, -144(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -136(%rbp)
	movq	_CmdPromptChoosePassword@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -128(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -120(%rbp)
	movl	$0, -104(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -96(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -88(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	__UU
	movq	%rax, -80(%rbp)
	movq	(%r12), %rax
	movq	%rax, -72(%rbp)
	movl	$0, -64(%rbp)
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.2:
	movq	%r15, %r12
	leaq	-176(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	movl	$3, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	leaq	-200(%rbp), %r13
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_Zero
	movl	-184(%rbp), %edi
	movq	(%r12), %rdx
	movl	$4, %esi
	callq	_StrCpy
	movl	$4, %edi
	callq	_ZeroMalloc
	movq	%rax, -192(%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	8(%r12), %edi
	movq	%r13, %rsi
	callq	_ScGetLink
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_5
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	movq	%rax, %rsi
	callq	_StartWith
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_CLIENT_AUTHTYPE_PASSWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-200(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%rcx), %r13d
	movl	12(%rcx), %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	movl	%ebx, %edi
	movl	%r13d, %esi
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %r13
	movq	%rax, %rdx
	callq	_HashPassword
	jmp	LBB0_11
LBB0_1:
	movq	(%r14), %rbx
	leaq	L_.str.5(%rip), %rdi
	callq	__UU
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	*%rbx
LBB0_3:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	callq	_StartWith
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rsi
	callq	_StartWith
	testq	%rax, %rax
	je	LBB0_15
LBB0_10:
	movq	_CLIENT_AUTHTYPE_PLAIN_PASSWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-200(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movl	(%rcx), %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	movl	%ebx, %edi
	movl	$4, %esi
	movq	%rax, %rdx
	callq	_StrCpy
LBB0_11:
	movl	8(%r12), %edi
	leaq	-200(%rbp), %rsi
	callq	_ScSetLink
	cmpq	(%r13), %rax
	jne	LBB0_5
## %bb.12:
	leaq	-200(%rbp), %rdi
	callq	_FreeRpcCreateLink
	movq	%r15, %rdi
	callq	_FreeParamValueList
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_5:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_CmdPrintError
	movq	%r15, %rdi
	callq	_FreeParamValueList
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.14:
	movq	%rbx, %rax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	(%r14), %rbx
	leaq	L_.str.9(%rip), %rdi
	callq	__UU
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	*%rbx
	leaq	-200(%rbp), %rdi
	callq	_FreeRpcCreateLink
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_CmdPrintError
	movq	%r15, %rdi
	callq	_FreeParamValueList
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_13
LBB0_16:
	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,8,3            ## @CmdEvalNotEmpty
L_.str.2:                               ## @.str.2
	.asciz	"PASSWORD"

	.comm	_CmdPromptChoosePassword,4,2    ## @CmdPromptChoosePassword
L_.str.3:                               ## @.str.3
	.asciz	"TYPE"

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

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

	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"standard"

	.comm	_CLIENT_AUTHTYPE_PASSWORD,4,2   ## @CLIENT_AUTHTYPE_PASSWORD
L_.str.7:                               ## @.str.7
	.asciz	"radius"

L_.str.8:                               ## @.str.8
	.asciz	"ntdomain"

	.comm	_CLIENT_AUTHTYPE_PLAIN_PASSWORD,4,2 ## @CLIENT_AUTHTYPE_PLAIN_PASSWORD
L_.str.9:                               ## @.str.9
	.asciz	"CMD_CascadePasswordSet_Type_Invalid"

	.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	_PsCascadePasswordSet           ; -- Begin function PsCascadePasswordSet
	.p2align	2
_PsCascadePasswordSet:                  ; @PsCascadePasswordSet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x21, x3
	mov	x20, 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, #32]
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	x8, [x24]
	stp	x0, x8, [sp, #48]
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh13:
	adrp	x9, _CmdPromptChoosePassword@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CmdPromptChoosePassword@GOTPAGEOFF]
	str	wzr, [sp, #64]
Lloh15:
	ldrsw	x9, [x9]
	stp	x8, x9, [sp, #72]
	stp	xzr, xzr, [sp, #88]
	str	wzr, [sp, #104]
Lloh16:
	adrp	x8, l_.str.3@PAGE
Lloh17:
	add	x8, x8, l_.str.3@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #112]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__UU
	ldr	x8, [x24]
	stp	x0, x8, [sp, #128]
	str	wzr, [sp, #144]
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.1:
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w4, #3
	bl	_ParseCommandList
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #24
	bl	_Zero
	ldr	w0, [sp, #24]
	ldr	x2, [x21]
	mov	w1, #4
	bl	_StrCpy
	mov	w0, #4
	bl	_ZeroMalloc
	str	x0, [sp, #16]
	ldr	w22, [x0]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_GetParamUniStr
	mov	x2, x0
	mov	x0, x22
	mov	w1, #4
	bl	_UniStrCpy
	ldr	w0, [x21, #8]
	add	x1, sp, #8
	bl	_ScGetLink
Lloh22:
	adrp	x24, _ERR_NO_ERROR@GOTPAGE
Lloh23:
	ldr	x24, [x24, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.3:
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_GetParamStr
	mov	x22, x0
Lloh26:
	adrp	x0, l_.str.6@PAGE
Lloh27:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x22
	bl	_StartWith
	cbz	x0, LBB0_7
; %bb.4:
Lloh28:
	adrp	x8, _CLIENT_AUTHTYPE_PASSWORD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CLIENT_AUTHTYPE_PASSWORD@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9, #4]
	ldp	w23, w22, [x9, #8]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_GetParamStr
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_HashPassword
	b	LBB0_10
LBB0_5:
	ldr	x20, [x19]
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x20
LBB0_6:
Lloh35:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh37:
	ldr	x22, [x8]
	b	LBB0_13
LBB0_7:
Lloh38:
	adrp	x0, l_.str.7@PAGE
Lloh39:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x22
	bl	_StartWith
	cbnz	x0, LBB0_9
; %bb.8:
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x22
	bl	_StartWith
	cbz	x0, LBB0_15
LBB0_9:
Lloh42:
	adrp	x8, _CLIENT_AUTHTYPE_PLAIN_PASSWORD@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CLIENT_AUTHTYPE_PLAIN_PASSWORD@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9, #4]
	ldr	w22, [x9]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_GetParamStr
	mov	x2, x0
	mov	x0, x22
	mov	w1, #4
	bl	_StrCpy
LBB0_10:
	ldr	w0, [x21, #8]
	add	x1, sp, #8
	bl	_ScSetLink
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	add	x0, sp, #8
	bl	_FreeRpcCreateLink
	mov	x0, x20
	bl	_FreeParamValueList
	mov	x22, #0
	b	LBB0_13
LBB0_12:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_CmdPrintError
	mov	x0, x20
	bl	_FreeParamValueList
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x22
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_15:
	ldr	x21, [x19]
Lloh50:
	adrp	x0, l_.str.9@PAGE
Lloh51:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x21
	add	x0, sp, #8
	bl	_FreeRpcCreateLink
Lloh52:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh54:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_CmdPrintError
	mov	x0, x20
	bl	_FreeParamValueList
Lloh55:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	x22, [x8]
	b	LBB0_13
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.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	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.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,8,3            ; @CmdEvalNotEmpty
l_.str.2:                               ; @.str.2
	.asciz	"PASSWORD"

	.comm	_CmdPromptChoosePassword,4,2    ; @CmdPromptChoosePassword
l_.str.3:                               ; @.str.3
	.asciz	"TYPE"

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

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

	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"standard"

	.comm	_CLIENT_AUTHTYPE_PASSWORD,4,2   ; @CLIENT_AUTHTYPE_PASSWORD
l_.str.7:                               ; @.str.7
	.asciz	"radius"

l_.str.8:                               ; @.str.8
	.asciz	"ntdomain"

	.comm	_CLIENT_AUTHTYPE_PLAIN_PASSWORD,4,2 ; @CLIENT_AUTHTYPE_PLAIN_PASSWORD
l_.str.9:                               ; @.str.9
	.asciz	"CMD_CascadePasswordSet_Type_Invalid"

	.comm	_ERR_INTERNAL_ERROR,8,3         ; @ERR_INTERNAL_ERROR
.subsections_via_symbols
