	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_read_values__findnew_counter
_perf_read_values__findnew_counter:     ## @perf_read_values__findnew_counter
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movslq	(%rdi), %r13
	movl	%r13d, %r14d
	testq	%r13, %r13
	jle	LBB0_4
## %bb.1:
	movl	%r14d, %eax
	movq	8(%r12), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rdx,%rcx,8)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_2
LBB0_4:
	cmpq	%r13, 16(%r12)
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_perf_read_values__enlarge_counters
	movl	(%r12), %r14d
	movslq	%r14d, %r13
LBB0_6:
	leal	1(%r14), %eax
	movl	%eax, (%r12)
	movq	8(%r12), %rax
	movq	%rbx, (%rax,%r13,8)
	movq	%r15, %rdi
	callq	_strdup
	movq	24(%r12), %rcx
	movl	%eax, (%rcx,%r13,4)
	jmp	LBB0_8
LBB0_7:
	movl	%ecx, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_perf_read_values__findnew_counter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_read_values__findnew_counter
_perf_read_values__findnew_counter:     ; @perf_read_values__findnew_counter
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w22, [x0]
	cmp	w22, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	ldr	x9, [x19, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x8, lsl #3]
	cmp	x10, x21
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x22, x8
	b.ne	LBB0_2
LBB0_4:
	mov	x8, x22
	sxtw	x23, w8
	ldr	x8, [x19, #16]
	cmp	x8, x23
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_perf_read_values__enlarge_counters
	ldr	w22, [x19]
	sxtw	x23, w22
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_6:
	add	w8, w22, #1
	str	w8, [x19]
	ldr	x8, [x19, #8]
	str	x21, [x8, x23, lsl #3]
	mov	x0, x20
	bl	_strdup
	ldr	x8, [x19, #24]
	str	w0, [x8, x23, lsl #2]
	b	LBB0_8
LBB0_7:
	mov	x22, x8
LBB0_8:
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_perf_read_values__findnew_counter
.subsections_via_symbols
