	.file	"extr_evlist.c_perf_evlist__add_default.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cycles"
	.text
	.p2align 4
	.globl	perf_evlist__add_default
	.type	perf_evlist__add_default, @function
perf_evlist__add_default:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR PERF_COUNT_HW_CPU_CYCLES[rip]
	mov	rbp, rsp
	mov	rdi, rbp
	mov	DWORD PTR [rsp], eax
	mov	eax, DWORD PTR PERF_TYPE_HARDWARE[rip]
	mov	DWORD PTR 4[rsp], eax
	call	event_attr_init@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	perf_evsel__new@PLT
	test	rax, rax
	je	.L2
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	call	strdup@PLT
	mov	DWORD PTR 0[rbp], eax
	test	eax, eax
	je	.L11
	mov	rsi, rbp
	mov	rdi, r12
	call	perf_evlist__add@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	call	perf_evsel__delete@PLT
.L2:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	perf_evlist__add_default, .-perf_evlist__add_default
	.comm	PERF_TYPE_HARDWARE,4,4
	.comm	PERF_COUNT_HW_CPU_CYCLES,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_evlist.c_perf_evlist__add_default.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cycles\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	perf_evlist__add_default
	.syntax unified
	.arm
	.fpu softvfp
	.type	perf_evlist__add_default, %function
perf_evlist__add_default:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r1, .L13
	ldr	r2, .L13+4
	sub	sp, sp, #20
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, .L13+8
	mov	r5, r0
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	stmib	sp, {r1, r2}
	bl	event_attr_init
	mov	r1, #0
	add	r0, sp, #4
	bl	perf_evsel__new
	subs	r4, r0, #0
	beq	.L2
	ldr	r0, .L13+12
	bl	strdup
	cmp	r0, #0
	str	r0, [r4]
	beq	.L11
	mov	r1, r4
	mov	r0, r5
	bl	perf_evlist__add
	mov	r0, #0
.L1:
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	mov	r0, r4
	bl	perf_evsel__delete
.L2:
	ldr	r3, .L13+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	PERF_COUNT_HW_CPU_CYCLES
	.word	PERF_TYPE_HARDWARE
	.word	.LC1
	.word	.LC0
	.word	ENOMEM
	.size	perf_evlist__add_default, .-perf_evlist__add_default
	.comm	PERF_TYPE_HARDWARE,4,4
	.comm	PERF_COUNT_HW_CPU_CYCLES,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
