	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function complete_overwrite_bio
_complete_overwrite_bio:                ## @complete_overwrite_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_REQ_FUA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	callq	_get_clone_mode
	movq	_CM_READ_ONLY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bio_io_error                   ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bio_endio                      ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%r14), %rdi
	movq	%rbx, %rsi
	callq	_bio_list_add
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wake_worker                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_FUA,4,2                    ## @REQ_FUA
	.comm	_CM_READ_ONLY,8,3               ## @CM_READ_ONLY
	.no_dead_strip	_complete_overwrite_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function complete_overwrite_bio
_complete_overwrite_bio:                ; @complete_overwrite_bio
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _REQ_FUA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REQ_FUA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_get_clone_mode
Lloh3:
	adrp	x8, _CM_READ_ONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CM_READ_ONLY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bio_io_error
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bio_endio
LBB0_4:
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x0, x19, #4
	mov	x1, x20
	bl	_bio_list_add
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_worker
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_FUA,4,2                    ; @REQ_FUA
	.comm	_CM_READ_ONLY,8,3               ; @CM_READ_ONLY
	.no_dead_strip	_complete_overwrite_bio
.subsections_via_symbols
