	.file	"extr_evsel.c_perf_event_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"sys_perf_event_open: pid %d  cpu %d  group_fd %d  flags %#lx"
	.align 8
.LC1:
	.string	"\nsys_perf_event_open failed, error %d\n"
	.align 8
.LC2:
	.string	"decreasing precise_ip by one (%d)\n"
	.text
	.p2align 4
	.type	perf_event_open, @function
perf_event_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR [rdi]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	ecx, DWORD PTR 4[rbx]
	test	ecx, ecx
	je	.L1
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	je	.L7
	mov	esi, DWORD PTR ENOTSUP[rip]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	neg	esi
	call	pr_debug2@PLT
	mov	eax, DWORD PTR [rbx]
	lea	rdi, .LC2[rip]
	lea	esi, -1[rax]
	xor	eax, eax
	mov	DWORD PTR [rbx], esi
	call	pr_debug2@PLT
	mov	rdi, rbx
	call	display_attr@PLT
.L4:
	mov	r8, rbp
	mov	ecx, r12d
	mov	edx, r13d
	mov	esi, r14d
	mov	rdi, r15
	xor	eax, eax
	call	pr_debug2@PLT
	mov	r8, rbp
	mov	ecx, r12d
	mov	edx, r13d
	mov	esi, r14d
	mov	rdi, rbx
	call	sys_perf_event_open@PLT
	test	eax, eax
	js	.L8
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, DWORD PTR 12[rsp]
	mov	DWORD PTR [rbx], edx
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	perf_event_open, .-perf_event_open
	.comm	ENOTSUP,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_event_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sys_perf_event_open: pid %d  cpu %d  group_fd %d  f"
	.ascii	"lags %#lx\000"
	.align	2
.LC1:
	.ascii	"\012sys_perf_event_open failed, error %d\012\000"
	.align	2
.LC2:
	.ascii	"decreasing precise_ip by one (%d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	perf_event_open, %function
perf_event_open:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	ldr	r3, [r0]
	sub	sp, sp, #20
	mov	r4, r0
	mov	r7, r1
	mov	r6, r2
	ldr	r8, [sp, #56]
	ldr	r9, .L14
	ldr	fp, .L14+4
	ldr	r10, .L14+8
	str	r3, [sp, #12]
	b	.L4
.L13:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L1
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L12
	ldr	r1, [fp]
	mov	r0, r10
	rsb	r1, r1, #0
	bl	pr_debug2
	ldr	r1, [r4]
	ldr	r0, .L14+12
	sub	r1, r1, #1
	str	r1, [r4]
	bl	pr_debug2
	mov	r0, r4
	bl	display_attr
.L4:
	mov	r3, r5
	mov	r2, r6
	mov	r1, r7
	mov	r0, r9
	str	r8, [sp]
	bl	pr_debug2
	mov	r3, r5
	mov	r2, r6
	mov	r1, r7
	mov	r0, r4
	str	r8, [sp]
	bl	sys_perf_event_open
	cmp	r0, #0
	blt	.L13
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	ldr	r3, [sp, #12]
	str	r3, [r4]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	ENOTSUP
	.word	.LC1
	.word	.LC2
	.size	perf_event_open, .-perf_event_open
	.comm	ENOTSUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
