	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spkac_main                     ## -- Begin function spkac_main
	.p2align	4, 0x90
_spkac_main:                            ## @spkac_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -88(%rbp)
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_spkac_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_opt_init
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	leaq	LJTI0_0(%rip), %rbx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -96(%rbp)                 ## 8-byte 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	$14, %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, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r12
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r13
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_10:                                ##   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	-72(%rbp), %rdx
	callq	_opt_format
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_18
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r14
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r15
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_setup_engine
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_15:
	movq	_spkac_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opt_help
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	xorl	%ebx, %ebx
LBB0_16:
	xorl	%r12d, %r12d
	jmp	LBB0_21
LBB0_17:
	xorl	%eax, %eax
	callq	_opt_num_rest
	testl	%eax, %eax
	je	LBB0_23
LBB0_18:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_19:
	movl	$1, %r12d
	xorl	%r15d, %r15d
	xorl	%edi, %edi
LBB0_20:
	xorl	%ebx, %ebx
LBB0_21:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_22:
	callq	_NCONF_free
	movq	%r15, %rdi
	callq	_NETSCAPE_SPKI_free
	movq	%rbx, %rdi
	callq	_BIO_free_all
	movq	%r14, %rdi
	callq	_EVP_PKEY_free
	movq	%r13, %rdi
	callq	_release_engine
	movq	-88(%rbp), %rdi
	callq	_OPENSSL_free
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	-88(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_app_passwd
	testl	%eax, %eax
	je	LBB0_32
## %bb.24:
	testq	%r14, %r14
	je	LBB0_33
## %bb.25:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	cmoveq	%rax, %r14
	movl	-72(%rbp), %esi
	movq	-88(%rbp), %rcx
	leaq	L_.str.5(%rip), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_load_key
	testq	%rax, %rax
	je	LBB0_45
## %bb.26:
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_NETSCAPE_SPKI_new
	testq	%rax, %rax
	je	LBB0_46
## %bb.27:
	movq	%rax, %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.28:
	movq	(%r15), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ASN1_STRING_set
LBB0_29:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_NETSCAPE_SPKI_set_pubkey
	xorl	%eax, %eax
	callq	_EVP_md5
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_NETSCAPE_SPKI_sign
	movq	%r15, %rdi
	callq	_NETSCAPE_SPKI_b64_encode
	testq	%rax, %rax
	je	LBB0_48
## %bb.30:
	movq	%rax, %r13
	movq	_FORMAT_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$119, %esi
	callq	_bio_open_default
	testq	%rax, %rax
	je	LBB0_50
## %bb.31:
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%r13, %rdi
	callq	_OPENSSL_free
	xorl	%edi, %edi
	movq	%r12, %r14
	jmp	LBB0_16
LBB0_32:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_19
LBB0_33:
	movq	%r15, %rdi
	callq	_app_load_config
	testq	%rax, %rax
	je	LBB0_47
## %bb.34:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rbx
	movq	%r12, %rdx
	callq	_NCONF_get_string
	testq	%rax, %rax
	je	LBB0_49
## %bb.35:
	movq	%rax, %rdi
	movl	$-1, %esi
	callq	_NETSCAPE_SPKI_b64_decode
	testq	%rax, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_51
## %bb.36:
	movq	%rax, %r15
	movq	_FORMAT_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$119, %esi
	callq	_bio_open_default
	testq	%rax, %rax
	je	LBB0_52
## %bb.37:
	movq	%rax, %rbx
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_39
## %bb.38:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_NETSCAPE_SPKI_print
LBB0_39:
	movq	%r15, %rdi
	callq	_NETSCAPE_SPKI_get_pubkey
	movq	%rax, %r14
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_42
## %bb.40:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_NETSCAPE_SPKI_verify
	movq	_bio_err@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	testl	%eax, %eax
	jle	LBB0_53
## %bb.41:
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_42:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_44
## %bb.43:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_PEM_write_bio_PUBKEY
LBB0_44:
	xorl	%r12d, %r12d
	jmp	LBB0_55
LBB0_45:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movl	$1, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_46:
	xorl	%r15d, %r15d
	movq	%r12, %r14
	movl	$1, %r12d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	jmp	LBB0_22
LBB0_47:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movl	$1, %r12d
	jmp	LBB0_20
LBB0_48:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, %r14
	movl	$1, %r12d
	xorl	%edi, %edi
	jmp	LBB0_22
LBB0_49:
	movl	$1, %r12d
	movq	_bio_err@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%r15), %edi
	callq	_ERR_print_errors
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_55
LBB0_50:
	movq	%r13, %rdi
	callq	_OPENSSL_free
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, %r14
	movl	$1, %r12d
	jmp	LBB0_22
