	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PcAccountImport                ## -- Begin function PcAccountImport
	.p2align	4, 0x90
_PcAccountImport:                       ## @PcAccountImport
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	(,%r12,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	L_.str(%rip), %rax
	movq	%rax, -96(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -88(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movl	%eax, -80(%rbp)
	movq	_CmdEvalIsFile@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movl	$0, -64(%rbp)
	leaq	-96(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	$1, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_GetParamUniStr
	movl	%eax, %edi
	callq	_ReadDumpW
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_CiCfgToAccount
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r13
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx), %edi
	shll	$2, %r12d
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_CmdGenerateImportName
	movq	(%r13), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	movq	%r14, %rdx
	movq	-136(%rbp), %r14                ## 8-byte Reload
	callq	_UniStrCpy
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_CcCreateAccount
	movq	%rax, %rbx
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_8
## %bb.7:
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	leal	(,%r12,4), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	leaq	L_.str.4(%rip), %rdi
	callq	__UU
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	movq	%rax, %rdx
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	callq	_UniFormat
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*(%r14)
	movq	-104(%rbp), %rsp                ## 8-byte Reload
LBB0_8:
	movq	%r13, %rdi
	callq	_CiFreeClientCreateAccount
	movq	%r13, %rdi
	callq	_Free
	jmp	LBB0_9
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_13
LBB0_3:
	movq	(%r14), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	*%rbx
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_10
LBB0_5:
	movq	(%r14), %rbx
	leaq	L_.str.3(%rip), %rdi
	callq	__UU
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	*%rbx
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_9:
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_FreeBuf
LBB0_10:
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_CmdPrintError
LBB0_12:
	movq	%r15, %rdi
	callq	_FreeParamValueList
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[path]"

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

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

	.comm	_ERR_INTERNAL_ERROR,8,3         ## @ERR_INTERNAL_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"CMD_AccountImport_FAILED_PARSE"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PcAccountImport                ; -- Begin function PcAccountImport
	.p2align	2
_PcAccountImport:                       ; @PcAccountImport
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x23, 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]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x25, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MAX_SIZE@GOTPAGEOFF]
	ldr	w26, [x25]
	lsl	x8, x26, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
Lloh9:
	adrp	x9, _CmdPrompt@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CmdPrompt@GOTPAGEOFF]
Lloh11:
	ldrsw	x9, [x9]
	stp	x8, x9, [x29, #-128]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
	stur	w0, [x29, #-112]
Lloh14:
	adrp	x8, _CmdEvalIsFile@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CmdEvalIsFile@GOTPAGEOFF]
Lloh16:
	ldrsw	x8, [x8]
	stur	x8, [x29, #-104]
	stur	wzr, [x29, #-96]
	sub	x3, x29, #128
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w4, #1
	bl	_ParseCommandList
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GetParamUniStr
	bl	_ReadDumpW
Lloh19:
	adrp	x27, _ERR_NO_ERROR@GOTPAGE
Lloh20:
	ldr	x27, [x27, _ERR_NO_ERROR@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
	bl	_CiCfgToAccount
	cbz	x0, LBB0_8
; %bb.3:
	mov	x24, x0
	ldr	w0, [x23]
	lsl	w2, w26, #2
	ldr	x8, [x24]
	ldr	w3, [x8]
	mov	x1, x21
	bl	_CmdGenerateImportName
	ldr	x8, [x24]
	ldr	w0, [x8]
	mov	w1, #4
	mov	x2, x21
	bl	_UniStrCpy
	ldr	w0, [x23]
	mov	x1, x24
	bl	_CcCreateAccount
	mov	x23, x0
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x28, sp
	ldr	w12, [x25]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	lsl	w26, w12, #2
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__UU
	mov	x2, x0
	mov	x0, x25
	mov	x1, x26
	mov	x3, x21
	bl	_UniFormat
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x25
	blr	x8
	mov	sp, x28
LBB0_5:
	mov	x0, x24
	bl	_CiFreeClientCreateAccount
	mov	x0, x24
	bl	_Free
	b	LBB0_9
LBB0_6:
Lloh25:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh27:
	ldr	x23, [x8]
	b	LBB0_13
LBB0_7:
	ldr	x21, [x19]
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x21
Lloh30:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	x23, [x8]
	b	LBB0_10
LBB0_8:
	ldr	x21, [x19]
Lloh33:
	adrp	x0, l_.str.3@PAGE
Lloh34:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x21
Lloh35:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	x23, [x8]
LBB0_9:
	mov	x0, x22
	bl	_FreeBuf
LBB0_10:
	ldr	x8, [x27]
	cmp	x23, x8
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x23
	bl	_CmdPrintError
LBB0_12:
	mov	x0, x20
	bl	_FreeParamValueList
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[path]"

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

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

	.comm	_ERR_INTERNAL_ERROR,8,3         ; @ERR_INTERNAL_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"CMD_AccountImport_FAILED_PARSE"

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

.subsections_via_symbols
