	.file	"extr_cgroup.c_init_root_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_root_id, @function
init_root_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	lea	rbx, hierarchy_ida[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, rbx
	call	ida_pre_get@PLT
	test	eax, eax
	je	.L1
	lea	rdi, hierarchy_id_lock[rip]
	call	spin_lock@PLT
	mov	rsi, QWORD PTR next_hierarchy_id[rip]
	mov	rdx, rbp
	mov	rdi, rbx
	call	ida_get_new_above@PLT
	mov	ecx, eax
	add	ecx, DWORD PTR ENOSPC[rip]
	je	.L12
.L3:
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR 0[rbp]
	lea	rdi, hierarchy_id_lock[rip]
	add	rax, 1
	mov	QWORD PTR next_hierarchy_id[rip], rax
	call	spin_unlock@PLT
	mov	eax, 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, eax
	add	edx, DWORD PTR EAGAIN[rip]
	je	.L5
	mov	edi, eax
	call	BUG_ON@PLT
.L5:
	lea	rdi, hierarchy_id_lock[rip]
	call	spin_unlock@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, rbp
	mov	rdi, rbx
	call	ida_get_new@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	init_root_id, .-init_root_id
	.comm	next_hierarchy_id,8,8
	.comm	hierarchy_ida,4,4
	.comm	hierarchy_id_lock,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOSPC,4,4
	.comm	EAGAIN,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_cgroup.c_init_root_id.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_root_id, %function
init_root_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r8, .L13
	ldr	r4, .L13+4
	ldr	r7, .L13+8
	ldr	r6, .L13+12
	ldr	r9, .L13+16
	ldr	r10, .L13+20
.L6:
	mov	r0, r4
	ldr	r1, [r8]
	bl	ida_pre_get
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r7
	bl	spin_lock
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [r6]
	bl	ida_get_new_above
	ldr	r3, [r9]
	cmn	r0, r3
	beq	.L12
.L3:
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r5]
	ldr	r0, .L13+8
	add	r3, r3, #1
	str	r3, [r6]
	bl	spin_unlock
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r3, [r10]
	cmn	r0, r3
	beq	.L5
	bl	BUG_ON
.L5:
	mov	r0, r7
	bl	spin_unlock
	b	.L6
.L12:
	mov	r1, r5
	mov	r0, r4
	bl	ida_get_new
	b	.L3
.L14:
	.align	2
.L13:
	.word	GFP_KERNEL
	.word	hierarchy_ida
	.word	hierarchy_id_lock
	.word	next_hierarchy_id
	.word	ENOSPC
	.word	EAGAIN
	.size	init_root_id, .-init_root_id
	.comm	next_hierarchy_id,4,4
	.comm	hierarchy_ida,4,4
	.comm	hierarchy_id_lock,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOSPC,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
