	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _do_endios
__do_endios:                            ## @_do_endios
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_stripe_chunks_unlock
	movq	%rbx, %rdi
	callq	_TestClearStripeError
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_rs_check_degrade
	movq	%rbx, %rdi
	callq	_ClearStripeReconstruct
	movq	%rbx, %rdi
	callq	_ClearStripeReconstructed
LBB0_2:
	movq	%rbx, %rdi
	callq	_StripeReconstruct
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_stripe_reconstruct
	movq	%rbx, %rdi
	callq	_ClearStripeReconstruct
	movq	%rbx, %rdi
	callq	_SetStripeReconstructed
	movl	$-1, 8(%rbx)
LBB0_4:
	movq	_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_stripe_endio
	movq	%r15, %rdi
	callq	_RSProhibitWrites
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_StripeMerged
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_ClearStripeMerged
	movq	_WRITE_MERGED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_stripe_endio
LBB0_7:
	movq	%r15, %rdi
	callq	_RSDead
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	callq	_TestSetRSDeadEndioMessage
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rdi
	callq	_DMERR
LBB0_10:
	movq	%rbx, %rdi
	callq	_stripe_fail_io
LBB0_11:
	movq	%rbx, %rdi
	callq	_stripe_ref
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_LIST_LRU@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	_LIST_FLUSH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	_S_REQUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_inc                     ## TAILCALL
LBB0_13:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stripe_lru_add                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_READ,4,2                       ## @READ
	.comm	_WRITE_MERGED,4,2               ## @WRITE_MERGED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RAID set dead: failing ios to dead devices"

	.comm	_LIST_LRU,8,3                   ## @LIST_LRU
	.comm	_LIST_FLUSH,8,3                 ## @LIST_FLUSH
	.comm	_S_REQUEUE,8,3                  ## @S_REQUEUE
	.no_dead_strip	__do_endios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _do_endios
__do_endios:                            ; @_do_endios
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_stripe_chunks_unlock
	mov	x0, x21
	bl	_TestClearStripeError
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_rs_check_degrade
	mov	x0, x21
	bl	_ClearStripeReconstruct
	mov	x0, x21
	bl	_ClearStripeReconstructed
LBB0_2:
	mov	x0, x21
	bl	_StripeReconstruct
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_stripe_reconstruct
	mov	x0, x21
	bl	_ClearStripeReconstruct
	mov	x0, x21
	bl	_SetStripeReconstructed
	mov	w8, #-1
	str	w8, [x21, #8]
LBB0_4:
Lloh0:
	adrp	x8, _READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_stripe_endio
	mov	x0, x19
	bl	_RSProhibitWrites
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_StripeMerged
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_ClearStripeMerged
Lloh3:
	adrp	x8, _WRITE_MERGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WRITE_MERGED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_stripe_endio
LBB0_7:
	mov	x0, x19
	bl	_RSDead
	cbz	x0, LBB0_11
; %bb.8:
	mov	x0, x19
	bl	_TestSetRSDeadEndioMessage
	cbnz	w0, LBB0_10
; %bb.9:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
LBB0_10:
	mov	x0, x21
	bl	_stripe_fail_io
LBB0_11:
	mov	x0, x21
	bl	_stripe_ref
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _LIST_LRU@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LIST_LRU@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x21]
Lloh11:
	adrp	x9, _LIST_FLUSH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LIST_FLUSH@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	x1, x20
	bl	_list_add_tail
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _S_REQUEUE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _S_REQUEUE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x0, x9, x8
	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
	b	_atomic_inc
LBB0_13:
	mov	x0, x21
	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
	b	_stripe_lru_add
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_READ,4,2                       ; @READ
	.comm	_WRITE_MERGED,4,2               ; @WRITE_MERGED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RAID set dead: failing ios to dead devices"

	.comm	_LIST_LRU,8,3                   ; @LIST_LRU
	.comm	_LIST_FLUSH,8,3                 ; @LIST_FLUSH
	.comm	_S_REQUEUE,8,3                  ; @S_REQUEUE
	.no_dead_strip	__do_endios
.subsections_via_symbols
