user: Converte this assembly snippet into its equivalent C code:

```asm
<TTWAIN_DumpCapabilities>:
  endbr64
  test   %rdi,%rdi
  je     L110
  push   %rbx
  mov    %rdi,%rbx
  lea    D315(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
  mov    $0x1,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1086
  lea    D1176(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1086:
  mov    $0x100,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L161
  lea    D1097(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L161:
  mov    $0x101,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L664
  lea    D796(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L664:
  mov    $0x102,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L276
  lea    D125(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L276:
  mov    $0x103,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1192
  lea    D455(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1192:
  mov    $0x1000,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L52
  lea    D110(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L52:
  mov    $0x1001,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L65
  lea    D1045(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L65:
  mov    $0x1002,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L39
  lea    D348(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L39:
  mov    $0x1003,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L8
  lea    D911(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L8:
  mov    $0x1004,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L532
  lea    D126(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L532:
  mov    $0x1005,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L128
  lea    D828(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L128:
  mov    $0x1006,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L988
  lea    D57(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L988:
  mov    $0x1007,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L507
  lea    D684(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L507:
  mov    $0x1008,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L3
  lea    D117(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L3:
  mov    $0x1009,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L737
  lea    D981(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L737:
  mov    $0x100a,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L288
  lea    D452(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L288:
  mov    $0x100b,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1040
  lea    D722(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1040:
  mov    $0x100c,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L638
  lea    D109(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L638:
  mov    $0x100d,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L126
  lea    D388(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L126:
  mov    $0x100e,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1174
  lea    D73(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1174:
  mov    $0x100f,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L889
  lea    D653(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L889:
  mov    $0x1010,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1191
  lea    D909(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1191:
  mov    $0x1011,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L74
  lea    D949(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L74:
  mov    $0x1012,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L629
  lea    D917(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L629:
  mov    $0x1013,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1176
  lea    D865(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1176:
  mov    $0x1014,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1202
  lea    D744(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1202:
  mov    $0x1015,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L623
  lea    D1217(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L623:
  mov    $0x1016,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L605
  lea    D1053(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L605:
  mov    $0x1017,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1007
  lea    D1152(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1007:
  mov    $0x1018,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L978
  lea    D1199(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L978:
  mov    $0x1019,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L655
  lea    D669(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L655:
  mov    $0x101a,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L401
  lea    D772(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L401:
  mov    $0x101b,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L423
  lea    D893(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L423:
  mov    $0x101c,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L875
  lea    D445(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L875:
  mov    $0x101d,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L326
  lea    D380(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L326:
  mov    $0x101e,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L968
  lea    D794(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L968:
  mov    $0x101f,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1155
  lea    D127(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1155:
  mov    $0x1020,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1112
  lea    D307(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1112:
  mov    $0x1021,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L117
  lea    D280(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L117:
  mov    $0x1022,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L818
  lea    D1020(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L818:
  mov    $0x1024,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L579
  lea    D164(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L579:
  mov    $0x1026,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L84
  lea    D858(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L84:
  mov    $0x1027,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L801
  lea    D666(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L801:
  mov    $0x1028,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L667
  lea    D305(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L667:
  mov    $0x1029,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L617
  lea    D8(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L617:
  mov    $0x102a,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L160
  lea    D681(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L160:
  mov    $0x102b,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1171
  lea    D889(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1171:
  mov    $0x102c,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L574
  lea    D32(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L574:
  mov    $0x102d,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L563
  lea    D1207(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L563:
  mov    $0x102e,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L404
  lea    D493(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L404:
  mov    $0x1030,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L972
  lea    D269(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L972:
  mov    $0x1032,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L343
  lea    D68(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L343:
  mov    $0x1033,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L403
  lea    D1071(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L403:
  mov    $0x1100,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L847
  lea    D332(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L847:
  mov    $0x1101,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L723
  lea    D1175(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L723:
  mov    $0x1103,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L800
  lea    D1003(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L800:
  mov    $0x1104,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L302
  lea    D1213(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L302:
  mov    $0x1105,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L62
  lea    D86(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L62:
  mov    $0x1106,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L912
  lea    D35(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L912:
  mov    $0x1107,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1051
  lea    D536(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1051:
  mov    $0x1108,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1187
  lea    D1009(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1187:
  mov    $0x1109,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L173
  lea    D102(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L173:
  mov    $0x110a,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L939
  lea    D71(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L939:
  mov    $0x110c,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1217
  lea    D422(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1217:
  mov    $0x110d,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1205
  lea    D290(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1205:
  mov    $0x110e,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1100
  lea    D346(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1100:
  mov    $0x1110,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1063
  lea    D870(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1063:
  mov    $0x1111,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L810
  lea    D924(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L810:
  mov    $0x1112,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L374
  lea    D392(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L374:
  mov    $0x1113,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L365
  lea    D394(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L365:
  mov    $0x1114,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L682
  lea    D978(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L682:
  mov    $0x1116,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L566
  lea    D1014(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L566:
  mov    $0x1117,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L901
  lea    D1109(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L901:
  mov    $0x1118,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L396
  lea    D1094(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L396:
  mov    $0x1119,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L695
  lea    D1121(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L695:
  mov    $0x111a,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L824
  lea    D639(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L824:
  mov    $0x111b,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L588
  lea    D1208(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L588:
  mov    $0x111c,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L636
  lea    D496(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L636:
  mov    $0x111d,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L224
  lea    D767(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L224:
  mov    $0x111e,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L857
  lea    D191(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L857:
  mov    $0x111f,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L918
  lea    D746(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L918:
  mov    $0x1120,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L707
  lea    D708(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L707:
  mov    $0x1121,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1036
  lea    D312(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1036:
  mov    $0x1122,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L267
  lea    D363(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L267:
  mov    $0x1123,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L395
  lea    D429(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L395:
  mov    $0x1124,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L43
  lea    D136(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L43:
  mov    $0x1125,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1059
  lea    D1067(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1059:
  mov    $0x1126,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1166
  lea    D678(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1166:
  mov    $0x1127,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1062
  lea    D646(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1062:
  mov    $0x1128,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L158
  lea    D195(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L158:
  mov    $0x112a,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L292
  lea    D1156(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L292:
  mov    $0x112b,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L249
  lea    D323(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L249:
  mov    $0x112c,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L435
  lea    D1155(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L435:
  mov    $0x112d,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L136
  lea    D1224(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L136:
  mov    $0x112e,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L765
  lea    D135(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L765:
  mov    $0x112f,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L245
  lea    D465(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L245:
  mov    $0x1130,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L56
  lea    D143(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L56:
  mov    $0x1131,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L111
  lea    D795(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L111:
  mov    $0x1136,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L504
  lea    D742(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L504:
  mov    $0x1137,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L45
  lea    D557(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L45:
  mov    $0x1138,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L945
  lea    D1100(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L945:
  mov    $0x1139,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L46
  lea    D230(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L46:
  mov    $0x113a,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L554
  lea    D872(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L554:
  mov    $0x113b,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L530
  lea    D344(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L530:
  mov    $0x113c,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L359
  lea    D596(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L359:
  mov    $0x113d,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L564
  lea    D1123(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L564:
  mov    $0x113e,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L426
  lea    D49(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L426:
  mov    $0x113f,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L1125
  lea    D246(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L1125:
  mov    $0x1140,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L768
  lea    D848(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L768:
  mov    $0x1141,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L471
  lea    D205(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L471:
  mov    $0x1142,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L547
  lea    D121(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L547:
  mov    $0x1143,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L977
  lea    D776(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L977:
  mov    $0x1144,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L966
  lea    D322(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L966:
  mov    $0x1145,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L192
  lea    D217(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L192:
  mov    $0x1146,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L414
  lea    D572(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L414:
  mov    $0x1147,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L232
  lea    D1125(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L232:
  mov    $0x1148,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L201
  lea    D302(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L201:
  mov    $0x1149,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L551
  lea    D1112(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L551:
  mov    $0x1150,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L854
  lea    D433(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L854:
  mov    $0x1151,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L524
  lea    D781(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L524:
  mov    $0x1152,%edi
  call   <TTWAIN_IsCapSupportedTW_INT16@plt>
  test   %rax,%rax
  je     L367
  lea    D782(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
L367:
  lea    D1039(%rip),%rdi
  mov    $0x0,%eax
  call   *%rbx
  pop    %rbx
  ret
L110:
  ret
```

