user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r13
  mov    $0x379,%r9d
  mov    $0x8,%r8d
  mov    $0x5,%esi
  push   %r12
  push   %rbp
  sub    $0x190,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x188(%rsp)
  lea    D24(%rip),%rax
  lea    0x130(%rsp),%r13
  lea    0xe0(%rsp),%r12
  lea    0xb0(%rsp),%rbp
  mov    %r13,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rdi
  movq   %rax,%xmm1
  lea    D262(%rip),%rax
  movq   %rax,%xmm2
  lea    D43(%rip),%rax
  movdqa %xmm1,%xmm11
  movq   %rax,%xmm5
  lea    D61(%rip),%rax
  punpcklqdq %xmm2,%xmm11
  movq   %rax,%xmm3
  lea    D205(%rip),%rax
  movdqa %xmm5,%xmm7
  movaps %xmm11,0xa0(%rsp)
  movq   %rax,%xmm4
  lea    D180(%rip),%rax
  punpcklqdq %xmm3,%xmm7
  movq   %rax,%xmm2
  lea    D95(%rip),%rax
  movdqa %xmm4,%xmm6
  movaps %xmm7,(%rsp)
  movq   %rax,%xmm3
  lea    D267(%rip),%rax
  punpcklqdq %xmm2,%xmm6
  movdqa %xmm3,%xmm0
  movq   %rax,%xmm2
  lea    D134(%rip),%rax
  movaps %xmm6,0x10(%rsp)
  punpcklqdq %xmm2,%xmm0
  movq   %rax,%xmm2
  lea    D237(%rip),%rax
  movq   %rax,%xmm8
  movaps %xmm0,0x20(%rsp)
  movdqa %xmm2,%xmm10
  lea    D119(%rip),%rax
  movq   %rax,%xmm0
  movq   %rax,%xmm13
  punpcklqdq %xmm8,%xmm10
  lea    D264(%rip),%rax
  punpcklqdq %xmm1,%xmm13
  movaps %xmm10,0x30(%rsp)
  movq   %rax,%xmm1
  movq   %rax,%xmm12
  lea    D224(%rip),%rax
  movaps %xmm13,0x90(%rsp)
  movq   %rax,%xmm6
  lea    D3(%rip),%rax
  punpcklqdq %xmm5,%xmm12
  movq   %rax,%xmm5
  lea    D0(%rip),%rax
  punpcklqdq %xmm4,%xmm6
  movaps %xmm12,0x80(%rsp)
  movq   %rax,%xmm4
  lea    D222(%rip),%rax
  punpcklqdq %xmm3,%xmm5
  movaps %xmm6,0x70(%rsp)
  movq   %rax,%xmm14
  lea    D96(%rip),%rax
  punpcklqdq %xmm2,%xmm4
  movaps %xmm5,0x60(%rsp)
  movq   %rax,%xmm3
  lea    D46(%rip),%rax
  punpcklqdq %xmm1,%xmm0
  movaps %xmm4,0x50(%rsp)
  movq   %rax,%xmm2
  lea    D193(%rip),%rax
  movaps %xmm0,0x40(%rsp)
  movq   %rax,%xmm1
  lea    D99(%rip),%rax
  movq   %rax,%xmm9
  lea    D73(%rip),%rax
  movq   %rax,%xmm8
  lea    D2(%rip),%rax
  movdqa %xmm9,%xmm4
  movq   %rax,%xmm15
  punpcklqdq %xmm8,%xmm4
  punpcklqdq %xmm3,%xmm8
  lea    D26(%rip),%rax
  movdqa %xmm15,%xmm5
  punpcklqdq %xmm2,%xmm15
  movaps %xmm4,0xb0(%rsp)
  movq   %rax,%xmm7
  lea    D254(%rip),%rax
  movaps %xmm15,0x100(%rsp)
  punpcklqdq %xmm14,%xmm9
  mov    %rax,0xd0(%rsp)
  lea    D230(%rip),%rax
  punpcklqdq %xmm7,%xmm5
  movdqa %xmm7,%xmm15
  movq   %rax,%xmm4
  lea    D261(%rip),%rax
  movaps %xmm5,0xc0(%rsp)
  punpcklqdq %xmm1,%xmm15
  movq   %rax,%xmm5
  lea    D259(%rip),%rax
  punpcklqdq %xmm4,%xmm14
  movaps %xmm9,0xe0(%rsp)
  movaps %xmm8,0xf0(%rsp)
  punpcklqdq %xmm5,%xmm3
  movaps %xmm3,0x140(%rsp)
  movq   %rax,%xmm3
  lea    D152(%rip),%rax
  movaps %xmm15,0x110(%rsp)
  punpcklqdq %xmm3,%xmm2
  movq   %rax,%xmm3
  punpcklqdq %xmm3,%xmm1
  movaps %xmm2,0x150(%rsp)
  movaps %xmm14,0x130(%rsp)
  movaps %xmm1,0x160(%rsp)
  call   <dotest@plt>
  movdqa 0x40(%rsp),%xmm0
  movdqa (%rsp),%xmm7
  mov    $0xa8,%r9d
  movdqa 0x70(%rsp),%xmm6
  movdqa 0x60(%rsp),%xmm5
  mov    %r13,%rcx
  mov    $0xa,%r8d
  movdqa 0x90(%rsp),%xmm13
  mov    %r12,%rdx
  mov    %rbp,%rdi
  movdqa 0x80(%rsp),%xmm12
  movdqa 0x50(%rsp),%xmm4
  movdqa 0x30(%rsp),%xmm10
  movaps %xmm0,0xb0(%rsp)
  mov    $0x2,%esi
  movdqa 0xa0(%rsp),%xmm11
  movdqa 0x20(%rsp),%xmm0
  movaps %xmm6,0x100(%rsp)
  movdqa 0x10(%rsp),%xmm6
  movaps %xmm5,0x110(%rsp)
  movaps %xmm13,0xe0(%rsp)
  movaps %xmm12,0xf0(%rsp)
  movaps %xmm4,0x120(%rsp)
  movaps %xmm11,0x130(%rsp)
  movaps %xmm7,0x140(%rsp)
  movaps %xmm6,0x150(%rsp)
  movaps %xmm0,0x160(%rsp)
  movaps %xmm10,0x170(%rsp)
  call   <dotest@plt>
  mov    0x188(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0x190,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D24
type: string
name: disassemble_data
arguments: data_label: D262
type: string
name: disassemble_data
arguments: data_label: D43
type: string
name: disassemble_data
arguments: data_label: D61
type: string
name: disassemble_data
arguments: data_label: D205
type: string
name: disassemble_data
arguments: data_label: D180
type: string
name: disassemble_data
arguments: data_label: D95
type: string
name: disassemble_data
arguments: data_label: D267
type: string
name: disassemble_data
arguments: data_label: D134
type: string
name: disassemble_data
arguments: data_label: D237
type: string
name: disassemble_data
arguments: data_label: D119
type: string
name: disassemble_data
arguments: data_label: D264
type: string
name: disassemble_data
arguments: data_label: D224
type: string
name: disassemble_data
arguments: data_label: D3
type: string
name: disassemble_data
arguments: data_label: D0
type: string
name: disassemble_data
arguments: data_label: D222
type: string
name: disassemble_data
arguments: data_label: D96
type: string
name: disassemble_data
arguments: data_label: D46
type: string
name: disassemble_data
arguments: data_label: D193
type: string
name: disassemble_data
arguments: data_label: D99
type: string
name: disassemble_data
arguments: data_label: D73
type: string
name: disassemble_data
arguments: data_label: D2
type: string
name: disassemble_data
arguments: data_label: D26
type: string
name: disassemble_data
arguments: data_label: D254
type: string
name: disassemble_data
arguments: data_label: D230
type: string
name: disassemble_data
arguments: data_label: D261
type: string
name: disassemble_data
arguments: data_label: D259
type: string
name: disassemble_data
arguments: data_label: D152
type: string

tool: D24: Y1

tool: D262: 50.0

tool: D43: Y2

tool: D61: 70.0

tool: D205: Y3

tool: D180: 90.0

tool: D95: Y4

tool: D267: 110.0

tool: D134: Y5

tool: D237: 150.0

tool: D119: B1

tool: D264: B2

tool: D224: B3

tool: D3: B4

tool: D0: B5

tool: D222: X1

tool: D96: X2

tool: D46: X3

tool: D193: X4

tool: D99: A1

tool: D73: A2

tool: D2: A3

tool: D26: A4

tool: D254: A5

tool: D230: 100.0

tool: D261: 200.0

tool: D259: 250.0

tool: D152: 300.0

assistant: ```c
int main() {
  {
    char *friends1[5] = {"A1", "A2", "A3", "A4", "A5"};
    char *fTowns1[8] = {"A1", "X1", "A2", "X2", "A3", "X3", "A4", "X4"};
    char *distTable1[8] = {"X1", "100.0", "X2", "200.0", "X3", "250.0", "X4", "300.0"};
    dotest(friends1, 5, fTowns1, distTable1, 8, 889);
  }
  {
    char *friends1[2] = {"B1", "B2"};
    char *fTowns1[10] = {"B1", "Y1", "B2", "Y2", "B3", "Y3", "B4", "Y4", "B5", "Y5"};
    char *distTable1[10] = {"Y1", "50.0", "Y2", "70.0", "Y3", "90.0", "Y4", "110.0", "Y5", "150.0"};
    dotest(friends1, 2, fTowns1, distTable1, 10, 168);
  }
}
```