	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Com_PushEvent                  ## -- Begin function Com_PushEvent
	.p2align	4, 0x90
_Com_PushEvent:                         ## @Com_PushEvent
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_com_pushedEvents@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_com_pushedEventsHead@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_MAX_PUSHED_EVENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %edx
	andl	%eax, %edx
	movslq	%edx, %rbx
	movq	_com_pushedEventsTail@GOTPCREL(%rip), %r13
	movl	%eax, %edx
	subl	(%r13), %edx
	cmpl	%ecx, %edx
	jge	LBB0_1
## %bb.6:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, _Com_PushEvent.printedWarning(%rip)
	jmp	LBB0_7
LBB0_1:
	cmpl	$0, _Com_PushEvent.printedWarning(%rip)
	jne	LBB0_3
## %bb.2:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _Com_PushEvent.printedWarning(%rip)
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
LBB0_3:
	movq	(%r12,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_Z_Free
LBB0_5:
	incl	(%r13)
	movl	(%r14), %eax
LBB0_7:
	movq	(%r15), %rcx
	movq	%rcx, (%r12,%rbx,8)
	incl	%eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_Com_PushEvent.printedWarning,4,2 ## @Com_PushEvent.printedWarning
	.comm	_com_pushedEvents,8,3           ## @com_pushedEvents
	.comm	_com_pushedEventsHead,4,2       ## @com_pushedEventsHead
	.comm	_MAX_PUSHED_EVENTS,4,2          ## @MAX_PUSHED_EVENTS
	.comm	_com_pushedEventsTail,4,2       ## @com_pushedEventsTail
	.comm	_qtrue,4,2                      ## @qtrue
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING: Com_PushEvent overflow\n"

	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Com_PushEvent                  ; -- Begin function Com_PushEvent
	.p2align	2
_Com_PushEvent:                         ; @Com_PushEvent
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _com_pushedEvents@GOTPAGE
Lloh1:
	ldr	x8, [x8, _com_pushedEvents@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x21, _com_pushedEventsHead@GOTPAGE
Lloh4:
	ldr	x21, [x21, _com_pushedEventsHead@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _MAX_PUSHED_EVENTS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_PUSHED_EVENTS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	sub	w10, w9, #1
	and	w10, w10, w8
	sxtw	x22, w10
Lloh8:
	adrp	x23, _com_pushedEventsTail@GOTPAGE
Lloh9:
	ldr	x23, [x23, _com_pushedEventsTail@GOTPAGEOFF]
	ldr	w10, [x23]
	sub	w10, w8, w10
	cmp	w10, w9
	b.ge	LBB0_2
; %bb.1:
Lloh10:
	adrp	x9, _qfalse@GOTPAGE
Lloh11:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	adrp	x10, _Com_PushEvent.printedWarning@PAGE
	str	w9, [x10, _Com_PushEvent.printedWarning@PAGEOFF]
	b	LBB0_6
LBB0_2:
	adrp	x8, _Com_PushEvent.printedWarning@PAGE
	ldr	w9, [x8, _Com_PushEvent.printedWarning@PAGEOFF]
	cbz	w9, LBB0_7
; %bb.3:
	ldr	x0, [x20, x22, lsl #3]
	cbz	x0, LBB0_5
LBB0_4:
	bl	_Z_Free
LBB0_5:
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	ldr	w8, [x21]
LBB0_6:
	ldr	x9, [x19]
	str	x9, [x20, x22, lsl #3]
	add	w8, w8, #1
	str	w8, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh13:
	adrp	x9, _qtrue@GOTPAGE
Lloh14:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	str	w9, [x8, _Com_PushEvent.printedWarning@PAGEOFF]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
	ldr	x0, [x20, x22, lsl #3]
	cbnz	x0, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_Com_PushEvent.printedWarning,4,2 ; @Com_PushEvent.printedWarning
	.comm	_com_pushedEvents,8,3           ; @com_pushedEvents
	.comm	_com_pushedEventsHead,4,2       ; @com_pushedEventsHead
	.comm	_MAX_PUSHED_EVENTS,4,2          ; @MAX_PUSHED_EVENTS
	.comm	_com_pushedEventsTail,4,2       ; @com_pushedEventsTail
	.comm	_qtrue,4,2                      ; @qtrue
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING: Com_PushEvent overflow\n"

	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
