	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kdf_sshkdf_set_ctx_params
_kdf_sshkdf_set_ctx_params:             ## @kdf_sshkdf_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	callq	_PROV_LIBRARY_CONTEXT_OF
	leaq	28(%rbx), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_ossl_prov_digest_load_from_params
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movq	_OSSL_KDF_PARAM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	24(%rbx), %rdi
	leaq	20(%rbx), %rsi
	movq	%rax, %rdx
	callq	_sshkdf_set_membuf
	testl	%eax, %eax
	je	LBB0_14
LBB0_3:
	movq	_OSSL_KDF_PARAM_SSHKDF_XCGHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	16(%rbx), %rdi
	leaq	12(%rbx), %rsi
	movq	%rax, %rdx
	callq	_sshkdf_set_membuf
	testl	%eax, %eax
	je	LBB0_14
LBB0_5:
	movq	_OSSL_KDF_PARAM_SSHKDF_SESSION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	8(%rbx), %rdi
	leaq	4(%rbx), %rsi
	movq	%rax, %rdx
	callq	_sshkdf_set_membuf
	testl	%eax, %eax
	je	LBB0_14
LBB0_7:
	movq	_OSSL_KDF_PARAM_SSHKDF_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.9:
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.10:
	movb	(%rcx), %al
	leal	-71(%rax), %ecx
	cmpb	$-7, %cl
	ja	LBB0_12
## %bb.11:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_VALUE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	jmp	LBB0_14
LBB0_12:
	movb	%al, (%rbx)
LBB0_13:
	movl	$1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_KDF_PARAM_KEY,4,2         ## @OSSL_KDF_PARAM_KEY
	.comm	_OSSL_KDF_PARAM_SSHKDF_XCGHASH,4,2 ## @OSSL_KDF_PARAM_SSHKDF_XCGHASH
	.comm	_OSSL_KDF_PARAM_SSHKDF_SESSION_ID,4,2 ## @OSSL_KDF_PARAM_SSHKDF_SESSION_ID
	.comm	_OSSL_KDF_PARAM_SSHKDF_TYPE,4,2 ## @OSSL_KDF_PARAM_SSHKDF_TYPE
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_VALUE_ERROR,4,2         ## @PROV_R_VALUE_ERROR
	.no_dead_strip	_kdf_sshkdf_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 kdf_sshkdf_set_ctx_params
_kdf_sshkdf_set_ctx_params:             ; @kdf_sshkdf_set_ctx_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #32]
	bl	_PROV_LIBRARY_CONTEXT_OF
	mov	x2, x0
	add	x0, x19, #28
	mov	x1, x20
	bl	_ossl_prov_digest_load_from_params
	cbz	w0, LBB0_15
; %bb.1:
Lloh0:
	adrp	x8, _OSSL_KDF_PARAM_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_KDF_PARAM_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_3
; %bb.2:
	mov	x2, x0
	add	x0, x19, #24
	add	x1, x19, #20
	bl	_sshkdf_set_membuf
	cbz	w0, LBB0_15
LBB0_3:
Lloh3:
	adrp	x8, _OSSL_KDF_PARAM_SSHKDF_XCGHASH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SSHKDF_XCGHASH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_5
; %bb.4:
	mov	x2, x0
	add	x0, x19, #16
	add	x1, x19, #12
	bl	_sshkdf_set_membuf
	cbz	w0, LBB0_15
LBB0_5:
Lloh6:
	adrp	x8, _OSSL_KDF_PARAM_SSHKDF_SESSION_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SSHKDF_SESSION_ID@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, #8
	add	x1, x19, #4
	bl	_sshkdf_set_membuf
	cbz	w0, LBB0_15
LBB0_7:
Lloh9:
	adrp	x8, _OSSL_KDF_PARAM_SSHKDF_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SSHKDF_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_14
; %bb.8:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	x9, [x0]
	cbz	x9, LBB0_12
; %bb.10:
	ldrb	w8, [x8]
	sub	w9, w8, #71
	cmn	w9, #7
	b.hi	LBB0_13
; %bb.11:
Lloh12:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _PROV_R_VALUE_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PROV_R_VALUE_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_ERR_raise
LBB0_12:
	mov	w0, #0
	b	LBB0_15
LBB0_13:
	strb	w8, [x19]
LBB0_14:
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_KDF_PARAM_KEY,4,2         ; @OSSL_KDF_PARAM_KEY
	.comm	_OSSL_KDF_PARAM_SSHKDF_XCGHASH,4,2 ; @OSSL_KDF_PARAM_SSHKDF_XCGHASH
	.comm	_OSSL_KDF_PARAM_SSHKDF_SESSION_ID,4,2 ; @OSSL_KDF_PARAM_SSHKDF_SESSION_ID
	.comm	_OSSL_KDF_PARAM_SSHKDF_TYPE,4,2 ; @OSSL_KDF_PARAM_SSHKDF_TYPE
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_VALUE_ERROR,4,2         ; @PROV_R_VALUE_ERROR
	.no_dead_strip	_kdf_sshkdf_set_ctx_params
.subsections_via_symbols
