	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_event_push                   ## -- Begin function v_event_push
	.p2align	4, 0x90
_v_event_push:                          ## @v_event_push
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rdi), %rsi
	movq	(%rsi), %r14
	movq	%r14, %rcx
	subq	%r13, %rcx
	jae	LBB0_9
## %bb.1:
	cmpq	$0, 24(%rsi)
	movq	8(%rsi), %rdx
	je	LBB0_4
## %bb.2:
	testq	%rdx, %rdx
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	cmpq	%r13, 16(%rsi)
	jae	LBB0_14
LBB0_4:
	addq	%r13, %r14
	leaq	(%rdx,%r14), %rdi
	addq	$30, %rdi
	cmpq	16(%rsi), %rdi
	jb	LBB0_7
## %bb.5:
	movq	%rsi, %r14
	movl	$64, %esi
	callq	_MAX
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_v_event_grow
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_21
## %bb.6:
	movq	%r14, %rsi
	movq	8(%r14), %rdx
LBB0_7:
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.12:
	movq	(%rsi), %rdi
	movq	24(%rsi), %rax
	shlq	$4, %rdi
	addq	%rax, %rdi
	movq	%r13, %rcx
	shlq	$4, %rcx
	movq	%rsi, %r14
	leaq	(%rax,%rcx), %rsi
	addq	$480, %rsi                      ## imm = 0x1E0
	callq	_BCOPY
	movq	%r14, %rsi
	movq	8(%r14), %rdx
	jmp	LBB0_13
LBB0_9:
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rcx, (%rsi)
	movq	%rcx, %r14
LBB0_11:
	addq	%r13, %rax
	movq	%rax, 8(%rsi)
	testq	%r13, %r13
	jne	LBB0_15
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%edx, %edx
LBB0_13:
	movq	$30, (%rsi)
	movl	$30, %r14d
LBB0_14:
	addq	%r13, %rdx
	movq	%rdx, 8(%rsi)
LBB0_15:
	shlq	$4, %r14
	addq	24(%rsi), %r14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=1
	movups	(%rbx), %xmm0
	addq	$16, %rbx
	movups	%xmm0, (%r14)
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	$16, %r14
	testq	%r13, %r13
	je	LBB0_20
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	decq	%r13
	testq	%rbx, %rbx
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_E_CHARACTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movl	(%r15), %esi
	addq	$4, %r15
	movl	%esi, 4(%r14)
	movq	%r12, %rdi
	callq	_KEY_VAL
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_F_INIT
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_E_CHARACTER,4,2                ## @E_CHARACTER
	.comm	_TERM_PUSH_SHIFT,8,3            ## @TERM_PUSH_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_event_push                   ; -- Begin function v_event_push
	.p2align	2
_v_event_push:                          ; @v_event_push
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	ldr	x24, [x0]
	ldr	x8, [x24]
	subs	x9, x8, x3
	b.hs	LBB0_6
; %bb.1:
	ldr	x9, [x24, #24]
	ldr	x2, [x24, #8]
	cmp	x9, #0
	ccmp	x2, #0, #0, ne
	b.ne	LBB0_3
; %bb.2:
	mov	x2, #0
	mov	x9, #0
	ldr	x10, [x24, #16]
	cmp	x10, x20
	b.hs	LBB0_14
LBB0_3:
	add	x8, x20, x8
	add	x8, x8, x2
	add	x0, x8, #30
	ldr	x8, [x24, #16]
	cmp	x0, x8
	b.lo	LBB0_10
; %bb.4:
	mov	w1, #64
	bl	_MAX
	mov	x1, x0
	mov	x0, x22
	bl	_v_event_grow
	cbz	x0, LBB0_9
; %bb.5:
	mov	w0, #1
	b	LBB0_20
LBB0_6:
	ldr	x10, [x24, #8]
	cbz	x10, LBB0_8
; %bb.7:
	str	x9, [x24]
	mov	x8, x9
LBB0_8:
	add	x9, x10, x20
	str	x9, [x24, #8]
	cbnz	x20, LBB0_15
	b	LBB0_19
LBB0_9:
	ldr	x2, [x24, #8]
LBB0_10:
	cbz	x2, LBB0_12
; %bb.11:
	ldr	x8, [x24, #24]
	ldr	x9, [x24]
	add	x0, x8, x9, lsl #4
	add	x8, x8, x20, lsl #4
	add	x1, x8, #480
	bl	_BCOPY
	ldr	x9, [x24, #8]
	b	LBB0_13
LBB0_12:
	mov	x9, #0
LBB0_13:
	mov	w8, #30
	str	x8, [x24]
LBB0_14:
	add	x9, x9, x20
	str	x9, [x24, #8]
LBB0_15:
	ldr	x9, [x24, #24]
	add	x24, x9, x8, lsl #4
Lloh0:
	adrp	x25, _E_CHARACTER@GOTPAGE
Lloh1:
	ldr	x25, [x25, _E_CHARACTER@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	q0, [x23], #16
	str	q0, [x24]
	add	x24, x24, #16
	cbz	x20, LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	cbnz	x23, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x25]
	str	w8, [x24, #12]
	ldr	w1, [x21], #4
	str	w1, [x24, #4]
	mov	x0, x22
	bl	_KEY_VAL
	str	w0, [x24, #8]
	mov	x0, x24
	mov	x1, x19
	bl	_F_INIT
	add	x24, x24, #16
	cbnz	x20, LBB0_17
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_E_CHARACTER,4,2                ; @E_CHARACTER
	.comm	_TERM_PUSH_SHIFT,8,3            ; @TERM_PUSH_SHIFT
.subsections_via_symbols