tool_calls: name: disassemble_data
arguments: label: D315
data_type: string
name: disassemble_data
arguments: label: D1176
data_type: string
name: disassemble_data
arguments: label: D1097
data_type: string
name: disassemble_data
arguments: label: D796
data_type: string
name: disassemble_data
arguments: label: D125
data_type: string
name: disassemble_data
arguments: label: D455
data_type: string
name: disassemble_data
arguments: label: D110
data_type: string
name: disassemble_data
arguments: label: D1045
data_type: string
name: disassemble_data
arguments: label: D348
data_type: string
name: disassemble_data
arguments: label: D911
data_type: string
name: disassemble_data
arguments: label: D126
data_type: string
name: disassemble_data
arguments: label: D828
data_type: string
name: disassemble_data
arguments: label: D57
data_type: string
name: disassemble_data
arguments: label: D684
data_type: string
name: disassemble_data
arguments: label: D117
data_type: string
name: disassemble_data
arguments: label: D981
data_type: string
name: disassemble_data
arguments: label: D452
data_type: string
name: disassemble_data
arguments: label: D722
data_type: string
name: disassemble_data
arguments: label: D109
data_type: string
name: disassemble_data
arguments: label: D388
data_type: string
name: disassemble_data
arguments: label: D73
data_type: string
name: disassemble_data
arguments: label: D653
data_type: string
name: disassemble_data
arguments: label: D909
data_type: string
name: disassemble_data
arguments: label: D949
data_type: string
name: disassemble_data
arguments: label: D917
data_type: string
name: disassemble_data
arguments: label: D865
data_type: string
name: disassemble_data
arguments: label: D744
data_type: string
name: disassemble_data
arguments: label: D1217
data_type: string
name: disassemble_data
arguments: label: D1053
data_type: string
name: disassemble_data
arguments: label: D1152
data_type: string
name: disassemble_data
arguments: label: D1199
data_type: string
name: disassemble_data
arguments: label: D669
data_type: string
name: disassemble_data
arguments: label: D772
data_type: string
name: disassemble_data
arguments: label: D893
data_type: string
name: disassemble_data
arguments: label: D445
data_type: string
name: disassemble_data
arguments: label: D380
data_type: string
name: disassemble_data
arguments: label: D794
data_type: string
name: disassemble_data
arguments: label: D127
data_type: string
name: disassemble_data
arguments: label: D307
data_type: string
name: disassemble_data
arguments: label: D280
data_type: string
name: disassemble_data
arguments: label: D1020
data_type: string
name: disassemble_data
arguments: label: D164
data_type: string
name: disassemble_data
arguments: label: D858
data_type: string
name: disassemble_data
arguments: label: D666
data_type: string
name: disassemble_data
arguments: label: D305
data_type: string
name: disassemble_data
arguments: label: D8
data_type: string
name: disassemble_data
arguments: label: D681
data_type: string
name: disassemble_data
arguments: label: D889
data_type: string
name: disassemble_data
arguments: label: D32
data_type: string
name: disassemble_data
arguments: label: D1207
data_type: string
name: disassemble_data
arguments: label: D493
data_type: string
name: disassemble_data
arguments: label: D269
data_type: string
name: disassemble_data
arguments: label: D68
data_type: string
name: disassemble_data
arguments: label: D1071
data_type: string
name: disassemble_data
arguments: label: D332
data_type: string
name: disassemble_data
arguments: label: D1175
data_type: string
name: disassemble_data
arguments: label: D1003
data_type: string
name: disassemble_data
arguments: label: D1213
data_type: string
name: disassemble_data
arguments: label: D86
data_type: string
name: disassemble_data
arguments: label: D35
data_type: string
name: disassemble_data
arguments: label: D536
data_type: string
name: disassemble_data
arguments: label: D1009
data_type: string
name: disassemble_data
arguments: label: D102
data_type: string
name: disassemble_data
arguments: label: D71
data_type: string
name: disassemble_data
arguments: label: D422
data_type: string
name: disassemble_data
arguments: label: D290
data_type: string
name: disassemble_data
arguments: label: D346
data_type: string
name: disassemble_data
arguments: label: D870
data_type: string
name: disassemble_data
arguments: label: D924
data_type: string
name: disassemble_data
arguments: label: D392
data_type: string
name: disassemble_data
arguments: label: D394
data_type: string
name: disassemble_data
arguments: label: D978
data_type: string
name: disassemble_data
arguments: label: D1014
data_type: string
name: disassemble_data
arguments: label: D1109
data_type: string
name: disassemble_data
arguments: label: D1094
data_type: string
name: disassemble_data
arguments: label: D1121
data_type: string
name: disassemble_data
arguments: label: D639
data_type: string
name: disassemble_data
arguments: label: D1208
data_type: string
name: disassemble_data
arguments: label: D496
data_type: string
name: disassemble_data
arguments: label: D767
data_type: string
name: disassemble_data
arguments: label: D191
data_type: string
name: disassemble_data
arguments: label: D746
data_type: string
name: disassemble_data
arguments: label: D708
data_type: string
name: disassemble_data
arguments: label: D312
data_type: string
name: disassemble_data
arguments: label: D363
data_type: string
name: disassemble_data
arguments: label: D429
data_type: string
name: disassemble_data
arguments: label: D136
data_type: string
name: disassemble_data
arguments: label: D1067
data_type: string
name: disassemble_data
arguments: label: D678
data_type: string
name: disassemble_data
arguments: label: D646
data_type: string
name: disassemble_data
arguments: label: D195
data_type: string
name: disassemble_data
arguments: label: D1156
data_type: string
name: disassemble_data
arguments: label: D323
data_type: string
name: disassemble_data
arguments: label: D1155
data_type: string
name: disassemble_data
arguments: label: D1224
data_type: string
name: disassemble_data
arguments: label: D135
data_type: string
name: disassemble_data
arguments: label: D465
data_type: string
name: disassemble_data
arguments: label: D143
data_type: string
name: disassemble_data
arguments: label: D795
data_type: string
name: disassemble_data
arguments: label: D742
data_type: string
name: disassemble_data
arguments: label: D557
data_type: string
name: disassemble_data
arguments: label: D1100
data_type: string
name: disassemble_data
arguments: label: D230
data_type: string
name: disassemble_data
arguments: label: D872
data_type: string
name: disassemble_data
arguments: label: D344
data_type: string
name: disassemble_data
arguments: label: D596
data_type: string
name: disassemble_data
arguments: label: D1123
data_type: string
name: disassemble_data
arguments: label: D49
data_type: string
name: disassemble_data
arguments: label: D246
data_type: string
name: disassemble_data
arguments: label: D848
data_type: string
name: disassemble_data
arguments: label: D205
data_type: string
name: disassemble_data
arguments: label: D121
data_type: string
name: disassemble_data
arguments: label: D776
data_type: string
name: disassemble_data
arguments: label: D322
data_type: string
name: disassemble_data
arguments: label: D217
data_type: string
name: disassemble_data
arguments: label: D572
data_type: string
name: disassemble_data
arguments: label: D1125
data_type: string
name: disassemble_data
arguments: label: D302
data_type: string
name: disassemble_data
arguments: label: D1112
data_type: string
name: disassemble_data
arguments: label: D433
data_type: string
name: disassemble_data
arguments: label: D781
data_type: string
name: disassemble_data
arguments: label: D782
data_type: string
name: disassemble_data
arguments: label: D1039
data_type: string

