	.file	"extr_core.c___perf_event_header__init_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__perf_event_header__init_id, @function
__perf_event_header__init_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR 8[rdx]
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, DWORD PTR 16[rdx]
	mov	DWORD PTR [rsi], ebx
	add	DWORD PTR [rdi], eax
	test	DWORD PTR PERF_SAMPLE_TID[rip], ebx
	jne	.L24
	test	DWORD PTR PERF_SAMPLE_TIME[rip], ebx
	jne	.L25
.L3:
	mov	eax, DWORD PTR PERF_SAMPLE_ID[rip]
	or	eax, DWORD PTR PERF_SAMPLE_IDENTIFIER[rip]
	test	eax, ebx
	jne	.L26
.L4:
	test	DWORD PTR PERF_SAMPLE_STREAM_ID[rip], ebx
	je	.L5
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 24[r12], eax
.L5:
	test	DWORD PTR PERF_SAMPLE_CPU[rip], ebx
	jne	.L27
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	esi, DWORD PTR current[rip]
	mov	rdi, rdx
	call	perf_event_pid@PLT
	mov	esi, DWORD PTR current[rip]
	mov	rdi, rbp
	mov	DWORD PTR 40[r12], eax
	call	perf_event_tid@PLT
	mov	DWORD PTR 36[r12], eax
	test	DWORD PTR PERF_SAMPLE_TIME[rip], ebx
	je	.L3
.L25:
	mov	rdi, rbp
	call	perf_event_clock@PLT
	mov	DWORD PTR 32[r12], eax
	mov	eax, DWORD PTR PERF_SAMPLE_ID[rip]
	or	eax, DWORD PTR PERF_SAMPLE_IDENTIFIER[rip]
	test	eax, ebx
	je	.L4
.L26:
	mov	rdi, rbp
	call	primary_event_id@PLT
	mov	DWORD PTR 28[r12], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L27:
	xor	eax, eax
	call	raw_smp_processor_id@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	QWORD PTR 8[r12], 0
	mov	DWORD PTR 16[r12], eax
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	__perf_event_header__init_id, .-__perf_event_header__init_id
	.comm	current,4,4
	.comm	PERF_SAMPLE_TIME,4,4
	.comm	PERF_SAMPLE_TID,4,4
	.comm	PERF_SAMPLE_STREAM_ID,4,4
	.comm	PERF_SAMPLE_IDENTIFIER,4,4
	.comm	PERF_SAMPLE_ID,4,4
	.comm	PERF_SAMPLE_CPU,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_core.c___perf_event_header__init_id.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__perf_event_header__init_id, %function
__perf_event_header__init_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldr	r3, [r0]
	ldr	r2, [r2, #4]
	ldr	r4, [r5, #8]
	add	r3, r3, r2
	ldr	r2, .L27
	str	r4, [r1]
	str	r3, [r0]
	ldr	r3, [r2]
	mov	r6, r1
	tst	r4, r3
	bne	.L24
.L2:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L25
.L3:
	ldr	r3, .L27+8
	ldr	r2, .L27+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	tst	r3, r4
	bne	.L26
.L4:
	ldr	r3, .L27+16
	ldr	r3, [r3]
	tst	r4, r3
	ldrne	r3, [r5]
	strne	r3, [r6, #12]
	ldr	r3, .L27+20
	ldr	r3, [r3]
	tst	r4, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	bl	raw_smp_processor_id
	mov	r3, #0
	str	r0, [r6, #8]
	str	r3, [r6, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	mov	r0, r5
	bl	primary_event_id
	str	r0, [r6, #16]
	b	.L4
.L25:
	mov	r0, r5
	bl	perf_event_clock
	str	r0, [r6, #20]
	b	.L3
.L24:
	ldr	r7, .L27+24
	mov	r0, r5
	ldr	r1, [r7]
	bl	perf_event_pid
	ldr	r1, [r7]
	str	r0, [r6, #28]
	mov	r0, r5
	bl	perf_event_tid
	str	r0, [r6, #24]
	b	.L2
.L28:
	.align	2
.L27:
	.word	PERF_SAMPLE_TID
	.word	PERF_SAMPLE_TIME
	.word	PERF_SAMPLE_ID
	.word	PERF_SAMPLE_IDENTIFIER
	.word	PERF_SAMPLE_STREAM_ID
	.word	PERF_SAMPLE_CPU
	.word	current
	.size	__perf_event_header__init_id, .-__perf_event_header__init_id
	.comm	current,4,4
	.comm	PERF_SAMPLE_TIME,4,4
	.comm	PERF_SAMPLE_TID,4,4
	.comm	PERF_SAMPLE_STREAM_ID,4,4
	.comm	PERF_SAMPLE_IDENTIFIER,4,4
	.comm	PERF_SAMPLE_ID,4,4
	.comm	PERF_SAMPLE_CPU,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
