	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function complete_discard_bio
_complete_discard_bio:                  ## @complete_discard_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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_DM_CLONE_DISCARD_PASSDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_remap_to_dest
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bio_region_range
	movq	-40(%rbp), %rsi
	movb	(%rbx), %cl
	movq	-32(%rbp), %rdx
	subq	%rsi, %rdx
	shlq	%cl, %rsi
	shlq	%cl, %rdx
	movq	%r14, %rdi
	callq	_trim_bio
	movq	%r14, %rdi
	callq	_generic_make_request
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bio_endio                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_CLONE_DISCARD_PASSDOWN,4,2  ## @DM_CLONE_DISCARD_PASSDOWN
	.no_dead_strip	_complete_discard_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function complete_discard_bio
_complete_discard_bio:                  ; @complete_discard_bio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DM_CLONE_DISCARD_PASSDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_CLONE_DISCARD_PASSDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_test_bit
	cbz	w21, LBB0_3
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_remap_to_dest
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x20
	mov	x1, x19
	bl	_bio_region_range
	ldp	x10, x8, [sp]
	ldr	x9, [x20]
	lsl	x1, x8, x9
	sub	x8, x10, x8
	lsl	x2, x8, x9
	mov	x0, x19
	bl	_trim_bio
	mov	x0, x19
	bl	_generic_make_request
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_bio_endio
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_CLONE_DISCARD_PASSDOWN,4,2  ; @DM_CLONE_DISCARD_PASSDOWN
	.no_dead_strip	_complete_discard_bio
.subsections_via_symbols
