// File: /workspace/github_c_makefile_star2_O1/phase[P]o/o.c
// Function: gnop
V gnop(ST s,OTF*ft,I e,I t,OTF cx){
    I c;O a,b,x,r;b=pop(s);if(b->t==TA){if(e){O ad,bd;a=pop(s);if(a->t!=TA)TE;ad=newod(len(a->a));bd=newod(len(b->a));r=ft[TD](ad,bd,s);if(r)psh(s,r);dlo(ad);dlo(bd);dlo(a);dlo(b);R;}else{psh(s,opa(b,ft,e,t));dlo(b);R;}}
    a=pop(s);if(a->t==TA){if(cx)r=cx(a,b,s);else{r=newoa(newst());while(len(a->a)){psh(s,pop(a->a));psh(s,dup(b));gnop(s,ft,e,t,0);psh(r->a,pop(s));}dlo(a);dlo(b);rev(r->a);}psh(s,r);R;}
    c=a->t==TCB||b->t==TCB;/*two different types added together==str*/if(a->t!=b->t&&t){O ao=a,bo=b;a=tosocb(ao);b=tosocb(bo);dlo(ao);dlo(bo);}r=ft[a->t==TCB?TS:a->t](a,b,s);if(r&&c&&r->t==TS){x=r;r=newocb(x->s.s,x->s.z);dlo(x);}
    if(r)psh(s,r);dlo(a);dlo(b);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r13d
movq %rsi, -0x38(%rbp)
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x3712
movl %edx, %r15d
movq %rdi, %rbx
movq (%rdi), %rdx
leaq -0x1(%rcx), %rsi
movq %rsi, 0x8(%rdi)
movq -0x8(%rdx,%rcx,8), %r14
movl (%r14), %eax
cmpl $0x2, %eax
jne 0x3454
testl %r15d, %r15d
je 0x3496
testq %rsi, %rsi
je 0x3712
movq %r14, -0x30(%rbp)
leaq -0x2(%rcx), %rax
movq %rax, 0x8(%rbx)
movq -0x10(%rdx,%rcx,8), %r15
cmpl $0x2, (%r15)
jne 0x371e
movq 0x8(%r15), %rax
movsd 0x8(%rax), %xmm0
unpcklps 0x5f3f(%rip), %xmm0     # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x5f47(%rip), %xmm0     # 0x92e0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, -0x50(%rbp)
callq 0x2c39
movq %rax, %r12
xorl %r14d, %r14d
movl %r14d, (%rax)
movaps -0x50(%rbp), %xmm0
movsd %xmm0, 0x8(%rax)
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rax
movsd 0x8(%rax), %xmm0
unpcklps 0x5efb(%rip), %xmm0     # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x5f03(%rip), %xmm0     # 0x92e0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, -0x50(%rbp)
callq 0x2c39
movq %rax, %r13
movl %r14d, (%rax)
movaps -0x50(%rbp), %xmm0
movsd %xmm0, 0x8(%rax)
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movq -0x38(%rbp), %rax
callq *(%rax)
testq %rax, %rax
je 0x3433
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
cmpq 0x10(%rbx), %rdx
ja 0x3706
movq (%rbx), %rsi
movq %rdx, 0x8(%rbx)
movq %rax, (%rsi,%rcx,8)
movq %r12, %rdi
callq 0x2e91
movq %r13, %rdi
callq 0x2e91
movq %r15, %rdi
callq 0x2e91
movq -0x30(%rbp), %rdi
jmp 0x3599
testq %rsi, %rsi
je 0x3712
leaq -0x2(%rcx), %rsi
movq %rsi, 0x8(%rbx)
movq -0x10(%rdx,%rcx,8), %r12
movl (%r12), %ecx
cmpl $0x3, %ecx
je 0x34cc
cmpl $0x2, %ecx
jne 0x34d4
testq %r8, %r8
je 0x35ac
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq *%r8
movq %rax, -0x30(%rbp)
jmp 0x36da
movq %r14, %rdi
movq -0x38(%rbp), %rsi
xorl %edx, %edx
movl %r13d, %ecx
callq 0x32a4
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
cmpq 0x10(%rbx), %rdx
ja 0x3706
movq (%rbx), %rsi
movq %rdx, 0x8(%rbx)
movq %rax, (%rsi,%rcx,8)
movq %r14, %rdi
jmp 0x3599
movq %r14, %r15
movb $0x1, %r14b
jmp 0x34de
movq %r14, %r15
cmpl $0x3, %eax
sete %r14b
testl %r13d, %r13d
je 0x3517
cmpl %eax, %ecx
je 0x3517
movq %r12, %rdi
callq 0x30b0
movq %rax, -0x30(%rbp)
movq %r15, %rdi
callq 0x30b0
movq %rax, %r13
movq %r12, %rdi
callq 0x2e91
movq %r15, %rdi
callq 0x2e91
movq %r13, %rsi
movq -0x30(%rbp), %r12
jmp 0x351a
movq %r15, %rsi
movl (%r12), %eax
cmpl $0x3, %eax
movl $0x1, %ecx
cmovnel %eax, %ecx
movq %r12, %rdi
movq %rsi, %r13
movq %rbx, %rdx
movq -0x38(%rbp), %rax
callq *(%rax,%rcx,8)
movq %rax, %r15
testq %rax, %rax
sete %al
xorb $0x1, %r14b
orb %al, %r14b
jne 0x356c
cmpl $0x1, (%r15)
jne 0x356c
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
callq 0x2ccc
movq %rax, %r14
movq %r15, %rdi
callq 0x2e91
movq %r14, %r15
testq %r15, %r15
je 0x358e
movq 0x8(%rbx), %rax
leaq 0x1(%rax), %rcx
cmpq 0x10(%rbx), %rcx
ja 0x3706
movq (%rbx), %rdx
movq %rcx, 0x8(%rbx)
movq %r15, (%rdx,%rax,8)
movq %r12, %rdi
callq 0x2e91
movq %r13, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2e91
callq 0x269a
movq %rax, -0x50(%rbp)
callq 0x2c39
movl $0x2, (%rax)
movq %rax, -0x30(%rbp)
movq -0x50(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq 0x8(%r12), %rcx
movq 0x8(%rcx), %rax
testq %rax, %rax
je 0x368c
movq (%rcx), %rdx
leaq -0x1(%rax), %rsi
movq %rsi, 0x8(%rcx)
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rsi
cmpq 0x10(%rbx), %rsi
ja 0x3706
movq -0x8(%rdx,%rax,8), %rax
movq (%rbx), %rdx
movq %rsi, 0x8(%rbx)
movq %rax, (%rdx,%rcx,8)
movq %r14, %rdi
callq 0x2ff3
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
cmpq 0x10(%rbx), %rdx
ja 0x3706
movq (%rbx), %rsi
movq %rdx, 0x8(%rbx)
movq %rax, (%rsi,%rcx,8)
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movl %r15d, %edx
movl %r13d, %ecx
xorl %r8d, %r8d
callq 0x330d
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x3712
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq (%rbx), %rdx
leaq -0x1(%rax), %rsi
movq %rsi, 0x8(%rbx)
movq 0x8(%rcx), %rsi
leaq 0x1(%rsi), %rdi
cmpq 0x10(%rcx), %rdi
ja 0x3706
movq -0x8(%rdx,%rax,8), %rax
movq (%rcx), %rdx
movq %rdi, 0x8(%rcx)
movq %rax, (%rdx,%rsi,8)
jmp 0x35cc
movq %r12, %rdi
callq 0x2e91
movq %r14, %rdi
callq 0x2e91
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
cmpq $0x2, %rcx
jb 0x36da
movq %rcx, %rdx
shrq %rdx
decq %rcx
xorl %esi, %esi
movq (%rax), %rdi
movq (%rdi,%rsi,8), %r8
movq (%rdi,%rcx,8), %r9
movq %r9, (%rdi,%rsi,8)
movq (%rax), %rdi
movq %r8, (%rdi,%rcx,8)
incq %rsi
decq %rcx
cmpq %rsi, %rdx
jne 0x36b9
movq 0x8(%rbx), %rax
leaq 0x1(%rax), %rcx
cmpq 0x10(%rbx), %rcx
ja 0x3706
movq (%rbx), %rdx
movq %rcx, 0x8(%rbx)
movq -0x30(%rbp), %rcx
movq %rcx, (%rdx,%rax,8)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5f12(%rip), %rdi      # 0x961f
callq 0x23bc
leaq 0x5f3c(%rip), %rdi      # 0x9655
callq 0x23bc
leaq 0x5c33(%rip), %rdi      # 0x9358
callq 0x23bc