	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_sha_finish_hmac
_mtk_sha_finish_hmac:                   ## @mtk_sha_finish_hmac
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	4(%rdi), %edi
	callq	_crypto_tfm_ctx
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_ahash_request_ctx
	movq	%rax, %r14
	movq	_shash@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	4(%rbx), %esi
	callq	_SHASH_DESC_ON_STACK
	movl	4(%rbx), %eax
	movq	(%r15), %rdi
	movl	%eax, (%rdi)
	callq	_crypto_shash_init
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	(%r15), %rdi
	movl	(%rbx), %esi
	movl	4(%r14), %edx
	callq	_crypto_shash_update
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rdi
	movl	(%r12), %ecx
	movl	(%r14), %edx
	movl	%ecx, %esi
	callq	_crypto_shash_finup
	movl	%eax, %eax
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shash,8,3                      ## @shash
	.no_dead_strip	_mtk_sha_finish_hmac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_sha_finish_hmac
_mtk_sha_finish_hmac:                   ; @mtk_sha_finish_hmac
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	w0, [x0, #4]
	bl	_crypto_tfm_ctx
	ldr	x22, [x0]
	mov	x0, x19
	bl	_ahash_request_ctx
	mov	x20, x0
Lloh0:
	adrp	x21, _shash@GOTPAGE
Lloh1:
	ldr	x21, [x21, _shash@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w1, [x22, #4]
	bl	_SHASH_DESC_ON_STACK
	ldr	w8, [x22, #4]
	ldr	x0, [x21]
	str	w8, [x0]
	bl	_crypto_shash_init
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x21]
	ldr	w1, [x22]
	ldr	w2, [x20, #4]
	bl	_crypto_shash_update
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x21]
	ldr	w1, [x19]
	ldr	w2, [x20]
	mov	x3, x1
	bl	_crypto_shash_finup
	mov	w0, w0
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_shash,8,3                      ; @shash
	.no_dead_strip	_mtk_sha_finish_hmac
.subsections_via_symbols
