	.file	"extr_cap_grp.c_group_resize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	group_resize, @function
group_resize:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR gbufsize[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, QWORD PTR gbuffer[rip]
	test	eax, eax
	lea	esi, [rax+rax]
	mov	eax, 1024
	cmove	esi, eax
	mov	rdi, rbp
	mov	DWORD PTR gbufsize[rip], esi
	call	realloc@PLT
	mov	QWORD PTR gbuffer[rip], rax
	test	rax, rax
	je	.L8
	mov	edx, DWORD PTR gbufsize[rip]
	mov	rdi, rax
	xor	esi, esi
	call	memset@PLT
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	free@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	DWORD PTR gbufsize[rip], 0
	ret
	.cfi_endproc
.LFE0:
	.size	group_resize, .-group_resize
	.comm	gbufsize,4,4
	.comm	gbuffer,8,8
	.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_cap_grp.c_group_resize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	group_resize, %function
group_resize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L9
	ldr	r6, .L9+4
	ldr	r1, [r5]
	ldr	r7, [r6]
	cmp	r1, #0
	moveq	r1, #1024
	lslne	r1, r1, #1
	mov	r0, r7
	str	r1, [r5]
	bl	realloc
	cmp	r0, #0
	mov	r4, r0
	str	r0, [r6]
	beq	.L8
	mov	r1, #0
	ldr	r2, [r5]
	bl	memset
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r7
	bl	free
	ldr	r3, .L9+8
	str	r4, [r5]
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	gbufsize
	.word	gbuffer
	.word	ENOMEM
	.size	group_resize, .-group_resize
	.comm	gbufsize,4,4
	.comm	gbuffer,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
