	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_threadqueue_enqueue      ## -- Begin function __lwp_threadqueue_enqueue
	.p2align	4, 0x90
___lwp_threadqueue_enqueue:             ## @__lwp_threadqueue_enqueue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	__thr_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	4(%rdi), %esi
	movq	%rbx, %rdi
	callq	___lwp_thread_setstate
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	___lwp_threadqueue_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rcx
	callq	___lwp_wd_initialize
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	___lwp_wd_insert_ticks
LBB0_2:
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___lwp_threadqueue_enqueuefifo  ## TAILCALL
LBB0_5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___lwp_threadqueue_enqueuepriority ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__thr_executing,8,3             ## @_thr_executing
	.comm	___lwp_threadqueue_timeout,4,2  ## @__lwp_threadqueue_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_threadqueue_enqueue      ; -- Begin function __lwp_threadqueue_enqueue
	.p2align	2
___lwp_threadqueue_enqueue:             ; @__lwp_threadqueue_enqueue
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, __thr_executing@GOTPAGE
Lloh1:
	ldr	x8, [x8, __thr_executing@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	w1, [x0, #4]
	mov	x0, x20
	bl	___lwp_thread_setstate
	cbz	w19, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, ___lwp_threadqueue_timeout@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___lwp_threadqueue_timeout@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x20
	mov	x3, x20
	bl	___lwp_wd_initialize
	mov	x0, x20
	mov	x1, x19
	bl	___lwp_wd_insert_ticks
LBB0_2:
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___lwp_threadqueue_enqueuefifo
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___lwp_threadqueue_enqueuepriority
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__thr_executing,8,3             ; @_thr_executing
	.comm	___lwp_threadqueue_timeout,4,2  ; @__lwp_threadqueue_timeout
.subsections_via_symbols
