	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pkey_main                      ## -- Begin function pkey_main
	.p2align	4, 0x90
_pkey_main:                             ## @pkey_main
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movl	%eax, -64(%rbp)
	movq	_pkey_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_opt_init
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	LJTI0_0(%rip), %rbx
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -96(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -80(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_opt_next
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$18, %eax
	ja	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -76(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r15d
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r13d
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -96(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r13d
	movl	$1, %r14d
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r12
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	_OPT_FMT_PEMDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	leaq	-64(%rbp), %rdx
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_unknown
	movl	%eax, %edi
	leaq	-144(%rbp), %rsi
	callq	_opt_cipher
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_22
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	_OPT_FMT_ANY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	leaq	-84(%rbp), %rdx
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_opt_format
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_setup_engine
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_20:
	movq	_pkey_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opt_help
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_25
LBB0_21:
	xorl	%eax, %eax
	callq	_opt_num_rest
	testl	%eax, %eax
	je	LBB0_26
LBB0_22:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_23:
	xorl	%ebx, %ebx
LBB0_24:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ERR_print_errors
	movl	$1, %r14d
LBB0_25:
	movq	%r12, %rdi
	callq	_EVP_PKEY_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_release_engine
	movq	%rbx, %rdi
	callq	_BIO_free_all
	xorl	%edi, %edi
	callq	_BIO_free
	movq	-136(%rbp), %rdi
	callq	_OPENSSL_free
	movq	-128(%rbp), %rdi
	callq	_OPENSSL_free
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	orl	%r13d, %eax
	sete	-112(%rbp)                      ## 1-byte Folded Spill
	testl	%r15d, %r15d
	setne	%bl
	testl	%r14d, %r14d
	sete	-49(%rbp)                       ## 1-byte Folded Spill
	leaq	-136(%rbp), %rdx
	leaq	-128(%rbp), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_app_passwd
	testl	%eax, %eax
	je	LBB0_30
## %bb.27:
	andb	-49(%rbp), %bl                  ## 1-byte Folded Reload
	orb	-112(%rbp), %bl                 ## 1-byte Folded Reload
	movzbl	%bl, %ebx
	movl	-64(%rbp), %esi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_bio_open_owner
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_31
## %bb.28:
	movl	-84(%rbp), %esi
	movq	-136(%rbp), %rcx
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_32
## %bb.29:
	leaq	L_.str.2(%rip), %r9
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$1, %edx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_load_pubkey
	jmp	LBB0_33
LBB0_30:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_23
LBB0_31:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_32:
	leaq	L_.str.3(%rip), %r9
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$1, %edx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_load_key
LBB0_33:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_38
## %bb.34:
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	orl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_44
## %bb.35:
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_EVP_PKEY_CTX_new
	testq	%rax, %rax
	je	LBB0_39
## %bb.36:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	je	LBB0_40
## %bb.37:
	callq	_EVP_PKEY_check
	jmp	LBB0_41
LBB0_38:
	xorl	%r12d, %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_39:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ERR_print_errors
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_40:
	callq	_EVP_PKEY_public_check
LBB0_41:
	movl	%ebx, -104(%rbp)                ## 4-byte Spill
	cmpl	$1, %eax
	jne	LBB0_53
## %bb.42:
	leaq	L_.str.4(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_43:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_PKEY_CTX_free
	movl	-104(%rbp), %ebx                ## 4-byte Reload
LBB0_44:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_48
LBB0_45:
	testl	%r15d, %r15d
	je	LBB0_52
## %bb.46:
	testl	%r14d, %r14d
	je	LBB0_56
## %bb.47:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_EVP_PKEY_print_public
	jmp	LBB0_57
LBB0_48:
	movl	-64(%rbp), %eax
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_58
## %bb.49:
	testl	%r13d, %r13d
	je	LBB0_63
## %bb.50:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_PEM_write_bio_PUBKEY
	testl	%eax, %eax
	jne	LBB0_45
	jmp	LBB0_51
LBB0_52:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_53:
	leaq	L_.str.5(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_ERR_peek_error
	testq	%rax, %rax
	je	LBB0_43
## %bb.55:                              ##   in Loop: Header=BB0_54 Depth=1
	movq	%rax, %rdi
	callq	_ERR_reason_error_string
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	xorl	%eax, %eax
	callq	_ERR_get_error
	jmp	LBB0_54
LBB0_56:
	movl	%ebx, %edi
	callq	_assert
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_EVP_PKEY_print_private
LBB0_57:
	testq	%rax, %rax
	jg	LBB0_25
	jmp	LBB0_24
LBB0_58:
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_62
## %bb.59:
	testl	%r13d, %r13d
	je	LBB0_66
## %bb.60:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_i2d_PUBKEY_bio
	testl	%eax, %eax
	jne	LBB0_45
	jmp	LBB0_51
LBB0_62:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_63:
	movl	%ebx, %edi
	callq	_assert
	movq	-144(%rbp), %rdx
	movq	-128(%rbp), %rax
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_68
## %bb.64:
	movq	%rax, (%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PEM_write_bio_PrivateKey_traditional
	testl	%eax, %eax
	jne	LBB0_45
	jmp	LBB0_51
LBB0_66:
	movl	%ebx, %edi
	callq	_assert
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_i2d_PrivateKey_bio
	testl	%eax, %eax
	jne	LBB0_45
	jmp	LBB0_51
LBB0_68:
	movq	%rax, (%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PEM_write_bio_PrivateKey
	testl	%eax, %eax
	jne	LBB0_45
LBB0_51:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_1
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_20
	.long	L0_0_set_22
	.long	L0_0_set_21
	.long	L0_0_set_18
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_FORMAT_PEM,4,2                 ## @FORMAT_PEM
	.comm	_pkey_options,4,2               ## @pkey_options
	.comm	_bio_err,8,3                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Use -help for summary.\n"

	.comm	_OPT_FMT_ANY,4,2                ## @OPT_FMT_ANY
	.comm	_OPT_FMT_PEMDER,4,2             ## @OPT_FMT_PEMDER
L_.str.1:                               ## @.str.1
	.asciz	"Error getting passwords\n"

L_.str.2:                               ## @.str.2
	.asciz	"Public Key"

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

L_.str.4:                               ## @.str.4
	.asciz	"Key is valid\n"

L_.str.5:                               ## @.str.5
	.asciz	"Key is invalid\n"

L_.str.6:                               ## @.str.6
	.asciz	"Detailed error: %s\n"

	.comm	_FORMAT_ASN1,4,2                ## @FORMAT_ASN1
L_.str.7:                               ## @.str.7
	.asciz	"Bad format specified for key\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pkey_main                      ; -- Begin function pkey_main
	.p2align	2
_pkey_main:                             ; @pkey_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	stp	xzr, xzr, [sp, #64]
	str	xzr, [sp, #56]
Lloh0:
	adrp	x8, _FORMAT_PEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_PEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w8, [sp, #48]
Lloh3:
	adrp	x8, _pkey_options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pkey_options@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_opt_init
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	stp	xzr, xzr, [sp, #32]             ; 16-byte Folded Spill
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
	mov	x28, #0
	mov	w24, #0
	mov	w27, #0
	mov	w25, #0
	mov	w26, #0
	mov	w20, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
Lloh6:
	adrp	x19, lJTI0_0@PAGE
Lloh7:
	add	x19, x19, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_opt_next
	sub	w8, w0, #128
	cmp	w8, #18
	b.hi	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x19, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #1
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #1
	mov	w27, #1
	mov	w25, #1
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_arg
	mov	x23, x0
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_arg
	mov	x22, x0
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_arg
Lloh8:
	adrp	x8, _OPT_FMT_PEMDER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OPT_FMT_PEMDER@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #48
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_arg
	mov	x21, x0
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w20, #1
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_unknown
	add	x1, sp, #72
	bl	_opt_cipher
	cbnz	w0, LBB0_3
	b	LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_arg
Lloh11:
	adrp	x8, _OPT_FMT_ANY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OPT_FMT_ANY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #52
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_format
	cbnz	w0, LBB0_3
	b	LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_arg
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_opt_arg
	mov	w1, #0
	bl	_setup_engine
	mov	x28, x0
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_20:
Lloh14:
	adrp	x8, _pkey_options@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pkey_options@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_opt_help
	mov	w22, #0
	mov	x21, #0
	mov	x20, #0
	b	LBB0_25
LBB0_21:
	bl	_opt_num_rest
	cbz	w0, LBB0_26
LBB0_22:
Lloh17:
	adrp	x8, _bio_err@GOTPAGE
Lloh18:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
LBB0_23:
	bl	_BIO_printf
	mov	x20, #0
	mov	x21, #0
LBB0_24:
Lloh22:
	adrp	x8, _bio_err@GOTPAGE
Lloh23:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh24:
	ldr	x0, [x8]
	bl	_ERR_print_errors
	mov	w22, #1
LBB0_25:
	mov	x0, x20
	bl	_EVP_PKEY_free
	mov	x0, x28
	bl	_release_engine
	mov	x0, x21
	bl	_BIO_free_all
	mov	x0, #0
	bl	_BIO_free
	ldr	x0, [sp, #64]
	bl	_OPENSSL_free
	ldr	x0, [sp, #56]
	bl	_OPENSSL_free
	mov	x0, x22
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_26:
	mov	x19, x20
	orr	w8, w20, w27
	cmp	w26, #0
	ccmp	w25, #0, #0, ne
	ccmp	w8, #0, #4, ne
	cset	w20, eq
	add	x2, sp, #64
	add	x3, sp, #56
	mov	x0, x22
	mov	x1, x23
	bl	_app_passwd
	cbz	w0, LBB0_30
; %bb.27:
	ldr	w1, [sp, #48]
	mov	x0, x21
	mov	x2, x20
	bl	_bio_open_owner
	mov	x21, x0
	cbz	x0, LBB0_31
; %bb.28:
	str	w20, [sp, #16]                  ; 4-byte Folded Spill
	ldr	w1, [sp, #52]
	ldr	x3, [sp, #64]
	cbz	w24, LBB0_32
; %bb.29:
Lloh25:
	adrp	x5, l_.str.2@PAGE
Lloh26:
	add	x5, x5, l_.str.2@PAGEOFF
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w2, #1
	mov	x4, x28
	bl	_load_pubkey
	b	LBB0_33
LBB0_30:
Lloh27:
	adrp	x8, _bio_err@GOTPAGE
Lloh28:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_23
LBB0_31:
	mov	x20, #0
	b	LBB0_24
LBB0_32:
Lloh32:
	adrp	x5, l_.str.3@PAGE
Lloh33:
	add	x5, x5, l_.str.3@PAGEOFF
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w2, #1
	mov	x4, x28
	bl	_load_key
LBB0_33:
	mov	x20, x0
	cbz	x0, LBB0_24
; %bb.34:
	ldp	w9, w8, [sp, #32]               ; 8-byte Folded Reload
	orr	w8, w8, w9
	cbz	w8, LBB0_46
; %bb.35:
	mov	x0, x20
	mov	x1, x28
	bl	_EVP_PKEY_CTX_new
	cbz	x0, LBB0_38
; %bb.36:
	mov	x22, x0
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_39
; %bb.37:
	mov	x0, x22
	bl	_EVP_PKEY_check
	b	LBB0_40
LBB0_38:
Lloh34:
	adrp	x8, _bio_err@GOTPAGE
Lloh35:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh36:
	ldr	x0, [x8]
	bl	_ERR_print_errors
	b	LBB0_24
LBB0_39:
	mov	x0, x22
	bl	_EVP_PKEY_public_check
LBB0_40:
	cmp	w0, #1
	b.ne	LBB0_42
; %bb.41:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_BIO_printf
	b	LBB0_45
LBB0_42:
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_BIO_printf
	bl	_ERR_peek_error
	cbz	x0, LBB0_45
; %bb.43:
Lloh41:
	adrp	x23, l_.str.6@PAGE
Lloh42:
	add	x23, x23, l_.str.6@PAGEOFF
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	bl	_ERR_reason_error_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
	mov	x1, x23
	bl	_BIO_printf
	bl	_ERR_get_error
	bl	_ERR_peek_error
	cbnz	x0, LBB0_44
LBB0_45:
	mov	x0, x22
	bl	_EVP_PKEY_CTX_free
LBB0_46:
	cbz	w19, LBB0_50
LBB0_47:
	cbz	w26, LBB0_53
; %bb.48:
	cbz	w25, LBB0_54
; %bb.49:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	x3, #0
	bl	_EVP_PKEY_print_public
	mov	w22, #0
	cmp	x0, #1
	b.ge	LBB0_25
	b	LBB0_24
LBB0_50:
	ldr	w8, [sp, #48]
Lloh43:
	adrp	x9, _FORMAT_PEM@GOTPAGE
Lloh44:
	ldr	x9, [x9, _FORMAT_PEM@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_55
; %bb.51:
	cbz	w27, LBB0_59
; %bb.52:
	mov	x0, x21
	mov	x1, x20
	bl	_PEM_write_bio_PUBKEY
	cbnz	w0, LBB0_47
	b	LBB0_24
LBB0_53:
	mov	w22, #0
	b	LBB0_25
LBB0_54:
	ldr	w0, [sp, #16]                   ; 4-byte Folded Reload
	bl	_assert
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	x3, #0
	bl	_EVP_PKEY_print_private
	mov	w22, #0
	cmp	x0, #0
	b.gt	LBB0_25
	b	LBB0_24
LBB0_55:
Lloh46:
	adrp	x9, _FORMAT_ASN1@GOTPAGE
Lloh47:
	ldr	x9, [x9, _FORMAT_ASN1@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_58
; %bb.56:
	cbz	w27, LBB0_61
; %bb.57:
	mov	x0, x21
	mov	x1, x20
	bl	_i2d_PUBKEY_bio
	cbnz	w0, LBB0_47
	b	LBB0_24
LBB0_58:
Lloh49:
	adrp	x8, _bio_err@GOTPAGE
Lloh50:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh51:
	ldr	x0, [x8]
Lloh52:
	adrp	x1, l_.str.7@PAGE
Lloh53:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_BIO_printf
	b	LBB0_24
LBB0_59:
	ldr	w0, [sp, #16]                   ; 4-byte Folded Reload
	bl	_assert
	ldr	x2, [sp, #72]
	ldr	x6, [sp, #56]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_62
; %bb.60:
	mov	x0, x21
	mov	x1, x20
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_PEM_write_bio_PrivateKey_traditional
	cbnz	w0, LBB0_47
	b	LBB0_24
LBB0_61:
	ldr	w0, [sp, #16]                   ; 4-byte Folded Reload
	bl	_assert
	mov	x0, x21
	mov	x1, x20
	bl	_i2d_PrivateKey_bio
	cbnz	w0, LBB0_47
	b	LBB0_24
LBB0_62:
	mov	x0, x21
	mov	x1, x20
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_PEM_write_bio_PrivateKey
	cbnz	w0, LBB0_47
	b	LBB0_24
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_17-LBB0_1)>>2
	.byte	(LBB0_20-LBB0_1)>>2
	.byte	(LBB0_22-LBB0_1)>>2
	.byte	(LBB0_21-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
                                        ; -- End function
	.comm	_FORMAT_PEM,4,2                 ; @FORMAT_PEM
	.comm	_pkey_options,4,2               ; @pkey_options
	.comm	_bio_err,8,3                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Use -help for summary.\n"

	.comm	_OPT_FMT_ANY,4,2                ; @OPT_FMT_ANY
	.comm	_OPT_FMT_PEMDER,4,2             ; @OPT_FMT_PEMDER
l_.str.1:                               ; @.str.1
	.asciz	"Error getting passwords\n"

l_.str.2:                               ; @.str.2
	.asciz	"Public Key"

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

l_.str.4:                               ; @.str.4
	.asciz	"Key is valid\n"

l_.str.5:                               ; @.str.5
	.asciz	"Key is invalid\n"

l_.str.6:                               ; @.str.6
	.asciz	"Detailed error: %s\n"

	.comm	_FORMAT_ASN1,4,2                ; @FORMAT_ASN1
l_.str.7:                               ; @.str.7
	.asciz	"Bad format specified for key\n"

.subsections_via_symbols
