// File: /workspace/github_c_makefile_star2_O0/lyda[P]tz/zic.c
// Function: inzone
static int
inzone(fields, nfields)
register char ** const	fields;
const int		nfields;
{
	register int	i;
	static char *	buf;

	if (nfields < ZONE_MINFIELDS || nfields > ZONE_MAXFIELDS) {
		error(_("wrong number of fields on Zone line"));
		return FALSE;
	}
	if (strcmp(fields[ZF_NAME], TZDEFAULT) == 0 && lcltime != NULL) {
		buf = erealloc(buf, (int) (132 + strlen(TZDEFAULT)));
		(void) sprintf(buf,
_("\"Zone %s\" line and -l option are mutually exclusive"),
			TZDEFAULT);
		error(buf);
		return FALSE;
	}
	if (strcmp(fields[ZF_NAME], TZDEFRULES) == 0 && psxrules != NULL) {
		buf = erealloc(buf, (int) (132 + strlen(TZDEFRULES)));
		(void) sprintf(buf,
_("\"Zone %s\" line and -p option are mutually exclusive"),
			TZDEFRULES);
		error(buf);
		return FALSE;
	}
	for (i = 0; i < nzones; ++i)
		if (zones[i].z_name != NULL &&
			strcmp(zones[i].z_name, fields[ZF_NAME]) == 0) {
				buf = erealloc(buf, (int) (132 +
					strlen(fields[ZF_NAME]) +
					strlen(zones[i].z_filename)));
				(void) sprintf(buf,
_("duplicate zone name %s (file \"%s\", line %d)"),
					fields[ZF_NAME],
					zones[i].z_filename,
					zones[i].z_linenum);
				error(buf);
				return FALSE;
		}
	return inzsub(fields, nfields, FALSE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
cmpl $0x5, -0x14(%rbp)
jl 0x4bfb
cmpl $0x9, -0x14(%rbp)
jle 0x4c13
leaq 0x9d7b(%rip), %rdi      # 0xe97d
callq 0x4110
movl $0x0, -0x4(%rbp)
jmp 0x4e4d
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x96d2(%rip), %rsi      # 0xe2f4
callq 0x2160
cmpl $0x0, %eax
jne 0x4c8a
cmpq $0x0, 0xd58c(%rip)      # 0x121c0
je 0x4c8a
movq 0xd753(%rip), %rdi      # 0x12390
movl $0x8d, %esi
callq 0xd030
movq %rax, %rdi
callq 0x40b0
movq %rax, 0xd73a(%rip)      # 0x12390
movq 0xd733(%rip), %rdi      # 0x12390
leaq 0x9d3d(%rip), %rsi      # 0xe9a1
leaq 0x9689(%rip), %rdx      # 0xe2f4
movb $0x0, %al
callq 0x2250
movq 0xd717(%rip), %rdi      # 0x12390
callq 0x4110
movl $0x0, -0x4(%rbp)
jmp 0x4e4d
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x9665(%rip), %rsi      # 0xe2fe
callq 0x2160
cmpl $0x0, %eax
jne 0x4d01
cmpq $0x0, 0xd51d(%rip)      # 0x121c8
je 0x4d01
movq 0xd6dc(%rip), %rdi      # 0x12390
movl $0x8e, %esi
callq 0xd030
movq %rax, %rdi
callq 0x40b0
movq %rax, 0xd6c3(%rip)      # 0x12390
movq 0xd6bc(%rip), %rdi      # 0x12390
leaq 0x9cfa(%rip), %rsi      # 0xe9d5
leaq 0x961c(%rip), %rdx      # 0xe2fe
movb $0x0, %al
callq 0x2250
movq 0xd6a0(%rip), %rdi      # 0x12390
callq 0x4110
movl $0x0, -0x4(%rbp)
jmp 0x4e4d
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
cmpl 0xd4d7(%rip), %eax      # 0x121e8
jge 0x4e3c
movq 0xd4d2(%rip), %rax      # 0x121f0
movslq -0x18(%rbp), %rcx
imulq $0xc0, %rcx, %rcx
addq %rcx, %rax
cmpq $0x0, 0x10(%rax)
je 0x4e2c
movq 0xd4b2(%rip), %rax      # 0x121f0
movslq -0x18(%rbp), %rcx
imulq $0xc0, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0x2160
cmpl $0x0, %eax
jne 0x4e2c
movq 0xd623(%rip), %rax      # 0x12390
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x20d0
addq $0x84, %rax
movq %rax, -0x20(%rbp)
movq 0xd461(%rip), %rax      # 0x121f0
movslq -0x18(%rbp), %rcx
imulq $0xc0, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rdi
callq 0x20d0
movq -0x28(%rbp), %rdi
movq %rax, %rcx
movq -0x20(%rbp), %rax
addq %rcx, %rax
movl %eax, %esi
callq 0xd030
movq %rax, %rdi
callq 0x40b0
movq %rax, 0xd5c7(%rip)      # 0x12390
movq 0xd5c0(%rip), %rdi      # 0x12390
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdx
movq 0xd411(%rip), %rax      # 0x121f0
movslq -0x18(%rbp), %rcx
imulq $0xc0, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq 0xd3f9(%rip), %rax      # 0x121f0
movslq -0x18(%rbp), %rsi
imulq $0xc0, %rsi, %rsi
addq %rsi, %rax
movl 0x8(%rax), %r8d
leaq 0x9bf9(%rip), %rsi      # 0xea09
movb $0x0, %al
callq 0x2250
movq 0xd572(%rip), %rdi      # 0x12390
callq 0x4110
movl $0x0, -0x4(%rbp)
jmp 0x4e4d
jmp 0x4e2e
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x4d08
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
xorl %edx, %edx
callq 0x5520
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)