	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_hkdf_derive
_pkey_hkdf_derive:                      ## @pkey_hkdf_derive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movq	%rdx, %rbx
	movq	%rsi, %r10
	movl	(%rax), %edx
	cmpl	$128, %edx
	je	LBB0_10
## %bb.6:
	cmpl	$130, %edx
	je	LBB0_13
## %bb.7:
	cmpl	$129, %edx
	jne	LBB0_8
## %bb.9:
	movl	36(%rax), %esi
	movl	32(%rax), %edx
	movl	12(%rax), %r8d
	movl	4(%rax), %r11d
	movl	8(%rax), %r9d
	movq	(%rbx), %rax
	movq	%rax, 16(%rsp)
	movq	%r10, 8(%rsp)
	movl	%r11d, (%rsp)
	callq	_HKDF
	jmp	LBB0_14
LBB0_1:
	movq	_KDF_F_PKEY_HKDF_DERIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KDF_R_MISSING_MESSAGE_DIGEST@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_KDF_F_PKEY_HKDF_DERIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KDF_R_MISSING_KEY@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_KDFerr
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_10:
	testq	%r10, %r10
	je	LBB0_11
## %bb.12:
	movl	36(%rax), %esi
	movl	12(%rax), %r8d
	movl	32(%rax), %edx
	movq	%rbx, (%rsp)
	movq	%r10, %r9
	callq	_HKDF_Extract
	jmp	LBB0_14
LBB0_13:
	movl	12(%rax), %edx
	movl	4(%rax), %r8d
	movl	8(%rax), %r9d
	movq	(%rbx), %rax
	movq	%rax, (%rsp)
	movq	%rcx, %rsi
	movl	%r9d, %ecx
	movq	%r10, %r9
	callq	_HKDF_Expand
LBB0_14:
	testq	%rax, %rax
	setne	%al
	jmp	LBB0_15
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_11:
	callq	_EVP_MD_size
	movq	%rax, (%rbx)
	movb	$1, %al
LBB0_15:
	movzbl	%al, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KDF_F_PKEY_HKDF_DERIVE,4,2     ## @KDF_F_PKEY_HKDF_DERIVE
	.comm	_KDF_R_MISSING_MESSAGE_DIGEST,4,2 ## @KDF_R_MISSING_MESSAGE_DIGEST
	.comm	_KDF_R_MISSING_KEY,4,2          ## @KDF_R_MISSING_KEY
	.no_dead_strip	_pkey_hkdf_derive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_hkdf_derive
_pkey_hkdf_derive:                      ; @pkey_hkdf_derive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x9, [x0]
	ldr	x0, [x9, #24]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x3, [x9, #16]
	cbz	x3, LBB0_7
; %bb.2:
	mov	x19, x2
	mov	x7, x1
	ldr	w8, [x9]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #130
	b.eq	LBB0_11
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.5:
	ldp	w2, w1, [x9, #32]
	ldp	w5, w4, [x9, #8]
	ldr	w6, [x9, #4]
	ldr	x8, [x19]
	str	x8, [sp]
	bl	_HKDF
	b	LBB0_12
LBB0_6:
Lloh0:
	adrp	x8, _KDF_F_PKEY_HKDF_DERIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KDF_F_PKEY_HKDF_DERIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _KDF_R_MISSING_MESSAGE_DIGEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KDF_R_MISSING_MESSAGE_DIGEST@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _KDF_F_PKEY_HKDF_DERIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KDF_F_PKEY_HKDF_DERIVE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _KDF_R_MISSING_KEY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KDF_R_MISSING_KEY@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	bl	_KDFerr
	mov	w0, #0
	b	LBB0_15
LBB0_9:
	cbz	x7, LBB0_14
; %bb.10:
	ldp	w2, w1, [x9, #32]
	ldr	w4, [x9, #12]
	mov	x5, x7
	mov	x6, x19
	bl	_HKDF_Extract
	b	LBB0_12
LBB0_11:
	ldp	w8, w2, [x9, #8]
	ldr	w4, [x9, #4]
	ldr	x6, [x19]
	mov	x1, x3
	mov	x3, x8
	mov	x5, x7
	bl	_HKDF_Expand
LBB0_12:
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_15
LBB0_13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
	bl	_EVP_MD_size
	str	x0, [x19]
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_KDF_F_PKEY_HKDF_DERIVE,4,2     ; @KDF_F_PKEY_HKDF_DERIVE
	.comm	_KDF_R_MISSING_MESSAGE_DIGEST,4,2 ; @KDF_R_MISSING_MESSAGE_DIGEST
	.comm	_KDF_R_MISSING_KEY,4,2          ; @KDF_R_MISSING_KEY
	.no_dead_strip	_pkey_hkdf_derive
.subsections_via_symbols
