	.file	"522792.c"
	.intel_syntax noprefix
	.text
	.globl	pps
	.data
	.align 4
	.type	pps, @object
	.size	pps, 4
pps:
	.long	10
	.globl	poll_rate
	.align 4
	.type	poll_rate, @object
	.size	poll_rate, 4
poll_rate:
	.long	5
	.text
	.globl	in_cksum
	.type	in_cksum, @function
in_cksum:
.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	ebx, 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	rbx, rax
	sub	DWORD PTR -44[rbp], 2
.L2:
	cmp	DWORD PTR -44[rbp], 1
	jg	.L3
	cmp	DWORD PTR -44[rbp], 1
	jne	.L4
	mov	WORD PTR -26[rbp], 0
	lea	rax, -26[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR -26[rbp]
	movzx	eax, ax
	add	rbx, rax
.L4:
	mov	rdx, rbx
	sar	rdx, 16
	movzx	eax, bx
	lea	rbx, [rdx+rax]
	mov	rax, rbx
	sar	rax, 16
	add	rbx, rax
	mov	eax, ebx
	not	eax
	mov	ebx, eax
	mov	eax, ebx
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	in_cksum, .-in_cksum
	.section	.rodata
.LC0:
	.string	"%.2X "
	.text
	.globl	hexdump
	.type	hexdump, @function
hexdump:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -8[rbp], 1
	sub	DWORD PTR -12[rbp], 1
.L8:
	cmp	DWORD PTR -12[rbp], 0
	jg	.L9
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	hexdump, .-hexdump
	.section	.rodata
.LC1:
	.string	"recvmsg()"
	.align 8
.LC2:
	.string	"Didn't get ttl! len=%d level=%d type=%d\n"
.LC3:
	.string	"sorbo"
	.text
	.globl	check_signal
	.type	check_signal, @function
check_signal:
.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, 1216
	mov	DWORD PTR -1188[rbp], edi
	mov	QWORD PTR -1200[rbp], rsi
	mov	QWORD PTR -1208[rbp], rdx
	mov	QWORD PTR -1216[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1168[rbp], rax
	mov	QWORD PTR -1160[rbp], 1024
	lea	rax, -1152[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1072[rbp]
	mov	edx, 24
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1088[rbp]
	mov	QWORD PTR -1152[rbp], rax
	mov	DWORD PTR -1144[rbp], 16
	lea	rax, -1168[rbp]
	mov	QWORD PTR -1136[rbp], rax
	mov	QWORD PTR -1128[rbp], 1
	lea	rax, -1072[rbp]
	mov	QWORD PTR -1120[rbp], rax
	mov	QWORD PTR -1112[rbp], 24
	lea	rcx, -1152[rbp]
	mov	eax, DWORD PTR -1188[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	recvmsg@PLT
	mov	DWORD PTR -1172[rbp], eax
	cmp	DWORD PTR -1172[rbp], -1
	jne	.L11
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	cmp	DWORD PTR -1172[rbp], 5
	je	.L12
	mov	eax, 0
	jmp	.L17
.L12:
	mov	eax, DWORD PTR -1064[rbp]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -1060[rbp]
	cmp	eax, 2
	je	.L15
.L14:
	mov	ecx, DWORD PTR -1060[rbp]
	mov	edx, DWORD PTR -1064[rbp]
	mov	rax, QWORD PTR -1072[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rax, -1040[rbp]
	mov	edx, 5
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L16
	mov	eax, 0
	jmp	.L17
.L16:
	mov	eax, DWORD PTR -1084[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -1200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	movzx	edx, BYTE PTR -1056[rbp]
	mov	rax, QWORD PTR -1208[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, WORD PTR -1086[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	mov	rdx, QWORD PTR -1216[rbp]
	mov	WORD PTR [rdx], ax
	mov	eax, 1
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	check_signal, .-check_signal
	.section	.rodata
.LC4:
	.string	"malloc()"
	.text
	.globl	udp_checksum
	.type	udp_checksum, @function
udp_checksum:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, 12
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L20
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 9[rax], 17
	mov	eax, DWORD PTR -28[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	WORD PTR 10[rdx], ax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 12
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	in_cksum
	movzx	eax, ax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	udp_checksum, .-udp_checksum
	.section	.rodata
.LC7:
	.string	"sendto()"
.LC8:
	.string	"wrote %d out of %d\n"
	.text
	.globl	send_stuff
	.type	send_stuff, @function
send_stuff:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	eax, ecx
	mov	DWORD PTR -92[rbp], r8d
	mov	WORD PTR -72[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR poll_rate[rip]
	mov	eax, DWORD PTR pps[rip]
	imul	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR pps[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC5[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -40[rbp], eax
	lea	rdx, -52[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	inet_aton@PLT
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR dst.2[rip+4]
	cmp	edx, eax
	jne	.L23
	mov	eax, DWORD PTR plen.1[rip]
	sub	eax, 28
	cmp	DWORD PTR -92[rbp], eax
	je	.L24
.L23:
	mov	BYTE PTR buf.0[rip], 105
.L24:
	movzx	eax, BYTE PTR buf.0[rip]
	cmp	al, 105
	jne	.L25
	mov	edx, 1586
	mov	esi, 0
	lea	rdi, buf.0[rip]
	call	memset@PLT
	lea	rax, buf.0[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR [rax]
	and	edx, -16
	or	edx, 5
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR [rax]
	and	edx, 15
	or	edx, 64
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 1[rax], 0
	mov	eax, DWORD PTR -92[rbp]
	add	eax, 28
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	edi, 666
	call	htons@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	WORD PTR 4[rdx], ax
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR 6[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 8[rax], -128
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 9[rax], 17
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR 10[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	inet_aton@PLT
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	inet_aton@PLT
	mov	edx, 16
	mov	esi, 0
	lea	rdi, dst.2[rip]
	call	memset@PLT
	mov	WORD PTR dst.2[rip], 2
	movzx	eax, WORD PTR -72[rbp]
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR dst.2[rip+2], ax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR dst.2[rip+4], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	in_cksum
	mov	rdx, QWORD PTR -32[rbp]
	mov	WORD PTR 10[rdx], ax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 20
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 6969
	call	htons@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	WORD PTR [rdx], ax
	movzx	eax, WORD PTR -72[rbp]
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	eax, DWORD PTR -92[rbp]
	add	eax, 8
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	WORD PTR 4[rdx], ax
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR 6[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 16[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR -92[rbp]
	lea	esi, 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	udp_checksum
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR 6[rax], dx
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	eax, DWORD PTR -92[rbp]
	add	eax, 28
	mov	DWORD PTR plen.1[rip], eax
.L25:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L26
.L31:
	mov	eax, DWORD PTR plen.1[rip]
	movsx	rdx, eax
	mov	eax, DWORD PTR -68[rbp]
	mov	r9d, 16
	lea	r8, dst.2[rip]
	mov	ecx, 0
	lea	rsi, buf.0[rip]
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	jne	.L27
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	eax, DWORD PTR plen.1[rip]
	cmp	DWORD PTR -36[rbp], eax
	je	.L28
	mov	edx, DWORD PTR plen.1[rip]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	cmp	DWORD PTR -92[rbp], 1458
	jne	.L33
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	usleep@PLT
	add	DWORD PTR -48[rbp], 1
.L26:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L31
	jmp	.L30
.L33:
	nop
.L30:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	send_stuff, .-send_stuff
	.section	.rodata
.LC9:
	.string	"Usage: %s <sip> [pps]\n"
.LC10:
	.string	"PPS=%d\n"
.LC11:
	.string	"socket()"
.LC12:
	.string	"bind()"
.LC13:
	.string	"setsockopt()"
.LC14:
	.string	"select()"
.LC15:
	.string	"Got signal from %s:%d TTL=%d\n"
.LC16:
	.string	"Sending ttl (%d)...\n"
.LC17:
	.string	"Sending stuff to %s...\n"
.LC18:
	.string	"Stopping send"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 272
	mov	DWORD PTR -260[rbp], edi
	mov	QWORD PTR -272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -244[rbp], 1
	mov	DWORD PTR -240[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	BYTE PTR -247[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	cmp	DWORD PTR -260[rbp], 1
	jg	.L35
	mov	rax, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	cmp	DWORD PTR -260[rbp], 2
	jle	.L36
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR pps[rip], eax
.L36:
	mov	eax, DWORD PTR pps[rip]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -216[rbp], rax
	lea	rax, -192[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edx, 17
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -232[rbp], eax
	cmp	DWORD PTR -228[rbp], -1
	jne	.L37
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	mov	WORD PTR -192[rbp], 2
	mov	DWORD PTR -188[rbp], 0
	mov	edi, 6969
	call	htons@PLT
	mov	WORD PTR -190[rbp], ax
	lea	rcx, -192[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L38
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	DWORD PTR -244[rbp], 1
	lea	rdx, -244[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 12
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L39
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	mov	edx, 17
	mov	esi, 3
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], -1
	jne	.L40
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L40:
	mov	DWORD PTR -244[rbp], 1
	lea	rdx, -244[rbp]
	mov	eax, DWORD PTR -228[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 3
	mov	esi, 0
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L41
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L41:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -176[rbp]
	mov	rdi, rdx
#APP
# 405 "the_stack_data/522792.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -224[rbp], edx
	mov	DWORD PTR -220[rbp], eax
	mov	eax, DWORD PTR -232[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -176[rbp+rax*8]
	mov	eax, DWORD PTR -232[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -176[rbp+rax*8], rdx
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 10000
	mov	eax, DWORD PTR -232[rbp]
	lea	edi, 1[rax]
	lea	rdx, -208[rbp]
	lea	rax, -176[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -244[rbp], eax
	mov	eax, DWORD PTR -244[rbp]
	cmp	eax, -1
	jne	.L42
	lea	rdi, .LC14[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L42:
	mov	eax, DWORD PTR -244[rbp]
	cmp	eax, 1
	jne	.L43
	mov	eax, DWORD PTR -232[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -176[rbp+rax*8]
	mov	eax, DWORD PTR -232[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L43
	lea	rcx, -246[rbp]
	lea	rdx, -248[rbp]
	lea	rsi, -32[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	check_signal
	test	eax, eax
	je	.L43
	mov	DWORD PTR -236[rbp], 0
	movzx	eax, BYTE PTR -248[rbp]
	cmp	BYTE PTR -247[rbp], al
	jne	.L45
	lea	rdx, -48[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	cmp	DWORD PTR -240[rbp], 0
	jne	.L46
.L45:
	mov	DWORD PTR -236[rbp], 1
.L46:
	movzx	eax, BYTE PTR -248[rbp]
	mov	BYTE PTR -247[rbp], al
	lea	rdx, -32[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	movzx	ecx, BYTE PTR -247[rbp]
	movzx	eax, WORD PTR -246[rbp]
	movzx	edx, ax
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -240[rbp], 2
	cmp	DWORD PTR -236[rbp], 0
	je	.L43
	movzx	eax, BYTE PTR -247[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -247[rbp]
	mov	edx, 197
	mov	edi, edx
	sub	edi, eax
	movzx	eax, WORD PTR -246[rbp]
	movzx	ecx, ax
	lea	rdx, -48[rbp]
	mov	rsi, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR -228[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	send_stuff
.L43:
	cmp	DWORD PTR -240[rbp], 0
	je	.L41
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -246[rbp]
	movzx	ecx, ax
	lea	rdx, -48[rbp]
	mov	rsi, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR -228[rbp]
	mov	r8d, 1458
	mov	edi, eax
	call	send_stuff
	sub	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L41
	lea	rdi, .LC18[rip]
	call	puts@PLT
	jmp	.L41
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.local	dst.2
	.comm	dst.2,16,16
	.local	plen.1
	.comm	plen.1,4,4
	.data
	.align 32
	.type	buf.0, @object
	.size	buf.0, 1586
buf.0:
	.string	"i"
	.zero	1584
	.section	.rodata
	.align 8
.LC5:
	.long	0
	.long	1072693248
	.align 8
.LC6:
	.long	0
	.long	1083129856
	.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	"522792.c"
	.text
	.global	pps
	.data
	.align	2
	.type	pps, %object
	.size	pps, 4
pps:
	.word	10
	.global	poll_rate
	.align	2
	.type	poll_rate, %object
	.size	poll_rate, 4
poll_rate:
	.word	5
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	in_cksum
	.syntax unified
	.arm
	.fpu softvfp
	.type	in_cksum, %function
in_cksum:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r4, #0
	b	.L2
.L3:
	ldr	r3, [fp, #-24]
	add	r2, r3, #2
	str	r2, [fp, #-24]
	ldrh	r3, [r3]
	add	r4, r4, r3
	ldr	r3, [fp, #-28]
	sub	r3, r3, #2
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bgt	.L3
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L4
	mov	r3, #0
	strh	r3, [fp, #-18]	@ movhi
	sub	r3, fp, #18
	ldr	r2, [fp, #-24]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrh	r3, [fp, #-18]
	add	r4, r4, r3
.L4:
	asr	r2, r4, #16
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	add	r4, r2, r3
	asr	r3, r4, #16
	add	r4, r4, r3
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	lsl	r3, r3, #16
	lsr	r4, r3, #16
	mov	r3, r4
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	in_cksum, .-in_cksum
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%.2X \000"
	.text
	.align	2
	.global	hexdump
	.syntax unified
	.arm
	.fpu softvfp
	.type	hexdump, %function
hexdump:
	@ 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]
	str	r1, [fp, #-12]
	b	.L10
.L11:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L11
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.size	hexdump, .-hexdump
	.section	.rodata
	.align	2
.LC2:
	.ascii	"recvmsg()\000"
	.align	2
.LC3:
	.ascii	"Didn't get ttl! len=%d level=%d type=%d\012\000"
	.align	2
.LC4:
	.ascii	"sorbo\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	check_signal
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_signal, %function
check_signal:
	@ args = 0, pretend = 0, frame = 1120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1120
	str	r0, [fp, #-1112]
	str	r1, [fp, #-1116]
	str	r2, [fp, #-1120]
	str	r3, [fp, #-1124]
	ldr	r3, .L23
	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, #-1100]
	mov	r3, #1024
	str	r3, [fp, #-1096]
	sub	r3, fp, #1088
	sub	r3, r3, #4
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1092]
	mov	r3, #16
	str	r3, [fp, #-1088]
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [fp, #-1084]
	mov	r3, #1
	str	r3, [fp, #-1080]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1076]
	mov	r3, #16
	str	r3, [fp, #-1072]
	sub	r3, fp, #1088
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1112]
	bl	recvmsg
	str	r0, [fp, #-1104]
	ldr	r3, [fp, #-1104]
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L23+4
	bl	perror
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-1104]
	cmp	r3, #5
	beq	.L16
	mov	r3, #0
	b	.L21
.L16:
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-1040]
	cmp	r3, #2
	beq	.L19
.L18:
	ldr	r1, [fp, #-1048]
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1040]
	ldr	r0, .L23+8
	bl	printf
	mov	r0, #1
	bl	exit
.L19:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #5
	ldr	r1, .L23+12
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	mov	r3, #0
	b	.L21
.L20:
	ldr	r0, [fp, #-1060]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-1116]
	bl	strcpy
	ldrb	r2, [fp, #-1036]	@ zero_extendqisi2
	ldr	r3, [fp, #-1120]
	strb	r2, [r3]
	sub	r3, fp, #4
	sub	r3, r3, #1056
	sub	r3, r3, #4
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1124]
	strh	r2, [r3]	@ movhi
	mov	r3, #1
.L21:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	check_signal, .-check_signal
	.section	.rodata
	.align	2
.LC6:
	.ascii	"malloc()\000"
	.text
	.align	2
	.global	udp_checksum
	.syntax unified
	.arm
	.fpu softvfp
	.type	udp_checksum, %function
udp_checksum:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L28
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #4
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r2, #4
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #17
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	in_cksum
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC6
	.size	udp_checksum, .-udp_checksum
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC7:
	.ascii	"sendto()\000"
	.align	2
.LC8:
	.ascii	"wrote %d out of %d\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	send_stuff
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_stuff, %function
send_stuff:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	strh	r3, [fp, #-58]	@ movhi
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L42+4
	ldr	r3, [r3]
	ldr	r2, .L42+8
	ldr	r2, [r2]
	mul	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, .L42+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L42+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L42+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L42+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	inet_aton
	ldr	r2, [fp, #-40]
	ldr	r3, .L42+20
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L31
	ldr	r3, .L42+24
	ldr	r3, [r3]
	sub	r3, r3, #28
	ldr	r2, [fp, #4]
	cmp	r2, r3
	beq	.L32
.L31:
	ldr	r3, .L42+28
	mov	r2, #105
	strb	r2, [r3]
.L32:
	ldr	r3, .L42+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L33
	ldr	r2, .L42+32
	mov	r1, #0
	ldr	r0, .L42+28
	bl	memset
	ldr	r3, .L42+28
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldrb	r3, [r2]
	bic	r3, r3, #10
	orr	r3, r3, #5
	strb	r3, [r2]
	ldr	r2, [fp, #-24]
	ldrb	r3, [r2]
	bic	r3, r3, #176
	orr	r3, r3, #64
	strb	r3, [r2]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r3, [fp, #4]
	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, #-24]
	strh	r2, [r3, #2]	@ movhi
	ldr	r0, .L42+36
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-24]
	mvn	r2, #127
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	mov	r2, #17
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, [fp, #-24]
	add	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	inet_aton
	ldr	r3, [fp, #-24]
	add	r3, r3, #16
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	inet_aton
	mov	r2, #16
	mov	r1, #0
	ldr	r0, .L42+20
	bl	memset
	ldr	r3, .L42+20
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldrh	r3, [fp, #-58]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L42+20
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-24]
	add	r3, r3, #16
	mov	r2, #4
	mov	r1, r3
	ldr	r0, .L42+40
	bl	memcpy
	mov	r1, #20
	ldr	r0, [fp, #-24]
	bl	in_cksum
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, [fp, #-24]
	add	r3, r3, #20
	str	r3, [fp, #-20]
	ldr	r0, .L42+44
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	strh	r2, [r3]	@ movhi
	ldrh	r3, [fp, #-58]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #4]
	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, #-20]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #4]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	memset
	ldr	r3, [fp, #4]
	add	r1, r3, #8
	ldr	r3, [fp, #-24]
	add	r2, r3, #12
	ldr	r3, [fp, #-24]
	add	r3, r3, #16
	ldr	r0, [fp, #-20]
	bl	udp_checksum
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-20]
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #4]
	add	r3, r3, #28
	ldr	r2, .L42+24
	str	r3, [r2]
.L33:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L34
.L39:
	ldr	r3, .L42+24
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, #16
	str	r3, [sp, #4]
	ldr	r3, .L42+20
	str	r3, [sp]
	mov	r3, #0
	ldr	r1, .L42+28
	ldr	r0, [fp, #-48]
	bl	sendto
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L35
	ldr	r0, .L42+48
	bl	perror
	mov	r0, #1
	bl	exit
.L35:
	ldr	r3, .L42+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L36
	ldr	r3, .L42+24
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L42+52
	bl	printf
	mov	r0, #1
	bl	exit
.L36:
	ldr	r3, [fp, #4]
	ldr	r2, .L42+56
	cmp	r3, r2
	bne	.L41
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	usleep
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L34:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L39
	b	.L38
.L41:
	nop
.L38:
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC9
	.word	poll_rate
	.word	pps
	.word	1072693248
	.word	1083129856
	.word	dst.6420
	.word	plen.6419
	.word	buf.6418
	.word	1586
	.word	666
	.word	dst.6420+4
	.word	6969
	.word	.LC7
	.word	.LC8
	.word	1458
	.size	send_stuff, .-send_stuff
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Usage: %s <sip> [pps]\012\000"
	.align	2
.LC11:
	.ascii	"PPS=%d\012\000"
	.align	2
.LC12:
	.ascii	"socket()\000"
	.align	2
.LC13:
	.ascii	"bind()\000"
	.align	2
.LC14:
	.ascii	"setsockopt()\000"
	.align	2
.LC15:
	.ascii	"select()\000"
	.align	2
.LC16:
	.ascii	"Got signal from %s:%d TTL=%d\012\000"
	.align	2
.LC17:
	.ascii	"Sending ttl (%d)...\012\000"
	.align	2
.LC18:
	.ascii	"Sending stuff to %s...\012\000"
	.align	2
.LC19:
	.ascii	"Stopping send\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	mov	r3, #0
	strb	r3, [fp, #-227]
	mov	r3, #0
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-232]
	cmp	r3, #1
	bgt	.L45
	ldr	r3, [fp, #-236]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+4
	bl	printf
	mov	r0, #1
	bl	exit
.L45:
	ldr	r3, [fp, #-232]
	cmp	r3, #2
	ble	.L46
	ldr	r3, [fp, #-236]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L61+8
	str	r3, [r2]
.L46:
	ldr	r3, .L61+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+12
	bl	printf
	ldr	r3, [fp, #-236]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-208]
	sub	r3, fp, #184
	mov	r2, #4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r2, #17
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-204]
	ldr	r3, [fp, #-200]
	cmn	r3, #1
	bne	.L47
	ldr	r0, .L61+16
	bl	perror
	mov	r0, #1
	bl	exit
.L47:
	mov	r3, #2
	strh	r3, [fp, #-184]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-180]
	ldr	r0, .L61+20
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-182]	@ movhi
	sub	r3, fp, #184
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-204]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L48
	ldr	r0, .L61+24
	bl	perror
	mov	r0, #1
	bl	exit
.L48:
	mov	r3, #1
	str	r3, [fp, #-224]
	sub	r3, fp, #224
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #12
	mov	r1, #0
	ldr	r0, [fp, #-204]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L49
	ldr	r0, .L61+28
	bl	perror
	mov	r0, #1
	bl	exit
.L49:
	mov	r2, #17
	mov	r1, #3
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmn	r3, #1
	bne	.L50
	ldr	r0, .L61+16
	bl	perror
	mov	r0, #1
	bl	exit
.L50:
	mov	r3, #1
	str	r3, [fp, #-224]
	sub	r3, fp, #224
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #3
	mov	r1, #0
	ldr	r0, [fp, #-200]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L51
	ldr	r0, .L61+28
	bl	perror
	mov	r0, #1
	bl	exit
.L51:
	sub	r3, fp, #168
	str	r3, [fp, #-196]
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L52
.L53:
	ldr	r3, [fp, #-196]
	ldr	r2, [fp, #-216]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L52:
	ldr	r3, [fp, #-216]
	cmp	r3, #31
	bls	.L53
	ldr	r3, [fp, #-204]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-164]
	ldr	r3, [fp, #-204]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-164]
	mov	r3, #0
	str	r3, [fp, #-192]
	ldr	r3, .L61+32
	str	r3, [fp, #-188]
	ldr	r3, [fp, #-204]
	add	r0, r3, #1
	sub	r1, fp, #168
	sub	r3, fp, #192
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmn	r3, #1
	bne	.L54
	ldr	r0, .L61+36
	bl	perror
	mov	r0, #1
	bl	exit
.L54:
	ldr	r3, [fp, #-224]
	cmp	r3, #1
	bne	.L55
	ldr	r3, [fp, #-204]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-164]
	ldr	r3, [fp, #-204]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L55
	sub	r3, fp, #226
	sub	r2, fp, #228
	sub	r1, fp, #24
	ldr	r0, [fp, #-204]
	bl	check_signal
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	mov	r3, #0
	str	r3, [fp, #-212]
	ldrb	r3, [fp, #-228]	@ zero_extendqisi2
	ldrb	r2, [fp, #-227]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L57
	sub	r2, fp, #40
	sub	r3, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L58
.L57:
	mov	r3, #1
	str	r3, [fp, #-212]
.L58:
	ldrb	r3, [fp, #-228]
	strb	r3, [fp, #-227]
	sub	r2, fp, #24
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldrh	r3, [fp, #-226]
	mov	r2, r3
	ldrb	r3, [fp, #-227]	@ zero_extendqisi2
	sub	r1, fp, #40
	ldr	r0, .L61+40
	bl	printf
	mov	r3, #2
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	beq	.L55
	ldrb	r3, [fp, #-227]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L61+44
	bl	printf
	ldrh	r1, [fp, #-226]
	ldrb	r3, [fp, #-227]	@ zero_extendqisi2
	rsb	r3, r3, #197
	sub	r2, fp, #40
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-200]
	bl	send_stuff
.L55:
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	beq	.L51
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L61+48
	bl	printf
	ldrh	r3, [fp, #-226]
	sub	r2, fp, #40
	ldr	r1, .L61+52
	str	r1, [sp]
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-200]
	bl	send_stuff
	ldr	r3, [fp, #-220]
	sub	r3, r3, #1
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L51
	ldr	r0, .L61+56
	bl	puts
	b	.L51
.L62:
	.align	2
.L61:
	.word	.LC20
	.word	.LC10
	.word	pps
	.word	.LC11
	.word	.LC12
	.word	6969
	.word	.LC13
	.word	.LC14
	.word	10000
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	1458
	.word	.LC19
	.size	main, .-main
	.local	dst.6420
	.comm	dst.6420,16,4
	.local	plen.6419
	.comm	plen.6419,4,4
	.data
	.align	2
	.type	buf.6418, %object
	.size	buf.6418, 1586
buf.6418:
	.ascii	"i\000"
	.space	1584
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
