	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_callback_activate_nolock_ ## -- Begin function event_callback_activate_nolock_
	.p2align	4, 0x90
_event_callback_activate_nolock_:       ## @event_callback_activate_nolock_
	.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	(%rsi), %eax
	movq	_EVLIST_FINALIZING@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	andb	$-127, %al
	cmpb	$-128, %al
	je	LBB0_5
## %bb.2:
	cmpb	$-127, %al
	je	LBB0_8
## %bb.3:
	movl	$1, %r15d
	testb	%al, %al
	je	LBB0_6
## %bb.4:
	xorl	%edi, %edi
	callq	_EVUTIL_ASSERT
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_event_queue_remove_active_later
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_event_queue_insert_active
	movq	%r14, %rdi
	callq	_EVBASE_NEED_NOTIFY
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_evthread_notify_base
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVLIST_FINALIZING,4,2          ## @EVLIST_FINALIZING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_callback_activate_nolock_ ; -- Begin function event_callback_activate_nolock_
	.p2align	2
_event_callback_activate_nolock_:       ; @event_callback_activate_nolock_
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _EVLIST_FINALIZING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVLIST_FINALIZING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
	mov	w21, #0
LBB0_2:
	mov	x0, x21
	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
LBB0_3:
	mov	x20, x1
	mov	x19, x0
	mov	w9, #129
	ands	w8, w8, w9
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #129
	b.eq	LBB0_1
; %bb.6:
	mov	w0, #0
	bl	_EVUTIL_ASSERT
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_event_queue_remove_active_later
	mov	w21, #0
	b	LBB0_9
LBB0_8:
	mov	w21, #1
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_event_queue_insert_active
	mov	x0, x19
	bl	_EVBASE_NEED_NOTIFY
	cbz	x0, LBB0_2
; %bb.10:
	mov	x0, x19
	bl	_evthread_notify_base
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVLIST_FINALIZING,4,2          ; @EVLIST_FINALIZING
.subsections_via_symbols
