	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_event
_do_event:                              ## @do_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rsi), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.2:
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	_CONFIG_EVENT_WHITESPACE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.3:
	cmpl	%r15d, (%rbx)
	je	LBB0_8
LBB0_4:
	movq	_cf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	*(%rdi)
	movq	%rax, %r12
	movq	_CONFIG_EVENT_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpl	%r15d, %eax
	setne	%cl
	subq	%rcx, %r12
	movl	(%rbx), %edi
	cmpl	%eax, %edi
	je	LBB0_7
## %bb.5:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rax
	movl	8(%rax), %ecx
	movq	%r12, %rdx
	callq	*(%rax)
	testq	%rax, %rax
	js	LBB0_6
LBB0_7:
	movl	%r15d, (%rbx)
	movq	%r12, 8(%rbx)
	jmp	LBB0_8
LBB0_6:
	movl	$-1, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_EVENT_WHITESPACE,4,2    ## @CONFIG_EVENT_WHITESPACE
	.comm	_cf,8,3                         ## @cf
	.comm	_CONFIG_EVENT_EOF,4,2           ## @CONFIG_EVENT_EOF
	.no_dead_strip	_do_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_event
_do_event:                              ; @do_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CONFIG_EVENT_WHITESPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_EVENT_WHITESPACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, w20
	b.ne	LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _cf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cf@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldr	x8, [x0]
	blr	x8
Lloh6:
	adrp	x8, _CONFIG_EVENT_EOF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONFIG_EVENT_EOF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w20
	cset	w9, ne
	sub	x21, x0, x9
	ldr	w0, [x19]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.6:
	ldp	x1, x8, [x19, #8]
	ldr	x9, [x8]
	ldr	w3, [x8, #8]
	mov	x2, x21
	blr	x9
	tbnz	x0, #63, LBB0_8
LBB0_7:
	mov	w0, #0
	str	w20, [x19]
	str	x21, [x19, #8]
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_EVENT_WHITESPACE,4,2    ; @CONFIG_EVENT_WHITESPACE
	.comm	_cf,8,3                         ; @cf
	.comm	_CONFIG_EVENT_EOF,4,2           ; @CONFIG_EVENT_EOF
	.no_dead_strip	_do_event
.subsections_via_symbols
