	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid10_end_read_request
_raid10_end_read_request:               ## @raid10_end_read_request
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rdi), %r12d
	movq	(%rdi), %rbx
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	(%rcx), %r15
	movslq	(%rbx), %rdi
	movq	(%rax,%rdi,8), %r14
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%rbx, %rsi
	callq	_update_head_pos
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movq	_R10BIO_Previous@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %r12
	movq	%r12, %rsi
	callq	_test_bit
	movl	4(%r14), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	__enough
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_BDEVNAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%r15), %edi
	callq	_mdname
	movl	%eax, %r15d
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_bdevname
	movq	8(%rbx), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_pr_err_ratelimited
	movq	_R10BIO_ReadError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_reschedule_retry
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_R10BIO_Uptodate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_set_bit
LBB0_3:
	movq	%rbx, %rdi
	callq	_raid_end_bio_io
	movl	(%r15), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdev_dec_pending               ## TAILCALL
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_R10BIO_Uptodate,4,2            ## @R10BIO_Uptodate
	.comm	_R10BIO_Previous,4,2            ## @R10BIO_Previous
	.comm	_BDEVNAME_SIZE,4,2              ## @BDEVNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md/raid10:%s: %s: rescheduling sector %llu\n"

	.comm	_R10BIO_ReadError,4,2           ## @R10BIO_ReadError
	.no_dead_strip	_raid10_end_read_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid10_end_read_request
_raid10_end_read_request:               ; @raid10_end_read_request
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	w22, [x0, #8]
	ldr	x19, [x0]
	ldp	x9, x8, [x19, #16]
	ldr	x21, [x8]
	ldrsw	x0, [x19]
	ldr	x20, [x9, x0, lsl #3]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x19
	bl	_update_head_pos
	cbz	w22, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _R10BIO_Previous@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R10BIO_Previous@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x22, x19, #4
	mov	x1, x22
	bl	_test_bit
	mov	x1, x0
	ldr	w2, [x20, #4]
	mov	x0, x21
	bl	__enough
	cbz	w0, LBB0_5
; %bb.2:
	mov	x24, sp
Lloh6:
	adrp	x8, _BDEVNAME_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BDEVNAME_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w0, [x21]
	bl	_mdname
	mov	x21, x0
	ldr	w0, [x20]
	mov	x1, x23
	bl	_bdevname
	mov	x2, x0
	ldr	x3, [x19, #8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_err_ratelimited
Lloh13:
	adrp	x8, _R10BIO_ReadError@GOTPAGE
Lloh14:
	ldr	x8, [x8, _R10BIO_ReadError@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
	mov	x0, x19
	bl	_reschedule_retry
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.3:
	mov	sp, x24
	sub	sp, x29, #48
	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_4:
Lloh19:
	adrp	x8, _R10BIO_Uptodate@GOTPAGE
Lloh20:
	ldr	x8, [x8, _R10BIO_Uptodate@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
LBB0_5:
	mov	x0, x19
	bl	_raid_end_bio_io
	ldr	w1, [x21]
	ldur	x8, [x29, #-56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	sub	sp, x29, #48
	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	_rdev_dec_pending
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_R10BIO_Uptodate,4,2            ; @R10BIO_Uptodate
	.comm	_R10BIO_Previous,4,2            ; @R10BIO_Previous
	.comm	_BDEVNAME_SIZE,4,2              ; @BDEVNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md/raid10:%s: %s: rescheduling sector %llu\n"

	.comm	_R10BIO_ReadError,4,2           ; @R10BIO_ReadError
	.no_dead_strip	_raid10_end_read_request
.subsections_via_symbols
