	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clone_bio
_clone_bio:                             ## @clone_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	___bio_clone_fast
	movq	%r15, %rdi
	callq	_bio_integrity
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_dm_target_has_integrity
	xorl	%edi, %edi
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_dm_target_passes_integrity
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_dm_device_name
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DMWARN
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_9
LBB0_5:
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bio_integrity_clone
	testl	%eax, %eax
	js	LBB0_6
LBB0_7:
	subl	16(%rbx), %r13d
	movl	%r13d, %edi
	callq	_to_bytes
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bio_advance
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_to_bytes
	movl	%eax, 20(%rbx)
	movq	%r15, %rdi
	callq	_bio_integrity
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_bio_integrity_trim
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %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	"%s: the target %s doesn't support integrity data."

	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.no_dead_strip	_clone_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clone_bio
_clone_bio:                             ; @clone_bio
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	add	x20, x0, #16
	mov	x0, x20
	bl	___bio_clone_fast
	mov	x0, x21
	bl	_bio_integrity
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_dm_target_has_integrity
	cbz	w0, LBB0_4
; %bb.2:
	mov	w0, #0
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_dm_device_name
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w2, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMWARN
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_dm_target_passes_integrity
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
LBB0_5:
Lloh5:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_bio_integrity_clone
	tbnz	w0, #31, LBB0_8
LBB0_6:
	ldr	w8, [x19, #16]
	sub	w0, w23, w8
	bl	_to_bytes
	mov	x1, x0
	mov	x0, x20
	bl	_bio_advance
	mov	x0, x22
	bl	_to_bytes
	str	w0, [x19, #20]
	mov	x0, x21
	bl	_bio_integrity
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_bio_integrity_trim
	mov	w0, #0
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: the target %s doesn't support integrity data."

	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.no_dead_strip	_clone_bio
.subsections_via_symbols
