	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function __cmd_timechart
LCPI0_0:
	.quad	0x41cdcd6500000000              ## double 1.0E+9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
___cmd_timechart:                       ## @__cmd_timechart
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$1, -48(%rbp)
	movq	_process_sample_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_process_exit_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_process_fork_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_process_comm_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_input_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_perf_session__new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_perf_session__has_traces
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_perf_session__process_events
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_end_sample_processing
	xorl	%eax, %eax
	callq	_sort_pids
	movq	%r14, %rdi
	callq	_write_svg_file
	movq	_last_time@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movq	_first_time@GOTPCREL(%rip), %rax
	subsd	(%rax), %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_pr_info
LBB0_5:
	movq	%r15, %rdi
	callq	_perf_session__delete
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_process_sample_event,4,2       ## @process_sample_event
	.comm	_process_exit_event,4,2         ## @process_exit_event
	.comm	_process_fork_event,4,2         ## @process_fork_event
	.comm	_process_comm_event,4,2         ## @process_comm_event
	.comm	_input_name,4,2                 ## @input_name
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timechart record"

L_.str.1:                               ## @.str.1
	.asciz	"Written %2.1f seconds of trace to %s.\n"

	.comm	_last_time,8,3                  ## @last_time
	.comm	_first_time,8,3                 ## @first_time
	.no_dead_strip	___cmd_timechart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cmd_timechart
___cmd_timechart:                       ; @__cmd_timechart
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	mov	w8, #1
Lloh0:
	adrp	x9, _process_sample_event@GOTPAGE
Lloh1:
	ldr	x9, [x9, _process_sample_event@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
Lloh3:
	adrp	x8, _process_exit_event@GOTPAGE
Lloh4:
	ldr	x8, [x8, _process_exit_event@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _process_fork_event@GOTPAGE
Lloh7:
	ldr	x9, [x9, _process_fork_event@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh9:
	adrp	x8, _process_comm_event@GOTPAGE
Lloh10:
	ldr	x8, [x8, _process_comm_event@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh12:
	adrp	x8, _input_name@GOTPAGE
Lloh13:
	ldr	x8, [x8, _input_name@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	w2, #0
	mov	w3, #0
	bl	_perf_session__new
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_perf_session__has_traces
	cbz	w0, LBB0_5
; %bb.2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_perf_session__process_events
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.3:
	bl	_end_sample_processing
	bl	_sort_pids
	mov	x0, x19
	bl	_write_svg_file
Lloh23:
	adrp	x8, _last_time@GOTPAGE
Lloh24:
	ldr	x8, [x8, _last_time@GOTPAGEOFF]
Lloh25:
	adrp	x9, _first_time@GOTPAGE
Lloh26:
	ldr	x9, [x9, _first_time@GOTPAGEOFF]
Lloh27:
	ldr	d0, [x8]
Lloh28:
	ldr	d1, [x9]
	fsub	d0, d0, d1
	mov	x8, #225833675390976
	movk	x8, #16845, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pr_info
	b	LBB0_6
LBB0_4:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_5:
	neg	w21, w21
LBB0_6:
	mov	x0, x20
	bl	_perf_session__delete
LBB0_7:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_process_sample_event,4,2       ; @process_sample_event
	.comm	_process_exit_event,4,2         ; @process_exit_event
	.comm	_process_fork_event,4,2         ; @process_fork_event
	.comm	_process_comm_event,4,2         ; @process_comm_event
	.comm	_input_name,4,2                 ; @input_name
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timechart record"

l_.str.1:                               ; @.str.1
	.asciz	"Written %2.1f seconds of trace to %s.\n"

	.comm	_last_time,8,3                  ; @last_time
	.comm	_first_time,8,3                 ; @first_time
	.no_dead_strip	___cmd_timechart
.subsections_via_symbols
