	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5l_recovery_replay_one_stripe
_r5l_recovery_replay_one_stripe:        ## @r5l_recovery_replay_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	jle	LBB0_17
## %bb.1:
	xorl	%ebx, %ebx
	movl	$4, %r14d
	movq	_R5_Wantwrite@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	addq	$8, %r14
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	16(%r12), %rsi
	addq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r12), %eax
	cmpq	%rax, %rbx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r12), %eax
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setne	%cl
	addl	%ecx, %r15d
	jmp	LBB0_5
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.7:
	testl	%eax, %eax
	jle	LBB0_16
## %bb.8:
	movl	$4, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	addq	$8, %r14
	cmpq	%rax, %r15
	jge	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	16(%r12), %rsi
	addq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%r14), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_atomic_inc
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	24(%r12), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r12), %rax
	movl	-4(%rax,%r14), %ecx
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	callq	_sync_page_io
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_rdev_dec_pending
	xorl	%eax, %eax
	callq	_rcu_read_lock
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	-4(%rax,%r14), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_atomic_inc
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	24(%r12), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r12), %rax
	movl	-4(%rax,%r14), %ecx
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	callq	_sync_page_io
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_rdev_dec_pending
	xorl	%eax, %eax
	callq	_rcu_read_lock
	jmp	LBB0_14
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_17:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r5l_recovery_reset_stripe      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R5_Wantwrite,4,2               ## @R5_Wantwrite
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_REQ_OP_WRITE,4,2               ## @REQ_OP_WRITE
	.no_dead_strip	_r5l_recovery_replay_one_stripe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r5l_recovery_replay_one_stripe
_r5l_recovery_replay_one_stripe:        ; @r5l_recovery_replay_one_stripe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x20, x2
	mov	x21, x0
	mov	x24, #0
	mov	w22, #0
	mov	w25, #4
Lloh0:
	adrp	x23, _R5_Wantwrite@GOTPAGE
Lloh1:
	ldr	x23, [x23, _R5_Wantwrite@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x25, x25, #8
	cmp	x24, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	x8, [x19, #16]
	add	x1, x8, x25
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
	cmp	x24, x8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	cmp	x24, x8
	cinc	w22, w22, ne
	b	LBB0_2
LBB0_6:
	cbz	w22, LBB0_17
; %bb.7:
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.8:
	mov	x24, #0
	mov	x25, #0
Lloh2:
	adrp	x26, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x27, _REQ_OP_WRITE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _REQ_OP_WRITE@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	bl	_rcu_read_unlock
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x19]
	add	x24, x24, #8
	cmp	x25, x8
	b.ge	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	x8, [x19, #16]
	add	x8, x8, x24
	add	x1, x8, #4
	bl	_test_bit
	cbz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	bl	_rcu_read_lock
	ldr	x8, [x21]
	add	x8, x8, x24
	ldr	w0, [x8, #4]
	bl	_rcu_dereference
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, x0
	add	x0, x0, #4
	bl	_atomic_inc
	bl	_rcu_read_unlock
	ldr	w1, [x19, #24]
	ldr	w2, [x26]
	ldr	x8, [x19, #16]
	ldr	w3, [x8, x24]
	ldr	w4, [x27]
	mov	x0, x22
	mov	w5, #0
	mov	w6, #0
	bl	_sync_page_io
	ldr	w1, [x22]
	mov	x0, x22
	bl	_rdev_dec_pending
	bl	_rcu_read_lock
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x24]
	bl	_rcu_dereference
	cbz	x0, LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, x0
	add	x0, x0, #4
	bl	_atomic_inc
	bl	_rcu_read_unlock
	ldr	w1, [x19, #24]
	ldr	w2, [x26]
	ldr	x8, [x19, #16]
	ldr	w3, [x8, x24]
	ldr	w4, [x27]
	mov	x0, x22
	mov	w5, #0
	mov	w6, #0
	bl	_sync_page_io
	ldr	w1, [x22]
	mov	x0, x22
	bl	_rdev_dec_pending
	bl	_rcu_read_lock
	b	LBB0_9
LBB0_16:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_r5l_recovery_reset_stripe
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_R5_Wantwrite,4,2               ; @R5_Wantwrite
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_REQ_OP_WRITE,4,2               ; @REQ_OP_WRITE
	.no_dead_strip	_r5l_recovery_replay_one_stripe
.subsections_via_symbols
