	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tracing_data_get               ## -- Begin function tracing_data_get
	.p2align	4, 0x90
_tracing_data_get:                      ## @tracing_data_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	_output_fd@GOTPCREL(%rip), %r13
	movl	%esi, (%r13)
	callq	_get_tracepoints_path
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	$24, %edi
	callq	_malloc_or_die
	movq	%rax, %r12
	movl	%ebx, (%rax)
	movq	$0, 8(%rax)
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.3:
	movl	16(%r12), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movl	16(%r12), %edi
	callq	_mkstemp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_5:
	movl	16(%r12), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:
	movl	16(%r12), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_7:
	movl	%ebx, (%r13)
	xorl	%eax, %eax
	callq	_tracing_data_header
	xorl	%eax, %eax
	callq	_read_header_files
	movq	%r14, %rdi
	callq	_read_ftrace_files
	movq	%r14, %rdi
	callq	_read_event_files
	xorl	%eax, %eax
	callq	_read_proc_kallsyms
	xorl	%eax, %eax
	callq	_read_ftrace_printk
	movl	(%r13), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	movq	%rax, 8(%r12)
	movl	(%r13), %edi
	callq	_close
	movl	%r15d, (%r13)
	jmp	LBB0_9
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	callq	_tracing_data_header
	xorl	%eax, %eax
	callq	_read_header_files
	movq	%r14, %rdi
	callq	_read_ftrace_files
	movq	%r14, %rdi
	callq	_read_event_files
	xorl	%eax, %eax
	callq	_read_proc_kallsyms
	xorl	%eax, %eax
	callq	_read_ftrace_printk
LBB0_9:
	movq	%r14, %rdi
	callq	_put_tracepoints_path
LBB0_10:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_output_fd,4,2                  ## @output_fd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/tmp/perf-XXXXXX"

L_.str.1:                               ## @.str.1
	.asciz	"Can't make temp file"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.2:                               ## @.str.2
	.asciz	"Can't read '%s'"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tracing_data_get               ; -- Begin function tracing_data_get
	.p2align	2
_tracing_data_get:                      ; @tracing_data_get
	.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	x22, x2
	mov	x21, x1
Lloh0:
	adrp	x23, _output_fd@GOTPAGE
Lloh1:
	ldr	x23, [x23, _output_fd@GOTPAGEOFF]
	str	w1, [x23]
	bl	_get_tracepoints_path
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	w0, #24
	bl	_malloc_or_die
	mov	x20, x0
	str	w22, [x0]
	str	xzr, [x0, #8]
	cbz	w22, LBB0_8
; %bb.2:
	ldr	w0, [x20, #16]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	w0, [x20, #16]
	bl	_mkstemp
	cbnz	w0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_4:
	ldr	w0, [x20, #16]
Lloh6:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_open
	mov	x22, x0
	tbz	w0, #31, LBB0_6
; %bb.5:
	ldr	w8, [x20, #16]
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_6:
	str	w22, [x23]
	bl	_tracing_data_header
	bl	_read_header_files
	mov	x0, x19
	bl	_read_ftrace_files
	mov	x0, x19
	bl	_read_event_files
	bl	_read_proc_kallsyms
	bl	_read_ftrace_printk
	ldr	w0, [x23]
Lloh11:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	str	x0, [x20, #8]
	ldr	w0, [x23]
	bl	_close
	str	w21, [x23]
	b	LBB0_9
LBB0_7:
	mov	x20, #0
	b	LBB0_10
LBB0_8:
	bl	_tracing_data_header
	bl	_read_header_files
	mov	x0, x19
	bl	_read_ftrace_files
	mov	x0, x19
	bl	_read_event_files
	bl	_read_proc_kallsyms
	bl	_read_ftrace_printk
LBB0_9:
	mov	x0, x19
	bl	_put_tracepoints_path
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_output_fd,4,2                  ; @output_fd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/tmp/perf-XXXXXX"

l_.str.1:                               ; @.str.1
	.asciz	"Can't make temp file"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.2:                               ; @.str.2
	.asciz	"Can't read '%s'"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
.subsections_via_symbols
