// File: /workspace/github_c_makefile_star2_O0/Yamsman[P]scc/src/sym.c
// Function: symtable_predef
void symtable_predef(symtable *stb) {
	//Get date and time strings
	static char sdate[16];
	static char stime[16];
	time_t c_time = time(NULL);
	struct tm *l_time = localtime(&c_time);
	strftime(sdate, 16, "\"%b %d %Y\"", l_time);
	strftime(stime, 16, "\"%H:%M:%S\"", l_time);

	//Static buffer for __FILE__ and __LINE__ (filled in lex_expand_macro)
	static char sfili[256];
	
	//Predefine macros
	PREDEF_MACRO(stb, __DATE__, sdate);
	PREDEF_MACRO(stb, __FILE__, sfili);
	PREDEF_MACRO(stb, __LINE__, sfili);
	PREDEF_MACRO(stb, __STDC__, "1");
	PREDEF_MACRO(stb, __STDC_HOSTED__, "0");
	PREDEF_MACRO(stb, __STDC_VERSION__, "199901L");
	PREDEF_MACRO(stb, __TIME__, stime);
	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq 0x3170
movq %rax, -0x10(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x3040
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rcx
leaq 0x821c(%rip), %rdi      # 0x175d0
movl $0x10, %esi
leaq 0x4130(%rip), %rdx      # 0x134f0
callq 0x31d0
movq -0x18(%rbp), %rcx
leaq 0x8210(%rip), %rdi      # 0x175e0
movl $0x10, %esi
leaq 0x411f(%rip), %rdx      # 0x134fb
callq 0x31d0
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
movl $0x1, %edi
callq 0xf720
movq -0x88(%rbp), %rdi
movq %rax, %rdx
leaq 0x40ff(%rip), %rsi      # 0x13506
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5f0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
leaq 0x81b1(%rip), %rcx      # 0x175d0
movq %rcx, 0x48(%rax)
movq -0x20(%rbp), %rax
movl $0x1, 0x54(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x80(%rbp)
movl $0x1, %edi
callq 0xf720
movq -0x80(%rbp), %rdi
movq %rax, %rdx
leaq 0x2ca4(%rip), %rsi      # 0x120f2
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5f0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
leaq 0x818a(%rip), %rcx      # 0x175f0
movq %rcx, 0x48(%rax)
movq -0x28(%rbp), %rax
movl $0x1, 0x54(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movl $0x1, %edi
callq 0xf720
movq -0x78(%rbp), %rdi
movq %rax, %rdx
leaq 0x2c6b(%rip), %rsi      # 0x12100
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5f0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
leaq 0x8143(%rip), %rcx      # 0x175f0
movq %rcx, 0x48(%rax)
movq -0x30(%rbp), %rax
movl $0x1, 0x54(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
movl $0x1, %edi
callq 0xf720
movq -0x70(%rbp), %rdi
movq %rax, %rdx
leaq 0x4033(%rip), %rsi      # 0x1350f
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5f0
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
leaq 0x220d(%rip), %rcx      # 0x11701
movq %rcx, 0x48(%rax)
movq -0x38(%rbp), %rax
movl $0x1, 0x54(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
movl $0x1, %edi
callq 0xf720
movq -0x68(%rbp), %rdi
movq %rax, %rdx
leaq 0x3ff5(%rip), %rsi      # 0x13518
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5f0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
leaq 0x21c2(%rip), %rcx      # 0x116fd
movq %rcx, 0x48(%rax)
movq -0x40(%rbp), %rax
movl $0x1, 0x54(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
movl $0x1, %edi
callq 0xf720
movq -0x60(%rbp), %rdi
movq %rax, %rdx
leaq 0x3fbe(%rip), %rsi      # 0x13528
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5f0
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
leaq 0x3fb7(%rip), %rcx      # 0x13539
movq %rcx, 0x48(%rax)
movq -0x48(%rbp), %rax
movl $0x1, 0x54(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movl $0x1, %edi
callq 0xf720
movq -0x58(%rbp), %rdi
movq %rax, %rdx
leaq 0x3f90(%rip), %rsi      # 0x13541
xorl %eax, %eax
movl %eax, %ecx
callq 0xf5f0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
leaq 0x8017(%rip), %rcx      # 0x175e0
movq %rcx, 0x48(%rax)
movq -0x50(%rbp), %rax
movl $0x1, 0x54(%rax)
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)