	.file	"198581372.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"socket error"
.LC1:
	.string	"sockopt"
.LC2:
	.string	"bind fail"
.LC3:
	.string	"225.0.0.70"
.LC4:
	.string	"ad : %s\n"
.LC5:
	.string	"setsockopt"
.LC6:
	.string	"Receiving Datagrams : "
.LC7:
	.string	"recvfrom"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -100[rbp], 1
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -96[rbp], eax
	cmp	DWORD PTR -96[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	lea	rdx, -100[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	lea	rax, -80[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -80[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -76[rbp], eax
	mov	edi, 10000
	call	htons@PLT
	mov	WORD PTR -78[rbp], ax
	lea	rcx, -80[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	lea	rdi, .LC3[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -88[rbp], eax
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -88[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	r8d, 8
	mov	rcx, rdx
	mov	edx, 35
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L5
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L5:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L7:
	mov	DWORD PTR -104[rbp], 16
	lea	rcx, -104[rbp]
	lea	rdx, -80[rbp]
	lea	rsi, -64[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 50
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	jns	.L6
	lea	rdi, .LC7[rip]
	call	perror@PLT
.L6:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L7
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"198581372.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"socket error\000"
	.align	2
.LC1:
	.ascii	"sockopt\000"
	.align	2
.LC2:
	.ascii	"bind fail\000"
	.align	2
.LC3:
	.ascii	"225.0.0.70\000"
	.align	2
.LC4:
	.ascii	"ad : %s\012\000"
	.align	2
.LC5:
	.ascii	"setsockopt\000"
	.align	2
.LC6:
	.ascii	"Receiving Datagrams : \000"
	.align	2
.LC7:
	.ascii	"recvfrom\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-96]
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L9+4
	bl	perror
	mov	r0, #0
	bl	exit
.L2:
	sub	r3, fp, #96
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-92]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L9+8
	bl	perror
	mov	r0, #0
	bl	exit
.L3:
	sub	r3, fp, #76
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-76]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-72]
	ldr	r0, .L9+12
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-74]	@ movhi
	sub	r3, fp, #76
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L9+16
	bl	perror
	mov	r0, #0
	bl	exit
.L4:
	ldr	r0, .L9+20
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-84]
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r0, [fp, #-80]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L9+24
	bl	printf
	sub	r3, fp, #84
	mov	r2, #8
	str	r2, [sp]
	mov	r2, #35
	mov	r1, #0
	ldr	r0, [fp, #-92]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L9+28
	bl	perror
	mov	r0, #0
	bl	exit
.L5:
	ldr	r0, .L9+32
	bl	puts
.L7:
	mov	r3, #16
	str	r3, [fp, #-100]
	sub	r1, fp, #60
	sub	r3, fp, #100
	str	r3, [sp, #4]
	sub	r3, fp, #76
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #50
	ldr	r0, [fp, #-92]
	bl	recvfrom
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L9+36
	bl	perror
.L6:
	sub	r3, fp, #60
	mov	r0, r3
	bl	puts
	b	.L7
.L10:
	.align	2
.L9:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	10000
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
