	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid_ctr
_raid_ctr:                              ## @raid_ctr
	.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	%rdi, %r15
	cmpl	$1, %esi
	ja	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_13
LBB0_2:
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	(%rdx), %rdi
	callq	_get_raid_type
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	movq	8(%r12), %rdi
	leaq	-48(%rbp), %rdx
	movl	$10, %esi
	callq	_kstrtoul
	testq	%rax, %rax
	js	LBB0_7
## %bb.4:
	addl	$-2, %r13d
	movq	-48(%rbp), %rax
	leaq	1(%rax), %rcx
	cmpq	%r13, %rcx
	jbe	LBB0_8
## %bb.5:
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	addq	$16, %r12
	movq	(%r12,%rax,8), %rdi
	leaq	-56(%rbp), %rdx
	movl	$10, %esi
	callq	_kstrtoul
	testq	%rax, %rax
	js	LBB0_12
## %bb.9:
	movq	-56(%rbp), %rdx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jae	LBB0_12
## %bb.10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_context_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.4(%rip), %rax
LBB0_13:
	movq	%rax, (%r15)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_parse_raid_params
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.16:
	movq	-48(%rbp), %rax
	incq	%rax
	subl	%eax, %r13d
	movq	-56(%rbp), %rcx
	addq	%rcx, %rcx
	cmpq	%r13, %rcx
	jne	LBB0_21
## %bb.17:
	leaq	(%r12,%rax,8), %rsi
	movq	%r14, %rdi
	callq	_dev_parms
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.18:
	movq	_super_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_analyse_superblocks
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.19:
	leaq	24(%r14), %rdi
	movq	_do_table_event@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r14, 32(%r15)
	movl	$1, 8(%r15)
	leaq	8(%r14), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_md_run
	movl	%eax, %ebx
	movq	$0, 16(%r14)
	movq	%r12, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_24
