	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function PtMakeCert2048
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_PtMakeCert2048
	.p2align	4, 0x90
_PtMakeCert2048:                        ## @PtMakeCert2048
	.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	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -544(%rbp)                ## 8-byte Spill
	movq	$0, -584(%rbp)
	movq	$0, -560(%rbp)
	movups	l___const.PtMakeCert2048.minmax(%rip), %xmm0
	movaps	%xmm0, -608(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -528(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -520(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movq	%rax, -512(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -504(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -488(%rbp)
	movq	(%r15), %rax
	movq	%rax, -480(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	__UU
	movq	%rax, -472(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -464(%rbp)
	leaq	L_.str.5(%rip), %rax
	movq	%rax, -448(%rbp)
	movq	(%r15), %rax
	movq	%rax, -440(%rbp)
	leaq	L_.str.6(%rip), %rdi
	callq	__UU
	movq	%rax, -432(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -424(%rbp)
	leaq	L_.str.7(%rip), %rax
	movq	%rax, -408(%rbp)
	movq	(%r15), %rax
	movq	%rax, -400(%rbp)
	leaq	L_.str.8(%rip), %rdi
	callq	__UU
	movq	%rax, -392(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -384(%rbp)
	leaq	L_.str.9(%rip), %rax
	movq	%rax, -368(%rbp)
	movq	(%r15), %rax
	movq	%rax, -360(%rbp)
	leaq	L_.str.10(%rip), %rdi
	callq	__UU
	movq	%rax, -352(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -344(%rbp)
	leaq	L_.str.11(%rip), %rax
	movq	%rax, -328(%rbp)
	movq	(%r15), %rax
	movq	%rax, -320(%rbp)
	leaq	L_.str.12(%rip), %rdi
	callq	__UU
	movq	%rax, -312(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -304(%rbp)
	leaq	L_.str.13(%rip), %rax
	movq	%rax, -288(%rbp)
	movq	(%r15), %rax
	movq	%rax, -280(%rbp)
	leaq	L_.str.14(%rip), %rdi
	callq	__UU
	movq	%rax, -272(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -264(%rbp)
	leaq	L_.str.15(%rip), %rax
	movq	%rax, -248(%rbp)
	movq	(%r15), %rax
	movq	%rax, -240(%rbp)
	leaq	L_.str.16(%rip), %rdi
	callq	__UU
	movq	%rax, -232(%rbp)
	movq	_CmdEvalMinMax@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -224(%rbp)
	leaq	-608(%rbp), %rax
	movq	%rax, -216(%rbp)
	leaq	L_.str.17(%rip), %rax
	movq	%rax, -208(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -200(%rbp)
	movq	_CmdEvalIsFile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -184(%rbp)
	movq	$0, -176(%rbp)
	leaq	L_.str.18(%rip), %rcx
	movq	%rcx, -168(%rbp)
	movaps	%xmm0, -160(%rbp)
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	leaq	L_.str.19(%rip), %rax
	movq	%rax, -128(%rbp)
	movq	(%r15), %rax
	movq	%rax, -120(%rbp)
	leaq	L_.str.20(%rip), %rdi
	callq	__UU
	movq	%rax, -112(%rbp)
	movq	_CmdEvalNotEmpty@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, -104(%rbp)
	movq	$0, -96(%rbp)
	leaq	L_.str.21(%rip), %rax
	movq	%rax, -88(%rbp)
	movq	(%r15), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.22(%rip), %rdi
	callq	__UU
	movq	%rax, -72(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	-528(%rbp), %rcx
	movq	%r13, -576(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	$12, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	leaq	L_.str.17(%rip), %rsi
	movq	%rax, %rdi
	callq	_GetParamStr
	movl	%eax, %edi
	callq	_IsEmptyStr
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movq	-544(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_10
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_30
LBB0_4:
	leaq	L_.str.18(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamStr
	movl	%eax, %edi
	callq	_IsEmptyStr
	testl	%eax, %eax
	movq	-544(%rbp), %r15                ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.17(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	%eax, %edi
	callq	_FileToXW
	movq	%rax, %rbx
	leaq	L_.str.18(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	%eax, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_FileToKW
	movq	%rax, %r12
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.7:
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_CheckXandK
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rbx, %r13
	movq	-576(%rbp), %rbx                ## 8-byte Reload
	movq	%r12, -536(%rbp)                ## 8-byte Spill
	movq	(%rbx), %r12
	leaq	L_.str.23(%rip), %rdi
	callq	__UU
	movq	%rbx, %rdi
	movq	%r13, %rbx
	movq	%rax, %rsi
	callq	*%r12
	movq	-536(%rbp), %r12                ## 8-byte Reload
LBB0_10:
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_11
## %bb.12:
	movq	%rbx, -568(%rbp)                ## 8-byte Spill
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamStr
	movl	%eax, %edi
	callq	_StrToBin
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%r15, -544(%rbp)                ## 8-byte Spill
	movq	%r12, -536(%rbp)                ## 8-byte Spill
	je	LBB0_13
## %bb.14:
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_13
## %bb.15:
	movl	4(%rbx), %edi
	callq	_NewXSerial
	jmp	LBB0_16
LBB0_11:
	xorl	%r13d, %r13d
	jmp	LBB0_27
LBB0_13:
	xorl	%eax, %eax
LBB0_16:
	movq	%rax, -552(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_FreeBuf
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	%eax, -588(%rbp)                ## 4-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	%eax, %r15d
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	%eax, %r12d
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movl	-588(%rbp), %edi                ## 4-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	callq	_NewName
	movq	%rax, %r12
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamInt
	testq	%rax, %rax
	movl	$3650, %ebx                     ## imm = 0xE42
	cmovneq	%rax, %rbx
	leaq	-560(%rbp), %rdi
	leaq	-584(%rbp), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_RsaGen
	movq	-584(%rbp), %rdi
	movq	-568(%rbp), %rdx                ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.18:
	movq	-536(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	movq	-552(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r9
	callq	_NewX
	jmp	LBB0_19
LBB0_17:
	movq	-560(%rbp), %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	-552(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	callq	_NewRootX
LBB0_19:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_FreeXSerial
	movq	%r12, %rdi
	callq	_FreeName
	testq	%r13, %r13
	je	LBB0_20
## %bb.21:
	leaq	L_.str.19(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_XToFileW
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	movq	-560(%rbp), %rbx
	leaq	L_.str.21(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetParamUniStr
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_KToFileW
	testl	%eax, %eax
	movq	-544(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_26
## %bb.24:
	leaq	L_.str.26(%rip), %rdi
	jmp	LBB0_25
LBB0_20:
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	L_.str.24(%rip), %rdi
	jmp	LBB0_25
LBB0_22:
	leaq	L_.str.25(%rip), %rdi
	movq	-544(%rbp), %r15                ## 8-byte Reload
LBB0_25:
	movq	-576(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %r12
	callq	__UU
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	*%r12
LBB0_26:
	movq	-568(%rbp), %rbx                ## 8-byte Reload
	movq	-536(%rbp), %r12                ## 8-byte Reload
LBB0_27:
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_29
## %bb.28:
	movq	-576(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_CmdPrintError
LBB0_29:
	movq	%r14, %rdi
	callq	_FreeParamValueList
	movq	%rbx, %rdi
	callq	_FreeX
	movq	%r12, %rdi
	callq	_FreeK
	movq	%r13, %rdi
	callq	_FreeX
	movq	-560(%rbp), %rdi
	callq	_FreeK
	movq	-584(%rbp), %rdi
	callq	_FreeK
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movq	%r15, %rax
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	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	"CMD_MakeCert_EVAL_EXPIRES"

	.section	__DATA,__const
	.p2align	3                               ## @__const.PtMakeCert2048.minmax
l___const.PtMakeCert2048.minmax:
	.quad	L_.str
	.long	0                               ## 0x0
	.long	10950                           ## 0x2ac6

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"CN"

	.comm	_CmdPrompt,8,3                  ## @CmdPrompt
L_.str.2:                               ## @.str.2
	.asciz	"CMD_MakeCert_PROMPT_CN"

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

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

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

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

L_.str.7:                               ## @.str.7
	.asciz	"C"

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

L_.str.9:                               ## @.str.9
	.asciz	"ST"

L_.str.10:                              ## @.str.10
	.asciz	"CMD_MakeCert_PROMPT_ST"

L_.str.11:                              ## @.str.11
	.asciz	"L"

L_.str.12:                              ## @.str.12
	.asciz	"CMD_MakeCert_PROMPT_L"

L_.str.13:                              ## @.str.13
	.asciz	"SERIAL"

L_.str.14:                              ## @.str.14
	.asciz	"CMD_MakeCert_PROMPT_SERIAL"

L_.str.15:                              ## @.str.15
	.asciz	"EXPIRES"

L_.str.16:                              ## @.str.16
	.asciz	"CMD_MakeCert_PROMPT_EXPIRES"

	.comm	_CmdEvalMinMax,8,3              ## @CmdEvalMinMax
L_.str.17:                              ## @.str.17
	.asciz	"SIGNCERT"

	.comm	_CmdEvalIsFile,8,3              ## @CmdEvalIsFile
L_.str.18:                              ## @.str.18
	.asciz	"SIGNKEY"

L_.str.19:                              ## @.str.19
	.asciz	"SAVECERT"

L_.str.20:                              ## @.str.20
	.asciz	"CMD_MakeCert_PROMPT_SAVECERT"

	.comm	_CmdEvalNotEmpty,8,3            ## @CmdEvalNotEmpty
L_.str.21:                              ## @.str.21
	.asciz	"SAVEKEY"

L_.str.22:                              ## @.str.22
	.asciz	"CMD_MakeCert_PROMPT_SAVEKEY"

	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_ERR_INTERNAL_ERROR,8,3         ## @ERR_INTERNAL_ERROR
L_.str.23:                              ## @.str.23
	.asciz	"CMD_MakeCert_ERROR_SIGNKEY"

L_.str.24:                              ## @.str.24
	.asciz	"CMD_MakeCert_ERROR_GEN_FAILED"

L_.str.25:                              ## @.str.25
	.asciz	"CMD_SAVECERT_FAILED"

L_.str.26:                              ## @.str.26
	.asciz	"CMD_SAVEKEY_FAILED"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PtMakeCert2048                 ; -- Begin function PtMakeCert2048
	.p2align	2
_PtMakeCert2048:                        ; @PtMakeCert2048
	.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, #544
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x25, _ERR_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x19, [x25]
	stp	xzr, xzr, [sp, #32]
Lloh5:
	adrp	x8, l___const.PtMakeCert2048.minmax@PAGE
Lloh6:
	add	x8, x8, l___const.PtMakeCert2048.minmax@PAGEOFF
Lloh7:
	ldr	q0, [x8]
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
	str	q0, [sp, #16]
Lloh10:
	adrp	x23, _CmdPrompt@GOTPAGE
Lloh11:
	ldr	x23, [x23, _CmdPrompt@GOTPAGEOFF]
	ldr	x9, [x23]
	stp	x8, x9, [sp, #48]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__UU
	stp	x0, xzr, [sp, #64]
Lloh14:
	adrp	x8, l_.str.3@PAGE
Lloh15:
	add	x8, x8, l_.str.3@PAGEOFF
	stp	xzr, x8, [sp, #80]
	ldr	x8, [x23]
	str	x8, [sp, #96]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__UU
	stp	x0, xzr, [sp, #104]
Lloh18:
	adrp	x8, l_.str.5@PAGE
Lloh19:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	xzr, x8, [sp, #120]
	ldr	x8, [x23]
	str	x8, [sp, #136]
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__UU
	stp	x0, xzr, [sp, #144]
Lloh22:
	adrp	x8, l_.str.7@PAGE
Lloh23:
	add	x8, x8, l_.str.7@PAGEOFF
	stp	xzr, x8, [sp, #160]
	ldr	x8, [x23]
	str	x8, [sp, #176]
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__UU
	stp	x0, xzr, [sp, #184]
Lloh26:
	adrp	x8, l_.str.9@PAGE
Lloh27:
	add	x8, x8, l_.str.9@PAGEOFF
	stp	xzr, x8, [sp, #200]
	ldr	x8, [x23]
	str	x8, [sp, #216]
Lloh28:
	adrp	x0, l_.str.10@PAGE
Lloh29:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__UU
	stp	x0, xzr, [sp, #224]
Lloh30:
	adrp	x8, l_.str.11@PAGE
Lloh31:
	add	x8, x8, l_.str.11@PAGEOFF
	stp	xzr, x8, [sp, #240]
	ldr	x8, [x23]
	str	x8, [sp, #256]
Lloh32:
	adrp	x0, l_.str.12@PAGE
Lloh33:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__UU
	stp	x0, xzr, [sp, #264]
Lloh34:
	adrp	x8, l_.str.13@PAGE
Lloh35:
	add	x8, x8, l_.str.13@PAGEOFF
	stp	xzr, x8, [sp, #280]
	ldr	x8, [x23]
	str	x8, [sp, #296]
Lloh36:
	adrp	x0, l_.str.14@PAGE
Lloh37:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	__UU
	stp	x0, xzr, [sp, #304]
Lloh38:
	adrp	x8, l_.str.15@PAGE
Lloh39:
	add	x8, x8, l_.str.15@PAGEOFF
	stp	xzr, x8, [sp, #320]
	ldr	x8, [x23]
	str	x8, [sp, #336]
Lloh40:
	adrp	x0, l_.str.16@PAGE
Lloh41:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	__UU
Lloh42:
	adrp	x8, _CmdEvalMinMax@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CmdEvalMinMax@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	stp	x0, x8, [sp, #344]
	add	x8, sp, #16
Lloh45:
	adrp	x9, l_.str.17@PAGE
Lloh46:
	add	x9, x9, l_.str.17@PAGEOFF
	stp	x8, x9, [sp, #360]
	stp	xzr, xzr, [sp, #376]
Lloh47:
	adrp	x8, _CmdEvalIsFile@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CmdEvalIsFile@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	stp	x8, xzr, [sp, #392]
Lloh50:
	adrp	x9, l_.str.18@PAGE
Lloh51:
	add	x9, x9, l_.str.18@PAGEOFF
	stp	x9, xzr, [sp, #408]
	stp	xzr, x8, [sp, #424]
Lloh52:
	adrp	x8, l_.str.19@PAGE
Lloh53:
	add	x8, x8, l_.str.19@PAGEOFF
	stp	xzr, x8, [sp, #440]
	ldr	x8, [x23]
	str	x8, [sp, #456]
Lloh54:
	adrp	x0, l_.str.20@PAGE
Lloh55:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	__UU
Lloh56:
	adrp	x24, _CmdEvalNotEmpty@GOTPAGE
Lloh57:
	ldr	x24, [x24, _CmdEvalNotEmpty@GOTPAGEOFF]
	ldr	x8, [x24]
	stp	x0, x8, [sp, #464]
Lloh58:
	adrp	x8, l_.str.21@PAGE
Lloh59:
	add	x8, x8, l_.str.21@PAGEOFF
	stp	xzr, x8, [sp, #480]
	ldr	x8, [x23]
	str	x8, [sp, #496]
Lloh60:
	adrp	x0, l_.str.22@PAGE
Lloh61:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	__UU
	ldr	x8, [x24]
	stp	x0, x8, [sp, #504]
	str	xzr, [sp, #520]
	add	x3, sp, #48
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w4, #12
	bl	_ParseCommandList
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
Lloh62:
	adrp	x1, l_.str.17@PAGE
Lloh63:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_GetParamStr
	bl	_IsEmptyStr
	cbnz	w0, LBB0_3
; %bb.2:
Lloh64:
	adrp	x1, l_.str.18@PAGE
Lloh65:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	bl	_IsEmptyStr
	cbz	w0, LBB0_19
LBB0_3:
	mov	x22, #0
	mov	x27, #0
LBB0_4:
	ldr	x8, [x25]
	cmp	x19, x8
	b.ne	LBB0_9
; %bb.5:
Lloh66:
	adrp	x1, l_.str.13@PAGE
Lloh67:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	bl	_StrToBin
	mov	x24, x0
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w1, [x24]
	cmp	w1, #1
	b.lt	LBB0_10
; %bb.7:
	ldr	w0, [x24, #4]
	bl	_NewXSerial
	mov	x25, x0
	b	LBB0_11
LBB0_8:
Lloh68:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh70:
	ldr	x19, [x8]
	b	LBB0_28
LBB0_9:
	mov	x24, #0
	b	LBB0_25
LBB0_10:
	mov	x25, #0
LBB0_11:
	mov	x0, x24
	bl	_FreeBuf
Lloh71:
	adrp	x1, l_.str.1@PAGE
Lloh72:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x24, x0
Lloh73:
	adrp	x1, l_.str.3@PAGE
Lloh74:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x26, x0
Lloh75:
	adrp	x1, l_.str.5@PAGE
Lloh76:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x27, x0
Lloh77:
	adrp	x1, l_.str.7@PAGE
Lloh78:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x28, x0
Lloh79:
	adrp	x1, l_.str.9@PAGE
Lloh80:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x23, x0
Lloh81:
	adrp	x1, l_.str.11@PAGE
Lloh82:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x5, x0
	mov	x0, x24
	mov	x1, x26
	mov	x2, x27
	mov	x3, x28
	mov	x4, x23
	bl	_NewName
	mov	x26, x0
Lloh83:
	adrp	x1, l_.str.15@PAGE
Lloh84:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x21
	bl	_GetParamInt
	mov	w8, #3650
	cmp	x0, #0
	csel	x24, x8, x0, eq
	add	x0, sp, #32
	add	x1, sp, #40
	mov	w2, #2048
	bl	_RsaGen
	ldr	x0, [sp, #40]
	cbz	x22, LBB0_13
; %bb.12:
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x27
	mov	x2, x22
	mov	x3, x26
	mov	x4, x24
	mov	x5, x25
	bl	_NewX
	mov	x24, x0
	b	LBB0_14
LBB0_13:
	ldr	x1, [sp, #32]
	mov	x2, x26
	mov	x3, x24
	mov	x4, x25
	bl	_NewRootX
	mov	x24, x0
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
LBB0_14:
	mov	x0, x25
	bl	_FreeXSerial
	mov	x0, x26
	bl	_FreeName
	cbz	x24, LBB0_18
; %bb.15:
Lloh85:
	adrp	x1, l_.str.19@PAGE
Lloh86:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x1, x0
	mov	x0, x24
	mov	w2, #1
	bl	_XToFileW
Lloh87:
	adrp	x25, _ERR_NO_ERROR@GOTPAGE
Lloh88:
	ldr	x25, [x25, _ERR_NO_ERROR@GOTPAGEOFF]
	cbz	w0, LBB0_23
; %bb.16:
	ldr	x23, [sp, #32]
Lloh89:
	adrp	x1, l_.str.21@PAGE
Lloh90:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x1, x0
	mov	x0, x23
	mov	w2, #1
	mov	x3, #0
	bl	_KToFileW
	cbnz	w0, LBB0_25
; %bb.17:
Lloh91:
	adrp	x0, l_.str.26@PAGE
Lloh92:
	add	x0, x0, l_.str.26@PAGEOFF
	b	LBB0_24
LBB0_18:
Lloh93:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh95:
	ldr	x19, [x8]
Lloh96:
	adrp	x0, l_.str.24@PAGE
Lloh97:
	add	x0, x0, l_.str.24@PAGEOFF
Lloh98:
	adrp	x25, _ERR_NO_ERROR@GOTPAGE
Lloh99:
	ldr	x25, [x25, _ERR_NO_ERROR@GOTPAGEOFF]
	b	LBB0_24
LBB0_19:
Lloh100:
	adrp	x1, l_.str.17@PAGE
Lloh101:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	bl	_FileToXW
	mov	x22, x0
Lloh102:
	adrp	x1, l_.str.18@PAGE
Lloh103:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	w1, #1
	mov	x2, #0
	bl	_FileToKW
	mov	x27, x0
	cbz	x22, LBB0_22
; %bb.20:
	cbz	x27, LBB0_22
; %bb.21:
	mov	x0, x22
	mov	x1, x27
	bl	_CheckXandK
	cbnz	w0, LBB0_4
LBB0_22:
Lloh104:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh105:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh106:
	ldr	x19, [x8]
	ldr	x23, [x20]
Lloh107:
	adrp	x0, l_.str.23@PAGE
Lloh108:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x23
	b	LBB0_4
LBB0_23:
Lloh109:
	adrp	x0, l_.str.25@PAGE
Lloh110:
	add	x0, x0, l_.str.25@PAGEOFF
LBB0_24:
	ldr	x23, [x20]
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x23
LBB0_25:
	ldr	x8, [x25]
	cmp	x19, x8
	b.eq	LBB0_27
; %bb.26:
	mov	x0, x20
	mov	x1, x19
	bl	_CmdPrintError
LBB0_27:
	mov	x0, x21
	bl	_FreeParamValueList
	mov	x0, x22
	bl	_FreeX
	mov	x0, x27
	bl	_FreeK
	mov	x0, x24
	bl	_FreeX
	ldr	x0, [sp, #32]
	bl	_FreeK
	ldr	x0, [sp, #40]
	bl	_FreeK
LBB0_28:
	ldur	x8, [x29, #-96]
Lloh111:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh112:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh113:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	mov	x0, x19
	add	sp, sp, #544
	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_30:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAddLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CMD_MakeCert_EVAL_EXPIRES"

	.section	__DATA,__const
	.p2align	3                               ; @__const.PtMakeCert2048.minmax
l___const.PtMakeCert2048.minmax:
	.quad	l_.str
	.long	0                               ; 0x0
	.long	10950                           ; 0x2ac6

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"CN"

	.comm	_CmdPrompt,8,3                  ; @CmdPrompt
l_.str.2:                               ; @.str.2
	.asciz	"CMD_MakeCert_PROMPT_CN"

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

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

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

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

l_.str.7:                               ; @.str.7
	.asciz	"C"

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

l_.str.9:                               ; @.str.9
	.asciz	"ST"

l_.str.10:                              ; @.str.10
	.asciz	"CMD_MakeCert_PROMPT_ST"

l_.str.11:                              ; @.str.11
	.asciz	"L"

l_.str.12:                              ; @.str.12
	.asciz	"CMD_MakeCert_PROMPT_L"

l_.str.13:                              ; @.str.13
	.asciz	"SERIAL"

l_.str.14:                              ; @.str.14
	.asciz	"CMD_MakeCert_PROMPT_SERIAL"

l_.str.15:                              ; @.str.15
	.asciz	"EXPIRES"

l_.str.16:                              ; @.str.16
	.asciz	"CMD_MakeCert_PROMPT_EXPIRES"

	.comm	_CmdEvalMinMax,8,3              ; @CmdEvalMinMax
l_.str.17:                              ; @.str.17
	.asciz	"SIGNCERT"

	.comm	_CmdEvalIsFile,8,3              ; @CmdEvalIsFile
l_.str.18:                              ; @.str.18
	.asciz	"SIGNKEY"

l_.str.19:                              ; @.str.19
	.asciz	"SAVECERT"

l_.str.20:                              ; @.str.20
	.asciz	"CMD_MakeCert_PROMPT_SAVECERT"

	.comm	_CmdEvalNotEmpty,8,3            ; @CmdEvalNotEmpty
l_.str.21:                              ; @.str.21
	.asciz	"SAVEKEY"

l_.str.22:                              ; @.str.22
	.asciz	"CMD_MakeCert_PROMPT_SAVEKEY"

	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_ERR_INTERNAL_ERROR,8,3         ; @ERR_INTERNAL_ERROR
l_.str.23:                              ; @.str.23
	.asciz	"CMD_MakeCert_ERROR_SIGNKEY"

l_.str.24:                              ; @.str.24
	.asciz	"CMD_MakeCert_ERROR_GEN_FAILED"

l_.str.25:                              ; @.str.25
	.asciz	"CMD_SAVECERT_FAILED"

l_.str.26:                              ; @.str.26
	.asciz	"CMD_SAVEKEY_FAILED"

.subsections_via_symbols
