	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_release_stripe
_do_release_stripe:                     ## @do_release_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	%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
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	8(%rsi), %r14
	movq	%r14, %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	leaq	32(%r15), %r13
	movq	%r13, %rdi
	callq	_atomic_read
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movq	_STRIPE_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r12), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	_STRIPE_DELAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_STRIPE_PREREAD_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	_STRIPE_BIT_DELAY@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	jle	LBB0_8
## %bb.7:
	leaq	48(%r15), %rsi
	jmp	LBB0_4
LBB0_10:
	movq	%r12, %rdi
	callq	_stripe_operations_active
	movl	%eax, %edi
	callq	_BUG_ON
	movq	_STRIPE_PREREAD_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	leaq	36(%r15), %rdi
	callq	_atomic_dec_return
	movq	_IO_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_13
## %bb.12:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_md_wakeup_thread
LBB0_13:
	movq	%r13, %rdi
	callq	_atomic_dec
	movq	_STRIPE_EXPANDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_STRIPE_DELAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	leaq	40(%r15), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	jmp	LBB0_9
LBB0_3:
	leaq	52(%r15), %rsi
LBB0_4:
	movq	%r14, %rdi
	callq	_list_add_tail
	leaq	44(%r15), %rdi
	callq	_plugger_set_plug
LBB0_9:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_md_wakeup_thread               ## TAILCALL
LBB0_14:
	leaq	28(%r15), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	leaq	24(%r15), %rdi
	callq	_wake_up
	cmpq	$0, 16(%r15)
	jne	LBB0_9
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_STRIPE_HANDLE,4,2              ## @STRIPE_HANDLE
	.comm	_STRIPE_DELAYED,4,2             ## @STRIPE_DELAYED
	.comm	_STRIPE_PREREAD_ACTIVE,4,2      ## @STRIPE_PREREAD_ACTIVE
	.comm	_STRIPE_BIT_DELAY,4,2           ## @STRIPE_BIT_DELAY
	.comm	_IO_THRESHOLD,8,3               ## @IO_THRESHOLD
	.comm	_STRIPE_EXPANDING,4,2           ## @STRIPE_EXPANDING
	.no_dead_strip	_do_release_stripe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_release_stripe
_do_release_stripe:                     ; @do_release_stripe
	.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, x1
	mov	x19, x0
	add	x20, x1, #8
	mov	x0, x20
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x23, x19, #32
	mov	x0, x23
	bl	_atomic_read
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh0:
	adrp	x8, _STRIPE_HANDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRIPE_HANDLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x22, #12
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.1:
Lloh3:
	adrp	x23, _STRIPE_DELAYED@GOTPAGE
Lloh4:
	ldr	x23, [x23, _STRIPE_DELAYED@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _STRIPE_PREREAD_ACTIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRIPE_PREREAD_ACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_12
LBB0_3:
Lloh8:
	adrp	x24, _STRIPE_BIT_DELAY@GOTPAGE
Lloh9:
	ldr	x24, [x24, _STRIPE_BIT_DELAY@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x8, [x22]
	ldr	x9, [x19]
	cmp	x8, x9
	b.le	LBB0_11
; %bb.5:
	add	x1, x19, #48
	b	LBB0_13
LBB0_6:
	mov	x0, x22
	bl	_stripe_operations_active
	bl	_BUG_ON
Lloh10:
	adrp	x8, _STRIPE_PREREAD_ACTIVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STRIPE_PREREAD_ACTIVE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
	cbz	x0, LBB0_9
; %bb.7:
	add	x0, x19, #36
	bl	_atomic_dec_return
Lloh13:
	adrp	x8, _IO_THRESHOLD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IO_THRESHOLD@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_md_wakeup_thread
LBB0_9:
	mov	x0, x23
	bl	_atomic_dec
Lloh16:
	adrp	x8, _STRIPE_EXPANDING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STRIPE_EXPANDING@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_15
LBB0_10:
	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
LBB0_11:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_clear_bit
	ldr	w0, [x24]
	mov	x1, x21
	bl	_clear_bit
	add	x1, x19, #40
	mov	x0, x20
	bl	_list_add_tail
	b	LBB0_14
LBB0_12:
	add	x1, x19, #52
LBB0_13:
	mov	x0, x20
	bl	_list_add_tail
	add	x0, x19, #44
	bl	_plugger_set_plug
LBB0_14:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	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
	b	_md_wakeup_thread
LBB0_15:
	add	x1, x19, #28
	mov	x0, x20
	bl	_list_add_tail
	add	x0, x19, #24
	bl	_wake_up
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_14
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_STRIPE_HANDLE,4,2              ; @STRIPE_HANDLE
	.comm	_STRIPE_DELAYED,4,2             ; @STRIPE_DELAYED
	.comm	_STRIPE_PREREAD_ACTIVE,4,2      ; @STRIPE_PREREAD_ACTIVE
	.comm	_STRIPE_BIT_DELAY,4,2           ; @STRIPE_BIT_DELAY
	.comm	_IO_THRESHOLD,8,3               ; @IO_THRESHOLD
	.comm	_STRIPE_EXPANDING,4,2           ; @STRIPE_EXPANDING
	.no_dead_strip	_do_release_stripe
.subsections_via_symbols
