	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kbkdf_derive
_kbkdf_derive:                          ## @kbkdf_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	(,%rdx,8), %rdi
	callq	_be32
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	movl	%eax, %r14d
	callq	_EVP_MAC_size
	movq	%rax, %r15
	testq	%rax, %rax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.8:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	cmpq	%r15, %rax
	je	LBB0_11
## %bb.10:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_SEED_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	jmp	LBB0_7
LBB0_1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	cmpq	$0, 48(%rbx)
	je	LBB0_3
## %bb.5:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_MISSING_MAC@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_NO_KEY_SET@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_11:
	movq	%r15, %rdi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:
	movq	%rax, %r12
	movq	40(%rbx), %rdi
	movl	36(%rbx), %esi
	movl	32(%rbx), %edx
	movq	8(%rbx), %rcx
	movl	28(%rbx), %r8d
	movl	24(%rbx), %r9d
	movl	20(%rbx), %eax
	movl	16(%rbx), %ebx
	subq	$8, %rsp
	pushq	%r13
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	pushq	%r15
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	callq	_derive
	addq	$64, %rsp
	movl	%eax, %r14d
	movl	$1, %ebx
	cmpl	$1, %eax
	jne	LBB0_13
	jmp	LBB0_14
LBB0_7:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
LBB0_13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_OPENSSL_cleanse
	movl	%r14d, %ebx
LBB0_14:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_OPENSSL_clear_free
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_NO_KEY_SET,4,2          ## @PROV_R_NO_KEY_SET
	.comm	_PROV_R_MISSING_MAC,4,2         ## @PROV_R_MISSING_MAC
	.comm	_PROV_R_INVALID_SEED_LENGTH,4,2 ## @PROV_R_INVALID_SEED_LENGTH
	.no_dead_strip	_kbkdf_derive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kbkdf_derive
_kbkdf_derive:                          ; @kbkdf_derive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	lsl	x0, x2, #3
	bl	_be32
	mov	x24, x0
	ldr	x0, [x23, #40]
	cbz	x0, LBB0_9
; %bb.1:
	bl	_EVP_MAC_size
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_15
; %bb.3:
	cmp	x8, x21
	b.eq	LBB0_15
; %bb.4:
Lloh0:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PROV_R_INVALID_SEED_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROV_R_INVALID_SEED_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ERR_raise
LBB0_5:
	mov	x22, #0
LBB0_6:
	mov	w23, #0
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_cleanse
LBB0_8:
	mov	x0, x22
	mov	x1, x21
	bl	_OPENSSL_clear_free
	b	LBB0_14
LBB0_9:
	ldr	x8, [x23]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x23, #48]
	cbz	x8, LBB0_12
; %bb.11:
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_MAC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PROV_R_MISSING_MAC@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _PROV_R_NO_KEY_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PROV_R_NO_KEY_SET@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w23, #0
LBB0_14:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	mov	x0, x21
	bl	_OPENSSL_zalloc
	mov	x22, x0
	cbz	x0, LBB0_6
; %bb.16:
	ldr	x0, [x23, #40]
	ldp	w2, w1, [x23, #32]
	ldr	x3, [x23, #8]
	ldp	w5, w4, [x23, #24]
	ldp	w7, w6, [x23, #16]
	stp	x20, x19, [sp, #24]
	str	w24, [sp, #16]
	stp	x22, x21, [sp]
	bl	_derive
	mov	x23, x0
	cmp	w0, #1
	b.ne	LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_NO_KEY_SET,4,2          ; @PROV_R_NO_KEY_SET
	.comm	_PROV_R_MISSING_MAC,4,2         ; @PROV_R_MISSING_MAC
	.comm	_PROV_R_INVALID_SEED_LENGTH,4,2 ; @PROV_R_INVALID_SEED_LENGTH
	.no_dead_strip	_kbkdf_derive
.subsections_via_symbols
