user: What would the C source look like for the assembly code provided here?

```asm
<next_combo_ss>:
  endbr64
  push   %r15
  mov    %r8,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  sub    $0x38,%rsp
  mov    0x70(%rsp),%r8d
  mov    %edi,0xc(%rsp)
  mov    %rsi,0x10(%rsp)
  mov    0x80(%rsp),%r12
  mov    %rcx,0x18(%rsp)
  mov    0x88(%rsp),%r13d
  mov    %r9,0x20(%rsp)
  test   %r8d,%r8d
  jne    L123
L88:
  mov    (%r12),%eax
  xor    %r9d,%r9d
  test   %eax,%eax
  jle    L115
  sub    $0x1,%eax
  mov    %eax,(%r12)
  test   %ebp,%ebp
  jle    L119
  cltq
  mov    0x78(%rsp),%rbx
  movslq %ebp,%rsi
  mov    $0x1,%edx
  lea    (%rax,%rax,4),%rax
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  mov    (%rbx,%rax,1),%eax
  mov    %eax,(%r15)
  cmp    $0x1,%ebp
  je     L119
  mov    %rbx,%rdi
  nopw   0x0(%rax,%rax,1)
L133:
  movslq (%r12),%rax
  movslq %edx,%rcx
  lea    (%rax,%rax,4),%rax
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  add    %rdi,%rax
  mov    (%rax,%rcx,4),%eax
  mov    %eax,(%r15,%rdx,4)
  add    $0x1,%rdx
  cmp    %rdx,%rsi
  jne    L133
L119:
  mov    $0x1,%r9d
L115:
  add    $0x38,%rsp
  mov    %r9d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L123:
  sub    $0x8,%rsp
  movl   $0x0,(%r12)
  mov    %r15,%r8
  movslq %ebp,%rbx
  push   $0x1
  mov    0x30(%rsp),%r9
  mov    0x28(%rsp),%rcx
  mov    0x20(%rsp),%rsi
  mov    0x1c(%rsp),%edi
  call   <next_combo_a@plt>
  pop    %rsi
  pop    %rdi
  mov    %rbx,0x28(%rsp)
  test   %eax,%eax
  jne    L4
  jmp    L88
  nopl   0x0(%rax)
L6:
  sub    $0x8,%rsp
  mov    %ebp,%edx
  mov    %r15,%r8
  push   $0x0
  mov    0x30(%rsp),%r9
  mov    0x28(%rsp),%rcx
  mov    0x20(%rsp),%rsi
  mov    0x1c(%rsp),%edi
  call   <next_combo_a@plt>
  pop    %rdx
  pop    %rcx
  test   %eax,%eax
  je     L88
L4:
  movslq (%r12),%rax
  mov    0x78(%rsp),%r14
  xor    %ebx,%ebx
  test   %eax,%eax
  jle    L72
  nopl   0x0(%rax)
L92:
  mov    %ebp,%edx
  mov    %r14,%rsi
  mov    %r15,%rdi
  call   <superset_degree@plt>
  cmp    %r13d,%eax
  jg     L6
  movslq (%r12),%rax
  add    $0x1,%ebx
  add    $0x190,%r14
  cmp    %ebx,%eax
  jg     L92
  cmp    $0xc8,%eax
  je     L67
L72:
  test   %ebp,%ebp
  jle    L144
  lea    (%rax,%rax,4),%rax
  mov    (%r15),%edx
  mov    0x78(%rsp),%rcx
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  mov    %edx,(%rcx,%rax,1)
  cmp    $0x1,%ebp
  je     L3
  mov    0x28(%rsp),%r8
  mov    $0x1,%edx
  mov    %rcx,%rdi
  nopl   0x0(%rax,%rax,1)
L141:
  movslq (%r12),%rax
  mov    (%r15,%rdx,4),%esi
  movslq %edx,%rcx
  add    $0x1,%rdx
  lea    (%rax,%rax,4),%rax
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  add    %rdi,%rax
  mov    %esi,(%rax,%rcx,4)
  cmp    %r8,%rdx
  jne    L141
L3:
  mov    (%r12),%eax
L144:
  add    $0x1,%eax
  mov    %eax,(%r12)
  jmp    L6
  cs nopw 0x0(%rax,%rax,1)
L67:
  lea    D5(%rip),%rdi
  call   <printf@plt>
  jmp    L88
```

tool_calls: name: read_data
arguments: tag: D5
type_guessed: string

tool: D5: next_combo_ss: MAX_COMBOS.


assistant: ```c
int next_combo_ss(int length, int basis[100][250], int num_basis, int constraints[250], int combo[100], int sum[250], int start_flag, int combos[200][100], int *np, int ss_parm) {
  int i, go, ok;
  if (start_flag) {
    *np = 0;
    go = next_combo_a(length, basis, num_basis, constraints, combo, sum, 1);
    while (go) {
      for (i = 0, ok = 1; i < *np && ok; i++)
        if (superset_degree(combo, combos[i], num_basis) > ss_parm)
          ok = 0;
      if (ok) {
        if (*np == 200) {
          printf("next_combo_ss: MAX_COMBOS.\n");
          go = 0;
        } else {
          for (i = 0; i < num_basis; i++)
            combos[*np][i] = combo[i];
          (*np)++;
        }
      }
      if (go)
        go = next_combo_a(length, basis, num_basis, constraints, combo, sum, 0);
    }
  }
  if (*np > 0) {
    (*np)--;
    for (i = 0; i < num_basis; i++)
      combo[i] = combos[*np][i];
    return 1;
  } else
    return 0;
}
```