	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_call                     ## -- Begin function event_call
	.p2align	4, 0x90
_event_call:                            ## @event_call
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movl	%edi, %r12d
	movl	%edi, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.8:
	movq	(%r13), %rax
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	8(%r13), %r15
	movl	16(%r15), %edi
	callq	_hc_thread_mutex_lock
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rcx
	callq	*(%r13)
	movl	16(%r15), %edi
	callq	_hc_thread_mutex_unlock
	movq	_MAX_OLD_EVENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	$2, %ebx
	jl	LBB0_4
## %bb.2:
	movq	8(%r15), %rax
	movl	$4294967294, %r12d              ## imm = 0xFFFFFFFE
	addq	%rbx, %r12
	decq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movl	%ebx, %r13d
	shlq	$3, %r13
	movq	(%rcx,%r13), %rdi
	movl	%r12d, %r14d
	shlq	$3, %r14
	movq	(%rcx,%r14), %rsi
	movq	(%rax,%r14), %rdx
	callq	_memcpy
	movq	8(%r15), %rax
	movq	(%rax,%r14), %rcx
	movq	%rcx, (%rax,%r13)
	decq	%r12
	leaq	-1(%rbx), %rcx
	incq	%rbx
	cmpq	$2, %rbx
	movq	%rcx, %rbx
	ja	LBB0_3
LBB0_4:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movl	$7, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_MIN
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	jmp	LBB0_7
LBB0_5:
	xorl	%r14d, %r14d
LBB0_7:
	movq	8(%r15), %rax
	movq	%r14, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OLD_EVENTS,4,2             ## @MAX_OLD_EVENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_call                     ; -- Begin function event_call
	.p2align	2
_event_call:                            ; @event_call
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	and	w8, w0, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	x4, [x21]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	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
	br	x4
LBB0_2:
	ldr	x23, [x21, #8]
	ldr	w0, [x23, #16]
	bl	_hc_thread_mutex_lock
	ldr	x8, [x21]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	blr	x8
	ldr	w0, [x23, #16]
	bl	_hc_thread_mutex_unlock
Lloh0:
	adrp	x8, _MAX_OLD_EVENTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_OLD_EVENTS@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	cmp	w21, #2
	b.lt	LBB0_5
; %bb.3:
	ldr	x8, [x23, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x22, x21, #1
	ldr	x9, [x23]
	and	x10, x22, #0xffffffff
	lsl	x24, x10, #3
	ldr	x0, [x9, x24]
	sub	w10, w21, #2
	lsl	x25, x10, #3
	ldr	x1, [x9, x25]
	ldr	x2, [x8, x25]
	bl	_memcpy
	ldr	x8, [x23, #8]
	ldr	x9, [x8, x25]
	str	x9, [x8, x24]
	cmp	x21, #2
	mov	x21, x22
	b.hi	LBB0_4
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	w1, #7
	bl	_MIN
	mov	x20, x0
	ldr	x8, [x23]
	ldr	x0, [x8]
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	b	LBB0_8
LBB0_7:
	mov	x20, #0
LBB0_8:
	ldr	x8, [x23, #8]
	str	x20, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OLD_EVENTS,4,2             ; @MAX_OLD_EVENTS
.subsections_via_symbols
