	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_shared_bio
_process_shared_bio:                    ## @process_shared_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	%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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movl	(%rdi), %edi
	movl	(%rcx), %esi
	leaq	-56(%rbp), %r14
	movq	%r14, %rdx
	callq	_build_data_key
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_bio_detain
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_cell_defer_no_holder
	jmp	LBB0_6
LBB0_2:
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_bio_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.4:
	movq	-80(%rbp), %r9
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_break_sharing
	jmp	LBB0_1
LBB0_5:
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_dm_per_bio_data
	movq	%rax, %r14
	movl	(%r15), %edi
	callq	_dm_deferred_entry_inc
	movl	%eax, (%r14)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_inc_all_io_entry
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_remap_and_issue
	movq	-80(%rbp), %rsi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_remap_and_issue_shared_cell
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_remap_and_issue_shared_cell
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE,8,3                      ## @WRITE
	.no_dead_strip	_process_shared_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_shared_bio
_process_shared_bio:                    ; @process_shared_bio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	ldr	w0, [x0]
	ldr	w1, [x3]
	mov	x2, sp
	bl	_build_data_key
	mov	x1, sp
	add	x3, sp, #8
	mov	x0, x23
	mov	x2, x22
	bl	_bio_detain
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x20
	mov	x1, x19
	bl	_cell_defer_no_holder
	b	LBB0_6
LBB0_2:
	mov	x0, x22
	bl	_bio_data_dir
Lloh0:
	adrp	x8, _WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x5, [sp, #8]
	mov	x3, sp
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	x4, x21
	bl	_break_sharing
	b	LBB0_1
LBB0_5:
	mov	x0, x22
	mov	w1, #4
	bl	_dm_per_bio_data
	mov	x24, x0
	ldr	w0, [x23]
	bl	_dm_deferred_entry_inc
	str	w0, [x24]
	mov	x0, x23
	mov	x1, x22
	bl	_inc_all_io_entry
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x22
	bl	_remap_and_issue
	ldr	x1, [sp, #8]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_remap_and_issue_shared_cell
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_remap_and_issue_shared_cell
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE,8,3                      ; @WRITE
	.no_dead_strip	_process_shared_bio
.subsections_via_symbols