tool: D315: list of supported (exported) capabilities


tool: D1176: CAP_XFERCOUNT

tool: D1097: ICAP_COMPRESSION


tool: D796: ICAP_PIXELTYPE


tool: D125: ICAP_UNITS


tool: D455: ICAP_XFERMECH


tool: D110: CAP_AUTHOR


tool: D1045: CAP_CAPTION


tool: D348: CAP_FEEDERENABLED


tool: D911: CAP_FEEDERLOADED


tool: D126: CAP_TIMEDATE


tool: D828: CAP_SUPPORTEDCAPS


tool: D57: CAP_EXTENDEDCAPS


tool: D684: CAP_AUTOFEED


tool: D117: CAP_CLEARPAGE


tool: D981: CAP_FEEDPAGE


tool: D452: CAP_REWINDPAGE


tool: D722: CAP_INDICATORS


tool: D109: CAP_SUPPORTEDCAPSEXT


tool: D388: CAP_PAPERDETECTABLE


tool: D73: CAP_UICONTROLLABLE


tool: D653: CAP_DEVICEONLINE


tool: D909: CAP_AUTOSCAN


tool: D949: CAP_THUMBNAILSENABLED


tool: D917: CAP_DUPLEX


tool: D865: CAP_DUPLEXENABLED


tool: D744: CAP_ENABLEDSUIONLY


