	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __dm_internal_suspend
___dm_internal_suspend:                 ## @__dm_internal_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_lockdep_assert_held
	movl	12(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_dm_suspended_md
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	_DMF_SUSPENDED_INTERNALLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rbx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
LBB0_2:
	movl	4(%rbx), %r15d
	movq	%rbx, %rdi
	callq	_lockdep_is_held
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %r15
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DMF_SUSPENDED_INTERNALLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	___dm_suspend
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_table_postsuspend_targets   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMF_SUSPENDED_INTERNALLY,4,2   ## @DMF_SUSPENDED_INTERNALLY
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.no_dead_strip	___dm_internal_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __dm_internal_suspend
___dm_internal_suspend:                 ; @__dm_internal_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	x20, x1
	mov	x19, x0
	bl	_lockdep_assert_held
	ldr	w8, [x19, #12]
	add	w9, w8, #1
	str	w9, [x19, #12]
	cbz	w8, LBB0_2
; %bb.1:
	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_2:
	mov	x0, x19
	bl	_dm_suspended_md
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _DMF_SUSPENDED_INTERNALLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMF_SUSPENDED_INTERNALLY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	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	_set_bit
LBB0_4:
	ldr	w21, [x19, #4]
	mov	x0, x19
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x21
	bl	_rcu_dereference_protected
	mov	x21, x0
Lloh3:
	adrp	x8, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _DMF_SUSPENDED_INTERNALLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMF_SUSPENDED_INTERNALLY@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	___dm_suspend
	mov	x0, x21
	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	_dm_table_postsuspend_targets
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DMF_SUSPENDED_INTERNALLY,4,2   ; @DMF_SUSPENDED_INTERNALLY
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.no_dead_strip	___dm_internal_suspend
.subsections_via_symbols
