	.file	"extr_test_sockmap.c_forever_ping_pong.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"send failed()\n"
.LC1:
	.string	"select()"
.LC2:
	.string	"unexpected timeout\n"
.LC3:
	.string	"recv failed()\n"
.LC4:
	.string	"."
	.text
	.p2align 4
	.type	forever_ping_pong, @function
forever_ping_pong:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	ecx, 126
	pxor	xmm0, xmm0
	mov	edx, 1024
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 1096
	.cfi_def_cfa_offset 1152
	mov	DWORD PTR 4[rsp], edi
	lea	rdi, 64[rsp]
	lea	r13, 48[rsp]
	mov	QWORD PTR 8[rsp], rsi
	mov	rsi, r13
	lea	rbp, 28[rsp]
	lea	r15, 32[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1080[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 32[rsp], 10
	mov	QWORD PTR 40[rsp], 0
	movaps	XMMWORD PTR 48[rsp], xmm0
	rep stosq
	mov	edi, DWORD PTR c1[rip]
	call	send@PLT
	test	eax, eax
	js	.L39
.L2:
	mov	rdi, rbp
	mov	r12d, DWORD PTR p2[rip]
	call	FD_ZERO@PLT
	mov	edi, DWORD PTR c1[rip]
	mov	rsi, rbp
	call	FD_SET@PLT
	mov	edi, DWORD PTR c2[rip]
	mov	rsi, rbp
	call	FD_SET@PLT
	mov	edi, DWORD PTR p1[rip]
	mov	rsi, rbp
	call	FD_SET@PLT
	mov	edi, DWORD PTR p2[rip]
	mov	rsi, rbp
	call	FD_SET@PLT
	lea	edi, 1[r12]
	mov	r8, r15
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, rbp
	call	select@PLT
	mov	ebx, eax
	cmp	eax, -1
	je	.L40
	test	eax, eax
	je	.L6
	jle	.L14
	test	r12d, r12d
	js	.L14
	xor	r14d, r14d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	je	.L41
.L12:
	xor	ecx, ecx
	mov	rsi, r13
	mov	edi, r14d
	call	send@PLT
	test	eax, eax
	js	.L42
.L10:
	add	r14d, 1
	cmp	r12d, r14d
	jl	.L14
	test	ebx, ebx
	jle	.L14
.L7:
	mov	rsi, rbp
	mov	edi, r14d
	call	FD_ISSET@PLT
	test	eax, eax
	je	.L10
	mov	edx, 1024
	xor	ecx, ecx
	mov	rsi, r13
	mov	edi, r14d
	call	recv@PLT
	sub	ebx, 1
	mov	edx, eax
	test	eax, eax
	jns	.L11
	mov	rax, QWORD PTR EWOULDBLOCK[rip]
	cmp	QWORD PTR errno[rip], rax
	je	.L12
	lea	rdi, .LC3[rip]
	mov	DWORD PTR 4[rsp], edx
	call	perror@PLT
	mov	edx, DWORD PTR 4[rsp]
.L1:
	mov	rax, QWORD PTR 1080[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L43
	add	rsp, 1096
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, edx
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L41:
	.cfi_restore_state
	mov	edi, r14d
	call	close@PLT
.L14:
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jne	.L44
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR [rax], 0
	jne	.L45
.L17:
	cmp	QWORD PTR running[rip], 0
	jne	.L2
	xor	edx, edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L44:
	mov	edi, DWORD PTR 4[rsp]
	call	sleep@PLT
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR [rax], 0
	je	.L17
.L45:
	lea	rdi, .LC4[rip]
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L42:
	lea	rdi, .LC0[rip]
	mov	DWORD PTR 4[rsp], eax
	call	perror@PLT
	mov	edx, DWORD PTR 4[rsp]
	jmp	.L1
.L39:
	lea	rdi, .LC0[rip]
	mov	DWORD PTR 4[rsp], eax
	call	perror@PLT
	mov	edx, DWORD PTR 4[rsp]
	jmp	.L1
.L40:
	lea	rdi, .LC1[rip]
	call	perror@PLT
	xor	edx, edx
	jmp	.L1
.L6:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	call	fprintf@PLT
	xor	edx, edx
	jmp	.L1
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	forever_ping_pong, .-forever_ping_pong
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	running,8,8
	.comm	p2,4,4
	.comm	p1,4,4
	.comm	errno,8,8
	.comm	c2,4,4
	.comm	c1,4,4
	.comm	EWOULDBLOCK,8,8
	.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_test_sockmap.c_forever_ping_pong.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"send failed()\012\000"
	.align	2
.LC1:
	.ascii	"select()\000"
	.align	2
.LC2:
	.ascii	"unexpected timeout\012\000"
	.align	2
.LC3:
	.ascii	"recv failed()\012\000"
	.align	2
.LC4:
	.ascii	".\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	forever_ping_pong, %function
forever_ping_pong:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	sub	sp, sp, #1056
	sub	sp, sp, #4
	str	r3, [sp, #12]
	ldr	r3, .L39
	mov	r2, #1020
	mov	r10, r1
	add	r0, sp, #32
	mov	r1, r4
	ldr	r3, [r3]
	str	r3, [sp, #1052]
	mov	r3,#0
	str	r4, [sp, #28]
	bl	memset
	mov	ip, #10
	add	r3, sp, #28
	ldr	fp, .L39+4
	str	r3, [sp, #8]
	mov	r2, #1024
	mov	r3, r4
	ldr	r1, [sp, #8]
	ldr	r0, [fp]
	str	r4, [sp, #24]
	str	ip, [sp, #20]
	bl	send
	subs	r2, r0, #0
	blt	.L32
	ldr	r9, .L39+8
	ldr	r8, .L39+12
	ldr	r7, .L39+16
.L2:
	add	r0, sp, #16
	ldr	r6, [r9]
	bl	FD_ZERO
	add	r1, sp, #16
	ldr	r0, [fp]
	bl	FD_SET
	ldr	r3, .L39+20
	add	r1, sp, #16
	ldr	r0, [r3]
	bl	FD_SET
	ldr	r3, .L39+24
	add	r1, sp, #16
	ldr	r0, [r3]
	bl	FD_SET
	add	r1, sp, #16
	ldr	r0, [r9]
	bl	FD_SET
	mov	r3, #0
	add	r2, sp, #20
	str	r2, [sp]
	add	r0, r6, #1
	mov	r2, r3
	add	r1, sp, #16
	bl	select
	cmn	r0, #1
	mov	r5, r0
	beq	.L34
	cmp	r0, #0
	beq	.L6
	movgt	r3, #1
	movle	r3, #0
	cmp	r6, #0
	movlt	r3, #0
	andge	r3, r3, #1
	cmp	r3, #0
	movne	r4, #0
	bne	.L7
	b	.L13
.L10:
	beq	.L35
.L11:
	mov	r3, #0
	mov	r0, r4
	ldr	r1, [sp, #8]
	bl	send
	subs	r2, r0, #0
	blt	.L32
.L9:
	add	r4, r4, #1
	cmp	r6, r4
	cmpge	r5, #0
	ble	.L13
.L7:
	mov	r0, r4
	add	r1, sp, #16
	bl	FD_ISSET
	cmp	r0, #0
	beq	.L9
	mov	r2, #1024
	mov	r3, #0
	mov	r0, r4
	ldr	r1, [sp, #8]
	bl	recv
	subs	r2, r0, #0
	sub	r5, r5, #1
	bge	.L10
	ldr	r1, [r8]
	ldr	r3, [r7]
	cmp	r1, r3
	beq	.L11
	ldr	r0, .L39+28
	str	r2, [sp, #8]
	bl	perror
	ldr	r2, [sp, #8]
.L1:
	ldr	r3, .L39
	ldr	r1, [r3]
	ldr	r3, [sp, #1052]
	eors	r1, r3, r1
	mov	r3, #0
	bne	.L36
	mov	r0, r2
	add	sp, sp, #1056
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	mov	r0, r4
	bl	close
.L13:
	ldr	r3, [sp, #12]
	cmp	r3, #0
	bne	.L37
.L14:
	ldr	r3, [r10]
	cmp	r3, #0
	bne	.L38
.L15:
	ldr	r3, .L39+32
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L2
	b	.L1
.L32:
	ldr	r0, .L39+36
	str	r2, [sp, #8]
	bl	perror
	ldr	r2, [sp, #8]
	b	.L1
.L38:
	ldr	r0, .L39+40
	bl	printf
	ldr	r3, .L39+44
	ldr	r0, [r3]
	bl	fflush
	b	.L15
.L37:
	mov	r0, r3
	bl	sleep
	b	.L14
.L34:
	ldr	r0, .L39+48
	bl	perror
.L5:
	mov	r2, #0
	b	.L1
.L6:
	ldr	r3, .L39+52
	ldr	r1, .L39+56
	ldr	r0, [r3]
	bl	fprintf
	b	.L5
.L36:
	bl	__stack_chk_fail
.L40:
	.align	2
.L39:
	.word	.LC5
	.word	c1
	.word	p2
	.word	errno
	.word	EWOULDBLOCK
	.word	c2
	.word	p1
	.word	.LC3
	.word	running
	.word	.LC0
	.word	.LC4
	.word	stdout
	.word	.LC1
	.word	stderr
	.word	.LC2
	.size	forever_ping_pong, .-forever_ping_pong
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	running,4,4
	.comm	p2,4,4
	.comm	p1,4,4
	.comm	errno,4,4
	.comm	c2,4,4
	.comm	c1,4,4
	.comm	EWOULDBLOCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
