	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_evlist__add_default       ## -- Begin function perf_evlist__add_default
	.p2align	4, 0x90
_perf_evlist__add_default:              ## @perf_evlist__add_default
	.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, %r14
	movq	_PERF_COUNT_HW_CPU_CYCLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_PERF_TYPE_HARDWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_event_attr_init
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_perf_evsel__new
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_strdup
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_perf_evlist__add
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_perf_evsel__delete
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	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_COUNT_HW_CPU_CYCLES,4,2   ## @PERF_COUNT_HW_CPU_CYCLES
	.comm	_PERF_TYPE_HARDWARE,4,2         ## @PERF_TYPE_HARDWARE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cycles"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_evlist__add_default       ; -- Begin function perf_evlist__add_default
	.p2align	2
_perf_evlist__add_default:              ; @perf_evlist__add_default
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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_COUNT_HW_CPU_CYCLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_COUNT_HW_CPU_CYCLES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PERF_TYPE_HARDWARE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PERF_TYPE_HARDWARE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	add	x0, sp, #8
	bl	_event_attr_init
	add	x0, sp, #8
	mov	w1, #0
	bl	_perf_evsel__new
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strdup
	str	w0, [x20]
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_perf_evlist__add
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_perf_evsel__delete
LBB0_4:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_COUNT_HW_CPU_CYCLES,4,2   ; @PERF_COUNT_HW_CPU_CYCLES
	.comm	_PERF_TYPE_HARDWARE,4,2         ; @PERF_TYPE_HARDWARE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cycles"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
