	.file	"extr_sock_map.c_sock_hash_alloc_elem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sock_hash_alloc_elem, @function
sock_hash_alloc_elem:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	atomic_inc_return@PLT
	cmp	rax, QWORD PTR 8[rbp]
	jle	.L2
	test	r12, r12
	je	.L13
.L2:
	mov	edx, DWORD PTR 16[rbp]
	mov	edi, DWORD PTR 24[rbp]
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	or	esi, DWORD PTR __GFP_NOWARN[rip]
	call	kmalloc_node@PLT
	mov	r12, rax
	test	rax, rax
	je	.L14
	mov	edi, DWORD PTR 16[rax]
	mov	edx, r15d
	mov	rsi, r14
	call	memcpy@PLT
	mov	QWORD PTR 8[r12], r13
	mov	rax, r12
	mov	DWORD PTR [r12], ebx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	atomic_dec@PLT
	mov	edi, DWORD PTR E2BIG[rip]
.L11:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	neg	edi
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, rbp
	call	atomic_dec@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	sock_hash_alloc_elem, .-sock_hash_alloc_elem
	.comm	__GFP_NOWARN,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	E2BIG,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_sock_map.c_sock_hash_alloc_elem.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sock_hash_alloc_elem, %function
sock_hash_alloc_elem:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r6, r3
	ldr	r4, [sp, #36]
	mov	r7, r1
	mov	r8, r2
	ldr	r9, [sp, #32]
	bl	atomic_inc_return
	ldr	r3, [r5, #4]
	cmp	r0, r3
	movle	r0, #0
	movgt	r0, #1
	cmp	r4, #0
	movne	r0, #0
	cmp	r0, #0
	bne	.L6
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r5, #8]
	ldr	r0, [r5, #12]
	orr	r1, r1, r3
	bl	kmalloc_node
	subs	r4, r0, #0
	beq	.L7
	mov	r2, r8
	mov	r1, r7
	ldr	r0, [r4, #8]
	bl	memcpy
	mov	r0, r4
	stm	r4, {r6, r9}
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r0, r5
	bl	atomic_dec
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L8+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L6:
	mov	r0, r5
	bl	atomic_dec
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L8+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L9:
	.align	2
.L8:
	.word	GFP_ATOMIC
	.word	__GFP_NOWARN
	.word	ENOMEM
	.word	E2BIG
	.size	sock_hash_alloc_elem, .-sock_hash_alloc_elem
	.comm	__GFP_NOWARN,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	E2BIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
