	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linear_add
_linear_add:                            ## @linear_add
	.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	%rsi, %rax
	movq	(%rsi), %rsi
	cmpq	(%rdi), %rsi
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	movq	%rsi, 8(%rax)
	movq	$-1, (%rax)
	incq	%rsi
	callq	_linear_conf
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_mddev_suspend
	movl	16(%rbx), %r14d
	leaq	20(%rbx), %rdi
	callq	_lockdep_is_held
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %r14
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	movl	16(%rbx), %edi
	movq	%r15, %rsi
	callq	_rcu_assign_pointer
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_linear_size
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_md_set_array_sectors
	movl	8(%rbx), %edi
	movl	12(%rbx), %esi
	callq	_set_capacity
	movq	%rbx, %rdi
	callq	_mddev_resume
	movl	8(%rbx), %edi
	callq	_revalidate_disk
	movq	_rcu@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kfree_rcu
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"copied raid_disks doesn't match mddev->raid_disks"

	.comm	_rcu,4,2                        ## @rcu
	.no_dead_strip	_linear_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linear_add
_linear_add:                            ; @linear_add
	.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
	ldr	x8, [x1]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x9, #-1
	stp	x9, x8, [x1]
	add	x1, x8, #1
	bl	_linear_conf
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_mddev_suspend
	ldr	w21, [x19, #16]
	add	x0, x19, #20
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x21
	bl	_rcu_dereference_protected
	mov	x21, x0
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_rcu_assign_pointer
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_linear_size
	mov	x1, x0
	mov	x0, x19
	bl	_md_set_array_sectors
	ldp	w0, w1, [x19, #8]
	bl	_set_capacity
	mov	x0, x19
	bl	_mddev_resume
	ldr	w0, [x19, #8]
	bl	_revalidate_disk
Lloh2:
	adrp	x8, _rcu@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rcu@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kfree_rcu
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"copied raid_disks doesn't match mddev->raid_disks"

	.comm	_rcu,4,2                        ; @rcu
	.no_dead_strip	_linear_add
.subsections_via_symbols
