	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dev_parms
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dev_parms:                             ## @dev_parms
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 8(%rdi)
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	8(%rdi), %rcx
	leaq	32(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	$8, %r13
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%rbx), %rax
	leaq	(%rax,%r12), %rsi
	addq	$4, %rsi
	callq	_test_bit
	movq	40(%rbx), %rcx
	testl	%eax, %eax
	je	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	leaq	L_.str.3(%rip), %rdx
	movq	%rdx, (%rax)
	cmpq	$0, 56(%rcx,%r12)
	jne	LBB0_24
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	addq	$64, %r12
	addq	$16, %r13
	cmpq	%rax, %r14
	jge	LBB0_18
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %rax
	movl	%r14d, (%rax,%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rax,%r12)
	movq	$0, 56(%rax,%r12)
	movq	%rcx, 32(%rax,%r12)
	movq	-8(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %r15
	movq	-8(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %edi
	callq	_dm_table_get_mode
	movq	40(%rbx), %rcx
	addq	%r12, %rcx
	addq	$56, %rcx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_dm_get_device
	movq	(%rbx), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%rdx, (%rcx)
	testl	%eax, %eax
	jne	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_page
	movq	40(%rbx), %rcx
	movl	%eax, 24(%rcx,%r12)
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %r15
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %edi
	callq	_dm_table_get_mode
	movq	40(%rbx), %rcx
	addq	%r12, %rcx
	addq	$48, %rcx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_dm_get_device
	testl	%eax, %eax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%rbx), %rax
	movq	56(%rax,%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax,%r12)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	48(%rax,%r12), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax,%r12)
	leaq	(%rax,%r12), %rdi
	addq	$8, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add
	movq	_In_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%rbx), %rax
	leaq	(%rax,%r12), %rsi
	addq	$4, %rsi
	callq	_test_bit
	cmpl	$1, %eax
	adcl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 20(%rcx,%r12)
	jne	LBB0_11
## %bb.10:
	movq	(%rbx), %rax
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_23
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_18:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:
	movq	$0, 24(%rbx)
	movabsq	$8589934593, %rax               ## imm = 0x200000001
	movq	%rax, 12(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_13:
	movq	(%rbx), %rcx
	leaq	L_.str.4(%rip), %rdx
	movq	%rdx, (%rcx)
	jmp	LBB0_26
LBB0_20:
	xorl	%eax, %eax
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
## %bb.21:
	cmpl	$0, 20(%rbx)
	jne	LBB0_26
## %bb.22:
	leaq	L_.str.5(%rip), %rdi
	callq	_DMERR
	movq	(%rbx), %rax
	leaq	L_.str.4(%rip), %rcx
LBB0_23:
	movq	%rcx, (%rax)
LBB0_24:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_25:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	"RAID metadata device lookup failure"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_In_sync,4,2                    ## @In_sync
L_.str.2:                               ## @.str.2
	.asciz	"Drive designated for rebuild not specified"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"No data device supplied with metadata device"

L_.str.4:                               ## @.str.4
	.asciz	"RAID device lookup failure"

L_.str.5:                               ## @.str.5
	.asciz	"Unable to rebuild drive while array is not in-sync"

	.no_dead_strip	_dev_parms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dev_parms
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dev_parms:                             ; @dev_parms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x0
	ldr	w8, [x24, #8]!
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.1:
	mov	x19, x0
	mov	x26, #0
	mov	x27, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	mov	w25, #0
	add	x20, x0, #32
	add	x28, x1, #8
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh2:
	adrp	x8, _In_sync@GOTPAGE
Lloh3:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	add	x1, x8, #4
	bl	_test_bit
	ldr	x8, [x19, #40]
	cbz	w0, LBB0_13
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19]
Lloh5:
	adrp	x10, l_.str.3@PAGE
Lloh6:
	add	x10, x10, l_.str.3@PAGEOFF
	str	x10, [x9]
	add	x8, x8, x26
	ldr	x8, [x8, #56]
	cbnz	x8, LBB0_24
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x24]
	add	x26, x26, #64
	add	x28, x28, #16
	cmp	x27, x8
	b.ge	LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	str	w27, [x8]
	stp	xzr, xzr, [x8, #48]
	stp	x24, xzr, [x8, #32]
	ldur	x0, [x28, #-8]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x19]
	ldur	x23, [x28, #-8]
	ldr	w0, [x22, #8]
	bl	_dm_table_get_mode
	mov	x2, x0
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	add	x3, x8, #56
	mov	x0, x22
	mov	x1, x23
	bl	_dm_get_device
	ldr	x8, [x19]
Lloh7:
	adrp	x9, l_.str.1@PAGE
Lloh8:
	add	x9, x9, l_.str.1@PAGEOFF
	str	x9, [x8]
	cbnz	w0, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_alloc_page
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	str	w0, [x8, #24]
	cbz	w0, LBB0_17
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x28]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x19]
	ldr	x23, [x28]
	ldr	w0, [x22, #8]
	bl	_dm_table_get_mode
	mov	x2, x0
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	add	x3, x8, #48
	mov	x0, x22
	mov	x1, x23
	bl	_dm_get_device
	cbnz	w0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	ldr	x9, [x8, #56]
	cbz	x9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x9]
	str	w9, [x8, #16]
	mov	w9, #1
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x8, #48]
	ldr	w9, [x9]
	str	w9, [x8, #12]
	add	x0, x8, #8
	mov	x1, x20
	bl	_list_add
Lloh12:
	adrp	x8, _In_sync@GOTPAGE
Lloh13:
	ldr	x8, [x8, _In_sync@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	add	x1, x8, #4
	bl	_test_bit
	cmp	w0, #0
	cinc	w25, w25, eq
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x8, x26
	ldr	w9, [x9, #20]
	cbnz	w9, LBB0_3
; %bb.14:
Lloh15:
	adrp	x8, l_.str.2@PAGE
Lloh16:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_15:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_19
; %bb.16:
	mov	w0, #0
	str	xzr, [x19, #24]
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #12]
	b	LBB0_26
LBB0_17:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_25
LBB0_18:
	ldr	x8, [x19]
Lloh21:
	adrp	x9, l_.str.4@PAGE
Lloh22:
	add	x9, x9, l_.str.4@PAGEOFF
	str	x9, [x8]
	b	LBB0_26
LBB0_19:
	cbz	w25, LBB0_21
; %bb.20:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_22
LBB0_21:
	mov	w0, #0
	b	LBB0_26
LBB0_22:
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DMERR
Lloh25:
	adrp	x8, l_.str.4@PAGE
Lloh26:
	add	x8, x8, l_.str.4@PAGEOFF
LBB0_23:
	ldr	x9, [x19]
	str	x8, [x9]
LBB0_24:
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_26:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"RAID metadata device lookup failure"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_In_sync,4,2                    ; @In_sync
l_.str.2:                               ; @.str.2
	.asciz	"Drive designated for rebuild not specified"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"No data device supplied with metadata device"

l_.str.4:                               ; @.str.4
	.asciz	"RAID device lookup failure"

l_.str.5:                               ; @.str.5
	.asciz	"Unable to rebuild drive while array is not in-sync"

	.no_dead_strip	_dev_parms
.subsections_via_symbols
