	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_perf_event__process_comm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_process_sample_event@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	8(%rdi), %r14
	movl	$1, 8(%rdi)
	movl	%eax, 12(%rdi)
	movl	%ecx, 16(%rdi)
	movl	32(%rdi), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_perf_session__new
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_perf_session__has_traces
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	movl	20(%rbx), %edi
	callq	_get_cpu_isa
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:
	cmpl	$1, %r15d
	jne	LBB0_9
## %bb.8:
	movq	_vmx_exit_reasons@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 28(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 24(%rbx)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rbx)
LBB0_9:
	movl	20(%rbx), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_perf_session__process_events   ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_4:
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initializing perf session failed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"kvm record"

	.comm	_vmx_exit_reasons,4,2           ## @vmx_exit_reasons
L_.str.2:                               ## @.str.2
	.asciz	"VMX"

	.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _perf_event__process_comm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _perf_event__process_comm@GOTPAGEOFF]
Lloh2:
	adrp	x9, _process_sample_event@GOTPAGE
Lloh3:
	ldr	x9, [x9, _process_sample_event@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1
	mov	x20, x0
	stp	w10, w8, [x20, #8]!
	str	w9, [x20, #8]
	ldr	w0, [x20, #24]
Lloh6:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x20
	bl	_perf_session__new
	str	w0, [x20, #12]
	cbz	w0, LBB0_6
; %bb.1:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_perf_session__has_traces
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w0, [x19, #20]
	bl	_get_cpu_isa
	tbnz	w0, #31, LBB0_8
; %bb.3:
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _vmx_exit_reasons@GOTPAGE
Lloh12:
	ldr	x8, [x8, _vmx_exit_reasons@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	str	w0, [x19, #28]
	bl	_ARRAY_SIZE
	str	w0, [x19, #24]
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x19]
LBB0_5:
	ldr	w0, [x19, #20]
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_perf_session__process_events
LBB0_6:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_7:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, 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	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initializing perf session failed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"kvm record"

	.comm	_vmx_exit_reasons,4,2           ; @vmx_exit_reasons
l_.str.2:                               ; @.str.2
	.asciz	"VMX"

	.no_dead_strip	_read_events
.subsections_via_symbols