tool: D1217: CAP_CUSTOMDSDATA


tool: D1053: CAP_ENDORSER


tool: D1152: CAP_JOBCONTROL


tool: D1199: CAP_ALARMS


tool: D669: CAP_ALARMVOLUME


tool: D772: CAP_AUTOMATICCAPTURE


tool: D893: CAP_TIMEBEFOREFIRSTCAPTURE


tool: D445: CAP_TIMEBETWEENCAPTURES


tool: D380: CAP_CLEARBUFFERS


tool: D794: CAP_MAXBATCHBUFFERS


tool: D127: CAP_DEVICETIMEDATE


tool: D307: CAP_POWERSUPPLY


tool: D280: CAP_CAMERAPREVIEWUI


tool: D1020: CAP_DEVICEEVENT


tool: D164: CAP_SERIALNUMBER


tool: D858: CAP_PRINTER


tool: D666: CAP_PRINTERENABLED


tool: D305: CAP_PRINTERINDEX


tool: D8: CAP_PRINTERMODE


tool: D681: CAP_PRINTERSTRING


tool: D889: CAP_PRINTERSUFFIX


tool: D32: CAP_LANGUAGE


tool: D1207: CAP_FEEDERALIGNMENT


tool: D493: CAP_FEEDERORDER


tool: D269: CAP_REACQUIREALLOWED


