// File: /workspace/github_c_makefile_star2_O0/dxwc[P]sfeed/sfeed.c
// Function: xmlattr
static void
xmlattr(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl,
	const char *v, size_t vl)
{
	/* handles transforming inline XML to data */
	if (ISINCONTENT(ctx)) {
		if (ctx.contenttype == ContentTypeHTML)
			xmldata(p, v, vl);
		return;
	}

	if (ctx.feedtype == FeedTypeNone)
		return;

	/* content-type may be: Atom: text, xhtml, html or mime-type.
	   MRSS (media:description): plain, html. */
	if (ISCONTENTTAG(ctx)) {
		if (isattr(n, nl, STRP("type"))) {
			if (isattr(v, vl, STRP("html")) ||
			    isattr(v, vl, STRP("xhtml")) ||
			    isattr(v, vl, STRP("text/html")) ||
			    isattr(v, vl, STRP("text/xhtml"))) {
				ctx.contenttype = ContentTypeHTML;
			} else if (isattr(v, vl, STRP("text")) ||
			           isattr(v, vl, STRP("plain")) ||
				   isattr(v, vl, STRP("text/plain"))) {
				ctx.contenttype = ContentTypePlain;
			}
		}
		return;
	}

	if (ctx.feedtype == FeedTypeRSS) {
		if (ctx.tagid == RSSTagEnclosure &&
		    isattr(n, nl, STRP("url")) && ctx.field) {
			string_append(ctx.field, v, vl);
		} else if (ctx.tagid == RSSTagGuid &&
		           isattr(n, nl, STRP("ispermalink")) &&
		           !isattr(v, vl, STRP("true"))) {
			rssidpermalink = 0;
		}
	} else if (ctx.feedtype == FeedTypeAtom) {
		if (ctx.tagid == AtomTagLink &&
		           isattr(n, nl, STRP("rel"))) {
			/* empty or "alternate": other types could be
			   "enclosure", "related", "self" or "via" */
			if (!vl || isattr(v, vl, STRP("alternate")))
				atomlinktype = AtomTagLinkAlternate;
			else if (isattr(v, vl, STRP("enclosure")))
				atomlinktype = AtomTagLinkEnclosure;
			else
				atomlinktype = TagUnknown;
		} else if (ctx.tagid == AtomTagLink &&
		           isattr(n, nl, STRP("href"))) {
			string_append(&atomlink, v, vl);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
cmpl $0x0, 0x9a49(%rip)      # 0xbe64
je 0x2445
cmpl $0x0, 0x9a44(%rip)      # 0xbe68
jne 0x2445
cmpl $0x2, 0x9a3f(%rip)      # 0xbe6c
jne 0x2440
movq -0x8(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq 0x10(%rbp), %rdx
callq 0x2860
jmp 0x270c
cmpl $0x0, 0x9a24(%rip)      # 0xbe70
jne 0x2453
jmp 0x270c
cmpl $0x0, 0x9a0a(%rip)      # 0xbe64
jne 0x2580
cmpl $0x0, 0x9a01(%rip)      # 0xbe68
je 0x2580
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq 0x4b88(%rip), %rdx      # 0x7004
movl $0x4, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x257b
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4b70(%rip), %rdx      # 0x700e
movl $0x4, %ecx
callq 0x2f00
cmpl $0x0, %eax
jne 0x2507
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4b5c(%rip), %rdx      # 0x7018
movl $0x5, %ecx
callq 0x2f00
cmpl $0x0, %eax
jne 0x2507
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4b2f(%rip), %rdx      # 0x7009
movl $0x9, %ecx
callq 0x2f00
cmpl $0x0, %eax
jne 0x2507
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4b1b(%rip), %rdx      # 0x7013
movl $0xa, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x2513
movl $0x2, 0x995b(%rip)      # 0xbe6c
jmp 0x2579
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4afc(%rip), %rdx      # 0x701e
movl $0x4, %ecx
callq 0x2f00
cmpl $0x0, %eax
jne 0x256d
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4ae8(%rip), %rdx      # 0x7028
movl $0x5, %ecx
callq 0x2f00
cmpl $0x0, %eax
jne 0x256d
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4ac5(%rip), %rdx      # 0x7023
movl $0xa, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x2577
movl $0x1, 0x98f5(%rip)      # 0xbe6c
jmp 0x2579
jmp 0x257b
jmp 0x270c
cmpl $0x1, 0x98e9(%rip)      # 0xbe70
jne 0x262a
cmpl $0x9, 0x98cc(%rip)      # 0xbe60
jne 0x25d4
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq 0x4a89(%rip), %rdx      # 0x702e
movl $0x3, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x25d4
cmpq $0x0, 0x97bc(%rip)      # 0xbd78
je 0x25d4
movq 0x97b3(%rip), %rdi      # 0xbd78
movq -0x30(%rbp), %rsi
movq 0x10(%rbp), %rdx
callq 0x2f50
jmp 0x2625
cmpl $0x7, 0x9885(%rip)      # 0xbe60
jne 0x2623
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq 0x4a46(%rip), %rdx      # 0x7032
movl $0xb, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x2623
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x4a34(%rip), %rdx      # 0x703e
movl $0x4, %ecx
callq 0x2f00
cmpl $0x0, %eax
jne 0x2623
movl $0x0, 0x9855(%rip)      # 0xbe78
jmp 0x2625
jmp 0x270c
cmpl $0x2, 0x983f(%rip)      # 0xbe70
jne 0x270a
cmpl $0x13, 0x9822(%rip)     # 0xbe60
jne 0x26cb
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq 0x49f0(%rip), %rdx      # 0x7043
movl $0x3, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x26cb
cmpq $0x0, 0x10(%rbp)
je 0x2687
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x49cf(%rip), %rdx      # 0x7047
movl $0x9, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x2693
movl $0x14, 0x97eb(%rip)     # 0xbe7c
jmp 0x26c9
movq -0x30(%rbp), %rdi
movq 0x10(%rbp), %rsi
leaq 0x49af(%rip), %rdx      # 0x7051
movl $0x9, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x26bd
movl $0x15, 0x97c1(%rip)     # 0xbe7c
jmp 0x26c7
movl $0x0, 0x97b5(%rip)      # 0xbe7c
jmp 0x26c9
jmp 0x2708
cmpl $0x13, 0x978e(%rip)     # 0xbe60
jne 0x2706
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq 0x4978(%rip), %rdx      # 0x705b
movl $0x4, %ecx
callq 0x2f00
cmpl $0x0, %eax
je 0x2706
movq -0x30(%rbp), %rsi
movq 0x10(%rbp), %rdx
leaq 0x977f(%rip), %rdi      # 0xbe80
callq 0x2f50
jmp 0x2708
jmp 0x270a
jmp 0x270c
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)