	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_softdep_check_suspend          ## -- Begin function softdep_check_suspend
	.p2align	4, 0x90
_softdep_check_suspend:                 ## @softdep_check_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_ASSERT_BO_WLOCKED
	movq	%rbx, %rdi
	callq	_MNT_ILOCK
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_PUSER@GOTPCREL(%rip), %r14
	movq	_PDROP@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_BO_UNLOCK
	movq	%rbx, %rdi
	callq	_MNT_MTX
	movl	(%r14), %edx
	decl	%edx
	orl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_msleep
	movq	%r15, %rdi
	callq	_BO_LOCK
	movq	%rbx, %rdi
	callq	_MNT_ILOCK
	cmpq	$0, (%rbx)
	jne	LBB0_2
LBB0_3:
	cmpq	$0, (%r15)
	jle	LBB0_4
LBB0_7:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_8:
	movq	%r15, %rdi
	callq	_BO_UNLOCK
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 8(%r15)
	jg	LBB0_7
## %bb.6:
	xorl	%r12d, %r12d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 8(%rbx)
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_PUSER,4,2                      ## @PUSER
	.comm	_PDROP,4,2                      ## @PDROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"secwr"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_softdep_check_suspend          ; -- Begin function softdep_check_suspend
	.p2align	2
_softdep_check_suspend:                 ; @softdep_check_suspend
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x5
	mov	x22, x4
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_ASSERT_BO_WLOCKED
	mov	x0, x21
	bl	_MNT_ILOCK
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x24, _PUSER@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PUSER@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PDROP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PDROP@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_BO_UNLOCK
	mov	x0, x21
	bl	_MNT_MTX
	mov	x1, x0
	ldr	w8, [x24]
	sub	w8, w8, #1
	ldr	w9, [x25]
	orr	w2, w8, w9
	mov	x0, x21
	mov	x3, x23
	mov	w4, #0
	bl	_msleep
	mov	x0, x19
	bl	_BO_LOCK
	mov	x0, x21
	bl	_MNT_ILOCK
	ldr	x8, [x21]
	cbnz	x8, LBB0_2
LBB0_3:
	ldr	x8, [x19]
	cmp	x8, #0
	b.le	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
LBB0_5:
	mov	x0, x19
	bl	_BO_UNLOCK
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	cbnz	w22, LBB0_4
; %bb.7:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	b.gt	LBB0_4
; %bb.8:
	ldr	w8, [x21, #8]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.9:
	mov	w20, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PUSER,4,2                      ; @PUSER
	.comm	_PDROP,4,2                      ; @PDROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"secwr"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
.subsections_via_symbols
