// File: /workspace/github_cpp_makefile_star2_O3/olly-larkin[P]mips-parser/src/instructionList.cpp
// Function: jal(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, int)
uint32_t jal(std::vector<std::string>& argVec, int i) {
    uint32_t returnNum = ((3 << 26) & 0xFC000000);
    int32_t addr;
    if(!labelReturn(argVec[1], addr)) {
        if (!validIntStr(argVec[1], addr))
            exitError("Invalid address \"" + giveStr(argVec) + "\" on instruction number " + std::to_string(i+1), 5);
    }
    return returnNum | (((addr) >> 2) & 0x3FFFFFF);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %esi, %ebx
movq %rdi, %r14
movq (%rdi), %rax
leaq -0xe0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
leaq -0xf0(%rbp), %r15
movq %r15, %rdi
callq 0x40ca
leaq -0x2c(%rbp), %rsi
movq %r15, %rdi
callq 0x4d8f
movl %eax, %r15d
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9b0c
callq 0x21f0
testb %r15b, %r15b
jne 0x9b5f
movq (%r14), %rax
leaq -0xc0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
leaq -0xd0(%rbp), %r15
movq %r15, %rdi
callq 0x40ca
leaq -0x2c(%rbp), %rsi
movq %r15, %rdi
callq 0x4168
movl %eax, %r15d
movq -0xd0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9b5a
callq 0x21f0
testb %r15b, %r15b
je 0x9b81
movl -0x2c(%rbp), %eax
shrl $0x2, %eax
andl $0x3ffffff, %eax        # imm = 0x3FFFFFF
orl $0xc000000, %eax        # imm = 0xC000000
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x128(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x62c6
leaq -0x110(%rbp), %rdi
movq %r15, %rsi
callq 0x6612
leaq 0x18ca(%rip), %rcx      # 0xb473
leaq -0x110(%rbp), %rdi
movl $0x11, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
leaq -0xa0(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x9be4
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x9bf5
movq %rdx, -0xb0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa0(%rbp)
movq 0x8(%rax), %rdx
leaq -0xb0(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x15b1(%rip), %rsi      # 0xb1cb
callq 0x23b0
leaq -0x40(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x9c42
movups (%rcx), %xmm0
leaq -0x40(%rbp), %rdx
movups %xmm0, (%rdx)
jmp 0x9c4d
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
incl %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x9cc6
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x9cbd
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x9cc3
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x9cc6
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x9c8a
addl $-0x3, %r15d
jmp 0x9cc6
addl $-0x2, %r15d
jmp 0x9cc6
decl %r15d
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq -0x80(%rbp), %r13
movq %r13, -0x10(%r13)
leaq -0x90(%rbp), %rdi
movl $0x2d, %edx
callq 0x2260
movl %ebx, %edi
addq -0x90(%rbp), %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x5255
movq -0x50(%rbp), %rcx
movq -0x48(%rbp), %r8
movq -0x88(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq -0x40(%rbp), %rsi
cmpq %rsi, %rcx
je 0x9d1f
movq -0x40(%rbp), %rdi
movq -0x90(%rbp), %rsi
cmpq %rdi, %rax
jbe 0x9d3e
movl $0xf, %edi
cmpq %r13, %rsi
je 0x9d39
movq -0x80(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x9d49
leaq -0x50(%rbp), %rdi
callq 0x20d0
jmp 0x9d59
leaq -0x90(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
leaq -0x60(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x9d75
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x9d80
movq %rsi, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x70(%rbp), %rdi
movl $0x5, %esi
callq 0x65e4
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9dc4
callq 0x21f0
jmp 0x9dc4
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r13, %rdi
je 0x9dda
callq 0x21f0
jmp 0x9dda
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x9df1
callq 0x21f0
jmp 0x9df1
movq %rax, %rbx
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9e07
callq 0x21f0
jmp 0x9e07
movq %rax, %rbx
leaq -0x100(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e21
callq 0x21f0
jmp 0x9e21
movq %rax, %rbx
leaq -0x128(%rbp), %rdi
callq 0x4072
jmp 0x9e4f
movq %rax, %rbx
movq -0xd0(%rbp), %rdi
jmp 0x9e45
movq %rax, %rbx
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9e4f
callq 0x21f0
movq %rbx, %rdi
callq 0x2370