	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__pthread_suspend_np            ## -- Begin function _pthread_suspend_np
	.p2align	4, 0x90
__pthread_suspend_np:                   ## @_pthread_suspend_np
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	__get_curthread
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	__get_curthread
	cmpq	%rbx, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	__thr_ref_add
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_THR_THREAD_LOCK
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_suspend_common
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_THR_THREAD_UNLOCK
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__thr_ref_delete
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EDEADLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDEADLK,4,2                    ## @EDEADLK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__pthread_suspend_np            ; -- Begin function _pthread_suspend_np
	.p2align	2
__pthread_suspend_np:                   ; @_pthread_suspend_np
	.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
	mov	x19, x0
	bl	__get_curthread
	mov	x20, x0
	bl	__get_curthread
	cmp	x0, x19
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	__thr_ref_add
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_THR_THREAD_LOCK
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_suspend_common
	mov	x0, x20
	mov	x1, x19
	bl	_THR_THREAD_UNLOCK
	mov	x0, x20
	mov	x1, x19
	bl	__thr_ref_delete
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _EDEADLK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDEADLK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EDEADLK,4,2                    ; @EDEADLK
.subsections_via_symbols
