	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hmac_set_ctx_params
_hmac_set_ctx_params:                   ## @hmac_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_PROV_LIBRARY_CONTEXT_OF
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_ossl_prov_digest_load_from_params
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_OSSL_MAC_PARAM_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	$0, -44(%rbp)
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	callq	_OSSL_PARAM_get_int
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movl	4(%r15), %edi
	movl	-44(%rbp), %esi
	callq	_HMAC_CTX_set_flags
LBB0_4:
	movq	_OSSL_MAC_PARAM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%rax), %rcx
	movq	_OSSL_PARAM_OCTET_STRING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.6:
	movl	4(%r15), %r13d
	movl	8(%rax), %r12d
	movl	12(%rax), %ebx
	movq	%r15, %rdi
	callq	_ossl_prov_digest_md
	xorl	%r14d, %r14d
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_HMAC_Init_ex
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_ossl_prov_digest_reset
LBB0_8:
	movl	$1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_MAC_PARAM_FLAGS,4,2       ## @OSSL_MAC_PARAM_FLAGS
	.comm	_OSSL_MAC_PARAM_KEY,4,2         ## @OSSL_MAC_PARAM_KEY
	.comm	_OSSL_PARAM_OCTET_STRING,8,3    ## @OSSL_PARAM_OCTET_STRING
	.no_dead_strip	_hmac_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 hmac_set_ctx_params
_hmac_set_ctx_params:                   ; @hmac_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, #8]
	bl	_PROV_LIBRARY_CONTEXT_OF
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ossl_prov_digest_load_from_params
	cbz	w0, LBB0_10
; %bb.1:
Lloh0:
	adrp	x8, _OSSL_MAC_PARAM_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_MAC_PARAM_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_4
; %bb.2:
	str	wzr, [sp, #12]
	add	x1, sp, #12
	bl	_OSSL_PARAM_get_int
	cbz	w0, LBB0_10
; %bb.3:
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #12]
	bl	_HMAC_CTX_set_flags
LBB0_4:
Lloh3:
	adrp	x8, _OSSL_MAC_PARAM_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSSL_MAC_PARAM_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _OSSL_PARAM_OCTET_STRING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OSSL_PARAM_OCTET_STRING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	ldr	w20, [x19, #4]
	ldp	w22, w21, [x0, #8]
	mov	x0, x19
	bl	_ossl_prov_digest_md
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x4, #0
	bl	_HMAC_Init_ex
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_ossl_prov_digest_reset
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_MAC_PARAM_FLAGS,4,2       ; @OSSL_MAC_PARAM_FLAGS
	.comm	_OSSL_MAC_PARAM_KEY,4,2         ; @OSSL_MAC_PARAM_KEY
	.comm	_OSSL_PARAM_OCTET_STRING,8,3    ; @OSSL_PARAM_OCTET_STRING
	.no_dead_strip	_hmac_set_ctx_params
.subsections_via_symbols
