	.file	"extr_namespace.c_create_ipc_ns.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	create_ipc_ns, @function
create_ipc_ns:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, 8
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kmalloc@PLT
	test	rax, rax
	je	.L8
	mov	rdi, rax
	mov	rbp, rax
	call	proc_alloc_inum@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L6
	lea	rdi, 4[rbp]
	mov	esi, 1
	call	atomic_set@PLT
	mov	rdi, rbp
	call	mq_init_ns@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L9
	lea	rdi, nr_ipc_ns[rip]
	call	atomic_inc@PLT
	mov	rdi, rbp
	call	sem_init_ns@PLT
	mov	rdi, rbp
	call	msg_init_ns@PLT
	mov	rdi, rbp
	call	shm_init_ns@PLT
	mov	edi, DWORD PTR IPCNS_CREATED[rip]
	call	ipcns_notify@PLT
	mov	rdi, rbp
	call	register_ipcns_notifier@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	proc_free_inum@PLT
.L6:
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	create_ipc_ns, .-create_ipc_ns
	.comm	nr_ipc_ns,4,4
	.comm	IPCNS_CREATED,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_namespace.c_create_ipc_ns.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_ipc_ns, %function
create_ipc_ns:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, lr}
	mov	r0, #8
	ldr	r1, [r3]
	bl	kmalloc
	subs	r4, r0, #0
	beq	.L8
	bl	proc_alloc_inum
	subs	r5, r0, #0
	bne	.L6
	mov	r1, #1
	add	r0, r4, #4
	bl	atomic_set
	mov	r0, r4
	bl	mq_init_ns
	subs	r5, r0, #0
	bne	.L9
	ldr	r0, .L10+4
	bl	atomic_inc
	mov	r0, r4
	bl	sem_init_ns
	mov	r0, r4
	bl	msg_init_ns
	mov	r0, r4
	bl	shm_init_ns
	ldr	r3, .L10+8
	ldr	r0, [r3]
	bl	ipcns_notify
	mov	r0, r4
	bl	register_ipcns_notifier
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [r4]
	bl	proc_free_inum
.L6:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L8:
	ldr	r3, .L10+12
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L11:
	.align	2
.L10:
	.word	GFP_KERNEL
	.word	nr_ipc_ns
	.word	IPCNS_CREATED
	.word	ENOMEM
	.size	create_ipc_ns, .-create_ipc_ns
	.comm	nr_ipc_ns,4,4
	.comm	IPCNS_CREATED,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
