	.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
	movl	(%rsi), %esi
	cmpl	(%rdi), %esi
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	movl	%esi, 4(%rax)
	movl	$-1, (%rax)
	incl	%esi
	callq	_linear_conf
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movl	12(%rbx), %r15d
	leaq	16(%rbx), %rdi
	callq	_lockdep_is_held
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %r15
	incl	(%rbx)
	movl	12(%rbx), %edi
	movq	%r14, %rsi
	callq	_rcu_assign_pointer
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_linear_size
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_md_set_array_sectors
	movl	4(%rbx), %edi
	movl	8(%rbx), %esi
	callq	_set_capacity
	movl	4(%rbx), %edi
	callq	_revalidate_disk
	movq	_free_conf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_call_rcu
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %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
	.comm	_free_conf,4,2                  ## @free_conf
	.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	w8, [x1]
	ldr	w9, [x0]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w9, #-1
	stp	w9, w8, [x1]
	add	w1, w8, #1
	bl	_linear_conf
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	ldr	w21, [x19, #12]
	add	x0, x19, #16
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x21
	bl	_rcu_dereference_protected
	mov	x21, x0
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w0, [x19, #12]
	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, #4]
	bl	_set_capacity
	ldr	w0, [x19, #4]
	bl	_revalidate_disk
Lloh0:
	adrp	x8, _free_conf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _free_conf@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_call_rcu
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_free_conf,4,2                  ; @free_conf
	.no_dead_strip	_linear_add
.subsections_via_symbols
