	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verity_hash_final
_verity_hash_final:                     ## @verity_hash_final
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpl	$0, 12(%rbx)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	8(%rbx), %edx
	movq	(%rbx), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %r8
	callq	_verity_hash_update
	testl	%eax, %eax
	js	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_ahash_request_set_crypt
	movq	%r12, %rdi
	callq	_crypto_ahash_final
	movl	%eax, %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypto_wait_req                ## TAILCALL
LBB0_5:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DMERR
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verity_hash_final failed updating salt: %d"

	.no_dead_strip	_verity_hash_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verity_hash_final
_verity_hash_final:                     ; @verity_hash_final
	.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, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x22, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
	b	LBB0_4
LBB0_2:
	mov	w0, #0
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_3:
	ldr	w2, [x22, #8]
	ldr	x3, [x22]
	mov	x0, x22
	mov	x1, x20
	mov	x4, x19
	bl	_verity_hash_update
	tbnz	w0, #31, LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, #0
	mov	x2, x21
	mov	w3, #0
	bl	_ahash_request_set_crypt
	mov	x0, x20
	bl	_crypto_ahash_final
	mov	x1, x19
	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
	b	_crypto_wait_req
LBB0_5:
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_DMERR
	mov	x0, x22
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verity_hash_final failed updating salt: %d"

	.no_dead_strip	_verity_hash_final
.subsections_via_symbols
