	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_events
_read_events:                           ## @read_events
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	$1, -24(%rbp)
	movq	_perf_event__process_comm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_process_sample_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_input_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_perf_session__new
	movq	_session@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_lock_tracepoints@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_perf_session__set_tracepoints_handlers
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	_pr_err
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_5:
	movl	(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_perf_session__process_events
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_perf_event__process_comm,4,2   ## @perf_event__process_comm
	.comm	_process_sample_event,4,2       ## @process_sample_event
	.comm	_input_name,4,2                 ## @input_name
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_session,4,2                    ## @session
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initializing perf session failed\n"

	.comm	_lock_tracepoints,4,2           ## @lock_tracepoints
L_.str.1:                               ## @.str.1
	.asciz	"Initializing perf session tracepoint handlers failed\n"

	.no_dead_strip	_read_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_events
_read_events:                           ; @read_events
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w8, #1
Lloh0:
	adrp	x9, _perf_event__process_comm@GOTPAGE
Lloh1:
	ldr	x9, [x9, _perf_event__process_comm@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
Lloh3:
	adrp	x8, _process_sample_event@GOTPAGE
Lloh4:
	ldr	x8, [x8, _process_sample_event@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, _input_name@GOTPAGE
Lloh7:
	ldr	x8, [x8, _input_name@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x4, sp
	mov	w2, #0
	mov	w3, #0
	bl	_perf_session__new
Lloh12:
	adrp	x19, _session@GOTPAGE
Lloh13:
	ldr	x19, [x19, _session@GOTPAGEOFF]
	str	w0, [x19]
	cbz	w0, LBB0_3
; %bb.1:
Lloh14:
	adrp	x8, _lock_tracepoints@GOTPAGE
Lloh15:
	ldr	x8, [x8, _lock_tracepoints@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_perf_session__set_tracepoints_handlers
	cbz	x0, LBB0_5
; %bb.2:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_pr_err
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
	mov	x1, sp
	bl	_perf_session__process_events
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_perf_event__process_comm,4,2   ; @perf_event__process_comm
	.comm	_process_sample_event,4,2       ; @process_sample_event
	.comm	_input_name,4,2                 ; @input_name
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_session,4,2                    ; @session
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initializing perf session failed\n"

	.comm	_lock_tracepoints,4,2           ; @lock_tracepoints
l_.str.1:                               ; @.str.1
	.asciz	"Initializing perf session tracepoint handlers failed\n"

	.no_dead_strip	_read_events
.subsections_via_symbols
