	.file	"373769.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Opening datagram socket error"
.LC1:
	.string	"224.0.0.0"
	.align 8
.LC2:
	.string	"Setting IP_MULTICAST_LOOP error"
.LC3:
	.string	"169.0.0.1"
.LC4:
	.string	"Setting local interface error"
.LC5:
	.string	"Setting SO_REUSEADDR error"
.LC6:
	.string	"Binding datagram socket error"
.LC7:
	.string	"Adding multicast group error"
	.text
	.globl	initMulticast
	.type	initMulticast, @function
initMulticast:
.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, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -48[rbp], 2
	lea	rdi, .LC1[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	edi, 12345
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	BYTE PTR -69[rbp], 0
	lea	rdx, -69[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	r8d, 1
	mov	rcx, rdx
	mov	edx, 34
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L3
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rdi, .LC3[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -68[rbp], eax
	lea	rdx, -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 32
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	DWORD PTR -64[rbp], 1
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L5
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	lea	rdi, .LC1[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -56[rbp], eax
	lea	rdi, .LC3[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -52[rbp], eax
	lea	rdx, -56[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	r8d, 8
	mov	rcx, rdx
	mov	edx, 35
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L7
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -28[rbp], rax
	mov	QWORD PTR -20[rbp], rdx
	mov	rcx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR 16[rcx], eax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	mov	rax, QWORD PTR -88[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	initMulticast, .-initMulticast
	.section	.rodata
	.align 8
.LC8:
	.string	"Bytes Received: %d.  The message is: %s\n"
	.align 8
.LC9:
	.string	"Sending datagram message error"
.LC10:
	.string	"Sending datagram message...OK"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 608
	mov	DWORD PTR -596[rbp], edi
	mov	QWORD PTR -608[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 8314035691678627149
	movabs	rdx, 7863412988361056372
	mov	QWORD PTR -528[rbp], rax
	mov	QWORD PTR -520[rbp], rdx
	movabs	rax, 7791338850041951077
	mov	edx, 2190447
	mov	QWORD PTR -512[rbp], rax
	mov	QWORD PTR -504[rbp], rdx
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -488[rbp], 0
	mov	QWORD PTR -480[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	QWORD PTR -464[rbp], 0
	mov	QWORD PTR -456[rbp], 0
	mov	QWORD PTR -448[rbp], 0
	mov	QWORD PTR -440[rbp], 0
	mov	QWORD PTR -432[rbp], 0
	mov	QWORD PTR -424[rbp], 0
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -392[rbp], 0
	mov	QWORD PTR -384[rbp], 0
	mov	QWORD PTR -376[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	DWORD PTR -588[rbp], 256
	mov	DWORD PTR -584[rbp], 256
	lea	rax, -560[rbp]
	lea	rdx, -592[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	initMulticast
	mov	eax, DWORD PTR -560[rbp]
	mov	DWORD PTR -592[rbp], eax
	mov	rax, QWORD PTR -556[rbp]
	mov	rdx, QWORD PTR -548[rbp]
	mov	QWORD PTR -576[rbp], rax
	mov	QWORD PTR -568[rbp], rdx
.L13:
	mov	eax, DWORD PTR -584[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -592[rbp]
	lea	rcx, -576[rbp]
	lea	rsi, -272[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -580[rbp], eax
	lea	rdx, -272[rbp]
	mov	eax, DWORD PTR -580[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -588[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -592[rbp]
	lea	rcx, -576[rbp]
	lea	rsi, -528[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	test	rax, rax
	jns	.L11
	lea	rdi, .LC9[rip]
	call	perror@PLT
	jmp	.L13
.L11:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L13
	.cfi_endproc
.LFE7:
	.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	"373769.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Opening datagram socket error\000"
	.align	2
.LC1:
	.ascii	"224.0.0.0\000"
	.align	2
.LC2:
	.ascii	"Setting IP_MULTICAST_LOOP error\000"
	.align	2
.LC3:
	.ascii	"169.0.0.1\000"
	.align	2
.LC4:
	.ascii	"Setting local interface error\000"
	.align	2
.LC5:
	.ascii	"Setting SO_REUSEADDR error\000"
	.align	2
.LC6:
	.ascii	"Binding datagram socket error\000"
	.align	2
.LC7:
	.ascii	"Adding multicast group error\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	initMulticast
	.syntax unified
	.arm
	.fpu softvfp
	.type	initMulticast, %function
initMulticast:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L10+4
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #44
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-44]	@ movhi
	ldr	r0, .L10+8
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r0, .L10+12
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-42]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-65]
	sub	r3, fp, #65
	mov	r2, #1
	str	r2, [sp]
	mov	r2, #34
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L10+16
	bl	perror
	ldr	r0, [fp, #-56]
	bl	close
	mov	r0, #1
	bl	exit
.L3:
	ldr	r0, .L10+20
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-64]
	sub	r3, fp, #64
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #32
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L10+24
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	mov	r3, #1
	str	r3, [fp, #-60]
	sub	r3, fp, #60
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-56]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L10+28
	bl	perror
	ldr	r0, [fp, #-56]
	bl	close
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #44
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L10+32
	bl	perror
	ldr	r0, [fp, #-56]
	bl	close
	mov	r0, #1
	bl	exit
.L6:
	ldr	r0, .L10+8
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r0, .L10+20
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	mov	r2, #8
	str	r2, [sp]
	mov	r2, #35
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L10+36
	bl	perror
	ldr	r0, [fp, #-56]
	bl	close
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-28]
	sub	ip, fp, #24
	sub	r3, fp, #44
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-72]
	mov	lr, r3
	sub	ip, fp, #28
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldr	r3, [ip]
	str	r3, [lr]
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	ldr	r0, [fp, #-72]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	12345
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	initMulticast, .-initMulticast
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Bytes Received: %d.  The message is: %s\012\000"
	.align	2
.LC11:
	.ascii	"Sending datagram message error\000"
	.align	2
.LC12:
	.ascii	"Sending datagram message...OK\000"
	.align	2
.LC9:
	.ascii	"Multicast test message lol!\000"
	.space	228
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 576
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #584
	str	r0, [fp, #-576]
	str	r1, [fp, #-580]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L17+4
	sub	ip, fp, #520
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #492
	mov	r2, #228
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #256
	str	r3, [fp, #-568]
	mov	r3, #256
	str	r3, [fp, #-564]
	sub	r3, fp, #540
	sub	r2, fp, #572
	mov	r1, r2
	mov	r0, r3
	bl	initMulticast
	ldr	r3, [fp, #-540]
	str	r3, [fp, #-572]
	sub	ip, fp, #556
	sub	r3, fp, #536
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L15:
	ldr	r0, [fp, #-572]
	ldr	r2, [fp, #-564]
	sub	r1, fp, #264
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #556
	str	r3, [sp]
	mov	r3, #0
	bl	recvfrom
	str	r0, [fp, #-560]
	sub	r3, fp, #264
	mov	r2, r3
	ldr	r1, [fp, #-560]
	ldr	r0, .L17+8
	bl	printf
	ldr	r0, [fp, #-572]
	ldr	r2, [fp, #-568]
	sub	r1, fp, #520
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #556
	str	r3, [sp]
	mov	r3, #0
	bl	sendto
	mov	r3, r0
	cmp	r3, #0
	bge	.L13
	ldr	r0, .L17+12
	bl	perror
	b	.L15
.L13:
	ldr	r0, .L17+16
	bl	puts
	b	.L15
.L18:
	.align	2
.L17:
	.word	.LC13
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
