	.file	"extr_event-parse.c_tep_register_function.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tep_register_function
	.type	tep_register_function, @function
tep_register_function:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, 32
	call	malloc@PLT
	test	rax, rax
	je	.L6
	mov	rbp, rax
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, r12
	mov	QWORD PTR 24[rbp], rax
	call	strdup@PLT
	mov	QWORD PTR 8[rbp], rax
	mov	r12, rax
	test	rax, rax
	je	.L3
	test	r13, r13
	je	.L4
	mov	rdi, r13
	call	strdup@PLT
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	je	.L12
.L5:
	mov	QWORD PTR 0[rbp], r14
	xor	eax, eax
	add	DWORD PTR [rbx], 1
	mov	QWORD PTR 8[rbx], rbp
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L4:
	.cfi_restore_state
	mov	QWORD PTR 16[rbp], 0
	jmp	.L5
.L6:
	mov	eax, -1
	jmp	.L1
.L12:
	mov	rdi, r12
	call	free@PLT
	mov	QWORD PTR 8[rbp], 0
.L3:
	mov	rdi, rbp
	call	free@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	mov	DWORD PTR errno[rip], eax
	or	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	tep_register_function, .-tep_register_function
	.comm	errno,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_event-parse.c_tep_register_function.c"
	.text
	.align	2
	.global	tep_register_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	tep_register_function, %function
tep_register_function:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r0, #24
	mov	r6, r1
	mov	r8, r2
	mov	r7, r3
	ldr	r9, [sp, #32]
	bl	malloc
	subs	r4, r0, #0
	beq	.L6
	ldr	r3, [r5, #4]
	mov	r0, r6
	str	r3, [r4, #16]
	bl	strdup
	cmp	r0, #0
	mov	r6, r0
	str	r0, [r4, #8]
	beq	.L3
	cmp	r9, #0
	beq	.L4
	mov	r0, r9
	bl	strdup
	cmp	r0, #0
	mov	r9, r0
	str	r0, [r4, #12]
	beq	.L12
.L5:
	ldr	r3, [r5]
	mov	r0, #0
	add	r3, r3, #1
	stm	r5, {r3, r4}
	str	r8, [r4]
	str	r7, [r4, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	str	r9, [r4, #12]
	b	.L5
.L12:
	mov	r0, r6
	bl	free
	str	r9, [r4, #8]
.L3:
	mov	r0, r4
	bl	free
	ldr	r2, .L13
	ldr	r3, .L13+4
	ldr	r2, [r2]
	mvn	r0, #0
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	.align	2
.L13:
	.word	ENOMEM
	.word	errno
	.size	tep_register_function, .-tep_register_function
	.comm	errno,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
