	.file	"extr_fake.c_fgetcSocket.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fgetcSocket
	.type	fgetcSocket, @function
fgetcSocket:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	movsx	rax, DWORD PTR index.1927[rip]
	cmp	eax, DWORD PTR total.1928[rip]
	je	.L9
.L2:
	lea	edx, 1[rax]
	mov	DWORD PTR index.1927[rip], edx
	lea	rdx, buffer.1929[rip]
	movsx	eax, BYTE PTR [rdx+rax]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	ecx, ecx
	mov	edx, 4096
	lea	rsi, buffer.1929[rip]
	mov	DWORD PTR index.1927[rip], 0
	call	recv@PLT
	cmp	eax, DWORD PTR SOCKET_ERROR[rip]
	mov	DWORD PTR total.1928[rip], eax
	mov	edx, eax
	je	.L10
	mov	eax, DWORD PTR EOF[rip]
	test	edx, edx
	je	.L1
	movsx	rax, DWORD PTR index.1927[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	DWORD PTR total.1928[rip], 0
	mov	eax, DWORD PTR ERROR[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fgetcSocket, .-fgetcSocket
	.local	buffer.1929
	.comm	buffer.1929,4096,32
	.local	total.1928
	.comm	total.1928,4,4
	.local	index.1927
	.comm	index.1927,4,4
	.comm	SOCKET_ERROR,4,4
	.comm	ERROR,4,4
	.comm	EOF,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_fake.c_fgetcSocket.c"
	.text
	.align	2
	.global	fgetcSocket
	.syntax unified
	.arm
	.fpu softvfp
	.type	fgetcSocket, %function
fgetcSocket:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, .L10
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	cmp	r3, r2
	beq	.L8
.L2:
	ldr	r1, .L10+4
	add	r2, r3, #1
	ldrb	r0, [r1, r3]	@ zero_extendqisi2
	str	r2, [r4]
	pop	{r4, r5, r6, pc}
.L8:
	mov	r5, #0
	mov	r2, #4096
	mov	r3, r5
	ldr	r1, .L10+4
	str	r5, [r4]
	bl	recv
	ldr	r3, .L10+8
	str	r0, [r4, #4]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L9
	cmp	r0, #0
	ldrne	r3, [r4]
	bne	.L2
.L5:
	ldr	r3, .L10+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L10+16
	str	r5, [r4, #4]
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	.LANCHOR0
	.word	buffer.4213
	.word	SOCKET_ERROR
	.word	EOF
	.word	ERROR
	.size	fgetcSocket, .-fgetcSocket
	.comm	SOCKET_ERROR,4,4
	.comm	ERROR,4,4
	.comm	EOF,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	index.4211, %object
	.size	index.4211, 4
index.4211:
	.space	4
	.type	total.4212, %object
	.size	total.4212, 4
total.4212:
	.space	4
	.type	buffer.4213, %object
	.size	buffer.4213, 4096
buffer.4213:
	.space	4096
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
