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

```asm
<next_combo_ss>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,0xc(%rsp)
  mov    %rsi,0x10(%rsp)
  mov    %edx,%r14d
  mov    %rcx,0x18(%rsp)
  mov    %r8,%r12
  mov    %r9,0x20(%rsp)
  mov    0x80(%rsp),%r13
  mov    0x88(%rsp),%r15d
  cmpl   $0x0,0x70(%rsp)
  jne    L62
L15:
  mov    0x0(%r13),%eax
  mov    $0x0,%edx
  test   %eax,%eax
  jle    L80
  sub    $0x1,%eax
  mov    %eax,0x0(%r13)
  test   %r14d,%r14d
  jle    L97
  mov    %r14d,%r14d
  mov    $0x0,%edx
  mov    0x78(%rsp),%rsi
L151:
  movslq 0x0(%r13),%rax
  lea    (%rax,%rax,4),%rax
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  add    %rsi,%rax
  movslq %edx,%rcx
  mov    (%rax,%rcx,4),%eax
  mov    %eax,(%r12,%rdx,4)
  add    $0x1,%rdx
  cmp    %rdx,%r14
  jne    L151
  mov    $0x1,%edx
L80:
  mov    %edx,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L62:
  movl   $0x0,0x0(%r13)
  sub    $0x8,%rsp
  push   $0x1
  mov    0x30(%rsp),%r9
  mov    0x28(%rsp),%rcx
  mov    0x20(%rsp),%rsi
  mov    0x1c(%rsp),%edi
  call   <next_combo_a@plt>
  add    $0x10,%rsp
  mov    %r14d,%ecx
  mov    %rcx,0x28(%rsp)
  test   %eax,%eax
  jne    L104
  jmp    L15
L99:
  add    $0x1,%ebp
  mov    0x0(%r13),%eax
  add    $0x190,%rbx
  cmp    %ebp,%eax
  jle    L93
L142:
  mov    %r14d,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <superset_degree@plt>
  cmp    %r15d,%eax
  jle    L99
L87:
  sub    $0x8,%rsp
  push   $0x0
  mov    0x30(%rsp),%r9
  mov    %r12,%r8
  mov    0x28(%rsp),%rcx
  mov    %r14d,%edx
  mov    0x20(%rsp),%rsi
  mov    0x1c(%rsp),%edi
  call   <next_combo_a@plt>
  add    $0x10,%rsp
  test   %eax,%eax
  je     L15
L104:
  mov    0x0(%r13),%eax
  mov    0x78(%rsp),%rbx
  mov    $0x0,%ebp
  test   %eax,%eax
  jg     L142
L93:
  cmp    $0xc8,%eax
  je     L148
  mov    $0x0,%edx
  mov    0x28(%rsp),%rdi
  test   %r14d,%r14d
  jle    L129
L30:
  mov    (%r12,%rdx,4),%esi
  movslq 0x0(%r13),%rax
  lea    (%rax,%rax,4),%rax
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  add    0x78(%rsp),%rax
  movslq %edx,%rcx
  mov    %esi,(%rax,%rcx,4)
  add    $0x1,%rdx
  cmp    %rdx,%rdi
  jne    L30
L129:
  addl   $0x1,0x0(%r13)
  jmp    L87
L148:
  lea    D6(%rip),%rdi
  call   <printf@plt>
  jmp    L15
L97:
  mov    $0x1,%edx
  jmp    L80
```

tool_calls: name: read_data
arguments: data_label: D6
datatype: string

tool: D6: 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;
}
```