LBB0_51:
	movl	$1, %r12d
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	callq	_ERR_print_errors
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_55
LBB0_52:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_54
LBB0_53:
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%r13), %edi
	callq	_ERR_print_errors
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_54:
	movl	$1, %r12d
LBB0_55:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_22
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-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_15, LBB0_15-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_1
	.long	L0_0_set_5
	.long	L0_0_set_6
	.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_15
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SPKAC"

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

	.comm	_FORMAT_PEM,4,2                 ## @FORMAT_PEM
	.comm	_spkac_options,4,2              ## @spkac_options
	.comm	_bio_err,4,2                    ## @bio_err
L_.str.2:                               ## @.str.2
	.asciz	"%s: Use -help for summary.\n"

	.comm	_OPT_FMT_ANY,4,2                ## @OPT_FMT_ANY
L_.str.3:                               ## @.str.3
	.asciz	"Error getting password\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"private key"

	.comm	_FORMAT_TEXT,4,2                ## @FORMAT_TEXT
L_.str.6:                               ## @.str.6
	.asciz	"SPKAC=%s\n"

L_.str.7:                               ## @.str.7
	.asciz	"Can't find SPKAC called \"%s\"\n"

L_.str.8:                               ## @.str.8
	.asciz	"Error loading SPKAC\n"

L_.str.9:                               ## @.str.9
	.asciz	"Signature OK\n"

L_.str.10:                              ## @.str.10
	.asciz	"Signature Failure\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spkac_main                     ; -- Begin function spkac_main
	.p2align	2
