	.file	"extr_builtin-record.c_record__synthesize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Couldn't synthesize attrs.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Couldn't synthesize features.\n"
	.align 8
.LC2:
	.string	"Couldn't record tracing data.\n"
	.align 8
.LC3:
	.string	"Couldn't record kernel reference relocation symbol\nSymbol resolution may be skewed if relocation was used (e.g. kexec).\nCheck /proc/kallsyms permission or run as root.\n"
	.align 8
.LC4:
	.string	"Couldn't record kernel module information.\nSymbol resolution may be skewed if relocation was used (e.g. kexec).\nCheck /proc/modules permission or run as root.\n"
	.align 8
.LC5:
	.string	"Couldn't synthesize thread map.\n"
	.section	.rodata.str1.1
.LC6:
	.string	"Couldn't synthesize cpu map.\n"
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"Couldn't synthesize bpf events.\n"
	.text
	.p2align 4
	.type	record__synthesize, @function
record__synthesize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	r13, QWORD PTR 56[rdi]
	add	rdi, 48
	call	perf_data__fd@PLT
	cmp	DWORD PTR 24[rbx], ebp
	jne	.L1
	cmp	QWORD PTR 48[rbx], 0
	mov	r12d, DWORD PTR process_synthesized_event[rip]
	lea	rbp, 16[rbx]
	jne	.L20
.L3:
	mov	rdi, rbx
	call	record__pick_pc@PLT
	mov	edx, r12d
	mov	rcx, r13
	mov	rsi, rbp
	mov	edi, eax
	call	perf_event__synth_time_conv@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	cmp	QWORD PTR 40[rbx], 0
	je	.L11
	mov	edi, DWORD PTR 20[rbx]
	mov	ecx, DWORD PTR process_synthesized_event[rip]
	mov	rdx, r13
	mov	rsi, rbp
	call	perf_event__synthesize_auxtrace_info@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
.L11:
	mov	rdi, QWORD PTR 8[rbx]
	call	perf_evlist__exclude_kernel@PLT
	test	eax, eax
	je	.L21
.L10:
	cmp	QWORD PTR perf_guest[rip], 0
	jne	.L22
