	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_threadqueue_dequeuefifo  ## -- Begin function __lwp_threadqueue_dequeuefifo
	.p2align	4, 0x90
___lwp_threadqueue_dequeuefifo:         ## @__lwp_threadqueue_dequeuefifo
	.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, %r14
	callq	__CPU_ISR_Disable
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	___lwp_queue_isempty
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	(%r14), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
## %bb.2:
	cmpl	$128, %eax
	je	LBB0_4
## %bb.3:
	cmpl	$131, %eax
	jne	LBB0_10
LBB0_4:
	movl	$130, (%r14)
	callq	__CPU_ISR_Restore
	movq	__thr_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_11
LBB0_5:
	movq	%rbx, %rdi
	callq	___lwp_queue_firstnodeI
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	___lwp_wd_isactive
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	___lwp_wd_deactivate
	callq	__CPU_ISR_Restore
	movq	%rbx, %rdi
	callq	___lwp_wd_remove_ticks
	jmp	LBB0_9
LBB0_7:
	callq	__CPU_ISR_Restore
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_8:
	callq	__CPU_ISR_Restore
LBB0_9:
	movq	%rbx, %rdi
	callq	___lwp_thread_unblock
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__thr_executing,8,3             ## @_thr_executing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_threadqueue_dequeuefifo  ; -- Begin function __lwp_threadqueue_dequeuefifo
	.p2align	2
___lwp_threadqueue_dequeuefifo:         ; @__lwp_threadqueue_dequeuefifo
	.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	__CPU_ISR_Disable
	add	x20, x19, #4
	mov	x0, x20
	bl	___lwp_queue_isempty
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w8, [x19]
	sub	w9, w8, #129
	cmp	w9, #2
	b.lo	LBB0_7
; %bb.2:
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.3:
	cmp	w8, #131
	b.ne	LBB0_8
LBB0_4:
	mov	w8, #130
	str	w8, [x19]
	bl	__CPU_ISR_Restore
Lloh0:
	adrp	x8, __thr_executing@GOTPAGE
Lloh1:
	ldr	x8, [x8, __thr_executing@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	b	LBB0_11
LBB0_5:
	mov	x0, x20
	bl	___lwp_queue_firstnodeI
	mov	x19, x0
	bl	___lwp_wd_isactive
	cbz	w0, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	___lwp_wd_deactivate
	bl	__CPU_ISR_Restore
	mov	x0, x19
	bl	___lwp_wd_remove_ticks
	b	LBB0_10
LBB0_7:
	bl	__CPU_ISR_Restore
LBB0_8:
	mov	x19, #0
	b	LBB0_11
LBB0_9:
	bl	__CPU_ISR_Restore
LBB0_10:
	mov	x0, x19
	bl	___lwp_thread_unblock
LBB0_11:
	mov	x0, x19
	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	__thr_executing,8,3             ; @_thr_executing
.subsections_via_symbols
