	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsblk_do_bvec
_nsblk_do_bvec:                         ## @nsblk_do_bvec
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_to_ndbr
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_nsblk_internal_lbasize
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_nsblk_sector_size
	movq	%rax, %r15
	xorl	%eax, %eax
	testl	%r13d, %r13d
	je	LBB0_12
## %bb.1:
	movq	16(%rbp), %rbx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %r14
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %r14
	movzbl	(%r14), %ecx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rax
	sarq	%cl, %rax
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %r12d
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	addq	%rax, %rbx
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	subl	%ecx, %r13d
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	movq	%r15, %rsi
	callq	_min
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %ecx
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	shlq	%cl, %rdi
	movq	%r15, %rsi
	movl	%eax, %ebx
	callq	_div_u64
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	imulq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_to_dev_offset
	movq	%rax, %r14
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_kmap_atomic
	movq	%rax, %r13
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movl	%r12d, %edx
	addq	%rax, %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	*(%rdi)
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kunmap_atomic
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_nd_blk_rw_integrity
	testl	%eax, %eax
	je	LBB0_10
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_7:
	movl	%ebx, %eax
LBB0_12:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,8,3               ## @SECTOR_SHIFT
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_nsblk_do_bvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsblk_do_bvec
_nsblk_do_bvec:                         ; @nsblk_do_bvec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	str	w5, [sp, #36]                   ; 4-byte Folded Spill
	mov	x21, x4
	mov	x23, x3
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	x24, x1
	mov	x20, x0
	bl	_to_ndbr
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x20
	bl	_nsblk_internal_lbasize
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	mov	x0, x20
	bl	_nsblk_sector_size
	cbz	w23, LBB0_10
; %bb.1:
	mov	x28, x0
Lloh0:
	adrp	x25, _SECTOR_SHIFT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SECTOR_SHIFT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w22, w21
	ldr	x8, [x25]
	asr	x8, x28, x8
	add	x19, x8, x19
	subs	w23, w23, w22
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x23
	cbz	x24, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x28
	bl	_min
	mov	x22, x0
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	lsl	x0, x19, x8
	mov	x1, x28
	bl	_div_u64
	mov	x27, x0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	mul	x1, x0, x8
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x2, x22
	bl	_to_dev_offset
Lloh2:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_kmap_atomic
	mov	x26, x0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x0]
	add	x2, x26, w21, uxtw
	mov	x1, x20
	mov	x3, x22
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	blr	x8
	mov	x20, x0
	mov	x0, x26
	bl	_kunmap_atomic
	cbnz	w20, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x24, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x24
	mov	x2, x27
	ldr	w3, [sp, #36]                   ; 4-byte Folded Reload
	bl	_nd_blk_rw_integrity
	cbz	w0, LBB0_2
; %bb.9:
	mov	x20, x0
	b	LBB0_12
LBB0_10:
	mov	w20, #0
	b	LBB0_12
LBB0_11:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,8,3               ; @SECTOR_SHIFT
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_nsblk_do_bvec
.subsections_via_symbols
