	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_read_name
_event_read_name:                       ## @event_read_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_EVENT_ITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_read_expected
	testq	%rax, %rax
	js	LBB0_4
## %bb.1:
	movq	_EVENT_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_read_expected
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	leaq	-16(%rbp), %rsi
	callq	_read_expect_type
	movq	%rax, %rcx
	movq	-16(%rbp), %rax
	testq	%rcx, %rcx
	jns	LBB0_5
## %bb.3:
	movq	%rax, %rdi
	callq	_free_token
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_ITEM,4,2                 ## @EVENT_ITEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

	.comm	_EVENT_OP,4,2                   ## @EVENT_OP
L_.str.1:                               ## @.str.1
	.asciz	":"

	.no_dead_strip	_event_read_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_read_name
_event_read_name:                       ; @event_read_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _EVENT_ITEM@GOTPAGE
Lloh1:
	ldr	x19, [x19, _EVENT_ITEM@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_read_expected
	tbnz	x0, #63, LBB0_4
; %bb.1:
Lloh4:
	adrp	x8, _EVENT_OP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EVENT_OP@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_read_expected
	tbnz	x0, #63, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_read_expect_type
	mov	x8, x0
	ldr	x0, [sp, #8]
	tbz	x8, #63, LBB0_5
; %bb.3:
	bl	_free_token
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_ITEM,4,2                 ; @EVENT_ITEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

	.comm	_EVENT_OP,4,2                   ; @EVENT_OP
l_.str.1:                               ; @.str.1
	.asciz	":"

	.no_dead_strip	_event_read_name
.subsections_via_symbols
