	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripe_lock
_stripe_lock:                           ## @stripe_lock
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_RS
	movq	(%rax), %rax
	movq	_READ@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_DM_RAID45_SHARED@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_DM_RAID45_EX@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %esi
	movl	%r14d, %edi
	callq	*(%rax)
	movq	%rax, (%rbx)
	movq	_EPERM@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	cmovnel	%edx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ,4,2                       ## @READ
	.comm	_DM_RAID45_SHARED,4,2           ## @DM_RAID45_SHARED
	.comm	_DM_RAID45_EX,4,2               ## @DM_RAID45_EX
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_stripe_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripe_lock
_stripe_lock:                           ; @stripe_lock
	.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
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_RS
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _READ@GOTPAGEOFF]
Lloh2:
	adrp	x10, _DM_RAID45_SHARED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DM_RAID45_SHARED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _DM_RAID45_EX@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DM_RAID45_EX@GOTPAGEOFF]
	cmp	w9, w20
	csel	x9, x10, x11, eq
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	str	x0, [x21]
Lloh7:
	adrp	x8, _EPERM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, ne
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_READ,4,2                       ; @READ
	.comm	_DM_RAID45_SHARED,4,2           ; @DM_RAID45_SHARED
	.comm	_DM_RAID45_EX,4,2               ; @DM_RAID45_EX
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_stripe_lock
.subsections_via_symbols
