// Include All Libraries

#include<bits/stdc++.h>

using namespace std;

__global__ void add(int n, int *x, int *y,int *val,int *database,int N)
{
  unsigned long long int id = (blockIdx.x*blockDim.y+threadIdx.y)*blockDim.x + threadIdx.x;
  if(id<n){
    atomicAdd(&database[N*x[id]+y[id]-1],val[id]);
  }
}

struct ins_tab{
  int row;
  int col;
  int val;
};

int main(int argc, char** argv){

  fstream file;
  int *m,*n,*p;
  int *database;
  int *row,*col,*val;
  // opening file
  file.open(argv[1]);
  // Allocate Unified Memory -- accessible from CPU or GPU
  cudaMallocManaged(&m,sizeof(int));
  cudaMallocManaged(&n,sizeof(int));
  cudaMallocManaged(&p,sizeof(int));
  // Get Value of M,N;
  file>>m[0]>>n[0];
  // Allocate Arrays for Database
  cudaMallocManaged(&database,(m[0])*(n[0])*sizeof(int));
  // Get Database Value;
  for(int i=0;i<(*m)*(*n);i++){
    file>>database[i];
  }
  //Get Instructions Values
  file>>*p;
  string inp[p[0]],temp;
  getline(file,temp);
  for(int i=0;i<*p;i++){
    getline(file,inp[i]);
  }

  // Print instruction values
  //cout<<"\n";
  //cout<<"\n";
  //cout<<m[0]<<" "<<n[0]<<"\n";
  for(int i=0;i<(*m)*(*n);i++){
      if(i!=0 && i%*n==0){
        //cout<<"\n";
      }
      //cout<<database[i]<<" ";
  }
  //cout<<"\n";
  //cout<<*p<<"\n";
  // for(int i=0;i<*p;i++){
  //   //cout<<i<<" "<<inp[i]<<"\n";
  // }
  //cout<<"\n";

  // Generate Instruction Table
  vector<ins_tab> tab;
  // Recurse through the string;
// Tokenise String

//Loop through strings
#pragma omp parallel
#pragma omp for
  for(int i=0;i<*p;i++){
    // God Functions to save me so much time , Also the Reason why Python is <3
    // Remove C , U and other strings
    inp[i].erase(std::remove(inp[i].begin(), inp[i].end(), 'U'), inp[i].end());
    inp[i].erase(std::remove(inp[i].begin(), inp[i].end(), 'C'), inp[i].end());
    map<char, char> rs = { {'+', '1'}, {'-', '0'} }; char r;
    replace_if(inp[i].begin(), inp[i].end(), [&](char c){ return (rs.find(c) != rs.end())&& (r = rs[c]); }, r);
    // Returns first token
    int t = inp[i].length();
    // declaring character array
    char char_array[t + 1];
    // copying the contents of the  string to char array
    strcpy(char_array, inp[i].c_str());
    // Keep printing tokens while one of the delimiters present in str[].
    char *token = strtok(char_array, " ");
    vector<int> ps;
    while (token != NULL)
    {
      string s = token;
      ps.push_back(stoi(s));
      token = strtok(NULL, " ");
    }

     // for (auto i = ps.begin(); i != ps.end(); ++i)
         //cout << *i << " ";

    //cout<<"\n";
    // Currently having ps ( processed string )
    // ps[0] = which column
    // ps[1] = column value
    // ps[2] = how many instruction

// Loop through Possible Rows
    //cout<<ps[1]<<"\n";
    for(int j=0;j<m[0];j++){
      //cout<<j<<"\t";
      int row_val = ps[1];
      //cout<<row_val<<"\t"<<database[ps[0]+j*n[0]]<<"\t";
      if(database[ps[0]-1+j*n[0]]==row_val){
            // Row is j
// // Loop through Instructions
            for (int k=1;k<=ps[2];k++){

              //cout<<" "<<j<<" "<<ps[3*(k)]<<" "<< ( ps[3*k+2]==1 ? ps[3*k+1] : -1 * ps[3*k+1] ) ;
              tab.push_back({j,ps[3*(k)],ps[3*k+2]? ps[3*k+1] : -1 * ps[3*k+1] });
            }
        }
      //cout<<"\n";
      }
      //cout<<"\n";
  }

  // Print Instrcution Table
  int s = tab.size();
  for (int i=0;i<s;i++)
    {
        // Accessing structure members using their
        // names.
        cout << tab[i].row << ", " << tab[i].col << ", "<< tab[i].val<< endl;
    }

    cudaMallocManaged(&row,s*sizeof(int));
    cudaMallocManaged(&col,s*sizeof(int));
    cudaMallocManaged(&val,s*sizeof(int));

  // Copy arrays

  for (int i=0;i<s;i++)
    {
        row[i]=tab[i].row;
        col[i]=tab[i].col;
        val[i]=tab[i].val;
    }

  // GPU Code

  // Launch kernel on  elements on the GPU
  int blockSize = 512;
  int numBlocks = (s + blockSize - 1) / blockSize;
  add<<<numBlocks, blockSize>>>(s, row, col,val,database,n[0]);

  // Wait for GPU to finish before accessing on host
  cudaDeviceSynchronize();

  // // Do Instructions as per Instruction Table;

  // int s = tab.size();
  // for (int i=0;i<s;i++)
  //   {
  //       // Accessing structure members using their names.
  //       database[n[0]*tab[i].row+tab[i].col-1]+=tab[i].val;
  //   }
  // for (auto i = ps.begin(); i != ps.end(); ++i)
  //     //cout << *i << " ";
  for(int i=0;i<(*m)*(*n);i++){
      if(i!=0 && i%*n==0){
        cout<<"\n";
      }
      cout<<database[i]<<" ";
  }
  //cout<<"\n";
// }
  return 0;
}

	.file	"tmpxft_0023b008_00000000-6_main_mp.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB10859:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE10859:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E.isra.0, @function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E.isra.0:
.LFB13008:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
.L3:
	testq	%rbx, %rbx
	je	.L7
	movq	24(%rbx), %rdi
	call	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E.isra.0
	movq	16(%rbx), %rbp
	movq	%rbx, %rdi
	movl	$40, %esi
	call	_ZdlPvm@PLT
	movq	%rbp, %rbx
	jmp	.L3
.L7:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE13008:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E.isra.0, .-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E.isra.0
	.type	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0, @function
_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0:
.LFB13011:
	.cfi_startproc
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	(%rdi), %rax
	movq	-24(%rax), %rax
	movq	240(%rdi,%rax), %rbx
	testq	%rbx, %rbx
	jne	.L9
	call	_ZSt16__throw_bad_castv@PLT
.L9:
	cmpb	$0, 56(%rbx)
	movq	%rdi, %rbp
	movq	%rsi, %r12
	je	.L10
	movb	67(%rbx), %al
	jmp	.L11
.L10:
	movq	%rbx, %rdi
	call	_ZNKSt5ctypeIcE13_M_widen_initEv@PLT
	movq	(%rbx), %rax
	movl	$10, %esi
	movq	%rbx, %rdi
	call	*48(%rax)
.L11:
	popq	%rbx
	.cfi_def_cfa_offset 24
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movsbl	%al, %edx
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@PLT
	.cfi_endproc
.LFE13011:
	.size	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0, .-_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_.isra.0,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_,comdat
	.align 2
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_.isra.0, @function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_.isra.0:
.LFB13013:
	.cfi_startproc
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movb	$1, %al
	movl	%esi, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	8(%rdi), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	16(%rdi), %rbx
.L14:
	testq	%rbx, %rbx
	je	.L22
	cmpb	%r12b, 32(%rbx)
	movq	24(%rbx), %rdx
	movq	%rbx, %rbp
	cmovg	16(%rbx), %rdx
	setg	%al
	movq	%rdx, %rbx
	jmp	.L14
.L22:
	testb	%al, %al
	je	.L20
	cmpq	%rbp, 24(%rdi)
	je	.L18
	movq	%rbp, %rdi
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	jmp	.L17
.L20:
	movq	%rbp, %rax
.L17:
	xorl	%edx, %edx
	cmpb	%r12b, 32(%rax)
	cmovge	%rdx, %rbp
	cmovge	%rax, %rbx
.L18:
	movq	%rbx, %rax
	movq	%rbp, %rdx
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE13013:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_.isra.0, .-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_.isra.0
	.text
	.globl	_Z30__device_stub__Z3addiPiS_S_S_iiPiS_S_S_i
	.type	_Z30__device_stub__Z3addiPiS_S_S_iiPiS_S_S_i, @function
