	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_evsel__process_alloc_event
_perf_evsel__process_alloc_event:       ## @perf_evsel__process_alloc_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	%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
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdx
	callq	_perf_evsel__intval
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_perf_evsel__intval
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_perf_evsel__intval
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_perf_evsel__intval
	movq	%rax, %r12
	movl	(%rbx), %r8d
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	callq	_insert_alloc_stat
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_insert_caller_stat
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_total_requested@GOTPCREL(%rip), %rax
	addl	%r14d, (%rax)
	movq	_total_allocated@GOTPCREL(%rip), %rax
	addl	%r12d, (%rax)
	movq	_nr_allocs@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ptr"

L_.str.1:                               ## @.str.1
	.asciz	"call_site"

L_.str.2:                               ## @.str.2
	.asciz	"bytes_req"

L_.str.3:                               ## @.str.3
	.asciz	"bytes_alloc"

	.comm	_total_requested,4,2            ## @total_requested
	.comm	_total_allocated,4,2            ## @total_allocated
	.comm	_nr_allocs,4,2                  ## @nr_allocs
	.no_dead_strip	_perf_evsel__process_alloc_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_evsel__process_alloc_event
_perf_evsel__process_alloc_event:       ; @perf_evsel__process_alloc_event
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_perf_evsel__intval
	mov	x23, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_perf_evsel__intval
	mov	x20, x0
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_perf_evsel__intval
	mov	x19, x0
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_perf_evsel__intval
	mov	x21, x0
	ldr	w4, [x22]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	mov	x3, x21
	bl	_insert_alloc_stat
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_insert_caller_stat
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _total_requested@GOTPAGE
Lloh9:
	ldr	x8, [x8, _total_requested@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w19
	str	w9, [x8]
Lloh10:
	adrp	x8, _total_allocated@GOTPAGE
Lloh11:
	ldr	x8, [x8, _total_allocated@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w21
	str	w9, [x8]
Lloh12:
	adrp	x8, _nr_allocs@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nr_allocs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ptr"

l_.str.1:                               ; @.str.1
	.asciz	"call_site"

l_.str.2:                               ; @.str.2
	.asciz	"bytes_req"

l_.str.3:                               ; @.str.3
	.asciz	"bytes_alloc"

	.comm	_total_requested,4,2            ; @total_requested
	.comm	_total_allocated,4,2            ; @total_allocated
	.comm	_nr_allocs,4,2                  ; @nr_allocs
	.no_dead_strip	_perf_evsel__process_alloc_event
.subsections_via_symbols
