	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __intel_pmu_pebs_event
___intel_pmu_pebs_event:                ## @__intel_pmu_pebs_event
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_intel_pmu_save_and_restart
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_perf_sample_data_init
	movl	4(%r14), %eax
	movl	%eax, -32(%rbp)
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	cmpl	$2, (%r14)
	jl	LBB0_4
## %bb.2:
	leaq	-48(%rbp), %rdi
	callq	_intel_pmu_pebs_fixup_ip
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_PERF_EFLAGS_EXACT@GOTPCREL(%rip), %rcx
	movl	-48(%rbp), %eax
	orl	(%rcx), %eax
	jmp	LBB0_5
LBB0_4:
	movq	_PERF_EFLAGS_EXACT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-48(%rbp), %eax
LBB0_5:
	movl	%eax, -48(%rbp)
	leaq	-32(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_perf_event_overflow
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_x86_pmu_stop
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_EFLAGS_EXACT,4,2          ## @PERF_EFLAGS_EXACT
	.no_dead_strip	___intel_pmu_pebs_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __intel_pmu_pebs_event
___intel_pmu_pebs_event:                ; @__intel_pmu_pebs_event
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_intel_pmu_save_and_restart
	cbz	w0, LBB0_7
; %bb.1:
	add	x0, sp, #24
	mov	w1, #0
	bl	_perf_sample_data_init
	ldp	w9, w10, [x19]
	ldr	w8, [x21]
	str	w8, [sp, #8]
	ldr	w8, [x20, #8]
	stp	w8, w10, [sp, #20]
	ldr	d0, [x20]
	stur	d0, [sp, #12]
	cmp	w9, #2
	b.lt	LBB0_4
; %bb.2:
	add	x0, sp, #8
	bl	_intel_pmu_pebs_fixup_ip
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _PERF_EFLAGS_EXACT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_EFLAGS_EXACT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _PERF_EFLAGS_EXACT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERF_EFLAGS_EXACT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	bic	w8, w9, w8
LBB0_5:
	str	w8, [sp, #8]
	add	x1, sp, #24
	add	x2, sp, #8
	mov	x0, x19
	bl	_perf_event_overflow
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	w1, #0
	bl	_x86_pmu_stop
LBB0_7:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_EFLAGS_EXACT,4,2          ; @PERF_EFLAGS_EXACT
	.no_dead_strip	___intel_pmu_pebs_event
.subsections_via_symbols
