	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x942kdf_derive
_x942kdf_derive:                        ## @x942kdf_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$48, %rdi
	callq	_ossl_prov_digest_md
	movq	$0, -40(%rbp)
	movq	$0, -48(%rbp)
	cmpq	$0, 32(%rbx)
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rdi
	movq	_NID_undef@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_6
## %bb.7:
	movq	40(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.8:
	movq	8(%rbx), %rax
	movq	_X942KDF_MAX_INLEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_9
LBB0_10:
	cmpq	%r15, 16(%rbx)
	jne	LBB0_6
## %bb.11:
	movq	8(%rbx), %rcx
	subq	$8, %rsp
	leaq	-56(%rbp), %rax
	leaq	-40(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%r15, %rsi
	pushq	%rax
	callq	_x942_encode_otherinfo
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	32(%rbx), %rsi
	movl	24(%rbx), %edx
	movq	-40(%rbp), %rcx
	movq	-48(%rbp), %r8
	movq	-56(%rbp), %r9
	movq	%r12, %rdi
	pushq	%r15
	pushq	%r14
	callq	_x942kdf_hash_kdm
	addq	$16, %rsp
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	callq	_OPENSSL_free
	jmp	LBB0_14
LBB0_1:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_MISSING_SECRET@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_MISSING_CEK_ALG@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_MISSING_MESSAGE_DIGEST@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INAVLID_UKM_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_12:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_BAD_ENCODING@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_MISSING_SECRET,4,2      ## @PROV_R_MISSING_SECRET
	.comm	_PROV_R_MISSING_MESSAGE_DIGEST,4,2 ## @PROV_R_MISSING_MESSAGE_DIGEST
	.comm	_NID_undef,8,3                  ## @NID_undef
	.comm	_PROV_R_MISSING_CEK_ALG,4,2     ## @PROV_R_MISSING_CEK_ALG
	.comm	_X942KDF_MAX_INLEN,8,3          ## @X942KDF_MAX_INLEN
	.comm	_PROV_R_INAVLID_UKM_LENGTH,4,2  ## @PROV_R_INAVLID_UKM_LENGTH
	.comm	_PROV_R_BAD_ENCODING,4,2        ## @PROV_R_BAD_ENCODING
	.no_dead_strip	_x942kdf_derive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x942kdf_derive
_x942kdf_derive:                        ; @x942kdf_derive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, x0, #48
	bl	_ossl_prov_digest_md
	stp	xzr, xzr, [sp, #8]
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x22, x0
	cbz	x0, LBB0_10
; %bb.2:
	ldr	x0, [x21]
Lloh0:
	adrp	x8, _NID_undef@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.3:
	ldr	x2, [x21, #40]
	cbz	x2, LBB0_5
; %bb.4:
	ldr	x8, [x21, #8]
Lloh3:
	adrp	x9, _X942KDF_MAX_INLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _X942KDF_MAX_INLEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_11
LBB0_5:
	ldr	x8, [x21, #16]
	cmp	x8, x19
	b.ne	LBB0_9
; %bb.6:
	ldr	x3, [x21, #8]
	add	x4, sp, #16
	add	x5, sp, #8
	add	x6, sp, #24
	mov	x1, x19
	bl	_x942_encode_otherinfo
	cbz	w0, LBB0_12
; %bb.7:
	ldr	x1, [x21, #32]
	ldr	w2, [x21, #24]
	ldp	x4, x3, [sp, #8]
	ldr	x5, [sp, #24]
	mov	x0, x22
	mov	x6, x20
	mov	x7, x19
	bl	_x942kdf_hash_kdm
	mov	x19, x0
	ldr	x0, [sp, #16]
	bl	_OPENSSL_free
	b	LBB0_14
LBB0_8:
Lloh6:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _PROV_R_MISSING_SECRET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PROV_R_MISSING_SECRET@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh11:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _PROV_R_MISSING_CEK_ALG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PROV_R_MISSING_CEK_ALG@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh16:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _PROV_R_MISSING_MESSAGE_DIGEST@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PROV_R_MISSING_MESSAGE_DIGEST@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _PROV_R_INAVLID_UKM_LENGTH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PROV_R_INAVLID_UKM_LENGTH@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh26:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _PROV_R_BAD_ENCODING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PROV_R_BAD_ENCODING@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w19, #0
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_MISSING_SECRET,4,2      ; @PROV_R_MISSING_SECRET
	.comm	_PROV_R_MISSING_MESSAGE_DIGEST,4,2 ; @PROV_R_MISSING_MESSAGE_DIGEST
	.comm	_NID_undef,8,3                  ; @NID_undef
	.comm	_PROV_R_MISSING_CEK_ALG,4,2     ; @PROV_R_MISSING_CEK_ALG
	.comm	_X942KDF_MAX_INLEN,8,3          ; @X942KDF_MAX_INLEN
	.comm	_PROV_R_INAVLID_UKM_LENGTH,4,2  ; @PROV_R_INAVLID_UKM_LENGTH
	.comm	_PROV_R_BAD_ENCODING,4,2        ; @PROV_R_BAD_ENCODING
	.no_dead_strip	_x942kdf_derive
.subsections_via_symbols
