	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_D_PostEvent                    ## -- Begin function D_PostEvent
	.p2align	4, 0x90
_D_PostEvent:                           ## @D_PostEvent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_events@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_eventhead@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movl	%eax, (%rcx,%rsi,4)
	incq	%rsi
	movq	_MAXEVENTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	andq	%rsi, %rax
	movq	%rax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_events,8,3                     ## @events
	.comm	_eventhead,8,3                  ## @eventhead
	.comm	_MAXEVENTS,4,2                  ## @MAXEVENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_D_PostEvent                    ; -- Begin function D_PostEvent
	.p2align	2
_D_PostEvent:                           ; @D_PostEvent
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _events@GOTPAGE
Lloh1:
	ldr	x9, [x9, _events@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _eventhead@GOTPAGE
Lloh4:
	ldr	x10, [x10, _eventhead@GOTPAGEOFF]
	ldr	x11, [x10]
	str	w8, [x9, x11, lsl #2]
	add	x8, x11, #1
Lloh5:
	adrp	x9, _MAXEVENTS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAXEVENTS@GOTPAGEOFF]
Lloh7:
	ldrsw	x9, [x9]
	sub	x9, x9, #1
	and	x8, x8, x9
	str	x8, [x10]
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_events,8,3                     ; @events
	.comm	_eventhead,8,3                  ; @eventhead
	.comm	_MAXEVENTS,4,2                  ; @MAXEVENTS
.subsections_via_symbols
