	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_format__new              ## -- Begin function event_format__new
	.p2align	4, 0x90
_event_format__new:                     ## @event_format__new
	.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	%rsi, %r8
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	_tracing_events_path@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rcx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_12
## %bb.3:
	movl	%eax, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %rbx
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %r12
	addq	%rbx, %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_realloc
	movq	%rax, %r13
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	testq	%r13, %r13
	jne	LBB0_7
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %r13
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rbx,%r13), %rsi
	movq	(%rax), %rdx
	movl	%r15d, %edi
	callq	_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ecx
	addq	%rcx, %rbx
	movq	%r13, %r14
	testl	%eax, %eax
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	jne	LBB0_4
## %bb.9:
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_pevent_parse_format
LBB0_10:
	movq	%r13, %r14
LBB0_11:
	movq	%r14, %rdi
	callq	_free
	movl	%r15d, %edi
	callq	_close
LBB0_12:
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-48(%rbp), %rax
	jmp	LBB0_13
LBB0_1:
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s/%s/format"

	.comm	_tracing_events_path,4,2        ## @tracing_events_path
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_BUFSIZ,8,3                     ## @BUFSIZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_format__new              ; -- Begin function event_format__new
	.p2align	2
_event_format__new:                     ; @event_format__new
	.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	x4, x1
	mov	x19, x0
	str	xzr, [sp]
Lloh0:
	adrp	x8, _tracing_events_path@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tracing_events_path@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x3, x19
	bl	_asprintf
	tbnz	x0, #63, LBB0_11
; %bb.1:
	ldr	x0, [sp, #8]
Lloh5:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_10
; %bb.2:
	mov	x20, x0
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
Lloh8:
	adrp	x24, _BUFSIZ@GOTPAGE
Lloh9:
	ldr	x24, [x24, _BUFSIZ@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, x23
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	add	x23, x8, x22
	mov	x0, x21
	mov	x1, x23
	bl	_realloc
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x21, x22
	ldr	x2, [x24]
	mov	x0, x20
	bl	_read
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, w0, uxtw
	cbnz	w0, LBB0_3
; %bb.8:
	mov	x0, sp
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	bl	_pevent_parse_format
LBB0_9:
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_close
LBB0_10:
	ldr	x0, [sp, #8]
	bl	_free
	ldr	x0, [sp]
	b	LBB0_12
LBB0_11:
	mov	x0, #0
LBB0_12:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s/%s/format"

	.comm	_tracing_events_path,4,2        ; @tracing_events_path
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_BUFSIZ,8,3                     ; @BUFSIZ
.subsections_via_symbols
