	.file	"extr_af_netlink.c_netlink_realloc_groups.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	netlink_realloc_groups, @function
netlink_realloc_groups:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	call	nlk_sk@PLT
	mov	rbp, rax
	xor	eax, eax
	call	netlink_table_grab@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR nl_table[rip]
	mov	r12d, DWORD PTR ENOENT[rip]
	lea	rax, [rax+rdx*8]
	mov	edx, DWORD PTR 4[rax]
	neg	r12d
	test	edx, edx
	je	.L3
	mov	ebx, DWORD PTR [rax]
	xor	r12d, r12d
	cmp	DWORD PTR 0[rbp], ebx
	jb	.L8
.L3:
	xor	eax, eax
	call	netlink_table_ungrab@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r13d, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, ebx
	call	NLGRPSZ@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	edx, r13d
	mov	esi, eax
	call	krealloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L9
	mov	edi, ebx
	call	NLGRPSZ@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r14d, eax
	call	NLGRPSZ@PLT
	mov	edi, DWORD PTR 0[rbp]
	sub	r14d, eax
	call	NLGRPSZ@PLT
	mov	edx, r14d
	xor	esi, esi
	movsx	rdi, eax
	add	rdi, r13
	call	memset@PLT
	mov	DWORD PTR 4[rbp], r13d
	mov	DWORD PTR 0[rbp], ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	netlink_realloc_groups, .-netlink_realloc_groups
	.comm	nl_table,8,8
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,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_af_netlink.c_netlink_realloc_groups.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netlink_realloc_groups, %function
netlink_realloc_groups:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	bl	nlk_sk
	mov	r4, r0
	bl	netlink_table_grab
	ldr	r3, .L11
	ldr	r2, [r5]
	ldr	r3, [r3]
	add	r1, r3, r2, lsl #3
	ldr	r1, [r1, #4]
	cmp	r1, #0
	beq	.L8
	ldr	r6, [r3, r2, lsl #3]
	ldr	r3, [r4]
	cmp	r3, r6
	movcs	r5, #0
	bcc	.L9
.L3:
	bl	netlink_table_ungrab
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r6
	ldr	r5, [r4, #4]
	bl	NLGRPSZ
	ldr	r3, .L11+4
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r5
	bl	krealloc
	subs	r7, r0, #0
	beq	.L10
	ldr	r0, [r4]
	bl	NLGRPSZ
	mov	r8, r0
	mov	r0, r6
	bl	NLGRPSZ
	mov	r5, r0
	ldr	r0, [r4]
	bl	NLGRPSZ
	mov	r2, r0
	add	r8, r7, r8
	sub	r2, r5, r2
	mov	r0, r8
	mov	r1, #0
	bl	memset
	mov	r5, #0
	stm	r4, {r6, r7}
	b	.L3
.L8:
	ldr	r3, .L11+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L3
.L10:
	ldr	r3, .L11+12
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L3
.L12:
	.align	2
.L11:
	.word	nl_table
	.word	GFP_ATOMIC
	.word	ENOENT
	.word	ENOMEM
	.size	netlink_realloc_groups, .-netlink_realloc_groups
	.comm	nl_table,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
