	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_session__process_event
_perf_session__process_event:           ## @perf_session__process_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_perf_evlist__sample_id_all
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_event_swap
LBB0_2:
	movq	(%r12), %rsi
	movq	_PERF_RECORD_HEADER_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jge	LBB0_3
## %bb.4:
	leaq	4(%rbx), %rdi
	callq	_hists__inc_nr_events
	movq	(%r12), %rax
	movq	_PERF_RECORD_USER_TYPE_START@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_11
## %bb.5:
	movl	(%rbx), %edi
	leaq	-40(%rbp), %rdx
	movq	%r12, %rsi
	callq	_perf_evlist__parse_sample
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_perf_session__preprocess_sample
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.7:
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %ecx
	callq	_perf_session_queue_event
	movq	_ETIME@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	addl	(%rcx), %edx
	jne	LBB0_10
LBB0_9:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_perf_session_deliver_event
	jmp	LBB0_10
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_perf_session__process_user_event ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_RECORD_HEADER_MAX,8,3     ## @PERF_RECORD_HEADER_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PERF_RECORD_USER_TYPE_START,8,3 ## @PERF_RECORD_USER_TYPE_START
	.comm	_ETIME,4,2                      ## @ETIME
	.no_dead_strip	_perf_session__process_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_session__process_event
_perf_session__process_event:           ; @perf_session__process_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x22]
	bl	_perf_evlist__sample_id_all
	mov	x1, x0
	mov	x0, x21
	bl	_event_swap
LBB0_2:
	ldr	x1, [x21]
Lloh0:
	adrp	x8, _PERF_RECORD_HEADER_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_RECORD_HEADER_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ge	LBB0_7
; %bb.3:
	add	x0, x22, #4
	bl	_hists__inc_nr_events
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _PERF_RECORD_USER_TYPE_START@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PERF_RECORD_USER_TYPE_START@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.4:
	ldr	w0, [x22]
	add	x2, sp, #8
	mov	x1, x21
	bl	_perf_evlist__parse_sample
	cbnz	w0, LBB0_8
; %bb.5:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_perf_session__preprocess_sample
	cbz	x0, LBB0_10
; %bb.6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_perf_session__process_user_event
LBB0_10:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.11:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	bl	_perf_session_queue_event
Lloh9:
	adrp	x8, _ETIME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETIME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_8
LBB0_12:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_perf_session_deliver_event
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_RECORD_HEADER_MAX,8,3     ; @PERF_RECORD_HEADER_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PERF_RECORD_USER_TYPE_START,8,3 ; @PERF_RECORD_USER_TYPE_START
	.comm	_ETIME,4,2                      ; @ETIME
	.no_dead_strip	_perf_session__process_event
.subsections_via_symbols
