	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PcAccountServerCertSet         ## -- Begin function PcAccountServerCertSet
	.p2align	4, 0x90
_PcAccountServerCertSet:                ## @PcAccountServerCertSet
	.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, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -112(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	%rax, -104(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movl	%eax, -96(%rbp)
	movq	_CmdEvalNotEmpty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movl	$0, -88(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -80(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	__UU
	movl	%eax, -64(%rbp)
	movq	_CmdEvalIsFile@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	$0, -56(%rbp)
	leaq	-112(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	$2, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_GetParamUniStr
	movl	%eax, %edi
	callq	_FileToXW
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r12
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_Zero
	movl	-128(%rbp), %r14d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetParamUniStr
	movl	%r14d, %edi
	movl	$4, %esi
	movl	%eax, %edx
	callq	_UniStrCpy
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_CcGetAccount
	movq	%rax, %rbx
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	jne	LBB0_6
## %bb.3:
	movq	-152(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_FreeX
LBB0_5:
	movq	%r12, %rdi
	callq	_CloneX
	movq	%rax, -152(%rbp)
	leaq	-200(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_Zero
	movups	-144(%rbp), %xmm0
	movups	%xmm0, -184(%rbp)
	movq	-152(%rbp), %rax
	movq	%rax, -192(%rbp)
	movl	-160(%rbp), %eax
	movl	%eax, -200(%rbp)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_CcSetAccount
	movq	%rax, %rbx
	movq	(%r14), %rax
LBB0_6:
	cmpq	%rax, %rbx
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_CmdPrintError
LBB0_8:
	leaq	-160(%rbp), %rdi
	callq	_CiFreeClientGetAccount
	movq	%r13, %rdi
	callq	_FreeParamValueList
	movq	%r12, %rdi
	callq	_FreeX
	jmp	LBB0_12
LBB0_9:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	%r13, %rdi
	callq	_FreeParamValueList
	movq	(%r15), %rbx
	leaq	L_.str.4(%rip), %rdi
	callq	__UU
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rbx
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[name]"

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

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

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

	.comm	_CmdEvalIsFile,4,2              ## @CmdEvalIsFile
	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
L_.str.4:                               ## @.str.4
	.asciz	"CMD_LOADCERT_FAILED"

	.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	_PcAccountServerCertSet         ; -- Begin function PcAccountServerCertSet
	.p2align	2
_PcAccountServerCertSet:                ; @PcAccountServerCertSet
	.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	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, #88]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
Lloh9:
	adrp	x8, _CmdEvalNotEmpty@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CmdEvalNotEmpty@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #104]
	str	wzr, [sp, #112]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #120]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__UU
Lloh16:
	adrp	x8, _CmdEvalIsFile@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CmdEvalIsFile@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #136]
	str	wzr, [sp, #144]
	add	x3, sp, #88
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #2
	bl	_ParseCommandList
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_GetParamUniStr
	bl	_FileToXW
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
	add	x0, sp, #48
	mov	w1, #40
	bl	_Zero
	ldr	w23, [sp, #80]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x2, x0
	mov	x0, x23
	mov	w1, #4
	bl	_UniStrCpy
	ldr	w0, [x20]
	add	x1, sp, #48
	bl	_CcGetAccount
Lloh23:
	adrp	x24, _ERR_NO_ERROR@GOTPAGE
Lloh24:
	ldr	x24, [x24, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.3:
	ldr	x0, [sp, #56]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_FreeX
LBB0_5:
	mov	x0, x22
	bl	_CloneX
	str	x0, [sp, #56]
	add	x0, sp, #8
	mov	w1, #40
	bl	_Zero
	ldr	q0, [sp, #64]
	stur	q0, [sp, #24]
	ldr	x8, [sp, #56]
	str	x8, [sp, #16]
	ldr	w8, [sp, #48]
	str	w8, [sp, #8]
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_CcSetAccount
	mov	x23, x0
	ldr	x8, [x24]
	cmp	x23, x8
	b.ne	LBB0_9
	b	LBB0_10
LBB0_6:
Lloh25:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh27:
	ldr	x23, [x8]
	b	LBB0_11
LBB0_7:
	mov	x0, x21
	bl	_FreeParamValueList
	ldr	x20, [x19]
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x20
Lloh30:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	x23, [x8]
	b	LBB0_11
LBB0_8:
	mov	x23, x0
	cmp	x23, x8
	b.eq	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	x1, x23
	bl	_CmdPrintError
LBB0_10:
	add	x0, sp, #48
	bl	_CiFreeClientGetAccount
	mov	x0, x21
	bl	_FreeParamValueList
	mov	x0, x22
	bl	_FreeX
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x23
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[name]"

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

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

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

	.comm	_CmdEvalIsFile,4,2              ; @CmdEvalIsFile
	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
l_.str.4:                               ; @.str.4
	.asciz	"CMD_LOADCERT_FAILED"

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