tool: D68: CAP_BATTERYMINUTES


tool: D1071: CAP_BATTERYPERCENTAGE


tool: D332: ICAP_AUTOBRIGHT


tool: D1175: ICAP_BRIGHTNESS


tool: D1003: ICAP_CONTRAST


tool: D1213: ICAP_CUSTHALFTONE


tool: D86: ICAP_EXPOSURETIME


tool: D35: ICAP_FILTER


tool: D536: ICAP_FLASHUSED


tool: D1009: ICAP_GAMMA


tool: D102: ICAP_HALFTONES


tool: D71: ICAP_HIGHLIGHT


tool: D422: ICAP_IMAGEFILEFORMAT


tool: D290: ICAP_LAMPSTATE


tool: D346: ICAP_LIGHTSOURCE


tool: D870: ICAP_ORIENTATION


tool: D924: ICAP_PHYSICALWIDTH


tool: D392: ICAP_PHYSICALHEIGHT


tool: D394: ICAP_SHADOW


tool: D978: ICAP_FRAMES


tool: D1014: ICAP_XNATIVERESOLUTION


tool: D1109: ICAP_YNATIVERESOLUTION


tool: D1094: ICAP_XRESOLUTION


tool: D1121: ICAP_YRESOLUTION


tool: D639: ICAP_MAXFRAMES


