	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_paramgen              ## -- Begin function EVP_PKEY_paramgen
	.p2align	4, 0x90
_EVP_PKEY_paramgen:                     ## @EVP_PKEY_paramgen
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rcx
	movq	_EVP_PKEY_OP_PARAMGEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.6:
	movq	%rsi, %r14
	movl	$-1, %r15d
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.7:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	jne	LBB0_10
## %bb.8:
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %rsi
	movq	8(%rbx), %rax
	movq	(%rax), %rax
LBB0_10:
	movq	%rbx, %rdi
	callq	*%rax
	movl	%eax, %r15d
	testl	%eax, %eax
	jg	LBB0_12
## %bb.11:
	movq	(%r14), %rdi
	callq	_EVP_PKEY_free
	movq	$0, (%r14)
	jmp	LBB0_12
LBB0_3:
	movq	_EVP_F_EVP_PKEY_PARAMGEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	movl	$-2, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_EVP_F_EVP_PKEY_PARAMGEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_OPERATON_NOT_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	movl	$-1, %r15d
	jmp	LBB0_12
LBB0_13:
	movq	_EVP_F_EVP_PKEY_PARAMGEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_F_EVP_PKEY_PARAMGEN,4,2    ## @EVP_F_EVP_PKEY_PARAMGEN
	.comm	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,2 ## @EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
	.comm	_EVP_PKEY_OP_PARAMGEN,8,3       ## @EVP_PKEY_OP_PARAMGEN
	.comm	_EVP_R_OPERATON_NOT_INITIALIZED,4,2 ## @EVP_R_OPERATON_NOT_INITIALIZED
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_paramgen              ; -- Begin function EVP_PKEY_paramgen
	.p2align	2
_EVP_PKEY_paramgen:                     ; @EVP_PKEY_paramgen
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.3:
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _EVP_PKEY_OP_PARAMGEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EVP_PKEY_OP_PARAMGEN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.4:
	mov	x19, x1
	cbz	x1, LBB0_14
; %bb.5:
	ldr	x1, [x19]
	cbnz	x1, LBB0_8
; %bb.6:
	bl	_EVP_PKEY_new
	str	x0, [x19]
	cbz	x0, LBB0_15
; %bb.7:
	mov	x1, x0
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
LBB0_8:
	mov	x0, x20
	blr	x8
	mov	x20, x0
	cmp	w0, #0
	b.gt	LBB0_11
; %bb.9:
	ldr	x0, [x19]
	bl	_EVP_PKEY_free
	str	xzr, [x19]
	b	LBB0_11
LBB0_10:
Lloh3:
	adrp	x8, _EVP_F_EVP_PKEY_PARAMGEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_PARAMGEN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w20, #-2
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh9:
	adrp	x8, _EVP_F_EVP_PKEY_PARAMGEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_PARAMGEN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _EVP_R_OPERATON_NOT_INITIALIZED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EVP_R_OPERATON_NOT_INITIALIZED@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_EVPerr
LBB0_14:
	mov	w20, #-1
	b	LBB0_11
LBB0_15:
Lloh14:
	adrp	x8, _EVP_F_EVP_PKEY_PARAMGEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_PARAMGEN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_F_EVP_PKEY_PARAMGEN,4,2    ; @EVP_F_EVP_PKEY_PARAMGEN
	.comm	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,2 ; @EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
	.comm	_EVP_PKEY_OP_PARAMGEN,8,3       ; @EVP_PKEY_OP_PARAMGEN
	.comm	_EVP_R_OPERATON_NOT_INITIALIZED,4,2 ; @EVP_R_OPERATON_NOT_INITIALIZED
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
