	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_active                   ## -- Begin function event_active
	.p2align	4, 0x90
_event_active:                          ## @event_active
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movq	%rdi, %rcx
	movq	_EVLIST_ACTIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rdi)
	je	LBB0_2
## %bb.1:
	orl	%esi, 4(%rcx)
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, 4(%rcx)
	movw	%ax, 8(%rcx)
	movq	$0, 16(%rcx)
	movl	12(%rcx), %edi
	movq	%rcx, %rsi
	popq	%rbp
	jmp	_event_queue_insert             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVLIST_ACTIVE,4,2              ## @EVLIST_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_active                   ; -- Begin function event_active
	.p2align	2
_event_active:                          ; @event_active
	.cfi_startproc
; %bb.0:
	mov	x9, x2
	mov	x8, x0
	ldr	w10, [x0]
Lloh0:
	adrp	x11, _EVLIST_ACTIVE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _EVLIST_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x11]
	tst	w2, w10
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x8, #4]
	orr	w9, w9, w1
	str	w9, [x8, #4]
	ret
LBB0_2:
	str	w1, [x8, #4]
	strh	w9, [x8, #8]
	str	xzr, [x8, #16]
	ldr	w0, [x8, #12]
	mov	x1, x8
	b	_event_queue_insert
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVLIST_ACTIVE,4,2              ; @EVLIST_ACTIVE
.subsections_via_symbols
