	.file	"749420.c"
	.intel_syntax noprefix
	.text
	.globl	fill_tcp
	.type	fill_tcp, @function
fill_tcp:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	sal	eax, 8
	and	eax, 16711680
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	shr	eax, 8
	and	eax, 65280
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	shr	eax, 24
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	add	QWORD PTR -16[rbp], 4
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	sal	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	sal	eax, 8
	and	eax, 16711680
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	shr	eax, 8
	and	eax, 65280
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	shr	eax, 24
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], edx
	add	QWORD PTR -16[rbp], 4
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	and	eax, 15
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	sal	ecx, 4
	movzx	edx, BYTE PTR 12[rax]
	and	edx, 15
	or	edx, ecx
	mov	BYTE PTR 12[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	and	eax, 15
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	and	ecx, 15
	movzx	edx, BYTE PTR 12[rax]
	and	edx, -16
	or	edx, ecx
	mov	BYTE PTR 12[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 13[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 14[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 14[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 14[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 16[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 16[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 16[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 18[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 18[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 18[rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fill_tcp, .-fill_tcp
	.globl	fill_udp
	.type	fill_udp, @function
fill_udp:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 6[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 6[rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fill_udp, .-fill_udp
	.globl	fill_icmp
	.type	fill_icmp, @function
fill_icmp:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 1[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 6[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 6[rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fill_icmp, .-fill_icmp
	.globl	fill_ip
	.type	fill_ip, @function
fill_ip:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	and	eax, 15
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	sal	ecx, 4
	movzx	edx, BYTE PTR [rax]
	and	edx, 15
	or	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	and	eax, 15
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	and	ecx, 15
	movzx	edx, BYTE PTR [rax]
	and	edx, -16
	or	edx, ecx
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 1[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 4[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 5
	and	eax, 7
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	sal	ecx, 5
	movzx	edx, BYTE PTR 7[rax]
	and	edx, 31
	or	edx, ecx
	mov	BYTE PTR 7[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	sal	eax, 8
	and	ax, 7936
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, edx
	and	ax, 8191
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, edx
	and	cx, 8191
	movzx	edx, WORD PTR 6[rax]
	and	dx, -8192
	or	edx, ecx
	mov	WORD PTR 6[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 9[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 10[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 10[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 10[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 12[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 13[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 14[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 15[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 16[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 5[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 17[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 6[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 18[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 7[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 19[rax], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fill_ip, .-fill_ip
	.globl	fill_arp
	.type	fill_arp, @function
fill_arp:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 2[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 4[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 5[rax], dl
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 6[rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	rol	ax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 6[rax], dx
	add	QWORD PTR -16[rbp], 2
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 9[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 10[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 11[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 12[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 5[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 13[rax], dl
	add	QWORD PTR -16[rbp], 6
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 14[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 15[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 16[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 17[rax], dl
	add	QWORD PTR -16[rbp], 4
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 18[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 19[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 20[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 21[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 22[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 5[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 23[rax], dl
	add	QWORD PTR -16[rbp], 6
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 24[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 25[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 26[rax], dl
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 27[rax], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	fill_arp, .-fill_arp
	.globl	fill_eth_ip
	.type	fill_eth_ip, @function
fill_eth_ip:
.LFB11:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 1[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 2[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 3[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 4[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 5[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 5[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 6[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 6[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 7[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 7[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 8[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 9[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 9[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 10[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 10[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 11[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 11[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 14
	mov	QWORD PTR -8[rbp], rax
	mov	edi, 20
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_ip
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	fill_eth_ip, .-fill_eth_ip
	.globl	fill_eth_arp
	.type	fill_eth_arp, @function
fill_eth_arp:
.LFB12:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 1[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 2[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 3[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 4[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 5[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 5[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 6[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 6[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 7[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 7[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 8[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 9[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 9[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 10[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 10[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR 11[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 11[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 14
	mov	QWORD PTR -8[rbp], rax
	mov	edi, 28
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_arp
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	fill_eth_arp, .-fill_eth_arp
	.section	.rodata
.LC0:
	.string	"TCP HEADER"
.LC1:
	.string	"Source port: %u\n"
.LC2:
	.string	"Destination port: %u\n"
.LC3:
	.string	"Sequence number: %u\n"
.LC4:
	.string	"Ack: %u\n"
.LC5:
	.string	"Header length: %u\n"
	.align 8
.LC6:
	.string	"Flags: %c%c%c%c%c%c%c%c%c%c%c%c\n"
.LC7:
	.string	"Window size: %u\n"
.LC8:
	.string	"Check sum: %u\n"
.LC9:
	.string	"Urp: %u\n"
	.text
	.globl	print_tcp
	.type	print_tcp, @function
print_tcp:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -40[rbp], rdi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 12[rax]
	shr	al, 4
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	eax, al
	sal	eax, 7
	sar	eax, 7
	lea	ebx, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	eax, al
	sal	eax, 6
	sar	eax, 7
	lea	r11d, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	eax, al
	sal	eax, 5
	sar	eax, 7
	lea	r10d, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	eax, al
	sal	eax, 4
	sar	eax, 7
	lea	r9d, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	eax, al
	sal	eax, 3
	sar	eax, 7
	lea	r8d, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	eax, al
	sal	eax, 2
	sar	eax, 7
	lea	edi, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	eax, al
	add	eax, eax
	sar	eax, 7
	lea	esi, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 13[rax]
	shr	al, 7
	movzx	eax, al
	lea	r13d, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 12[rax]
	and	eax, 15
	movzx	eax, al
	sal	eax, 3
	sar	eax, 3
	lea	r12d, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 12[rax]
	and	eax, 15
	movzx	eax, al
	sal	eax, 2
	sar	eax, 3
	lea	ecx, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 12[rax]
	and	eax, 15
	movzx	eax, al
	add	eax, eax
	sar	eax, 3
	lea	edx, 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 12[rax]
	and	eax, 15
	movzx	eax, al
	sar	eax, 3
	add	eax, 48
	sub	rsp, 8
	push	rbx
	push	r11
	push	r10
	push	r9
	push	r8
	push	rdi
	push	rsi
	mov	r9d, r13d
	mov	r8d, r12d
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 64
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 14[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 18[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	print_tcp, .-print_tcp
	.section	.rodata
.LC10:
	.string	"UDP HEADER"
.LC11:
	.string	"Length: %u\n"
	.text
	.globl	print_udp
	.type	print_udp, @function
print_udp:
.LFB14:
	.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, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	print_udp, .-print_udp
	.section	.rodata
.LC12:
	.string	"ICMP HEADER"
.LC13:
	.string	"Type: "
.LC14:
	.string	"0 (Echo (ping) reply)"
.LC15:
	.string	"8 (Echo (ping) request)"
.LC16:
	.string	"%u (something else)\n"
.LC17:
	.string	"Code: %u\n"
.LC18:
	.string	"Check sum: 0x%04x\n"
.LC19:
	.string	"Identifier (BE): %u (0x%04x)\n"
.LC20:
	.string	"Identifier (LE): %u (0x%04x)\n"
	.align 8
.LC21:
	.string	"Sequence number (BE): %u (0x%04x)\n"
	.align 8
.LC22:
	.string	"Sequence number (LE): %u (0x%04x)\n"
	.text
	.globl	print_icmp
	.type	print_icmp, @function
print_icmp:
.LFB15:
	.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, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L11
	cmp	eax, 8
	je	.L12
	jmp	.L15
.L11:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L14
.L12:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	shr	ax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	sal	eax, 8
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	shr	ax, 8
	movzx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	sal	eax, 8
	add	eax, ecx
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	shr	ax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	sal	eax, 8
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	shr	ax, 8
	movzx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	sal	eax, 8
	add	eax, ecx
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print_icmp, .-print_icmp
	.section	.rodata
.LC23:
	.string	"IP HEADER"
.LC24:
	.string	"Version: %u\n"
.LC25:
	.string	"Header length: %u bytes\n"
.LC26:
	.string	"Type of service: "
.LC27:
	.string	"Routine (0)"
.LC28:
	.string	"Priority (1)"
.LC29:
	.string	"Immediate (2)"
.LC30:
	.string	"Flash (3)"
.LC31:
	.string	"Flash Override (4)"
.LC32:
	.string	"CRI/TIC/ECP (5)"
.LC33:
	.string	"Internetwork Control (6)"
.LC34:
	.string	"Network Control (7)"
.LC35:
	.string	"Something else (%u)\n"
.LC36:
	.string	"Total Length: %u\n"
.LC37:
	.string	"Identification: 0x%04x (%u)\n"
.LC38:
	.string	"Flags: 0x%02x\n"
.LC39:
	.string	"Fragment offset: %u\n"
.LC40:
	.string	"Time to live: %u\n"
.LC41:
	.string	"Protocol: "
.LC42:
	.string	"ICMP (1)"
.LC43:
	.string	"IGMP (2)"
.LC44:
	.string	"TCP (6)"
.LC45:
	.string	"UDP (17)"
.LC46:
	.string	"Smething else (%u)\n"
.LC47:
	.string	"Header checksum: 0x%04x\n"
.LC48:
	.string	"Source: %02u:%02u:%02u:%02u\n"
	.align 8
.LC49:
	.string	"Destination: %02u:%02u:%02u:%02u\n"
	.text
	.globl	print_ip
	.type	print_ip, @function
print_ip:
.LFB16:
	.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, .LC23[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	and	eax, 15
	movzx	eax, al
	sal	eax, 2
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	cmp	eax, 7
	ja	.L17
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L19[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L19[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L19:
	.long	.L26-.L19
	.long	.L25-.L19
	.long	.L24-.L19
	.long	.L23-.L19
	.long	.L22-.L19
	.long	.L21-.L19
	.long	.L20-.L19
	.long	.L18-.L19
	.text
.L26:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L27
.L25:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	jmp	.L27
.L24:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L27
.L23:
	lea	rdi, .LC30[rip]
	call	puts@PLT
	jmp	.L27
.L22:
	lea	rdi, .LC31[rip]
	call	puts@PLT
	jmp	.L27
.L21:
	lea	rdi, .LC32[rip]
	call	puts@PLT
	jmp	.L27
.L20:
	lea	rdi, .LC33[rip]
	call	puts@PLT
	jmp	.L27
.L18:
	lea	rdi, .LC34[rip]
	call	puts@PLT
	jmp	.L27
.L17:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 7[rax]
	shr	al, 5
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	and	ax, 8191
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 8[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 9[rax]
	movzx	eax, al
	cmp	eax, 17
	je	.L28
	cmp	eax, 17
	jg	.L29
	cmp	eax, 6
	je	.L30
	cmp	eax, 6
	jg	.L29
	cmp	eax, 1
	je	.L31
	cmp	eax, 2
	je	.L32
	jmp	.L29
.L31:
	lea	rdi, .LC42[rip]
	call	puts@PLT
	jmp	.L33
.L32:
	lea	rdi, .LC43[rip]
	call	puts@PLT
	jmp	.L33
.L30:
	lea	rdi, .LC44[rip]
	call	puts@PLT
	jmp	.L33
.L28:
	lea	rdi, .LC45[rip]
	call	puts@PLT
	jmp	.L33
.L29:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 9[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
.L33:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 10[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 15[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 14[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 12[rax]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 19[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 18[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 17[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	print_ip, .-print_ip
	.section	.rodata
.LC50:
	.string	"ARP HEADER"
.LC51:
	.string	"Hardware type: "
.LC52:
	.string	"Ethernet (1)"
.LC53:
	.string	"Toke ring network (6)"
.LC54:
	.string	"Protocol type: "
.LC55:
	.string	"IP (0x0800)"
.LC56:
	.string	"ARP (0x0806)"
.LC57:
	.string	"RARP (0x8035)"
.LC58:
	.string	"Something else (0x%x)\n"
.LC59:
	.string	"Hardware size: %u\n"
.LC60:
	.string	"Protocol size: %u\n"
.LC61:
	.string	"Opcode: "
.LC62:
	.string	"request (1)"
.LC63:
	.string	"response (2)"
.LC64:
	.string	"RARP request (3)"
.LC65:
	.string	"RARP response (4)"
	.align 8
.LC66:
	.string	"Sender MAC address: %02x:%02x:%02x:%02x:%02x:%02x\n"
	.align 8
.LC67:
	.string	"Sender IP address: %u.%u.%u.%u\n"
	.align 8
.LC68:
	.string	"Target MAC address: %02x:%02x:%02x:%02x:%02x:%02x\n"
	.align 8
.LC69:
	.string	"Target IP address: %u.%u.%u.%u\n"
	.text
	.globl	print_arp
	.type	print_arp, @function
print_arp:
.LFB17:
	.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, .LC50[rip]
	call	puts@PLT
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	cmp	eax, 1
	je	.L35
	cmp	eax, 6
	je	.L36
	jmp	.L50
.L35:
	lea	rdi, .LC52[rip]
	call	puts@PLT
	jmp	.L38
.L36:
	lea	rdi, .LC53[rip]
	call	puts@PLT
	jmp	.L38
.L50:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
.L38:
	lea	rdi, .LC54[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	cmp	eax, 32821
	je	.L39
	cmp	eax, 32821
	jg	.L40
	cmp	eax, 2048
	je	.L41
	cmp	eax, 2054
	je	.L42
	jmp	.L40
.L41:
	lea	rdi, .LC55[rip]
	call	puts@PLT
	jmp	.L43
.L42:
	lea	rdi, .LC56[rip]
	call	puts@PLT
	jmp	.L43
.L39:
	lea	rdi, .LC57[rip]
	call	puts@PLT
	jmp	.L43
.L40:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC58[rip]
	mov	eax, 0
	call	printf@PLT
.L43:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 4[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC59[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 5[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC61[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	cmp	eax, 4
	je	.L44
	cmp	eax, 4
	jg	.L45
	cmp	eax, 3
	je	.L46
	cmp	eax, 3
	jg	.L45
	cmp	eax, 1
	je	.L47
	cmp	eax, 2
	je	.L48
	jmp	.L45
.L47:
	lea	rdi, .LC62[rip]
	call	puts@PLT
	jmp	.L49
.L48:
	lea	rdi, .LC63[rip]
	call	puts@PLT
	jmp	.L49
.L46:
	lea	rdi, .LC64[rip]
	call	puts@PLT
	jmp	.L49
.L44:
	lea	rdi, .LC65[rip]
	call	puts@PLT
	jmp	.L49
.L45:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
.L49:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 13[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 12[rax]
	movzx	r8d, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 11[rax]
	movzx	edi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 10[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 9[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 8[rax]
	movzx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 17[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 15[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 14[rax]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC67[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 23[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 22[rax]
	movzx	r8d, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 21[rax]
	movzx	edi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 20[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 19[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 18[rax]
	movzx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 27[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 26[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 25[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 24[rax]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC69[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	print_arp, .-print_arp
	.section	.rodata
.LC70:
	.string	"ETHERNET HEADER"
.LC71:
	.string	"Something else %u\n"
	.align 8
.LC72:
	.string	"Destination: %02x:%02x:%02x:%02x:%02x:%02x\n"
	.align 8
.LC73:
	.string	"Source: %02x:%02x:%02x:%02x:%02x:%02x\n"
.LC74:
	.string	"To fill up IGMP\n"
.LC75:
	.string	"To fill up IPIP\n"
.LC76:
	.string	"To fill up %u\n\n"
.LC77:
	.string	"\n\n"
	.text
	.globl	printeth
	.type	printeth, @function
printeth:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	lea	rdi, .LC70[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 12[rax]
	mov	WORD PTR -58[rbp], ax
	rol	WORD PTR -58[rbp], 8
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	movzx	eax, WORD PTR -58[rbp]
	cmp	eax, 2048
	je	.L52
	cmp	eax, 2054
	je	.L53
	jmp	.L67
.L52:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_eth_ip
	jmp	.L55
.L53:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_eth_arp
	jmp	.L55
.L67:
	movzx	eax, WORD PTR -58[rbp]
	mov	esi, eax
	lea	rdi, .LC71[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L51
.L55:
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movzx	esi, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movzx	r8d, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	edi, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC72[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 11
	movzx	eax, BYTE PTR [rax]
	movzx	esi, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 10
	movzx	eax, BYTE PTR [rax]
	movzx	r8d, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 9
	movzx	eax, BYTE PTR [rax]
	movzx	edi, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 8
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC73[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	edi, 10
	call	putchar@PLT
	cmp	QWORD PTR -56[rbp], 0
	je	.L57
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	print_ip
	add	QWORD PTR -72[rbp], 14
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	and	eax, 15
	movzx	eax, al
	sal	eax, 2
	cdqe
	add	QWORD PTR -72[rbp], rax
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 20
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR 9[rax]
	movzx	eax, al
	cmp	eax, 17
	ja	.L58
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L60[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L60[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L60:
	.long	.L58-.L60
	.long	.L64-.L60
	.long	.L63-.L60
	.long	.L58-.L60
	.long	.L62-.L60
	.long	.L58-.L60
	.long	.L61-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L58-.L60
	.long	.L59-.L60
	.text
.L64:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_icmp
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	print_icmp
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L65
.L61:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_tcp
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print_tcp
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L65
.L59:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_udp
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_udp
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L65
.L63:
	lea	rdi, .LC74[rip]
	call	puts@PLT
	jmp	.L65
.L62:
	lea	rdi, .LC75[rip]
	call	puts@PLT
	jmp	.L65
.L58:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC76[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L65:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L66
.L57:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	print_arp
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
.L66:
	lea	rdi, .LC77[rip]
	call	puts@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	printeth, .-printeth
	.globl	checksum
	.type	checksum, @function
checksum:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L69
.L70:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	DWORD PTR -4[rbp], eax
	add	QWORD PTR -24[rbp], 2
	sub	DWORD PTR -28[rbp], 2
.L69:
	cmp	DWORD PTR -28[rbp], 1
	jg	.L70
	cmp	DWORD PTR -28[rbp], 1
	jne	.L71
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	DWORD PTR -4[rbp], eax
.L71:
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movzx	eax, ax
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movzx	eax, ax
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	not	DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	checksum, .-checksum
	.section	.rodata
.LC78:
	.string	"Send error"
	.text
	.globl	sendicmp
	.type	sendicmp, @function
sendicmp:
.LFB20:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -16[rbp], 8
	mov	BYTE PTR -15[rbp], 0
	mov	WORD PTR -14[rbp], 0
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	checksum
	mov	WORD PTR -14[rbp], ax
	mov	eax, DWORD PTR id.1[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR id.1[rip], edx
	mov	WORD PTR -12[rbp], ax
	mov	eax, DWORD PTR seq.0[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR seq.0[rip], edx
	mov	WORD PTR -10[rbp], ax
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r9d, 16
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 8
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L76
	lea	rdi, .LC78[rip]
	call	puts@PLT
.L76:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	sendicmp, .-sendicmp
	.section	.rodata
	.align 8
.LC79:
	.string	"\350\257\267\351\200\211\346\213\251\346\223\215\344\275\234\347\261\273\345\236\213: 1.\346\224\266\345\214\205; 2.\345\217\221\351\200\201icmp\345\214\205"
.LC80:
	.string	"%d"
	.align 8
.LC81:
	.string	"error while creating raw socket"
.LC82:
	.string	"error while recieving message"
.LC83:
	.string	"\350\257\267\350\276\223\345\205\245ip\345\234\260\345\235\200:  "
.LC84:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -2064[rbp]
	mov	QWORD PTR -2096[rbp], rax
.L78:
	lea	rdi, .LC79[rip]
	call	puts@PLT
	lea	rax, -2120[rbp]
	mov	rsi, rax
	lea	rdi, .LC80[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -2120[rbp]
	cmp	eax, 1
	jne	.L79
	mov	edi, 3
	call	htons@PLT
	movzx	eax, ax
	mov	edx, eax
	mov	esi, 3
	mov	edi, 17
	call	socket@PLT
	mov	DWORD PTR -2112[rbp], eax
	cmp	DWORD PTR -2112[rbp], 0
	jns	.L80
	lea	rdi, .LC81[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L90
.L80:
	lea	rsi, -2064[rbp]
	mov	eax, DWORD PTR -2112[rbp]
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 2048
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -2108[rbp], eax
	cmp	DWORD PTR -2108[rbp], 45
	jg	.L82
	lea	rdi, .LC82[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L90
.L82:
	mov	rax, QWORD PTR -2096[rbp]
	mov	rdi, rax
	call	printeth
	jmp	.L80
.L79:
	mov	eax, DWORD PTR -2120[rbp]
	cmp	eax, 2
	jne	.L78
	lea	rdi, .LC83[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 21
	call	malloc@PLT
	mov	QWORD PTR -2104[rbp], rax
	mov	rax, QWORD PTR -2104[rbp]
	mov	rsi, rax
	lea	rdi, .LC84[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	BYTE PTR -2121[rbp], 0
	mov	DWORD PTR -2116[rbp], 0
	jmp	.L84
.L87:
	mov	rax, QWORD PTR -2104[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L85
	movzx	edx, BYTE PTR -2121[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	rax, QWORD PTR -2104[rbp]
	movzx	eax, BYTE PTR [rax]
	add	eax, edx
	sub	eax, 48
	mov	BYTE PTR -2121[rbp], al
	jmp	.L86
.L85:
	mov	eax, DWORD PTR -2116[rbp]
	cdqe
	movzx	edx, BYTE PTR -2121[rbp]
	mov	BYTE PTR -2068[rbp+rax], dl
	add	DWORD PTR -2116[rbp], 1
	mov	BYTE PTR -2121[rbp], 0
.L86:
	add	QWORD PTR -2104[rbp], 1
.L84:
	mov	rax, QWORD PTR -2104[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L87
	mov	edx, 1
	mov	esi, 3
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -2112[rbp], eax
	cmp	DWORD PTR -2112[rbp], 0
	jns	.L88
	lea	rdi, .LC81[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L90
.L88:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -2088[rbp], rax
	mov	rax, QWORD PTR -2088[rbp]
	mov	WORD PTR [rax], 2
	movzx	eax, BYTE PTR -2068[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 4[rax], dl
	movzx	eax, BYTE PTR -2067[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 5[rax], dl
	movzx	eax, BYTE PTR -2066[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 6[rax], dl
	movzx	eax, BYTE PTR -2065[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 7[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 15[rax], 0
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 15[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 14[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 14[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 13[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 13[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 12[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 12[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 11[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 11[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 10[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 10[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 9[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 9[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 8[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 8[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 3[rax], dl
	mov	rax, QWORD PTR -2088[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -2088[rbp]
	mov	BYTE PTR 2[rax], dl
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -2080[rbp], rax
.L89:
	mov	rdx, QWORD PTR -2088[rbp]
	mov	eax, DWORD PTR -2112[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	sendicmp
	lea	rsi, -2064[rbp]
	mov	eax, DWORD PTR -2112[rbp]
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 2048
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -2108[rbp], eax
	mov	rdx, QWORD PTR -2096[rbp]
	mov	rax, QWORD PTR -2080[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fill_icmp
	mov	rax, QWORD PTR -2080[rbp]
	mov	rdi, rax
	call	print_icmp
	jmp	.L89
.L90:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L91
	call	__stack_chk_fail@PLT
.L91:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	main, .-main
	.data
	.align 4
	.type	id.1, @object
	.size	id.1, 4
id.1:
	.long	1
	.align 4
	.type	seq.0, @object
	.size	seq.0, 4
seq.0:
	.long	1
	.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	"749420.c"
	.text
	.align	2
	.global	fill_tcp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_tcp, %function
fill_tcp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	lsl	r2, r3, #24
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #8
	and	r3, r3, #16711680
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	lsr	r3, r3, #8
	and	r3, r3, #65280
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	lsr	r3, r3, #24
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsl	r2, r3, #24
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #8
	and	r3, r3, #16711680
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsr	r3, r3, #8
	and	r3, r3, #65280
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsr	r3, r3, #24
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #15
	and	r3, r3, #255
	ldr	r1, [fp, #-8]
	ldrb	r2, [r1, #12]
	and	r3, r3, #15
	bic	r2, r2, #240
	lsl	r3, r3, #4
	orr	r3, r3, r2
	mov	r2, r3
	strb	r2, [r1, #12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	and	r1, r3, #255
	ldr	r2, [fp, #-8]
	ldrb	r3, [r2, #12]
	and	r1, r1, #15
	bic	r3, r3, #15
	orr	r3, r1, r3
	strb	r3, [r2, #12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #13]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #14]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #14]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #14]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #16]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #16]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #16]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #18]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #18]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #18]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fill_tcp, .-fill_tcp
	.align	2
	.global	fill_udp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_udp, %function
fill_udp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #6]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fill_udp, .-fill_udp
	.align	2
	.global	fill_icmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_icmp, %function
fill_icmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #6]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fill_icmp, .-fill_icmp
	.align	2
	.global	fill_ip
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_ip, %function
fill_ip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #15
	and	r3, r3, #255
	ldr	r1, [fp, #-8]
	ldrb	r2, [r1]
	and	r3, r3, #15
	bic	r2, r2, #240
	lsl	r3, r3, #4
	orr	r3, r3, r2
	mov	r2, r3
	strb	r2, [r1]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	and	r1, r3, #255
	ldr	r2, [fp, #-8]
	ldrb	r3, [r2]
	and	r1, r1, #15
	bic	r3, r3, #15
	orr	r3, r1, r3
	strb	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #5
	and	r3, r3, #255
	and	r3, r3, #7
	and	r3, r3, #255
	ldr	r1, [fp, #-8]
	ldrb	r2, [r1, #7]
	and	r3, r3, #7
	bic	r2, r2, #224
	lsl	r3, r3, #5
	orr	r3, r3, r2
	mov	r2, r3
	strb	r2, [r1, #7]
	ldr	r3, [fp, #-12]
	ldrh	r3, [r3]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #7936
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r2, [fp, #-8]
	ldrh	r3, [r2, #6]	@ movhi
	lsl	r1, r1, #19
	lsr	r3, r3, #13
	orr	r3, r3, r1
	ror	r3, r3, #19
	strh	r3, [r2, #6]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #10]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #13]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #14]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #15]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #17]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #6]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #18]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #7]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #19]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fill_ip, .-fill_ip
	.align	2
	.global	fill_arp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_arp, %function
fill_arp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #5]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #10]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #13]
	ldr	r3, [fp, #-12]
	add	r3, r3, #6
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #14]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #15]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #17]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #18]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #19]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #20]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #21]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #22]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #23]
	ldr	r3, [fp, #-12]
	add	r3, r3, #6
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #24]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #25]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #26]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #27]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fill_arp, .-fill_arp
	.align	2
	.global	fill_eth_ip
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_eth_ip, %function
fill_eth_ip:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #5]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #6]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #6]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #7]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #7]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #9]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #10]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #10]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #11]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-20]
	add	r3, r3, #14
	str	r3, [fp, #-8]
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	fill_ip
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fill_eth_ip, .-fill_eth_ip
	.align	2
	.global	fill_eth_arp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_eth_arp, %function
fill_eth_arp:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #5]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #5]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #6]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #6]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #7]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #7]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #9]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #10]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #10]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3, #11]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-20]
	add	r3, r3, #14
	str	r3, [fp, #-8]
	mov	r0, #28
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	fill_arp
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fill_eth_arp, .-fill_eth_arp
	.section	.rodata
	.align	2
.LC0:
	.ascii	"TCP HEADER\000"
	.align	2
.LC1:
	.ascii	"Source port: %u\012\000"
	.align	2
.LC2:
	.ascii	"Destination port: %u\012\000"
	.align	2
.LC3:
	.ascii	"Sequence number: %u\012\000"
	.align	2
.LC4:
	.ascii	"Ack: %u\012\000"
	.align	2
.LC5:
	.ascii	"Header length: %u\012\000"
	.align	2
.LC6:
	.ascii	"Flags: %c%c%c%c%c%c%c%c%c%c%c%c\012\000"
	.align	2
.LC7:
	.ascii	"Window size: %u\012\000"
	.align	2
.LC8:
	.ascii	"Check sum: %u\012\000"
	.align	2
.LC9:
	.ascii	"Urp: %u\012\000"
	.text
	.align	2
	.global	print_tcp
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_tcp, %function
print_tcp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	ldr	r0, .L9
	bl	puts
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L9+4
	bl	printf
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #2]
	mov	r1, r3
	ldr	r0, .L9+8
	bl	printf
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L9+12
	bl	printf
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L9+16
	bl	printf
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L9+20
	bl	printf
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #12]
	and	r3, r3, #15
	and	r3, r3, #255
	asr	r3, r3, #3
	add	r7, r3, #48
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #12]
	and	r3, r3, #15
	and	r3, r3, #255
	lsl	r3, r3, #1
	asr	r3, r3, #3
	add	r8, r3, #48
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #12]
	and	r3, r3, #15
	and	r3, r3, #255
	lsl	r3, r3, #2
	asr	r3, r3, #3
	add	r9, r3, #48
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #12]
	and	r3, r3, #15
	and	r3, r3, #255
	lsl	r3, r3, #3
	asr	r3, r3, #3
	add	r3, r3, #48
	ldr	r2, [fp, #-32]
	ldrb	r2, [r2, #13]	@ zero_extendqisi2
	lsr	r2, r2, #7
	and	r2, r2, #255
	add	r2, r2, #48
	ldr	r1, [fp, #-32]
	ldrb	r1, [r1, #13]	@ zero_extendqisi2
	lsl	r1, r1, #1
	asr	r1, r1, #7
	add	r1, r1, #48
	ldr	r0, [fp, #-32]
	ldrb	r0, [r0, #13]	@ zero_extendqisi2
	lsl	r0, r0, #2
	asr	r0, r0, #7
	add	r0, r0, #48
	ldr	ip, [fp, #-32]
	ldrb	ip, [ip, #13]	@ zero_extendqisi2
	lsl	ip, ip, #3
	asr	ip, ip, #7
	add	ip, ip, #48
	ldr	lr, [fp, #-32]
	ldrb	lr, [lr, #13]	@ zero_extendqisi2
	lsl	lr, lr, #4
	asr	lr, lr, #7
	add	lr, lr, #48
	ldr	r4, [fp, #-32]
	ldrb	r4, [r4, #13]	@ zero_extendqisi2
	lsl	r4, r4, #5
	asr	r4, r4, #7
	add	r4, r4, #48
	ldr	r5, [fp, #-32]
	ldrb	r5, [r5, #13]	@ zero_extendqisi2
	lsl	r5, r5, #6
	asr	r5, r5, #7
	add	r5, r5, #48
	ldr	r6, [fp, #-32]
	ldrb	r6, [r6, #13]	@ zero_extendqisi2
	lsl	r6, r6, #7
	asr	r6, r6, #7
	add	r6, r6, #48
	str	r6, [sp, #32]
	str	r5, [sp, #28]
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r9
	mov	r2, r8
	mov	r1, r7
	ldr	r0, .L9+24
	bl	printf
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #14]
	mov	r1, r3
	ldr	r0, .L9+28
	bl	printf
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, .L9+32
	bl	printf
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #18]
	mov	r1, r3
	ldr	r0, .L9+36
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	print_tcp, .-print_tcp
	.section	.rodata
	.align	2
.LC10:
	.ascii	"UDP HEADER\000"
	.align	2
.LC11:
	.ascii	"Length: %u\012\000"
	.text
	.align	2
	.global	print_udp
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_udp, %function
print_udp:
	@ 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, .L12
	bl	puts
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	mov	r1, r3
	ldr	r0, .L12+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	mov	r1, r3
	ldr	r0, .L12+16
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC10
	.word	.LC1
	.word	.LC2
	.word	.LC11
	.word	.LC8
	.size	print_udp, .-print_udp
	.section	.rodata
	.align	2
.LC12:
	.ascii	"ICMP HEADER\000"
	.align	2
.LC13:
	.ascii	"Type: \000"
	.align	2
.LC14:
	.ascii	"0 (Echo (ping) reply)\000"
	.align	2
.LC15:
	.ascii	"8 (Echo (ping) request)\000"
	.align	2
.LC16:
	.ascii	"%u (something else)\012\000"
	.align	2
.LC17:
	.ascii	"Code: %u\012\000"
	.align	2
.LC18:
	.ascii	"Check sum: 0x%04x\012\000"
	.align	2
.LC19:
	.ascii	"Identifier (BE): %u (0x%04x)\012\000"
	.align	2
.LC20:
	.ascii	"Identifier (LE): %u (0x%04x)\012\000"
	.align	2
.LC21:
	.ascii	"Sequence number (BE): %u (0x%04x)\012\000"
	.align	2
.LC22:
	.ascii	"Sequence number (LE): %u (0x%04x)\012\000"
	.text
	.align	2
	.global	print_icmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_icmp, %function
print_icmp:
	@ 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, .L20
	bl	puts
	ldr	r0, .L20+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	cmp	r3, #8
	beq	.L16
	b	.L19
.L15:
	ldr	r0, .L20+8
	bl	puts
	b	.L18
.L16:
	ldr	r0, .L20+12
	bl	puts
	b	.L18
.L19:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L20+16
	bl	printf
.L18:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L20+20
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	mov	r1, r3
	ldr	r0, .L20+24
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L20+28
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsl	r3, r3, #8
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsl	r3, r3, #8
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L20+32
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	mov	r2, r3
	ldr	r0, .L20+36
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	lsl	r3, r3, #8
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	lsl	r3, r3, #8
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L20+40
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	print_icmp, .-print_icmp
	.section	.rodata
	.align	2
.LC23:
	.ascii	"IP HEADER\000"
	.align	2
.LC24:
	.ascii	"Version: %u\012\000"
	.align	2
.LC25:
	.ascii	"Header length: %u bytes\012\000"
	.align	2
.LC26:
	.ascii	"Type of service: \000"
	.align	2
.LC27:
	.ascii	"Routine (0)\000"
	.align	2
.LC28:
	.ascii	"Priority (1)\000"
	.align	2
.LC29:
	.ascii	"Immediate (2)\000"
	.align	2
.LC30:
	.ascii	"Flash (3)\000"
	.align	2
.LC31:
	.ascii	"Flash Override (4)\000"
	.align	2
.LC32:
	.ascii	"CRI/TIC/ECP (5)\000"
	.align	2
.LC33:
	.ascii	"Internetwork Control (6)\000"
	.align	2
.LC34:
	.ascii	"Network Control (7)\000"
	.align	2
.LC35:
	.ascii	"Something else (%u)\012\000"
	.align	2
.LC36:
	.ascii	"Total Length: %u\012\000"
	.align	2
.LC37:
	.ascii	"Identification: 0x%04x (%u)\012\000"
	.align	2
.LC38:
	.ascii	"Flags: 0x%02x\012\000"
	.align	2
.LC39:
	.ascii	"Fragment offset: %u\012\000"
	.align	2
.LC40:
	.ascii	"Time to live: %u\012\000"
	.align	2
.LC41:
	.ascii	"Protocol: \000"
	.align	2
.LC42:
	.ascii	"ICMP (1)\000"
	.align	2
.LC43:
	.ascii	"IGMP (2)\000"
	.align	2
.LC44:
	.ascii	"TCP (6)\000"
	.align	2
.LC45:
	.ascii	"UDP (17)\000"
	.align	2
.LC46:
	.ascii	"Smething else (%u)\012\000"
	.align	2
.LC47:
	.ascii	"Header checksum: 0x%04x\012\000"
	.align	2
.LC48:
	.ascii	"Source: %02u:%02u:%02u:%02u\012\000"
	.align	2
.LC49:
	.ascii	"Destination: %02u:%02u:%02u:%02u\012\000"
	.text
	.align	2
	.global	print_ip
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_ip, %function
print_ip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r0, .L41
	bl	puts
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L41+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]
	and	r3, r3, #15
	and	r3, r3, #255
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L41+8
	bl	printf
	ldr	r0, .L41+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L25:
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L24
.L32:
	ldr	r0, .L41+16
	bl	puts
	b	.L33
.L31:
	ldr	r0, .L41+20
	bl	puts
	b	.L33
.L30:
	ldr	r0, .L41+24
	bl	puts
	b	.L33
.L29:
	ldr	r0, .L41+28
	bl	puts
	b	.L33
.L28:
	ldr	r0, .L41+32
	bl	puts
	b	.L33
.L27:
	ldr	r0, .L41+36
	bl	puts
	b	.L33
.L26:
	ldr	r0, .L41+40
	bl	puts
	b	.L33
.L24:
	ldr	r0, .L41+44
	bl	puts
	b	.L33
.L23:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L41+48
	bl	printf
.L33:
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	mov	r1, r3
	ldr	r0, .L41+52
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L41+56
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	lsr	r3, r3, #5
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L41+60
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]	@ movhi
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L41+64
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L41+68
	bl	printf
	ldr	r0, .L41+72
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	sub	r3, r3, #1
	cmp	r3, #16
	ldrls	pc, [pc, r3, asl #2]
	b	.L34
.L36:
	.word	.L39
	.word	.L38
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L37
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L35
.L39:
	ldr	r0, .L41+76
	bl	puts
	b	.L40
.L38:
	ldr	r0, .L41+80
	bl	puts
	b	.L40
.L37:
	ldr	r0, .L41+84
	bl	puts
	b	.L40
.L35:
	ldr	r0, .L41+88
	bl	puts
	b	.L40
.L34:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L41+92
	bl	printf
.L40:
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #10]
	mov	r1, r3
	ldr	r0, .L41+96
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #14]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L41+100
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #16]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #17]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #18]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #19]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L41+104
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.size	print_ip, .-print_ip
	.section	.rodata
	.align	2
.LC50:
	.ascii	"ARP HEADER\000"
	.align	2
.LC51:
	.ascii	"Hardware type: \000"
	.align	2
.LC52:
	.ascii	"Ethernet (1)\000"
	.align	2
.LC53:
	.ascii	"Toke ring network (6)\000"
	.align	2
.LC54:
	.ascii	"Protocol type: \000"
	.align	2
.LC55:
	.ascii	"IP (0x0800)\000"
	.align	2
.LC56:
	.ascii	"ARP (0x0806)\000"
	.align	2
.LC57:
	.ascii	"RARP (0x8035)\000"
	.align	2
.LC58:
	.ascii	"Something else (0x%x)\012\000"
	.align	2
.LC59:
	.ascii	"Hardware size: %u\012\000"
	.align	2
.LC60:
	.ascii	"Protocol size: %u\012\000"
	.align	2
.LC61:
	.ascii	"Opcode: \000"
	.align	2
.LC62:
	.ascii	"request (1)\000"
	.align	2
.LC63:
	.ascii	"response (2)\000"
	.align	2
.LC64:
	.ascii	"RARP request (3)\000"
	.align	2
.LC65:
	.ascii	"RARP response (4)\000"
	.align	2
.LC66:
	.ascii	"Sender MAC address: %02x:%02x:%02x:%02x:%02x:%02x\012"
	.ascii	"\000"
	.align	2
.LC67:
	.ascii	"Sender IP address: %u.%u.%u.%u\012\000"
	.align	2
.LC68:
	.ascii	"Target MAC address: %02x:%02x:%02x:%02x:%02x:%02x\012"
	.ascii	"\000"
	.align	2
.LC69:
	.ascii	"Target IP address: %u.%u.%u.%u\012\000"
	.text
	.align	2
	.global	print_arp
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_arp, %function
print_arp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	ldr	r0, .L61
	bl	puts
	ldr	r0, .L61+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3]
	cmp	r3, #1
	beq	.L44
	cmp	r3, #6
	beq	.L45
	b	.L60
.L44:
	ldr	r0, .L61+8
	bl	puts
	b	.L47
.L45:
	ldr	r0, .L61+12
	bl	puts
	b	.L47
.L60:
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+16
	bl	printf
.L47:
	ldr	r0, .L61+20
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	ldr	r2, .L61+24
	cmp	r3, r2
	beq	.L48
	ldr	r2, .L61+24
	cmp	r3, r2
	bgt	.L49
	cmp	r3, #2048
	beq	.L50
	ldr	r2, .L61+28
	cmp	r3, r2
	beq	.L51
	b	.L49
.L50:
	ldr	r0, .L61+32
	bl	puts
	b	.L52
.L51:
	ldr	r0, .L61+36
	bl	puts
	b	.L52
.L48:
	ldr	r0, .L61+40
	bl	puts
	b	.L52
.L49:
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #2]
	mov	r1, r3
	ldr	r0, .L61+44
	bl	printf
.L52:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L61+48
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L61+52
	bl	printf
	ldr	r0, .L61+56
	bl	printf
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L53
.L55:
	.word	.L58
	.word	.L57
	.word	.L56
	.word	.L54
.L58:
	ldr	r0, .L61+60
	bl	puts
	b	.L59
.L57:
	ldr	r0, .L61+64
	bl	puts
	b	.L59
.L56:
	ldr	r0, .L61+68
	bl	puts
	b	.L59
.L54:
	ldr	r0, .L61+72
	bl	puts
	b	.L59
.L53:
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #6]
	mov	r1, r3
	ldr	r0, .L61+16
	bl	printf
.L59:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L61+76
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #14]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #15]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #16]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #17]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L61+80
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #18]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #19]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #21]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #22]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L61+84
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #25]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #26]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #27]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L61+88
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC35
	.word	.LC54
	.word	32821
	.word	2054
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.size	print_arp, .-print_arp
	.section	.rodata
	.align	2
.LC70:
	.ascii	"ETHERNET HEADER\000"
	.align	2
.LC71:
	.ascii	"Something else %u\012\000"
	.align	2
.LC72:
	.ascii	"Destination: %02x:%02x:%02x:%02x:%02x:%02x\012\000"
	.align	2
.LC73:
	.ascii	"Source: %02x:%02x:%02x:%02x:%02x:%02x\012\000"
	.align	2
.LC74:
	.ascii	"To fill up IGMP\012\000"
	.align	2
.LC75:
	.ascii	"To fill up IPIP\012\000"
	.align	2
.LC76:
	.ascii	"To fill up %u\012\012\000"
	.align	2
.LC77:
	.ascii	"\012\012\000"
	.text
	.align	2
	.global	printeth
	.syntax unified
	.arm
	.fpu softvfp
	.type	printeth, %function
printeth:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	ldr	r0, .L80
	bl	puts
	ldr	r3, [fp, #-40]
	ldrh	r3, [r3, #12]	@ movhi
	strh	r3, [fp, #-34]	@ movhi
	ldrh	r3, [fp, #-34]	@ movhi
	lsl	r2, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsr	r3, r3, #8
	orr	r3, r2, r3
	strh	r3, [fp, #-34]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldrh	r3, [fp, #-34]
	cmp	r3, #2048
	beq	.L64
	ldr	r2, .L80+4
	cmp	r3, r2
	beq	.L65
	b	.L79
.L64:
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-32]
	bl	fill_eth_ip
	b	.L67
.L65:
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-28]
	bl	fill_eth_arp
	b	.L67
.L79:
	ldrh	r3, [fp, #-34]
	mov	r1, r3
	ldr	r0, .L80+8
	bl	printf
	b	.L63
.L67:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L80+12
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #9
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #10
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #11
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L80+16
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	print_ip
	ldr	r3, [fp, #-40]
	add	r3, r3, #14
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	and	r3, r3, #15
	and	r3, r3, #255
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	str	r3, [fp, #-40]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	sub	r3, r3, #1
	cmp	r3, #16
	ldrls	pc, [pc, r3, asl #2]
	b	.L70
.L72:
	.word	.L76
	.word	.L75
	.word	.L70
	.word	.L74
	.word	.L70
	.word	.L73
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L70
	.word	.L71
.L76:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-16]
	bl	fill_icmp
	ldr	r0, [fp, #-16]
	bl	print_icmp
	ldr	r0, [fp, #-16]
	bl	free
	b	.L77
.L73:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-12]
	bl	fill_tcp
	ldr	r0, [fp, #-12]
	bl	print_tcp
	ldr	r0, [fp, #-12]
	bl	free
	b	.L77
.L71:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-8]
	bl	fill_udp
	ldr	r0, [fp, #-8]
	bl	print_udp
	ldr	r0, [fp, #-8]
	bl	free
	b	.L77
.L75:
	ldr	r0, .L80+20
	bl	puts
	b	.L77
.L74:
	ldr	r0, .L80+24
	bl	puts
	b	.L77
.L70:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L80+28
	bl	printf
	nop
.L77:
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-32]
	bl	free
	b	.L78
.L69:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	print_arp
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
.L78:
	ldr	r0, .L80+32
	bl	puts
.L63:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC70
	.word	2054
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.size	printeth, .-printeth
	.align	2
	.global	checksum
	.syntax unified
	.arm
	.fpu softvfp
	.type	checksum, %function
checksum:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L83
.L84:
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #2
	str	r3, [fp, #-20]
.L83:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bgt	.L84
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L85
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L85:
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mvn	r3, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	checksum, .-checksum
	.section	.rodata
	.align	2
.LC78:
	.ascii	"Send error\000"
	.align	2
.LC79:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sendicmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	sendicmp, %function
sendicmp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L91
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #8
	strb	r3, [fp, #-16]
	mov	r3, #0
	strb	r3, [fp, #-15]
	mov	r3, #0
	strh	r3, [fp, #-14]	@ movhi
	sub	r3, fp, #16
	mov	r1, #8
	mov	r0, r3
	bl	checksum
	mov	r3, r0
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, .L91+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L91+4
	str	r2, [r1]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	ldr	r3, .L91+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L91+8
	str	r2, [r1]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	sub	r1, fp, #16
	mov	r3, #16
	str	r3, [sp, #4]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #8
	ldr	r0, [fp, #-24]
	bl	sendto
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L90
	ldr	r0, .L91+12
	bl	puts
.L90:
	nop
	ldr	r3, .L91
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L89
	bl	__stack_chk_fail
.L89:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC79
	.word	id.6255
	.word	seq.6256
	.word	.LC78
	.size	sendicmp, .-sendicmp
	.section	.rodata
	.align	2
.LC80:
	.ascii	"\350\257\267\351\200\211\346\213\251\346\223\215\344"
	.ascii	"\275\234\347\261\273\345\236\213: 1.\346\224\266\345"
	.ascii	"\214\205; 2.\345\217\221\351\200\201icmp\345\214\205"
	.ascii	"\000"
	.align	2
.LC81:
	.ascii	"%d\000"
	.align	2
.LC82:
	.ascii	"error while creating raw socket\000"
	.align	2
.LC83:
	.ascii	"error while recieving message\000"
	.align	2
.LC84:
	.ascii	"\350\257\267\350\276\223\345\205\245ip\345\234\260\345"
	.ascii	"\235\200:  \000"
	.align	2
.LC85:
	.ascii	"%s\000"
	.align	2
.LC86:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2096
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2096
	sub	sp, sp, #8
	ldr	r3, .L108
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-2080]
.L94:
	ldr	r0, .L108+4
	bl	puts
	sub	r3, fp, #2080
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L108+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-2092]
	cmp	r3, #1
	bne	.L95
	mov	r0, #3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	mov	r1, #3
	mov	r0, #17
	bl	socket
	str	r0, [fp, #-2076]
	ldr	r3, [fp, #-2076]
	cmp	r3, #0
	bge	.L96
	ldr	r0, .L108+12
	bl	puts
	mvn	r3, #0
	b	.L106
.L96:
	sub	r1, fp, #2048
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #2048
	ldr	r0, [fp, #-2076]
	bl	recvfrom
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #45
	bgt	.L98
	ldr	r0, .L108+16
	bl	puts
	mvn	r3, #0
	b	.L106
.L98:
	ldr	r0, [fp, #-2080]
	bl	printeth
	b	.L96
.L95:
	ldr	r3, [fp, #-2092]
	cmp	r3, #2
	bne	.L94
	ldr	r0, .L108+20
	bl	printf
	mov	r0, #21
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-2088]
	ldr	r1, [fp, #-2088]
	ldr	r0, .L108+24
	bl	__isoc99_scanf
	mov	r3, #0
	strb	r3, [fp, #-2093]
	mov	r3, #0
	str	r3, [fp, #-2084]
	b	.L100
.L103:
	ldr	r3, [fp, #-2088]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L101
	ldrb	r3, [fp, #-2093]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r3, r2, r3
	lsl	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, [fp, #-2088]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r3, r3, #255
	sub	r3, r3, #48
	strb	r3, [fp, #-2093]
	b	.L102
.L101:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-2084]
	add	r3, r3, r2
	ldrb	r2, [fp, #-2093]
	strb	r2, [r3]
	ldr	r3, [fp, #-2084]
	add	r3, r3, #1
	str	r3, [fp, #-2084]
	mov	r3, #0
	strb	r3, [fp, #-2093]
.L102:
	ldr	r3, [fp, #-2088]
	add	r3, r3, #1
	str	r3, [fp, #-2088]
.L100:
	ldr	r3, [fp, #-2088]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L103
	mov	r2, #1
	mov	r1, #3
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-2076]
	ldr	r3, [fp, #-2076]
	cmp	r3, #0
	bge	.L104
	ldr	r0, .L108+12
	bl	puts
	mvn	r3, #0
	b	.L106
.L104:
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-2072]
	ldr	r3, [fp, #-2072]
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldrb	r2, [fp, #-2060]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #4]
	ldrb	r2, [fp, #-2059]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #5]
	ldrb	r2, [fp, #-2058]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #6]
	ldrb	r2, [fp, #-2057]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #7]
	ldr	r3, [fp, #-2072]
	mov	r2, #0
	strb	r2, [r3, #15]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #15]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #14]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #14]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #13]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #13]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #12]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #12]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #11]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #10]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #10]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #9]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-2072]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-2072]
	strb	r2, [r3, #2]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-2068]
.L105:
	ldr	r1, [fp, #-2072]
	ldr	r0, [fp, #-2076]
	bl	sendicmp
	sub	r1, fp, #2048
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #2048
	ldr	r0, [fp, #-2076]
	bl	recvfrom
	str	r0, [fp, #-2064]
	ldr	r1, [fp, #-2080]
	ldr	r0, [fp, #-2068]
	bl	fill_icmp
	ldr	r0, [fp, #-2068]
	bl	print_icmp
	b	.L105
.L106:
	ldr	r2, .L108
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L107
	bl	__stack_chk_fail
.L107:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	.LC86
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.size	main, .-main
	.data
	.align	2
	.type	id.6255, %object
	.size	id.6255, 4
id.6255:
	.word	1
	.align	2
	.type	seq.6256, %object
	.size	seq.6256, 4
seq.6256:
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
