	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid5_mergeable_bvec
_raid5_mergeable_bvec:                  ## @raid5_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %r15
	movl	(%rsi), %r12d
	movl	12(%rsi), %edi
	callq	_get_start_sect
	movl	8(%rbx), %ecx
	andl	$1, %ecx
	movq	_WRITE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	jmp	LBB0_3
LBB0_2:
	movl	4(%rbx), %ecx
	movl	%ecx, %edx
	shrl	$9, %edx
	addl	%r12d, %eax
	movl	(%r15), %esi
	movl	4(%r15), %edi
	cmpl	%esi, %edi
	cmovbl	%edi, %esi
	leal	-1(%rsi), %edi
	andl	%eax, %edi
	addl	%edx, %edi
	subl	%edi, %esi
	shll	$9, %esi
	xorl	%edx, %edx
	testl	%esi, %esi
	cmovgl	%esi, %edx
	movl	(%r14), %esi
	cmpl	$512, %ecx                      ## imm = 0x200
	movl	%edx, %eax
	cmovbl	%esi, %eax
	cmpl	%esi, %edx
	cmovgl	%edx, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE,4,2                      ## @WRITE
	.no_dead_strip	_raid5_mergeable_bvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid5_mergeable_bvec
_raid5_mergeable_bvec:                  ; @raid5_mergeable_bvec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x20, x1
	ldr	x22, [x0]
	ldr	w21, [x1]
	ldr	w0, [x1, #12]
	bl	_get_start_sect
	ldr	w8, [x20, #8]
	and	w8, w8, #0x1
Lloh0:
	adrp	x9, _WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20, #4]
	ldp	w9, w10, [x22]
	cmp	w10, w9
	csel	w9, w10, w9, lo
	sub	w10, w9, #1
	add	w11, w0, w21
	and	w10, w10, w11
	add	w10, w10, w8, lsr #9
	sub	w9, w9, w10
	lsl	w9, w9, #9
	cmp	w9, #0
	csel	w9, w9, wzr, gt
	ldr	w10, [x19]
	cmp	w8, #512
	ccmp	w9, w10, #0, lo
	csel	w0, w10, w9, le
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE,4,2                      ; @WRITE
	.no_dead_strip	_raid5_mergeable_bvec
.subsections_via_symbols
