	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_update_event             ## -- Begin function event_update_event
	.p2align	4, 0x90
_event_update_event:                    ## @event_update_event
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_tmp_mem_init
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_event_dump_init
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	callq	_event_dump_from_event
	notl	%eax
	shrl	$31, %eax
	movl	%eax, %edi
	callq	_assert
	cmpq	$0, -40(%rbp)
	je	LBB0_3
## %bb.2:
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_event_dump_from_event
	movq	%rbx, %rdi
	callq	_create_event
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
LBB0_3:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_update_event             ; -- Begin function event_update_event
	.p2align	2
_event_update_event:                    ; @event_update_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	bl	_tmp_mem_init
	add	x0, sp, #8
	mov	x1, x20
	bl	_event_dump_init
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_event_dump_from_event
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_assert
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	mov	x3, #0
	bl	_event_dump_from_event
	add	x0, sp, #8
	bl	_create_event
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
LBB0_3:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