tool: D1208: ICAP_TILES


tool: D496: ICAP_BITORDER


tool: D767: ICAP_CCITTKFACTOR


tool: D191: ICAP_LIGHTPATH


tool: D746: ICAP_PIXELFLAVOR


tool: D708: ICAP_PLANARCHUNKY


tool: D312: ICAP_ROTATION


tool: D363: ICAP_SUPPORTEDSIZES


tool: D429: ICAP_THRESHOLD


tool: D136: ICAP_XSCALING


tool: D1067: ICAP_YSCALING


tool: D678: ICAP_BITORDERCODES


tool: D646: ICAP_PIXELFLAVORCODES


tool: D195: ICAP_JPEGPIXELTYPE


tool: D1156: ICAP_TIMEFILL


tool: D323: ICAP_BITDEPTH


tool: D1155: ICAP_BITDEPTHREDUCTION


tool: D1224: ICAP_UNDEFINEDIMAGESIZE


tool: D135: ICAP_IMAGEDATASET


tool: D465: ICAP_EXTIMAGEINFO


tool: D143: ICAP_MINIMUMHEIGHT


tool: D795: ICAP_MINIMUMWIDTH


tool: D742: ICAP_FLIPROTATION


tool: D557: ICAP_BARCODEDETECTIONENABLED


tool: D1100: ICAP_SUPPORTEDBARCODETYPES


tool: D230: ICAP_BARCODEMAXSEARCHPRIORITIES


tool: D872: ICAP_BARCODESEARCHPRIORITIES


tool: D344: ICAP_BARCODESEARCHMODE


tool: D596: ICAP_BARCODEMAXRETRIES


tool: D1123: ICAP_BARCODETIMEOUT


tool: D49: ICAP_ZOOMFACTOR


tool: D246: ICAP_PATCHCODEDETECTIONENABLED


tool: D848: ICAP_SUPPORTEDPATCHCODETYPES


tool: D205: ICAP_PATCHCODEMAXSEARCHPRIORITIES


tool: D121: ICAP_PATCHCODESEARCHPRIORITIES


tool: D776: ICAP_PATCHCODESEARCHMODE


tool: D322: ICAP_PATCHCODEMAXRETRIES


tool: D217: ICAP_PATCHCODETIMEOUT


tool: D572: ICAP_FLASHUSED2


tool: D1125: ICAP_IMAGEFILTER


tool: D302: ICAP_NOISEFILTER


tool: D1112: ICAP_OVERSCAN


tool: D433: ICAP_AUTOMATICBORDERDETECTION


tool: D781: ICAP_AUTOMATICDESKEW


tool: D782: ICAP_AUTOMATICROTATE


tool: D1039: end-of-list


