	.file	"extr_event-parse.c_pevent_find_event_by_name.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pevent_find_event_by_name
	.type	pevent_find_event_by_name, @function
pevent_find_event_by_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rsi
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR 4[rax]
	mov	rsi, rdx
	call	strcmp@PLT
	test	rax, rax
	je	.L20
.L5:
	mov	eax, DWORD PTR [r15]
	xor	ebx, ebx
	xor	ebp, ebp
	test	eax, eax
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[r15]
	mov	rsi, r14
	mov	r13d, ebx
	mov	ebp, ebx
	mov	r12, QWORD PTR [rax+rbx*8]
	mov	edi, DWORD PTR 4[r12]
	call	strcmp@PLT
	test	rax, rax
	jne	.L8
	cmp	QWORD PTR 8[rsp], 0
	je	.L18
	mov	rsi, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [r12]
	call	strcmp@PLT
	test	rax, rax
	je	.L18
.L8:
	mov	eax, DWORD PTR [r15]
	add	rbx, 1
	lea	ebp, 1[r13]
	cmp	eax, ebx
	jg	.L3
.L4:
	cmp	ebp, eax
	mov	eax, 0
	cmove	r12, rax
	mov	QWORD PTR 8[r15], r12
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L20:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rsp]
	mov	r12, QWORD PTR 8[r15]
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR [r12]
	mov	rsi, rax
	call	strcmp@PLT
	test	rax, rax
	jne	.L5
	mov	r12, QWORD PTR 8[r15]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR [r15]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	pevent_find_event_by_name, .-pevent_find_event_by_name
	.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_event-parse.c_pevent_find_event_by_name.c"
	.text
	.align	2
	.global	pevent_find_event_by_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	pevent_find_event_by_name, %function
pevent_find_event_by_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r6, r0
	mov	r8, r1
	mov	r7, r2
	beq	.L5
	mov	r1, r2
	ldr	r0, [r3, #4]
	bl	strcmp
	cmp	r0, #0
	beq	.L19
.L5:
	ldr	r3, [r6]
	mov	r4, #0
	cmp	r3, #0
	ble	.L4
.L3:
	ldr	r3, [r6, #8]
	mov	r1, r7
	ldr	r5, [r3, r4, lsl #2]
	ldr	r0, [r5, #4]
	bl	strcmp
	cmp	r0, #0
	bne	.L8
	cmp	r8, #0
	beq	.L17
	mov	r1, r8
	ldr	r0, [r5]
	bl	strcmp
	cmp	r0, #0
	beq	.L17
.L8:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L4:
	cmp	r4, r3
	moveq	r5, #0
	str	r5, [r6, #4]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	cmp	r8, #0
	ldr	r5, [r6, #4]
	beq	.L1
	ldr	r0, [r5]
	mov	r1, r8
	bl	strcmp
	cmp	r0, #0
	ldreq	r5, [r6, #4]
	bne	.L5
	b	.L1
.L17:
	ldr	r3, [r6]
	b	.L4
	.size	pevent_find_event_by_name, .-pevent_find_event_by_name
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
