	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sskdf_set_ctx_params
_sskdf_set_ctx_params:                  ## @sskdf_set_ctx_params
	.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	%rsi, %r15
	movq	%rdi, %r12
	movl	40(%rdi), %edi
	callq	_PROV_LIBRARY_CONTEXT_OF
	movq	%rax, %rbx
	leaq	36(%r12), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_ossl_prov_digest_load_from_params
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	32(%r12), %rdi
	xorl	%r14d, %r14d
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_ossl_prov_macctx_load_from_params
	testl	%eax, %eax
	je	LBB0_15
## %bb.3:
	movq	_OSSL_KDF_PARAM_SECRET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_OSSL_KDF_PARAM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	leaq	28(%r12), %rdi
	leaq	24(%r12), %rsi
	movq	%rax, %rdx
	callq	_sskdf_set_buffer
	testl	%eax, %eax
	je	LBB0_15
LBB0_6:
	movq	_OSSL_KDF_PARAM_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	20(%r12), %rdi
	leaq	16(%r12), %rsi
	movq	%rax, %rdx
	callq	_sskdf_set_buffer
	testl	%eax, %eax
	je	LBB0_15
LBB0_8:
	movq	_OSSL_KDF_PARAM_SALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	12(%r12), %rdi
	leaq	8(%r12), %rsi
	movq	%rax, %rdx
	callq	_sskdf_set_buffer
	testl	%eax, %eax
	je	LBB0_15
LBB0_10:
	movq	_OSSL_KDF_PARAM_MAC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_get_size_t
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	%rax, (%r12)
LBB0_14:
	movl	$1, %r14d
	jmp	LBB0_15
LBB0_1:
	xorl	%r14d, %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_KDF_PARAM_SECRET,4,2      ## @OSSL_KDF_PARAM_SECRET
	.comm	_OSSL_KDF_PARAM_KEY,4,2         ## @OSSL_KDF_PARAM_KEY
	.comm	_OSSL_KDF_PARAM_INFO,4,2        ## @OSSL_KDF_PARAM_INFO
	.comm	_OSSL_KDF_PARAM_SALT,4,2        ## @OSSL_KDF_PARAM_SALT
	.comm	_OSSL_KDF_PARAM_MAC_SIZE,4,2    ## @OSSL_KDF_PARAM_MAC_SIZE
	.no_dead_strip	_sskdf_set_ctx_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sskdf_set_ctx_params
_sskdf_set_ctx_params:                  ; @sskdf_set_ctx_params
	.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, x1
	mov	x19, x0
	ldr	w0, [x0, #40]
	bl	_PROV_LIBRARY_CONTEXT_OF
	mov	x21, x0
	add	x0, x19, #36
	mov	x1, x20
	mov	x2, x21
	bl	_ossl_prov_digest_load_from_params
	cbz	w0, LBB0_14
; %bb.1:
	add	x0, x19, #32
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, x21
	bl	_ossl_prov_macctx_load_from_params
	cbz	w0, LBB0_14
; %bb.2:
Lloh0:
	adrp	x8, _OSSL_KDF_PARAM_SECRET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SECRET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	mov	x2, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _OSSL_KDF_PARAM_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSSL_KDF_PARAM_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	mov	x2, x0
	cbz	x0, LBB0_5
LBB0_4:
	add	x0, x19, #28
	add	x1, x19, #24
	bl	_sskdf_set_buffer
	cbz	w0, LBB0_14
LBB0_5:
Lloh6:
	adrp	x8, _OSSL_KDF_PARAM_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSSL_KDF_PARAM_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_7
; %bb.6:
	mov	x2, x0
	add	x0, x19, #20
	add	x1, x19, #16
	bl	_sskdf_set_buffer
	cbz	w0, LBB0_14
LBB0_7:
Lloh9:
	adrp	x8, _OSSL_KDF_PARAM_SALT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SALT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_9
; %bb.8:
	mov	x2, x0
	add	x0, x19, #12
	add	x1, x19, #8
	bl	_sskdf_set_buffer
	cbz	w0, LBB0_14
LBB0_9:
Lloh12:
	adrp	x8, _OSSL_KDF_PARAM_MAC_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OSSL_KDF_PARAM_MAC_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_13
; %bb.10:
	add	x1, sp, #8
	bl	_OSSL_PARAM_get_size_t
	mov	x8, x0
	mov	w0, #0
	cbz	w8, LBB0_14
; %bb.11:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_14
; %bb.12:
	str	x8, [x19]
LBB0_13:
	mov	w0, #1
LBB0_14:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_KDF_PARAM_SECRET,4,2      ; @OSSL_KDF_PARAM_SECRET
	.comm	_OSSL_KDF_PARAM_KEY,4,2         ; @OSSL_KDF_PARAM_KEY
	.comm	_OSSL_KDF_PARAM_INFO,4,2        ; @OSSL_KDF_PARAM_INFO
	.comm	_OSSL_KDF_PARAM_SALT,4,2        ; @OSSL_KDF_PARAM_SALT
	.comm	_OSSL_KDF_PARAM_MAC_SIZE,4,2    ; @OSSL_KDF_PARAM_MAC_SIZE
	.no_dead_strip	_sskdf_set_ctx_params
.subsections_via_symbols
