	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function safexcel_hmac_alg_setkey
_safexcel_hmac_alg_setkey:              ## @safexcel_hmac_alg_setkey
	.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
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rsi, %rbx
	callq	_crypto_ahash_tfm
	movl	%eax, %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r12
	movq	24(%rax), %r14
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_safexcel_hmac_setkey
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	_EIP197_TRC_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_6
## %bb.2:
	cmpq	$0, 16(%r12)
	je	LBB0_6
## %bb.3:
	movl	4(%r12), %edi
	movl	-56(%rbp), %esi
	movl	%ebx, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %edi
	movl	-48(%rbp), %esi
	movl	%ebx, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movl	$1, 8(%r12)
LBB0_6:
	movl	4(%r12), %edi
	leaq	-56(%rbp), %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movl	(%r12), %edi
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edx
	callq	_memcpy
LBB0_7:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIP197_TRC_CACHE,4,2           ## @EIP197_TRC_CACHE
	.no_dead_strip	_safexcel_hmac_alg_setkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function safexcel_hmac_alg_setkey
_safexcel_hmac_alg_setkey:              ; @safexcel_hmac_alg_setkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	bl	_crypto_ahash_tfm
	bl	_crypto_tfm_ctx
	mov	x20, x0
	ldr	x24, [x0, #24]
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_safexcel_hmac_setkey
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w8, [x24]
Lloh0:
	adrp	x9, _EIP197_TRC_CACHE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EIP197_TRC_CACHE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	w0, [x20, #4]
	ldr	w1, [sp, #8]
	mov	x2, x19
	bl	_memcmp
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x20]
	ldr	w1, [sp]
	mov	x2, x19
	bl	_memcmp
	cbz	x0, LBB0_6
LBB0_5:
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_6:
	ldr	w0, [x20, #4]
	add	x1, sp, #8
	mov	x2, x19
	bl	_memcpy
	ldr	w0, [x20]
	mov	x1, sp
	mov	x2, x19
	bl	_memcpy
LBB0_7:
	mov	x0, x21
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIP197_TRC_CACHE,4,2           ; @EIP197_TRC_CACHE
	.no_dead_strip	_safexcel_hmac_alg_setkey
.subsections_via_symbols
