	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kbkdf_set_ctx_params
_kbkdf_set_ctx_params:                  ## @kbkdf_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	60(%rdi), %edi
	callq	_PROV_LIBRARY_CONTEXT_OF
	leaq	32(%r13), %r15
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%rax, %r9
	callq	_ossl_prov_macctx_load_from_params
	testl	%eax, %eax
	je	LBB0_25
## %bb.1:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	callq	_EVP_MAC_CTX_mac
	movq	_OSSL_MAC_NAME_HMAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_EVP_MAC_is_a
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	(%r15), %rdi
	callq	_EVP_MAC_CTX_mac
	movq	_OSSL_MAC_NAME_CMAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_EVP_MAC_is_a
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	movq	_OSSL_KDF_PARAM_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %rbx
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.27:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_MODE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	movq	_COUNTER@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_FEEDBACK@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, 56(%r13)
LBB0_12:
	movq	_OSSL_KDF_PARAM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	40(%r13), %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_kbkdf_set_buffer
	testl	%eax, %eax
	je	LBB0_25
LBB0_14:
	movq	_OSSL_KDF_PARAM_SALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	52(%r13), %rdi
	leaq	8(%r13), %rsi
	movq	%rax, %rdx
	callq	_kbkdf_set_buffer
	testl	%eax, %eax
	je	LBB0_25
LBB0_16:
	movq	_OSSL_KDF_PARAM_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	48(%r13), %rdi
	leaq	16(%r13), %rsi
	movq	%rax, %rdx
	callq	_kbkdf_set_buffer
	testl	%eax, %eax
	je	LBB0_25
LBB0_18:
	movq	_OSSL_KDF_PARAM_SEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	44(%r13), %rdi
	leaq	24(%r13), %rsi
	movq	%rax, %rdx
	callq	_kbkdf_set_buffer
	testl	%eax, %eax
	je	LBB0_25
LBB0_20:
	cmpq	$0, (%r15)
	je	LBB0_24
## %bb.21:
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_24
## %bb.22:
	movq	_OSSL_MAC_PARAM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%r13), %esi
	callq	_OSSL_PARAM_construct_octet_string
	movq	%rax, -64(%rbp)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_OSSL_PARAM_construct_end
	movq	%rax, -56(%rbp)
	movq	32(%r13), %rdi
	leaq	-64(%rbp), %rsi
	callq	_EVP_MAC_CTX_set_params
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:
	movq	(%r15), %rdi
	callq	_EVP_MAC_init
	testl	%eax, %eax
	je	LBB0_25
LBB0_24:
	movl	$1, %r14d
	jmp	LBB0_25
LBB0_4:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_MAC@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	callq	_ERR_raise
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.26:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_MAC_NAME_HMAC,4,2         ## @OSSL_MAC_NAME_HMAC
	.comm	_OSSL_MAC_NAME_CMAC,4,2         ## @OSSL_MAC_NAME_CMAC
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_INVALID_MAC,4,2         ## @PROV_R_INVALID_MAC
	.comm	_OSSL_KDF_PARAM_MODE,4,2        ## @OSSL_KDF_PARAM_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"counter"

	.comm	_COUNTER,4,2                    ## @COUNTER
L_.str.1:                               ## @.str.1
	.asciz	"feedback"

	.comm	_FEEDBACK,4,2                   ## @FEEDBACK
	.comm	_PROV_R_INVALID_MODE,4,2        ## @PROV_R_INVALID_MODE
	.comm	_OSSL_KDF_PARAM_KEY,4,2         ## @OSSL_KDF_PARAM_KEY
	.comm	_OSSL_KDF_PARAM_SALT,4,2        ## @OSSL_KDF_PARAM_SALT
	.comm	_OSSL_KDF_PARAM_INFO,4,2        ## @OSSL_KDF_PARAM_INFO
	.comm	_OSSL_KDF_PARAM_SEED,4,2        ## @OSSL_KDF_PARAM_SEED
	.comm	_OSSL_MAC_PARAM_KEY,4,2         ## @OSSL_MAC_PARAM_KEY
	.no_dead_strip	_kbkdf_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 kbkdf_set_ctx_params
