	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LWP_SuspendThread              ## -- Begin function LWP_SuspendThread
	.p2align	4, 0x90
_LWP_SuspendThread:                     ## @LWP_SuspendThread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	___lwp_cntrl_open
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	___lwp_statesuspended
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_LWP_ALREADY_SUSPENDED@GOTPCREL(%rip), %rbx
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	___lwp_thread_suspend
	movq	_LWP_SUCCESSFUL@GOTPCREL(%rip), %rbx
LBB0_5:
	xorl	%eax, %eax
	callq	___lwp_thread_dispatchenable
	movl	(%rbx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LWP_SUCCESSFUL,4,2             ## @LWP_SUCCESSFUL
	.comm	_LWP_ALREADY_SUSPENDED,4,2      ## @LWP_ALREADY_SUSPENDED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LWP_SuspendThread              ; -- Begin function LWP_SuspendThread
	.p2align	2
_LWP_SuspendThread:                     ; @LWP_SuspendThread
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	___lwp_cntrl_open
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0]
	bl	___lwp_statesuspended
	cbz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x19, _LWP_ALREADY_SUSPENDED@GOTPAGE
Lloh1:
	ldr	x19, [x19, _LWP_ALREADY_SUSPENDED@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	___lwp_thread_suspend
Lloh2:
	adrp	x19, _LWP_SUCCESSFUL@GOTPAGE
Lloh3:
	ldr	x19, [x19, _LWP_SUCCESSFUL@GOTPAGEOFF]
LBB0_5:
	bl	___lwp_thread_dispatchenable
	ldr	w0, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_LWP_SUCCESSFUL,4,2             ; @LWP_SUCCESSFUL
	.comm	_LWP_ALREADY_SUSPENDED,4,2      ; @LWP_ALREADY_SUSPENDED
.subsections_via_symbols
