// File: /workspace/github_c_makefile_star2_O1/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 0x2a421
movq %rsi, %r14
movl $0xfffffdfa, %eax       # imm = 0xFFFFFDFA
addl (%rsi), %eax
cmpl $0x3, %eax
ja 0x2a440
leaq 0xc6d7(%rip), %rcx      # 0x36974
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x1, 0x44(%r14)
jne 0x2a45f
movq %rdi, -0x30(%rbp)
movq 0x10(%r14), %rax
movq 0x8(%rax), %r12
movslq 0x4(%rax), %r15
leaq -0x50(%rbp), %rdi
callq 0xe468
callq 0xa180
movq (%rax), %rax
movl $0x5, %ecx
leaq 0x1(%rcx), %r13
movq $-0x1, %rdx
cmpq %r15, %r13
jge 0x2a2ed
movsbq 0x1(%r12,%rcx), %rdx
testb $0x20, 0x1(%rax,%rdx,2)
movq %r13, %rcx
jne 0x2a2d7
cmpl %r13d, %r15d
jle 0x2a31e
movl %r15d, %ebx
leaq -0x50(%rbp), %r15
movb (%r12,%r13), %al
cmpb $-0x1, %al
je 0x2a31e
movsbl %al, %esi
movq %r15, %rdi
callq 0xe5eb
incq %r13
cmpq %r13, %rbx
jne 0x2a303
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0xe468
leaq -0x1ae92(%rip), %rdx    # 0xf49f
leaq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0xf5d7
cmpl $0x0, 0x4(%r15)
movq -0x30(%rbp), %rbx
jne 0x2a36d
movups 0xca91(%rip), %xmm0     # 0x36de0
leaq -0x450(%rbp), %rdx
movups %xmm0, 0xc(%rdx)
movups 0xca73(%rip), %xmm0     # 0x36dd4
movaps %xmm0, (%rdx)
movq (%rbx), %rdi
movq %r14, %rsi
callq *0x58(%rdi)
movq -0x38(%rbp), %rax
testq %rax, %rax
leaq 0x543b(%rip), %rsi      # 0x2f7b6
cmovneq %rax, %rsi
movl -0x3c(%rbp), %edx
movq %rbx, %rdi
callq 0x2516c
testl %eax, %eax
setne %r15b
je 0x2a3ad
movq 0x48(%r14), %rax
movq (%rax), %rsi
cmpl $0x300, (%rsi)          # imm = 0x300
jne 0x2a4bc
movq %rbx, %rdi
callq 0x2a187
leaq -0x40(%rbp), %rdi
callq 0xe958
leaq -0x50(%rbp), %rdi
callq 0xe958
jmp 0x2a3f1
movq %r14, %rsi
movl $0x1, %edx
jmp 0x2a40b
cmpl $0x1, 0x44(%r14)
jne 0x2a47e
movq 0x48(%r14), %rax
movq (%rax), %rsi
cmpl $0x300, (%rsi)          # imm = 0x300
jne 0x2a49d
callq 0x2a187
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 0x2a4db
leaq 0x88d3(%rip), %rdi      # 0x32cfb
leaq 0xc555(%rip), %rsi      # 0x36984
leaq 0xca22(%rip), %rcx      # 0x36e58
movl $0x255, %edx            # imm = 0x255
callq 0xa0b0
leaq 0x4f4d(%rip), %rdi      # 0x2f394
leaq 0xc536(%rip), %rsi      # 0x36984
leaq 0xca03(%rip), %rcx      # 0x36e58
movl $0x262, %edx            # imm = 0x262
callq 0xa0b0
leaq 0x8284(%rip), %rdi      # 0x326ea
leaq 0xc517(%rip), %rsi      # 0x36984
leaq 0xca27(%rip), %rcx      # 0x36e9b
movl $0x1ba, %edx            # imm = 0x1BA
callq 0xa0b0
leaq 0x8265(%rip), %rdi      # 0x326ea
leaq 0xc4f8(%rip), %rsi      # 0x36984
leaq 0xcad2(%rip), %rcx      # 0x36f65
movl $0x248, %edx            # imm = 0x248
callq 0xa0b0
leaq 0xc94c(%rip), %rdi      # 0x36df0
leaq 0xc4d9(%rip), %rsi      # 0x36984
leaq 0xcab3(%rip), %rcx      # 0x36f65
movl $0x24b, %edx            # imm = 0x24B
callq 0xa0b0
leaq 0xc92d(%rip), %rdi      # 0x36df0
leaq 0xc4ba(%rip), %rsi      # 0x36984
leaq 0xc9ca(%rip), %rcx      # 0x36e9b
movl $0x1dc, %edx            # imm = 0x1DC
callq 0xa0b0