	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qce_ahash_hmac_setkey
_qce_ahash_hmac_setkey:                 ## @qce_ahash_hmac_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_crypto_ahash_digestsize
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_crypto_tfm_ctx
	movq	%rax, %r12
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_crypto_ahash_tfm
	movl	%eax, %edi
	callq	_crypto_tfm_alg_blocksize
	movl	%eax, %r14d
	movq	(%r12), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	cmpl	%r13d, %r14d
	movl	%r13d, %r14d
	jae	LBB0_1
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	_SHA1_DIGEST_SIZE@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_1:
	movq	(%r12), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	jmp	LBB0_16
LBB0_4:
	movq	_SHA256_DIGEST_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_17
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crypto_alloc_ahash
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.18:
	movq	%r13, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ahash_request_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movl	%r14d, %r12d
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_crypto_init_wait
	movq	_CRYPTO_TFM_REQ_MAY_BACKLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_crypto_req_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rcx
	movl	%r12d, %r14d
	callq	_ahash_request_set_callback
	movq	%r13, %rdi
	movl	$-1, %esi
	callq	_crypto_ahash_clear_flags
	movl	%r12d, %edi
	movq	_QCE_MAX_ALIGN_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movl	%r14d, %r15d
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_sg_init_one
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	callq	_ahash_request_set_crypt
	movq	%r12, %rdi
	callq	_crypto_ahash_digest
	leaq	-56(%rbp), %rsi
	movl	%eax, %edi
	callq	_crypto_wait_req
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_crypto_ahash_set_flags
LBB0_13:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	jmp	LBB0_14
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_14:
	movq	%r12, %rdi
	callq	_ahash_request_free
LBB0_15:
	movq	%r13, %rdi
	callq	_crypto_free_ahash
LBB0_16:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_DIGEST_SIZE,4,2           ## @SHA1_DIGEST_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sha1-qce"

	.comm	_SHA256_DIGEST_SIZE,4,2         ## @SHA256_DIGEST_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"sha256-qce"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CRYPTO_TFM_REQ_MAY_BACKLOG,4,2 ## @CRYPTO_TFM_REQ_MAY_BACKLOG
	.comm	_crypto_req_done,4,2            ## @crypto_req_done
	.comm	_QCE_MAX_ALIGN_SIZE,8,3         ## @QCE_MAX_ALIGN_SIZE
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,4,2 ## @CRYPTO_TFM_RES_BAD_KEY_LEN
	.no_dead_strip	_qce_ahash_hmac_setkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qce_ahash_hmac_setkey
_qce_ahash_hmac_setkey:                 ; @qce_ahash_hmac_setkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_crypto_ahash_digestsize
	mov	x21, x0
	mov	x0, x19
	bl	_crypto_tfm_ctx
	mov	x23, x0
	mov	x0, x19
	bl	_crypto_ahash_tfm
	bl	_crypto_tfm_alg_blocksize
	mov	x24, x0
	ldr	x0, [x23]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	cmp	w24, w20
	b.hs	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _SHA1_DIGEST_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHA1_DIGEST_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldr	x0, [x23]
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	mov	w20, #0
	b	LBB0_18
LBB0_4:
Lloh5:
	adrp	x8, _SHA256_DIGEST_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHA256_DIGEST_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_13
; %bb.5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	mov	w1, #0
	mov	w2, #0
	bl	_crypto_alloc_ahash
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_8:
Lloh10:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_ahash_request_alloc
	cbz	x0, LBB0_14
; %bb.9:
	mov	x24, x0
	add	x0, sp, #8
	bl	_crypto_init_wait
Lloh12:
	adrp	x8, _CRYPTO_TFM_REQ_MAY_BACKLOG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CRYPTO_TFM_REQ_MAY_BACKLOG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _crypto_req_done@GOTPAGE
Lloh16:
	ldr	x8, [x8, _crypto_req_done@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x24
	bl	_ahash_request_set_callback
	mov	x0, x21
	mov	w1, #-1
	bl	_crypto_ahash_clear_flags
Lloh18:
	adrp	x8, _QCE_MAX_ALIGN_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QCE_MAX_ALIGN_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x0, x8, w20, uxtw
	ldr	w1, [x25]
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.10:
	mov	x25, x0
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	mov	x0, sp
	mov	x1, x25
	mov	x2, x20
	bl	_sg_init_one
	ldr	x2, [x23]
	mov	x1, sp
	mov	x0, x24
	mov	x3, x20
	bl	_ahash_request_set_crypt
	mov	x0, x24
	bl	_crypto_ahash_digest
	add	x1, sp, #8
	bl	_crypto_wait_req
	mov	x20, x0
	cbz	w0, LBB0_12
; %bb.11:
Lloh21:
	adrp	x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CRYPTO_TFM_RES_BAD_KEY_LEN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_crypto_ahash_set_flags
LBB0_12:
	mov	x0, x25
	bl	_kfree
	b	LBB0_16
LBB0_13:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_18
LBB0_14:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_17
LBB0_15:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_16:
	mov	x0, x24
	bl	_ahash_request_free
LBB0_17:
	mov	x0, x21
	bl	_crypto_free_ahash
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_DIGEST_SIZE,4,2           ; @SHA1_DIGEST_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sha1-qce"

	.comm	_SHA256_DIGEST_SIZE,4,2         ; @SHA256_DIGEST_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"sha256-qce"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CRYPTO_TFM_REQ_MAY_BACKLOG,4,2 ; @CRYPTO_TFM_REQ_MAY_BACKLOG
	.comm	_crypto_req_done,4,2            ; @crypto_req_done
	.comm	_QCE_MAX_ALIGN_SIZE,8,3         ; @QCE_MAX_ALIGN_SIZE
	.comm	_CRYPTO_TFM_RES_BAD_KEY_LEN,4,2 ; @CRYPTO_TFM_RES_BAD_KEY_LEN
	.no_dead_strip	_qce_ahash_hmac_setkey
.subsections_via_symbols
