// File: /workspace/github_c_makefile_star2_O1/Oric4ever[P]lcc65/6502/build/../src/lex.c
// Function: assem
static void assem() {
	if (Aflag >= 2)
		warning("non-ANSI asm\n");
	t = gettok();
	expect('(');
	if (t == SCON) {
		char *s;
		Symbol *argv = (Symbol *)talloc(11*sizeof(Symbol *));
		s = asmargs(tsym, argv, 11);
		if (fname) {
			walk(0, 0, 0);
			code(Start);	/* prevent unreachable code message */
			code(Asm);
			codelist->u.acode.code = s;
			codelist->u.acode.argv = argv;
		} else
			asmcode(s, argv);
		t = gettok();
	} else
		error("missing string constant in asm\n");
	if (t != ')')
		expect(')');
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
leaq 0x1c03e(%rip), %rax     # 0x2ba58
cmpl $0x2, (%rax)
jl 0xfa2d
leaq 0x102a2(%rip), %rdi     # 0x1fcc8
xorl %eax, %eax
callq 0x9be3
callq 0xe1c6
movl %eax, 0x1bfa8(%rip)     # 0x2b9e0
movl $0x28, %edi
callq 0x983d
cmpl $0x24, 0x1bf97(%rip)    # 0x2b9e0
jne 0xfa6f
leaq 0x19d26(%rip), %rax     # 0x29778
movq (%rax), %rax
movl $0x58, (%rax)
movq 0x8(%rax), %rbx
leaq 0x58(%rbx), %rcx
cmpq 0x10(%rax), %rcx
jae 0xfa82
movq %rcx, 0x8(%rax)
jmp 0xfa96
leaq 0x10260(%rip), %rdi     # 0x1fcd6
xorl %eax, %eax
callq 0x9720
jmp 0xfc36
leaq 0x19cef(%rip), %rsi     # 0x29778
movl $0x58, %edi
callq 0x17978
movq %rax, %rbx
movq 0x1beb3(%rip), %rax     # 0x2b950
movq 0x20(%rax), %rcx
cmpl $0x200, 0x8(%rcx)       # imm = 0x200
jl 0xfac4
leaq 0x10245(%rip), %rdi     # 0x1fcf6
xorl %eax, %eax
callq 0x9720
leaq 0x10086(%rip), %r14     # 0x1fb45
jmp 0xfbe0
movq 0x48(%rax), %r15
movb (%r15), %al
xorl %ecx, %ecx
leaq 0x10(%rsp), %r12
testb %al, %al
je 0xfbc0
leaq 0xfe1f(%rip), %r13      # 0x1f900
xorl %edx, %edx
movq %rbx, 0x8(%rsp)
incq %r15
leaq 0x1(%r12), %rbp
movb %al, (%r12)
cmpb $0x25, %al
jne 0xfb9d
movsbq (%r15), %rax
testq %rax, %rax
je 0xfb9d
testb $0x4, (%rax,%r13)
je 0xfb9d
movq %rdx, %rbx
movq %r15, %r14
movsbq %al, %rax
testb $0xc, (%rax,%r13)
je 0xfb30
movb 0x1(%r14), %al
incq %r14
testb %al, %al
jne 0xfb1a
movl %r14d, %esi
subl %r15d, %esi
movq %r15, %rdi
callq 0x16c24
leaq 0x197a3(%rip), %rcx     # 0x292e8
movq (%rcx), %rsi
movq %rax, %rdi
callq 0x173d9
movq %rbx, %rdx
movslq %edx, %rcx
movq 0x8(%rsp), %rbx
movq %rax, (%rbx,%rcx,8)
testq %rax, %rax
je 0xfb9d
movzbl 0x1a(%rax), %ecx
cmpl $0xd, %ecx
je 0xfb9d
cmpl $0x53, %ecx
je 0xfb9d
leaq 0x18b0b(%rip), %rcx     # 0x28684
movl (%rcx), %ecx
addl %ecx, 0x1c(%rax)
orb $0x20, 0x1b(%rax)
leal 0x1(%rdx), %eax
cmpl $0xb, %eax
jne 0xfbad
leaq 0x1017a(%rip), %rdi     # 0x1fd0b
xorl %eax, %eax
callq 0x9720
movl $0xa, %edx
movq %rbp, %r12
movb (%r15), %al
testb %al, %al
jne 0xfae8
jmp 0xfbbd
movb %dl, 0x1(%r12)
addq $0x2, %r12
movl %eax, %edx
movq %r14, %r15
jmp 0xfba0
movslq %edx, %rcx
movb $0x0, (%r12)
movq $0x0, (%rbx,%rcx,8)
leaq 0x10(%rsp), %rdi
subl %edi, %r12d
movl %r12d, %esi
callq 0x16c24
movq %rax, %r14
leaq 0x19c99(%rip), %rax     # 0x29880
cmpq $0x0, (%rax)
je 0xfc20
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3941
movl $0x6, %edi
callq 0x3468
movl $0x7, %edi
callq 0x3468
leaq 0x18525(%rip), %rax     # 0x28138
movq (%rax), %rax
movq %r14, 0x18(%rax)
movq %rbx, 0x20(%rax)
jmp 0xfc2b
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1b33d
callq 0xe1c6
movl %eax, 0x1bdaa(%rip)     # 0x2b9e0
cmpl $0x29, 0x1bda3(%rip)    # 0x2b9e0
je 0xfc49
movl $0x29, %edi
callq 0x983d
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop