	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mddev_suspend                  ## -- Begin function mddev_suspend
	.p2align	4, 0x90
_mddev_suspend:                         ## @mddev_suspend
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_current@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edi, %edi
	cmpq	(%rax), %rcx
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_WARN_ON_ONCE
	leaq	32(%rbx), %rdi
	callq	_lockdep_assert_held
	movl	28(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 28(%rbx)
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	callq	_synchronize_rcu
	leaq	8(%rbx), %rdi
	callq	_wake_up
	movq	_MD_ALLOW_SB_UPDATE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	4(%rbx), %r14
	movq	%r14, %rsi
	callq	_set_bit
	xorl	%eax, %eax
	callq	_smp_mb__after_atomic
	movl	8(%rbx), %r15d
	leaq	24(%rbx), %rdi
	callq	_atomic_read
	xorl	%esi, %esi
	testq	%rax, %rax
	sete	%sil
	movl	%r15d, %edi
	callq	_wait_event
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*(%rax)
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_clear_bit_unlock
	movl	8(%rbx), %r15d
	movq	_MD_UPDATING_SB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movl	%r15d, %edi
	callq	_wait_event
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_del_timer_sync                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_MD_ALLOW_SB_UPDATE,4,2         ## @MD_ALLOW_SB_UPDATE
	.comm	_MD_UPDATING_SB,4,2             ## @MD_UPDATING_SB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mddev_suspend                  ; -- Begin function mddev_suspend
	.p2align	2
_mddev_suspend:                         ; @mddev_suspend
	.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
	mov	x19, x0
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _current@GOTPAGE
Lloh1:
	ldr	x9, [x9, _current@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_WARN_ON_ONCE
	add	x0, x19, #32
	bl	_lockdep_assert_held
	ldr	w8, [x19, #28]
	add	w9, w8, #1
	str	w9, [x19, #28]
	cbz	w8, LBB0_5
; %bb.4:
	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
LBB0_5:
	bl	_synchronize_rcu
	add	x0, x19, #8
	bl	_wake_up
Lloh3:
	adrp	x22, _MD_ALLOW_SB_UPDATE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MD_ALLOW_SB_UPDATE@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x20, x19, #4
	mov	x1, x20
	bl	_set_bit
	bl	_smp_mb__after_atomic
	ldr	w21, [x19, #8]
	add	x0, x19, #24
	bl	_atomic_read
	cmp	x0, #0
	cset	w1, eq
	mov	x0, x21
	bl	_wait_event
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	ldr	w0, [x22]
	mov	x1, x20
	bl	_clear_bit_unlock
	ldr	w21, [x19, #8]
Lloh5:
	adrp	x8, _MD_UPDATING_SB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MD_UPDATING_SB@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cmp	w0, #0
	cset	w1, eq
	mov	x0, x21
	bl	_wait_event
	mov	x0, x19
	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
	b	_del_timer_sync
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_MD_ALLOW_SB_UPDATE,4,2         ; @MD_ALLOW_SB_UPDATE
	.comm	_MD_UPDATING_SB,4,2             ; @MD_UPDATING_SB
.subsections_via_symbols
