	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msb_do_write_request
_msb_do_write_request:                  ## @msb_do_write_request
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	$0, (%r9)
	testq	%r8, %r8
	je	LBB0_1
## %bb.3:
	movq	%r8, %r12
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	callq	_msb_cache_write
	testl	%eax, %eax
	jne	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	incl	%r14d
	xorl	%ecx, %ecx
	cmpl	12(%r13), %r14d
	sete	%cl
	movl	$0, %edx
	cmovel	%edx, %r14d
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	%ecx, %ebx
	addq	%rax, %r15
	cmpq	%r12, %r15
	jae	LBB0_1
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rax
	subq	%r15, %rax
	cmpq	(%r13), %rax
	jb	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%ebx, 8(%r13)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_msb_cache_discard
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_dbg_verbose
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_msb_update_block
	testl	%eax, %eax
	jne	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	xorl	%r14d, %r14d
	movl	$1, %ecx
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	addq	$24, %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	"Writing whole lba %d"

	.no_dead_strip	_msb_do_write_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msb_do_write_request
_msb_do_write_request:                  ; @msb_do_write_request
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	wzr, [x5]
	cbz	x4, LBB0_11
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x26, x2
	mov	x22, x1
	mov	x23, x0
	mov	x24, #0
Lloh0:
	adrp	x25, l_.str@PAGE
Lloh1:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x26
	mov	w3, #0
	mov	x4, x21
	mov	x5, x24
	bl	_msb_cache_write
	cbnz	w0, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23, #16]
	ldr	w9, [x19]
	add	w9, w9, w8
	str	w9, [x19]
	add	w9, w26, #1
	ldr	w10, [x23, #12]
	cmp	w9, w10
	cset	w9, eq
	csinc	w26, wzr, w26, eq
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, w9
	add	x24, x8, x24
	cmp	x24, x20
	b.hs	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w26, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	sub	x9, x20, x24
	cmp	x9, x8
	b.lo	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23, #8]
	cmp	w8, w22
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_msb_cache_discard
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x22
	bl	_dbg_verbose
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	bl	_msb_update_block
	cbnz	w0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #0
	ldr	x8, [x23]
	ldr	w9, [x19]
	add	w9, w9, w8
	str	w9, [x19]
	mov	w9, #1
	b	LBB0_4
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Writing whole lba %d"

	.no_dead_strip	_msb_do_write_request
.subsections_via_symbols
