// File: /workspace/github_cpp_makefile_star2_O1/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 0x40bc
leaq -0x2c(%rbp), %rsi
movq %r15, %rdi
callq 0x4d8f
movl %eax, %r15d
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9b70
callq 0x21f0
testb %r15b, %r15b
jne 0x9bc3
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 0x40bc
leaq -0x2c(%rbp), %rsi
movq %r15, %rdi
callq 0x4158
movl %eax, %r15d
movq -0xd0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9bbe
callq 0x21f0
testb %r15b, %r15b
je 0x9be5
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 0x6308
leaq -0x110(%rbp), %rdi
movq %r15, %rsi
callq 0x6652
leaq 0x1866(%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 0x9c48
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x9c59
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 0x154d(%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 0x9ca6
movups (%rcx), %xmm0
leaq -0x40(%rbp), %rdx
movups %xmm0, (%rdx)
jmp 0x9cb1
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 0x9d2a
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x9d21
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x9d27
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x9d2a
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x9cee
addl $-0x3, %r15d
jmp 0x9d2a
addl $-0x2, %r15d
jmp 0x9d2a
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, %esi
leaq -0x40(%rbp), %rdi
cmpq %rdi, %rcx
je 0x9d83
movq -0x40(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x9d9f
movl $0xf, %esi
cmpq %r13, -0x90(%rbp)
je 0x9d9a
movq -0x80(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x9db1
movq -0x90(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x20d0
jmp 0x9dc1
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 0x9ddd
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x9de8
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 0x6624
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e2c
callq 0x21f0
jmp 0x9e2c
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r13, %rdi
je 0x9e42
callq 0x21f0
jmp 0x9e42
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x9e59
callq 0x21f0
jmp 0x9e59
movq %rax, %rbx
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9e6f
callq 0x21f0
jmp 0x9e6f
movq %rax, %rbx
leaq -0x100(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e89
callq 0x21f0
jmp 0x9e89
movq %rax, %rbx
leaq -0x128(%rbp), %rdi
callq 0x406e
jmp 0x9eb7
movq %rax, %rbx
movq -0xd0(%rbp), %rdi
jmp 0x9ead
movq %rax, %rbx
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x9eb7
callq 0x21f0
movq %rbx, %rdi
callq 0x2370