	.file	"753943.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"usage : %s blocksrcipv4addr\n"
.LC1:
	.string	"12345"
.LC2:
	.string	"getaddrinfo : %s\n"
.LC3:
	.string	"socket"
.LC4:
	.string	"bind"
.LC5:
	.string	"239.192.1.2"
.LC6:
	.string	"setsockopt"
.LC7:
	.string	"SOURCE to block : %s\n"
.LC8:
	.string	"recv"
	.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, 2576
	mov	DWORD PTR -2564[rbp], edi
	mov	QWORD PTR -2576[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -2564[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -2576[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L12
.L2:
	lea	rax, -2528[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -2524[rbp], 2
	mov	DWORD PTR -2520[rbp], 2
	mov	DWORD PTR -2528[rbp], 1
	lea	rdx, -2536[rbp]
	lea	rax, -2528[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC1[rip]
	mov	edi, 0
	call	getaddrinfo@PLT
	mov	DWORD PTR -2548[rbp], eax
	cmp	DWORD PTR -2548[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -2548[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L12
.L4:
	mov	rax, QWORD PTR -2536[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -2536[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -2544[rbp], eax
	cmp	DWORD PTR -2544[rbp], 0
	jns	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L12
.L5:
	mov	rax, QWORD PTR -2536[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -2536[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -2544[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L12
.L6:
	mov	rax, QWORD PTR -2536[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	lea	rax, -2528[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -2524[rbp], 2
	mov	DWORD PTR -2520[rbp], 2
	lea	rdx, -2536[rbp]
	lea	rax, -2528[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, .LC5[rip]
	call	getaddrinfo@PLT
	mov	DWORD PTR -2548[rbp], eax
	cmp	DWORD PTR -2548[rbp], 0
	je	.L7
	mov	eax, DWORD PTR -2548[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L12
.L7:
	lea	rax, -2480[rbp]
	mov	edx, 136
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -2480[rbp], 0
	mov	rax, QWORD PTR -2536[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	esi, eax
	mov	rax, QWORD PTR -2536[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, -2480[rbp]
	lea	rcx, 8[rdx]
	mov	rdx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	lea	rdx, -2480[rbp]
	mov	eax, DWORD PTR -2544[rbp]
	mov	r8d, 136
	mov	rcx, rdx
	mov	edx, 42
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	je	.L8
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L12
.L8:
	lea	rax, -2336[rbp]
	mov	edx, 264
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -2536[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	esi, eax
	mov	rax, QWORD PTR -2536[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, -2336[rbp]
	lea	rcx, 8[rdx]
	mov	rdx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -2536[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	mov	rax, QWORD PTR -2576[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2528[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -2524[rbp], 2
	mov	DWORD PTR -2520[rbp], 2
	mov	rax, QWORD PTR -2576[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -2536[rbp]
	lea	rdx, -2528[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -2548[rbp], eax
	cmp	DWORD PTR -2548[rbp], 0
	je	.L9
	mov	eax, DWORD PTR -2548[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L12
.L9:
	mov	rax, QWORD PTR -2536[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	esi, eax
	mov	rax, QWORD PTR -2536[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, -2336[rbp]
	lea	rcx, 136[rdx]
	mov	rdx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -2536[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	lea	rdx, -2336[rbp]
	mov	eax, DWORD PTR -2544[rbp]
	mov	r8d, 264
	mov	rcx, rdx
	mov	edx, 43
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	je	.L10
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L12
.L10:
	lea	rsi, -2064[rbp]
	mov	eax, DWORD PTR -2544[rbp]
	mov	ecx, 0
	mov	edx, 2048
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -2540[rbp], eax
	cmp	DWORD PTR -2540[rbp], 0
	jg	.L11
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L12
.L11:
	lea	rax, -2064[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, DWORD PTR -2544[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"753943.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage : %s blocksrcipv4addr\012\000"
	.align	2
.LC1:
	.ascii	"12345\000"
	.align	2
.LC2:
	.ascii	"getaddrinfo : %s\012\000"
	.align	2
.LC3:
	.ascii	"socket\000"
	.align	2
.LC4:
	.ascii	"bind\000"
	.align	2
.LC5:
	.ascii	"239.192.1.2\000"
	.align	2
.LC6:
	.ascii	"setsockopt\000"
	.align	2
.LC7:
	.ascii	"SOURCE to block : %s\012\000"
	.align	2
.LC8:
	.ascii	"recv\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2504
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2512
	str	r0, [fp, #-2504]
	str	r1, [fp, #-2508]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-2504]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L14+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2508]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L14+8
	bl	fprintf
	mov	r3, #1
	b	.L12
.L2:
	sub	r3, fp, #2464
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	str	r3, [fp, #-2476]
	mov	r3, #2
	str	r3, [fp, #-2472]
	mov	r3, #1
	str	r3, [fp, #-2480]
	sub	r3, fp, #2480
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r2, fp, #2464
	sub	r2, r2, #4
	sub	r2, r2, #12
	ldr	r1, .L14+12
	mov	r0, #0
	bl	getaddrinfo
	str	r0, [fp, #-2492]
	ldr	r3, [fp, #-2492]
	cmp	r3, #0
	beq	.L4
	ldr	r0, [fp, #-2492]
	bl	gai_strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	mov	r3, #1
	b	.L12
.L4:
	ldr	r3, [fp, #-2496]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-2496]
	ldr	r3, [r3, #8]
	mov	r2, #0
	mov	r1, r3
	bl	socket
	str	r0, [fp, #-2488]
	ldr	r3, [fp, #-2488]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L14+20
	bl	perror
	mov	r3, #1
	b	.L12
.L5:
	ldr	r3, [fp, #-2496]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-2496]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-2488]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L14+24
	bl	perror
	mov	r3, #1
	b	.L12
.L6:
	ldr	r3, [fp, #-2496]
	mov	r0, r3
	bl	freeaddrinfo
	sub	r3, fp, #2464
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	str	r3, [fp, #-2476]
	mov	r3, #2
	str	r3, [fp, #-2472]
	sub	r3, fp, #2480
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r2, fp, #2464
	sub	r2, r2, #4
	sub	r2, r2, #12
	mov	r1, #0
	ldr	r0, .L14+28
	bl	getaddrinfo
	str	r0, [fp, #-2492]
	ldr	r3, [fp, #-2492]
	cmp	r3, #0
	beq	.L7
	ldr	r0, [fp, #-2492]
	bl	gai_strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	mov	r3, #1
	b	.L12
.L7:
	sub	r3, fp, #2432
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #132
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-2448]
	ldr	r3, [fp, #-2496]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-2496]
	ldr	r2, [r3, #16]
	sub	r3, fp, #2432
	sub	r3, r3, #4
	sub	r3, r3, #12
	add	r3, r3, #4
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #2432
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #132
	str	r2, [sp]
	mov	r2, #42
	mov	r1, #0
	ldr	r0, [fp, #-2488]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L14+32
	bl	perror
	mov	r3, #1
	b	.L12
.L8:
	sub	r3, fp, #2304
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #260
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-2496]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-2496]
	ldr	r2, [r3, #16]
	sub	r3, fp, #2304
	sub	r3, r3, #4
	sub	r3, r3, #8
	add	r3, r3, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-2496]
	mov	r0, r3
	bl	freeaddrinfo
	ldr	r3, [fp, #-2508]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+36
	bl	printf
	sub	r3, fp, #2464
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	str	r3, [fp, #-2476]
	mov	r3, #2
	str	r3, [fp, #-2472]
	ldr	r3, [fp, #-2508]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #2480
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r2, fp, #2464
	sub	r2, r2, #4
	sub	r2, r2, #12
	mov	r1, #0
	bl	getaddrinfo
	str	r0, [fp, #-2492]
	ldr	r3, [fp, #-2492]
	cmp	r3, #0
	beq	.L9
	ldr	r0, [fp, #-2492]
	bl	gai_strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	mov	r3, #1
	b	.L12
.L9:
	ldr	r3, [fp, #-2496]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-2496]
	ldr	r2, [r3, #16]
	sub	r3, fp, #2304
	sub	r3, r3, #4
	sub	r3, r3, #8
	add	r3, r3, #132
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-2496]
	mov	r0, r3
	bl	freeaddrinfo
	sub	r3, fp, #2304
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #260
	str	r2, [sp]
	mov	r2, #43
	mov	r1, #0
	ldr	r0, [fp, #-2488]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L14+32
	bl	perror
	mov	r3, #1
	b	.L12
.L10:
	sub	r1, fp, #2048
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #2048
	ldr	r0, [fp, #-2488]
	bl	recv
	str	r0, [fp, #-2484]
	ldr	r3, [fp, #-2484]
	cmp	r3, #0
	bgt	.L11
	ldr	r0, .L14+40
	bl	perror
	mov	r3, #1
	b	.L12
.L11:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	puts
	ldr	r0, [fp, #-2488]
	bl	close
	mov	r3, #0
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC9
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
