// File: /workspace/github_c_makefile_star2_O3/Ihsoh[P]ilang/compiler/preprocessor/gen.c
// Function: gen_elifxxx_and_else
static bool _gen_elifxxx_and_else(
	PPGeneratorContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);

	switch (node->type) {
		case PP_NODE_DIRECTIVE_ELIF:
		case PP_NODE_DIRECTIVE_ELIFDEF:
		case PP_NODE_DIRECTIVE_ELIFNDEF: {
			return _gen_elifxxx(ctx, node);
		}
		case PP_NODE_DIRECTIVE_ELSE: {
			_gen_else(ctx, node);
			return true;
		}
		default: {
			assert(0);
			return false;
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x428, %rsp            # imm = 0x428
testq %rsi, %rsi
je 0x29a38
movq %rsi, %r14
movl $0xfffffdfa, %eax       # imm = 0xFFFFFDFA
addl (%rsi), %eax
cmpl $0x3, %eax
ja 0x29a57
leaq 0xc069(%rip), %rcx      # 0x3591c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x1, 0x44(%r14)
jne 0x29a76
movq %rdi, -0x30(%rbp)
movq 0x10(%r14), %rax
movq 0x8(%rax), %r12
movslq 0x4(%rax), %r15
leaq -0x50(%rbp), %rdi
callq 0xe274
callq 0xa190
movq (%rax), %rax
movl $0x5, %ecx
leaq 0x1(%rcx), %r13
movq $-0x1, %rdx
cmpq %r15, %r13
jge 0x29903
movsbq 0x1(%r12,%rcx), %rdx
testb $0x20, 0x1(%rax,%rdx,2)
movq %r13, %rcx
jne 0x298ed
cmpl %r13d, %r15d
jle 0x29934
movl %r15d, %ebx
leaq -0x50(%rbp), %r15
movb (%r12,%r13), %al
cmpb $-0x1, %al
je 0x29934
movsbl %al, %esi
movq %r15, %rdi
callq 0xe3fa
incq %r13
cmpq %r13, %rbx
jne 0x29919
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0xe274
leaq -0x1a691(%rip), %rdx    # 0xf2b6
leaq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0xf3e4
movl 0x4(%r15), %edx
testl %edx, %edx
movq -0x30(%rbp), %rbx
jne 0x29987
movups 0xc3e1(%rip), %xmm0     # 0x35d47
leaq -0x450(%rbp), %rdx
movups %xmm0, 0xc(%rdx)
movups 0xc3c3(%rip), %xmm0     # 0x35d3b
movaps %xmm0, (%rdx)
movq (%rbx), %rdi
movq %r14, %rsi
callq *0x58(%rdi)
movl -0x3c(%rbp), %edx
movq -0x38(%rbp), %rax
testq %rax, %rax
leaq 0x4dfd(%rip), %rsi      # 0x2e792
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x24968
testl %eax, %eax
setne %r15b
je 0x299c4
movq 0x48(%r14), %rax
movq (%rax), %rsi
cmpl $0x300, (%rsi)          # imm = 0x300
jne 0x29ad3
movq %rbx, %rdi
callq 0x2979d
leaq -0x40(%rbp), %rdi
callq 0xe772
leaq -0x50(%rbp), %rdi
callq 0xe772
jmp 0x29a08
movq %r14, %rsi
movl $0x1, %edx
jmp 0x29a22
cmpl $0x1, 0x44(%r14)
jne 0x29a95
movq 0x48(%r14), %rax
movq (%rax), %rsi
cmpl $0x300, (%rsi)          # imm = 0x300
jne 0x29ab4
callq 0x2979d
movb $0x1, %r15b
movl %r15d, %eax
addq $0x428, %rsp            # imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rsi
xorl %edx, %edx
addq $0x428, %rsp            # imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x29af2
leaq 0x826c(%rip), %rdi      # 0x31cab
leaq 0xbee6(%rip), %rsi      # 0x3592c
leaq 0xc372(%rip), %rcx      # 0x35dbf
movl $0x255, %edx            # imm = 0x255
callq 0xa0b0
leaq 0x4912(%rip), %rdi      # 0x2e370
leaq 0xbec7(%rip), %rsi      # 0x3592c
leaq 0xc353(%rip), %rcx      # 0x35dbf
movl $0x262, %edx            # imm = 0x262
callq 0xa0b0
leaq 0x7c1d(%rip), %rdi      # 0x3169a
leaq 0xbea8(%rip), %rsi      # 0x3592c
leaq 0xc377(%rip), %rcx      # 0x35e02
movl $0x1ba, %edx            # imm = 0x1BA
callq 0xa0b0
leaq 0x7bfe(%rip), %rdi      # 0x3169a
leaq 0xbe89(%rip), %rsi      # 0x3592c
leaq 0xc422(%rip), %rcx      # 0x35ecc
movl $0x248, %edx            # imm = 0x248
callq 0xa0b0
leaq 0xc29c(%rip), %rdi      # 0x35d57
leaq 0xbe6a(%rip), %rsi      # 0x3592c
leaq 0xc403(%rip), %rcx      # 0x35ecc
movl $0x24b, %edx            # imm = 0x24B
callq 0xa0b0
leaq 0xc27d(%rip), %rdi      # 0x35d57
leaq 0xbe4b(%rip), %rsi      # 0x3592c
leaq 0xc31a(%rip), %rcx      # 0x35e02
movl $0x1dc, %edx            # imm = 0x1DC
callq 0xa0b0