	.file	"657807.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"IP_PKTINFO, {ipi_ifindex=if_nametoindex(\"lo\"), ipi_spec_dst=inet_addr(\"127.0.0.1\"), ipi_addr=inet_addr(\"127.0.0.1\")}"
	.text
	.type	print_pktinfo, @function
print_pktinfo:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_pktinfo, .-print_pktinfo
	.section	.rodata
.LC1:
	.string	"IP_TTL, {ttl=%u}"
	.text
	.type	print_ttl, @function
print_ttl:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_ttl, .-print_ttl
	.section	.rodata
.LC2:
	.string	"IP_TOS, {tos=%x}"
	.text
	.type	print_tos, @function
print_tos:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_tos, .-print_tos
	.section	.rodata
.LC3:
	.string	"%s"
.LC4:
	.string	", {opts=0x"
.LC5:
	.string	"%02x"
	.text
	.type	print_opts, @function
print_opts:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, 16
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -8[rbp], 0
	je	.L8
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -24[rbp], 0
	jmp	.L6
.L7:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -24[rbp], 1
.L6:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jb	.L7
	mov	edi, 125
	call	putchar@PLT
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_opts, .-print_opts
	.section	.rodata
	.align 8
.LC6:
	.string	"IP_ORIGDSTADDR, {sa_family=AF_INET, sin_port=htons(%u), sin_addr=inet_addr(\"127.0.0.1\")}"
	.text
	.type	print_origdstaddr, @function
print_origdstaddr:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	print_origdstaddr, .-print_origdstaddr
	.section	.rodata
.LC7:
	.string	"the_stack_data/657807.c"
.LC8:
	.string	"i >= 0"
.LC9:
	.string	"/dev/null"
.LC10:
	.string	"!close(0)"
.LC11:
	.string	"!close(3)"
.LC12:
	.string	"socket"
.LC13:
	.string	"bind"
	.align 8
.LC14:
	.string	"!getsockname(0, (struct sockaddr *) &addr, &len)"
	.align 8
.LC15:
	.string	"socket(PF_INET, SOCK_DGRAM, 0) == 3"
	.align 8
.LC16:
	.string	"!connect(3, (struct sockaddr *) &addr, len)"
	.align 8
.LC17:
	.string	"!setsockopt(3, IPPROTO_IP, (4), &opt_1, sizeof(opt_1))"
	.align 8
.LC18:
	.string	"!setsockopt(0, IPPROTO_IP, (8), &opt_1, sizeof(opt_1))"
	.align 8
.LC19:
	.string	"!setsockopt(0, IPPROTO_IP, (12), &opt_1, sizeof(opt_1))"
	.align 8
.LC20:
	.string	"!setsockopt(0, IPPROTO_IP, (13), &opt_1, sizeof(opt_1))"
	.align 8
.LC21:
	.string	"!setsockopt(0, IPPROTO_IP, (6), &opt_1, sizeof(opt_1))"
	.align 8
.LC22:
	.string	"!setsockopt(0, IPPROTO_IP, (7), &opt_1, sizeof(opt_1))"
	.align 8
.LC23:
	.string	"!setsockopt(0, IPPROTO_IP, (20), &opt_1, sizeof(opt_1))"
	.align 8
.LC24:
	.string	"send(3, data, size, 0) == (int) size"
	.align 8
.LC25:
	.string	"recvmsg(0, &mh, 0) == (int) size"
	.align 8
.LC26:
	.string	"recvmsg(0, {msg_name(%u)={sa_family=AF_INET, sin_port=htons(%u), sin_addr=inet_addr(\"127.0.0.1\")}, msg_iov(1)=[{\"%s\", %zu}], msg_controllen=%zu, ["
.LC27:
	.string	", "
	.align 8
.LC28:
	.string	"{cmsg_len=%zu, cmsg_level=SOL_IP, cmsg_type="
.LC29:
	.string	"IP_RECVOPTS"
.LC30:
	.string	"IP_RETOPTS"
.LC31:
	.string	"%d"
.LC32:
	.string	"], msg_flags=0}, 0) = %zu\n"
.LC33:
	.string	"+++ exited with 0 +++"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r12
	push	rbx
	sub	rsp, 432
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	jmp	.L11
.L12:
	cmp	DWORD PTR -436[rbp], 0
	jns	.L11
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 93
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L11:
	mov	esi, 2
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -436[rbp], eax
	cmp	DWORD PTR -436[rbp], 2
	jle	.L12
	mov	edi, 0
	call	close@PLT
	test	eax, eax
	je	.L13
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 94
	lea	rsi, .LC7[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L13:
	mov	edi, 3
	call	close@PLT
	test	eax, eax
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 95
	lea	rsi, .LC7[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L14:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	test	eax, eax
	je	.L15
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	eax, 77
	jmp	.L51
.L15:
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	WORD PTR -320[rbp], 2
	mov	edi, 2130706433
	call	htonl@PLT
	mov	DWORD PTR -316[rbp], eax
	mov	DWORD PTR -444[rbp], 16
	mov	edx, DWORD PTR -444[rbp]
	lea	rax, -320[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	bind@PLT
	test	eax, eax
	je	.L17
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	eax, 77
	jmp	.L51
.L17:
	lea	rdx, -444[rbp]
	lea	rax, -320[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	getsockname@PLT
	test	eax, eax
	je	.L18
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 110
	lea	rsi, .LC7[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L18:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	cmp	eax, 3
	je	.L19
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 112
	lea	rsi, .LC7[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L19:
	mov	edx, DWORD PTR -444[rbp]
	lea	rax, -320[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	connect@PLT
	test	eax, eax
	je	.L20
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 113
	lea	rsi, .LC7[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L20:
	mov	edi, 16777216
	call	htonl@PLT
	mov	DWORD PTR -440[rbp], eax
	lea	rax, -440[rbp]
	mov	r8d, 4
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 0
	mov	edi, 3
	call	setsockopt@PLT
	test	eax, eax
	je	.L21
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 117
	lea	rsi, .LC7[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L21:
	lea	rax, -440[rbp]
	mov	r8d, 4
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 0
	mov	edi, 0
	call	setsockopt@PLT
	test	eax, eax
	je	.L22
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 118
	lea	rsi, .LC7[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L22:
	lea	rax, -440[rbp]
	mov	r8d, 4
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 0
	mov	edi, 0
	call	setsockopt@PLT
	test	eax, eax
	je	.L23
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 119
	lea	rsi, .LC7[rip]
	lea	rdi, .LC19[rip]
	call	__assert_fail@PLT
.L23:
	lea	rax, -440[rbp]
	mov	r8d, 4
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 0
	mov	edi, 0
	call	setsockopt@PLT
	test	eax, eax
	je	.L24
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 120
	lea	rsi, .LC7[rip]
	lea	rdi, .LC20[rip]
	call	__assert_fail@PLT
.L24:
	lea	rax, -440[rbp]
	mov	r8d, 4
	mov	rcx, rax
	mov	edx, 6
	mov	esi, 0
	mov	edi, 0
	call	setsockopt@PLT
	test	eax, eax
	je	.L25
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 121
	lea	rsi, .LC7[rip]
	lea	rdi, .LC21[rip]
	call	__assert_fail@PLT
.L25:
	lea	rax, -440[rbp]
	mov	r8d, 4
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 0
	mov	edi, 0
	call	setsockopt@PLT
	test	eax, eax
	je	.L26
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 122
	lea	rsi, .LC7[rip]
	lea	rdi, .LC22[rip]
	call	__assert_fail@PLT
.L26:
	lea	rax, -440[rbp]
	mov	r8d, 4
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 0
	mov	edi, 0
	call	setsockopt@PLT
	test	eax, eax
	je	.L27
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 124
	lea	rsi, .LC7[rip]
	lea	rdi, .LC23[rip]
	call	__assert_fail@PLT
.L27:
	mov	QWORD PTR -424[rbp], 4
	mov	rax, QWORD PTR -424[rbp]
	mov	ecx, 0
	mov	rdx, rax
	lea	rsi, data.0[rip]
	mov	edi, 3
	call	send@PLT
	mov	rdx, QWORD PTR -424[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L28
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 129
	lea	rsi, .LC7[rip]
	lea	rdi, .LC24[rip]
	call	__assert_fail@PLT
.L28:
	mov	edi, 3
	call	close@PLT
	test	eax, eax
	je	.L29
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 130
	lea	rsi, .LC7[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L29:
	mov	rax, rsp
	mov	r12, rax
	mov	rax, QWORD PTR -424[rbp]
	sub	rax, 1
	mov	QWORD PTR -416[rbp], rax
	mov	rax, QWORD PTR -424[rbp]
	mov	QWORD PTR -464[rbp], rax
	mov	QWORD PTR -456[rbp], 0
	mov	rax, QWORD PTR -424[rbp]
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 16
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -424[rbp]
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L30:
	cmp	rsp, rdx
	je	.L31
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L30
.L31:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L32
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L32:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -408[rbp], rax
	mov	rax, QWORD PTR -408[rbp]
	mov	QWORD PTR -400[rbp], rax
	mov	rax, QWORD PTR -424[rbp]
	mov	QWORD PTR -392[rbp], rax
	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
	lea	rax, -320[rbp]
	mov	QWORD PTR -384[rbp], rax
	mov	eax, DWORD PTR -444[rbp]
	mov	DWORD PTR -376[rbp], eax
	lea	rax, -400[rbp]
	mov	QWORD PTR -368[rbp], rax
	mov	QWORD PTR -360[rbp], 1
	lea	rax, -304[rbp]
	mov	QWORD PTR -352[rbp], rax
	mov	QWORD PTR -344[rbp], 256
	lea	rax, -384[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	recvmsg@PLT
	mov	rdx, QWORD PTR -424[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L33
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 147
	lea	rsi, .LC7[rip]
	lea	rdi, .LC25[rip]
	call	__assert_fail@PLT
.L33:
	mov	edi, 0
	call	close@PLT
	test	eax, eax
	je	.L34
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 148
	lea	rsi, .LC7[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L34:
	mov	rbx, QWORD PTR -344[rbp]
	movzx	eax, WORD PTR -318[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	mov	eax, DWORD PTR -376[rbp]
	mov	rcx, QWORD PTR -424[rbp]
	mov	r9, rbx
	mov	r8, rcx
	lea	rcx, data.0[rip]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -344[rbp]
	cmp	rax, 15
	jbe	.L35
	mov	rax, QWORD PTR -352[rbp]
	jmp	.L36
.L35:
	mov	eax, 0
.L36:
	mov	QWORD PTR -432[rbp], rax
	jmp	.L37
.L50:
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L53
	lea	rax, -304[rbp]
	cmp	QWORD PTR -432[rbp], rax
	je	.L40
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
.L40:
	mov	rax, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 20
	ja	.L41
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L43[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L43[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L43:
	.long	.L41-.L43
	.long	.L48-.L43
	.long	.L47-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L46-.L43
	.long	.L45-.L43
	.long	.L44-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L42-.L43
	.text
.L44:
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	print_pktinfo
	jmp	.L49
.L47:
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	print_ttl
	jmp	.L49
.L48:
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	print_tos
	jmp	.L49
.L46:
	mov	rax, QWORD PTR -432[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	call	print_opts
	jmp	.L49
.L45:
	mov	rax, QWORD PTR -432[rbp]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	call	print_opts
	jmp	.L49
.L42:
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	print_origdstaddr
	jmp	.L49
.L41:
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L49:
	mov	edi, 125
	call	putchar@PLT
	jmp	.L39
.L53:
	nop
.L39:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -384[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__cmsg_nxthdr@PLT
	mov	QWORD PTR -432[rbp], rax
.L37:
	cmp	QWORD PTR -432[rbp], 0
	jne	.L50
	mov	rax, QWORD PTR -424[rbp]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC33[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsp, r12
.L51:
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"main"
	.type	data.0, @object
	.size	data.0, 5
data.0:
	.string	"data"
	.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	"657807.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"IP_PKTINFO, {ipi_ifindex=if_nametoindex(\"lo\"), ip"
	.ascii	"i_spec_dst=inet_addr(\"127.0.0.1\"), ipi_addr=inet_"
	.ascii	"addr(\"127.0.0.1\")}\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_pktinfo, %function
print_pktinfo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L2
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	print_pktinfo, .-print_pktinfo
	.section	.rodata
	.align	2
.LC1:
	.ascii	"IP_TTL, {ttl=%u}\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_ttl, %function
print_ttl:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.size	print_ttl, .-print_ttl
	.section	.rodata
	.align	2
.LC2:
	.ascii	"IP_TOS, {tos=%x}\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_tos, %function
print_tos:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.size	print_tos, .-print_tos
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	", {opts=0x\000"
	.align	2
.LC5:
	.ascii	"%02x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_opts, %function
print_opts:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #12
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	sub	r3, r3, #12
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-24]
	ldr	r0, .L15
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L14
	ldr	r0, .L15+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L13:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L12:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L13
	mov	r0, #125
	bl	putchar
.L14:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	print_opts, .-print_opts
	.section	.rodata
	.align	2
.LC6:
	.ascii	"IP_ORIGDSTADDR, {sa_family=AF_INET, sin_port=htons("
	.ascii	"%u), sin_addr=inet_addr(\"127.0.0.1\")}\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_origdstaddr, %function
print_origdstaddr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L18
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC6
	.size	print_origdstaddr, .-print_origdstaddr
	.section	.rodata
	.align	2
.LC7:
	.ascii	"the_stack_data/657807.c\000"
	.align	2
.LC8:
	.ascii	"i >= 0\000"
	.align	2
.LC9:
	.ascii	"/dev/null\000"
	.align	2
.LC10:
	.ascii	"!close(0)\000"
	.align	2
.LC11:
	.ascii	"!close(3)\000"
	.align	2
.LC12:
	.ascii	"socket\000"
	.align	2
.LC13:
	.ascii	"bind\000"
	.align	2
.LC14:
	.ascii	"!getsockname(0, (struct sockaddr *) &addr, &len)\000"
	.align	2
.LC15:
	.ascii	"socket(PF_INET, SOCK_DGRAM, 0) == 3\000"
	.align	2
.LC16:
	.ascii	"!connect(3, (struct sockaddr *) &addr, len)\000"
	.align	2
.LC17:
	.ascii	"!setsockopt(3, IPPROTO_IP, (4), &opt_1, sizeof(opt_"
	.ascii	"1))\000"
	.align	2
.LC18:
	.ascii	"!setsockopt(0, IPPROTO_IP, (8), &opt_1, sizeof(opt_"
	.ascii	"1))\000"
	.align	2
.LC19:
	.ascii	"!setsockopt(0, IPPROTO_IP, (12), &opt_1, sizeof(opt"
	.ascii	"_1))\000"
	.align	2
.LC20:
	.ascii	"!setsockopt(0, IPPROTO_IP, (13), &opt_1, sizeof(opt"
	.ascii	"_1))\000"
	.align	2
.LC21:
	.ascii	"!setsockopt(0, IPPROTO_IP, (6), &opt_1, sizeof(opt_"
	.ascii	"1))\000"
	.align	2
.LC22:
	.ascii	"!setsockopt(0, IPPROTO_IP, (7), &opt_1, sizeof(opt_"
	.ascii	"1))\000"
	.align	2
.LC23:
	.ascii	"!setsockopt(0, IPPROTO_IP, (20), &opt_1, sizeof(opt"
	.ascii	"_1))\000"
	.align	2
.LC24:
	.ascii	"send(3, data, size, 0) == (int) size\000"
	.align	2
.LC25:
	.ascii	"recvmsg(0, &mh, 0) == (int) size\000"
	.align	2
.LC26:
	.ascii	"recvmsg(0, {msg_name(%u)={sa_family=AF_INET, sin_po"
	.ascii	"rt=htons(%u), sin_addr=inet_addr(\"127.0.0.1\")}, m"
	.ascii	"sg_iov(1)=[{\"%s\", %zu}], msg_controllen=%zu, [\000"
	.align	2
.LC27:
	.ascii	", \000"
	.align	2
.LC28:
	.ascii	"{cmsg_len=%zu, cmsg_level=SOL_IP, cmsg_type=\000"
	.align	2
.LC29:
	.ascii	"IP_RECVOPTS\000"
	.align	2
.LC30:
	.ascii	"IP_RETOPTS\000"
	.align	2
.LC31:
	.ascii	"%d\000"
	.align	2
.LC32:
	.ascii	"], msg_flags=0}, 0) = %zu\012\000"
	.align	2
.LC33:
	.ascii	"+++ exited with 0 +++\000"
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #288
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L21
.L22:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bge	.L21
	ldr	r3, .L61+4
	mov	r2, #93
	ldr	r1, .L61+8
	ldr	r0, .L61+12
	bl	__assert_fail
.L21:
	mov	r1, #2
	ldr	r0, .L61+16
	bl	open
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #2
	ble	.L22
	mov	r0, #0
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L61+4
	mov	r2, #94
	ldr	r1, .L61+8
	ldr	r0, .L61+20
	bl	__assert_fail
.L23:
	mov	r0, #3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L61+4
	mov	r2, #95
	ldr	r1, .L61+8
	ldr	r0, .L61+24
	bl	__assert_fail
.L24:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r0, .L61+28
	bl	perror
	mov	r3, #77
	b	.L58
.L25:
	sub	r3, fp, #224
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #2
	strh	r3, [fp, #-224]	@ movhi
	ldr	r0, .L61+32
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-220]
	mov	r3, #16
	str	r3, [fp, #-288]
	ldr	r2, [fp, #-288]
	sub	r3, fp, #224
	mov	r1, r3
	mov	r0, #0
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r0, .L61+36
	bl	perror
	mov	r3, #77
	b	.L58
.L27:
	sub	r2, fp, #288
	sub	r3, fp, #224
	mov	r1, r3
	mov	r0, #0
	bl	getsockname
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r3, .L61+4
	mov	r2, #110
	ldr	r1, .L61+8
	ldr	r0, .L61+40
	bl	__assert_fail
.L28:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	mov	r3, r0
	cmp	r3, #3
	beq	.L29
	ldr	r3, .L61+4
	mov	r2, #112
	ldr	r1, .L61+8
	ldr	r0, .L61+44
	bl	__assert_fail
.L29:
	ldr	r2, [fp, #-288]
	sub	r3, fp, #224
	mov	r1, r3
	mov	r0, #3
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L61+4
	mov	r2, #113
	ldr	r1, .L61+8
	ldr	r0, .L61+48
	bl	__assert_fail
.L30:
	mov	r0, #16777216
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-284]
	sub	r3, fp, #284
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #4
	mov	r1, #0
	mov	r0, #3
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L61+4
	mov	r2, #117
	ldr	r1, .L61+8
	ldr	r0, .L61+52
	bl	__assert_fail
.L31:
	sub	r3, fp, #284
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #8
	mov	r1, #0
	mov	r0, #0
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	ldr	r3, .L61+4
	mov	r2, #118
	ldr	r1, .L61+8
	ldr	r0, .L61+56
	bl	__assert_fail
.L32:
	sub	r3, fp, #284
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #12
	mov	r1, #0
	mov	r0, #0
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L61+4
	mov	r2, #119
	ldr	r1, .L61+8
	ldr	r0, .L61+60
	bl	__assert_fail
.L33:
	sub	r3, fp, #284
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #13
	mov	r1, #0
	mov	r0, #0
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L61+4
	mov	r2, #120
	ldr	r1, .L61+8
	ldr	r0, .L61+64
	bl	__assert_fail
.L34:
	sub	r3, fp, #284
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #6
	mov	r1, #0
	mov	r0, #0
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L61+4
	mov	r2, #121
	ldr	r1, .L61+8
	ldr	r0, .L61+68
	bl	__assert_fail
.L35:
	sub	r3, fp, #284
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #7
	mov	r1, #0
	mov	r0, #0
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L61+4
	mov	r2, #122
	ldr	r1, .L61+8
	ldr	r0, .L61+72
	bl	__assert_fail
.L36:
	sub	r3, fp, #284
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #20
	mov	r1, #0
	mov	r0, #0
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L61+4
	mov	r2, #124
	ldr	r1, .L61+8
	ldr	r0, .L61+76
	bl	__assert_fail
.L37:
	mov	r3, #4
	str	r3, [fp, #-272]
	mov	r3, #0
	ldr	r2, [fp, #-272]
	ldr	r1, .L61+80
	mov	r0, #3
	bl	send
	mov	r2, r0
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	beq	.L38
	ldr	r3, .L61+4
	mov	r2, #129
	ldr	r1, .L61+8
	ldr	r0, .L61+84
	bl	__assert_fail
.L38:
	mov	r0, #3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L61+4
	mov	r2, #130
	ldr	r1, .L61+8
	ldr	r0, .L61+24
	bl	__assert_fail
.L39:
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-272]
	sub	r3, r3, #1
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-272]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-272]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-272]
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-260]
	ldr	r3, [fp, #-272]
	str	r3, [fp, #-256]
	sub	r3, fp, #252
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	sub	r3, fp, #224
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-288]
	str	r3, [fp, #-248]
	sub	r3, fp, #260
	str	r3, [fp, #-244]
	mov	r3, #1
	str	r3, [fp, #-240]
	sub	r3, fp, #208
	str	r3, [fp, #-236]
	mov	r3, #192
	str	r3, [fp, #-232]
	sub	r3, fp, #252
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	recvmsg
	mov	r2, r0
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	beq	.L40
	ldr	r3, .L61+4
	mov	r2, #147
	ldr	r1, .L61+8
	ldr	r0, .L61+88
	bl	__assert_fail
.L40:
	mov	r0, #0
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L61+4
	mov	r2, #148
	ldr	r1, .L61+8
	ldr	r0, .L61+20
	bl	__assert_fail
.L41:
	ldr	r4, [fp, #-248]
	ldrh	r3, [fp, #-222]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-232]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-272]
	str	r3, [sp]
	ldr	r3, .L61+80
	mov	r1, r4
	ldr	r0, .L61+92
	bl	printf
	ldr	r3, [fp, #-232]
	cmp	r3, #11
	bls	.L42
	ldr	r3, [fp, #-236]
	b	.L43
.L42:
	mov	r3, #0
.L43:
	str	r3, [fp, #-280]
	b	.L44
.L57:
	ldr	r3, [fp, #-280]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L60
	sub	r3, fp, #208
	ldr	r2, [fp, #-280]
	cmp	r2, r3
	beq	.L47
	ldr	r0, .L61+96
	bl	printf
.L47:
	ldr	r3, [fp, #-280]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+100
	bl	printf
	ldr	r3, [fp, #-280]
	ldr	r3, [r3, #8]
	sub	r3, r3, #1
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L48
.L50:
	.word	.L55
	.word	.L54
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L53
	.word	.L52
	.word	.L51
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L48
	.word	.L49
.L51:
	ldr	r0, [fp, #-280]
	bl	print_pktinfo
	b	.L56
.L54:
	ldr	r0, [fp, #-280]
	bl	print_ttl
	b	.L56
.L55:
	ldr	r0, [fp, #-280]
	bl	print_tos
	b	.L56
.L53:
	ldr	r1, [fp, #-280]
	ldr	r0, .L61+104
	bl	print_opts
	b	.L56
.L52:
	ldr	r1, [fp, #-280]
	ldr	r0, .L61+108
	bl	print_opts
	b	.L56
.L49:
	ldr	r0, [fp, #-280]
	bl	print_origdstaddr
	b	.L56
.L48:
	ldr	r3, [fp, #-280]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L61+112
	bl	printf
	nop
.L56:
	mov	r0, #125
	bl	putchar
	b	.L46
.L60:
	nop
.L46:
	sub	r3, fp, #252
	ldr	r1, [fp, #-280]
	mov	r0, r3
	bl	__cmsg_nxthdr
	str	r0, [fp, #-280]
.L44:
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L57
	ldr	r1, [fp, #-272]
	ldr	r0, .L61+116
	bl	printf
	ldr	r0, .L61+120
	bl	puts
	mov	r3, #0
	mov	sp, r5
.L58:
	ldr	r2, .L61
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC34
	.word	__PRETTY_FUNCTION__.5876
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	2130706433
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	data.5883
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5876, %object
	.size	__PRETTY_FUNCTION__.5876, 5
__PRETTY_FUNCTION__.5876:
	.ascii	"main\000"
	.align	2
	.type	data.5883, %object
	.size	data.5883, 5
data.5883:
	.ascii	"data\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
