// File: /workspace/github_cpp_makefile_star2_O1/lhydave[P]SysYCompilerLab/back/emit_tigger.cpp
// Function: tigger::emit_goto(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string emit_goto(int label, const string &cond)
{
	seq.push_back(make_shared<goto_stmt>(cond, label));
	if (cond.empty()) // unconditional jump
		return "\tgoto l" + to_string(label) + "\n";
	// conditional jump
	return "\tif " + cond + " goto l" + to_string(label) + "\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x24(%rsp), %r8
movl %esi, (%r8)
leaq 0x30(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x28(%rsp), %r15
leaq 0x68(%rsp), %rdx
movq %r15, %rsi
movq %r14, %rcx
callq 0x1e6c8
movups (%r15), %xmm0
movq %rsp, %rsi
movups %xmm0, (%rsi)
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
leaq 0x19389(%rip), %rdi     # 0x35998
callq 0x1e140
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1c623
callq 0x18722
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1c632
callq 0x18722
cmpq $0x0, 0x8(%r14)
je 0x1c687
leaq 0xc5e2(%rip), %rsi      # 0x28c22
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x11eb4
leaq 0xc5e2(%rip), %rsi      # 0x28c39
movq %r15, %rdi
callq 0x5510
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1c6f3
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1c6fb
movl 0x24(%rsp), %r13d
movl %r13d, %ebp
negl %ebp
cmovsl %r13d, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x1c905
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1c8fc
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1c902
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1c905
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1c6b1
addl $-0x3, %r14d
jmp 0x1c905
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x24(%rsp), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0x1c775
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1c76c
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1c772
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1c775
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1c739
addl $-0x3, %r15d
jmp 0x1c775
addl $-0x2, %r15d
jmp 0x1c775
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x48(%rsp), %rdi
movl $0x2d, %edx
callq 0x52b0
addq 0x48(%rsp), %r14
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0x1230e
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x50(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x1c7c9
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1c7e4
movl $0xf, %esi
cmpq %r13, 0x48(%rsp)
je 0x1c7df
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1c7f5
movq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x50c0
jmp 0x1c803
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5290
leaq 0x10(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x1c826
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1c82c
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xc18c(%rip), %rsi      # 0x289dc
movq %rsp, %rdi
callq 0x5510
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x1c87a
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x1c880
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c8b2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5240
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x1c8c9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5240
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1c8e0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5240
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ca13
movq 0x78(%rsp), %rsi
jmp 0x1ca0b
addl $-0x2, %r14d
jmp 0x1c905
decl %r14d
shrl $0x1f, %r13d
movl %r13d, %esi
addl %r14d, %esi
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x52b0
movq (%r15), %rdi
addq %r13, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x1230e
leaq 0xc0bc(%rip), %rcx      # 0x289fe
movl $0x7, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5290
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1c97a
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1c981
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xc03a(%rip), %rsi      # 0x289dc
callq 0x5510
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x1c9c9
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x1c9cf
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x1c9fc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5240
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1ca13
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5240
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x1ca46
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5240
jmp 0x1ca46
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1caf4
movq 0x38(%rsp), %rsi
jmp 0x1cac9
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ca7e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5240
jmp 0x1ca7e
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x1ca9a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5240
jmp 0x1ca9a
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1cab6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5240
jmp 0x1cab6
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1caf4
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5240
jmp 0x1caf4
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1cae5
callq 0x18722
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1caf4
callq 0x18722
movq %rbx, %rdi
callq 0x54c0