	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_copy_parameters       ## -- Begin function EVP_PKEY_copy_parameters
	.p2align	4, 0x90
_EVP_PKEY_copy_parameters:              ## @EVP_PKEY_copy_parameters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_EVP_PKEY_NONE@GOTPCREL(%rip), %rcx
	movq	(%rsi), %rsi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_set_type
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_8
LBB0_3:
	cmpq	%rsi, %rax
	jne	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_EVP_PKEY_missing_parameters
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	_EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_MISSING_PARAMETERS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_DIFFERENT_KEY_TYPES@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_EVPerr
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_missing_parameters
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	8(%r14), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.12:
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_EVP_PKEY_cmp_parameters
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	LBB0_9
## %bb.15:
	movq	_EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_DIFFERENT_PARAMETERS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_PKEY_NONE,8,3              ## @EVP_PKEY_NONE
	.comm	_EVP_F_EVP_PKEY_COPY_PARAMETERS,4,2 ## @EVP_F_EVP_PKEY_COPY_PARAMETERS
	.comm	_EVP_R_DIFFERENT_KEY_TYPES,4,2  ## @EVP_R_DIFFERENT_KEY_TYPES
	.comm	_EVP_R_MISSING_PARAMETERS,4,2   ## @EVP_R_MISSING_PARAMETERS
	.comm	_EVP_R_DIFFERENT_PARAMETERS,4,2 ## @EVP_R_DIFFERENT_PARAMETERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_copy_parameters       ; -- Begin function EVP_PKEY_copy_parameters
	.p2align	2
_EVP_PKEY_copy_parameters:              ; @EVP_PKEY_copy_parameters
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EVP_PKEY_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVP_PKEY_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x1, [x1]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_EVP_PKEY_set_type
	cbnz	x0, LBB0_3
	b	LBB0_8
LBB0_2:
	cmp	x8, x1
	b.ne	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_EVP_PKEY_missing_parameters
	cbz	x0, LBB0_9
; %bb.4:
Lloh3:
	adrp	x8, _EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EVP_R_MISSING_PARAMETERS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVP_R_MISSING_PARAMETERS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _EVP_R_DIFFERENT_KEY_TYPES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EVP_R_DIFFERENT_KEY_TYPES@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_EVPerr
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	bl	_EVP_PKEY_missing_parameters
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.11:
	ldr	x2, [x8]
	cbz	x2, LBB0_7
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	bl	_EVP_PKEY_cmp_parameters
	cmp	w0, #1
	b.eq	LBB0_8
; %bb.14:
Lloh13:
	adrp	x8, _EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_COPY_PARAMETERS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _EVP_R_DIFFERENT_PARAMETERS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EVP_R_DIFFERENT_PARAMETERS@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_PKEY_NONE,8,3              ; @EVP_PKEY_NONE
	.comm	_EVP_F_EVP_PKEY_COPY_PARAMETERS,4,2 ; @EVP_F_EVP_PKEY_COPY_PARAMETERS
	.comm	_EVP_R_DIFFERENT_KEY_TYPES,4,2  ; @EVP_R_DIFFERENT_KEY_TYPES
	.comm	_EVP_R_MISSING_PARAMETERS,4,2   ; @EVP_R_MISSING_PARAMETERS
	.comm	_EVP_R_DIFFERENT_PARAMETERS,4,2 ; @EVP_R_DIFFERENT_PARAMETERS
.subsections_via_symbols
