	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drop_one_stripe
_drop_one_stripe:                       ## @drop_one_stripe
	.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
	movq	%rdi, %r15
	movslq	(%rdi), %rax
	decq	%rax
	movq	_STRIPE_HASH_LOCKS_MASK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rbx
	andq	%rax, %rbx
	movq	16(%rdi), %rdi
	addq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_get_free_stripe
	movq	%rax, %r14
	addq	16(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_atomic_read
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r14, %rdi
	callq	_shrink_buffers
	movl	8(%r15), %edi
	movq	%r14, %rsi
	callq	_free_stripe
	leaq	4(%r15), %rdi
	callq	_atomic_dec
	decl	(%r15)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRIPE_HASH_LOCKS_MASK,4,2     ## @STRIPE_HASH_LOCKS_MASK
	.no_dead_strip	_drop_one_stripe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drop_one_stripe
_drop_one_stripe:                       ; @drop_one_stripe
	.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, x0
	ldrsw	x8, [x0]
	sub	x8, x8, #1
Lloh0:
	adrp	x9, _STRIPE_HASH_LOCKS_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STRIPE_HASH_LOCKS_MASK@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	and	x21, x8, x9
	ldr	x8, [x0, #16]
	add	x0, x8, x21
	bl	_spin_lock_irq
	mov	x0, x19
	mov	x1, x21
	bl	_get_free_stripe
	mov	x20, x0
	ldr	x8, [x19, #16]
	add	x0, x8, x21
	bl	_spin_unlock_irq
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_atomic_read
	bl	_BUG_ON
	mov	x0, x20
	bl	_shrink_buffers
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_free_stripe
	add	x0, x19, #4
	bl	_atomic_dec
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
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	_STRIPE_HASH_LOCKS_MASK,4,2     ; @STRIPE_HASH_LOCKS_MASK
	.no_dead_strip	_drop_one_stripe
.subsections_via_symbols
