	.file	"795465.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"socket"
.LC1:
	.string	"SIOCGIFINDEX"
.LC2:
	.string	"SIOCGIFHWADDR"
.LC3:
	.string	"10.0.0.2"
	.align 8
.LC4:
	.string	"inet_pton() failed.\nError message: %s"
.LC5:
	.string	"10.0.0.1"
.LC6:
	.string	"Send failed"
	.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
	push	rbx
	sub	rsp, 1256
	.cfi_offset 3, -24
	mov	DWORD PTR -1252[rbp], edi
	mov	QWORD PTR -1264[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1244[rbp], 0
	lea	rax, -1056[rbp]
	mov	QWORD PTR -1224[rbp], rax
	lea	rax, -1056[rbp]
	add	rax, 14
	mov	QWORD PTR -1232[rbp], rax
	cmp	DWORD PTR -1252[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -1264[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1072[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L3
.L2:
	lea	rax, -1072[rbp]
	movabs	rcx, 13843063599555958
	mov	QWORD PTR [rax], rcx
.L3:
	mov	edx, 255
	mov	esi, 3
	mov	edi, 17
	call	socket@PLT
	mov	DWORD PTR -1240[rbp], eax
	cmp	DWORD PTR -1240[rbp], -1
	jne	.L4
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L4:
	lea	rax, -1168[rbp]
	mov	edx, 40
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -1072[rbp]
	lea	rax, -1168[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rdx, -1168[rbp]
	mov	eax, DWORD PTR -1240[rbp]
	mov	esi, 35123
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L5
	lea	rdi, .LC1[rip]
	call	perror@PLT
.L5:
	lea	rax, -1120[rbp]
	mov	edx, 40
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -1072[rbp]
	lea	rax, -1120[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rdx, -1120[rbp]
	mov	eax, DWORD PTR -1240[rbp]
	mov	esi, 35111
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L6
	lea	rdi, .LC2[rip]
	call	perror@PLT
.L6:
	lea	rax, -1056[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1120[rbp]
	add	rax, 18
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 6[rax], dl
	lea	rax, -1120[rbp]
	add	rax, 18
	add	rax, 1
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 7[rax], dl
	lea	rax, -1120[rbp]
	add	rax, 18
	add	rax, 2
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 8[rax], dl
	lea	rax, -1120[rbp]
	add	rax, 18
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 9[rax], dl
	lea	rax, -1120[rbp]
	add	rax, 18
	add	rax, 4
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 10[rax], dl
	lea	rax, -1120[rbp]
	add	rax, 18
	add	rax, 5
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 11[rax], dl
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 1[rax], 0
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 2[rax], 0
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 3[rax], 0
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 4[rax], 1
	mov	rax, QWORD PTR -1224[rbp]
	mov	BYTE PTR 5[rax], 1
	mov	edi, 2048
	call	htons@PLT
	mov	rdx, QWORD PTR -1224[rbp]
	mov	WORD PTR 12[rdx], ax
	mov	eax, DWORD PTR -1244[rbp]
	add	eax, 14
	mov	DWORD PTR -1244[rbp], eax
	mov	rax, QWORD PTR -1232[rbp]
	movzx	edx, BYTE PTR [rax]
	and	edx, -16
	or	edx, 5
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -1232[rbp]
	movzx	edx, BYTE PTR [rax]
	and	edx, 15
	or	edx, 64
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -1232[rbp]
	mov	BYTE PTR 1[rax], 0
	mov	rbx, QWORD PTR -1232[rbp]
	mov	edi, 20
	call	htons@PLT
	mov	WORD PTR 2[rbx], ax
	mov	rbx, QWORD PTR -1232[rbp]
	mov	edi, 0
	call	htons@PLT
	mov	WORD PTR 4[rbx], ax
	mov	DWORD PTR -1216[rbp], 0
	mov	DWORD PTR -1212[rbp], 0
	mov	DWORD PTR -1208[rbp], 0
	mov	DWORD PTR -1204[rbp], 0
	mov	eax, DWORD PTR -1216[rbp]
	sal	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -1212[rbp]
	sal	eax, 14
	add	edx, eax
	mov	eax, DWORD PTR -1208[rbp]
	sal	eax, 13
	add	edx, eax
	mov	eax, DWORD PTR -1204[rbp]
	add	eax, edx
	movzx	eax, ax
	mov	rbx, QWORD PTR -1232[rbp]
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR 6[rbx], ax
	mov	rax, QWORD PTR -1232[rbp]
	mov	BYTE PTR 8[rax], -1
	mov	rax, QWORD PTR -1232[rbp]
	mov	BYTE PTR 9[rax], 0
	mov	rax, QWORD PTR -1232[rbp]
	add	rax, 12
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	edi, 2
	call	inet_pton@PLT
	mov	DWORD PTR -1236[rbp], eax
	cmp	DWORD PTR -1236[rbp], 1
	je	.L7
	mov	eax, DWORD PTR -1236[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR -1232[rbp]
	add	rax, 16
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	mov	edi, 2
	call	inet_pton@PLT
	mov	DWORD PTR -1236[rbp], eax
	cmp	DWORD PTR -1236[rbp], 1
	je	.L8
	mov	eax, DWORD PTR -1236[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -1232[rbp]
	mov	WORD PTR 10[rax], 0
	mov	rbx, QWORD PTR -1232[rbp]
	lea	rax, -1232[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	ip_checksum
	mov	WORD PTR 10[rbx], ax
	mov	eax, DWORD PTR -1244[rbp]
	add	eax, 20
	mov	DWORD PTR -1244[rbp], eax
	mov	eax, DWORD PTR -1152[rbp]
	mov	DWORD PTR -1196[rbp], eax
	mov	BYTE PTR -1189[rbp], 6
	mov	BYTE PTR -1188[rbp], 0
	mov	BYTE PTR -1187[rbp], 0
	mov	BYTE PTR -1186[rbp], 0
	mov	BYTE PTR -1185[rbp], 0
	mov	BYTE PTR -1184[rbp], 1
	mov	BYTE PTR -1183[rbp], 1
	mov	eax, DWORD PTR -1244[rbp]
	movsx	rdx, eax
	lea	rcx, -1200[rbp]
	lea	rsi, -1056[rbp]
	mov	eax, DWORD PTR -1240[rbp]
	mov	r9d, 20
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	test	rax, rax
	jns	.L9
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L9:
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	checksum
	.type	checksum, @function
checksum:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -36[rbp], esi
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	ebx, 0
	mov	WORD PTR -14[rbp], 0
	jmp	.L13
.L15:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -32[rbp], rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	ebx, eax
	mov	eax, ebx
	test	eax, eax
	jns	.L14
	movzx	eax, bx
	mov	edx, ebx
	shr	edx, 16
	lea	ebx, [rax+rdx]
.L14:
	sub	DWORD PTR -12[rbp], 2
.L13:
	cmp	DWORD PTR -12[rbp], 1
	jg	.L15
	cmp	DWORD PTR -12[rbp], 0
	jle	.L17
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	ebx, eax
	jmp	.L17
.L18:
	movzx	eax, bx
	mov	edx, ebx
	shr	edx, 16
	lea	ebx, [rax+rdx]
.L17:
	mov	eax, ebx
	shr	eax, 16
	test	eax, eax
	jne	.L18
	mov	eax, ebx
	not	eax
	mov	WORD PTR -14[rbp], ax
	movzx	eax, WORD PTR -14[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	checksum, .-checksum
	.globl	ip_checksum
	.type	ip_checksum, @function
ip_checksum:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -28[rbp], 65535
	mov	QWORD PTR -24[rbp], 0
	jmp	.L21
.L23:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -30[rbp], ax
	movzx	eax, WORD PTR -30[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	add	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 65535
	jbe	.L22
	sub	DWORD PTR -28[rbp], 65535
.L22:
	add	QWORD PTR -24[rbp], 2
.L21:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	cmp	QWORD PTR -48[rbp], rax
	ja	.L23
	mov	rax, QWORD PTR -48[rbp]
	and	eax, 1
	test	rax, rax
	je	.L24
	mov	WORD PTR -30[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -30[rbp], al
	movzx	eax, WORD PTR -30[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	add	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 65535
	jbe	.L24
	sub	DWORD PTR -28[rbp], 65535
.L24:
	mov	eax, DWORD PTR -28[rbp]
	not	eax
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ip_checksum, .-ip_checksum
	.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	"795465.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"veth1.1\000"
	.align	2
.LC1:
	.ascii	"socket\000"
	.align	2
.LC2:
	.ascii	"SIOCGIFINDEX\000"
	.align	2
.LC3:
	.ascii	"SIOCGIFHWADDR\000"
	.align	2
.LC4:
	.ascii	"10.0.0.2\000"
	.align	2
.LC5:
	.ascii	"inet_pton() failed.\012Error message: %s\000"
	.align	2
.LC6:
	.ascii	"10.0.0.1\000"
	.align	2
.LC7:
	.ascii	"Send failed\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1184
	sub	sp, sp, #4
	str	r0, [fp, #-1184]
	str	r1, [fp, #-1188]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1172]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-1168]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #14
	str	r3, [fp, #-1176]
	ldr	r3, [fp, #-1184]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-1188]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	b	.L3
.L2:
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, .L12+4
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
.L3:
	mov	r2, #255
	mov	r1, #3
	mov	r0, #17
	bl	socket
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L12+8
	bl	perror
.L4:
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #1040
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #15
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L12+12
	ldr	r0, [fp, #-1164]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L12+16
	bl	perror
.L5:
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #1040
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #15
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L12+20
	ldr	r0, [fp, #-1164]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L12+24
	bl	perror
.L6:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldrb	r2, [fp, #-1070]	@ zero_extendqisi2
	ldr	r3, [fp, #-1168]
	strb	r2, [r3, #6]
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #18
	add	r3, r3, #1
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-1168]
	strb	r2, [r3, #7]
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #18
	add	r3, r3, #2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-1168]
	strb	r2, [r3, #8]
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #18
	add	r3, r3, #3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-1168]
	strb	r2, [r3, #9]
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #18
	add	r3, r3, #4
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-1168]
	strb	r2, [r3, #10]
	sub	r3, fp, #1072
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #18
	add	r3, r3, #5
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-1168]
	strb	r2, [r3, #11]
	ldr	r3, [fp, #-1168]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1168]
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-1168]
	mov	r2, #0
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-1168]
	mov	r2, #0
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-1168]
	mov	r2, #1
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-1168]
	mov	r2, #1
	strb	r2, [r3, #5]
	mov	r0, #2048
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1168]
	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, #-1172]
	add	r3, r3, #14
	str	r3, [fp, #-1172]
	ldr	r2, [fp, #-1176]
	ldrb	r3, [r2]
	bic	r3, r3, #10
	orr	r3, r3, #5
	strb	r3, [r2]
	ldr	r2, [fp, #-1176]
	ldrb	r3, [r2]
	bic	r3, r3, #176
	orr	r3, r3, #64
	strb	r3, [r2]
	ldr	r3, [fp, #-1176]
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r4, [fp, #-1176]
	mov	r0, #20
	bl	htons
	mov	r3, r0
	strh	r3, [r4, #2]	@ movhi
	ldr	r4, [fp, #-1176]
	mov	r0, #0
	bl	htons
	mov	r3, r0
	strh	r3, [r4, #4]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-1156]
	mov	r3, #0
	str	r3, [fp, #-1152]
	mov	r3, #0
	str	r3, [fp, #-1148]
	mov	r3, #0
	str	r3, [fp, #-1144]
	ldr	r3, [fp, #-1156]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #15
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-1152]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #14
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-1148]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #13
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-1144]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r4, [fp, #-1176]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [r4, #6]	@ movhi
	ldr	r3, [fp, #-1176]
	mvn	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-1176]
	mov	r2, #0
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-1176]
	add	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L12+28
	mov	r0, #2
	bl	inet_pton
	str	r0, [fp, #-1160]
	ldr	r3, [fp, #-1160]
	cmp	r3, #1
	beq	.L7
	ldr	r3, .L12+32
	ldr	r4, [r3]
	ldr	r0, [fp, #-1160]
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L12+36
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-1176]
	add	r3, r3, #16
	mov	r2, r3
	ldr	r1, .L12+40
	mov	r0, #2
	bl	inet_pton
	str	r0, [fp, #-1160]
	ldr	r3, [fp, #-1160]
	cmp	r3, #1
	beq	.L8
	ldr	r3, .L12+32
	ldr	r4, [r3]
	ldr	r0, [fp, #-1160]
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L12+36
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-1176]
	mov	r2, #0
	strh	r2, [r3, #10]	@ movhi
	ldr	r4, [fp, #-1176]
	sub	r3, fp, #1152
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, #20
	mov	r0, r3
	bl	ip_checksum
	mov	r3, r0
	strh	r3, [r4, #10]	@ movhi
	ldr	r3, [fp, #-1172]
	add	r3, r3, #20
	str	r3, [fp, #-1172]
	ldr	r3, [fp, #-1104]
	str	r3, [fp, #-1136]
	mov	r3, #6
	strb	r3, [fp, #-1129]
	mov	r3, #0
	strb	r3, [fp, #-1128]
	mov	r3, #0
	strb	r3, [fp, #-1127]
	mov	r3, #0
	strb	r3, [fp, #-1126]
	mov	r3, #0
	strb	r3, [fp, #-1125]
	mov	r3, #1
	strb	r3, [fp, #-1124]
	mov	r3, #1
	strb	r3, [fp, #-1123]
	ldr	r2, [fp, #-1172]
	sub	r1, fp, #1024
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #20
	str	r3, [sp, #4]
	sub	r3, fp, #1120
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-1164]
	bl	sendto
	mov	r3, r0
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L12+44
	bl	puts
.L9:
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	35123
	.word	.LC2
	.word	35111
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.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.
	push	{r4, fp}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	mov	r4, #0
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	b	.L15
.L17:
	ldr	r3, [fp, #-16]
	add	r2, r3, #2
	str	r2, [fp, #-16]
	ldrh	r3, [r3]
	add	r4, r4, r3
	mov	r3, r4
	cmp	r3, #0
	bge	.L16
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsr	r2, r4, #16
	add	r4, r3, r2
.L16:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bgt	.L17
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r4, r4, r3
	b	.L19
.L20:
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsr	r2, r4, #16
	add	r4, r3, r2
.L19:
	lsr	r3, r4, #16
	cmp	r3, #0
	bne	.L20
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r3, [fp, #-10]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{r4, fp}
	bx	lr
	.size	checksum, .-checksum
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ip_checksum
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip_checksum, %function
ip_checksum:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r3, .L30+4
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L23
.L25:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r1, r2, r3
	sub	r3, fp, #22
	mov	r2, #2
	mov	r0, r3
	bl	memcpy
	ldrh	r3, [fp, #-22]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #65536
	bcc	.L24
	ldr	r3, [fp, #-20]
	sub	r3, r3, #65280
	sub	r3, r3, #255
	str	r3, [fp, #-20]
.L24:
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	str	r3, [fp, #-16]
.L23:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bhi	.L25
	ldr	r3, [fp, #-36]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L26
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-22]
	ldrh	r3, [fp, #-22]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #65536
	bcc	.L26
	ldr	r3, [fp, #-20]
	sub	r3, r3, #65280
	sub	r3, r3, #255
	str	r3, [fp, #-20]
.L26:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC9
	.word	65535
	.size	ip_checksum, .-ip_checksum
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
