	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_read_print
_event_read_print:                      ## @event_read_print
	.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	%rdi, %r13
	movq	_EVENT_ITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_read_expected_item
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_13
## %bb.1:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_read_expected
	testq	%rax, %rax
	js	LBB0_13
## %bb.2:
	movq	_EVENT_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_read_expected
	testq	%rax, %rax
	js	LBB0_13
## %bb.3:
	movq	_EVENT_DQUOTE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-48(%rbp), %rsi
	callq	_read_expect_type
	testq	%rax, %rax
	js	LBB0_12
## %bb.4:
	movq	-48(%rbp), %rax
	movq	%rax, (%r13)
	movq	$0, 8(%r13)
	leaq	-48(%rbp), %rdi
	callq	_read_token_item
	movq	_EVENT_NONE@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	je	LBB0_5
## %bb.6:
	leaq	8(%r13), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rdx
	movq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi
	callq	_free_token
	movq	(%r13), %rdi
	callq	_free_token
	movq	-64(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	%rax, (%r13)
	movq	$0, 8(%r13)
	leaq	-48(%rbp), %rdi
	callq	_read_token_item
	cmpl	(%r12), %eax
	jne	LBB0_7
LBB0_5:
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_11:
	movq	-48(%rbp), %rsi
	movq	_EVENT_DELIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.4(%rip), %rcx
	movl	%eax, %edi
	callq	_test_type_token
	testq	%rax, %rax
	je	LBB0_14
LBB0_12:
	movq	-48(%rbp), %rdi
	callq	_free_token
LBB0_13:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	-48(%rbp), %rdi
	callq	_free_token
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_event_read_print_args
	testl	%eax, %eax
	movl	$-1, %r14d
	cmovnsl	%eax, %r14d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_ITEM,4,2                 ## @EVENT_ITEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"print"

L_.str.1:                               ## @.str.1
	.asciz	"fmt"

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

	.comm	_EVENT_DQUOTE,4,2               ## @EVENT_DQUOTE
	.comm	_EVENT_NONE,4,2                 ## @EVENT_NONE
L_.str.3:                               ## @.str.3
	.asciz	"%s%s"

	.comm	_EVENT_DELIM,4,2                ## @EVENT_DELIM
L_.str.4:                               ## @.str.4
	.asciz	","

	.no_dead_strip	_event_read_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_read_print
_event_read_print:                      ; @event_read_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _EVENT_ITEM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EVENT_ITEM@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_read_expected_item
	tbnz	x0, #63, LBB0_12
; %bb.1:
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_read_expected
	tbnz	x0, #63, LBB0_12
; %bb.2:
Lloh6:
	adrp	x8, _EVENT_OP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVENT_OP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_read_expected
	tbnz	x0, #63, LBB0_12
; %bb.3:
Lloh11:
	adrp	x22, _EVENT_DQUOTE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _EVENT_DQUOTE@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_read_expect_type
	tbnz	x0, #63, LBB0_11
; %bb.4:
	mov	x20, x19
	str	xzr, [x20, #8]!
	ldr	x8, [sp, #8]
	str	x8, [x19]
	add	x0, sp, #8
	bl	_read_token_item
Lloh13:
	adrp	x23, _EVENT_NONE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _EVENT_NONE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
	mov	w8, #0
	b	LBB0_13
LBB0_6:
Lloh15:
	adrp	x21, l_.str.3@PAGE
Lloh16:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x2, [x19]
	ldr	x3, [sp, #8]
	mov	x0, sp
	mov	x1, x21
	bl	_asprintf
	tbnz	x0, #63, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #8]
	bl	_free_token
	ldr	x0, [x19]
	bl	_free_token
	ldr	x8, [sp]
	str	x8, [sp, #8]
	stp	x8, xzr, [x19]
	add	x0, sp, #8
	bl	_read_token_item
	mov	w8, #0
	ldr	w9, [x23]
	cmp	w0, w9
	b.ne	LBB0_7
	b	LBB0_13
LBB0_10:
	ldr	x1, [sp, #8]
Lloh17:
	adrp	x8, _EVENT_DELIM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EVENT_DELIM@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x3, l_.str.4@PAGE
Lloh21:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_test_type_token
	cbz	x0, LBB0_14
LBB0_11:
	ldr	x0, [sp, #8]
	bl	_free_token
LBB0_12:
	mov	w8, #-1
LBB0_13:
	mov	x0, 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
	add	sp, sp, #80
	ret
LBB0_14:
	ldr	x0, [sp, #8]
	bl	_free_token
	mov	x0, x19
	mov	x1, x20
	bl	_event_read_print_args
	cmp	w0, #0
	csinv	w8, w0, wzr, ge
	b	LBB0_13
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_ITEM,4,2                 ; @EVENT_ITEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"print"

l_.str.1:                               ; @.str.1
	.asciz	"fmt"

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

	.comm	_EVENT_DQUOTE,4,2               ; @EVENT_DQUOTE
	.comm	_EVENT_NONE,4,2                 ; @EVENT_NONE
l_.str.3:                               ; @.str.3
	.asciz	"%s%s"

	.comm	_EVENT_DELIM,4,2                ; @EVENT_DELIM
l_.str.4:                               ; @.str.4
	.asciz	","

	.no_dead_strip	_event_read_print
.subsections_via_symbols
