	.file	"extr_monitor.c_rdt_get_mon_l3_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rdt_get_mon_l3_config
	.type	rdt_get_mon_l3_config, @function
rdt_get_mon_l3_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR boot_cpu_data[rip+8]
	mov	eax, DWORD PTR boot_cpu_data[rip]
	mov	esi, DWORD PTR boot_cpu_data[rip+4]
	lea	ecx, 1[rdx]
	sal	eax, 10
	xor	edx, edx
	div	ecx
	mov	DWORD PTR [rdi], esi
	mov	DWORD PTR 4[rdi], ecx
	xor	edx, edx
	div	esi
	mov	DWORD PTR resctrl_cqm_threshold[rip], eax
	call	dom_data_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, rbx
	call	l3_mon_evt_init@PLT
	movabs	rax, 4294967297
	mov	QWORD PTR 8[rbx], rax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rdt_get_mon_l3_config, .-rdt_get_mon_l3_config
	.comm	resctrl_cqm_threshold,4,4
	.comm	boot_cpu_data,12,8
	.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_monitor.c_rdt_get_mon_l3_config.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.global	rdt_get_mon_l3_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	rdt_get_mon_l3_config, %function
rdt_get_mon_l3_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L5
	ldr	r6, .L5+4
	ldr	r1, [r3, #8]
	ldm	r3, {r0, r5}
	add	r1, r1, #1
	str	r1, [r4, #4]
	str	r5, [r4]
	lsl	r0, r0, #10
	bl	__aeabi_uidiv
	mov	r1, r5
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r0, r4
	str	r3, [r6]
	bl	dom_data_init
	subs	r5, r0, #0
	bne	.L1
	mov	r0, r4
	bl	l3_mon_evt_init
	mov	r3, #1
	str	r3, [r4, #8]
	str	r3, [r4, #12]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	boot_cpu_data
	.word	resctrl_cqm_threshold
	.size	rdt_get_mon_l3_config, .-rdt_get_mon_l3_config
	.comm	resctrl_cqm_threshold,4,4
	.comm	boot_cpu_data,12,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
