	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_kdf_test_run
_pkey_kdf_test_run:                     ## @pkey_kdf_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	(%rbx), %rdi
	movq	%rdi, -32(%rbp)
	callq	_OPENSSL_malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	12(%rbx), %edi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rsi
	callq	_EVP_PKEY_derive
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:
	movl	8(%rbx), %edi
	movq	(%rbx), %rsi
	movq	-32(%rbp), %rcx
	movq	%r15, %rdx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	$0, (%r14)
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rax
LBB0_7:
	movq	%rax, (%r14)
LBB0_8:
	movq	%r15, %rdi
	callq	_OPENSSL_free
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INTERNAL_ERROR"

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

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

	.no_dead_strip	_pkey_kdf_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_kdf_test_run
_pkey_kdf_test_run:                     ; @pkey_kdf_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	x20, x0
	ldr	x21, [x0, #8]
	ldr	x0, [x21]
	str	x0, [sp, #8]
	bl	_OPENSSL_malloc
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w0, [x21, #12]
	add	x2, sp, #8
	mov	x1, x19
	bl	_EVP_PKEY_derive
	cmp	x0, #0
	b.le	LBB0_5
; %bb.2:
	ldr	w0, [x21, #8]
	ldr	x1, [x21]
	ldr	x3, [sp, #8]
	mov	x2, x19
	bl	_TEST_mem_eq
	cbz	w0, LBB0_6
; %bb.3:
	str	xzr, [x20]
	b	LBB0_8
LBB0_4:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_7:
	str	x8, [x20]
LBB0_8:
	mov	x0, x19
	bl	_OPENSSL_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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INTERNAL_ERROR"

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

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

	.no_dead_strip	_pkey_kdf_test_run
.subsections_via_symbols
