	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_test_run
_pkey_test_run:                         ## @pkey_test_run
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	8(%rbx), %rdi
	movl	28(%rbx), %ecx
	movl	24(%rbx), %r8d
	xorl	%r12d, %r12d
	leaq	-40(%rbp), %rdx
	xorl	%esi, %esi
	callq	*(%rbx)
	testq	%rax, %rax
	jle	LBB0_9
## %bb.1:
	movq	-40(%rbp), %rdi
	callq	_OPENSSL_malloc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movq	8(%rbx), %rdi
	movl	28(%rbx), %ecx
	movl	24(%rbx), %r8d
	leaq	-40(%rbp), %rdx
	movq	%r12, %rsi
	callq	*(%rbx)
	testq	%rax, %rax
	jle	LBB0_13
## %bb.3:
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	-40(%rbp), %r9
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %r8
	callq	_memory_err_compare
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movq	$0, (%r14)
	movq	%r12, %rdi
	callq	_OPENSSL_free
	movq	8(%rbx), %rdi
	callq	_EVP_PKEY_CTX_dup
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:
	movl	24(%rbx), %r8d
	movl	28(%rbx), %ecx
	xorl	%r12d, %r12d
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*(%rbx)
	testq	%rax, %rax
	jle	LBB0_15
## %bb.6:
	movq	-40(%rbp), %rdi
	callq	_OPENSSL_malloc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_15
## %bb.7:
	movl	24(%rbx), %r8d
	movl	28(%rbx), %ecx
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	*(%rbx)
	testq	%rax, %rax
	jle	LBB0_17
## %bb.8:
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	-40(%rbp), %r9
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %r8
	callq	_memory_err_compare
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str(%rip), %rax
LBB0_10:
	movq	%rax, (%r14)
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movq	%r12, %rdi
	callq	_OPENSSL_free
	movq	%r15, %rdi
	callq	_EVP_PKEY_CTX_free
	movl	$1, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_10
LBB0_15:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r14)
	jmp	LBB0_12
LBB0_16:
	leaq	L_.str.3(%rip), %rax
	movq	%rax, (%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_17:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r14)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KEYOP_LENGTH_ERROR"

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

L_.str.2:                               ## @.str.2
	.asciz	"KEYOP_MISMATCH"

L_.str.3:                               ## @.str.3
	.asciz	"INTERNAL_ERROR"

	.no_dead_strip	_pkey_test_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_test_run
_pkey_test_run:                         ; @pkey_test_run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x22, [x0, #8]
	ldp	x8, x0, [x22]
	ldp	w4, w3, [x22, #24]
	add	x2, sp, #8
	mov	x1, #0
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_OPENSSL_malloc
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_10
; %bb.2:
	ldp	x8, x0, [x22]
	ldp	w4, w3, [x22, #24]
	add	x2, sp, #8
	mov	x1, x20
	blr	x8
	cmp	x0, #0
	b.le	LBB0_14
; %bb.3:
	ldp	w3, w2, [x22, #16]
	ldr	x5, [sp, #8]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	bl	_memory_err_compare
	cbz	w0, LBB0_16
; %bb.4:
	str	xzr, [x19]
	mov	x0, x20
	bl	_OPENSSL_free
	ldr	x0, [x22, #8]
	bl	_EVP_PKEY_CTX_dup
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_17
; %bb.5:
	ldr	x8, [x22]
	ldp	w4, w3, [x22, #24]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, #0
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_18
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_OPENSSL_malloc
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x8, [x22]
	ldp	w4, w3, [x22, #24]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	blr	x8
	cmp	x0, #0
	b.le	LBB0_15
; %bb.8:
	ldp	w3, w2, [x22, #16]
	ldr	x5, [sp, #8]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	bl	_memory_err_compare
	b	LBB0_13
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x21, #0
LBB0_11:
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
LBB0_12:
	str	x8, [x19]
LBB0_13:
	mov	x0, x20
	bl	_OPENSSL_free
	mov	x0, x21
	bl	_EVP_PKEY_CTX_free
	mov	w0, #1
	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
	add	sp, sp, #64
	ret
LBB0_14:
	mov	x21, #0
LBB0_15:
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_16:
	mov	x21, #0
	b	LBB0_13
LBB0_17:
	mov	x20, #0
Lloh8:
	adrp	x8, l_.str.3@PAGE
Lloh9:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_18:
	mov	x20, #0
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KEYOP_LENGTH_ERROR"

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

l_.str.2:                               ; @.str.2
	.asciz	"KEYOP_MISMATCH"

l_.str.3:                               ; @.str.3
	.asciz	"INTERNAL_ERROR"

	.no_dead_strip	_pkey_test_run
.subsections_via_symbols
