// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: big_big_add
static INT big_big_add (BIG* a, BIG* b) {
    ASSERT(a); ASSERT(b);
    if (b->size > a->size) { BIG*t=a; a=b; b=t; }
    a = big_reserve(a, a->size+1);
    uint32_t an = NEXT_RADIX(a->radix[a->size-1]);
    uint32_t bn = NEXT_RADIX(b->radix[b->size-1]);
    uint32_t c = 0;
    size_t i=0;
    for (; i < b->size; i++) {
        uint64_t r = (uint64_t)a->radix[i] + (uint64_t)b->radix[i] + (uint64_t)c;
        a->radix[i] = LO_RADIX(r);
        c = HI_RADIX(r);
    }
    for (; i < a->size; i++) {
        uint64_t r = (uint64_t)a->radix[i] + (uint64_t)bn + (uint64_t)c;
        a->radix[i] = LO_RADIX(r);
        c = HI_RADIX(r);
    }
    a->radix[a->size++] = an + bn + c;
    big_decref(b);
    return big_normalize(a);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x1e9b1
movl $0x2, %edi
leaq 0x335cfb(%rip), %rsi    # 0x35468e
movl $0x2e, %edx
callq 0x5060
callq 0x5310
callq 0x53b0
movl $0x1, %edi
callq 0x5130
jmp 0x1e9b3
jmp 0x1e9b5
cmpq $0x0, -0x18(%rbp)
jne 0x1e9e6
movl $0x2, %edi
leaq 0x335cf5(%rip), %rsi    # 0x3546bd
movl $0x2e, %edx
callq 0x5060
callq 0x5310
callq 0x53b0
movl $0x1, %edi
callq 0x5130
jmp 0x1e9e8
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jbe 0x1ea12
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
addq $0x1, %rsi
callq 0x1c970
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x10(%rcx), %rcx
subq $0x1, %rcx
movl 0x18(%rax,%rcx,4), %edx
andl $0x80000000, %edx       # imm = 0x80000000
xorl %eax, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, -0x24(%rbp)
movq -0x18(%rbp), %rax
movq -0x18(%rbp), %rcx
movq 0x10(%rcx), %rcx
subq $0x1, %rcx
movl 0x18(%rax,%rcx,4), %edx
andl $0x80000000, %edx       # imm = 0x80000000
xorl %eax, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movq $0x0, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq -0x18(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x1eaec
movq -0x10(%rbp), %rax
movq -0x38(%rbp), %rcx
movl 0x18(%rax,%rcx,4), %eax
movq -0x18(%rbp), %rcx
movq -0x38(%rbp), %rdx
movl 0x18(%rcx,%rdx,4), %ecx
addq %rcx, %rax
movl -0x2c(%rbp), %ecx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movl %eax, %edx
movq -0x10(%rbp), %rax
movq -0x38(%rbp), %rcx
movl %edx, 0x18(%rax,%rcx,4)
movq -0x40(%rbp), %rax
shrq $0x20, %rax
movl %eax, -0x2c(%rbp)
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
jmp 0x1ea8e
jmp 0x1eaee
movq -0x38(%rbp), %rax
movq -0x10(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x1eb43
movq -0x10(%rbp), %rax
movq -0x38(%rbp), %rcx
movl 0x18(%rax,%rcx,4), %eax
movl -0x28(%rbp), %ecx
addq %rcx, %rax
movl -0x2c(%rbp), %ecx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movl %eax, %edx
movq -0x10(%rbp), %rax
movq -0x38(%rbp), %rcx
movl %edx, 0x18(%rax,%rcx,4)
movq -0x48(%rbp), %rax
shrq $0x20, %rax
movl %eax, -0x2c(%rbp)
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
jmp 0x1eaee
movl -0x24(%rbp), %edx
addl -0x28(%rbp), %edx
addl -0x2c(%rbp), %edx
movq -0x10(%rbp), %rax
movq -0x10(%rbp), %rsi
movq 0x10(%rsi), %rcx
movq %rcx, %rdi
addq $0x1, %rdi
movq %rdi, 0x10(%rsi)
movl %edx, 0x18(%rax,%rcx,4)
movq -0x18(%rbp), %rdi
callq 0x1c3a0
movq -0x10(%rbp), %rdi
callq 0x1cad0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)