assistant: ```c
void TTWAIN_DumpCapabilities(void (*trace_fun)(const char *fmt, ...)) {
  if (!trace_fun)
    return;
  trace_fun("list of supported (exported) capabilities\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x0001))
    trace_fun("CAP_XFERCOUNT");
  if (TTWAIN_IsCapSupportedTW_INT16(0x0100))
    trace_fun("ICAP_COMPRESSION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x0101))
    trace_fun("ICAP_PIXELTYPE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x0102))
    trace_fun("ICAP_UNITS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x0103))
    trace_fun("ICAP_XFERMECH\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1000))
    trace_fun("CAP_AUTHOR\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1001))
    trace_fun("CAP_CAPTION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1002))
    trace_fun("CAP_FEEDERENABLED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1003))
    trace_fun("CAP_FEEDERLOADED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1004))
    trace_fun("CAP_TIMEDATE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1005))
    trace_fun("CAP_SUPPORTEDCAPS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1006))
    trace_fun("CAP_EXTENDEDCAPS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1007))
    trace_fun("CAP_AUTOFEED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1008))
    trace_fun("CAP_CLEARPAGE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1009))
    trace_fun("CAP_FEEDPAGE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x100a))
    trace_fun("CAP_REWINDPAGE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x100b))
    trace_fun("CAP_INDICATORS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x100c))
    trace_fun("CAP_SUPPORTEDCAPSEXT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x100d))
    trace_fun("CAP_PAPERDETECTABLE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x100e))
    trace_fun("CAP_UICONTROLLABLE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x100f))
    trace_fun("CAP_DEVICEONLINE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1010))
    trace_fun("CAP_AUTOSCAN\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1011))
    trace_fun("CAP_THUMBNAILSENABLED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1012))
    trace_fun("CAP_DUPLEX\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1013))
    trace_fun("CAP_DUPLEXENABLED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1014))
    trace_fun("CAP_ENABLEDSUIONLY\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1015))
    trace_fun("CAP_CUSTOMDSDATA\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1016))
    trace_fun("CAP_ENDORSER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1017))
    trace_fun("CAP_JOBCONTROL\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1018))
    trace_fun("CAP_ALARMS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1019))
    trace_fun("CAP_ALARMVOLUME\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x101a))
    trace_fun("CAP_AUTOMATICCAPTURE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x101b))
    trace_fun("CAP_TIMEBEFOREFIRSTCAPTURE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x101c))
    trace_fun("CAP_TIMEBETWEENCAPTURES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x101d))
    trace_fun("CAP_CLEARBUFFERS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x101e))
    trace_fun("CAP_MAXBATCHBUFFERS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x101f))
    trace_fun("CAP_DEVICETIMEDATE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1020))
    trace_fun("CAP_POWERSUPPLY\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1021))
    trace_fun("CAP_CAMERAPREVIEWUI\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1022))
    trace_fun("CAP_DEVICEEVENT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1024))
    trace_fun("CAP_SERIALNUMBER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1026))
    trace_fun("CAP_PRINTER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1027))
    trace_fun("CAP_PRINTERENABLED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1028))
    trace_fun("CAP_PRINTERINDEX\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1029))
    trace_fun("CAP_PRINTERMODE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x102a))
    trace_fun("CAP_PRINTERSTRING\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x102b))
    trace_fun("CAP_PRINTERSUFFIX\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x102c))
    trace_fun("CAP_LANGUAGE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x102d))
    trace_fun("CAP_FEEDERALIGNMENT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x102e))
    trace_fun("CAP_FEEDERORDER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1030))
    trace_fun("CAP_REACQUIREALLOWED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1032))
    trace_fun("CAP_BATTERYMINUTES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1033))
    trace_fun("CAP_BATTERYPERCENTAGE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1100))
    trace_fun("ICAP_AUTOBRIGHT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1101))
    trace_fun("ICAP_BRIGHTNESS\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1103))
    trace_fun("ICAP_CONTRAST\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1104))
    trace_fun("ICAP_CUSTHALFTONE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1105))
    trace_fun("ICAP_EXPOSURETIME\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1106))
    trace_fun("ICAP_FILTER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1107))
    trace_fun("ICAP_FLASHUSED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1108))
    trace_fun("ICAP_GAMMA\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1109))
    trace_fun("ICAP_HALFTONES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x110a))
    trace_fun("ICAP_HIGHLIGHT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x110c))
    trace_fun("ICAP_IMAGEFILEFORMAT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x110d))
    trace_fun("ICAP_LAMPSTATE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x110e))
    trace_fun("ICAP_LIGHTSOURCE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1110))
    trace_fun("ICAP_ORIENTATION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1111))
    trace_fun("ICAP_PHYSICALWIDTH\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1112))
    trace_fun("ICAP_PHYSICALHEIGHT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1113))
    trace_fun("ICAP_SHADOW\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1114))
    trace_fun("ICAP_FRAMES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1116))
    trace_fun("ICAP_XNATIVERESOLUTION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1117))
    trace_fun("ICAP_YNATIVERESOLUTION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1118))
    trace_fun("ICAP_XRESOLUTION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1119))
    trace_fun("ICAP_YRESOLUTION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x111a))
    trace_fun("ICAP_MAXFRAMES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x111b))
    trace_fun("ICAP_TILES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x111c))
    trace_fun("ICAP_BITORDER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x111d))
    trace_fun("ICAP_CCITTKFACTOR\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x111e))
    trace_fun("ICAP_LIGHTPATH\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x111f))
    trace_fun("ICAP_PIXELFLAVOR\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1120))
    trace_fun("ICAP_PLANARCHUNKY\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1121))
    trace_fun("ICAP_ROTATION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1122))
    trace_fun("ICAP_SUPPORTEDSIZES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1123))
    trace_fun("ICAP_THRESHOLD\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1124))
    trace_fun("ICAP_XSCALING\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1125))
    trace_fun("ICAP_YSCALING\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1126))
    trace_fun("ICAP_BITORDERCODES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1127))
    trace_fun("ICAP_PIXELFLAVORCODES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1128))
    trace_fun("ICAP_JPEGPIXELTYPE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x112a))
    trace_fun("ICAP_TIMEFILL\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x112b))
    trace_fun("ICAP_BITDEPTH\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x112c))
    trace_fun("ICAP_BITDEPTHREDUCTION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x112d))
    trace_fun("ICAP_UNDEFINEDIMAGESIZE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x112e))
    trace_fun("ICAP_IMAGEDATASET\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x112f))
    trace_fun("ICAP_EXTIMAGEINFO\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1130))
    trace_fun("ICAP_MINIMUMHEIGHT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1131))
    trace_fun("ICAP_MINIMUMWIDTH\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1136))
    trace_fun("ICAP_FLIPROTATION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1137))
    trace_fun("ICAP_BARCODEDETECTIONENABLED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1138))
    trace_fun("ICAP_SUPPORTEDBARCODETYPES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1139))
    trace_fun("ICAP_BARCODEMAXSEARCHPRIORITIES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x113a))
    trace_fun("ICAP_BARCODESEARCHPRIORITIES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x113b))
    trace_fun("ICAP_BARCODESEARCHMODE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x113c))
    trace_fun("ICAP_BARCODEMAXRETRIES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x113d))
    trace_fun("ICAP_BARCODETIMEOUT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x113e))
    trace_fun("ICAP_ZOOMFACTOR\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x113f))
    trace_fun("ICAP_PATCHCODEDETECTIONENABLED\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1140))
    trace_fun("ICAP_SUPPORTEDPATCHCODETYPES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1141))
    trace_fun("ICAP_PATCHCODEMAXSEARCHPRIORITIES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1142))
    trace_fun("ICAP_PATCHCODESEARCHPRIORITIES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1143))
    trace_fun("ICAP_PATCHCODESEARCHMODE\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1144))
    trace_fun("ICAP_PATCHCODEMAXRETRIES\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1145))
    trace_fun("ICAP_PATCHCODETIMEOUT\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1146))
    trace_fun("ICAP_FLASHUSED2\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1147))
    trace_fun("ICAP_IMAGEFILTER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1148))
    trace_fun("ICAP_NOISEFILTER\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1149))
    trace_fun("ICAP_OVERSCAN\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1150))
    trace_fun("ICAP_AUTOMATICBORDERDETECTION\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1151))
    trace_fun("ICAP_AUTOMATICDESKEW\n");
  if (TTWAIN_IsCapSupportedTW_INT16(0x1152))
    trace_fun("ICAP_AUTOMATICROTATE\n");
  trace_fun("end-of-list\n");
}
```