	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __split_and_process_bio
___split_and_process_bio:               ## @__split_and_process_bio
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_dm_get_live_table
	movl	%eax, -72(%rbp)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bio_io_error                   ## TAILCALL
LBB0_1:
	movq	%r15, -40(%rbp)
	movq	%r15, %rdi
	callq	_alloc_io
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	movl	$0, 28(%rax)
	leaq	24(%rax), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	%r14, 16(%rbx)
	movq	%r15, 8(%rbx)
	movq	%rbx, %rdi
	callq	_spin_lock_init
	movl	8(%r14), %eax
	movl	%eax, -28(%rbp)
	movl	4(%r14), %eax
	movl	%eax, -32(%rbp)
	movq	%rbx, %rdi
	callq	_start_io_acct
	movq	_BIO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	%r15, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-72(%rbp), %rdi
	callq	___clone_and_map_empty_flush
LBB0_8:
	movq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_dec_pending
	movl	-72(%rbp), %edi
	callq	_dm_table_put
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, -48(%rbp)
	movq	%r14, %rdi
	callq	_bio_sectors
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	-72(%rbp), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	___clone_and_map
	cmpq	$0, -56(%rbp)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	je	LBB0_6
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_FLUSH,4,2                  ## @BIO_FLUSH
	.no_dead_strip	___split_and_process_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __split_and_process_bio
___split_and_process_bio:               ; @__split_and_process_bio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
	bl	_dm_get_live_table
	str	w0, [sp]
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_bio_io_error
LBB0_2:
	str	x20, [sp, #32]
	mov	x0, x20
	bl	_alloc_io
	mov	x21, x0
	str	x0, [sp, #8]
	str	wzr, [x0, #28]
	add	x0, x0, #24
	mov	w1, #1
	bl	_atomic_set
	stp	x20, x19, [x21, #8]
	mov	x0, x21
	bl	_spin_lock_init
	ldur	d0, [x19, #4]
	str	d0, [sp, #40]
	mov	x0, x21
	bl	_start_io_acct
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _BIO_FLUSH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BIO_FLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	stp	xzr, x20, [sp, #16]
	mov	x0, sp
	bl	___clone_and_map_empty_flush
	b	LBB0_6
LBB0_4:
	str	x19, [sp, #24]
	mov	x0, x19
	bl	_bio_sectors
	str	x0, [sp, #16]
	cbz	x0, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	bl	___clone_and_map
	ldr	x8, [sp, #16]
	cmp	x8, #0
	ccmp	w0, #0, #0, ne
	b.eq	LBB0_5
LBB0_6:
	mov	x1, x0
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_dec_pending
	ldr	w0, [sp]
	bl	_dm_table_put
	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
	add	sp, sp, #96
	ret
LBB0_8:
	mov	w1, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_FLUSH,4,2                  ; @BIO_FLUSH
	.no_dead_strip	___split_and_process_bio
.subsections_via_symbols
