// File: /workspace/github_c_makefile_star2_O2/wjmelements[P]evm/src/evm.c
// Function: getAccount
static account_t *getAccount(const address_t address) {
    if (AddressIsPrecompile(address)) {
        if (PrecompileIsKnownPrecompile(address)) {
            account_t *precompile = knownPrecompiles + address.address[19];
            AddressCopy(precompile->address, address);
            precompile->warm = evmIteration;
            return precompile;
        } else {
            fputs("Unknown precompile ", stderr);
            fprintAddress(stderr, address);
            fputc('\n', stderr);
        }
    }
    account_t *result = accounts;
    while (result < emptyAccount && !AddressEqual(&result->address, &address)) result++;
    if (result == emptyAccount) {
        emptyAccount++;
        AddressCopy(result->address, address);
        result->code.size = 0;
        result->nonce = 0;
        result->balance[0] = 0;
        result->balance[1] = 0;
        result->balance[2] = 0;
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
leaq 0x80(%rsp), %rbx
subq $0x20, %rsp
movl 0x10(%rbx), %eax
movl %eax, 0x10(%rsp)
movaps (%rbx), %xmm0
movups %xmm0, (%rsp)
callq 0x762e
addq $0x20, %rsp
testl %eax, %eax
je 0x6c06
movzbl 0x13(%rbx), %r15d
cmpq $0xa, %r15
ja 0x6b0b
imulq $0x50, %r15, %rax
leaq 0x204ffc8(%rip), %rcx   # 0x2056ab0
leaq (%rcx,%rax), %r14
movl 0x10(%rbx), %edx
movl %edx, 0x10(%rax,%rcx)
movups (%rbx), %xmm0
movups %xmm0, (%rax,%rcx)
movq 0x204ff7f(%rip), %rdx   # 0x2056a80
movq %rdx, 0x38(%rax,%rcx)
jmp 0x6c5e
movq 0xf4e6(%rip), %r14      # 0x15ff8
movq (%r14), %rsi
leaq 0x8ef6(%rip), %rdi      # 0xfa12
callq 0x3130
movq (%r14), %rdi
movzbl (%rbx), %edx
movzbl 0x1(%rbx), %ecx
movzbl 0x2(%rbx), %r8d
movzbl 0x3(%rbx), %r9d
movzbl 0x4(%rbx), %eax
movq %rax, 0x40(%rsp)
movzbl 0x5(%rbx), %eax
movq %rax, 0x38(%rsp)
movzbl 0x6(%rbx), %eax
movq %rax, 0x30(%rsp)
movzbl 0x7(%rbx), %eax
movq %rax, 0x28(%rsp)
movzbl 0x8(%rbx), %eax
movq %rax, 0x20(%rsp)
movzbl 0x9(%rbx), %eax
movq %rax, 0x18(%rsp)
movzbl 0xa(%rbx), %eax
movq %rax, 0x10(%rsp)
movzbl 0xb(%rbx), %eax
movq %rax, 0x8(%rsp)
movzbl 0xc(%rbx), %eax
movq %rax, (%rsp)
movzbl 0xd(%rbx), %r12d
movzbl 0xe(%rbx), %r13d
movzbl 0xf(%rbx), %ebp
movzbl 0x10(%rbx), %r14d
movzbl 0x11(%rbx), %r11d
movzbl 0x12(%rbx), %r10d
leaq 0x8787(%rip), %rsi      # 0xf330
xorl %eax, %eax
pushq %r15
pushq %r10
pushq %r11
pushq %r14
pushq %rbp
pushq %r13
pushq %r12
pushq 0x38(%rsp)
pushq 0x48(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
pushq 0x78(%rsp)
pushq 0x88(%rsp)
pushq 0x98(%rsp)
pushq 0xa8(%rsp)
pushq 0xb8(%rsp)
callq 0x31d0
addq $0x80, %rsp
movq 0xf3fd(%rip), %rax      # 0x15ff8
movq (%rax), %rsi
pushq $0xa
popq %rdi
callq 0x3180
leaq 0x203be73(%rip), %r14   # 0x2042a80
movq 0x203be5c(%rip), %r15   # 0x2042a70
cmpq %r15, %r14
jae 0x6c2e
movq %r14, %rdi
movq %rbx, %rsi
callq 0x68de
testl %eax, %eax
jne 0x6c2e
addq $0x50, %r14
jmp 0x6c14
cmpq %r15, %r14
jne 0x6c5e
addq $0x50, %r15
movq %r15, 0x203be32(%rip)   # 0x2042a70
movl 0x10(%rbx), %eax
movl %eax, 0x10(%r14)
movups (%rbx), %xmm0
movups %xmm0, (%r14)
andq $0x0, 0x30(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x14(%r14)
andl $0x0, 0x24(%r14)
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq