	.file	"extr_42355.c_receive.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.globl	receive
	.type	receive, @function
receive:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	mov	ecx, 126
	lea	r12, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 1040
	.cfi_def_cfa_offset 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1032[rsp], rax
	xor	eax, eax
	lea	rdi, 16[rsp]
	movaps	XMMWORD PTR [rsp], xmm0
	mov	rbx, rsp
	rep stosq
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	cdqe
	mov	rdi, r12
	mov	rsi, rbx
	mov	BYTE PTR [rsp+rax], 0
	call	printf@PLT
	mov	edi, DWORD PTR stdout[rip]
	call	fflush@PLT
.L2:
	xor	ecx, ecx
	mov	edx, 1023
	mov	rsi, rbx
	mov	edi, ebp
	call	recv@PLT
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR 1032[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 1040
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	receive, .-receive
	.comm	stdout,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_42355.c_receive.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	receive
	.syntax unified
	.arm
	.fpu softvfp
	.type	receive, %function
receive:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #1024
	sub	sp, sp, #12
	ldr	r3, .L8
	mov	r4, r0
	mov	r2, #1020
	add	r0, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #1028]
	mov	r3,#0
	ldr	r5, .L8+4
	str	r1, [sp, #4]
	ldr	r7, .L8+8
	bl	memset
	ldr	r6, .L8+12
	b	.L2
.L3:
	mov	r2, #0
	add	r3, sp, #1024
	add	r3, r3, #8
	add	r3, r3, r0
	add	r1, sp, #4
	mov	r0, r7
	strb	r2, [r3, #-1028]
	bl	printf
	ldr	r0, [r6]
	bl	fflush
.L2:
	mov	r3, #0
	mov	r2, r5
	mov	r0, r4
	add	r1, sp, #4
	bl	recv
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #1028]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #1024
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	1023
	.word	.LC0
	.word	stdout
	.size	receive, .-receive
	.comm	stdout,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
