	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_gen_str                   ## -- Begin function init_gen_str
	.p2align	4, 0x90
_init_gen_str:                          ## @init_gen_str
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_puts
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-56(%rbp), %rdi
	movl	$-1, %edx
	callq	_EVP_PKEY_asn1_find_str
	movq	%rax, %r12
	testq	%r13, %r13
	je	LBB0_7
## %bb.5:
	testq	%r12, %r12
	jne	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$-1, %edx
	callq	_ENGINE_get_pkey_asn1_meth_str
	movq	%rax, %r12
LBB0_7:
	testq	%r12, %r12
	je	LBB0_12
## %bb.8:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ERR_clear_error
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r12, %r9
	callq	_EVP_PKEY_asn1_get0_info
	movq	-56(%rbp), %rdi
	callq	_ENGINE_finish
	movl	-48(%rbp), %edi
	movq	%r13, %rsi
	callq	_EVP_PKEY_CTX_new_id
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.10:
	movq	%r13, %rdi
	callq	_EVP_PKEY_paramgen_init
	testq	%rax, %rax
	jle	LBB0_14
LBB0_11:
	movq	%r13, (%r15)
	movl	$1, %ebx
	jmp	LBB0_3
LBB0_12:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_BIO_printf
	jmp	LBB0_2
LBB0_13:
	movq	%r13, %rdi
	callq	_EVP_PKEY_keygen_init
	testq	%rax, %rax
	jg	LBB0_11
LBB0_14:
	movq	_bio_err@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_BIO_printf
	movl	(%r15), %edi
	callq	_ERR_print_errors
	movq	%r13, %rdi
	callq	_EVP_PKEY_CTX_free
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Algorithm already set!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Algorithm %s not found\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error initializing %s context\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_gen_str                   ; -- Begin function init_gen_str
	.p2align	2
_init_gen_str:                          ; @init_gen_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	xzr, [sp, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _bio_err@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_puts
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w2, #-1
	bl	_EVP_PKEY_asn1_find_str
	mov	x23, x0
	cbz	x22, LBB0_7
; %bb.5:
	cbnz	x23, LBB0_7
; %bb.6:
	mov	x0, x22
	mov	x1, x19
	mov	w2, #-1
	bl	_ENGINE_get_pkey_asn1_meth_str
	mov	x23, x0
LBB0_7:
	cbz	x23, LBB0_12
; %bb.8:
	bl	_ERR_clear_error
	add	x0, sp, #4
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, x23
	bl	_EVP_PKEY_asn1_get0_info
	ldr	x0, [sp, #8]
	bl	_ENGINE_finish
	ldr	w0, [sp, #4]
	mov	x1, x22
	bl	_EVP_PKEY_CTX_new_id
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.9:
	mov	x0, x22
	cbz	w21, LBB0_13
; %bb.10:
	bl	_EVP_PKEY_paramgen_init
	cmp	x0, #1
	b.lt	LBB0_14
LBB0_11:
	str	x22, [x20]
	mov	w0, #1
	b	LBB0_3
LBB0_12:
Lloh5:
	adrp	x8, _bio_err@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_BIO_printf
	b	LBB0_2
LBB0_13:
	bl	_EVP_PKEY_keygen_init
	cmp	x0, #1
	b.ge	LBB0_11
LBB0_14:
Lloh10:
	adrp	x20, _bio_err@GOTPAGE
Lloh11:
	ldr	x20, [x20, _bio_err@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_BIO_printf
	ldr	w0, [x20]
	bl	_ERR_print_errors
	mov	x0, x22
	bl	_EVP_PKEY_CTX_free
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Algorithm already set!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Algorithm %s not found\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error initializing %s context\n"

.subsections_via_symbols
