	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid0_mergeable_bvec
_raid0_mergeable_bvec:                  ## @raid0_mergeable_bvec
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	8(%rdi), %r15
	movq	8(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r14d
	movl	8(%rsi), %edi
	callq	_get_start_sect
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	%r12d, -44(%rbp)
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %r15d
	movl	%r15d, %ebx
	shrl	$9, %ebx
	movl	%r14d, %edi
	callq	_is_power_of_2
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leal	-1(%r14), %eax
	andl	%r12d, %eax
	jmp	LBB0_3
LBB0_2:
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_sector_div
LBB0_3:
	addl	%eax, %ebx
	subl	%ebx, %r14d
	shll	$9, %r14d
	xorl	%r13d, %r13d
	testl	%r14d, %r14d
	cmovgl	%r14d, %r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	jg	LBB0_5
## %bb.4:
	cmpl	$512, %r15d                     ## imm = 0x200
	jb	LBB0_12
LBB0_5:
	cmpl	%eax, %r13d
	jl	LBB0_11
## %bb.7:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.8:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	leaq	-44(%rbp), %r15
	movq	%r15, %rsi
	callq	_find_zone
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	_map_sector
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_bdev_get_queue
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	movl	4(%rbx), %edx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%edx, 8(%rsi)
	movl	(%r14), %edx
	addl	-44(%rbp), %edx
	addl	(%rbx), %edx
	movl	%edx, (%rsi)
	movq	%rax, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*%rcx
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_min
	jmp	LBB0_12
LBB0_11:
	movl	%r13d, %eax
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_raid0_mergeable_bvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid0_mergeable_bvec
_raid0_mergeable_bvec:                  ; @raid0_mergeable_bvec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	ldr	x21, [x0, #8]
	ldr	x24, [x21, #8]
	ldr	w22, [x1]
	ldr	w0, [x1, #8]
	bl	_get_start_sect
	add	w22, w0, w22
	str	w22, [sp, #12]
	ldr	w23, [x21]
	ldr	w25, [x20, #4]
	lsr	w26, w25, #9
	mov	x0, x23
	bl	_is_power_of_2
	cbz	x0, LBB0_2
; %bb.1:
	sub	w8, w23, #1
	and	w0, w8, w22
	b	LBB0_3
LBB0_2:
	mov	x0, x22
	mov	x1, x23
	bl	_sector_div
LBB0_3:
	add	w8, w26, w0
	sub	w8, w23, w8
	lsl	w8, w8, #9
	cmp	w8, #0
	csel	w23, w8, wzr, gt
	ldr	w0, [x19]
	cmp	w23, w0
	b.gt	LBB0_5
; %bb.4:
	cmp	w25, #512
	b.lo	LBB0_10
LBB0_5:
	cmp	w23, w0
	b.lt	LBB0_9
; %bb.6:
	ldr	w8, [x24]
	cbz	w8, LBB0_9
; %bb.7:
	ldr	x0, [x21, #8]
	add	x1, sp, #12
	bl	_find_zone
	mov	x24, x0
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_map_sector
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_bdev_get_queue
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.8:
	ldp	w10, w9, [x21]
	str	w9, [x20, #8]
	ldr	w9, [sp, #12]
	ldr	w11, [x24]
	add	w9, w11, w9
	add	w9, w9, w10
	str	w9, [x20]
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x1, x0
	mov	x0, x23
	bl	_min
	b	LBB0_10
LBB0_9:
	mov	x0, x23
LBB0_10:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_raid0_mergeable_bvec
.subsections_via_symbols
