	.file	"extr_probe-file.c_probe_file__add_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to synthesize probe trace event.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Writing event: %s\n"
.LC2:
	.string	"Failed to write event: %s\n"
	.text
	.p2align 4
	.globl	probe_file__add_event
	.type	probe_file__add_event, @function
probe_file__add_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	mov	r12d, edi
	mov	rdi, rsi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	call	synthesize_probe_trace_command@PLT
	mov	rcx, rsp
	mov	r14, rax
	movsx	rax, DWORD PTR STRERR_BUFSIZE[rip]
	mov	r13, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L16
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L17
.L4:
	test	r14, r14
	je	.L18
	mov	rsi, r14
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_debug@PLT
	mov	eax, DWORD PTR probe_event_dry_run[rip]
	test	eax, eax
	je	.L7
.L9:
	xor	r12d, r12d
.L8:
	mov	rdi, r14
	call	free@PLT
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	lea	rsp, -24[rbp]
	mov	eax, r12d
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r14
	call	strlen@PLT
	mov	edi, r12d
	mov	rsi, r14
	mov	rdx, rax
	call	write@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	strlen@PLT
	cmp	r12d, eax
	jge	.L9
	mov	edi, DWORD PTR errno[rip]
	mov	rsi, rsp
	mov	edx, r13d
	mov	r12d, edi
	call	str_error_r@PLT
	lea	rdi, .LC2[rip]
	neg	r12d
	mov	esi, eax
	call	pr_warning@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	pr_debug@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	probe_file__add_event, .-probe_file__add_event
	.comm	probe_event_dry_run,4,4
	.comm	errno,4,4
	.comm	STRERR_BUFSIZE,4,4
	.comm	EINVAL,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_probe-file.c_probe_file__add_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to synthesize probe trace event.\012\000"
	.align	2
.LC1:
	.ascii	"Writing event: %s\012\000"
	.align	2
.LC2:
	.ascii	"Failed to write event: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	probe_file__add_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	probe_file__add_event, %function
probe_file__add_event:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r3, .L12
	mov	r6, r0
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	synthesize_probe_trace_command
	ldr	r3, .L12+4
	subs	r4, r0, #0
	ldr	r5, [r3]
	add	r3, r5, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	beq	.L10
	mov	r1, r4
	ldr	r0, .L12+8
	bl	pr_debug
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
.L6:
	mov	r5, #0
.L5:
	mov	r0, r4
	bl	free
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r5
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L4:
	mov	r0, r4
	bl	strlen
	mov	r1, r4
	mov	r2, r0
	mov	r0, r6
	bl	write
	mov	r6, r0
	mov	r0, r4
	bl	strlen
	cmp	r6, r0
	bge	.L6
	ldr	r3, .L12+16
	mov	r2, r5
	ldr	r0, [r3]
	mov	r1, sp
	rsb	r5, r0, #0
	bl	str_error_r
	mov	r1, r0
	ldr	r0, .L12+20
	bl	pr_warning
	b	.L5
.L10:
	ldr	r0, .L12+24
	bl	pr_debug
	ldr	r3, .L12+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	STRERR_BUFSIZE
	.word	.LC1
	.word	probe_event_dry_run
	.word	errno
	.word	.LC2
	.word	.LC0
	.word	EINVAL
	.size	probe_file__add_event, .-probe_file__add_event
	.comm	probe_event_dry_run,4,4
	.comm	errno,4,4
	.comm	STRERR_BUFSIZE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
