	.file	"extr_nfnetlink_queue.c_instance_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	instance_create, @function
instance_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	lea	rdi, instances_lock[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	spin_lock@PLT
	mov	edi, ebp
	call	instance_lookup@PLT
	test	rax, rax
	je	.L2
	mov	ebp, DWORD PTR EEXIST[rip]
	neg	ebp
.L3:
	lea	rdi, instances_lock[rip]
	call	spin_unlock@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 36
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L10
	mov	DWORD PTR 32[rax], ebp
	lea	rdi, 20[r12]
	mov	DWORD PTR [rax], ebx
	mov	eax, DWORD PTR NFQNL_QMAX_DEFAULT[rip]
	mov	DWORD PTR 4[r12], 1048575
	mov	DWORD PTR 28[r12], eax
	mov	eax, DWORD PTR NFQNL_COPY_NONE[rip]
	mov	DWORD PTR 24[r12], eax
	call	spin_lock_init@PLT
	lea	rdi, 16[r12]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 12[r12]
	call	INIT_RCU_HEAD@PLT
	mov	edi, DWORD PTR THIS_MODULE[rip]
	call	try_module_get@PLT
	test	eax, eax
	je	.L11
	mov	edi, ebp
	call	instance_hashfn@PLT
	mov	rdx, QWORD PTR instance_table[rip]
	lea	rdi, 8[r12]
	mov	eax, eax
	lea	rsi, [rdx+rax*4]
	call	hlist_add_head_rcu@PLT
	lea	rdi, instances_lock[rip]
	call	spin_unlock@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	ebp, DWORD PTR ENOMEM[rip]
	neg	ebp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	mov	ebp, DWORD PTR EAGAIN[rip]
	mov	rdi, r12
	neg	ebp
	call	kfree@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	instance_create, .-instance_create
	.comm	instances_lock,4,4
	.comm	instance_table,8,8
	.comm	THIS_MODULE,4,4
	.comm	NFQNL_QMAX_DEFAULT,4,4
	.comm	NFQNL_COPY_NONE,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	EEXIST,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_nfnetlink_queue.c_instance_create.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	instance_create, %function
instance_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, .L12
	mov	r6, r1
	bl	spin_lock
	mov	r0, r5
	bl	instance_lookup
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L12+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L3:
	ldr	r0, .L12
	bl	spin_unlock
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L2:
	ldr	r3, .L12+8
	mov	r0, #36
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L10
	ldr	r2, .L12+12
	ldr	r3, .L12+16
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L12+20
	str	r1, [r4, #28]
	str	r2, [r4, #24]
	str	r3, [r4, #4]
	str	r5, [r4, #32]
	str	r6, [r4]
	add	r0, r4, #20
	bl	spin_lock_init
	add	r0, r4, #16
	bl	INIT_LIST_HEAD
	add	r0, r4, #12
	bl	INIT_RCU_HEAD
	ldr	r3, .L12+24
	ldr	r0, [r3]
	bl	try_module_get
	cmp	r0, #0
	beq	.L11
	mov	r0, r5
	bl	instance_hashfn
	mov	r1, r0
	ldr	r3, .L12+28
	add	r0, r4, #8
	ldr	r3, [r3]
	add	r1, r3, r1, lsl #2
	bl	hlist_add_head_rcu
	ldr	r0, .L12
	bl	spin_unlock
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, .L12+32
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L3
.L11:
	ldr	r3, .L12+36
	mov	r0, r4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	bl	kfree
	b	.L3
.L13:
	.align	2
.L12:
	.word	instances_lock
	.word	EEXIST
	.word	GFP_ATOMIC
	.word	NFQNL_QMAX_DEFAULT
	.word	NFQNL_COPY_NONE
	.word	1048575
	.word	THIS_MODULE
	.word	instance_table
	.word	ENOMEM
	.word	EAGAIN
	.size	instance_create, .-instance_create
	.comm	instances_lock,4,4
	.comm	instance_table,4,4
	.comm	THIS_MODULE,4,4
	.comm	NFQNL_QMAX_DEFAULT,4,4
	.comm	NFQNL_COPY_NONE,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	EEXIST,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
