	.file	"608981.c"
	.intel_syntax noprefix
	.text
	.type	cursor_init, @function
cursor_init:
.LFB30:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	eax, eax
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	cursor_init, .-cursor_init
	.type	parse_ethhdr, @function
parse_ethhdr:
.LFB31:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 14[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L3
	mov	eax, 0
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 14[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	parse_ethhdr, .-parse_ethhdr
	.type	parse_vlanhdr, @function
parse_vlanhdr:
.LFB32:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L6
	mov	eax, 0
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	parse_vlanhdr, .-parse_vlanhdr
	.type	parse_iphdr, @function
parse_iphdr:
.LFB33:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L9
	mov	eax, 0
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	parse_iphdr, .-parse_iphdr
	.type	parse_ipv6hdr, @function
parse_ipv6hdr:
.LFB34:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L12
	mov	eax, 0
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L13:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	parse_ipv6hdr, .-parse_ipv6hdr
	.type	parse_udphdr, @function
parse_udphdr:
.LFB35:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L15
	mov	eax, 0
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	parse_udphdr, .-parse_udphdr
	.type	parse_dnshdr, @function
parse_dnshdr:
.LFB36:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L18
	mov	eax, 0
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L19:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	parse_dnshdr, .-parse_dnshdr
	.type	parse_dns_qrr, @function
parse_dns_qrr:
.LFB37:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L21
	mov	eax, 0
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L22:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	parse_dns_qrr, .-parse_dns_qrr
	.type	parse_dns_rr, @function
parse_dns_rr:
.LFB38:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 10[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L24
	mov	eax, 0
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 10[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L25:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	parse_dns_rr, .-parse_dns_rr
	.type	parse_eth, @function
parse_eth:
.LFB39:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	parse_ethhdr
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L27
	mov	eax, 0
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR 12[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR [rax]
	cmp	ax, 129
	je	.L29
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR [rax]
	cmp	ax, -22392
	jne	.L30
.L29:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	parse_vlanhdr
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L31
	mov	eax, 0
	jmp	.L28
.L31:
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, WORD PTR 2[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR [rax]
	cmp	ax, 129
	je	.L32
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR [rax]
	cmp	ax, -22392
	jne	.L30
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	parse_vlanhdr
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L33
	mov	eax, 0
	jmp	.L28
.L33:
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, WORD PTR 2[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR [rax], dx
.L30:
	mov	rax, QWORD PTR -16[rbp]
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	parse_eth, .-parse_eth
	.type	update_checksum, @function
update_checksum:
.LFB40:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	ecx, esi
	mov	eax, edx
	mov	edx, ecx
	mov	WORD PTR -28[rbp], dx
	mov	WORD PTR -32[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	movzx	eax, WORD PTR -28[rbp]
	add	edx, eax
	mov	eax, -2
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	movzx	eax, WORD PTR -28[rbp]
	not	eax
	cmp	DWORD PTR -12[rbp], eax
	setb	al
	movzx	edx, al
	mov	eax, DWORD PTR -12[rbp]
	add	edx, eax
	movzx	eax, WORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	movzx	eax, WORD PTR -32[rbp]
	cmp	DWORD PTR -8[rbp], eax
	setb	al
	movzx	edx, al
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 16
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 16
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	not	eax
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	update_checksum, .-update_checksum
	.type	parse_dname, @function
parse_dname:
.LFB41:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L36
.L44:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L37
	mov	eax, 0
	jmp	.L38
.L37:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	movzx	eax, BYTE PTR -13[rbp]
	and	eax, 192
	cmp	eax, 192
	jne	.L39
	movzx	eax, BYTE PTR -13[rbp]
	or	eax, 63
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -32[rbp]
	cmp	rdx, rax
	jl	.L40
	mov	eax, 0
	jmp	.L38
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L41
.L39:
	movzx	eax, BYTE PTR -13[rbp]
	and	eax, 192
	test	eax, eax
	je	.L42
	mov	eax, 0
	jmp	.L38
.L42:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -13[rbp]
	add	rax, 1
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	cmp	BYTE PTR -13[rbp], 0
	je	.L45
	add	DWORD PTR -12[rbp], 1
.L36:
	cmp	DWORD PTR -12[rbp], 127
	jle	.L44
	jmp	.L41
.L45:
	nop
.L41:
	mov	rax, QWORD PTR -8[rbp]
.L38:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE41:
	.size	parse_dname, .-parse_dname
	.type	udp_dns_reply, @function
udp_dns_reply:
.LFB42:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 72
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	parse_udphdr
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L47
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, WORD PTR 2[rax]
	cmp	ax, 13568
	jne	.L47
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	parse_dnshdr
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L48
.L47:
	mov	eax, -1
	jmp	.L49
.L48:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 2[rax]
	and	eax, -128
	test	al, al
	jne	.L50
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 4[rax]
	cmp	ax, 256
	jne	.L50
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 6[rax]
	test	ax, ax
	jne	.L50
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 8[rax]
	test	ax, ax
	jne	.L50
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 10[rax]
	cmp	ax, 256
	ja	.L50
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parse_dname
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L50
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	parse_dns_qrr
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L51
.L50:
	mov	eax, -1
	jmp	.L49
.L51:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 10[rax]
	test	ax, ax
	je	.L52
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	ja	.L53
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L53
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	parse_dns_rr
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L53
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	cmp	ax, 10496
	je	.L54
.L53:
	mov	eax, -1
	jmp	.L49
.L54:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 8[rax]
	test	ax, ax
	je	.L52
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jbe	.L55
	mov	eax, -1
	jmp	.L49
.L55:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	sub	rax, QWORD PTR -40[rbp]
	cqo
	shr	rdx, 63
	add	rax, rdx
	and	eax, 1
	sub	rax, rdx
	cmp	rax, 1
	jne	.L56
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR -3[rax]
	mov	WORD PTR -54[rbp], ax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR -1[rax]
	mov	WORD PTR -52[rbp], ax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 8[rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, 3
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	movzx	eax, WORD PTR -54[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	add	rcx, 6
	mov	esi, eax
	mov	rdi, rcx
	call	update_checksum
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, 1
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	movzx	eax, WORD PTR -52[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	add	rcx, 6
	mov	esi, eax
	mov	rdi, rcx
	call	update_checksum
	jmp	.L52
.L56:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 8[rax]
	mov	WORD PTR -56[rbp], ax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 8[rax], 0
	movzx	eax, WORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rcx, 6[rdx]
	mov	edx, 0
	mov	esi, eax
	mov	rdi, rcx
	call	update_checksum
.L52:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR -50[rbp], ax
	mov	rax, QWORD PTR -40[rbp]
	movzx	edx, BYTE PTR 3[rax]
	and	edx, -33
	mov	BYTE PTR 3[rax], dl
	mov	rax, QWORD PTR -40[rbp]
	movzx	edx, BYTE PTR 2[rax]
	or	edx, -128
	mov	BYTE PTR 2[rax], dl
	mov	rax, QWORD PTR -40[rbp]
	movzx	edx, BYTE PTR 3[rax]
	and	edx, -16
	or	edx, 5
	mov	BYTE PTR 3[rax], dl
	mov	rax, QWORD PTR -48[rbp]
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR 2[rax], dx
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR [rax], 13568
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	edx, ax
	movzx	eax, WORD PTR -50[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	add	rcx, 6
	mov	esi, eax
	mov	rdi, rcx
	call	update_checksum
	mov	eax, 0
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE42:
	.size	udp_dns_reply, .-udp_dns_reply
	.section	xdp-dns-says-no-v2,"ax",@progbits
	.globl	xdp_dns_says_no
	.type	xdp_dns_says_no, @function
xdp_dns_says_no:
.LFB43:
	.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	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cursor_init
	lea	rdx, -78[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parse_eth
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L58
	mov	eax, 2
	jmp	.L67
.L58:
	movzx	eax, WORD PTR -78[rbp]
	cmp	ax, 8
	jne	.L60
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_iphdr
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L61
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 9[rax]
	cmp	al, 17
	jne	.L61
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	udp_dns_reply
	test	eax, eax
	je	.L62
.L61:
	mov	eax, 2
	jmp	.L67
.L62:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -76[rbp]
	mov	DWORD PTR 12[rax], edx
	jmp	.L63
.L60:
	movzx	eax, WORD PTR -78[rbp]
	cmp	ax, -8826
	jne	.L64
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_ipv6hdr
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L65
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR 6[rax]
	cmp	al, 17
	jne	.L65
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	udp_dns_reply
	test	eax, eax
	je	.L66
.L65:
	mov	eax, 2
	jmp	.L67
.L66:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 24[rcx], rax
	mov	QWORD PTR 32[rcx], rdx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rcx], rax
	mov	QWORD PTR 16[rcx], rdx
	jmp	.L63
.L64:
	mov	eax, 2
	jmp	.L67
.L63:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR -14[rbp], edx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -10[rbp], ax
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 6[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	movzx	edx, WORD PTR 4[rdx]
	mov	WORD PTR 4[rax], dx
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 6
	mov	edx, DWORD PTR -14[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -10[rbp]
	mov	WORD PTR 4[rax], dx
	mov	eax, 3
.L67:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE43:
	.size	xdp_dns_says_no, .-xdp_dns_says_no
	.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	"608981.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cursor_init, %function
cursor_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cursor_init, .-cursor_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_ethhdr, %function
parse_ethhdr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #14
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L3
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #14
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_ethhdr, .-parse_ethhdr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_vlanhdr, %function
parse_vlanhdr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L6
	mov	r3, #0
	b	.L7
.L6:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L7:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_vlanhdr, .-parse_vlanhdr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_iphdr, %function
parse_iphdr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #20
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L9
	mov	r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #20
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_iphdr, .-parse_iphdr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_ipv6hdr, %function
parse_ipv6hdr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #40
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L12
	mov	r3, #0
	b	.L13
.L12:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #40
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_ipv6hdr, .-parse_ipv6hdr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_udphdr, %function
parse_udphdr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L15
	mov	r3, #0
	b	.L16
.L15:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #8
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L16:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_udphdr, .-parse_udphdr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_dnshdr, %function
parse_dnshdr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #12
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L18
	mov	r3, #0
	b	.L19
.L18:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #12
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L19:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_dnshdr, .-parse_dnshdr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_dns_qrr, %function
parse_dns_qrr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L21
	mov	r3, #0
	b	.L22
.L21:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L22:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_dns_qrr, .-parse_dns_qrr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_dns_rr, %function
parse_dns_rr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #10
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L24
	mov	r3, #0
	b	.L25
.L24:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #10
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L25:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_dns_rr, .-parse_dns_rr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_eth, %function
parse_eth:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	parse_ethhdr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L27
	mov	r3, #0
	b	.L28
.L27:
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #12]	@ zero_extendqisi2
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-20]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
	cmp	r3, #129
	beq	.L29
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
	ldr	r2, .L34
	cmp	r3, r2
	bne	.L30
.L29:
	ldr	r0, [fp, #-16]
	bl	parse_vlanhdr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L31
	mov	r3, #0
	b	.L28
.L31:
	ldr	r3, [fp, #-8]
	ldrh	r2, [r3, #2]
	ldr	r3, [fp, #-20]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
	cmp	r3, #129
	beq	.L32
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
	ldr	r2, .L34
	cmp	r3, r2
	bne	.L30
.L32:
	ldr	r0, [fp, #-16]
	bl	parse_vlanhdr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L33
	mov	r3, #0
	b	.L28
.L33:
	ldr	r3, [fp, #-8]
	ldrh	r2, [r3, #2]
	ldr	r3, [fp, #-20]
	strh	r2, [r3]	@ movhi
.L30:
	ldr	r3, [fp, #-12]
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	43144
	.size	parse_eth, .-parse_eth
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_checksum, %function
update_checksum:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, r1
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3]
	mov	r2, r3
	ldrh	r3, [fp, #-26]
	add	r2, r2, r3
	mvn	r3, #1
	sub	r3, r3, r2
	str	r3, [fp, #-16]
	ldrh	r3, [fp, #-26]
	mvn	r3, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	movcc	r3, #1
	movcs	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldrh	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldrh	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	movcc	r3, #1
	movcs	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, [fp, #-8]
	lsr	r2, r2, #16
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, [fp, #-8]
	lsr	r2, r2, #16
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mvn	r3, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	strh	r2, [r3]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	update_checksum, .-update_checksum
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_dname, %function
parse_dname:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L38
.L46:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L39
	mov	r3, #0
	b	.L40
.L39:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldrb	r3, [r3]
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #192
	cmp	r3, #192
	bne	.L41
	ldrb	r3, [fp, #-13]
	orr	r3, r3, #63
	and	r3, r3, #255
	mov	r1, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	cmp	r1, r3
	blt	.L42
	mov	r3, #0
	b	.L40
.L42:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	b	.L43
.L41:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #192
	cmp	r3, #0
	beq	.L44
	mov	r3, #0
	b	.L40
.L44:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	add	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L38:
	ldr	r3, [fp, #-12]
	cmp	r3, #127
	ble	.L46
	b	.L43
.L47:
	nop
.L43:
	ldr	r3, [fp, #-8]
.L40:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	parse_dname, .-parse_dname
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	udp_dns_reply, %function
udp_dns_reply:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r0, [fp, #-40]
	bl	parse_udphdr
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-28]
	ldrh	r3, [r3, #2]
	cmp	r3, #13568
	bne	.L49
	ldr	r0, [fp, #-40]
	bl	parse_dnshdr
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L50
.L49:
	mvn	r3, #0
	b	.L51
.L50:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	bic	r3, r3, #127
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #4]
	cmp	r3, #256
	bne	.L52
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #6]
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #8]
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #10]
	cmp	r3, #256
	bhi	.L52
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	parse_dname
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L52
	ldr	r0, [fp, #-40]
	bl	parse_dns_qrr
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L53
.L52:
	mvn	r3, #0
	b	.L51
.L53:
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #10]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-40]
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bhi	.L55
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L55
	ldr	r0, [fp, #-40]
	bl	parse_dns_rr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #10496
	beq	.L56
.L55:
	mvn	r3, #0
	b	.L51
.L56:
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bls	.L57
	mvn	r3, #0
	b	.L51
.L57:
	ldr	r3, [fp, #-8]
	add	r2, r3, #8
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L58
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldrh	r3, [r3, #-3]	@ movhi
	strh	r3, [fp, #-34]	@ movhi
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldrh	r3, [r3, #-1]	@ movhi
	strh	r3, [fp, #-32]	@ movhi
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #8]
	mov	r2, #0
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-28]
	add	r0, r3, #6
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	sub	r3, r3, #3
	ldrh	r2, [r3]
	ldrh	r3, [fp, #-34]
	mov	r1, r3
	bl	update_checksum
	ldr	r3, [fp, #-28]
	add	r0, r3, #6
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldrh	r2, [r3]
	ldrh	r3, [fp, #-32]
	mov	r1, r3
	bl	update_checksum
	b	.L54
.L58:
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	strh	r3, [fp, #-36]	@ movhi
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #8]
	mov	r2, #0
	strb	r2, [r3, #9]
	ldr	r3, [fp, #-28]
	add	r3, r3, #6
	ldrh	r1, [fp, #-36]
	mov	r2, #0
	mov	r0, r3
	bl	update_checksum
.L54:
	ldr	r3, [fp, #-24]
	ldrh	r3, [r3, #2]	@ movhi
	strh	r3, [fp, #-30]	@ movhi
	ldr	r2, [fp, #-24]
	ldrb	r3, [r2, #3]
	bic	r3, r3, #32
	strb	r3, [r2, #3]
	ldr	r2, [fp, #-24]
	ldrb	r3, [r2, #2]
	orr	r3, r3, #128
	strb	r3, [r2, #2]
	ldr	r2, [fp, #-24]
	ldrb	r3, [r2, #3]
	bic	r3, r3, #10
	orr	r3, r3, #5
	strb	r3, [r2, #3]
	ldr	r3, [fp, #-28]
	ldrh	r2, [r3]
	ldr	r3, [fp, #-28]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-28]
	mov	r2, #13568
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-28]
	add	r0, r3, #6
	ldr	r3, [fp, #-24]
	ldrh	r2, [r3, #2]
	ldrh	r3, [fp, #-30]
	mov	r1, r3
	bl	update_checksum
	mov	r3, #0
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	udp_dns_reply, .-udp_dns_reply
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.section	xdp-dns-says-no-v2,"ax",%progbits
	.align	2
	.global	xdp_dns_says_no
	.syntax unified
	.arm
	.fpu softvfp
	.type	xdp_dns_says_no, %function
xdp_dns_says_no:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #40
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	cursor_init
	sub	r2, fp, #58
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	parse_eth
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L60
	mov	r3, #2
	b	.L69
.L60:
	ldrh	r3, [fp, #-58]
	cmp	r3, #8
	bne	.L62
	sub	r3, fp, #40
	mov	r0, r3
	bl	parse_iphdr
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #9]	@ zero_extendqisi2
	cmp	r3, #17
	bne	.L63
	sub	r3, fp, #40
	mov	r0, r3
	bl	udp_dns_reply
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
.L63:
	mov	r3, #2
	b	.L69
.L64:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-48]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	str	r2, [r3, #12]
	b	.L65
.L62:
	ldrh	r3, [fp, #-58]
	ldr	r2, .L71+4
	cmp	r3, r2
	bne	.L66
	sub	r3, fp, #40
	mov	r0, r3
	bl	parse_ipv6hdr
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L67
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	cmp	r3, #17
	bne	.L67
	sub	r3, fp, #40
	mov	r0, r3
	bl	udp_dns_reply
	mov	r3, r0
	cmp	r3, #0
	beq	.L68
.L67:
	mov	r3, #2
	b	.L69
.L68:
	ldr	r3, [fp, #-52]
	sub	ip, fp, #32
	add	r3, r3, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-52]
	add	ip, r2, #24
	add	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-52]
	add	ip, r3, #8
	sub	r3, fp, #32
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	b	.L65
.L66:
	mov	r3, #2
	b	.L69
.L65:
	ldr	r2, [fp, #-56]
	sub	r3, fp, #16
	mov	r1, r2
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-56]
	add	r3, r3, #6
	mov	r0, r2
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-56]
	add	r3, r3, #6
	mov	r0, r3
	sub	r3, fp, #16
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
	mov	r3, #3
.L69:
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC0
	.word	56710
	.size	xdp_dns_says_no, .-xdp_dns_says_no
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
