	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_dump_from_event          ## -- Begin function event_dump_from_event
	.p2align	4, 0x90
_event_dump_from_event:                 ## @event_dump_from_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_32
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%edi, %edi
	cmpl	%edx, (%r12)
	sete	%dil
	callq	_assert
	cmpl	$0, (%r15)
	jle	LBB0_32
## %bb.2:
	movq	_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %r13d
	xorl	%ebx, %ebx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_32
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_has_field
	testq	%rax, %rax
	je	LBB0_31
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_has_field
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rax
	movslq	4(%r12), %rcx
	movq	(%rax,%rcx,8), %r14
	movb	$1, %r15b
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rsi
	movl	(%rax,%rbx,4), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	ja	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	movl	$0, %eax
	testl	%r13d, %r13d
	jle	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx,%rax,4), %edx
	cmpq	%rdx, %rbx
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_18
	jmp	LBB0_25
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_GET_FIELD
	movq	%rax, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_28
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	movl	$0, %eax
	testl	%r13d, %r13d
	jle	LBB0_26
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx,%rax,4), %edx
	cmpq	%rdx, %rbx
	je	LBB0_26
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_14
	jmp	LBB0_27
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_GET_LONG
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	$8, %r14d
	jmp	LBB0_28
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_GET_INT
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$4, %r14d
	jmp	LBB0_28
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_GET_DOUBLE
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r14)
	movl	$8, %r14d
	jmp	LBB0_28
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r13d, %eax
	jne	LBB0_29
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_GET_STRING
	movl	%eax, %edi
	callq	_tmp_mem_strdup
	movq	8(%r12), %rcx
	movslq	4(%r12), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, (%rcx)
	movq	8(%r12), %rax
	movq	(%rax,%rdx,8), %rax
	movq	(%rax), %rdi
	callq	_strlen
	movl	%eax, %r14d
	incl	%r14d
	jmp	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r13d, %eax
	jne	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_GET_RAW
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_RAW_RLEN
	movl	%eax, %r14d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_tmp_mem_dup
	movq	8(%r12), %rcx
	movslq	4(%r12), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, (%rcx)
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %eax
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r13d, %eax
	sete	%al
	andb	%al, %r15b
	cmpb	$1, %r15b
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rax
	movslq	4(%r12), %rcx
	movl	%ebx, (%rax,%rcx,4)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	24(%r12), %rcx
	movslq	4(%r12), %rdx
	movl	%eax, (%rcx,%rdx,4)
	addl	%r14d, 32(%r12)
	incl	4(%r12)
	jmp	LBB0_31
LBB0_32:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_21
	.long	L0_0_set_20
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.comm	_types,8,3                      ## @types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_dump_from_event          ; -- Begin function event_dump_from_event
	.p2align	2
_event_dump_from_event:                 ; @event_dump_from_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_35
; %bb.1:
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, w2
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_35
; %bb.2:
	mov	x22, #0
Lloh0:
	adrp	x8, _types@GOTPAGE
Lloh1:
	ldr	x8, [x8, _types@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x26, [x8, w23, sxtw #3]
	ldr	w27, [x21, #4]
Lloh3:
	adrp	x25, lJTI0_0@PAGE
Lloh4:
	add	x25, x25, lJTI0_0@PAGEOFF
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_35
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	mov	x0, x20
	mov	x1, x22
	bl	_has_field
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x19, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_has_field
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x26, x22, lsl #2
	ldr	w8, [x1]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldrsw	x9, [x21, #4]
	ldr	x24, [x8, x9, lsl #3]
	mov	w28, #1
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x26, x22, lsl #2
	ldr	w8, [x23]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_11
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w27, #1
	b.lt	LBB0_25
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	x9, [x21, #16]
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9, x8, lsl #2]
	cmp	x22, x10
	b.eq	LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x8, x8, #1
	cmp	x27, x8
	b.ne	LBB0_13
	b	LBB0_27
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_GET_FIELD
	mov	x24, x0
	mov	w28, #0
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	b	LBB0_32
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w27, #1
	b.lt	LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	x9, [x21, #16]
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9, x8, lsl #2]
	cmp	x22, x10
	b.eq	LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x8, x8, #1
	cmp	x27, x8
	b.ne	LBB0_19
	b	LBB0_31
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_GET_LONG
	ldr	x8, [x0]
	str	x8, [x24]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_GET_INT
	ldr	w8, [x0]
	str	w8, [x24]
	mov	w24, #4
	b	LBB0_32
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_GET_DOUBLE
	ldr	d0, [x0]
	str	d0, [x24]
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #8
	b	LBB0_32
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w27
	b.ne	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_GET_STRING
	bl	_tmp_mem_strdup
	ldr	x8, [x21, #8]
	ldrsw	x9, [x21, #4]
	lsl	x9, x9, #3
	ldr	x8, [x8, x9]
	str	x0, [x8]
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x9]
	ldr	x0, [x8]
	bl	_strlen
	add	w24, w0, #1
	b	LBB0_32
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	cmp	w8, w27
	b.eq	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	b	LBB0_33
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cmp	w8, w27
	b.ne	LBB0_29
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_GET_RAW
	mov	x19, x26
	mov	x26, x25
	mov	x25, x0
	bl	_RAW_RLEN
	mov	x24, x0
	mov	x0, x25
	mov	x25, x26
	mov	x26, x19
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_tmp_mem_dup
	ldr	x8, [x21, #8]
	ldrsw	x9, [x21, #4]
	ldr	x8, [x8, x9, lsl #3]
	str	x0, [x8]
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x27
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w27
	cset	w8, eq
	and	w8, w28, w8
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x21, #4]
	ldp	x9, x10, [x21, #16]
	str	w22, [x9, x8, lsl #2]
	ldr	w8, [x23]
	ldrsw	x9, [x21, #4]
	str	w8, [x10, x9, lsl #2]
	ldr	w8, [x21, #32]
	add	w8, w8, w24
	str	w8, [x21, #32]
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_3
LBB0_35:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_17-LBB0_11)>>2
	.byte	(LBB0_21-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
	.byte	(LBB0_23-LBB0_11)>>2
                                        ; -- End function
	.comm	_types,8,3                      ; @types
.subsections_via_symbols