_Z30__device_stub__Z3addiPiS_S_S_iiPiS_S_S_i:
.LFB10881:
	.cfi_startproc
	endbr64
	subq	$184, %rsp
	.cfi_def_cfa_offset 192
	movl	%edi, 44(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	84(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	56(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	64(%rsp), %rcx
	movq	%r8, 8(%rsp)
	movl	%r9d, 40(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 120(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 160(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L23
	pushq	64(%rsp)
	.cfi_def_cfa_offset 200
	leaq	_Z3addiPiS_S_S_i(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 208
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	136(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 200
	popq	%rdx
	.cfi_def_cfa_offset 192
.L23:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	addq	$184, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10881:
	.size	_Z30__device_stub__Z3addiPiS_S_S_iiPiS_S_S_i, .-_Z30__device_stub__Z3addiPiS_S_S_iiPiS_S_S_i
	.globl	_Z3addiPiS_S_S_i
	.type	_Z3addiPiS_S_S_i, @function
_Z3addiPiS_S_S_i:
.LFB10882:
	.cfi_startproc
	endbr64
	jmp	_Z30__device_stub__Z3addiPiS_S_S_iiPiS_S_S_i
	.cfi_endproc
.LFE10882:
	.size	_Z3addiPiS_S_S_i, .-_Z3addiPiS_S_S_i
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z3addiPiS_S_S_i"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB10884:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC0(%rip), %rdx
	movq	%rax, %rdi
	leaq	_Z3addiPiS_S_S_i(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE10884:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev,"axG",@progbits,_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD5Ev,comdat
	.align 2
	.weak	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.type	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, @function
_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev:
.LFB10963:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	__errno_location@PLT
	cmpl	$0, (%rax)
	jne	.L30
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L30:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE10963:
	.size	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, .-_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.weak	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	.set	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev,_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.section	.text._ZNSt6vectorI7ins_tabSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI7ins_tabSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorI7ins_tabSaIS0_EED2Ev
	.type	_ZNSt6vectorI7ins_tabSaIS0_EED2Ev, @function
_ZNSt6vectorI7ins_tabSaIS0_EED2Ev:
.LFB11583:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L33
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L33:
	ret
	.cfi_endproc
.LFE11583:
	.size	_ZNSt6vectorI7ins_tabSaIS0_EED2Ev, .-_ZNSt6vectorI7ins_tabSaIS0_EED2Ev
	.weak	_ZNSt6vectorI7ins_tabSaIS0_EED1Ev
	.set	_ZNSt6vectorI7ins_tabSaIS0_EED1Ev,_ZNSt6vectorI7ins_tabSaIS0_EED2Ev
	.section	.text._ZNSt12_Vector_baseIiSaIiEED2Ev,"axG",@progbits,_ZNSt12_Vector_baseIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIiSaIiEED2Ev
	.type	_ZNSt12_Vector_baseIiSaIiEED2Ev, @function
_ZNSt12_Vector_baseIiSaIiEED2Ev:
.LFB11628:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L35
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L35:
	ret
	.cfi_endproc
.LFE11628:
	.size	_ZNSt12_Vector_baseIiSaIiEED2Ev, .-_ZNSt12_Vector_baseIiSaIiEED2Ev
	.weak	_ZNSt12_Vector_baseIiSaIiEED1Ev
	.set	_ZNSt12_Vector_baseIiSaIiEED1Ev,_ZNSt12_Vector_baseIiSaIiEED2Ev
	.section	.text._ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_,"axG",@progbits,_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_,comdat
	.weak	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
	.type	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_, @function
_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_:
.LFB12082:
	.cfi_startproc
	endbr64
	movq	%rsi, %rcx
	subq	%rdi, %rcx
	sarq	$2, %rcx
.L38:
	movq	%rdi, %rax
	testq	%rcx, %rcx
	jle	.L60
	movb	(%rdx), %r8b
	cmpb	%r8b, (%rdi)
	je	.L39
	cmpb	1(%rax), %r8b
	jne	.L40
	incq	%rax
	jmp	.L39
.L40:
	cmpb	2(%rax), %r8b
	jne	.L41
	addq	$2, %rax
	jmp	.L39
.L41:
	leaq	4(%rax), %rdi
	cmpb	3(%rax), %r8b
	jne	.L42
	addq	$3, %rax
	jmp	.L39
.L42:
	decq	%rcx
	jmp	.L38
.L60:
	movq	%rsi, %rcx
	subq	%rdi, %rcx
	cmpq	$2, %rcx
	je	.L44
	cmpq	$3, %rcx
	je	.L45
	decq	%rcx
	je	.L46
	jmp	.L47
.L45:
	movb	(%rdx), %dil
	cmpb	%dil, (%rax)
	je	.L39
	incq	%rax
.L44:
	movb	(%rdx), %dil
	cmpb	%dil, (%rax)
	je	.L39
	incq	%rax
.L46:
	movb	(%rdx), %dil
	cmpb	%dil, (%rax)
	jne	.L47
.L39:
	leaq	1(%rax), %rcx
	cmpq	%rax, %rsi
	jne	.L50
.L47:
	movq	%rsi, %rax
	ret
.L52:
	movb	(%rcx), %dil
	cmpb	(%rdx), %dil
	je	.L51
	movb	%dil, (%rax)
	incq	%rax
.L51:
	incq	%rcx
.L50:
	cmpq	%rcx, %rsi
	jne	.L52
	ret
	.cfi_endproc
.LFE12082:
	.size	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_, .-_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_,comdat
	.align 2
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_, @function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_:
.LFB12424:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	8(%rdi), %rax
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movb	(%rdx), %sil
	cmpq	%rax, %rbx
	jne	.L62
	cmpq	$0, 40(%rdi)
	je	.L71
	movq	32(%rdi), %rdx
	cmpb	32(%rdx), %sil
	jle	.L71
	jmp	.L74
.L62:
	cmpb	32(%rbx), %sil
	jge	.L65
	movq	24(%rdi), %rax
	cmpq	%rbx, %rax
	je	.L72
	movq	%rbx, %rdi
	movb	%sil, 15(%rsp)
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	movb	15(%rsp), %sil
	movq	%rax, %rdx
	cmpb	32(%rax), %sil
	jle	.L71
	cmpq	$0, 24(%rdx)
	movq	%rbx, %rax
	jne	.L72
	jmp	.L74
.L65:
	jle	.L69
	movq	32(%rdi), %rdx
	cmpq	%rbx, %rdx
	jne	.L70
.L74:
	xorl	%eax, %eax
	jmp	.L64
.L70:
	movq	%rbx, %rdi
	movb	%sil, 15(%rsp)
	call	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base@PLT
	movb	15(%rsp), %sil
	cmpb	32(%rax), %sil
	jge	.L71
	cmpq	$0, 24(%rbx)
	jne	.L72
	xorl	%eax, %eax
	movq	%rbx, %rdx
	jmp	.L64
.L72:
	movq	%rax, %rdx
	jmp	.L64
.L71:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rbp, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_.isra.0
.L69:
	.cfi_restore_state
	movq	%rbx, %rax
	xorl	%edx, %edx
.L64:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE12424:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_, .-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	.section	.rodata._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_.str1.1,"aMS",@progbits,1
.LC1:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.type	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, @function
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_:
.LFB12442:
	.cfi_startproc
	endbr64
	movabsq	$2305843009213693951, %rcx
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r14
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	subq	%r14, %rbx
	sarq	$2, %rbx
	cmpq	%rcx, %rbx
	jne	.L76
	leaq	.LC1(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L76:
	cmpq	%r14, (%rsp)
	movl	$1, %eax
	movq	%rsi, %r15
	movq	%rdi, %r13
	cmovne	%rbx, %rax
	movq	%rsi, %rbp
	addq	%rax, %rbx
	setc	%al
	subq	%r14, %r15
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L86
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L81
	movabsq	$2305843009213693951, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L80
.L86:
	movq	%rcx, %rbx
.L80:
	leaq	0(,%rbx,4), %rdi
	movq	%rdx, 8(%rsp)
	call	_Znwm@PLT
	movq	8(%rsp), %rdx
	movq	%rax, %r12
.L81:
	movl	(%rdx), %eax
	movl	%eax, (%r12,%r15)
	testq	%r15, %r15
	jle	.L82
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	call	memmove@PLT
.L82:
	movq	(%rsp), %rax
	leaq	4(%r12,%r15), %rdx
	subq	%rbp, %rax
	testq	%rax, %rax
	jle	.L83
	movq	%rdx, %rdi
	movq	%rbp, %rsi
	movq	%rax, %rcx
	rep movsb
.L83:
	leaq	(%rdx,%rax), %rbp
	testq	%r14, %r14
	je	.L84
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L84:
	leaq	(%r12,%rbx,4), %rax
	movq	%r12, 0(%r13)
	movq	%rbp, 8(%r13)
	movq	%rax, 16(%r13)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE12442:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.section	.text._ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.type	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, @function
_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_:
.LFB12450:
	.cfi_startproc
	endbr64
	movabsq	$-6148914691236517205, %rax
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rbp
	movq	(%rdi), %r15
	movq	%rsi, (%rsp)
	movabsq	$768614336404564650, %rsi
	movq	%rbp, %rbx
	subq	%r15, %rbx
	sarq	$2, %rbx
	imulq	%rax, %rbx
	cmpq	%rsi, %rbx
	jne	.L94
	leaq	.LC1(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L94:
	cmpq	%r15, %rbp
	movl	$1, %eax
	movq	(%rsp), %r12
	movq	%rdi, %r13
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r15, %r12
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L104
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	.L99
	movabsq	$768614336404564650, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L98
.L104:
	movq	%rsi, %rbx
.L98:
	imulq	$12, %rbx, %rdi
	movq	%rdx, 8(%rsp)
	call	_Znwm@PLT
	movq	8(%rsp), %rdx
	movq	%rax, %r14
.L99:
	movq	(%rdx), %rax
	movq	%rax, (%r14,%r12)
	movl	8(%rdx), %eax
	movl	%eax, 8(%r14,%r12)
	testq	%r12, %r12
	jle	.L100
	movq	%r12, %rdx
	movq	%r15, %rsi
	movq	%r14, %rdi
	call	memmove@PLT
.L100:
	movq	(%rsp), %rcx
	leaq	12(%r14,%r12), %rax
	subq	%rcx, %rbp
	testq	%rbp, %rbp
	jle	.L101
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movq	%rbp, %rcx
	rep movsb
.L101:
	addq	%rax, %rbp
	testq	%r15, %r15
	je	.L102
	movq	16(%r13), %rsi
	movq	%r15, %rdi
	subq	%r15, %rsi
	call	_ZdlPvm@PLT
.L102:
	imulq	$12, %rbx, %rax
	movq	%r14, 0(%r13)
	movq	%rbp, 8(%r13)
	leaq	(%r14,%rax), %rbx
	movq	%rbx, 16(%r13)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE12450:
	.size	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, .-_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.section	.rodata.str1.1
.LC2:
	.string	" "
.LC3:
	.string	"stoi"
.LC4:
	.string	", "
.LC5:
	.string	"\n"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB10825:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA10825
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$856, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	-584(%rbp), %rax
	movq	%rax, %rdi
	movq	%rax, -824(%rbp)
.LEHB0:
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE0:
	movq	8(%rbx), %rsi
	movl	$24, %edx
	movq	-824(%rbp), %rdi
.LEHB1:
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	leaq	-808(%rbp), %rdi
	movl	$1, %edx
	movl	$4, %esi
	call	cudaMallocManaged@PLT
	leaq	-800(%rbp), %rdi
	movl	$1, %edx
	movl	$4, %esi
	call	cudaMallocManaged@PLT
	leaq	-792(%rbp), %rdi
	movl	$1, %edx
	movl	$4, %esi
	call	cudaMallocManaged@PLT
	movq	-808(%rbp), %rsi
	movq	-824(%rbp), %rdi
	call	_ZNSirsERi@PLT
	movq	-800(%rbp), %rsi
	movq	%rax, %rdi
	call	_ZNSirsERi@PLT
	movq	-808(%rbp), %rax
	leaq	-784(%rbp), %rdi
	movl	$1, %edx
	movl	(%rax), %esi
	movq	-800(%rbp), %rax
	imull	(%rax), %esi
	movslq	%esi, %rsi
	salq	$2, %rsi
	call	cudaMallocManaged@PLT
	xorl	%ebx, %ebx
.L112:
	movq	-808(%rbp), %rax
	movq	-800(%rbp), %rdx
	movl	(%rax), %eax
	imull	(%rdx), %eax
	cmpl	%ebx, %eax
	jle	.L221
	movq	-784(%rbp), %rax
	movq	-824(%rbp), %rdi
	leaq	(%rax,%rbx,4), %rsi
	call	_ZNSirsERi@PLT
	incq	%rbx
	jmp	.L112
.L221:
	movq	-792(%rbp), %rsi
	movq	-824(%rbp), %rdi
	call	_ZNSirsERi@PLT
.LEHE1:
	movq	-792(%rbp), %rax
	movq	%rsp, %rcx
	movslq	(%rax), %rdx
	movq	%rdx, %rax
	salq	$5, %rax
	movq	%rax, %rsi
	movq	%rax, -848(%rbp)
	andq	$-4096, %rsi
	subq	%rsi, %rcx
.L114:
	cmpq	%rcx, %rsp
	je	.L115
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L114
.L115:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L116
	orq	$0, -8(%rsp,%rax)
.L116:
	movq	%rsp, -832(%rbp)
	movq	%rsp, %rax
.L117:
	decq	%rdx
	js	.L222
	leaq	16(%rax), %rcx
	xorl	%r11d, %r11d
	movb	$0, 16(%rax)
	addq	$32, %rax
	movq	%rcx, -32(%rax)
	movq	%r11, -24(%rax)
	jmp	.L117
.L222:
	leaq	-648(%rbp), %rax
	movq	-824(%rbp), %rdi
	xorl	%r10d, %r10d
	movb	$0, -632(%rbp)
	movq	%rax, -856(%rbp)
	movq	-856(%rbp), %rsi
	leaq	-632(%rbp), %rax
	movq	%rax, -648(%rbp)
	movq	%r10, -640(%rbp)
.LEHB2:
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
	movq	-832(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r15, %r12
.L119:
	movq	-792(%rbp), %rax
	cmpl	%ebx, (%rax)
	jle	.L223
	movq	-824(%rbp), %rdi
	movq	%r12, %rsi
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
.LEHE2:
	incl	%ebx
	addq	$32, %r12
	jmp	.L119
.L223:
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	movq	%r8, -744(%rbp)
	movq	%r8, -736(%rbp)
	movq	%r8, -728(%rbp)
	movl	%r9d, -860(%rbp)
.L121:
	movq	-792(%rbp), %rax
	movl	-860(%rbp), %ecx
	cmpl	%ecx, (%rax)
	jle	.L224
	movq	(%r15), %rdi
	movq	8(%r15), %rbx
	leaq	-696(%rbp), %rax
	movq	%rsp, -872(%rbp)
	movq	%rax, %rdx
	movb	$85, -696(%rbp)
	addq	%rdi, %rbx
	movq	%rax, -840(%rbp)
	movq	%rbx, %rsi
	call	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
	movq	%rbx, %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
.LEHB3:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_@PLT
	movq	(%r15), %rdi
	movq	8(%r15), %rbx
	movb	$67, -696(%rbp)
	movq	-840(%rbp), %rdx
	addq	%rdi, %rbx
	movq	%rbx, %rsi
	call	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
	movq	%rbx, %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_@PLT
.LEHE3:
	leaq	-688(%rbp), %r14
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	xorl	%edi, %edi
	leaq	-612(%rbp), %rax
	movl	%ecx, -688(%rbp)
	leaq	-616(%rbp), %r12
	movl	$808268075, -616(%rbp)
	movq	%rsi, -680(%rbp)
	movq	%r14, -672(%rbp)
	movq	%r14, -664(%rbp)
	movq	%rdi, -656(%rbp)
	movq	%rax, -880(%rbp)
.L124:
	movq	-840(%rbp), %rdi
	movq	%r12, %rdx
	movq	%r14, %rsi
	call	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	movq	%rdx, %r13
	testq	%rdx, %rdx
	je	.L122
	testq	%rax, %rax
	setne	%bl
	cmpq	%r14, %rdx
	sete	%al
	orb	%al, %bl
	jne	.L123
	movb	32(%rdx), %al
	cmpb	%al, (%r12)
	setl	%bl
.L123:
	movl	$40, %edi
.LEHB4:
	call	_Znwm@PLT
.LEHE4:
	movq	%rax, %rsi
	movw	(%r12), %ax
	movzbl	%bl, %edi
	movq	%r14, %rcx
	movq	%r13, %rdx
	movw	%ax, 32(%rsi)
	call	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_@PLT
	incq	-656(%rbp)
.L122:
	movq	-880(%rbp), %rax
	addq	$2, %r12
	cmpq	%rax, %r12
	jne	.L124
	movq	(%r15), %rbx
	movq	8(%r15), %rax
	leaq	-688(%rbp), %r14
	addq	%rbx, %rax
	movq	%rax, -880(%rbp)
	jmp	.L125
.L196:
	endbr64
	jmp	.L220
.L130:
	movq	16(%rdx), %rsi
	movq	24(%rdx), %rdi
	cmpb	32(%rdx), %r12b
	jle	.L129
	movq	%rcx, %rdx
	movq	%rdi, %rsi
.L129:
	movq	%rdx, %rcx
	movq	%rsi, %rdx
.L128:
	testq	%rdx, %rdx
	jne	.L130
	cmpq	%r14, %rcx
	jne	.L225
.L133:
	incq	%rbx
.L125:
	movq	-880(%rbp), %rax
	cmpq	%rax, %rbx
	je	.L226
	movq	-680(%rbp), %rax
	movb	(%rbx), %r12b
	movq	%r14, %rcx
	movq	%rax, %rdx
	jmp	.L128
.L225:
	cmpb	32(%rcx), %r12b
	jl	.L133
	movq	%r14, %r13
.L132:
	testq	%rax, %rax
	je	.L227
	movq	16(%rax), %rdx
	movq	24(%rax), %rcx
	cmpb	32(%rax), %r12b
	jle	.L134
	movq	%r13, %rax
	movq	%rcx, %rdx
.L134:
	movq	%rax, %r13
	movq	%rdx, %rax
	jmp	.L132
.L227:
	cmpq	%r14, %r13
	je	.L136
	cmpb	32(%r13), %r12b
	jge	.L137
.L136:
	movl	$40, %edi
	movq	%r13, -888(%rbp)
.LEHB5:
	call	_Znwm@PLT
.LEHE5:
	movb	%r12b, 32(%rax)
	leaq	32(%rax), %rdx
	movq	%rax, %r13
	movq	-888(%rbp), %rsi
	movb	$0, 33(%rax)
	movq	-840(%rbp), %rdi
	call	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	testq	%rdx, %rdx
	je	.L138
	testq	%rax, %rax
	leaq	-688(%rbp), %rcx
	setne	%dil
	cmpq	%rcx, %rdx
	sete	%al
	orb	%al, %dil
	jne	.L139
	cmpb	32(%rdx), %r12b
	setl	%dil
.L139:
	movzbl	%dil, %edi
	movq	%r13, %rsi
	call	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_@PLT
	incq	-656(%rbp)
	jmp	.L137
.L138:
	movq	%r13, %rdi
	movl	$40, %esi
	movq	%rax, -888(%rbp)
	call	_ZdlPvm@PLT
	movq	-888(%rbp), %r13
.L137:
	movb	33(%r13), %al
	testb	%al, %al
	je	.L133
	movb	%al, (%rbx)
	jmp	.L133
.L226:
	movl	8(%r15), %eax
	movq	%rsp, %rsi
	leal	1(%rax), %edx
	movslq	%edx, %rdx
	leaq	15(%rdx), %rcx
	movq	%rcx, %rax
	andq	$-4096, %rcx
	andq	$-16, %rax
	subq	%rcx, %rsi
.L142:
	cmpq	%rsi, %rsp
	je	.L143
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L142
.L143:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L144
	orq	$0, -8(%rsp,%rax)
.L144:
	movq	(%r15), %rsi
	movq	%rsp, %rdi
	leaq	.LC2(%rip), %r13
	movl	$2147483648, %r14d
	call	__strcpy_chk@PLT
	movq	%r13, %rsi
	movq	%rsp, %rdi
	call	strtok@PLT
	xorl	%edx, %edx
	movq	%rdx, -720(%rbp)
	movq	%rax, %rbx
	movq	%rdx, -712(%rbp)
	movq	%rdx, -704(%rbp)
.L145:
	testq	%rbx, %rbx
	je	.L228
	leaq	-616(%rbp), %rax
	movq	%rbx, %rdi
	movq	%rax, -840(%rbp)
	leaq	-600(%rbp), %rax
	movq	%rax, -616(%rbp)
	call	strlen@PLT
	movq	%rax, -760(%rbp)
	leaq	(%rbx,%rax), %r12
	cmpq	$15, %rax
	jbe	.L146
	movq	-840(%rbp), %rdi
	leaq	-760(%rbp), %rsi
	xorl	%edx, %edx
.LEHB6:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm@PLT
.LEHE6:
	movq	%rax, -616(%rbp)
	movq	-760(%rbp), %rax
	movq	%rax, -600(%rbp)
.L146:
	movq	-616(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@PLT
	movq	-760(%rbp), %rax
	movq	-616(%rbp), %rdx
	movq	%rax, -608(%rbp)
	movb	$0, (%rdx,%rax)
	movq	-616(%rbp), %r12
	call	__errno_location@PLT
	movq	%r12, %rdi
	movl	$10, %edx
	movq	%rax, %rbx
	movl	(%rax), %eax
	movl	%eax, -768(%rbp)
	xorl	%eax, %eax
	movl	%eax, (%rbx)
	leaq	-760(%rbp), %rax
	movq	%rax, %rsi
	movq	%rax, -880(%rbp)
	call	__isoc23_strtol@PLT
	cmpq	-760(%rbp), %r12
	leaq	-768(%rbp), %r12
	jne	.L147
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L217
	leaq	.LC3(%rip), %rdi
.LEHB7:
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L147:
	cmpl	$34, (%rbx)
	je	.L149
	leaq	(%rax,%r14), %rdx
	movl	$4294967295, %ecx
	cmpq	%rdx, %rcx
	jnb	.L150
.L149:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L217
	leaq	.LC3(%rip), %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE7:
.L150:
	movq	%r12, %rdi
	movq	%rax, -888(%rbp)
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movq	-888(%rbp), %rax
	movq	-712(%rbp), %rsi
	movl	%eax, -760(%rbp)
	cmpq	-704(%rbp), %rsi
	je	.L229
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, -712(%rbp)
	jmp	.L156
.L197:
	endbr64
	movq	%rax, %rbx
.L154:
	movq	%r12, %rdi
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	jmp	.L155
.L229:
	movq	-880(%rbp), %rdx
	leaq	-720(%rbp), %rdi
.LEHB8:
	call	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.LEHE8:
.L156:
	xorl	%edi, %edi
	movq	%r13, %rsi
	call	strtok@PLT
	movq	-840(%rbp), %rdi
	movq	%rax, %rbx
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L145
.L228:
	leaq	-760(%rbp), %rax
	movq	%rax, -840(%rbp)
.L158:
	movq	-808(%rbp), %rax
	cmpl	%ebx, (%rax)
	jle	.L230
	movq	-800(%rbp), %rax
	movq	-720(%rbp), %r13
	movl	(%rax), %edx
	movl	0(%r13), %eax
	movl	4(%r13), %ecx
	imull	%ebx, %edx
	leal	-1(%rdx,%rax), %eax
	movq	-784(%rbp), %rdx
	cltq
	cmpl	%ecx, (%rdx,%rax,4)
	jne	.L159
	leaq	12(%r13), %r12
	movl	$1, %r14d
	jmp	.L160
.L164:
	movl	%ebx, -760(%rbp)
	movl	(%r12), %eax
	movl	%eax, -756(%rbp)
	cmpl	$0, 8(%r12)
	movl	4(%r12), %eax
	jne	.L161
	negl	%eax
.L161:
	movl	%eax, -752(%rbp)
	movq	-736(%rbp), %rsi
	cmpq	-728(%rbp), %rsi
	je	.L162
	movq	-760(%rbp), %rax
	addq	$12, %rsi
	movq	%rax, -12(%rsi)
	movl	-752(%rbp), %eax
	movl	%eax, -4(%rsi)
	movq	%rsi, -736(%rbp)
.L163:
	incl	%r14d
	addq	$12, %r12
.L160:
	cmpl	%r14d, 8(%r13)
	jge	.L164
.L159:
	incl	%ebx
	jmp	.L158
.L162:
	movq	-840(%rbp), %rdx
	leaq	-744(%rbp), %rdi
.LEHB9:
	call	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
.LEHE9:
	jmp	.L163
.L230:
	leaq	-720(%rbp), %rdi
	addq	$32, %r15
	call	_ZNSt12_Vector_baseIiSaIiEED2Ev
	movq	-680(%rbp), %rdi
	call	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E.isra.0
	movq	-872(%rbp), %rsp
	incl	-860(%rbp)
	jmp	.L121
.L224:
	movq	-744(%rbp), %r12
	movq	-736(%rbp), %rbx
	xorl	%r15d, %r15d
	movabsq	$-6148914691236517205, %rax
	subq	%r12, %rbx
	movq	%r12, %r13
	sarq	$2, %rbx
	imulq	%rax, %rbx
	movl	%ebx, %r14d
.L167:
	cmpl	%r14d, %r15d
	jge	.L231
	movl	0(%r13), %esi
	leaq	_ZSt4cout(%rip), %rdi
.LEHB10:
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	4(%r13), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	8(%r13), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	call	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@PLT
	incl	%r15d
	addq	$12, %r13
	jmp	.L167
.L231:
	movslq	%ebx, %r13
	leaq	-776(%rbp), %rdi
	movl	$1, %edx
	salq	$2, %r13
	movq	%r13, %rsi
	call	cudaMallocManaged@PLT
	leaq	-768(%rbp), %rdi
	movl	$1, %edx
	movq	%r13, %rsi
	call	cudaMallocManaged@PLT
	leaq	-760(%rbp), %rdi
	movl	$1, %edx
	movq	%r13, %rsi
	call	cudaMallocManaged@PLT
	movq	-776(%rbp), %rdx
	movq	-768(%rbp), %rcx
	xorl	%eax, %eax
	movq	-760(%rbp), %rsi
.L169:
	cmpl	%eax, %r14d
	jle	.L232
	movl	(%r12), %edi
	addq	$12, %r12
	movl	%edi, (%rdx,%rax,4)
	movl	-8(%r12), %edi
	movl	%edi, (%rcx,%rax,4)
	movl	-4(%r12), %edi
	movl	%edi, (%rsi,%rax,4)
	incq	%rax
	jmp	.L169
.L232:
	movl	$512, %esi
	movl	$8388609, %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	leal	511(%rbx), %eax
	salq	$9, %rcx
	movl	$1, -688(%rbp)
	cltd
	movq	%rcx, -696(%rbp)
	idivl	%esi
	movq	%rcx, %rdx
	movl	$1, %ecx
	movl	%eax, -720(%rbp)
	movabsq	$4294967297, %rax
	movq	%rax, -716(%rbp)
	movq	-720(%rbp), %rdi
	movl	-712(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L171
	movq	-800(%rbp), %rax
	movq	-784(%rbp), %r8
	movl	%r14d, %edi
	movq	-760(%rbp), %rcx
	movq	-768(%rbp), %rdx
	movl	(%rax), %r9d
	movq	-776(%rbp), %rsi
	call	_Z30__device_stub__Z3addiPiS_S_S_iiPiS_S_S_i
.L171:
	call	cudaDeviceSynchronize@PLT
	xorl	%ebx, %ebx
	leaq	_ZSt4cout(%rip), %r12
.L172:
	movq	-800(%rbp), %rax
	movl	(%rax), %ecx
	movq	-808(%rbp), %rax
	movl	(%rax), %edx
	imull	%ecx, %edx
	cmpl	%ebx, %edx
	jle	.L233
	testq	%rbx, %rbx
	je	.L173
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L173
	leaq	.LC5(%rip), %rsi
	movq	%r12, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.L173:
	movq	-784(%rbp), %rax
	movq	%r12, %rdi
	movl	(%rax,%rbx,4), %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC2(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.LEHE10:
	incq	%rbx
	jmp	.L172
.L233:
	leaq	-744(%rbp), %rdi
	call	_ZNSt6vectorI7ins_tabSaIS0_EED1Ev
	movq	-856(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-848(%rbp), %rbx
	movq	-832(%rbp), %rax
	addq	%rax, %rbx
.L176:
	movq	-832(%rbp), %rax
	cmpq	%rax, %rbx
	je	.L175
	subq	$32, %rbx
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L176
.L175:
	leaq	-584(%rbp), %rdi
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L185
	jmp	.L217
.L193:
	endbr64
	movq	%rax, %rbx
.L155:
	movq	-840(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L177
.L194:
	endbr64
	movq	%rax, %rbx
.L177:
	leaq	-720(%rbp), %rdi
	call	_ZNSt12_Vector_baseIiSaIiEED2Ev
	jmp	.L178
.L192:
	endbr64
.L220:
	movq	%rax, %rbx
.L178:
	movq	-680(%rbp), %rdi
	call	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E.isra.0
	jmp	.L127
.L191:
	endbr64
	movq	%rax, %rbx
.L127:
	movq	-872(%rbp), %rsp
	jmp	.L179
.L195:
	endbr64
	movq	%rax, %rbx
.L179:
	leaq	-744(%rbp), %rdi
	call	_ZNSt6vectorI7ins_tabSaIS0_EED1Ev
	jmp	.L180
.L190:
	endbr64
	movq	%rax, %rbx
.L180:
	movq	-856(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-848(%rbp), %r12
	movq	-832(%rbp), %rax
	addq	%rax, %r12
.L182:
	movq	-832(%rbp), %rax
	cmpq	%rax, %r12
	je	.L183
	subq	$32, %r12
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L182
.L189:
	endbr64
	movq	%rax, %rbx
.L183:
	movq	-824(%rbp), %rdi
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L217
	movq	%rbx, %rdi
.LEHB11:
	call	_Unwind_Resume@PLT
.LEHE11:
.L217:
	call	__stack_chk_fail@PLT
.L185:
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10825:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA10825:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE10825-.LLSDACSB10825
.LLSDACSB10825:
	.uleb128 .LEHB0-.LFB10825
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB10825
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L189-.LFB10825
	.uleb128 0
	.uleb128 .LEHB2-.LFB10825
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L190-.LFB10825
	.uleb128 0
	.uleb128 .LEHB3-.LFB10825
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L191-.LFB10825
	.uleb128 0
	.uleb128 .LEHB4-.LFB10825
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L196-.LFB10825
	.uleb128 0
	.uleb128 .LEHB5-.LFB10825
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L192-.LFB10825
	.uleb128 0
	.uleb128 .LEHB6-.LFB10825
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L194-.LFB10825
	.uleb128 0
	.uleb128 .LEHB7-.LFB10825
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L197-.LFB10825
	.uleb128 0
	.uleb128 .LEHB8-.LFB10825
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L193-.LFB10825
	.uleb128 0
	.uleb128 .LEHB9-.LFB10825
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L194-.LFB10825
	.uleb128 0
	.uleb128 .LEHB10-.LFB10825
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L195-.LFB10825
	.uleb128 0
	.uleb128 .LEHB11-.LFB10825
	.uleb128 .LEHE11-.LEHB11
	.uleb128 0
	.uleb128 0
.LLSDACSE10825:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

// Include All Libraries


#include <hip/hip_runtime.h>
#include<bits/stdc++.h>

using namespace std;

__global__ void add(int n, int *x, int *y,int *val,int *database,int N)
{
  unsigned long long int id = (blockIdx.x*blockDim.y+threadIdx.y)*blockDim.x + threadIdx.x;
  if(id<n){
    atomicAdd(&database[N*x[id]+y[id]-1],val[id]);
  }
}

struct ins_tab{
  int row;
  int col;
  int val;
};

int main(int argc, char** argv){

  fstream file;
  int *m,*n,*p;
  int *database;
  int *row,*col,*val;
  // opening file
  file.open(argv[1]);
  // Allocate Unified Memory -- accessible from CPU or GPU
  hipMallocManaged(&m,sizeof(int));
  hipMallocManaged(&n,sizeof(int));
  hipMallocManaged(&p,sizeof(int));
  // Get Value of M,N;
  file>>m[0]>>n[0];
  // Allocate Arrays for Database
  hipMallocManaged(&database,(m[0])*(n[0])*sizeof(int));
  // Get Database Value;
  for(int i=0;i<(*m)*(*n);i++){
    file>>database[i];
  }
  //Get Instructions Values
  file>>*p;
  string inp[p[0]],temp;
  getline(file,temp);
  for(int i=0;i<*p;i++){
    getline(file,inp[i]);
  }

  // Print instruction values
  //cout<<"\n";
  //cout<<"\n";
  //cout<<m[0]<<" "<<n[0]<<"\n";
  for(int i=0;i<(*m)*(*n);i++){
      if(i!=0 && i%*n==0){
        //cout<<"\n";
      }
      //cout<<database[i]<<" ";
  }
  //cout<<"\n";
  //cout<<*p<<"\n";
  // for(int i=0;i<*p;i++){
  //   //cout<<i<<" "<<inp[i]<<"\n";
  // }
  //cout<<"\n";

  // Generate Instruction Table
  vector<ins_tab> tab;
  // Recurse through the string;
// Tokenise String

//Loop through strings
#pragma omp parallel
#pragma omp for
  for(int i=0;i<*p;i++){
    // God Functions to save me so much time , Also the Reason why Python is <3
    // Remove C , U and other strings
    inp[i].erase(std::remove(inp[i].begin(), inp[i].end(), 'U'), inp[i].end());
    inp[i].erase(std::remove(inp[i].begin(), inp[i].end(), 'C'), inp[i].end());
    map<char, char> rs = { {'+', '1'}, {'-', '0'} }; char r;
    replace_if(inp[i].begin(), inp[i].end(), [&](char c){ return (rs.find(c) != rs.end())&& (r = rs[c]); }, r);
    // Returns first token
    int t = inp[i].length();
    // declaring character array
    char char_array[t + 1];
    // copying the contents of the  string to char array
    strcpy(char_array, inp[i].c_str());
    // Keep printing tokens while one of the delimiters present in str[].
    char *token = strtok(char_array, " ");
    vector<int> ps;
    while (token != NULL)
    {
      string s = token;
      ps.push_back(stoi(s));
      token = strtok(NULL, " ");
    }

     // for (auto i = ps.begin(); i != ps.end(); ++i)
         //cout << *i << " ";

    //cout<<"\n";
    // Currently having ps ( processed string )
    // ps[0] = which column
    // ps[1] = column value
    // ps[2] = how many instruction

// Loop through Possible Rows
    //cout<<ps[1]<<"\n";
    for(int j=0;j<m[0];j++){
      //cout<<j<<"\t";
      int row_val = ps[1];
      //cout<<row_val<<"\t"<<database[ps[0]+j*n[0]]<<"\t";
      if(database[ps[0]-1+j*n[0]]==row_val){
            // Row is j
// // Loop through Instructions
            for (int k=1;k<=ps[2];k++){

              //cout<<" "<<j<<" "<<ps[3*(k)]<<" "<< ( ps[3*k+2]==1 ? ps[3*k+1] : -1 * ps[3*k+1] ) ;
              tab.push_back({j,ps[3*(k)],ps[3*k+2]? ps[3*k+1] : -1 * ps[3*k+1] });
            }
        }
      //cout<<"\n";
      }
      //cout<<"\n";
  }

  // Print Instrcution Table
  int s = tab.size();
  for (int i=0;i<s;i++)
    {
        // Accessing structure members using their
        // names.
        cout << tab[i].row << ", " << tab[i].col << ", "<< tab[i].val<< endl;
    }

    hipMallocManaged(&row,s*sizeof(int));
    hipMallocManaged(&col,s*sizeof(int));
    hipMallocManaged(&val,s*sizeof(int));

  // Copy arrays

  for (int i=0;i<s;i++)
    {
        row[i]=tab[i].row;
        col[i]=tab[i].col;
        val[i]=tab[i].val;
    }

  // GPU Code

  // Launch kernel on  elements on the GPU
  int blockSize = 512;
  int numBlocks = (s + blockSize - 1) / blockSize;
  add<<<numBlocks, blockSize>>>(s, row, col,val,database,n[0]);

  // Wait for GPU to finish before accessing on host
  hipDeviceSynchronize();

  // // Do Instructions as per Instruction Table;

  // int s = tab.size();
  // for (int i=0;i<s;i++)
  //   {
  //       // Accessing structure members using their names.
  //       database[n[0]*tab[i].row+tab[i].col-1]+=tab[i].val;
  //   }
  // for (auto i = ps.begin(); i != ps.end(); ++i)
  //     //cout << *i << " ";
  for(int i=0;i<(*m)*(*n);i++){
      if(i!=0 && i%*n==0){
        cout<<"\n";
      }
      cout<<database[i]<<" ";
  }
  //cout<<"\n";
// }
  return 0;
}

	.text
	.file	"main_mp.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.globl	_Z18__device_stub__addiPiS_S_S_i # -- Begin function _Z18__device_stub__addiPiS_S_S_i
	.type	_Z18__device_stub__addiPiS_S_S_i,@function
_Z18__device_stub__addiPiS_S_S_i:       # @_Z18__device_stub__addiPiS_S_S_i
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	12(%rsp), %rax
	movl	%edi, (%rax)
	leaq	56(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	48(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	40(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	32(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z3addiPiS_S_S_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z18__device_stub__addiPiS_S_S_i, .Lfunc_end0-_Z18__device_stub__addiPiS_S_S_i
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function main
.LCPI1_0:
	.zero	16
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$808, %rsp                      # imm = 0x328
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	leaq	-848(%rbp), %r14
	movq	%r14, %rdi
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1Ev
	movq	8(%rbx), %rsi
.Ltmp0:
	movq	%r14, %rdi
	movl	$24, %edx
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp1:
# %bb.1:
.Ltmp2:
	leaq	-56(%rbp), %rdi
	movl	$4, %esi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp3:
# %bb.2:                                # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit
.Ltmp4:
	leaq	-48(%rbp), %rdi
	movl	$4, %esi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp5:
# %bb.3:                                # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit133
.Ltmp6:
	leaq	-64(%rbp), %rdi
	movl	$4, %esi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp7:
# %bb.4:                                # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit134
	movq	-56(%rbp), %rsi
.Ltmp8:
	leaq	-848(%rbp), %rdi
	callq	_ZNSirsERi
.Ltmp9:
# %bb.5:
	movq	-48(%rbp), %rsi
.Ltmp10:
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp11:
# %bb.6:
	movq	-56(%rbp), %rax
	movslq	(%rax), %rax
	movq	-48(%rbp), %rcx
	movslq	(%rcx), %rsi
	imulq	%rax, %rsi
	shlq	$2, %rsi
.Ltmp12:
	leaq	-80(%rbp), %rdi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp13:
# %bb.7:                                # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit135.preheader
	movq	-56(%rbp), %rax
	movq	-48(%rbp), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	testl	%ecx, %ecx
	jle	.LBB1_11
# %bb.8:                                # %.lr.ph.preheader
	xorl	%r14d, %r14d
	leaq	-848(%rbp), %rbx
	xorl	%r15d, %r15d
.LBB1_9:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rsi
	addq	%r14, %rsi
.Ltmp14:
	movq	%rbx, %rdi
	callq	_ZNSirsERi
.Ltmp15:
# %bb.10:                               # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit135
                                        #   in Loop: Header=BB1_9 Depth=1
	incq	%r15
	movq	-56(%rbp), %rax
	movslq	(%rax), %rax
	movq	-48(%rbp), %rcx
	movslq	(%rcx), %rcx
	imulq	%rax, %rcx
	addq	$4, %r14
	cmpq	%rcx, %r15
	jl	.LBB1_9
.LBB1_11:                               # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit135._crit_edge
	movq	-64(%rbp), %rsi
.Ltmp17:
	leaq	-848(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ZNSirsERi
.Ltmp18:
# %bb.12:
	movq	%rsp, -232(%rbp)                # 8-byte Spill
	movq	-64(%rbp), %rax
	movl	(%rax), %r12d
	movq	%rsp, %rdx
	movq	%r12, %rax
	shlq	$5, %rax
	subq	%rax, %rdx
	movq	%rdx, %rsp
	testq	%r12, %r12
	je	.LBB1_15
# %bb.13:
	leaq	16(%rdx), %rcx
.LBB1_14:                               # =>This Inner Loop Header: Depth=1
	movq	%rcx, -16(%rcx)
	movq	$0, -8(%rcx)
	movb	$0, (%rcx)
	addq	$32, %rcx
	addq	$-32, %rax
	jne	.LBB1_14
.LBB1_15:                               # %.loopexit212
	movq	%rdx, -72(%rbp)                 # 8-byte Spill
	leaq	-304(%rbp), %rax
	movq	%rax, -16(%rax)
	movq	$0, -8(%rax)
	movb	$0, (%rax)
	movq	-848(%rbp), %rax
	addq	-24(%rax), %rbx
.Ltmp20:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp21:
# %bb.16:                               # %.noexc
.Ltmp22:
	movsbl	%al, %edx
	leaq	-848(%rbp), %rbx
	leaq	-320(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp23:
# %bb.17:                               # %_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit.preheader
	movq	-64(%rbp), %rax
	cmpl	$0, (%rax)
	jle	.LBB1_22
# %bb.18:                               # %.lr.ph226.preheader
	xorl	%r15d, %r15d
	movq	-72(%rbp), %r14                 # 8-byte Reload
.LBB1_19:                               # %.lr.ph226
                                        # =>This Inner Loop Header: Depth=1
	movq	-848(%rbp), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp25:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp26:
# %bb.20:                               # %.noexc137
                                        #   in Loop: Header=BB1_19 Depth=1
.Ltmp27:
	movsbl	%al, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp28:
# %bb.21:                               # %_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit139
                                        #   in Loop: Header=BB1_19 Depth=1
	incq	%r15
	movq	-64(%rbp), %rax
	movslq	(%rax), %rcx
	addq	$32, %r14
	cmpq	%rcx, %r15
	jl	.LBB1_19
.LBB1_22:                               # %.preheader211
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	cmpl	$0, (%rax)
	jle	.LBB1_70
# %bb.23:                               # %.lr.ph238
	xorl	%ebx, %ebx
	leaq	-288(%rbp), %r13
	leaq	-160(%rbp), %r14
.LBB1_24:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_29 Depth 2
                                        #       Child Loop BB1_31 Depth 3
                                        #     Child Loop BB1_41 Depth 2
                                        #     Child Loop BB1_57 Depth 2
                                        #       Child Loop BB1_60 Depth 3
	movq	%rbx, -240(%rbp)                # 8-byte Spill
	shlq	$5, %rbx
	movq	-72(%rbp), %r15                 # 8-byte Reload
	movq	(%r15,%rbx), %rdi
	movq	8(%r15,%rbx), %rsi
	addq	%rdi, %rsi
	movb	$85, -288(%rbp)
.Ltmp30:
	movq	%r13, %rdx
	callq	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
.Ltmp31:
# %bb.25:                               #   in Loop: Header=BB1_24 Depth=1
	leaq	(%r15,%rbx), %r13
	addq	%r15, %rbx
	addq	$8, %rbx
	movq	%rax, %rcx
	subq	(%r13), %rcx
	movq	%rcx, (%rbx)
	movb	$0, (%rax)
	movq	(%r13), %rdi
	movq	(%rbx), %rsi
	addq	%rdi, %rsi
	movb	$67, -288(%rbp)
.Ltmp33:
	leaq	-288(%rbp), %r15
	movq	%r15, %rdx
	callq	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
.Ltmp34:
# %bb.26:                               #   in Loop: Header=BB1_24 Depth=1
	movq	%rax, %rcx
	subq	(%r13), %rcx
	movq	%rcx, (%rbx)
	movb	$0, (%rax)
	movl	$808268075, -160(%rbp)          # imm = 0x302D312B
.Ltmp36:
	movl	$2, %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	leaq	-192(%rbp), %rcx
	leaq	-224(%rbp), %r8
	callq	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_
.Ltmp37:
# %bb.27:                               #   in Loop: Header=BB1_24 Depth=1
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	.LBB1_39
# %bb.28:                               # %.lr.ph.i.preheader
                                        #   in Loop: Header=BB1_24 Depth=1
	movq	%rbx, -120(%rbp)                # 8-byte Spill
	movq	(%r13), %rbx
	addq	%rbx, %r15
.LBB1_29:                               # %.lr.ph.i
                                        #   Parent Loop BB1_24 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB1_31 Depth 3
	movb	(%rbx), %al
	movb	%al, -160(%rbp)
	movq	-272(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_37
# %bb.30:                               # %.lr.ph.i.i.i.i.i.preheader
                                        #   in Loop: Header=BB1_29 Depth=2
	leaq	-280(%rbp), %r8
.LBB1_31:                               # %.lr.ph.i.i.i.i.i
                                        #   Parent Loop BB1_24 Depth=1
                                        #     Parent Loop BB1_29 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	%r8, %rcx
	movq	%rdi, %rdx
	movb	32(%rdi), %sil
	xorl	%edi, %edi
	cmpb	%al, %sil
	setl	%dil
	movq	%rdx, %r8
	cmovlq	%rcx, %r8
	movq	16(%rdx,%rdi,8), %rdi
	testq	%rdi, %rdi
	jne	.LBB1_31
# %bb.32:                               # %_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_lower_boundEPSt13_Rb_tree_nodeIS2_EPSt18_Rb_tree_node_baseRS1_.exit.i.i.i.i
                                        #   in Loop: Header=BB1_29 Depth=2
	leaq	-280(%rbp), %rdi
	cmpq	%rdi, %r8
	je	.LBB1_37
# %bb.33:                               # %_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEE4findERS3_.exit.i.i
                                        #   in Loop: Header=BB1_29 Depth=2
	cmpb	%al, %sil
	cmovlq	%rcx, %rdx
	cmpb	%al, 32(%rdx)
	jg	.LBB1_37
# %bb.34:                               # %_ZZ4mainENKUlcE_clEc.exit.i
                                        #   in Loop: Header=BB1_29 Depth=2
.Ltmp39:
	leaq	-288(%rbp), %rdi
	movq	%r14, %rsi
	callq	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_
.Ltmp40:
# %bb.35:                               # %.noexc146
                                        #   in Loop: Header=BB1_29 Depth=2
	movb	(%rax), %al
	testb	%al, %al
	je	.LBB1_37
# %bb.36:                               #   in Loop: Header=BB1_29 Depth=2
	movb	%al, (%rbx)
.LBB1_37:                               #   in Loop: Header=BB1_29 Depth=2
	incq	%rbx
	cmpq	%r15, %rbx
	jne	.LBB1_29
# %bb.38:                               # %_ZSt10replace_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEZ4mainEUlcE_cEvT_SB_T0_RKT1_.exit.loopexit
                                        #   in Loop: Header=BB1_24 Depth=1
	movq	-120(%rbp), %rax                # 8-byte Reload
	movq	(%rax), %rax
	jmp	.LBB1_40
.LBB1_39:                               #   in Loop: Header=BB1_24 Depth=1
	xorl	%eax, %eax
.LBB1_40:                               # %_ZSt10replace_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEZ4mainEUlcE_cEvT_SB_T0_RKT1_.exit
                                        #   in Loop: Header=BB1_24 Depth=1
	movq	%rsp, -120(%rbp)                # 8-byte Spill
	incl	%eax
	movq	%rsp, %rbx
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rbx
	movq	%rbx, %rsp
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	strcpy
	movl	$.L.str, %esi
	movq	%rbx, %rdi
	callq	strtok
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -192(%rbp)
	movq	$0, -176(%rbp)
	testq	%rax, %rax
	je	.LBB1_54
.LBB1_41:                               # %.lr.ph229
                                        #   Parent Loop BB1_24 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	leaq	-144(%rbp), %rax
	movq	%rax, -160(%rbp)
	movq	%rbx, %rdi
	callq	strlen
	leaq	(%rax,%rbx), %rdx
.Ltmp42:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp43:
# %bb.42:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit
                                        #   in Loop: Header=BB1_41 Depth=2
	movq	-160(%rbp), %r15
	callq	__errno_location
	movq	%rax, %rbx
	movl	(%rax), %r13d
	movl	$0, (%rax)
	movq	%r15, %rdi
	leaq	-224(%rbp), %rsi
	movl	$10, %edx
	callq	__isoc23_strtol
	cmpq	%r15, -224(%rbp)
	je	.LBB1_110
# %bb.43:                               #   in Loop: Header=BB1_41 Depth=2
	movslq	%eax, %rcx
	cmpq	%rax, %rcx
	jne	.LBB1_112
# %bb.44:                               #   in Loop: Header=BB1_41 Depth=2
	movl	(%rbx), %ecx
	cmpl	$34, %ecx
	je	.LBB1_112
# %bb.45:                               #   in Loop: Header=BB1_41 Depth=2
	testl	%ecx, %ecx
	jne	.LBB1_47
# %bb.46:                               #   in Loop: Header=BB1_41 Depth=2
	movl	%r13d, (%rbx)
.LBB1_47:                               #   in Loop: Header=BB1_41 Depth=2
	movl	%eax, -124(%rbp)
	movq	-184(%rbp), %rsi
	cmpq	-176(%rbp), %rsi
	je	.LBB1_49
# %bb.48:                               #   in Loop: Header=BB1_41 Depth=2
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, -184(%rbp)
	jmp	.LBB1_50
.LBB1_49:                               #   in Loop: Header=BB1_41 Depth=2
.Ltmp45:
	leaq	-192(%rbp), %rdi
	leaq	-124(%rbp), %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp46:
.LBB1_50:                               # %_ZNSt6vectorIiSaIiEE9push_backEOi.exit
                                        #   in Loop: Header=BB1_41 Depth=2
	movl	$.L.str, %esi
	xorl	%edi, %edi
	callq	strtok
	movq	%rax, %rbx
	movq	-160(%rbp), %rdi
	leaq	-144(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_52
# %bb.51:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
                                        #   in Loop: Header=BB1_41 Depth=2
	callq	_ZdlPv
.LBB1_52:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
                                        #   in Loop: Header=BB1_41 Depth=2
	testq	%rbx, %rbx
	jne	.LBB1_41
# %bb.53:                               # %.preheader210.loopexit
                                        #   in Loop: Header=BB1_24 Depth=1
	movq	-192(%rbp), %rdi
	jmp	.LBB1_55
.LBB1_54:                               #   in Loop: Header=BB1_24 Depth=1
	xorl	%edi, %edi
.LBB1_55:                               # %.preheader210
                                        #   in Loop: Header=BB1_24 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	.LBB1_66
# %bb.56:                               # %.lr.ph235.preheader
                                        #   in Loop: Header=BB1_24 Depth=1
	xorl	%ebx, %ebx
.LBB1_57:                               # %.lr.ph235
                                        #   Parent Loop BB1_24 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB1_60 Depth 3
	movq	-80(%rbp), %rcx
	movslq	(%rdi), %rdx
	movq	-48(%rbp), %rsi
	movslq	(%rsi), %rsi
	movslq	%ebx, %r8
	imulq	%rsi, %r8
	addq	%rdx, %r8
	movl	-4(%rcx,%r8,4), %ecx
	cmpl	4(%rdi), %ecx
	jne	.LBB1_65
# %bb.58:                               # %.preheader208
                                        #   in Loop: Header=BB1_57 Depth=2
	cmpl	$0, 8(%rdi)
	jle	.LBB1_65
# %bb.59:                               # %.lr.ph232.preheader
                                        #   in Loop: Header=BB1_57 Depth=2
	movl	$20, %r15d
	xorl	%r13d, %r13d
.LBB1_60:                               # %.lr.ph232
                                        #   Parent Loop BB1_24 Depth=1
                                        #     Parent Loop BB1_57 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movl	%ebx, -160(%rbp)
	movl	-8(%rdi,%r15), %eax
	movl	%eax, -156(%rbp)
	movl	-4(%rdi,%r15), %eax
	movl	%eax, %ecx
	negl	%ecx
	cmpl	$0, (%rdi,%r15)
	cmovnel	%eax, %ecx
	movl	%ecx, -152(%rbp)
	movq	-104(%rbp), %rsi
	cmpq	-96(%rbp), %rsi
	je	.LBB1_62
# %bb.61:                               #   in Loop: Header=BB1_60 Depth=3
	movl	-152(%rbp), %eax
	movl	%eax, 8(%rsi)
	movq	-160(%rbp), %rax
	movq	%rax, (%rsi)
	addq	$12, -104(%rbp)
	jmp	.LBB1_63
.LBB1_62:                               #   in Loop: Header=BB1_60 Depth=3
.Ltmp53:
	leaq	-112(%rbp), %rdi
	movq	%r14, %rdx
	callq	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
.Ltmp54:
.LBB1_63:                               # %_ZNSt6vectorI7ins_tabSaIS0_EE9push_backEOS0_.exit
                                        #   in Loop: Header=BB1_60 Depth=3
	movq	-192(%rbp), %rdi
	movslq	8(%rdi), %rax
	incq	%r13
	addq	$12, %r15
	cmpq	%rax, %r13
	jl	.LBB1_60
# %bb.64:                               # %.loopexit209.loopexit
                                        #   in Loop: Header=BB1_57 Depth=2
	movq	-56(%rbp), %rax
	movl	(%rax), %eax
.LBB1_65:                               # %.loopexit209
                                        #   in Loop: Header=BB1_57 Depth=2
	incl	%ebx
	cmpl	%eax, %ebx
	jl	.LBB1_57
.LBB1_66:                               # %._crit_edge
                                        #   in Loop: Header=BB1_24 Depth=1
	testq	%rdi, %rdi
	je	.LBB1_68
# %bb.67:                               #   in Loop: Header=BB1_24 Depth=1
	callq	_ZdlPv
.LBB1_68:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit
                                        #   in Loop: Header=BB1_24 Depth=1
	movq	-120(%rbp), %rsp                # 8-byte Reload
	leaq	-288(%rbp), %r13
	movq	%r13, %rdi
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev
	movq	-240(%rbp), %rbx                # 8-byte Reload
	incq	%rbx
	movq	-64(%rbp), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	.LBB1_24
# %bb.69:                               # %._crit_edge239.loopexit
	movq	-112(%rbp), %rcx
	movq	-104(%rbp), %rax
	jmp	.LBB1_71
.LBB1_70:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
.LBB1_71:                               # %._crit_edge239
	subq	%rcx, %rax
	sarq	$2, %rax
	movabsq	$-6148914691236517205, %rbx     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rbx
	testl	%ebx, %ebx
	jle	.LBB1_82
# %bb.72:                               # %.lr.ph242.preheader
	movl	%ebx, %eax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %r15
	xorl	%r13d, %r13d
.LBB1_73:                               # %.lr.ph242
                                        # =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax
	movl	(%rax,%r13), %esi
.Ltmp56:
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
.Ltmp57:
# %bb.74:                               #   in Loop: Header=BB1_73 Depth=1
.Ltmp58:
	movq	%rax, %r14
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp59:
# %bb.75:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB1_73 Depth=1
	movq	-112(%rbp), %rax
	movl	4(%rax,%r13), %esi
.Ltmp60:
	movq	%r14, %rdi
	callq	_ZNSolsEi
.Ltmp61:
# %bb.76:                               #   in Loop: Header=BB1_73 Depth=1
.Ltmp62:
	movq	%rax, %r14
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp63:
# %bb.77:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit161
                                        #   in Loop: Header=BB1_73 Depth=1
	movq	-112(%rbp), %rax
	movl	8(%rax,%r13), %esi
.Ltmp64:
	movq	%r14, %rdi
	callq	_ZNSolsEi
.Ltmp65:
# %bb.78:                               #   in Loop: Header=BB1_73 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp66:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp67:
# %bb.79:                               # %.noexc186
                                        #   in Loop: Header=BB1_73 Depth=1
.Ltmp68:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp69:
# %bb.80:                               # %.noexc187
                                        #   in Loop: Header=BB1_73 Depth=1
.Ltmp70:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp71:
# %bb.81:                               # %_ZNSolsEPFRSoS_E.exit
                                        #   in Loop: Header=BB1_73 Depth=1
	addq	$12, %r13
	cmpq	%r13, %r15
	jne	.LBB1_73
.LBB1_82:                               # %._crit_edge243
	movslq	%ebx, %r14
	shlq	$2, %r14
.Ltmp73:
	leaq	-216(%rbp), %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp74:
# %bb.83:                               # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit158
.Ltmp75:
	leaq	-208(%rbp), %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp76:
# %bb.84:                               # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit164
.Ltmp77:
	leaq	-200(%rbp), %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp78:
# %bb.85:                               # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit166.preheader
	testl	%ebx, %ebx
	jle	.LBB1_88
# %bb.86:                               # %.lr.ph245
	movq	-112(%rbp), %rax
	movq	-216(%rbp), %rcx
	movq	-208(%rbp), %rdx
	movq	-200(%rbp), %rsi
	movl	%ebx, %edi
	addq	$8, %rax
	xorl	%r8d, %r8d
.LBB1_87:                               # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit166
                                        # =>This Inner Loop Header: Depth=1
	movl	-8(%rax), %r9d
	movl	%r9d, (%rcx,%r8,4)
	movl	-4(%rax), %r9d
	movl	%r9d, (%rdx,%r8,4)
	movl	(%rax), %r9d
	movl	%r9d, (%rsi,%r8,4)
	incq	%r8
	addq	$12, %rax
	cmpq	%r8, %rdi
	jne	.LBB1_87
.LBB1_88:                               # %_ZL16hipMallocManagedIiE10hipError_tPPT_mj.exit166._crit_edge
	leal	511(%rbx), %eax
	leal	1022(%rbx), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$9, %edi
	btsq	$32, %rdi
.Ltmp80:
	movabsq	$4294967808, %rdx               # imm = 0x100000200
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp81:
# %bb.89:
	testl	%eax, %eax
	jne	.LBB1_91
# %bb.90:
	movq	-216(%rbp), %rsi
	movq	-208(%rbp), %rdx
	movq	-200(%rbp), %rcx
	movq	-80(%rbp), %r8
	movq	-48(%rbp), %rax
	movl	(%rax), %r9d
.Ltmp82:
	movl	%ebx, %edi
	callq	_Z18__device_stub__addiPiS_S_S_i
.Ltmp83:
.LBB1_91:
.Ltmp84:
	callq	hipDeviceSynchronize
.Ltmp85:
# %bb.92:                               # %.preheader207
	movq	-56(%rbp), %rax
	movq	-48(%rbp), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	imull	%ecx, %eax
	testl	%eax, %eax
	jle	.LBB1_100
# %bb.93:                               # %.lr.ph247.preheader
	xorl	%ebx, %ebx
.LBB1_94:                               # %.lr.ph247
                                        # =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	.LBB1_97
# %bb.95:                               #   in Loop: Header=BB1_94 Depth=1
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.LBB1_97
# %bb.96:                               #   in Loop: Header=BB1_94 Depth=1
.Ltmp87:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.2, %esi
	movl	$1, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp88:
.LBB1_97:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit172
                                        #   in Loop: Header=BB1_94 Depth=1
	movq	-80(%rbp), %rax
	movl	(%rax,%rbx,4), %esi
.Ltmp89:
	movl	$_ZSt4cout, %edi
	callq	_ZNSolsEi
.Ltmp90:
# %bb.98:                               #   in Loop: Header=BB1_94 Depth=1
.Ltmp91:
	movl	$.L.str, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp92:
# %bb.99:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit174
                                        #   in Loop: Header=BB1_94 Depth=1
	incq	%rbx
	movq	-56(%rbp), %rax
	movslq	(%rax), %rax
	movq	-48(%rbp), %rcx
	movslq	(%rcx), %rcx
	imulq	%rcx, %rax
	cmpq	%rax, %rbx
	jl	.LBB1_94
.LBB1_100:                              # %._crit_edge248
	movq	-112(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_102
# %bb.101:
	callq	_ZdlPv
.LBB1_102:                              # %_ZNSt6vectorI7ins_tabSaIS0_EED2Ev.exit
	movq	-320(%rbp), %rdi
	leaq	-304(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_104
# %bb.103:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i168
	callq	_ZdlPv
.LBB1_104:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit170
	testq	%r12, %r12
	je	.LBB1_109
# %bb.105:                              # %.preheader205.preheader
	shlq	$5, %r12
	movq	-72(%rbp), %rax                 # 8-byte Reload
	leaq	(%r12,%rax), %rbx
	addq	$-16, %rbx
	negq	%r12
.LBB1_106:                              # %.preheader205
                                        # =>This Inner Loop Header: Depth=1
	movq	-16(%rbx), %rdi
	cmpq	%rdi, %rbx
	je	.LBB1_108
# %bb.107:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i180
                                        #   in Loop: Header=BB1_106 Depth=1
	callq	_ZdlPv
.LBB1_108:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit182
                                        #   in Loop: Header=BB1_106 Depth=1
	addq	$-32, %rbx
	addq	$32, %r12
	jne	.LBB1_106
.LBB1_109:                              # %.loopexit206
	movq	-232(%rbp), %rsp                # 8-byte Reload
	leaq	-848(%rbp), %rdi
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa %rsp, 8
	retq
.LBB1_110:
	.cfi_def_cfa %rbp, 16
.Ltmp50:
	movl	$.L.str.3, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp51:
# %bb.111:
.LBB1_112:                              # %.critedge.i.i
.Ltmp48:
	movl	$.L.str.3, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp49:
# %bb.113:
.LBB1_114:
.Ltmp24:
	jmp	.LBB1_115
.LBB1_116:
.Ltmp86:
	jmp	.LBB1_129
.LBB1_117:
.Ltmp79:
	jmp	.LBB1_129
.LBB1_118:
.Ltmp19:
	jmp	.LBB1_119
.LBB1_120:
.Ltmp32:
	jmp	.LBB1_129
.LBB1_121:
.Ltmp35:
	jmp	.LBB1_129
.LBB1_122:
.Ltmp38:
	jmp	.LBB1_129
.LBB1_123:
.Ltmp16:
.LBB1_119:                              # %.loopexit
	movq	%rax, %r14
	jmp	.LBB1_149
.LBB1_124:
.Ltmp29:
.LBB1_115:
	movq	%rax, %r14
	jmp	.LBB1_142
.LBB1_125:
.Ltmp93:
	jmp	.LBB1_129
.LBB1_126:
.Ltmp41:
	movq	%rax, %r14
	jmp	.LBB1_139
.LBB1_127:
.Ltmp47:
	movq	%rax, %r14
	jmp	.LBB1_133
.LBB1_128:
.Ltmp72:
.LBB1_129:
	movq	%rax, %r14
	jmp	.LBB1_140
.LBB1_130:
.Ltmp44:
	jmp	.LBB1_136
.LBB1_131:
.Ltmp52:
	movq	%rax, %r14
	cmpl	$0, (%rbx)
	jne	.LBB1_133
# %bb.132:
	movl	%r13d, (%rbx)
.LBB1_133:                              # %.body
	movq	-160(%rbp), %rdi
	leaq	-144(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_137
# %bb.134:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i150
	callq	_ZdlPv
	jmp	.LBB1_137
.LBB1_135:
.Ltmp55:
.LBB1_136:
	movq	%rax, %r14
.LBB1_137:
	movq	-192(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_139
# %bb.138:
	callq	_ZdlPv
.LBB1_139:
	leaq	-288(%rbp), %rdi
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev
.LBB1_140:
	movq	-112(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_142
# %bb.141:
	callq	_ZdlPv
.LBB1_142:
	movq	-320(%rbp), %rdi
	leaq	-304(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_144
# %bb.143:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i177
	callq	_ZdlPv
.LBB1_144:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit179
	testq	%r12, %r12
	je	.LBB1_149
# %bb.145:                              # %.preheader.preheader
	shlq	$5, %r12
	movq	-72(%rbp), %rax                 # 8-byte Reload
	leaq	(%r12,%rax), %rbx
	addq	$-16, %rbx
	negq	%r12
.LBB1_146:                              # %.preheader
                                        # =>This Inner Loop Header: Depth=1
	movq	-16(%rbx), %rdi
	cmpq	%rdi, %rbx
	je	.LBB1_148
# %bb.147:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i183
                                        #   in Loop: Header=BB1_146 Depth=1
	callq	_ZdlPv
.LBB1_148:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit185
                                        #   in Loop: Header=BB1_146 Depth=1
	addq	$-32, %rbx
	addq	$32, %r12
	jne	.LBB1_146
.LBB1_149:                              # %.loopexit
	leaq	-848(%rbp), %rdi
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	main, .Lfunc_end1-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp13-.Ltmp0                 #   Call between .Ltmp0 and .Ltmp13
	.uleb128 .Ltmp19-.Lfunc_begin0          #     jumps to .Ltmp19
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp14-.Lfunc_begin0          # >> Call Site 3 <<
	.uleb128 .Ltmp15-.Ltmp14                #   Call between .Ltmp14 and .Ltmp15
	.uleb128 .Ltmp16-.Lfunc_begin0          #     jumps to .Ltmp16
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp17-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp18-.Ltmp17                #   Call between .Ltmp17 and .Ltmp18
	.uleb128 .Ltmp19-.Lfunc_begin0          #     jumps to .Ltmp19
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp20-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp23-.Ltmp20                #   Call between .Ltmp20 and .Ltmp23
	.uleb128 .Ltmp24-.Lfunc_begin0          #     jumps to .Ltmp24
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp25-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp28-.Ltmp25                #   Call between .Ltmp25 and .Ltmp28
	.uleb128 .Ltmp29-.Lfunc_begin0          #     jumps to .Ltmp29
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp30-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp31-.Ltmp30                #   Call between .Ltmp30 and .Ltmp31
	.uleb128 .Ltmp32-.Lfunc_begin0          #     jumps to .Ltmp32
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp33-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp34-.Ltmp33                #   Call between .Ltmp33 and .Ltmp34
	.uleb128 .Ltmp35-.Lfunc_begin0          #     jumps to .Ltmp35
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp36-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp37-.Ltmp36                #   Call between .Ltmp36 and .Ltmp37
	.uleb128 .Ltmp38-.Lfunc_begin0          #     jumps to .Ltmp38
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp39-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp40-.Ltmp39                #   Call between .Ltmp39 and .Ltmp40
	.uleb128 .Ltmp41-.Lfunc_begin0          #     jumps to .Ltmp41
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp42-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp43-.Ltmp42                #   Call between .Ltmp42 and .Ltmp43
	.uleb128 .Ltmp44-.Lfunc_begin0          #     jumps to .Ltmp44
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp45-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Ltmp46-.Ltmp45                #   Call between .Ltmp45 and .Ltmp46
	.uleb128 .Ltmp47-.Lfunc_begin0          #     jumps to .Ltmp47
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp53-.Lfunc_begin0          # >> Call Site 13 <<
	.uleb128 .Ltmp54-.Ltmp53                #   Call between .Ltmp53 and .Ltmp54
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp56-.Lfunc_begin0          # >> Call Site 14 <<
	.uleb128 .Ltmp71-.Ltmp56                #   Call between .Ltmp56 and .Ltmp71
	.uleb128 .Ltmp72-.Lfunc_begin0          #     jumps to .Ltmp72
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp73-.Lfunc_begin0          # >> Call Site 15 <<
	.uleb128 .Ltmp78-.Ltmp73                #   Call between .Ltmp73 and .Ltmp78
	.uleb128 .Ltmp79-.Lfunc_begin0          #     jumps to .Ltmp79
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp80-.Lfunc_begin0          # >> Call Site 16 <<
	.uleb128 .Ltmp85-.Ltmp80                #   Call between .Ltmp80 and .Ltmp85
	.uleb128 .Ltmp86-.Lfunc_begin0          #     jumps to .Ltmp86
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp87-.Lfunc_begin0          # >> Call Site 17 <<
	.uleb128 .Ltmp92-.Ltmp87                #   Call between .Ltmp87 and .Ltmp92
	.uleb128 .Ltmp93-.Lfunc_begin0          #     jumps to .Ltmp93
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp50-.Lfunc_begin0          # >> Call Site 18 <<
	.uleb128 .Ltmp49-.Ltmp50                #   Call between .Ltmp50 and .Ltmp49
	.uleb128 .Ltmp52-.Lfunc_begin0          #     jumps to .Ltmp52
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp49-.Lfunc_begin0          # >> Call Site 19 <<
	.uleb128 .Lfunc_end1-.Ltmp49            #   Call between .Ltmp49 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_,"axG",@progbits,_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_,comdat
	.weak	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_ # -- Begin function _ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_
	.p2align	1, 0x90
	.type	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_,@function
_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_: # @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	8(%rdi), %r12
	movl	$0, 8(%rdi)
	xorl	%eax, %eax
	movq	%rax, 16(%rdi)
	movq	%r12, 24(%rdi)
	movq	%r12, 32(%rdi)
	movq	%rax, 40(%rdi)
	movq	%rdi, 8(%rsp)
	testq	%rdx, %rdx
	je	.LBB2_4
# %bb.1:                                # %.lr.ph.i.preheader
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	%rdx, %r14
	leaq	8(%rsp), %r13
.LBB2_2:                                # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
.Ltmp94:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_
.Ltmp95:
# %bb.3:                                # %.noexc
                                        #   in Loop: Header=BB2_2 Depth=1
	addq	$2, %r15
	addq	$-2, %r14
	jne	.LBB2_2
.LBB2_4:                                # %.loopexit
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB2_5:
	.cfi_def_cfa_offset 64
.Ltmp96:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_, .Lfunc_end2-_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_,"aG",@progbits,_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEC2ESt16initializer_listIS4_ERKS1_RKS5_,comdat
	.p2align	2, 0x0
GCC_except_table2:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Ltmp94-.Lfunc_begin1          # >> Call Site 1 <<
	.uleb128 .Ltmp95-.Ltmp94                #   Call between .Ltmp94 and .Ltmp95
	.uleb128 .Ltmp96-.Lfunc_begin1          #     jumps to .Ltmp96
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp95-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Lfunc_end2-.Ltmp95            #   Call between .Ltmp95 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	16(%rdi), %rsi
.Ltmp97:
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E
.Ltmp98:
# %bb.1:
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB3_2:
	.cfi_def_cfa_offset 16
.Ltmp99:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end3:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev, .Lfunc_end3-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev,"aG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EED2Ev,comdat
	.p2align	2, 0x0
GCC_except_table3:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Ltmp97-.Lfunc_begin2          # >> Call Site 1 <<
	.uleb128 .Ltmp98-.Ltmp97                #   Call between .Ltmp97 and .Ltmp98
	.uleb128 .Ltmp99-.Lfunc_begin2          #     jumps to .Ltmp99
	.byte	1                               #   On action: 1
.Lcst_end2:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB4_4
# %bb.1:                                # %.lr.ph.preheader
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
.LBB4_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rsi
	movq	%rbx, %rdi
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E
	movq	16(%r14), %r15
	movq	%r14, %rdi
	callq	_ZdlPv
	movq	%r15, %r14
	testq	%r15, %r15
	jne	.LBB4_2
# %bb.3:
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r14
	.cfi_restore %r15
.LBB4_4:                                # %._crit_edge
	retq
.Lfunc_end4:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E, .Lfunc_end4-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end5:
	.size	__clang_call_terminate, .Lfunc_end5-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB6_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB6_3
.LBB6_1:                                # %._crit_edge
	movq	(%rbx), %rax
.LBB6_3:
	testq	%r14, %r14
	je	.LBB6_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB6_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB6_7
.LBB6_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB6_7:                                # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end6-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_,"axG",@progbits,_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_,comdat
	.weak	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_ # -- Begin function _ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
	.type	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_,@function
_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_: # @_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rdx, %rbx
	movq	%rsi, %r14
	callq	_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag
	cmpq	%r14, %rax
	je	.LBB7_5
# %bb.1:
	movq	%rax, %rcx
.LBB7_2:                                # =>This Inner Loop Header: Depth=1
	incq	%rcx
	cmpq	%r14, %rcx
	je	.LBB7_5
# %bb.3:                                # %.lr.ph
                                        #   in Loop: Header=BB7_2 Depth=1
	movb	(%rcx), %dl
	cmpb	(%rbx), %dl
	je	.LBB7_2
# %bb.4:                                #   in Loop: Header=BB7_2 Depth=1
	movb	%dl, (%rax)
	incq	%rax
	jmp	.LBB7_2
.LBB7_5:                                # %.loopexit
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_, .Lfunc_end7-_ZSt11__remove_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag,"axG",@progbits,_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag,comdat
	.weak	_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag # -- Begin function _ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag
	.type	_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag,@function
_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag: # @_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag
	.cfi_startproc
# %bb.0:
	movq	%rdi, %rax
	movq	%rsi, %rcx
	subq	%rdi, %rcx
	movq	%rcx, %rdi
	sarq	$2, %rdi
	testq	%rdi, %rdi
	jle	.LBB8_8
# %bb.1:                                # %.lr.ph
	movb	(%rdx), %r8b
	andq	$-4, %rcx
	addq	%rax, %rcx
	incq	%rdi
	addq	$3, %rax
.LBB8_2:                                # =>This Inner Loop Header: Depth=1
	cmpb	%r8b, -3(%rax)
	je	.LBB8_21
# %bb.3:                                #   in Loop: Header=BB8_2 Depth=1
	cmpb	%r8b, -2(%rax)
	je	.LBB8_19
# %bb.4:                                #   in Loop: Header=BB8_2 Depth=1
	cmpb	%r8b, -1(%rax)
	je	.LBB8_20
# %bb.5:                                #   in Loop: Header=BB8_2 Depth=1
	cmpb	%r8b, (%rax)
	je	.LBB8_22
# %bb.6:                                #   in Loop: Header=BB8_2 Depth=1
	decq	%rdi
	addq	$4, %rax
	cmpq	$1, %rdi
	jg	.LBB8_2
# %bb.7:                                # %._crit_edge.loopexit
	movq	%rcx, %rax
.LBB8_8:                                # %._crit_edge
	movq	%rsi, %rcx
	subq	%rax, %rcx
	cmpq	$3, %rcx
	je	.LBB8_14
# %bb.9:                                # %._crit_edge
	cmpq	$2, %rcx
	je	.LBB8_13
# %bb.10:                               # %._crit_edge
	cmpq	$1, %rcx
	jne	.LBB8_11
# %bb.12:                               # %._crit_edge._crit_edge57
	movb	(%rdx), %cl
	jmp	.LBB8_18
.LBB8_21:                               # %.loopexit.loopexit
	addq	$-3, %rax
	retq
.LBB8_19:                               # %.loopexit.loopexit.split.loop.exit
	addq	$-2, %rax
	retq
.LBB8_20:                               # %.loopexit.loopexit.split.loop.exit60
	decq	%rax
	retq
.LBB8_13:                               # %._crit_edge._crit_edge
	movb	(%rdx), %cl
	jmp	.LBB8_16
.LBB8_14:
	movb	(%rdx), %cl
	cmpb	%cl, (%rax)
	je	.LBB8_22
# %bb.15:
	incq	%rax
.LBB8_16:
	cmpb	%cl, (%rax)
	jne	.LBB8_17
.LBB8_22:                               # %.loopexit
	retq
.LBB8_11:
	movq	%rsi, %rax
	retq
.LBB8_17:
	incq	%rax
.LBB8_18:
	cmpb	%cl, (%rax)
	cmovneq	%rsi, %rax
	retq
.Lfunc_end8:
	.size	_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag, .Lfunc_end8-_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS0_5__ops16_Iter_equals_valIKcEEET_SE_SE_T0_St26random_access_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_ # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rdi, %r15
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	testq	%rdx, %rdx
	je	.LBB9_1
# %bb.2:
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rcx
	movq	%rbx, %r8
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_ # TAILCALL
.LBB9_1:
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end9:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_, .Lfunc_end9-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE17_M_insert_unique_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EOT_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_ # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %r14
	movq	%rdi, %r15
	leaq	8(%rdi), %rax
	cmpq	%rsi, %rax
	je	.LBB10_1
# %bb.4:
	movq	%rsi, %rbx
	movb	(%r14), %bpl
	movb	32(%rsi), %al
	cmpb	%al, %bpl
	jge	.LBB10_9
# %bb.5:
	cmpq	%rbx, 24(%r15)
	je	.LBB10_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
	cmpb	%bpl, 32(%rax)
	jge	.LBB10_14
# %bb.8:
	movq	%rax, %rcx
	movq	24(%rax), %rax
	testq	%rax, %rax
	cmovneq	%rbx, %rax
	cmoveq	%rcx, %rbx
	jmp	.LBB10_15
.LBB10_1:
	cmpq	$0, 40(%r15)
	je	.LBB10_14
# %bb.2:
	movq	32(%r15), %rbx
	movb	32(%rbx), %al
	cmpb	(%r14), %al
	jge	.LBB10_14
	jmp	.LBB10_3
.LBB10_9:
	jle	.LBB10_10
# %bb.11:
	cmpq	%rbx, 32(%r15)
	je	.LBB10_3
# %bb.12:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
	cmpb	32(%rax), %bpl
	jge	.LBB10_14
# %bb.13:
	movq	%rax, %rcx
	movq	24(%rbx), %rax
	testq	%rax, %rax
	cmovneq	%rcx, %rax
	cmovneq	%rcx, %rbx
	jmp	.LBB10_15
.LBB10_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_
	movq	%rdx, %rbx
	jmp	.LBB10_15
.LBB10_3:
	xorl	%eax, %eax
	jmp	.LBB10_15
.LBB10_10:
	movq	%rbx, %rax
	xorl	%ebx, %ebx
	jmp	.LBB10_15
.LBB10_6:
	movq	%rbx, %rax
.LBB10_15:
	movq	%rbx, %rdx
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end10:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_, .Lfunc_end10-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_ # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	pushq	%rax
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	8(%rdi), %r15
	movb	$1, %bpl
	testq	%rsi, %rsi
	jne	.LBB11_3
# %bb.1:
	cmpq	%r14, %r15
	je	.LBB11_3
# %bb.2:
	movb	(%r12), %al
	cmpb	32(%r14), %al
	setl	%bpl
.LBB11_3:
	movl	$40, %edi
	callq	_Znwm
	movq	%rax, %r13
	movzwl	(%r12), %eax
	movw	%ax, 32(%r13)
	movzbl	%bpl, %edi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
	incq	40(%rbx)
	movq	%r13, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end11:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_, .Lfunc_end11-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_M_insert_IRKS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSG_OT_RT0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_ # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %r14
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	.LBB12_1
# %bb.2:                                # %.lr.ph
	movb	(%r14), %cl
.LBB12_3:                               # =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movb	32(%rax), %dl
	xorl	%eax, %eax
	cmpb	%dl, %cl
	setge	%al
	movq	16(%rbx,%rax,8), %rax
	testq	%rax, %rax
	jne	.LBB12_3
# %bb.4:                                # %._crit_edge
	movq	%rbx, %rax
	cmpb	%dl, %cl
	jl	.LBB12_5
	jmp	.LBB12_8
.LBB12_1:
	leaq	8(%rdi), %rbx
.LBB12_5:                               # %._crit_edge.thread
	cmpq	24(%rdi), %rbx
	je	.LBB12_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
.LBB12_8:
	movb	32(%rax), %cl
	xorl	%edx, %edx
	cmpb	(%r14), %cl
	cmovlq	%rdx, %rax
	cmovgeq	%rdx, %rbx
	jmp	.LBB12_9
.LBB12_6:
	xorl	%eax, %eax
.LBB12_9:
	movq	%rbx, %rdx
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_, .Lfunc_end12-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE24_M_get_insert_unique_posERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_,"axG",@progbits,_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_,comdat
	.weak	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_ # -- Begin function _ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_
	.p2align	1, 0x90
	.type	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_,@function
_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_: # @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_
	.cfi_startproc
# %bb.0:
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rsi, %rdx
	movq	16(%rdi), %r8
	leaq	8(%rdi), %rsi
	testq	%r8, %r8
	je	.LBB13_5
# %bb.1:                                # %.lr.ph.i.i.i
	movb	(%rdx), %cl
	movq	%rsi, %rax
.LBB13_2:                               # =>This Inner Loop Header: Depth=1
	xorl	%r9d, %r9d
	cmpb	%cl, 32(%r8)
	setl	%r9b
	cmovgeq	%r8, %rax
	movq	16(%r8,%r9,8), %r8
	testq	%r8, %r8
	jne	.LBB13_2
# %bb.3:                                # %_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEE11lower_boundERS3_.exit
	cmpq	%rsi, %rax
	je	.LBB13_5
# %bb.4:
	movq	%rax, %rsi
	cmpb	32(%rax), %cl
	jge	.LBB13_6
.LBB13_5:                               # %.critedge
	leaq	16(%rsp), %rcx
	movq	%rdx, (%rcx)
	leaq	15(%rsp), %r8
	movl	$_ZSt19piecewise_construct, %edx
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_
.LBB13_6:
	addq	$33, %rax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end13:
	.size	_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_, .Lfunc_end13-_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$40, %edi
	callq	_Znwm
	movq	%rax, %rbx
	leaq	32(%rax), %rdx
	movq	(%r15), %rax
	movb	(%rax), %al
	movb	%al, 32(%rbx)
	movb	$0, 33(%rbx)
.Ltmp100:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_
.Ltmp101:
# %bb.1:
	movq	%rax, %r15
	testq	%rdx, %rdx
	je	.LBB14_5
# %bb.2:
.Ltmp102:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E
.Ltmp103:
# %bb.3:
	movq	%rax, %r15
	jmp	.LBB14_6
.LBB14_5:                               # %_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSB_E.exit
	movq	%rbx, %rdi
	callq	_ZdlPv
.LBB14_6:                               # %_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_Auto_nodeD2Ev.exit9
	movq	%r15, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB14_4:                               # %_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE10_Auto_nodeD2Ev.exit
	.cfi_def_cfa_offset 48
.Ltmp104:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ZdlPv
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end14:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_, .Lfunc_end14-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_,"aG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table14:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Lfunc_begin3-.Lfunc_begin3    # >> Call Site 1 <<
	.uleb128 .Ltmp100-.Lfunc_begin3         #   Call between .Lfunc_begin3 and .Ltmp100
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp100-.Lfunc_begin3         # >> Call Site 2 <<
	.uleb128 .Ltmp103-.Ltmp100              #   Call between .Ltmp100 and .Ltmp103
	.uleb128 .Ltmp104-.Lfunc_begin3         #     jumps to .Ltmp104
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp103-.Lfunc_begin3         # >> Call Site 3 <<
	.uleb128 .Lfunc_end14-.Ltmp103          #   Call between .Ltmp103 and .Lfunc_end14
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E,"axG",@progbits,_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E,comdat
	.weak	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E # -- Begin function _ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E,@function
_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E: # @_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rcx, %rbx
	movq	%rdi, %r14
	leaq	8(%rdi), %rcx
	movb	$1, %al
	testq	%rsi, %rsi
	jne	.LBB15_3
# %bb.1:
	cmpq	%rdx, %rcx
	je	.LBB15_3
# %bb.2:
	movb	32(%rbx), %al
	cmpb	32(%rdx), %al
	setl	%al
.LBB15_3:
	movzbl	%al, %edi
	movq	%rbx, %rsi
	callq	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
	incq	40(%r14)
	movq	%rbx, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end15:
	.size	_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E, .Lfunc_end15-_ZNSt8_Rb_treeIcSt4pairIKccESt10_Select1stIS2_ESt4lessIcESaIS2_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSA_PSt13_Rb_tree_nodeIS2_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_ # -- Begin function _ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,@function
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_: # @_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.5, %edx
	callq	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$2, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB16_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB16_3
.LBB16_1:
	xorl	%ebp, %ebp
.LBB16_3:                               # %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rbp,%r14,4)
	testq	%r12, %r12
	jle	.LBB16_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB16_5:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$4, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB16_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB16_7:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB16_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB16_9:                               # %_ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,4), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end16:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .Lfunc_end16-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc: # @_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$2305843009213693951, %rcx      # imm = 0x1FFFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$2, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB17_2
# %bb.1:
	cmpq	%rsi, %r8
	cmovaq	%r8, %rsi
	leaq	(%rsi,%r8), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%r8, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB17_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end17:
	.size	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc, .Lfunc_end17-_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIiE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIiE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIiE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIiE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIiE8allocateEmPKv,@function
_ZNSt15__new_allocatorIiE8allocateEmPKv: # @_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB18_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB18_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB18_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB18_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end18:
	.size	_ZNSt15__new_allocatorIiE8allocateEmPKv, .Lfunc_end18-_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.weak	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_ # -- Begin function _ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,@function
_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_: # @_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.5, %edx
	callq	_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc
	movq	%rax, %rsi
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %rax
	sarq	$2, %rax
	movabsq	$-6148914691236517205, %r14     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %r14
	testq	%rsi, %rsi
	movq	%rsi, 16(%rsp)                  # 8-byte Spill
	je	.LBB19_1
# %bb.2:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB19_3
.LBB19_1:
	xorl	%ebp, %ebp
.LBB19_3:                               # %_ZNSt12_Vector_baseI7ins_tabSaIS0_EE11_M_allocateEm.exit
	leaq	(%r14,%r14,2), %rax
	movq	(%rsp), %rdx                    # 8-byte Reload
	movl	8(%rdx), %ecx
	movl	%ecx, 8(%rbp,%rax,4)
	movq	(%rdx), %rcx
	movq	%rcx, (%rbp,%rax,4)
	testq	%r12, %r12
	jle	.LBB19_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB19_5:                               # %_ZNSt6vectorI7ins_tabSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit
	leaq	(%r12,%rbp), %r14
	addq	$12, %r14
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB19_7
# %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB19_7:                               # %_ZNSt6vectorI7ins_tabSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit16
	testq	%r13, %r13
	je	.LBB19_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB19_9:                               # %_ZNSt12_Vector_baseI7ins_tabSaIS0_EE13_M_deallocateEPS0_m.exit
	addq	%r15, %r14
	movq	%rbp, (%rbx)
	movq	%r14, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	leaq	(,%rax,4), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end19:
	.size	_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, .Lfunc_end19-_ZNSt6vectorI7ins_tabSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$768614336404564650, %rcx       # imm = 0xAAAAAAAAAAAAAAA
	movq	8(%rdi), %rax
	subq	(%rdi), %rax
	sarq	$2, %rax
	movabsq	$-6148914691236517205, %rdi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rdi
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	%rsi, %rax
	jb	.LBB20_2
# %bb.1:
	cmpq	%rsi, %rdi
	cmovaq	%rdi, %rsi
	leaq	(%rsi,%rdi), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%rdi, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB20_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end20:
	.size	_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc, .Lfunc_end20-_ZNKSt6vectorI7ins_tabSaIS0_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv,@function
_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv: # @_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jae	.LBB21_1
# %bb.3:
	shlq	$2, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB21_1:
	.cfi_def_cfa_offset 16
	movabsq	$1537228672809129302, %rax      # imm = 0x1555555555555556
	cmpq	%rax, %rsi
	jb	.LBB21_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB21_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end21:
	.size	_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv, .Lfunc_end21-_ZNSt15__new_allocatorI7ins_tabE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	jne	.LBB22_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rdi
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB22_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z3addiPiS_S_S_i, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end22:
	.size	__hip_module_ctor, .Lfunc_end22-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB23_2
# %bb.1:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__hipUnregisterFatBinary
	movq	$0, __hip_gpubin_handle(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
.LBB23_2:
	retq
.Lfunc_end23:
	.size	__hip_module_dtor, .Lfunc_end23-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z3addiPiS_S_S_i,@object        # @_Z3addiPiS_S_S_i
	.section	.rodata,"a",@progbits
	.globl	_Z3addiPiS_S_S_i
	.p2align	3, 0x0
_Z3addiPiS_S_S_i:
	.quad	_Z18__device_stub__addiPiS_S_S_i
	.size	_Z3addiPiS_S_S_i, 8

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	" "
	.size	.L.str, 2

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	", "
	.size	.L.str.1, 3

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"\n"
	.size	.L.str.2, 2

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"stoi"
	.size	.L.str.3, 5

	.type	_ZSt19piecewise_construct,@object # @_ZSt19piecewise_construct
	.section	.rodata._ZSt19piecewise_construct,"aG",@progbits,_ZSt19piecewise_construct,comdat
	.weak	_ZSt19piecewise_construct
_ZSt19piecewise_construct:
	.zero	1
	.size	_ZSt19piecewise_construct, 1

	.type	.L.str.5,@object                # @.str.5
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.5:
	.asciz	"vector::_M_realloc_insert"
	.size	.L.str.5, 26

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z3addiPiS_S_S_i"
	.size	.L__unnamed_1, 17

	.type	__hip_fatbin_wrapper,@object    # @__hip_fatbin_wrapper
	.section	.hipFatBinSegment,"a",@progbits
	.p2align	3, 0x0
__hip_fatbin_wrapper:
	.long	1212764230                      # 0x48495046
	.long	1                               # 0x1
	.quad	__hip_fatbin
	.quad	0
	.size	__hip_fatbin_wrapper, 24

	.type	__hip_gpubin_handle,@object     # @__hip_gpubin_handle
	.local	__hip_gpubin_handle
	.comm	__hip_gpubin_handle,8,8
	.section	.init_array,"aw",@init_array
	.p2align	3, 0x0
	.quad	__hip_module_ctor
	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym _Z18__device_stub__addiPiS_S_S_i
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z3addiPiS_S_S_i
	.addrsig_sym _ZSt4cout
	.addrsig_sym _ZSt19piecewise_construct
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z3addiPiS_S_S_i        ; -- Begin function _Z3addiPiS_S_S_i
	.globl	_Z3addiPiS_S_S_i
	.p2align	8
	.type	_Z3addiPiS_S_S_i,@function
_Z3addiPiS_S_S_i:                       ; @_Z3addiPiS_S_S_i
; %bb.0:
	s_clause 0x1
	s_load_b32 s3, s[0:1], 0x3c
	s_load_b32 s2, s[0:1], 0x0
	v_bfe_u32 v1, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s3, 16
	s_and_b32 s3, s3, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[2:3], null, s15, s4, v[1:2]
	v_and_b32_e32 v3, 0x3ff, v0
	v_mad_u64_u32 v[0:1], null, v2, s3, v[3:4]
	v_mov_b32_e32 v1, 0
	s_ashr_i32 s3, s2, 31
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_cmp_gt_u64_e32 vcc_lo, s[2:3], v[0:1]
	s_and_saveexec_b32 s2, vcc_lo
	s_cbranch_execz .LBB0_2
; %bb.1:
	s_load_b256 s[4:11], s[0:1], 0x8
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_load_b32 s0, s[0:1], 0x28
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v3, vcc_lo, s5, v1, vcc_lo
	v_add_co_u32 v4, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v5, vcc_lo, s7, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s8, v0
	global_load_b32 v3, v[2:3], off
	global_load_b32 v2, v[4:5], off
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v1, vcc_lo
	global_load_b32 v4, v[0:1], off
	s_waitcnt vmcnt(1)
	v_mad_u64_u32 v[0:1], null, v3, s0, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v1, 31, v0
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s10, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s11, v1, vcc_lo
	s_waitcnt vmcnt(0)
	global_atomic_add_u32 v[0:1], v4, off offset:-4
.LBB0_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z3addiPiS_S_S_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 304
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z3addiPiS_S_S_i, .Lfunc_end0-_Z3addiPiS_S_S_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 256
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         52
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         56
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         60
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         62
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         64
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         66
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         68
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         70
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         112
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 304
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z3addiPiS_S_S_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z3addiPiS_S_S_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
