	.file	"extr_core.c_domain_add_cpu.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could't find cache id for cpu %d\n"
	.text
	.p2align 4
	.type	domain_add_cpu, @function
domain_add_cpu:
.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
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR 16[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	get_cache_id@PLT
	mov	rdi, rbp
	mov	rdx, rsp
	mov	QWORD PTR [rsp], 0
	mov	esi, eax
	mov	r13d, eax
	call	rdt_find_domain@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L24
	test	rbx, rbx
	je	.L4
	lea	rsi, 8[rbx]
	mov	edi, r12d
	call	cpumask_set_cpu@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L4:
	.cfi_restore_state
	mov	edi, r12d
	call	cpu_to_node@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 12
	mov	edx, eax
	call	kzalloc_node@PLT
	mov	r14, rax
	test	rax, rax
	je	.L1
	mov	DWORD PTR [rax], r13d
	lea	rsi, 8[rax]
	mov	edi, r12d
	call	cpumask_set_cpu@PLT
	cmp	QWORD PTR 8[rbp], 0
	jne	.L26
.L6:
	cmp	QWORD PTR 0[rbp], 0
	je	.L7
	mov	rsi, r14
	mov	rdi, rbp
	call	domain_setup_mon_state@PLT
	test	rax, rax
	jne	.L22
.L7:
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, 4[r14]
	call	list_add_tail@PLT
	lea	rdi, rdt_mon_enable_key[rip]
	call	static_branch_unlikely@PLT
	test	rax, rax
	je	.L1
	mov	rsi, r14
	mov	rdi, rbp
	call	mkdir_mondata_subdir_allrdtgrp@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	call	pr_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rsi, r14
	mov	rdi, rbp
	call	domain_setup_ctrlval@PLT
	test	rax, rax
	je	.L6
.L22:
	mov	rdi, r14
	call	kfree@PLT
	jmp	.L1
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	domain_add_cpu, .-domain_add_cpu
	.comm	rdt_mon_enable_key,4,4
	.comm	GFP_KERNEL,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_domain_add_cpu.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could't find cache id for cpu %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	domain_add_cpu, %function
domain_add_cpu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L33
	sub	sp, sp, #12
	mov	r4, r1
	ldr	r1, [r1, #8]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r0
	bl	get_cache_id
	mov	r3, #0
	mov	r1, r0
	mov	r2, sp
	mov	r5, r0
	mov	r0, r4
	str	r3, [sp]
	bl	rdt_find_domain
	mov	r7, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L30
	cmp	r7, #0
	beq	.L4
	mov	r0, r6
	add	r1, r7, #8
	bl	cpumask_set_cpu
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	ldr	r3, .L33+4
	mov	r0, r6
	ldr	r7, [r3]
	bl	cpu_to_node
	mov	r1, r7
	mov	r2, r0
	mov	r0, #12
	bl	kzalloc_node
	subs	r7, r0, #0
	beq	.L1
	mov	r1, r7
	mov	r0, r6
	str	r5, [r1], #8
	bl	cpumask_set_cpu
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L32
.L6:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L7
	mov	r1, r7
	mov	r0, r4
	bl	domain_setup_mon_state
	cmp	r0, #0
	bne	.L28
.L7:
	ldr	r1, [sp]
	add	r0, r7, #4
	bl	list_add_tail
	ldr	r0, .L33+8
	bl	static_branch_unlikely
	cmp	r0, #0
	beq	.L1
	mov	r1, r7
	mov	r0, r4
	bl	mkdir_mondata_subdir_allrdtgrp
	b	.L1
.L30:
	mov	r1, r6
	ldr	r0, .L33+12
	bl	pr_warn
	b	.L1
.L32:
	mov	r1, r7
	mov	r0, r4
	bl	domain_setup_ctrlval
	cmp	r0, #0
	beq	.L6
.L28:
	mov	r0, r7
	bl	kfree
	b	.L1
.L31:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC1
	.word	GFP_KERNEL
	.word	rdt_mon_enable_key
	.word	.LC0
	.size	domain_add_cpu, .-domain_add_cpu
	.comm	rdt_mon_enable_key,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