## %bb.20:
	leaq	L_.str.6(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rax
LBB0_22:
	movq	%rax, (%r15)
LBB0_23:
	movq	%r14, %rdi
	callq	_context_free
	jmp	LBB0_14
LBB0_24:
	movq	16(%r15), %rax
	cmpq	(%r14), %rax
	jne	LBB0_26
## %bb.25:
	movq	_raid_is_congested@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, %rsi
	addq	$32, %rsi
	movl	%eax, 36(%r14)
	movq	_raid_unplug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movl	24(%r15), %edi
	callq	_dm_table_add_target_callbacks
	movq	%r14, %rdi
	callq	_mddev_suspend
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_26:
	leaq	L_.str.7(%rip), %rax
	movq	%rax, (%r15)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_md_stop
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Too few arguments"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Unrecognised raid_type"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot understand number of RAID parameters"

L_.str.3:                               ## @.str.3
	.asciz	"Arguments do not agree with counts given"

	.comm	_INT_MAX,8,3                    ## @INT_MAX
L_.str.4:                               ## @.str.4
	.asciz	"Cannot understand number of raid devices"

L_.str.5:                               ## @.str.5
	.asciz	"Supplied RAID devices does not match the count given"

	.comm	_super_sync,4,2                 ## @super_sync
	.comm	_do_table_event,4,2             ## @do_table_event
L_.str.6:                               ## @.str.6
	.asciz	"Fail to run raid array"

L_.str.7:                               ## @.str.7
	.asciz	"Array size does not match requested target length"

	.comm	_raid_is_congested,4,2          ## @raid_is_congested
	.comm	_raid_unplug,4,2                ## @raid_unplug
	.no_dead_strip	_raid_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid_ctr
_raid_ctr:                              ; @raid_ctr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	cmp	w1, #1
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_13
LBB0_2:
	mov	x21, x2
	mov	x22, x1
	ldr	x0, [x2]
	bl	_get_raid_type
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	x0, [x21, #8]
	add	x2, sp, #8
	mov	w1, #10
	bl	_kstrtoul
	tbnz	x0, #63, LBB0_7
; %bb.4:
	sub	w23, w22, #2
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	cmp	x9, x23
	b.ls	LBB0_8
; %bb.5:
Lloh2:
	adrp	x8, l_.str.3@PAGE
Lloh3:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_6:
Lloh4:
	adrp	x8, l_.str.1@PAGE
Lloh5:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_7:
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_8:
	add	x22, x21, #16
	ldr	x0, [x22, x8, lsl #3]
	mov	x2, sp
	mov	w1, #10
	bl	_kstrtoul
	tbnz	x0, #63, LBB0_12
; %bb.9:
	ldr	x2, [sp]
Lloh8:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x2, x8
	b.hs	LBB0_12
; %bb.10:
	mov	x0, x19
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_context_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.11:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_14
LBB0_12:
Lloh11:
	adrp	x8, l_.str.4@PAGE
Lloh12:
	add	x8, x8, l_.str.4@PAGEOFF
LBB0_13:
	str	x8, [x19]
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	ldr	w2, [sp, #8]
	mov	x0, x20
	mov	x1, x22
	bl	_parse_raid_params
	mov	x21, x0
	cbnz	w0, LBB0_23
; %bb.16:
	ldp	x10, x8, [sp]
	add	x8, x8, #1
	sub	w9, w23, w8
	cmp	x9, x10, lsl #1
	b.ne	LBB0_21
; %bb.17:
	add	x1, x22, x8, lsl #3
	mov	x0, x20
	bl	_dev_parms
	mov	x21, x0
	cbnz	w0, LBB0_23
; %bb.18:
Lloh16:
	adrp	x8, _super_sync@GOTPAGE
Lloh17:
	ldr	x8, [x8, _super_sync@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #28]
	mov	x0, x19
	mov	x1, x20
	bl	_analyse_superblocks
	mov	x21, x0
	cbnz	w0, LBB0_23
; %bb.19:
	add	x0, x20, #24
Lloh19:
	adrp	x8, _do_table_event@GOTPAGE
Lloh20:
	ldr	x8, [x8, _do_table_event@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	x20, [x19, #32]
	mov	w8, #1
	str	w8, [x19, #8]
	add	x22, x20, #8
	mov	x0, x22
	bl	_mutex_lock
	mov	x0, x20
	bl	_md_run
	mov	x21, x0
	str	xzr, [x20, #16]
	mov	x0, x22
	bl	_mutex_unlock
	cbz	w21, LBB0_24
; %bb.20:
Lloh22:
	adrp	x8, l_.str.6@PAGE
Lloh23:
	add	x8, x8, l_.str.6@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w21, w8
Lloh27:
	adrp	x8, l_.str.5@PAGE
Lloh28:
	add	x8, x8, l_.str.5@PAGEOFF
LBB0_22:
	str	x8, [x19]
LBB0_23:
	mov	x0, x20
	bl	_context_free
	b	LBB0_14
LBB0_24:
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.25:
Lloh29:
	adrp	x8, _raid_is_congested@GOTPAGE
Lloh30:
	ldr	x8, [x8, _raid_is_congested@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _raid_unplug@GOTPAGE
Lloh33:
	ldr	x9, [x9, _raid_unplug@GOTPAGEOFF]
	str	w8, [x20, #36]
Lloh34:
	ldr	w8, [x9]
	mov	x1, x20
	str	w8, [x1, #32]!
	ldr	w0, [x19, #24]
	bl	_dm_table_add_target_callbacks
	mov	x0, x20
	bl	_mddev_suspend
	mov	w21, #0
	b	LBB0_14
LBB0_26:
Lloh35:
	adrp	x8, l_.str.7@PAGE
Lloh36:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x19]
Lloh37:
	adrp	x8, _EINVAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w21, w8
	mov	x0, x20
	bl	_md_stop
	b	LBB0_23
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Too few arguments"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Unrecognised raid_type"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot understand number of RAID parameters"

l_.str.3:                               ; @.str.3
	.asciz	"Arguments do not agree with counts given"

	.comm	_INT_MAX,8,3                    ; @INT_MAX
l_.str.4:                               ; @.str.4
	.asciz	"Cannot understand number of raid devices"

l_.str.5:                               ; @.str.5
	.asciz	"Supplied RAID devices does not match the count given"

	.comm	_super_sync,4,2                 ; @super_sync
	.comm	_do_table_event,4,2             ; @do_table_event
l_.str.6:                               ; @.str.6
	.asciz	"Fail to run raid array"

l_.str.7:                               ; @.str.7
	.asciz	"Array size does not match requested target length"

	.comm	_raid_is_congested,4,2          ; @raid_is_congested
	.comm	_raid_unplug,4,2                ; @raid_unplug
	.no_dead_strip	_raid_ctr
.subsections_via_symbols
