	.file	"461653.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Usage: %s netdevName dstIP\n"
.LC1:
	.string	"Create Error"
.LC2:
	.string	"get dev index error:"
.LC3:
	.string	"interface Index:%d\n"
.LC4:
	.string	"get IP addr error:"
.LC5:
	.string	"IP addr:%s\n"
.LC6:
	.string	"get dev MAC addr error:"
	.align 8
.LC7:
	.string	"MAC :%02X-%02X-%02X-%02X-%02X-%02X\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	WORD PTR -24[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	mov	WORD PTR -72[rbp], 0
	mov	DWORD PTR -70[rbp], -1
	mov	WORD PTR -66[rbp], -1
	cmp	DWORD PTR -196[rbp], 3
	je	.L2
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	edi, 3
	call	htons@PLT
	movzx	eax, ax
	mov	edx, eax
	mov	esi, 3
	mov	edi, 17
	call	socket@PLT
	mov	DWORD PTR -184[rbp], eax
	cmp	DWORD PTR -184[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rax, -160[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	DWORD PTR 16[rax], 0
	lea	rax, -128[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR 16[rax], 0
	mov	QWORD PTR 24[rax], 0
	mov	QWORD PTR 32[rax], 0
	mov	rax, QWORD PTR -208[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -184[rbp]
	mov	esi, 35123
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -184[rbp]
	mov	esi, 35093
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	cmp	eax, -1
	jne	.L5
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rax, -128[rbp]
	add	rax, 16
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -188[rbp], eax
	lea	rax, -128[rbp]
	add	rax, 16
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -184[rbp]
	mov	esi, 35111
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -110[rbp]
	mov	DWORD PTR -76[rbp], eax
	movzx	eax, WORD PTR -106[rbp]
	mov	WORD PTR -72[rbp], ax
	movzx	eax, BYTE PTR -71[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -72[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -73[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -74[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -75[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -76[rbp]
	movzx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rax, -64[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -70[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -66[rbp]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 6
	mov	edx, DWORD PTR -76[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -72[rbp]
	mov	WORD PTR 4[rax], dx
	mov	edi, 2054
	call	htons@PLT
	mov	rdx, QWORD PTR -176[rbp]
	mov	WORD PTR 12[rdx], ax
	lea	rax, -64[rbp]
	add	rax, 14
	mov	QWORD PTR -168[rbp], rax
	mov	edi, 1
	call	htons@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	WORD PTR [rdx], ax
	mov	edi, 2048
	call	htons@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	rax, QWORD PTR -168[rbp]
	mov	BYTE PTR 4[rax], 6
	mov	rax, QWORD PTR -168[rbp]
	mov	BYTE PTR 5[rax], 4
	mov	edi, 1
	call	htons@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	WORD PTR 6[rdx], ax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 8
	mov	edx, DWORD PTR -76[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -72[rbp]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 14[rax]
	mov	eax, DWORD PTR -188[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -192[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	inet_pton@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 24[rax]
	mov	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR [rdx], eax
	mov	WORD PTR -160[rbp], 17
	lea	rdx, -160[rbp]
	lea	rsi, -64[rbp]
	mov	eax, DWORD PTR -184[rbp]
	mov	r9d, 20
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 42
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -184[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"461653.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: %s netdevName dstIP\012\000"
	.align	2
.LC2:
	.ascii	"Create Error\000"
	.align	2
.LC3:
	.ascii	"get dev index error:\000"
	.align	2
.LC4:
	.ascii	"interface Index:%d\012\000"
	.align	2
.LC5:
	.ascii	"get IP addr error:\000"
	.align	2
.LC6:
	.ascii	"IP addr:%s\012\000"
	.align	2
.LC7:
	.ascii	"get dev MAC addr error:\000"
	.align	2
.LC8:
	.ascii	"MAC :%02X-%02X-%02X-%02X-%02X-%02X\012\000"
	.align	2
.LC0:
	.ascii	"\377\377\377\377\377\377"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	sub	r3, fp, #48
	mov	r2, #38
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	strh	r3, [fp, #-64]	@ movhi
	ldr	r2, .L9+4
	sub	r3, fp, #60
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r3, [fp, #-152]
	cmp	r3, #3
	beq	.L2
	ldr	r3, [fp, #-156]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L9+8
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	mov	r0, #3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	mov	r1, #3
	mov	r0, #17
	bl	socket
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L9+12
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #120
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	str	r3, [r2, #16]
	sub	r3, fp, #100
	mov	r0, r3
	mov	r3, #32
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, [fp, #-156]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, .L9+16
	ldr	r0, [fp, #-136]
	bl	ioctl
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L9+20
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-84]
	mov	r1, r3
	ldr	r0, .L9+24
	bl	printf
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, .L9+28
	ldr	r0, [fp, #-136]
	bl	ioctl
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L9+32
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #100
	add	r3, r3, #16
	ldr	r3, [r3, #4]
	str	r3, [fp, #-140]
	sub	r3, fp, #100
	add	r3, r3, #16
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L9+36
	bl	printf
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, .L9+40
	ldr	r0, [fp, #-136]
	bl	ioctl
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L9+44
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #68
	sub	r1, fp, #82
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	ldrb	r3, [fp, #-68]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-67]	@ zero_extendqisi2
	mov	ip, r3
	ldrb	r3, [fp, #-66]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	ldrb	r2, [fp, #-64]	@ zero_extendqisi2
	ldrb	r1, [fp, #-63]	@ zero_extendqisi2
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L9+48
	bl	printf
	sub	r3, fp, #52
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	mov	r0, r3
	sub	r3, fp, #60
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-132]
	add	r3, r3, #6
	mov	r0, r3
	sub	r3, fp, #68
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
	ldr	r0, .L9+52
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-132]
	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]
	sub	r3, fp, #52
	add	r3, r3, #14
	str	r3, [fp, #-128]
	mov	r0, #1
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-128]
	strh	r2, [r3]	@ movhi
	mov	r0, #2048
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-128]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-128]
	mov	r2, #6
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-128]
	mov	r2, #4
	strb	r2, [r3, #5]
	mov	r0, #1
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-128]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-128]
	add	r3, r3, #8
	mov	r0, r3
	sub	r3, fp, #68
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-128]
	add	r3, r3, #14
	sub	r1, fp, #140
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-156]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #144
	mov	r1, r3
	mov	r0, #2
	bl	inet_pton
	ldr	r3, [fp, #-128]
	add	r3, r3, #24
	sub	r1, fp, #144
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	mov	r3, #17
	strh	r3, [fp, #-120]	@ movhi
	sub	r1, fp, #52
	mov	r3, #20
	str	r3, [sp, #4]
	sub	r3, fp, #120
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #42
	ldr	r0, [fp, #-136]
	bl	sendto
	str	r0, [fp, #-124]
	ldr	r0, [fp, #-136]
	bl	close
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	35123
	.word	.LC3
	.word	.LC4
	.word	35093
	.word	.LC5
	.word	.LC6
	.word	35111
	.word	.LC7
	.word	.LC8
	.word	2054
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
