	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __lwp_threadqueue_timeout
___lwp_threadqueue_timeout:             ## @__lwp_threadqueue_timeout
	.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	___lwp_thread_dispatchdisable
	movq	(%rbx), %r14
	movq	(%r14), %rax
	movq	_LWP_THREADQ_SYNCHRONIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	___lwp_thread_isexec
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	(%r14), %rax
	movq	_LWP_THREADQ_SATISFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_LWP_THREADQ_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_6
LBB0_2:
	movq	(%rbx), %r14
LBB0_3:
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___lwp_threadqueue_extract
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___lwp_thread_dispatchunnest    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LWP_THREADQ_SYNCHRONIZED,8,3   ## @LWP_THREADQ_SYNCHRONIZED
	.comm	_LWP_THREADQ_SATISFIED,8,3      ## @LWP_THREADQ_SATISFIED
	.comm	_LWP_THREADQ_TIMEOUT,8,3        ## @LWP_THREADQ_TIMEOUT
	.no_dead_strip	___lwp_threadqueue_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __lwp_threadqueue_timeout
___lwp_threadqueue_timeout:             ; @__lwp_threadqueue_timeout
	.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	x20, x0
	bl	___lwp_thread_dispatchdisable
	ldr	x19, [x20]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _LWP_THREADQ_SYNCHRONIZED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LWP_THREADQ_SYNCHRONIZED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x0, x20
	bl	___lwp_thread_isexec
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _LWP_THREADQ_SATISFIED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LWP_THREADQ_SATISFIED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _LWP_THREADQ_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LWP_THREADQ_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_6
LBB0_4:
	ldr	x19, [x20]
LBB0_5:
	ldr	w8, [x19, #8]
	str	w8, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	___lwp_threadqueue_extract
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___lwp_thread_dispatchunnest
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LWP_THREADQ_SYNCHRONIZED,8,3   ; @LWP_THREADQ_SYNCHRONIZED
	.comm	_LWP_THREADQ_SATISFIED,8,3      ; @LWP_THREADQ_SATISFIED
	.comm	_LWP_THREADQ_TIMEOUT,8,3        ; @LWP_THREADQ_TIMEOUT
	.no_dead_strip	___lwp_threadqueue_timeout
.subsections_via_symbols
