	.file	"extr_l_net_wins.c_WINS_Read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"WINS_Read: %s\n"
	.text
	.p2align 4
	.globl	WINS_Read
	.type	WINS_Read, @function
WINS_Read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 4
	test	rcx, rcx
	je	.L2
	mov	r8, rcx
	lea	r9, 4[rsp]
	xor	ecx, ecx
	call	recvfrom@PLT
	mov	r12d, eax
	cmp	eax, -1
	je	.L11
.L3:
	cmp	DWORD PTR SOCKET_ERROR[rip], r12d
	je	.L13
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	ecx, ecx
	call	recv@PLT
	cmp	DWORD PTR SOCKET_ERROR[rip], eax
	mov	r12d, eax
	jne	.L1
.L11:
	xor	eax, eax
	call	WSAGetLastError@PLT
	cmp	DWORD PTR WSAEWOULDBLOCK[rip], eax
	je	.L6
	cmp	DWORD PTR WSAECONNREFUSED[rip], eax
	jne	.L3
.L6:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	xor	eax, eax
	call	WSAGetLastError@PLT
	mov	edi, eax
	call	WINS_ErrorMessage@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	WinPrint@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	WINS_Read, .-WINS_Read
	.comm	WSAEWOULDBLOCK,4,4
	.comm	WSAECONNREFUSED,4,4
	.comm	SOCKET_ERROR,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_l_net_wins.c_WINS_Read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WINS_Read: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	WINS_Read
	.syntax unified
	.arm
	.fpu softvfp
	.type	WINS_Read, %function
WINS_Read:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	lr, #4
	ldr	r4, .L15
	sub	sp, sp, #20
	subs	ip, r3, #0
	ldr	r4, [r4]
	str	r4, [sp, #12]
	mov	r4,#0
	str	lr, [sp, #8]
	beq	.L2
	add	r3, sp, #8
	str	r3, [sp, #4]
	str	ip, [sp]
	mov	r3, #0
	bl	recvfrom
	cmn	r0, #1
	mov	r4, r0
	beq	.L9
.L11:
	ldr	r5, .L15+4
.L3:
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L13
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	bl	recv
	ldr	r5, .L15+4
	mov	r4, r0
	ldr	r3, [r5]
	cmp	r3, r0
	bne	.L1
	bl	WSAGetLastError
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
	ldr	r3, .L15+12
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L3
.L6:
	mov	r4, #0
	b	.L1
.L13:
	bl	WSAGetLastError
	bl	WINS_ErrorMessage
	mov	r1, r0
	ldr	r0, .L15+16
	bl	WinPrint
	b	.L1
.L9:
	bl	WSAGetLastError
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
	ldr	r3, .L15+12
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L11
	b	.L6
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	SOCKET_ERROR
	.word	WSAEWOULDBLOCK
	.word	WSAECONNREFUSED
	.word	.LC0
	.size	WINS_Read, .-WINS_Read
	.comm	WSAEWOULDBLOCK,4,4
	.comm	WSAECONNREFUSED,4,4
	.comm	SOCKET_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