_kbkdf_set_ctx_params:                  ; @kbkdf_set_ctx_params
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w0, [x0, #60]
	bl	_PROV_LIBRARY_CONTEXT_OF
	mov	x5, x0
	add	x19, x20, #32
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_ossl_prov_macctx_load_from_params
	cbz	w0, LBB0_26
; %bb.1:
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_EVP_MAC_CTX_mac
Lloh3:
	adrp	x8, _OSSL_MAC_NAME_HMAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSSL_MAC_NAME_HMAC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_EVP_MAC_is_a
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	bl	_EVP_MAC_CTX_mac
Lloh6:
	adrp	x8, _OSSL_MAC_NAME_CMAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSSL_MAC_NAME_CMAC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_EVP_MAC_is_a
	cbz	w0, LBB0_24
LBB0_4:
Lloh9:
	adrp	x8, _OSSL_KDF_PARAM_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSSL_KDF_PARAM_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_11
; %bb.5:
	mov	x22, x0
	ldp	w2, w1, [x0]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strncasecmp
	cbz	x0, LBB0_8
; %bb.6:
	ldp	w2, w1, [x22]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_strncasecmp
	cbz	x0, LBB0_9
; %bb.7:
Lloh16:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _PROV_R_INVALID_MODE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PROV_R_INVALID_MODE@GOTPAGEOFF]
	b	LBB0_25
LBB0_8:
Lloh21:
	adrp	x8, _COUNTER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _COUNTER@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh23:
	adrp	x8, _FEEDBACK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FEEDBACK@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x20, #56]
LBB0_11:
Lloh25:
	adrp	x8, _OSSL_KDF_PARAM_KEY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OSSL_KDF_PARAM_KEY@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_13
; %bb.12:
	mov	x2, x0
	add	x0, x20, #40
	mov	x1, x20
	bl	_kbkdf_set_buffer
	cbz	w0, LBB0_26
LBB0_13:
Lloh28:
	adrp	x8, _OSSL_KDF_PARAM_SALT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SALT@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_15
; %bb.14:
	mov	x2, x0
	add	x0, x20, #52
	add	x1, x20, #8
	bl	_kbkdf_set_buffer
	cbz	w0, LBB0_26
LBB0_15:
Lloh31:
	adrp	x8, _OSSL_KDF_PARAM_INFO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OSSL_KDF_PARAM_INFO@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_17
; %bb.16:
	mov	x2, x0
	add	x0, x20, #48
	add	x1, x20, #16
	bl	_kbkdf_set_buffer
	cbz	w0, LBB0_26
LBB0_17:
Lloh34:
	adrp	x8, _OSSL_KDF_PARAM_SEED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SEED@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_19
; %bb.18:
	mov	x2, x0
	add	x0, x20, #44
	add	x1, x20, #24
	bl	_kbkdf_set_buffer
	cbz	w0, LBB0_26
LBB0_19:
	ldr	x8, [x19]
	cbz	x8, LBB0_23
; %bb.20:
	ldr	x2, [x20]
	cbz	x2, LBB0_23
; %bb.21:
Lloh37:
	adrp	x8, _OSSL_MAC_PARAM_KEY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _OSSL_MAC_PARAM_KEY@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	w1, [x20, #40]
	bl	_OSSL_PARAM_construct_octet_string
	str	x0, [sp, #8]
	bl	_OSSL_PARAM_construct_end
	str	x0, [sp, #16]
	ldr	x0, [x20, #32]
	add	x1, sp, #8
	bl	_EVP_MAC_CTX_set_params
	cbz	w0, LBB0_26
; %bb.22:
	ldr	x0, [x19]
	bl	_EVP_MAC_init
	cbz	w0, LBB0_26
LBB0_23:
	mov	w0, #1
	b	LBB0_26
LBB0_24:
Lloh40:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x8, _PROV_R_INVALID_MAC@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PROV_R_INVALID_MAC@GOTPAGEOFF]
LBB0_25:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
LBB0_26:
	ldr	x8, [sp, #24]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	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
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_MAC_NAME_HMAC,4,2         ; @OSSL_MAC_NAME_HMAC
	.comm	_OSSL_MAC_NAME_CMAC,4,2         ; @OSSL_MAC_NAME_CMAC
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_INVALID_MAC,4,2         ; @PROV_R_INVALID_MAC
	.comm	_OSSL_KDF_PARAM_MODE,4,2        ; @OSSL_KDF_PARAM_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"counter"

	.comm	_COUNTER,4,2                    ; @COUNTER
l_.str.1:                               ; @.str.1
	.asciz	"feedback"

	.comm	_FEEDBACK,4,2                   ; @FEEDBACK
	.comm	_PROV_R_INVALID_MODE,4,2        ; @PROV_R_INVALID_MODE
	.comm	_OSSL_KDF_PARAM_KEY,4,2         ; @OSSL_KDF_PARAM_KEY
	.comm	_OSSL_KDF_PARAM_SALT,4,2        ; @OSSL_KDF_PARAM_SALT
	.comm	_OSSL_KDF_PARAM_INFO,4,2        ; @OSSL_KDF_PARAM_INFO
	.comm	_OSSL_KDF_PARAM_SEED,4,2        ; @OSSL_KDF_PARAM_SEED
	.comm	_OSSL_MAC_PARAM_KEY,4,2         ; @OSSL_MAC_PARAM_KEY
	.no_dead_strip	_kbkdf_set_ctx_params
.subsections_via_symbols