_spkac_main:                            ; @spkac_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, _FORMAT_PEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_PEM@GOTPAGEOFF]
	str	xzr, [sp, #40]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #36]
Lloh3:
	adrp	x8, _spkac_options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _spkac_options@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_opt_init
	stp	x0, xzr, [sp, #8]               ; 16-byte Folded Spill
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
	mov	x21, #0
	mov	x23, #0
	mov	x25, #0
	mov	x27, #0
	mov	w26, #0
	mov	w19, #0
	mov	w28, #0
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
Lloh10:
	adrp	x20, lJTI0_0@PAGE
Lloh11:
	add	x20, x20, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x24, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_opt_next
	sub	w8, w0, #128
	cmp	w8, #14
	b.hi	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x20, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #1
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x22, x0
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #1
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x27, x0
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w19, #1
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
Lloh12:
	adrp	x8, _OPT_FMT_ANY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OPT_FMT_ANY@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #36
	bl	_opt_format
	cbnz	w0, LBB0_2
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x23, x0
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x25, x0
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	w1, #0
	bl	_setup_engine
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x21, x0
	b	LBB0_2
LBB0_15:
Lloh15:
	adrp	x8, _spkac_options@GOTPAGE
Lloh16:
	ldr	x8, [x8, _spkac_options@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_opt_help
	mov	x23, #0
	mov	x22, #0
	mov	x21, #0
	mov	x20, #0
LBB0_16:
	mov	w24, #0
	b	LBB0_22
LBB0_17:
	bl	_opt_num_rest
	cbz	w0, LBB0_24
LBB0_18:
Lloh18:
	adrp	x8, _bio_err@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_19:
	bl	_BIO_printf
	mov	x23, #0
	mov	x22, #0
	mov	x21, #0
LBB0_20:
	mov	x20, #0
LBB0_21:
	mov	w24, #1
LBB0_22:
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
LBB0_23:
	mov	x0, x21
	bl	_NCONF_free
	mov	x0, x22
	bl	_NETSCAPE_SPKI_free
	mov	x0, x20
	bl	_BIO_free_all
	mov	x0, x23
	bl	_EVP_PKEY_free
	mov	x0, x19
	bl	_release_engine
	ldr	x0, [sp, #40]
	bl	_OPENSSL_free
	mov	x0, x24
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_24:
	add	x2, sp, #40
	mov	x0, x27
	mov	x1, #0
	mov	x3, #0
	bl	_app_passwd
	cbz	w0, LBB0_33
; %bb.25:
	cbz	x23, LBB0_34
; %bb.26:
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cmp	x0, #0
	csel	x0, xzr, x23, eq
	ldr	w1, [sp, #36]
	ldr	x3, [sp, #40]
Lloh25:
	adrp	x5, l_.str.5@PAGE
Lloh26:
	add	x5, x5, l_.str.5@PAGEOFF
	mov	w24, #1
	mov	w2, #1
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	mov	x4, x19
	bl	_load_key
	mov	x23, x0
	cbz	x0, LBB0_45
; %bb.27:
	bl	_NETSCAPE_SPKI_new
	mov	x22, x0
	cbz	x0, LBB0_46
; %bb.28:
	cbz	x21, LBB0_30
; %bb.29:
	ldr	x8, [x22]
	ldr	w24, [x8]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ASN1_STRING_set
LBB0_30:
	mov	x0, x22
	mov	x1, x23
	bl	_NETSCAPE_SPKI_set_pubkey
	bl	_EVP_md5
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_NETSCAPE_SPKI_sign
	mov	x0, x22
	bl	_NETSCAPE_SPKI_b64_encode
	mov	x21, x0
	cbz	x0, LBB0_47
; %bb.31:
Lloh27:
	adrp	x8, _FORMAT_TEXT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FORMAT_TEXT@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	w1, #119
	bl	_bio_open_default
	mov	x20, x0
	cbz	x0, LBB0_50
; %bb.32:
	str	x21, [sp]
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	mov	x0, x21
	bl	_OPENSSL_free
	mov	x21, #0
	mov	w24, #0
	b	LBB0_23
LBB0_33:
Lloh32:
	adrp	x8, _bio_err@GOTPAGE
Lloh33:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_34:
	mov	x0, x25
	bl	_app_load_config
	mov	x21, x0
	cbz	x0, LBB0_49
; %bb.35:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_NCONF_get_string
	cbz	x0, LBB0_48
; %bb.36:
	mov	w1, #-1
	bl	_NETSCAPE_SPKI_b64_decode
	mov	x22, x0
	cbz	x0, LBB0_51
; %bb.37:
Lloh37:
	adrp	x8, _FORMAT_TEXT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _FORMAT_TEXT@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	w1, #119
	bl	_bio_open_default
	mov	x20, x0
	cbz	x0, LBB0_52
; %bb.38:
	cbnz	w19, LBB0_40
; %bb.39:
	mov	x0, x20
	mov	x1, x22
	bl	_NETSCAPE_SPKI_print
LBB0_40:
	mov	x0, x22
	bl	_NETSCAPE_SPKI_get_pubkey
	mov	x23, x0
	cbz	w26, LBB0_43
; %bb.41:
	mov	x0, x22
	mov	x1, x23
	bl	_NETSCAPE_SPKI_verify
	mov	x8, x0
Lloh40:
	adrp	x19, _bio_err@GOTPAGE
Lloh41:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	w0, [x19]
	cmp	w8, #1
	b.lt	LBB0_53
; %bb.42:
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_BIO_printf
LBB0_43:
	cbz	w28, LBB0_16
; %bb.44:
	mov	x0, x20
	mov	x1, x23
	bl	_PEM_write_bio_PUBKEY
	b	LBB0_16
LBB0_45:
	mov	x22, #0
	mov	x21, #0
	mov	x20, #0
	b	LBB0_23
LBB0_46:
	mov	x21, #0
LBB0_47:
	mov	x20, #0
	mov	w24, #1
	b	LBB0_23
LBB0_48:
Lloh44:
	adrp	x19, _bio_err@GOTPAGE
Lloh45:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	w0, [x19]
	str	x22, [sp]
Lloh46:
	adrp	x1, l_.str.7@PAGE
Lloh47:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x19]
	bl	_ERR_print_errors
LBB0_49:
	mov	x23, #0
	mov	x22, #0
	b	LBB0_20
LBB0_50:
	mov	x0, x21
	bl	_OPENSSL_free
	mov	x21, #0
	mov	w24, #1
	b	LBB0_23
LBB0_51:
Lloh48:
	adrp	x19, _bio_err@GOTPAGE
Lloh49:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x19]
	bl	_ERR_print_errors
	mov	x23, #0
	b	LBB0_20
LBB0_52:
	mov	x23, #0
	b	LBB0_21
LBB0_53:
Lloh52:
	adrp	x1, l_.str.10@PAGE
Lloh53:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x19]
	bl	_ERR_print_errors
	b	LBB0_21
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_5-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_15-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_17-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SPKAC"

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

	.comm	_FORMAT_PEM,4,2                 ; @FORMAT_PEM
	.comm	_spkac_options,4,2              ; @spkac_options
	.comm	_bio_err,4,2                    ; @bio_err
l_.str.2:                               ; @.str.2
	.asciz	"%s: Use -help for summary.\n"

	.comm	_OPT_FMT_ANY,4,2                ; @OPT_FMT_ANY
l_.str.3:                               ; @.str.3
	.asciz	"Error getting password\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"private key"

	.comm	_FORMAT_TEXT,4,2                ; @FORMAT_TEXT
l_.str.6:                               ; @.str.6
	.asciz	"SPKAC=%s\n"

l_.str.7:                               ; @.str.7
	.asciz	"Can't find SPKAC called \"%s\"\n"

l_.str.8:                               ; @.str.8
	.asciz	"Error loading SPKAC\n"

l_.str.9:                               ; @.str.9
	.asciz	"Signature OK\n"

l_.str.10:                              ; @.str.10
	.asciz	"Signature Failure\n"

.subsections_via_symbols
