	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verity_for_io_block
_verity_for_io_block:                   ## @verity_for_io_block
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movb	(%rdi), %cl
	movl	$1, %r12d
	shll	%cl, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	8(%rdi), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_dm_bio_from_per_bio_data
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_verity_io_hash_req
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_bio_iter_iovec
	movq	%rax, %r14
	movl	%edx, %ebx
	movq	%rax, %r15
	shrq	$32, %r15
	leaq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_sg_init_table
	xorl	%edi, %edi
	cmpl	%r14d, %r12d
	setbe	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %r14d
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_sg_set_page
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_ahash_request_set_crypt
	movq	%rbx, %rdi
	callq	_crypto_ahash_update
	movl	%eax, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_wait_req
	movl	%eax, %ebx
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_bio_advance_iter
	subl	%r14d, %r12d
	jne	LBB0_1
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_DMERR
LBB0_7:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verity_for_io_block crypto op failed: %d"

	.no_dead_strip	_verity_for_io_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verity_for_io_block
_verity_for_io_block:                   ; @verity_for_io_block
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w8, [x0]
	mov	w9, #1
	lsl	w26, w9, w8
	ldr	x8, [x0, #8]
	ldr	w1, [x8]
	mov	x0, x22
	bl	_dm_bio_from_per_bio_data
	mov	x21, x0
	mov	x0, x23
	mov	x1, x22
	bl	_verity_io_hash_req
	mov	x22, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x21
	bl	_bio_iter_iovec
	mov	x23, x0
	mov	x24, x1
	lsr	x25, x0, #32
	add	x0, sp, #8
	mov	w1, #1
	bl	_sg_init_table
	cmp	w26, w23
	cset	w0, ls
	bl	_likely
	cmp	x0, #0
	csel	w23, w23, w26, eq
	add	x0, sp, #8
	mov	x1, x24
	mov	x2, x23
	mov	x3, x25
	bl	_sg_set_page
	add	x1, sp, #8
	mov	x0, x22
	mov	x2, #0
	mov	x3, x23
	bl	_ahash_request_set_crypt
	mov	x0, x22
	bl	_crypto_ahash_update
	mov	x1, x19
	bl	_crypto_wait_req
	mov	x24, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_bio_advance_iter
	subs	w26, w26, w23
	b.ne	LBB0_1
; %bb.3:
	mov	w24, #0
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	bl	_DMERR
LBB0_5:
	mov	x0, x24
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verity_for_io_block crypto op failed: %d"

	.no_dead_strip	_verity_for_io_block
.subsections_via_symbols
