// File: /workspace/github_c_makefile_star2_O3/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 0x1d043(%rip), %rax     # 0x2ca58
cmpl $0x2, (%rax)
jl 0xfa28
leaq 0x102f7(%rip), %rdi     # 0x1fd18
xorl %eax, %eax
callq 0x9bfd
callq 0xe195
movl %eax, 0x1cfad(%rip)     # 0x2c9e0
movl $0x28, %edi
callq 0x9869
cmpl $0x24, 0x1cf9c(%rip)    # 0x2c9e0
jne 0xfa6a
leaq 0x1ad2b(%rip), %rax     # 0x2a778
movq (%rax), %rax
movl $0x58, (%rax)
movq 0x8(%rax), %r15
leaq 0x58(%r15), %rcx
cmpq 0x10(%rax), %rcx
jae 0xfa83
movq %rcx, 0x8(%rax)
jmp 0xfa97
leaq 0x102b5(%rip), %rdi     # 0x1fd26
xorl %eax, %eax
callq 0x974c
movl 0x1cf62(%rip), %eax     # 0x2c9e0
jmp 0xfc38
leaq 0x1acee(%rip), %rsi     # 0x2a778
movl $0x58, %edi
callq 0x17800
movq %rax, %r15
movq 0x1ceb2(%rip), %rax     # 0x2c950
movq 0x20(%rax), %rcx
cmpl $0x200, 0x8(%rcx)       # imm = 0x200
jl 0xfac5
leaq 0x10294(%rip), %rdi     # 0x1fd46
xorl %eax, %eax
callq 0x974c
leaq 0x100d5(%rip), %r14     # 0x1fb95
jmp 0xfbe2
movq 0x48(%rax), %rbx
movb (%rbx), %cl
xorl %eax, %eax
testb %cl, %cl
je 0xfbb2
movq %r15, 0x8(%rsp)
leaq 0x10(%rsp), %r14
leaq 0xfe6a(%rip), %r13      # 0x1f950
xorl %ebp, %ebp
incq %rbx
leaq 0x1(%r14), %r12
movb %cl, (%r14)
cmpb $0x25, %cl
jne 0xfb62
movsbq (%rbx), %rax
testq %rax, %rax
je 0xfbb9
testb $0x4, (%rax,%r13)
je 0xfb62
movq %rbx, %r15
movsbq %al, %rax
testb $0xc, (%rax,%r13)
je 0xfb24
movb 0x1(%r15), %al
incq %r15
testb %al, %al
jne 0xfb0e
movl %r15d, %esi
subl %ebx, %esi
movq %rbx, %rdi
callq 0x16b50
leaq 0x1a7b0(%rip), %rcx     # 0x2a2e8
movq (%rcx), %rsi
movq %rax, %rdi
callq 0x1728e
movslq %ebp, %rcx
movq 0x8(%rsp), %rdx
movq %rax, (%rdx,%rcx,8)
testq %rax, %rax
je 0xfb62
movzbl 0x1a(%rax), %ecx
cmpl $0xd, %ecx
je 0xfb62
cmpl $0x53, %ecx
jne 0xfb75
movl %ebp, %eax
movb (%rbx), %cl
movq %r12, %r14
movl %eax, %ebp
testb %cl, %cl
jne 0xfae8
jmp 0xfbbb
leaq 0x19b08(%rip), %rcx     # 0x29684
movl (%rcx), %ecx
addl %ecx, 0x1c(%rax)
orb $0x20, 0x1b(%rax)
leal 0x1(%rbp), %eax
cmpl $0xb, %eax
jne 0xfba2
leaq 0x101c7(%rip), %rdi     # 0x1fd5b
xorl %eax, %eax
callq 0x974c
movl $0xa, %eax
jmp 0xfb64
movb %bpl, 0x1(%r14)
addq $0x2, %r14
movq %r15, %rbx
movq %r14, %r12
jmp 0xfb64
leaq 0x10(%rsp), %r12
jmp 0xfbc2
movl %ebp, %eax
cltq
movq 0x8(%rsp), %r15
movb $0x0, (%r12)
movq $0x0, (%r15,%rax,8)
leaq 0x10(%rsp), %rdi
subl %edi, %r12d
movl %r12d, %esi
callq 0x16b50
movq %rax, %r14
leaq 0x1ac97(%rip), %rax     # 0x2a880
cmpq $0x0, (%rax)
je 0xfc22
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x394a
movl $0x6, %edi
callq 0x3468
movl $0x7, %edi
callq 0x3468
leaq 0x19523(%rip), %rax     # 0x29138
movq (%rax), %rax
movq %r14, 0x18(%rax)
movq %r15, 0x20(%rax)
jmp 0xfc2d
movq %r14, %rdi
movq %r15, %rsi
callq 0x1b0e3
callq 0xe195
movl %eax, 0x1cda8(%rip)     # 0x2c9e0
cmpl $0x29, %eax
je 0xfc47
movl $0x29, %edi
callq 0x9869
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)