	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_keygen_file
_init_keygen_file:                      ## @init_keygen_file
	.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
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_puts
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_BIO_new_file
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_PEM_read_bio_Parameters
	movq	%r14, %rdi
	movq	%rax, %r14
	callq	_BIO_free
	testq	%r14, %r14
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_EVP_PKEY_CTX_new
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%r14, %r15
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_keygen_init
	testq	%rax, %rax
	jle	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_EVP_PKEY_free
	movq	%rbx, (%r12)
	movl	$1, %ebx
	jmp	LBB0_11
LBB0_3:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_BIO_printf
	jmp	LBB0_10
LBB0_5:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_BIO_printf
	jmp	LBB0_11
LBB0_9:
	movq	_bio_err@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_BIO_puts
	movl	(%r14), %edi
	callq	_ERR_print_errors
	movq	%rbx, %rdi
	callq	_EVP_PKEY_CTX_free
	movq	%r15, %rdi
	callq	_EVP_PKEY_free
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parameters already set!\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"Can't open parameter file %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"Error reading parameter file %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Error initializing context\n"

	.no_dead_strip	_init_keygen_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_keygen_file
_init_keygen_file:                      ; @init_keygen_file
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %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
	b	LBB0_11
LBB0_2:
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_BIO_new_file
	cbz	x0, LBB0_7
; %bb.3:
	mov	x23, x0
	mov	x1, #0
	bl	_PEM_read_bio_Parameters
	mov	x20, x0
	mov	x0, x23
	bl	_BIO_free
	cbz	x20, LBB0_8
; %bb.4:
	mov	x0, x20
	mov	x1, x22
	bl	_EVP_PKEY_CTX_new
	mov	x21, x0
	cbz	x0, LBB0_10
; %bb.5:
	mov	x0, x21
	bl	_EVP_PKEY_keygen_init
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_EVP_PKEY_free
	str	x21, [x19]
	mov	w0, #1
	b	LBB0_12
LBB0_7:
Lloh7:
	adrp	x8, _bio_err@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _bio_err@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_9:
	mov	x2, x21
	bl	_BIO_printf
	b	LBB0_11
LBB0_10:
Lloh17:
	adrp	x19, _bio_err@GOTPAGE
Lloh18:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_BIO_puts
	ldr	w0, [x19]
	bl	_ERR_print_errors
	mov	x0, x21
	bl	_EVP_PKEY_CTX_free
	mov	x0, x20
	bl	_EVP_PKEY_free
LBB0_11:
	mov	w0, #0
LBB0_12:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parameters already set!\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"Can't open parameter file %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"Error reading parameter file %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Error initializing context\n"

	.no_dead_strip	_init_keygen_file
.subsections_via_symbols