.L12:
	mov	rcx, QWORD PTR 48[rbx]
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR process_synthesized_event[rip]
	call	perf_event__synthesize_extra_attr@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L23
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L20:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	r14d, eax
	call	perf_event__synthesize_attrs@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L24
	mov	rdx, QWORD PTR 8[rbx]
	mov	ecx, DWORD PTR process_synthesized_event[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	perf_event__synthesize_features@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L25
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, 8[rax]
	call	have_tracepoints@PLT
	test	rax, rax
	jne	.L6
.L18:
	mov	r12d, DWORD PTR process_synthesized_event[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR process_synthesized_event[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	call	perf_event__synthesize_thread_map2@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L26
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR process_synthesized_event[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	mov	esi, DWORD PTR 4[rax]
	call	perf_event__synthesize_cpu_map@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L27
	mov	esi, DWORD PTR process_synthesized_event[rip]
	lea	rcx, 24[rbx]
	mov	rdx, r13
	mov	rdi, r13
	call	perf_event__synthesize_bpf_events@PLT
	test	eax, eax
	js	.L28
.L15:
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rax, QWORD PTR 8[rbx]
	mov	r9d, DWORD PTR 28[rbx]
	lea	rdx, 32[rbx]
	push	1
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR process_synthesized_event[rip]
	mov	rsi, rbp
	mov	rdi, r13
	mov	ecx, DWORD PTR [rax]
	call	__machine__synthesize_threads@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	esi, DWORD PTR perf_event__synthesize_guest_os[rip]
	mov	rdx, rbp
	mov	rdi, r13
	call	machines__process_guests@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, DWORD PTR process_synthesized_event[rip]
	mov	rdx, r13
	mov	rdi, rbp
	call	perf_event__synthesize_kernel_mmap@PLT
	lea	rsi, .LC3[rip]
	shr	eax, 31
	mov	edi, eax
	call	WARN_ONCE@PLT
	mov	esi, DWORD PTR process_synthesized_event[rip]
	mov	rdi, rbp
	mov	rdx, r13
	call	perf_event__synthesize_modules@PLT
	lea	rsi, .LC4[rip]
	shr	eax, 31
	mov	edi, eax
	call	WARN_ONCE@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L24:
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	lea	rdi, .LC7[rip]
	call	pr_warning@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L25:
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR 8[rbx]
	mov	ecx, DWORD PTR process_synthesized_event[rip]
	mov	esi, r14d
	mov	rdi, rbp
	call	perf_event__synthesize_tracing_data@PLT
	mov	r12d, eax
	test	eax, eax
	jle	.L29
	add	DWORD PTR [rbx], eax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L26:
	lea	rdi, .LC5[rip]
	call	pr_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	lea	rdi, .LC6[rip]
	call	pr_err@PLT
	jmp	.L1
.L29:
	lea	rdi, .LC2[rip]
	call	pr_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	record__synthesize, .-record__synthesize
	.comm	process_synthesized_event,4,4
	.comm	perf_guest,8,8
	.comm	perf_event__synthesize_guest_os,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-record.c_record__synthesize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Couldn't synthesize attrs.\012\000"
	.align	2
.LC1:
	.ascii	"Couldn't synthesize features.\012\000"
	.align	2
.LC2:
	.ascii	"Couldn't record tracing data.\012\000"
	.align	2
.LC3:
	.ascii	"Couldn't record kernel reference relocation symbol\012"
	.ascii	"Symbol resolution may be skewed if relocation was u"
	.ascii	"sed (e.g. kexec).\012Check /proc/kallsyms permissio"
	.ascii	"n or run as root.\012\000"
	.align	2
.LC4:
	.ascii	"Couldn't record kernel module information.\012Symbo"
	.ascii	"l resolution may be skewed if relocation was used ("
	.ascii	"e.g. kexec).\012Check /proc/modules permission or r"
	.ascii	"un as root.\012\000"
	.align	2
.LC5:
	.ascii	"Couldn't synthesize thread map.\012\000"
	.align	2
.LC6:
	.ascii	"Couldn't synthesize cpu map.\012\000"
	.align	2
.LC7:
	.ascii	"Couldn't synthesize bpf events.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	record__synthesize, %function
record__synthesize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	mov	r5, r1
	sub	sp, sp, #20
	add	r0, r0, #32
	ldr	r8, [r4, #36]
	bl	perf_data__fd
	ldr	r3, [r4, #16]
	cmp	r3, r5
	movne	r5, #0
	bne	.L1
	ldr	r3, [r4, #32]
	add	r6, r4, #8
	cmp	r3, #0
	bne	.L3
	ldr	r7, .L35
.L4:
	mov	r0, r4
	bl	record__pick_pc
	mov	r3, r8
	mov	r1, r6
	ldr	r2, [r7]
	bl	perf_event__synth_time_conv
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, [r4, #28]
	cmp	r3, #0
	beq	.L12
	mov	r2, r8
	mov	r1, r6
	ldr	r3, [r7]
	ldr	r0, [r4, #12]
	bl	perf_event__synthesize_auxtrace_info
	subs	r5, r0, #0
	bne	.L1
.L12:
	ldr	r0, [r4, #4]
	bl	perf_evlist__exclude_kernel
	cmp	r0, #0
	beq	.L26
.L11:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
.L13:
	mov	r0, r6
	ldr	r3, [r4, #32]
	ldr	r2, [r7]
	ldr	r1, [r4, #4]
	bl	perf_event__synthesize_extra_attr
	subs	r5, r0, #0
	beq	.L28
.L1:
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L3:
	ldr	r7, .L35
	mov	r9, r0
	ldr	r1, [r4, #4]
	mov	r0, r6
	ldr	r2, [r7]
	bl	perf_event__synthesize_attrs
	subs	r5, r0, #0
	blt	.L29
	mov	r1, r8
	mov	r0, r6
	ldr	r3, [r7]
	ldr	r2, [r4, #4]
	bl	perf_event__synthesize_features
	subs	r5, r0, #0
	blt	.L30
	ldr	r0, [r4, #4]
	add	r0, r0, #8
	bl	have_tracepoints
	cmp	r0, #0
	beq	.L4
	mov	r1, r9
	mov	r0, r6
	ldr	r3, [r7]
	ldr	r2, [r4, #4]
	bl	perf_event__synthesize_tracing_data
	subs	r5, r0, #0
	ble	.L31
	ldr	r3, [r4]
	add	r0, r3, r5
	str	r0, [r4]
	b	.L4
.L28:
	ldr	r2, [r4, #4]
	mov	r3, r5
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, [r7]
	bl	perf_event__synthesize_thread_map2
	subs	r5, r0, #0
	blt	.L32
	ldr	r2, [r4, #4]
	mov	r3, #0
	ldr	r1, [r2, #4]
	mov	r0, r6
	ldr	r2, [r7]
	bl	perf_event__synthesize_cpu_map
	subs	r5, r0, #0
	blt	.L33
	mov	r2, r8
	mov	r0, r8
	ldr	r1, [r7]
	add	r3, r4, #16
	bl	perf_event__synthesize_bpf_events
	cmp	r0, #0
	blt	.L34
.L16:
	mov	ip, #1
	ldr	r3, [r4, #4]
	ldr	r2, [r7]
	ldr	r3, [r3]
	str	r2, [sp]
	ldr	r2, [r4, #20]
	mov	r1, r6
	stmib	sp, {r2, ip}
	mov	r0, r8
	add	r2, r4, #24
	bl	__machine__synthesize_threads
	mov	r5, r0
	b	.L1
.L27:
	ldr	r3, .L35+8
	mov	r2, r6
	mov	r0, r8
	ldr	r1, [r3]
	bl	machines__process_guests
	b	.L13
.L26:
	mov	r2, r8
	ldr	r1, [r7]
	mov	r0, r6
	bl	perf_event__synthesize_kernel_mmap
	ldr	r1, .L35+12
	lsr	r0, r0, #31
	bl	WARN_ONCE
	ldr	r1, [r7]
	mov	r2, r8
	mov	r0, r6
	bl	perf_event__synthesize_modules
	ldr	r1, .L35+16
	lsr	r0, r0, #31
	bl	WARN_ONCE
	b	.L11
.L29:
	ldr	r0, .L35+20
	bl	pr_err
	b	.L1
.L34:
	ldr	r0, .L35+24
	bl	pr_warning
	b	.L16
.L30:
	ldr	r0, .L35+28
	bl	pr_err
	b	.L1
.L32:
	ldr	r0, .L35+32
	bl	pr_err
	b	.L1
.L33:
	ldr	r0, .L35+36
	bl	pr_err
	b	.L1
.L31:
	ldr	r0, .L35+40
	bl	pr_err
	b	.L1
.L36:
	.align	2
.L35:
	.word	process_synthesized_event
	.word	perf_guest
	.word	perf_event__synthesize_guest_os
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.word	.LC7
	.word	.LC1
	.word	.LC5
	.word	.LC6
	.word	.LC2
	.size	record__synthesize, .-record__synthesize
	.comm	process_synthesized_event,4,4
	.comm	perf_guest,4,4
	.comm	perf_event__synthesize_guest_os,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
