	.file	"extr_evsel.c_perf_evsel__newtp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s:%s"
	.text
	.p2align 4
	.globl	perf_evsel__newtp
	.type	perf_evsel__newtp, @function
perf_evsel__newtp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, 16
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	zalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR PERF_SAMPLE_RAW[rip]
	mov	rcx, r13
	mov	rdx, rbp
	mov	rdi, r12
	or	eax, DWORD PTR PERF_SAMPLE_TIME[rip]
	or	eax, DWORD PTR PERF_SAMPLE_CPU[rip]
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 4[rsp], 0
	or	eax, DWORD PTR PERF_SAMPLE_PERIOD[rip]
	mov	DWORD PTR [rsp], eax
	mov	eax, DWORD PTR PERF_TYPE_TRACEPOINT[rip]
	mov	DWORD PTR 12[rsp], eax
	call	asprintf@PLT
	test	rax, rax
	js	.L3
	mov	rsi, r13
	mov	rdi, rbp
	call	event_format__new@PLT
	mov	QWORD PTR 8[r12], rax
	test	rax, rax
	je	.L3
	mov	rbp, rsp
	mov	rdi, rbp
	call	event_attr_init@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	edx, r14d
	mov	rsi, rbp
	mov	rdi, r12
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 4[rsp], 1
	mov	DWORD PTR 8[rsp], eax
	call	perf_evsel__init@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, QWORD PTR [r12]
	call	free@PLT
	mov	rdi, r12
	xor	r12d, r12d
	call	free@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	perf_evsel__newtp, .-perf_evsel__newtp
	.comm	PERF_TYPE_TRACEPOINT,4,4
	.comm	PERF_SAMPLE_TIME,4,4
	.comm	PERF_SAMPLE_RAW,4,4
	.comm	PERF_SAMPLE_PERIOD,4,4
	.comm	PERF_SAMPLE_CPU,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_evsel.c_perf_evsel__newtp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s:%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	perf_evsel__newtp
	.syntax unified
	.arm
	.fpu softvfp
	.type	perf_evsel__newtp, %function
perf_evsel__newtp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L14
	sub	sp, sp, #28
	mov	r5, r0
	mov	r0, #8
	mov	r6, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	zalloc
	subs	r4, r0, #0
	beq	.L1
	mov	r1, #0
	ldr	r3, .L14+4
	ldr	ip, .L14+8
	ldr	r2, .L14+12
	ldr	ip, [ip]
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, ip
	ldr	ip, .L14+16
	orr	r3, r3, r2
	ldr	r2, .L14+20
	ldr	ip, [ip]
	ldr	r2, [r2]
	orr	r3, r3, ip
	str	r3, [sp, #4]
	str	r2, [sp, #16]
	str	r1, [sp, #8]
	str	r1, [sp, #12]
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L14+24
	bl	asprintf
	cmp	r0, #0
	blt	.L3
	mov	r1, r6
	mov	r0, r5
	bl	event_format__new
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L3
	add	r0, sp, #4
	bl	event_attr_init
	mov	r3, #1
	ldr	r2, [r4, #4]
	mov	r0, r4
	ldr	ip, [r2]
	add	r1, sp, #4
	mov	r2, r7
	str	ip, [sp, #12]
	str	r3, [sp, #8]
	bl	perf_evsel__init
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	ldr	r0, [r4]
	bl	free
	mov	r0, r4
	bl	free
	mov	r4, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	PERF_SAMPLE_RAW
	.word	PERF_SAMPLE_TIME
	.word	PERF_SAMPLE_CPU
	.word	PERF_SAMPLE_PERIOD
	.word	PERF_TYPE_TRACEPOINT
	.word	.LC0
	.size	perf_evsel__newtp, .-perf_evsel__newtp
	.comm	PERF_TYPE_TRACEPOINT,4,4
	.comm	PERF_SAMPLE_TIME,4,4
	.comm	PERF_SAMPLE_RAW,4,4
	.comm	PERF_SAMPLE_PERIOD,4,4
	.comm	PERF_SAMPLE_CPU,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
