	.file	"extr_builtin-timechart.c_pid_begin_io_sample.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Skip invalid start event: previous event already started!\n"
	.text
	.p2align 4
	.type	pid_begin_io_sample, @function
pid_begin_io_sample:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	find_create_pid@PLT
	mov	rbx, QWORD PTR 8[rax]
	test	rbx, rbx
	je	.L17
.L2:
	mov	r15, QWORD PTR 8[rbx]
	test	r15, r15
	je	.L5
	cmp	QWORD PTR 16[r15], 0
	jne	.L18
.L5:
	mov	edi, 32
	call	zalloc@PLT
	test	rax, rax
	je	.L15
	mov	rdx, QWORD PTR 8[rbx]
	mov	QWORD PTR 16[rax], rbp
	mov	DWORD PTR [rax], r13d
	mov	DWORD PTR 4[rax], r12d
	mov	QWORD PTR 8[rax], rdx
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L9
	xor	r14d, r14d
	cmp	rax, rbp
	jle	.L1
.L9:
	mov	QWORD PTR [rbx], rbp
	xor	r14d, r14d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L18:
	.cfi_restore_state
	mov	r14d, DWORD PTR 24[r15]
	test	r14d, r14d
	jne	.L5
	lea	rdi, .LC0[rip]
	call	pr_warning@PLT
	mov	rax, QWORD PTR 8[r15]
	mov	rdi, r15
	mov	QWORD PTR 8[rbx], rax
	call	free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, 24
	mov	r14, rax
	call	zalloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L15
	mov	QWORD PTR 8[r14], rax
	mov	rax, QWORD PTR [r14]
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR [r14], rbx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	pid_begin_io_sample, .-pid_begin_io_sample
	.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_builtin-timechart.c_pid_begin_io_sample.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Skip invalid start event: previous event already st"
	.ascii	"arted!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pid_begin_io_sample, %function
pid_begin_io_sample:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	mov	r6, r3
	bl	find_create_pid
	ldr	r4, [r0, #4]
	mov	r5, r0
	cmp	r4, #0
	beq	.L17
.L2:
	ldr	r8, [r4, #4]
	cmp	r8, #0
	beq	.L5
	ldr	r3, [r8, #12]
	cmp	r3, #0
	bne	.L18
.L5:
	mov	r0, #20
	bl	zalloc
	cmp	r0, #0
	beq	.L15
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	cmp	r3, r6
	movle	r5, #0
	movgt	r5, #1
	cmp	r3, #0
	moveq	r5, #1
	cmp	r5, #0
	movne	r5, #0
	ldr	r3, [sp, #24]
	str	r6, [r0, #12]
	str	r7, [r0]
	str	r3, [r0, #4]
	str	r2, [r0, #8]
	str	r0, [r4, #4]
	strne	r6, [r4]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	ldr	r5, [r8, #16]
	cmp	r5, #0
	bne	.L5
	ldr	r0, .L19
	bl	pr_warning
	ldr	r3, [r8, #8]
	mov	r0, r8
	str	r3, [r4, #4]
	bl	free
	b	.L1
.L15:
	ldr	r3, .L19+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r0, #12
	bl	zalloc
	subs	r4, r0, #0
	beq	.L15
	ldr	r3, [r5]
	str	r4, [r5, #4]
	str	r3, [r4, #8]
	str	r4, [r5]
	b	.L2
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	ENOMEM
	.size	pid_begin_io_sample, .-pid_begin_io_sample
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
