	.file	"extr_sge.c_recycle_fl_buf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	recycle_fl_buf, @function
recycle_fl_buf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movsx	rsi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rax, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rcx, QWORD PTR [rdi]
	sal	rax, 4
	mov	rbx, rdi
	mov	rbp, QWORD PTR 40[rdi]
	mov	rdx, rcx
	sal	rdx, 4
	add	rax, rbp
	add	rbp, rdx
	mov	rdx, QWORD PTR 32[rdi]
	mov	esi, DWORD PTR [rdx+rsi*4]
	mov	DWORD PTR [rdx+rcx*4], esi
	mov	edx, DWORD PTR 12[rax]
	mov	edi, DWORD PTR [rax]
	mov	DWORD PTR 12[rbp], edx
	mov	edx, DWORD PTR 8[rax]
	mov	DWORD PTR 8[rbp], edx
	call	G_CMD_LEN@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	r12d, eax
	call	V_CMD_GEN1@PLT
	or	r12d, eax
	xor	eax, eax
	mov	DWORD PTR 0[rbp], r12d
	call	wmb@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	V_CMD_GEN2@PLT
	mov	DWORD PTR 4[rbp], eax
	mov	rax, QWORD PTR [rbx]
	add	DWORD PTR 24[rbx], 1
	add	rax, 1
	mov	QWORD PTR [rbx], rax
	cmp	rax, QWORD PTR 16[rbx]
	jne	.L1
	xor	DWORD PTR 8[rbx], 1
	mov	QWORD PTR [rbx], 0
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	recycle_fl_buf, .-recycle_fl_buf
	.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_sge.c_recycle_fl_buf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	recycle_fl_buf, %function
recycle_fl_buf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r2, [r0, #16]
	ldr	r6, [r0, #20]
	ldr	r8, [r4]
	ldr	r0, [r2, r1, lsl #2]
	add	r3, r6, r1, lsl #4
	str	r0, [r2, r8, lsl #2]
	ldr	r2, [r3, #12]
	ldr	r3, [r3, #8]
	add	r7, r6, r8, lsl #4
	ldr	r0, [r6, r1, lsl #4]
	str	r2, [r7, #12]
	str	r3, [r7, #8]
	bl	G_CMD_LEN
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	V_CMD_GEN1
	orr	r5, r5, r0
	str	r5, [r6, r8, lsl #4]
	bl	wmb
	ldr	r0, [r4, #4]
	bl	V_CMD_GEN2
	ldr	r3, [r4]
	ldr	r2, [r4, #12]
	ldr	r1, [r4, #8]
	add	r3, r3, #1
	cmp	r3, r1
	add	r2, r2, #1
	str	r0, [r7, #4]
	str	r2, [r4, #12]
	moveq	r2, #0
	str	r3, [r4]
	ldreq	r3, [r4, #4]
	streq	r2, [r4]
	eoreq	r3, r3, #1
	streq	r3, [r4, #4]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	recycle_fl_buf, .-recycle_fl_buf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
