	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CmdLoadKey                     ## -- Begin function CmdLoadKey
	.p2align	4, 0x90
_CmdLoadKey:                            ## @CmdLoadKey
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.2:
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_ReadDumpW
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_IsEncryptedK
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movq	8(%r13), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	(%r13), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_IsBase64
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_BufToK
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_Free
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r13), %rbx
	leaq	L_.str.3(%rip), %rdi
	callq	__UU
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	(%r13), %rbx
	movq	%r12, %rdi
	callq	__UU
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	callq	_FreeBuf
	jmp	LBB0_12
LBB0_3:
	movq	8(%r13), %rbx
	leaq	L_.str(%rip), %rdi
	callq	__UU
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	*%rbx
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_5:
	movq	%r14, %rdi
	callq	_IsBase64
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_BufToK
	movq	%rax, %rbx
LBB0_6:
	movq	%r14, %rdi
	callq	_FreeBuf
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CMD_LOADCERT_FAILED"

L_.str.1:                               ## @.str.1
	.asciz	"CMD_LOADKEY_ENCRYPTED_1"

L_.str.2:                               ## @.str.2
	.asciz	"CMD_LOADKEY_ENCRYPTED_2"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CmdLoadKey                     ; -- Begin function CmdLoadKey
	.p2align	2
_CmdLoadKey:                            ; @CmdLoadKey
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, #0
	cbz	x0, LBB0_13
; %bb.1:
	cbz	x1, LBB0_13
; %bb.2:
	mov	x20, x0
	mov	x0, x1
	bl	_ReadDumpW
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
	mov	w1, #1
	bl	_IsEncryptedK
	cbz	w0, LBB0_11
; %bb.4:
	ldr	x21, [x20, #8]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x21
	ldr	x21, [x20]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x21
	cbz	x0, LBB0_8
; %bb.5:
	mov	x24, x0
Lloh4:
	adrp	x21, l_.str.3@PAGE
Lloh5:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_IsBase64
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	mov	x3, x24
	bl	_BufToK
	mov	x23, x0
	mov	x0, x24
	bl	_Free
	cbnz	x23, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x20, #8]
	mov	x0, x21
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x23
	ldr	x23, [x20]
	mov	x0, x22
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x23
	mov	x24, x0
	cbnz	x0, LBB0_6
LBB0_8:
	mov	x0, x19
	bl	_FreeBuf
	b	LBB0_10
LBB0_9:
	ldr	x19, [x20, #8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x19
LBB0_10:
	mov	x23, #0
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_IsBase64
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	mov	x3, #0
	bl	_BufToK
	mov	x23, x0
LBB0_12:
	mov	x0, x19
	bl	_FreeBuf
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CMD_LOADCERT_FAILED"

l_.str.1:                               ; @.str.1
	.asciz	"CMD_LOADKEY_ENCRYPTED_1"

l_.str.2:                               ; @.str.2
	.asciz	"CMD_LOADKEY_ENCRYPTED_2"

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

.subsections_via_symbols
