	.file	"extr_imc-pmu.c_ppc_core_imc_cpu_online.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"core_imc memory allocation for cpu %d failed\n"
	.text
	.p2align 4
	.type	ppc_core_imc_cpu_online, @function
ppc_core_imc_cpu_online:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	cpu_sibling_mask@PLT
	lea	rdx, core_imc_cpumask[rip]
	lea	rdi, tmp_mask.1943[rip]
	mov	rsi, rax
	call	cpumask_and@PLT
	test	rax, rax
	je	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, ebp
	call	is_core_imc_mem_inited@PLT
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR core_imc_pmu[rip]
	mov	edi, ebp
	mov	esi, DWORD PTR [rax]
	call	core_imc_mem_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L11
.L3:
	mov	edi, ebp
	lea	rsi, core_imc_cpumask[rip]
	xor	r12d, r12d
	call	cpumask_set_cpu@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	call	pr_info@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ppc_core_imc_cpu_online, .-ppc_core_imc_cpu_online
	.local	tmp_mask.1943
	.comm	tmp_mask.1943,4,4
	.comm	core_imc_pmu,8,8
	.comm	core_imc_cpumask,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_imc-pmu.c_ppc_core_imc_cpu_online.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"core_imc memory allocation for cpu %d failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppc_core_imc_cpu_online, %function
ppc_core_imc_cpu_online:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	cpu_sibling_mask
	ldr	r2, .L12
	mov	r1, r0
	ldr	r0, .L12+4
	bl	cpumask_and
	subs	r4, r0, #0
	movne	r4, #0
	beq	.L10
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r5
	bl	is_core_imc_mem_inited
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L12+8
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, [r3]
	bl	core_imc_mem_init
	subs	r3, r0, #0
	bne	.L11
.L3:
	mov	r0, r5
	ldr	r1, .L12
	bl	cpumask_set_cpu
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	mov	r1, r5
	ldr	r0, .L12+12
	mov	r4, r3
	bl	pr_info
	b	.L1
.L13:
	.align	2
.L12:
	.word	core_imc_cpumask
	.word	.LANCHOR0
	.word	core_imc_pmu
	.word	.LC0
	.size	ppc_core_imc_cpu_online, .-ppc_core_imc_cpu_online
	.comm	core_imc_pmu,4,4
	.comm	core_imc_cpumask,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	tmp_mask.4227, %object
	.size	tmp_mask.4227, 4
tmp_mask.4227:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
