	.file	"extr_objagg.c_objagg_obj_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	objagg_obj_create, @function
objagg_obj_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rax, QWORD PTR 16[rdi]
	mov	rdi, QWORD PTR [rax]
	add	rdi, 12
	call	kzalloc@PLT
	test	rax, rax
	je	.L9
	mov	rdi, rax
	mov	rbp, rax
	call	objagg_obj_ref_inc@PLT
	mov	rax, QWORD PTR 16[r13]
	mov	edi, DWORD PTR 8[rbp]
	mov	rsi, r12
	mov	rdx, QWORD PTR [rax]
	call	memcpy@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	objagg_obj_init@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L3:
	mov	rdi, rbp
	call	kfree@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[r13]
	lea	rsi, 4[rbp]
	lea	rdi, 12[r13]
	call	rhashtable_insert_fast@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L11
	lea	rsi, 4[r13]
	mov	rdi, rbp
	call	list_add@PLT
	add	DWORD PTR 0[r13], 1
	mov	rsi, rbp
	mov	rdi, r13
	call	trace_objagg_obj_create@PLT
	mov	rax, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r13
	call	objagg_obj_fini@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	objagg_obj_create, .-objagg_obj_create
	.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_objagg.c_objagg_obj_create.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	objagg_obj_create, %function
objagg_obj_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	ldr	r1, [r0, #16]
	ldr	r2, .L12
	mov	r4, r0
	ldr	r0, [r1]
	ldr	r1, [r2]
	add	r0, r0, #12
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L9
	bl	objagg_obj_ref_inc
	ldr	r3, [r4, #16]
	mov	r1, r6
	ldr	r2, [r3]
	ldr	r0, [r5, #8]
	bl	memcpy
	mov	r1, r5
	mov	r0, r4
	bl	objagg_obj_init
	subs	r6, r0, #0
	beq	.L10
.L3:
	mov	r0, r5
	bl	kfree
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L10:
	ldr	r2, [r4, #8]
	add	r1, r5, #4
	add	r0, r4, #12
	bl	rhashtable_insert_fast
	subs	r6, r0, #0
	bne	.L11
	add	r1, r4, #4
	mov	r0, r5
	bl	list_add
	ldr	r3, [r4]
	mov	r0, r4
	add	r3, r3, #1
	mov	r1, r5
	str	r3, [r4]
	bl	trace_objagg_obj_create
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L12+4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L11:
	mov	r0, r4
	mov	r1, r5
	bl	objagg_obj_fini
	b	.L3
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	objagg_obj_create, .-objagg_obj_create
	.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
