// File: /workspace/github_c_makefile_star2_O2/dxwc[P]sfeed/sfeed.c
// Function: xmltagend
static void
xmltagend(XMLParser *p, const char *t, size_t tl, int isshort)
{
	size_t i;

	if (ctx.feedtype == FeedTypeNone)
		return;

	if (ISINCONTENT(ctx)) {
		/* not close content field */
		if (gettag(ctx.feedtype, t, tl) != ctx.tagid) {
			if (!isshort && ctx.contenttype == ContentTypeHTML) {
				xmldata(p, "</", 2);
				xmldata(p, t, tl);
				xmldata(p, ">", 1);
			}
			return;
		}
	} else if (ctx.tagid == AtomTagLink) {
		/* map tag type to field: unknown or lesser priority is ignored,
		   when tags of the same type are repeated only the first is used. */
		if (atomlinktype && atomlinktype > ctx.fields[fieldmap[atomlinktype]].tagid) {
			string_append(&ctx.fields[fieldmap[atomlinktype]].str,
			              atomlink.data, atomlink.len);
			ctx.fields[fieldmap[atomlinktype]].tagid = atomlinktype;
		}
	} else if (ctx.tagid == RSSTagGuid && rssidpermalink) {
		if (ctx.tagid > ctx.fields[FeedFieldLink].tagid) {
			string_clear(&ctx.fields[FeedFieldLink].str);
			string_append(&ctx.fields[FeedFieldLink].str,
			             ctx.fields[FeedFieldId].str.data,
			             ctx.fields[FeedFieldId].str.len);
			ctx.fields[FeedFieldLink].tagid = ctx.tagid;
		}
	} else if (!ctx.tagid && ((ctx.feedtype == FeedTypeAtom &&
	   istag(t, tl, STRP("entry"))) || /* Atom */
	   (ctx.feedtype == FeedTypeRSS &&
	   istag(t, tl, STRP("item"))))) /* RSS */
	{
		/* end of RSS or Atom entry / item */
		printfields();

		/* clear strings */
		for (i = 0; i < FeedFieldLast; i++) {
			string_clear(&ctx.fields[i].str);
			ctx.fields[i].tagid = TagUnknown;
		}
		ctx.contenttype = ContentTypeNone;
		/* allow parsing of Atom and RSS concatenated in one XML stream. */
		ctx.feedtype = FeedTypeNone;
	} else if (!ctx.tagid ||
	           gettag(ctx.feedtype, t, tl) != ctx.tagid) {
		/* not end of field */
		return;
	}
	/* close field */
	ctx.iscontent = 0;
	ctx.tagid = TagUnknown;
	ctx.field = NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r15
movl 0x84b8(%rip), %edi      # 0xaca0
testl %edi, %edi
je 0x310c
movq %rdx, %rbx
movq %rsi, %r14
cmpl $0x0, 0x8497(%rip)      # 0xac94
je 0x2873
cmpl $0x0, 0x8492(%rip)      # 0xac98
jne 0x2873
movl %ecx, %ebp
movq %r14, %rsi
callq 0x33d8
cmpl 0x8478(%rip), %eax      # 0xac90
je 0x30fc
testl %ebp, %ebp
jne 0x310c
cmpl $0x2, 0x846f(%rip)      # 0xac9c
jne 0x310c
leaq 0x2838(%rip), %rsi      # 0x5072
pushq $0x2
popq %rdx
movq %r15, %rdi
callq 0x2727
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2727
leaq 0x2929(%rip), %rsi      # 0x5183
pushq $0x1
popq %rdx
movq %r15, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2727
movl 0x8417(%rip), %eax      # 0xac90
cmpl $0x13, %eax
jne 0x28e1
movl 0x8428(%rip), %eax      # 0xacac
testq %rax, %rax
je 0x30fc
leaq 0x28fc(%rip), %rbx      # 0x5190
movslq (%rbx,%rax,4), %rcx
shlq $0x5, %rcx
leaq 0x8305(%rip), %r14      # 0xaba8
cmpl 0x20(%rcx,%r14), %eax
jbe 0x30fc
leaq (%rcx,%r14), %rdi
addq $0x8, %rdi
movq 0x83f3(%rip), %rsi      # 0xacb0
movq 0x83f4(%rip), %rdx      # 0xacb8
callq 0x332b
movl 0x83dd(%rip), %eax      # 0xacac
movslq (%rbx,%rax,4), %rcx
shlq $0x5, %rcx
movl %eax, 0x20(%rcx,%r14)
jmp 0x30fc
cmpl $0x7, %eax
jne 0x293e
testb $0x1, 0x83bb(%rip)      # 0xaca8
je 0x293e
cmpl $0x6, 0x8312(%rip)      # 0xac08
ja 0x30fc
movq 0x82ed(%rip), %rax      # 0xabf0
testq %rax, %rax
je 0x290b
movb $0x0, (%rax)
andq $0x0, 0x82e5(%rip)      # 0xabf8
movq 0x8316(%rip), %rsi      # 0xac30
movq 0x8317(%rip), %rdx      # 0xac38
leaq 0x82c8(%rip), %rdi      # 0xabf0
callq 0x332b
movl 0x835d(%rip), %eax      # 0xac90
movl %eax, 0x82cf(%rip)      # 0xac08
jmp 0x30fc
testl %eax, %eax
je 0x295b
movq %r14, %rsi
callq 0x33d8
cmpl 0x8340(%rip), %eax      # 0xac90
je 0x30fc
jmp 0x310c
cmpl $0x1, %edi
je 0x2974
cmpl $0x2, %edi
jne 0x310c
leaq 0x2705(%rip), %rdx      # 0x5075
pushq $0x5
jmp 0x297d
leaq 0x2700(%rip), %rdx      # 0x507b
pushq $0x4
popq %rcx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x33ba
testl %eax, %eax
je 0x310c
movq 0x8218(%rip), %rbx      # 0xabb0
testq %rbx, %rbx
je 0x2f84
cmpq $0x0, 0x820f(%rip)      # 0xabb8
je 0x2f84
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
callq 0x21e0
movq (%rax), %r12
movzbl (%rbx), %r13d
testq %r13, %r13
je 0x29dd
movzwl (%r12,%r13,2), %eax
btl $0xd, %eax
jae 0x29e2
incq %rbx
jmp 0x29c4
movzwl (%r12), %eax
testw $0xc00, %ax             # imm = 0xC00
je 0x2f84
leaq 0x2759(%rip), %rsi      # 0x514c
movq %rbx, %rdi
callq 0x20d0
cmpq $0x4, %rax
jne 0x2ac6
xorl %eax, %eax
testb %r13b, %r13b
je 0x2a95
cmpq $0x5, %rax
ja 0x2a95
incq %rbx
xorl %edx, %edx
movq %rbx, %rcx
xorl %esi, %esi
testb %r13b, %r13b
je 0x2a4c
cmpl $0x3, %edx
ja 0x2a4c
movzbl %r13b, %edi
testb $0x8, 0x1(%r12,%rdi,2)
je 0x2a4c
movsbl %r13b, %edi
imull $0xa, %esi, %esi
addl %edi, %esi
addl $-0x30, %esi
incl %edx
movb (%rcx), %r13b
incq %rcx
jmp 0x2a20
movl %esi, (%rsp,%rax,4)
leaq -0x1(%rcx), %rbx
cmpq $0x1, %rax
ja 0x2a64
movb (%rbx), %r13b
cmpb $0x2d, %r13b
je 0x2a87
jmp 0x2a8d
movb (%rbx), %r13b
cmpq $0x2, %rax
jne 0x2a81
cmpb $0x54, %r13b
je 0x2a87
movzbl %r13b, %edx
testb $0x20, 0x1(%r12,%rdx,2)
jne 0x2a87
jmp 0x2a8d
cmpb $0x3a, %r13b
jne 0x2a8d
movb (%rcx), %r13b
movq %rcx, %rbx
incq %rax
jmp 0x2a07
cmpb $0x2e, %r13b
jne 0x2c08
incq %rbx
movq %rbx, %rax
movq %rax, %rbx
movzbl (%rax), %r13d
testq %r13, %r13
je 0x2c05
leaq 0x1(%rbx), %rax
testb $0x8, 0x1(%r12,%r13,2)
jne 0x2aa5
jmp 0x2c08
incq %rbx
pushq $0x1
popq %rdi
testb %r13b, %r13b
je 0x2af7
movzbl %r13b, %eax
testb $0x4, 0x1(%r12,%rax,2)
je 0x2af7
movb (%rbx), %r13b
incq %rbx
jmp 0x2acc
movzbl %r13b, %eax
testb $0x20, 0x1(%r12,%rax,2)
je 0x2afc
movb (%rbx), %r13b
incq %rbx
testb %r13b, %r13b
jne 0x2ae5
xorl %eax, %eax
cmpb $0x2c, %r13b
sete %al
leaq (%rbx,%rax), %r13
addq %rax, %rbx
decq %rbx
movzbl (%rbx), %eax
testq %rax, %rax
je 0x2b27
testb $0x20, 0x1(%r12,%rax,2)
je 0x2b27
incq %rbx
incq %r13
jmp 0x2b0f
xorl %ecx, %ecx
xorl %edx, %edx
testb %al, %al
je 0x2b54
cmpl $0x3, %ecx
ja 0x2b54
movzbl %al, %esi
testb $0x8, 0x1(%r12,%rsi,2)
je 0x2b54
movsbl %al, %eax
imull $0xa, %edx, %edx
addl %eax, %edx
addl $-0x30, %edx
movb (%r13,%rcx), %al
incq %rcx
jmp 0x2b2b
movl %edx, 0x8(%rsp)
addq %rcx, %r13
addq %rcx, %rbx
testb %al, %al
je 0x2f84
movzbl %al, %eax
testb $0x20, 0x1(%r12,%rax,2)
je 0x2b7d
incq %rbx
movb (%r13), %al
incq %r13
jmp 0x2b5e
pushq $-0x1
popq %r15
xorl %ebp, %ebp
movzbl (%rbx,%rbp), %eax
incq %rbp
incl %r15d
testb $0x4, 0x1(%r12,%rax,2)
jne 0x2b83
leal -0xb(%rbp), %eax
cmpl $-0x7, %eax
jb 0x2f84
leaq -0x1(%rbp), %rax
movl %eax, %eax
movq %rax, 0x20(%rsp)
pushq $0x8
popq %r14
cmpq $0xc8, %r14
je 0x2f84
cmpq $0x4, %rbp
je 0x2bd4
leaq 0x5046(%rip), %rax      # 0x7c10
movl (%r14,%rax), %eax
incl %eax
cmpl %ebp, %eax
jne 0x2bfd
movl %edi, 0x1c(%rsp)
leaq 0x5031(%rip), %rax      # 0x7c10
movq -0x8(%r14,%rax), %rdi
movq %rbx, %rsi
movq 0x20(%rsp), %rdx
callq 0x2180
movl 0x1c(%rsp), %edi
testl %eax, %eax
je 0x2d18
incl %edi
addq $0x10, %r14
jmp 0x2bb0
xorl %r13d, %r13d
movslq (%rsp), %rax
cmpq $0x2710, %rax           # imm = 0x2710
setae %dl
movl 0x4(%rsp), %edi
movl 0x8(%rsp), %esi
leal -0xd(%rdi), %ecx
cmpl $-0xc, %ecx
setb %cl
leal -0x20(%rsi), %r8d
cmpl $-0x1f, %r8d
setb %r8b
orb %cl, %r8b
movl 0xc(%rsp), %ecx
cmpl $0x18, %ecx
setae %r9b
orb %dl, %r9b
movl 0x10(%rsp), %edx
cmpl $0x3c, %edx
setae %r10b
orb %r9b, %r10b
orb %r8b, %r10b
movl 0x14(%rsp), %r9d
cmpl $0x3c, %r9d
setae %r8b
orb %r10b, %r8b
jne 0x2f84
movl %ecx, %r10d
movl %edx, %r8d
movl %r9d, %r9d
leaq -0x76c(%rax), %rcx
decl %edi
addq $-0x76e, %rax           # imm = 0xF892
cmpq $0x88, %rax
ja 0x2cc8
leal -0x44(%rcx), %edx
shrl $0x2, %edx
xorl %eax, %eax
testb $0x3, %cl
sete %al
subl %eax, %edx
imulq $0x1e13380, %rcx, %r11  # imm = 0x1E13380
movabsq $0x1518000000000, %r14  # imm = 0x1518000000000
imulq %rdx, %r14
sarq $0x20, %r14
movabsq $-0x83941500, %rcx      # imm = 0xFFFFFFFF7C6BEB00
addq %r11, %rcx
addq %r14, %rcx
jmp 0x2e10
addq $-0x64, %rcx
movw $0x190, %r11w           # imm = 0x190
movl %ecx, %eax
cwtd
idivw %r11w
movswl %dx, %r14d
leal 0x190(%r14), %r11d
movl %r14d, %edx
sarl $0xf, %edx
addl %eax, %edx
testw %r14w, %r14w
cmovnsl %r14d, %r11d
testl %r11d, %r11d
je 0x2d8e
cmpl $0x12c, %r11d           # imm = 0x12C
jl 0x2d95
addl $0xfffffed4, %r11d      # imm = 0xFFFFFED4
pushq $0x3
jmp 0x2da7
movl %edi, 0x4(%rsp)
movl %r15d, %eax
addq %rax, %rbx
addq %rax, %r13
movzbl (%rbx), %eax
testq %rax, %rax
je 0x2d3d
testb $0x20, 0x1(%r12,%rax,2)
je 0x2d3d
incq %rbx
incq %r13
jmp 0x2d25
xorl %ecx, %ecx
xorl %edx, %edx
testb %al, %al
je 0x2d6e
cmpl $0x3, %ecx
ja 0x2d6e
movzbl %al, %esi
testb $0x8, 0x1(%r12,%rsi,2)
je 0x2d6e
movsbl %al, %eax
imull $0xa, %edx, %edx
addl %eax, %edx
addl $-0x30, %edx
incq %rbx
incl %ecx
movb (%r13), %al
incq %r13
jmp 0x2d41
movl %edx, (%rsp)
pushq $0x3
popq %rax
movzbl (%rbx), %r13d
testq %r13, %r13
je 0x2daa
testb $0x20, 0x1(%r12,%r13,2)
je 0x2a07
incq %rbx
jmp 0x2d74
xorl %ebp, %ebp
pushq $0x1
popq %rax
jmp 0x2de0
cmpl $0xc8, %r11d
jl 0x2db2
addl $0xffffff38, %r11d      # imm = 0xFFFFFF38
pushq $0x2
popq %rbp
jmp 0x2dc7
xorl %r13d, %r13d
jmp 0x2a07
leal -0x64(%r11), %eax
xorl %ebp, %ebp
cmpl $0x64, %r11d
setge %bpl
cmovll %r11d, %eax
movl %eax, %r11d
testl %r11d, %r11d
je 0x2dde
movl %r11d, %r14d
shrl $0x2, %r14d
xorl %eax, %eax
testb $0x3, %r11b
sete %al
jmp 0x2de3
xorl %eax, %eax
xorl %r14d, %r14d
imull $0x61, %edx, %edx
movswl %dx, %edx
imull $0x18, %ebp, %r11d
addl %r14d, %r11d
subl %eax, %edx
addl %r11d, %edx
imulq $0x1e13380, %rcx, %rcx  # imm = 0x1E13380
movslq %edx, %rdx
imulq $0x15180, %rdx, %rdx    # imm = 0x15180
addq %rdx, %rcx
addq $0x386e9500, %rcx       # imm = 0x386E9500
movl %edi, %edx
leaq 0x23e7(%rip), %r11      # 0x5200
movslq (%r11,%rdx,4), %rdx
addq %rcx, %rdx
leaq 0x15180(%rdx), %rcx
testb %al, %al
cmoveq %rdx, %rcx
cmpl $0x2, %edi
cmovbq %rdx, %rcx
decl %esi
imulq $0x15180, %rsi, %rax    # imm = 0x15180
imulq $0xe10, %r10, %rdx      # imm = 0xE10
addq %rax, %rdx
imulq $0x3c, %r8, %r14
addq %r9, %r14
addq %rdx, %r14
addq %rcx, %r14
incq %rbx
xorl %ebp, %ebp
testb %r13b, %r13b
je 0x2f70
movzbl %r13b, %eax
testb $0x20, 0x1(%r12,%rax,2)
je 0x2e76
movb (%rbx), %r13b
incq %rbx
jmp 0x2e59
cmpb $0x2b, %r13b
je 0x2e81
cmpl $0x2d, %eax
jne 0x2eb9
leaq 0x2(%rbx), %rdx
leaq 0x1(%rbx), %rcx
xorl %eax, %eax
pushq $0x2
popq %r8
subq $0x1, %r8
jb 0x2f11
movsbl (%rbx), %esi
testl %esi, %esi
je 0x2f2c
movzbl %sil, %edi
testb $0x8, 0x1(%r12,%rdi,2)
je 0x2f16
imull $0xa, %eax, %eax
addl %esi, %eax
addl $-0x30, %eax
incq %rbx
jmp 0x2e8f
leaq -0x1(%rbx), %r15
xorl %eax, %eax
movzbl -0x1(%rbx,%rax), %ecx
incq %rax
testb $0x4, 0x1(%r12,%rcx,2)
jne 0x2ebf
xorl %ebp, %ebp
cmpq $0x4, %rax
jne 0x2f70
leaq 0x4dee(%rip), %r12      # 0x7cd0
pushq $0x3
popq %rbx
xorl %ecx, %ecx
leaq 0x10(%rcx), %r13
cmpq $0x90, %r13
je 0x2f70
movq (%rcx,%r12), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x2190
movq %r13, %rcx
testl %eax, %eax
jne 0x2ee7
movslq -0x8(%r13,%r12), %rbp
jmp 0x2f70
movb (%rdx), %sil
jmp 0x2f1d
leaq -0x1(%rbx), %rcx
movq %rbx, %rdx
addq $0x2, %rcx
cmpb $0x3a, %sil
cmovneq %rdx, %rcx
movq %rcx, %rbx
xorl %ecx, %ecx
xorl %edx, %edx
cmpq $0x2, %rdx
je 0x2f57
movsbl (%rbx,%rdx), %esi
testl %esi, %esi
je 0x2f57
movzbl %sil, %edi
testb $0x8, 0x1(%r12,%rdi,2)
je 0x2f57
imull $0xa, %ecx, %ecx
addl %esi, %ecx
addl $-0x30, %ecx
incq %rdx
jmp 0x2f30
imull $0xe10, %eax, %eax      # imm = 0xE10
imull $0x3c, %ecx, %ecx
addl %eax, %ecx
movl %ecx, %eax
negl %eax
cmpb $0x2d, %r13b
cmovnel %ecx, %eax
movslq %eax, %rbp
subq %rbp, %r14
leaq 0x2177(%rip), %rdi      # 0x50f1
movq %r14, %rsi
xorl %eax, %eax
callq 0x2090
pushq $0x9
popq %rbx
movl %ebx, %edi
callq 0x2030
leaq 0x7c3b(%rip), %rdi      # 0xabd0
callq 0x3433
movl %ebx, %edi
callq 0x2030
leaq 0x7c48(%rip), %rdi      # 0xabf0
callq 0x34a4
movl %ebx, %edi
callq 0x2030
movq 0x7c55(%rip), %rdi      # 0xac10
testq %rdi, %rdi
je 0x3057
cmpq $0x0, 0x7c4c(%rip)      # 0xac18
je 0x3057
callq 0x3517
movq %rax, %rbx
movq %rax, %rdi
callq 0x3547
movq %rax, %r14
movq 0x4ff4(%rip), %r15      # 0x7fe0
leaq 0x2184(%rip), %r13      # 0x5177
movsbl (%rbx), %ebp
testl %ebp, %ebp
je 0x3057
cmpq %r14, %rbx
je 0x3057
cmpb $0x9, %bpl
je 0x3027
movzbl %bpl, %eax
cmpl $0x5c, %eax
je 0x301b
cmpl $0xa, %eax
jne 0x303b
movq (%r15), %rsi
movq %r13, %rdi
jmp 0x3031
movq (%r15), %rsi
leaq 0x2155(%rip), %rdi      # 0x517a
jmp 0x3031
movq (%r15), %rsi
leaq 0x214c(%rip), %rdi      # 0x517d
callq 0x20c0
incq %rbx
jmp 0x2ff3
movzbl %bpl, %r12d
callq 0x21e0
movq (%rax), %rax
testb $0x2, (%rax,%r12,2)
jne 0x3036
movl %ebp, %edi
callq 0x2030
jmp 0x3036
pushq $0x9
popq %rbx
movl %ebx, %edi
callq 0x2030
movl 0x7c35(%rip), %eax      # 0xac9c
leaq 0x217e(%rip), %rcx      # 0x51ec
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
movq 0x4f64(%rip), %rax      # 0x7fe0
movq (%rax), %rsi
callq 0x20c0
movl %ebx, %edi
callq 0x2030
leaq 0x7b9e(%rip), %rdi      # 0xac30
callq 0x3433
movl %ebx, %edi
callq 0x2030
leaq 0x7bab(%rip), %rdi      # 0xac50
callq 0x3433
movl %ebx, %edi
callq 0x2030
leaq 0x7bb8(%rip), %rdi      # 0xac70
callq 0x34a4
pushq $0xa
popq %rdi
callq 0x2030
pushq $0x20
popq %rax
leaq 0x7ad9(%rip), %rcx      # 0xaba8
cmpq $0x100, %rax            # imm = 0x100
je 0x30f4
movq -0x18(%rax,%rcx), %rdx
testq %rdx, %rdx
je 0x30e4
movb $0x0, (%rdx)
andq $0x0, -0x10(%rax,%rcx)
andl $0x0, (%rax,%rcx)
addq $0x20, %rax
jmp 0x30cf
andq $0x0, 0x7ba0(%rip)      # 0xac9c
andq $0x0, 0x7b8c(%rip)      # 0xac90
andq $0x0, 0x7a9c(%rip)      # 0xaba8
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq