#include <algorithm>
#include <iostream>
#include <vector>
#include <random>
#include <limits>
#include <cassert>
#include <string>
#include <sstream>

#define CHECK(call)                                                  \
{                                                                    \
    const cudaError_t error = call;                                  \
    std::stringstream ss;                                            \
    if (error != cudaSuccess)                                        \
    {                                                                \
        ss        << "CHECK cudaError_t: "                           \
                  << __FILE__                                        \
                  << "("                                             \
                  << __LINE__                                        \
                  << ")"                                             \
                  << ": "                                            \
                  << "Error"                                         \
                  << std::endl;                                      \
        ss        << "code: "                                        \
                  << error                                           \
                  << ", "                                            \
                  << "reason: "                                      \
                  << cudaGetErrorString(error)                       \
                  << std::endl;                                      \
        std::cerr << ss.str();                                       \
        /*std::exit(EXIT_FAILURE);*/                                 \
    }                                                                \
}

__global__
void tmp(long n, long a, long *y)
{
    long i = blockIdx.x*blockDim.x + threadIdx.x;
    if (i < n) y[i] = a + i;
    if (i == 0) y[256*1024 ] = a + i;
}

int main(void)
{
    CHECK(cudaGetLastError ());

    constexpr long K = 1;
    constexpr long N = 1<<5;
    constexpr long T = N;

    std::vector<cudaStream_t> stream(K);
    std::vector< std::vector<long> > h_y (K, std::vector<long>(N, -1));
    std::vector<long*> d_y(K);

    for (long i = 0; i < K; ++i) {
        size_t size_ = h_y[i].size() * sizeof(h_y[i][0]);
        CHECK(cudaMalloc(&d_y[i], size_));
        CHECK(cudaStreamCreate(&stream[i]));
    }

    for (long i = 0; i < K; ++i) {
        tmp<<<(N+T-1)/T, T, 0, stream[i]>>>(N, i, d_y[i]);
    }
    CHECK(cudaDeviceSynchronize());

    for (long i = 0; i < K; ++i) {
        size_t size_ = h_y[i].size() * sizeof(h_y[i][0]);
        CHECK(cudaMemcpy(h_y[i].data(), d_y[i], size_, cudaMemcpyDeviceToHost));
    }

    for (long j = 0; j < N; ++j) {
        for (long i = 0; i < K; ++i) {
            if (h_y[i][j] == (i + j)) {
            } else {
                std::cout << "NG:";
            }
            std::cout << h_y[i][j] << ", ";
        }
        std::cout << std::endl;
    }
    CHECK(cudaGetLastError ());
    return 0;
}

	.file	"tmpxft_0034d333_00000000-6_main.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4997:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4997:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0, @function
_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0:
.LFB6092:
	.cfi_startproc
	movq	8(%rsi), %rdx
	movq	(%rsi), %rsi
	jmp	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l@PLT
	.cfi_endproc
.LFE6092:
	.size	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0, .-_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB6093:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE6093:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.globl	_Z24__device_stub__Z3tmpllPlllPl
	.type	_Z24__device_stub__Z3tmpllPlllPl, @function
_Z24__device_stub__Z3tmpllPlllPl:
.LFB5019:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L4
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z3tmpllPl(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L4:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5019:
	.size	_Z24__device_stub__Z3tmpllPlllPl, .-_Z24__device_stub__Z3tmpllPlllPl
	.globl	_Z3tmpllPl
	.type	_Z3tmpllPl, @function
_Z3tmpllPl:
.LFB5020:
	.cfi_startproc
	endbr64
	jmp	_Z24__device_stub__Z3tmpllPlllPl
	.cfi_endproc
.LFE5020:
	.size	_Z3tmpllPl, .-_Z3tmpllPl
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z3tmpllPl"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB5022:
	.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	_Z3tmpllPl(%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
.LFE5022:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIP11CUstream_stSaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev
	.type	_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev, @function
_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev:
.LFB5364:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L12
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L12:
	ret
	.cfi_endproc
.LFE5364:
	.size	_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev, .-_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev
	.weak	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev
	.set	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev,_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev
	.section	.text._ZNSt6vectorIlSaIlEED2Ev,"axG",@progbits,_ZNSt6vectorIlSaIlEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIlSaIlEED2Ev
	.type	_ZNSt6vectorIlSaIlEED2Ev, @function
_ZNSt6vectorIlSaIlEED2Ev:
.LFB5376:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L14
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L14:
	ret
	.cfi_endproc
.LFE5376:
	.size	_ZNSt6vectorIlSaIlEED2Ev, .-_ZNSt6vectorIlSaIlEED2Ev
	.weak	_ZNSt6vectorIlSaIlEED1Ev
	.set	_ZNSt6vectorIlSaIlEED1Ev,_ZNSt6vectorIlSaIlEED2Ev
	.section	.text._ZNSt6vectorIPlSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorIPlSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIPlSaIS0_EED2Ev
	.type	_ZNSt6vectorIPlSaIS0_EED2Ev, @function
_ZNSt6vectorIPlSaIS0_EED2Ev:
.LFB5400:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L16
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L16:
	ret
	.cfi_endproc
.LFE5400:
	.size	_ZNSt6vectorIPlSaIS0_EED2Ev, .-_ZNSt6vectorIPlSaIS0_EED2Ev
	.weak	_ZNSt6vectorIPlSaIS0_EED1Ev
	.set	_ZNSt6vectorIPlSaIS0_EED1Ev,_ZNSt6vectorIPlSaIS0_EED2Ev
	.section	.text._ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev,"axG",@progbits,_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED5Ev,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev
	.type	_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev, @function
_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev:
.LFB5641:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L18
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L18:
	ret
	.cfi_endproc
.LFE5641:
	.size	_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev, .-_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev
	.weak	_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED1Ev
	.set	_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED1Ev,_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev
	.section	.text._ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IlSaIlEESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
	.type	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev, @function
_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev:
.LFB5388:
	.cfi_startproc
	endbr64
	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	8(%rdi), %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rbp
.L21:
	cmpq	%rbp, %r12
	je	.L24
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIlSaIlEED1Ev
	jmp	.L21
.L24:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev
	.cfi_endproc
.LFE5388:
	.size	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IlSaIlEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IlSaIlEESaIS1_EED1Ev,_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
	.section	.text._ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm,"axG",@progbits,_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm
	.type	_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm, @function
_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm:
.LFB5810:
	.cfi_startproc
	endbr64
	testq	%rsi, %rsi
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	0(,%rsi,8), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	je	.L29
	movabsq	$1152921504606846975, %rax
	cmpq	%rsi, %rax
	jnb	.L27
	movabsq	$2305843009213693951, %rax
	cmpq	%rsi, %rax
	jnb	.L28
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L28:
	call	_ZSt17__throw_bad_allocv@PLT
.L27:
	movq	%rbp, %rdi
	call	_Znwm@PLT
	jmp	.L26
.L29:
	xorl	%eax, %eax
.L26:
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5810:
	.size	_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm, .-_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_, @function
_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_:
.LFB6025:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA6025
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%rsi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%rdx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rdi, %rbx
.L32:
	testq	%r13, %r13
	je	.L44
	xorl	%eax, %eax
	movq	8(%r12), %rsi
	subq	(%r12), %rsi
	movq	%rbx, %rdi
	movq	%rax, (%rbx)
	sarq	$3, %rsi
	movq	%rax, 8(%rbx)
	movq	%rax, 16(%rbx)
.LEHB0:
	call	_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm
.LEHE0:
	movq	(%r12), %rsi
	movq	8(%r12), %r14
	movq	(%rbx), %rcx
	subq	%rsi, %r14
	cmpq	$8, %r14
	jle	.L33
	movq	%rcx, %rdi
	movq	%r14, %rdx
	call	memmove@PLT
	movq	%rax, %rcx
	jmp	.L34
.L33:
	jne	.L34
	movq	(%rsi), %rax
	movq	%rax, (%rcx)
.L34:
	addq	%r14, %rcx
	decq	%r13
	addq	$24, %rbx
	movq	%rcx, -16(%rbx)
	jmp	.L32
.L40:
	endbr64
	movq	%rax, %rdi
.L36:
	call	__cxa_begin_catch@PLT
.L37:
	cmpq	%rbp, %rbx
	je	.L45
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIlSaIlEED1Ev
	jmp	.L37
.L45:
.LEHB1:
	call	__cxa_rethrow@PLT
.LEHE1:
.L41:
	endbr64
	movq	%rax, %rbx
.L39:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L44:
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6025:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,comdat
	.align 4
.LLSDA6025:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT6025-.LLSDATTD6025
.LLSDATTD6025:
	.byte	0x1
	.uleb128 .LLSDACSE6025-.LLSDACSB6025
.LLSDACSB6025:
	.uleb128 .LEHB0-.LFB6025
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L40-.LFB6025
	.uleb128 0x1
	.uleb128 .LEHB1-.LFB6025
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L41-.LFB6025
	.uleb128 0
	.uleb128 .LEHB2-.LFB6025
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE6025:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT6025:
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,comdat
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_, .-_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_
	.section	.rodata.str1.1
.LC1:
	.string	"CHECK cudaError_t: "
.LC2:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/takata150802/cuda_segv_at_device/master/main.cu"
.LC3:
	.string	"("
.LC4:
	.string	")"
.LC5:
	.string	": "
.LC6:
	.string	"Error"
.LC7:
	.string	"code: "
.LC8:
	.string	", "
.LC9:
	.string	"reason: "
.LC10:
	.string	"NG:"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4994:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4994
	endbr64
	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	$552, %rsp
	.cfi_def_cfa_offset 608
	movq	%fs:40, %rax
	movq	%rax, 536(%rsp)
	xorl	%eax, %eax
.LEHB3:
	call	cudaGetLastError@PLT
	movl	%eax, %ebx
	leaq	144(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, (%rsp)
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev@PLT
.LEHE3:
	testl	%ebx, %ebx
	je	.L47
	leaq	160(%rsp), %rbp
	leaq	.LC1(%rip), %rsi
	movq	%rbp, %rdi
.LEHB4:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC2(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$45, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC6(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC7(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC8(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebx, %edi
	movq	%rax, %rbp
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	112(%rsp), %rbp
	leaq	168(%rsp), %rsi
	movq	%rbp, %rdi
	call	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv@PLT
.LEHE4:
	movq	%rbp, %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB5:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
.LEHE5:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L47:
	movq	(%rsp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	movl	$8, %edi
.LEHB6:
	call	_Znwm@PLT
.LEHE6:
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	movl	$32, %esi
	movq	%rax, %r12
	movq	%rax, 40(%rsp)
	leaq	8(%rax), %rax
	movq	%rdi, (%r12)
	movq	%rax, 56(%rsp)
	movq	%rax, 48(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, %rdi
	movq	%r8, 88(%rsp)
	movq	%r8, 96(%rsp)
	movq	%r8, 104(%rsp)
	movq	%rax, 8(%rsp)
.LEHB7:
	call	_ZNSt12_Vector_baseIlSaIlEE17_M_create_storageEm
.LEHE7:
	movq	88(%rsp), %rdx
	xorl	%eax, %eax
	leaq	256(%rdx), %rcx
.L48:
	movq	$-1, (%rdx,%rax)
	addq	$8, %rax
	cmpq	$256, %rax
	jne	.L48
	xorl	%esi, %esi
	movl	$24, %edi
	movq	%rcx, 96(%rsp)
	movq	%rsi, 72(%rsp)
	movq	%rsi, 80(%rsp)
.LEHB8:
	call	_Znwm@PLT
.LEHE8:
	movq	%rax, %rbx
	movq	8(%rsp), %rdx
	movq	%rax, 64(%rsp)
	movl	$1, %esi
	movq	%rax, 72(%rsp)
	movq	%rbx, %rdi
	leaq	24(%rax), %rax
	movq	%rax, 80(%rsp)
.LEHB9:
	call	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_
.LEHE9:
	movq	8(%rsp), %rdi
	movq	%rax, 72(%rsp)
	call	_ZNSt6vectorIlSaIlEED1Ev
	xorl	%ecx, %ecx
	movl	$8, %edi
	movq	%rcx, 96(%rsp)
	movq	%rcx, 104(%rsp)
.LEHB10:
	call	_Znwm@PLT
.LEHE10:
	movq	%rax, %rbp
	xorl	%edx, %edx
	movq	%rax, 88(%rsp)
	movq	8(%rbx), %rsi
	movq	%rdx, 0(%rbp)
	leaq	8(%rax), %rax
	subq	(%rbx), %rsi
	movq	%rbp, %rdi
	movq	%rax, 104(%rsp)
	movq	%rax, 96(%rsp)
.LEHB11:
	call	cudaMalloc@PLT
	jmp	.L129
.L98:
	endbr64
	movq	%rax, %rbx
.L50:
	leaq	64(%rsp), %rdi
	call	_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev
	jmp	.L51
.L129:
	movq	(%rsp), %rdi
	movl	%eax, %r14d
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev@PLT
.LEHE11:
	testl	%r14d, %r14d
	leaq	.LC8(%rip), %r13
	je	.L52
	leaq	160(%rsp), %r15
	leaq	.LC1(%rip), %rsi
	movq	%r15, %rdi
.LEHB12:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC2(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$57, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC6(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC7(%rip), %rsi
	movq	%r15, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%r14d, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	movq	%r13, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r14d, %edi
	movq	%rax, %r15
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%r15, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	112(%rsp), %r14
	leaq	168(%rsp), %rsi
	movq	%r14, %rdi
	call	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv@PLT
.LEHE12:
	movq	%r14, %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB13:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
.LEHE13:
	movq	%r14, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L52:
	movq	(%rsp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	movq	%r12, %rdi
.LEHB14:
	call	cudaStreamCreate@PLT
	movq	(%rsp), %rdi
	movl	%eax, %r14d
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev@PLT
.LEHE14:
	testl	%r14d, %r14d
	je	.L53
	leaq	160(%rsp), %r15
	leaq	.LC1(%rip), %rsi
	movq	%r15, %rdi
.LEHB15:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC2(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$58, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC6(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC7(%rip), %rsi
	movq	%r15, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%r14d, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	movq	%r13, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r14d, %edi
	movq	%rax, %r15
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%r15, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	112(%rsp), %r14
	leaq	168(%rsp), %rsi
	movq	%r14, %rdi
	call	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv@PLT
.LEHE15:
	movq	%r14, %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB16:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
.LEHE16:
	movq	%r14, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L53:
	movq	(%rsp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	movl	$134217729, %edx
	movq	(%r12), %r9
	movabsq	$4294967297, %rdi
	salq	$5, %rdx
	xorl	%r8d, %r8d
	movl	$1, %ecx
	movl	$1, %esi
	movq	%rdx, 28(%rsp)
	movl	$1, 36(%rsp)
	movq	%rdi, 16(%rsp)
	movl	$1, 24(%rsp)
.LEHB17:
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	je	.L54
.L56:
	call	cudaDeviceSynchronize@PLT
	movq	(%rsp), %rdi
	movl	%eax, %r12d
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev@PLT
	jmp	.L130
.L54:
	movq	0(%rbp), %rdx
	xorl	%esi, %esi
	movl	$32, %edi
	call	_Z24__device_stub__Z3tmpllPlllPl
.LEHE17:
	jmp	.L56
.L130:
	testl	%r12d, %r12d
	je	.L57
	leaq	160(%rsp), %r14
	leaq	.LC1(%rip), %rsi
	movq	%r14, %rdi
.LEHB18:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC2(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$64, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC6(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC7(%rip), %rsi
	movq	%r14, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%r12d, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	movq	%r13, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r12d, %edi
	movq	%rax, %r14
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%r14, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	112(%rsp), %r12
	leaq	168(%rsp), %rsi
	movq	%r12, %rdi
	call	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv@PLT
.LEHE18:
	movq	%r12, %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB19:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
.LEHE19:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L57:
	movq	(%rsp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	movq	(%rbx), %rdi
	movq	8(%rbx), %rdx
	movl	$2, %ecx
	movq	0(%rbp), %rsi
	subq	%rdi, %rdx
.LEHB20:
	call	cudaMemcpy@PLT
	movq	(%rsp), %rdi
	movl	%eax, %ebp
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev@PLT
.LEHE20:
	testl	%ebp, %ebp
	je	.L58
	leaq	160(%rsp), %r12
	leaq	.LC1(%rip), %rsi
	movq	%r12, %rdi
.LEHB21:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC2(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$68, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC6(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC7(%rip), %rsi
	movq	%r12, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebp, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	movq	%r13, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %r12
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%r12, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	112(%rsp), %rbp
	leaq	168(%rsp), %rsi
	movq	%rbp, %rdi
	call	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv@PLT
.LEHE21:
	movq	%rbp, %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB22:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
.LEHE22:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L58:
	movq	(%rsp), %rdi
	xorl	%ebp, %ebp
	leaq	_ZSt4cout(%rip), %r12
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
.L59:
	movq	(%rbx), %rax
	leaq	0(,%rbp,8), %r14
	cmpq	%rbp, (%rax,%rbp,8)
	je	.L61
	leaq	.LC10(%rip), %rsi
	movq	%r12, %rdi
.LEHB23:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.L61:
	movq	(%rbx), %rax
	movq	%r12, %rdi
	movq	(%rax,%r14), %rsi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	movq	%rax, %rdi
	movq	%r13, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	incq	%rbp
	cmpq	$32, %rbp
	jne	.L59
	call	cudaGetLastError@PLT
	movq	(%rsp), %rdi
	movl	%eax, %ebx
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev@PLT
.LEHE23:
	testl	%ebx, %ebx
	je	.L63
	leaq	160(%rsp), %rbp
	leaq	.LC1(%rip), %rsi
	movq	%rbp, %rdi
.LEHB24:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC2(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$81, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC6(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC7(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC8(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebx, %edi
	movq	%rax, %rbp
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbp, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	112(%rsp), %rbp
	leaq	168(%rsp), %rsi
	movq	%rbp, %rdi
	call	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv@PLT
.LEHE24:
	movq	%rbp, %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB25:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.isra.0
.LEHE25:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L63:
	movq	(%rsp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIPlSaIS0_EED1Ev
	leaq	64(%rsp), %rdi
	call	_ZNSt6vectorIS_IlSaIlEESaIS1_EED1Ev
	leaq	40(%rsp), %rdi
	call	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	je	.L81
	jmp	.L121
.L83:
	endbr64
	movq	%rax, %rbx
.L64:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L65
.L82:
	endbr64
	movq	%rax, %rbx
.L65:
	movq	(%rsp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L125
.L84:
	endbr64
	movq	%rax, %rbx
.L51:
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIlSaIlEED1Ev
	jmp	.L67
.L88:
	endbr64
	jmp	.L128
.L87:
	endbr64
	jmp	.L126
.L91:
	endbr64
.L128:
	movq	%rax, %rbx
.L71:
	movq	%r14, %rdi
	jmp	.L127
.L90:
	endbr64
	jmp	.L126
.L93:
	endbr64
	movq	%rax, %rbx
.L73:
	movq	%r12, %rdi
	jmp	.L127
.L92:
	endbr64
	jmp	.L126
.L95:
	endbr64
	movq	%rax, %rbx
.L75:
	movq	%rbp, %rdi
.L127:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L76
.L94:
	endbr64
.L126:
	movq	%rax, %rbx
.L76:
	movq	(%rsp), %rdi
	jmp	.L123
.L97:
	endbr64
	movq	%rax, %rbx
.L77:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L78
.L96:
	endbr64
	movq	%rax, %rbx
.L78:
	leaq	144(%rsp), %rdi
.L123:
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L70
.L89:
	endbr64
	movq	%rax, %rbx
.L70:
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIPlSaIS0_EED1Ev
	jmp	.L79
.L86:
	endbr64
	movq	%rax, %rbx
.L79:
	leaq	64(%rsp), %rdi
	call	_ZNSt6vectorIS_IlSaIlEESaIS1_EED1Ev
	jmp	.L67
.L85:
	endbr64
	movq	%rax, %rbx
.L67:
	leaq	40(%rsp), %rdi
	call	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev
.L125:
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L121
	movq	%rbx, %rdi
.LEHB26:
	call	_Unwind_Resume@PLT
.LEHE26:
.L121:
	call	__stack_chk_fail@PLT
.L81:
	addq	$552, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.LFE4994:
	.section	.gcc_except_table,"a",@progbits
.LLSDA4994:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4994-.LLSDACSB4994
.LLSDACSB4994:
	.uleb128 .LEHB3-.LFB4994
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB4994
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L82-.LFB4994
	.uleb128 0
	.uleb128 .LEHB5-.LFB4994
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L83-.LFB4994
	.uleb128 0
	.uleb128 .LEHB6-.LFB4994
	.uleb128 .LEHE6-.LEHB6
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB7-.LFB4994
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L85-.LFB4994
	.uleb128 0
	.uleb128 .LEHB8-.LFB4994
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L84-.LFB4994
	.uleb128 0
	.uleb128 .LEHB9-.LFB4994
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L98-.LFB4994
	.uleb128 0
	.uleb128 .LEHB10-.LFB4994
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L86-.LFB4994
	.uleb128 0
	.uleb128 .LEHB11-.LFB4994
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L89-.LFB4994
	.uleb128 0
	.uleb128 .LEHB12-.LFB4994
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L87-.LFB4994
	.uleb128 0
	.uleb128 .LEHB13-.LFB4994
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L88-.LFB4994
	.uleb128 0
	.uleb128 .LEHB14-.LFB4994
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L89-.LFB4994
	.uleb128 0
	.uleb128 .LEHB15-.LFB4994
	.uleb128 .LEHE15-.LEHB15
	.uleb128 .L90-.LFB4994
	.uleb128 0
	.uleb128 .LEHB16-.LFB4994
	.uleb128 .LEHE16-.LEHB16
	.uleb128 .L91-.LFB4994
	.uleb128 0
	.uleb128 .LEHB17-.LFB4994
	.uleb128 .LEHE17-.LEHB17
	.uleb128 .L89-.LFB4994
	.uleb128 0
	.uleb128 .LEHB18-.LFB4994
	.uleb128 .LEHE18-.LEHB18
	.uleb128 .L92-.LFB4994
	.uleb128 0
	.uleb128 .LEHB19-.LFB4994
	.uleb128 .LEHE19-.LEHB19
	.uleb128 .L93-.LFB4994
	.uleb128 0
	.uleb128 .LEHB20-.LFB4994
	.uleb128 .LEHE20-.LEHB20
	.uleb128 .L89-.LFB4994
	.uleb128 0
	.uleb128 .LEHB21-.LFB4994
	.uleb128 .LEHE21-.LEHB21
	.uleb128 .L94-.LFB4994
	.uleb128 0
	.uleb128 .LEHB22-.LFB4994
	.uleb128 .LEHE22-.LEHB22
	.uleb128 .L95-.LFB4994
	.uleb128 0
	.uleb128 .LEHB23-.LFB4994
	.uleb128 .LEHE23-.LEHB23
	.uleb128 .L89-.LFB4994
	.uleb128 0
	.uleb128 .LEHB24-.LFB4994
	.uleb128 .LEHE24-.LEHB24
	.uleb128 .L96-.LFB4994
	.uleb128 0
	.uleb128 .LEHB25-.LFB4994
	.uleb128 .LEHE25-.LEHB25
	.uleb128 .L97-.LFB4994
	.uleb128 0
	.uleb128 .LEHB26-.LFB4994
	.uleb128 .LEHE26-.LEHB26
	.uleb128 0
	.uleb128 0
.LLSDACSE4994:
	.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 <hip/hip_runtime.h>
#include <algorithm>
#include <iostream>
#include <vector>
#include <random>
#include <limits>
#include <cassert>
#include <string>
#include <sstream>

#define CHECK(call)                                                  \
{                                                                    \
    const hipError_t error = call;                                  \
    std::stringstream ss;                                            \
    if (error != hipSuccess)                                        \
    {                                                                \
        ss        << "CHECK cudaError_t: "                           \
                  << __FILE__                                        \
                  << "("                                             \
                  << __LINE__                                        \
                  << ")"                                             \
                  << ": "                                            \
                  << "Error"                                         \
                  << std::endl;                                      \
        ss        << "code: "                                        \
                  << error                                           \
                  << ", "                                            \
                  << "reason: "                                      \
                  << hipGetErrorString(error)                       \
                  << std::endl;                                      \
        std::cerr << ss.str();                                       \
        /*std::exit(EXIT_FAILURE);*/                                 \
    }                                                                \
}

__global__
void tmp(long n, long a, long *y)
{
    long i = blockIdx.x*blockDim.x + threadIdx.x;
    if (i < n) y[i] = a + i;
    if (i == 0) y[256*1024 ] = a + i;
}

int main(void)
{
    CHECK(hipGetLastError ());

    constexpr long K = 1;
    constexpr long N = 1<<5;
    constexpr long T = N;

    std::vector<hipStream_t> stream(K);
    std::vector< std::vector<long> > h_y (K, std::vector<long>(N, -1));
    std::vector<long*> d_y(K);

    for (long i = 0; i < K; ++i) {
        size_t size_ = h_y[i].size() * sizeof(h_y[i][0]);
        CHECK(hipMalloc(&d_y[i], size_));
        CHECK(hipStreamCreate(&stream[i]));
    }

    for (long i = 0; i < K; ++i) {
        tmp<<<(N+T-1)/T, T, 0, stream[i]>>>(N, i, d_y[i]);
    }
    CHECK(hipDeviceSynchronize());

    for (long i = 0; i < K; ++i) {
        size_t size_ = h_y[i].size() * sizeof(h_y[i][0]);
        CHECK(hipMemcpy(h_y[i].data(), d_y[i], size_, hipMemcpyDeviceToHost));
    }

    for (long j = 0; j < N; ++j) {
        for (long i = 0; i < K; ++i) {
            if (h_y[i][j] == (i + j)) {
            } else {
                std::cout << "NG:";
            }
            std::cout << h_y[i][j] << ", ";
        }
        std::cout << std::endl;
    }
    CHECK(hipGetLastError ());
    return 0;
}

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

                                        # End of file scope inline assembly
	.globl	_Z18__device_stub__tmpllPl      # -- Begin function _Z18__device_stub__tmpllPl
	.type	_Z18__device_stub__tmpllPl,@function
_Z18__device_stub__tmpllPl:             # @_Z18__device_stub__tmpllPl
	.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	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z3tmpllPl, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	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__tmpllPl, .Lfunc_end0-_Z18__device_stub__tmpllPl
	.cfi_endproc
                                        # -- End function
	.globl	main                            # -- Begin function 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
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$448, %rsp                      # imm = 0x1C0
	.cfi_def_cfa_offset 496
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	callq	hipGetLastError
	movl	%eax, %ebx
	leaq	56(%rsp), %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
	testl	%ebx, %ebx
	je	.LBB1_26
# %bb.1:
	leaq	72(%rsp), %r14
.Ltmp0:
	movl	$.L.str, %esi
	movl	$19, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp1:
# %bb.2:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
.Ltmp2:
	movl	$.L.str.1, %esi
	movl	$110, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp3:
# %bb.3:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit139
.Ltmp4:
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp5:
# %bb.4:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit140
.Ltmp6:
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_ZNSolsEi
.Ltmp7:
# %bb.5:
.Ltmp8:
	movq	%rax, %r15
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp9:
# %bb.6:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit141
.Ltmp10:
	movl	$.L.str.4, %esi
	movl	$2, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp11:
# %bb.7:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit142
.Ltmp12:
	movl	$.L.str.5, %esi
	movl	$5, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp13:
# %bb.8:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit143
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp14:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp15:
# %bb.9:                                # %.noexc355
.Ltmp16:
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
.Ltmp17:
# %bb.10:                               # %.noexc356
.Ltmp18:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp19:
# %bb.11:                               # %_ZNSolsEPFRSoS_E.exit
.Ltmp20:
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp21:
# %bb.12:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit144
.Ltmp22:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ZNSolsEi
.Ltmp23:
# %bb.13:
.Ltmp24:
	movq	%rax, %r14
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp25:
# %bb.14:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit145
.Ltmp26:
	movl	$.L.str.8, %esi
	movl	$8, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp27:
# %bb.15:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit146
.Ltmp28:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp29:
# %bb.16:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	.LBB1_18
# %bb.17:
	movq	%rbx, %rdi
	callq	strlen
.Ltmp30:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp31:
	jmp	.LBB1_19
.LBB1_18:
	movq	(%r14), %rax
	movq	-24(%rax), %rax
	movq	%r14, %rdi
	addq	%rax, %rdi
	movl	32(%r14,%rax), %esi
	orl	$1, %esi
.Ltmp32:
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.Ltmp33:
.LBB1_19:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit148
	movq	(%r14), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp34:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp35:
# %bb.20:                               # %.noexc358
.Ltmp36:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp37:
# %bb.21:                               # %.noexc359
.Ltmp38:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp39:
# %bb.22:                               # %_ZNSolsEPFRSoS_E.exit150
	leaq	80(%rsp), %rsi
.Ltmp41:
	movq	%rsp, %rdi
	callq	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv
.Ltmp42:
# %bb.23:                               # %_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv.exit
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdx
.Ltmp44:
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp45:
# %bb.24:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_26
# %bb.25:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB1_26:
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movl	$8, %edi
	callq	_Znwm
	movq	%rax, %rbx
	movq	$0, (%rax)
.Ltmp47:
	movl	$256, %edi                      # imm = 0x100
	callq	_Znwm
.Ltmp48:
# %bb.27:                               # %.noexc157
	leaq	56(%rsp), %r14
	movq	%rax, (%r14)
	movq	%rax, %r15
	addq	$256, %r15                      # imm = 0x100
	movq	%r15, 16(%r14)
	movl	$256, %edx                      # imm = 0x100
	movq	%rax, %rdi
	movl	$255, %esi
	callq	memset@PLT
	movq	%r15, 8(%r14)
.Ltmp50:
	leaq	32(%rsp), %rdi
	movq	%rsp, %rcx
	movl	$1, %esi
	movq	%r14, %rdx
	callq	_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_
.Ltmp51:
# %bb.28:
	movq	56(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_30
# %bb.29:
	callq	_ZdlPv
.LBB1_30:                               # %_ZNSt6vectorIlSaIlEED2Ev.exit
.Ltmp53:
	movl	$8, %edi
	callq	_Znwm
.Ltmp54:
# %bb.31:                               # %.critedge
	movq	%rax, %r14
	movq	$0, (%rax)
	movq	32(%rsp), %rax
	movq	8(%rax), %rsi
	subq	(%rax), %rsi
.Ltmp56:
	movq	%r14, %rdi
	callq	hipMalloc
.Ltmp57:
# %bb.32:                               # %_ZL9hipMallocIlE10hipError_tPPT_m.exit
.Ltmp59:
	movl	%eax, %ebp
	leaq	56(%rsp), %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
.Ltmp60:
# %bb.33:
	testl	%ebp, %ebp
	je	.LBB1_59
# %bb.34:
	leaq	72(%rsp), %r15
.Ltmp62:
	movl	$.L.str, %esi
	movl	$19, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp63:
# %bb.35:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit163
.Ltmp64:
	movl	$.L.str.1, %esi
	movl	$110, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp65:
# %bb.36:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit165
.Ltmp66:
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp67:
# %bb.37:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit167
.Ltmp68:
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_ZNSolsEi
.Ltmp69:
# %bb.38:
.Ltmp70:
	movq	%rax, %r12
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp71:
# %bb.39:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit169
.Ltmp72:
	movl	$.L.str.4, %esi
	movl	$2, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp73:
# %bb.40:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit171
.Ltmp74:
	movl	$.L.str.5, %esi
	movl	$5, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp75:
# %bb.41:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit173
	movq	(%r12), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp76:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp77:
# %bb.42:                               # %.noexc365
.Ltmp78:
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
.Ltmp79:
# %bb.43:                               # %.noexc366
.Ltmp80:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp81:
# %bb.44:                               # %_ZNSolsEPFRSoS_E.exit175
.Ltmp82:
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp83:
# %bb.45:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit177
.Ltmp84:
	movq	%r15, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp85:
# %bb.46:
.Ltmp86:
	movq	%rax, %r15
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp87:
# %bb.47:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit179
.Ltmp88:
	movl	$.L.str.8, %esi
	movl	$8, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp89:
# %bb.48:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit181
.Ltmp90:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp91:
# %bb.49:
	movq	%rax, %r12
	testq	%rax, %rax
	je	.LBB1_51
# %bb.50:
	movq	%r12, %rdi
	callq	strlen
.Ltmp92:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp93:
	jmp	.LBB1_52
.LBB1_51:
	movq	(%r15), %rax
	movq	-24(%rax), %rax
	movq	%r15, %rdi
	addq	%rax, %rdi
	movl	32(%r15,%rax), %esi
	orl	$1, %esi
.Ltmp94:
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.Ltmp95:
.LBB1_52:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit185
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp96:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp97:
# %bb.53:                               # %.noexc369
.Ltmp98:
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
.Ltmp99:
# %bb.54:                               # %.noexc370
.Ltmp100:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp101:
# %bb.55:                               # %_ZNSolsEPFRSoS_E.exit187
	leaq	80(%rsp), %rsi
.Ltmp103:
	movq	%rsp, %rdi
	callq	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv
.Ltmp104:
# %bb.56:                               # %_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv.exit189
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdx
.Ltmp106:
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp107:
# %bb.57:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit191
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_59
# %bb.58:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i192
	callq	_ZdlPv
.LBB1_59:
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.Ltmp109:
	movq	%rbx, %rdi
	callq	hipStreamCreate
.Ltmp110:
# %bb.60:
.Ltmp112:
	movl	%eax, %ebp
	leaq	56(%rsp), %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
.Ltmp113:
# %bb.61:
	testl	%ebp, %ebp
	je	.LBB1_87
# %bb.62:
	leaq	72(%rsp), %r15
.Ltmp115:
	movl	$.L.str, %esi
	movl	$19, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp116:
# %bb.63:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit199
.Ltmp117:
	movl	$.L.str.1, %esi
	movl	$110, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp118:
# %bb.64:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit201
.Ltmp119:
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp120:
# %bb.65:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit203
.Ltmp121:
	movq	%r15, %rdi
	movl	$60, %esi
	callq	_ZNSolsEi
.Ltmp122:
# %bb.66:
.Ltmp123:
	movq	%rax, %r12
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp124:
# %bb.67:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit205
.Ltmp125:
	movl	$.L.str.4, %esi
	movl	$2, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp126:
# %bb.68:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit207
.Ltmp127:
	movl	$.L.str.5, %esi
	movl	$5, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp128:
# %bb.69:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit209
	movq	(%r12), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp129:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp130:
# %bb.70:                               # %.noexc373
.Ltmp131:
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
.Ltmp132:
# %bb.71:                               # %.noexc374
.Ltmp133:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp134:
# %bb.72:                               # %_ZNSolsEPFRSoS_E.exit211
.Ltmp135:
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp136:
# %bb.73:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit213
.Ltmp137:
	movq	%r15, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp138:
# %bb.74:
.Ltmp139:
	movq	%rax, %r15
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp140:
# %bb.75:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit215
.Ltmp141:
	movl	$.L.str.8, %esi
	movl	$8, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp142:
# %bb.76:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit217
.Ltmp143:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp144:
# %bb.77:
	movq	%rax, %r12
	testq	%rax, %rax
	je	.LBB1_79
# %bb.78:
	movq	%r12, %rdi
	callq	strlen
.Ltmp145:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp146:
	jmp	.LBB1_80
.LBB1_79:
	movq	(%r15), %rax
	movq	-24(%rax), %rax
	movq	%r15, %rdi
	addq	%rax, %rdi
	movl	32(%r15,%rax), %esi
	orl	$1, %esi
.Ltmp147:
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.Ltmp148:
.LBB1_80:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit221
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp149:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp150:
# %bb.81:                               # %.noexc377
.Ltmp151:
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
.Ltmp152:
# %bb.82:                               # %.noexc378
.Ltmp153:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp154:
# %bb.83:                               # %_ZNSolsEPFRSoS_E.exit223
	leaq	80(%rsp), %rsi
.Ltmp156:
	movq	%rsp, %rdi
	callq	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv
.Ltmp157:
# %bb.84:                               # %_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv.exit225
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdx
.Ltmp159:
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp160:
# %bb.85:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit227
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_87
# %bb.86:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i228
	callq	_ZdlPv
.LBB1_87:                               # %.critedge134
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movq	(%rbx), %r9
.Ltmp162:
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	movabsq	$4294967328, %rdx               # imm = 0x100000020
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
.Ltmp163:
# %bb.88:
	testl	%eax, %eax
	jne	.LBB1_90
# %bb.89:
	movq	(%r14), %rdx
.Ltmp164:
	movl	$32, %edi
	xorl	%esi, %esi
	callq	_Z18__device_stub__tmpllPl
.Ltmp165:
.LBB1_90:
.Ltmp167:
	callq	hipDeviceSynchronize
.Ltmp168:
# %bb.91:
.Ltmp170:
	movl	%eax, %ebp
	leaq	56(%rsp), %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
.Ltmp171:
# %bb.92:
	testl	%ebp, %ebp
	je	.LBB1_118
# %bb.93:
	leaq	72(%rsp), %r15
.Ltmp173:
	movl	$.L.str, %esi
	movl	$19, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp174:
# %bb.94:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit235
.Ltmp175:
	movl	$.L.str.1, %esi
	movl	$110, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp176:
# %bb.95:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit237
.Ltmp177:
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp178:
# %bb.96:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit239
.Ltmp179:
	movq	%r15, %rdi
	movl	$66, %esi
	callq	_ZNSolsEi
.Ltmp180:
# %bb.97:
.Ltmp181:
	movq	%rax, %r12
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp182:
# %bb.98:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit241
.Ltmp183:
	movl	$.L.str.4, %esi
	movl	$2, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp184:
# %bb.99:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit243
.Ltmp185:
	movl	$.L.str.5, %esi
	movl	$5, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp186:
# %bb.100:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit245
	movq	(%r12), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp187:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp188:
# %bb.101:                              # %.noexc381
.Ltmp189:
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
.Ltmp190:
# %bb.102:                              # %.noexc382
.Ltmp191:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp192:
# %bb.103:                              # %_ZNSolsEPFRSoS_E.exit247
.Ltmp193:
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp194:
# %bb.104:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit249
.Ltmp195:
	movq	%r15, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp196:
# %bb.105:
.Ltmp197:
	movq	%rax, %r15
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp198:
# %bb.106:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit251
.Ltmp199:
	movl	$.L.str.8, %esi
	movl	$8, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp200:
# %bb.107:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit253
.Ltmp201:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp202:
# %bb.108:
	movq	%rax, %r12
	testq	%rax, %rax
	je	.LBB1_110
# %bb.109:
	movq	%r12, %rdi
	callq	strlen
.Ltmp203:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp204:
	jmp	.LBB1_111
.LBB1_110:
	movq	(%r15), %rax
	movq	-24(%rax), %rax
	movq	%r15, %rdi
	addq	%rax, %rdi
	movl	32(%r15,%rax), %esi
	orl	$1, %esi
.Ltmp205:
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.Ltmp206:
.LBB1_111:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit257
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp207:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp208:
# %bb.112:                              # %.noexc385
.Ltmp209:
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
.Ltmp210:
# %bb.113:                              # %.noexc386
.Ltmp211:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp212:
# %bb.114:                              # %_ZNSolsEPFRSoS_E.exit259
	leaq	80(%rsp), %rsi
.Ltmp214:
	movq	%rsp, %rdi
	callq	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv
.Ltmp215:
# %bb.115:                              # %_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv.exit261
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdx
.Ltmp217:
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp218:
# %bb.116:                              # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit263
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_118
# %bb.117:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i264
	callq	_ZdlPv
.LBB1_118:                              # %.critedge136
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movq	32(%rsp), %rax
	movq	(%rax), %rdi
	movq	8(%rax), %rdx
	subq	%rdi, %rdx
	movq	(%r14), %rsi
.Ltmp220:
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp221:
# %bb.119:
.Ltmp223:
	movl	%eax, %ebp
	leaq	56(%rsp), %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
.Ltmp224:
# %bb.120:
	testl	%ebp, %ebp
	je	.LBB1_146
# %bb.121:
	leaq	72(%rsp), %r15
.Ltmp226:
	movl	$.L.str, %esi
	movl	$19, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp227:
# %bb.122:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit271
.Ltmp228:
	movl	$.L.str.1, %esi
	movl	$110, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp229:
# %bb.123:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit273
.Ltmp230:
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp231:
# %bb.124:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit275
.Ltmp232:
	movq	%r15, %rdi
	movl	$70, %esi
	callq	_ZNSolsEi
.Ltmp233:
# %bb.125:
.Ltmp234:
	movq	%rax, %r12
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp235:
# %bb.126:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit277
.Ltmp236:
	movl	$.L.str.4, %esi
	movl	$2, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp237:
# %bb.127:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit279
.Ltmp238:
	movl	$.L.str.5, %esi
	movl	$5, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp239:
# %bb.128:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit281
	movq	(%r12), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp240:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp241:
# %bb.129:                              # %.noexc389
.Ltmp242:
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
.Ltmp243:
# %bb.130:                              # %.noexc390
.Ltmp244:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp245:
# %bb.131:                              # %_ZNSolsEPFRSoS_E.exit283
.Ltmp246:
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp247:
# %bb.132:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit285
.Ltmp248:
	movq	%r15, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp249:
# %bb.133:
.Ltmp250:
	movq	%rax, %r15
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp251:
# %bb.134:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit287
.Ltmp252:
	movl	$.L.str.8, %esi
	movl	$8, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp253:
# %bb.135:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit289
.Ltmp254:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp255:
# %bb.136:
	movq	%rax, %r12
	testq	%rax, %rax
	je	.LBB1_138
# %bb.137:
	movq	%r12, %rdi
	callq	strlen
.Ltmp256:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp257:
	jmp	.LBB1_139
.LBB1_138:
	movq	(%r15), %rax
	movq	-24(%rax), %rax
	movq	%r15, %rdi
	addq	%rax, %rdi
	movl	32(%r15,%rax), %esi
	orl	$1, %esi
.Ltmp258:
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.Ltmp259:
.LBB1_139:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit293
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp260:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp261:
# %bb.140:                              # %.noexc393
.Ltmp262:
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
.Ltmp263:
# %bb.141:                              # %.noexc394
.Ltmp264:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp265:
# %bb.142:                              # %_ZNSolsEPFRSoS_E.exit295
	leaq	80(%rsp), %rsi
.Ltmp267:
	movq	%rsp, %rdi
	callq	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv
.Ltmp268:
# %bb.143:                              # %_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv.exit297
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdx
.Ltmp270:
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp271:
# %bb.144:                              # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit299
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_146
# %bb.145:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i300
	callq	_ZdlPv
.LBB1_146:
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	xorl	%r15d, %r15d
	movl	$_ZSt4cout, %r12d
.LBB1_147:                              # =>This Inner Loop Header: Depth=1
	movq	32(%rsp), %rax
	movq	(%rax), %rax
	movq	%r15, %rsi
	cmpq	(%rax,%r15,8), %r15
	je	.LBB1_150
# %bb.148:                              #   in Loop: Header=BB1_147 Depth=1
.Ltmp273:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.9, %esi
	movl	$3, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp274:
# %bb.149:                              # %._ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit307_crit_edge
                                        #   in Loop: Header=BB1_147 Depth=1
	movq	32(%rsp), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rsi
.LBB1_150:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit307
                                        #   in Loop: Header=BB1_147 Depth=1
.Ltmp275:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp276:
# %bb.151:                              # %_ZNSolsEl.exit
                                        #   in Loop: Header=BB1_147 Depth=1
.Ltmp277:
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp278:
# %bb.152:                              # %.critedge138
                                        #   in Loop: Header=BB1_147 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp280:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp281:
# %bb.153:                              # %.noexc397
                                        #   in Loop: Header=BB1_147 Depth=1
.Ltmp282:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp283:
# %bb.154:                              # %.noexc398
                                        #   in Loop: Header=BB1_147 Depth=1
.Ltmp284:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp285:
# %bb.155:                              # %_ZNSolsEPFRSoS_E.exit312
                                        #   in Loop: Header=BB1_147 Depth=1
	incq	%r15
	cmpq	$32, %r15
	jne	.LBB1_147
# %bb.156:
.Ltmp287:
	callq	hipGetLastError
.Ltmp288:
# %bb.157:
.Ltmp290:
	movl	%eax, %ebp
	leaq	56(%rsp), %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
.Ltmp291:
# %bb.158:
	testl	%ebp, %ebp
	je	.LBB1_184
# %bb.159:
	leaq	72(%rsp), %r15
.Ltmp293:
	movl	$.L.str, %esi
	movl	$19, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp294:
# %bb.160:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit314
.Ltmp295:
	movl	$.L.str.1, %esi
	movl	$110, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp296:
# %bb.161:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit316
.Ltmp297:
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp298:
# %bb.162:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit318
.Ltmp299:
	movq	%r15, %rdi
	movl	$83, %esi
	callq	_ZNSolsEi
.Ltmp300:
# %bb.163:
.Ltmp301:
	movq	%rax, %r12
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp302:
# %bb.164:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit320
.Ltmp303:
	movl	$.L.str.4, %esi
	movl	$2, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp304:
# %bb.165:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit322
.Ltmp305:
	movl	$.L.str.5, %esi
	movl	$5, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp306:
# %bb.166:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit324
	movq	(%r12), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp307:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp308:
# %bb.167:                              # %.noexc401
.Ltmp309:
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
.Ltmp310:
# %bb.168:                              # %.noexc402
.Ltmp311:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp312:
# %bb.169:                              # %_ZNSolsEPFRSoS_E.exit326
.Ltmp313:
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp314:
# %bb.170:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit328
.Ltmp315:
	movq	%r15, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp316:
# %bb.171:
.Ltmp317:
	movq	%rax, %r15
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp318:
# %bb.172:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit330
.Ltmp319:
	movl	$.L.str.8, %esi
	movl	$8, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp320:
# %bb.173:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit332
.Ltmp321:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp322:
# %bb.174:
	movq	%rax, %r12
	testq	%rax, %rax
	je	.LBB1_176
# %bb.175:
	movq	%r12, %rdi
	callq	strlen
.Ltmp323:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp324:
	jmp	.LBB1_177
.LBB1_176:
	movq	(%r15), %rax
	movq	-24(%rax), %rax
	movq	%r15, %rdi
	addq	%rax, %rdi
	movl	32(%r15,%rax), %esi
	orl	$1, %esi
.Ltmp325:
	callq	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
.Ltmp326:
.LBB1_177:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit336
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp327:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp328:
# %bb.178:                              # %.noexc405
.Ltmp329:
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
.Ltmp330:
# %bb.179:                              # %.noexc406
.Ltmp331:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp332:
# %bb.180:                              # %_ZNSolsEPFRSoS_E.exit338
	leaq	80(%rsp), %rsi
.Ltmp334:
	movq	%rsp, %rdi
	callq	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv
.Ltmp335:
# %bb.181:                              # %_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv.exit340
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdx
.Ltmp337:
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp338:
# %bb.182:                              # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit342
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_184
# %bb.183:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i343
	callq	_ZdlPv
.LBB1_184:                              # %_ZNSt6vectorIP12ihipStream_tSaIS1_EED2Ev.exit
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movq	%r14, %rdi
	callq	_ZdlPv
	leaq	32(%rsp), %rdi
	callq	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
	movq	%rbx, %rdi
	callq	_ZdlPv
	xorl	%eax, %eax
	addq	$448, %rsp                      # imm = 0x1C0
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.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
.LBB1_185:
	.cfi_def_cfa_offset 496
.Ltmp339:
	jmp	.LBB1_194
.LBB1_186:
.Ltmp336:
	jmp	.LBB1_220
.LBB1_187:
.Ltmp272:
	jmp	.LBB1_194
.LBB1_188:
.Ltmp269:
	jmp	.LBB1_220
.LBB1_189:
.Ltmp219:
	jmp	.LBB1_194
.LBB1_190:
.Ltmp216:
	jmp	.LBB1_220
.LBB1_191:
.Ltmp161:
	jmp	.LBB1_194
.LBB1_192:
.Ltmp158:
	jmp	.LBB1_220
.LBB1_193:
.Ltmp108:
.LBB1_194:
	movq	%rax, %r15
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_221
# %bb.195:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i195
	callq	_ZdlPv
	jmp	.LBB1_221
.LBB1_196:
.Ltmp105:
	jmp	.LBB1_220
.LBB1_197:
.Ltmp46:
	movq	%rax, %r15
	leaq	16(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_224
# %bb.198:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i153
	callq	_ZdlPv
	jmp	.LBB1_224
.LBB1_199:
.Ltmp43:
	jmp	.LBB1_223
.LBB1_200:
.Ltmp292:
	jmp	.LBB1_227
.LBB1_201:
.Ltmp289:
	jmp	.LBB1_227
.LBB1_202:
.Ltmp225:
	jmp	.LBB1_227
.LBB1_203:
.Ltmp222:
	jmp	.LBB1_227
.LBB1_204:
.Ltmp172:
	jmp	.LBB1_227
.LBB1_205:
.Ltmp169:
	jmp	.LBB1_227
.LBB1_206:
.Ltmp114:
	jmp	.LBB1_227
.LBB1_207:
.Ltmp111:
	jmp	.LBB1_227
.LBB1_208:
.Ltmp61:
	jmp	.LBB1_227
.LBB1_209:
.Ltmp58:
	jmp	.LBB1_227
.LBB1_210:
.Ltmp55:
	movq	%rax, %r15
	jmp	.LBB1_229
.LBB1_211:
.Ltmp52:
	movq	%rax, %r15
	movq	56(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_230
# %bb.212:
	callq	_ZdlPv
	jmp	.LBB1_230
.LBB1_213:
.Ltmp49:
	movq	%rax, %r15
	jmp	.LBB1_230
.LBB1_214:
.Ltmp166:
	jmp	.LBB1_227
.LBB1_215:
.Ltmp333:
	jmp	.LBB1_220
.LBB1_216:
.Ltmp266:
	jmp	.LBB1_220
.LBB1_217:
.Ltmp213:
	jmp	.LBB1_220
.LBB1_218:
.Ltmp155:
	jmp	.LBB1_220
.LBB1_219:
.Ltmp102:
.LBB1_220:
	movq	%rax, %r15
.LBB1_221:
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	jmp	.LBB1_228
.LBB1_222:
.Ltmp40:
.LBB1_223:
	movq	%rax, %r15
.LBB1_224:
	leaq	56(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	184(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	jmp	.LBB1_231
.LBB1_225:
.Ltmp279:
	jmp	.LBB1_227
.LBB1_226:
.Ltmp286:
.LBB1_227:                              # %_ZNSt6vectorIPlSaIS0_EED2Ev.exit352
	movq	%rax, %r15
.LBB1_228:                              # %_ZNSt6vectorIPlSaIS0_EED2Ev.exit352
	movq	%r14, %rdi
	callq	_ZdlPv
.LBB1_229:
	leaq	32(%rsp), %rdi
	callq	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
.LBB1_230:                              # %_ZNSt6vectorIP12ihipStream_tSaIS1_EED2Ev.exit354
	movq	%rbx, %rdi
	callq	_ZdlPv
.LBB1_231:
	movq	%r15, %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 .Ltmp39-.Ltmp0                 #   Call between .Ltmp0 and .Ltmp39
	.uleb128 .Ltmp40-.Lfunc_begin0          #     jumps to .Ltmp40
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp41-.Lfunc_begin0          # >> Call Site 3 <<
	.uleb128 .Ltmp42-.Ltmp41                #   Call between .Ltmp41 and .Ltmp42
	.uleb128 .Ltmp43-.Lfunc_begin0          #     jumps to .Ltmp43
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp44-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp45-.Ltmp44                #   Call between .Ltmp44 and .Ltmp45
	.uleb128 .Ltmp46-.Lfunc_begin0          #     jumps to .Ltmp46
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp45-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp47-.Ltmp45                #   Call between .Ltmp45 and .Ltmp47
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp47-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp48-.Ltmp47                #   Call between .Ltmp47 and .Ltmp48
	.uleb128 .Ltmp49-.Lfunc_begin0          #     jumps to .Ltmp49
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp48-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp50-.Ltmp48                #   Call between .Ltmp48 and .Ltmp50
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp50-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp51-.Ltmp50                #   Call between .Ltmp50 and .Ltmp51
	.uleb128 .Ltmp52-.Lfunc_begin0          #     jumps to .Ltmp52
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp53-.Lfunc_begin0          # >> Call Site 9 <<
	.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 10 <<
	.uleb128 .Ltmp57-.Ltmp56                #   Call between .Ltmp56 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin0          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp60-.Ltmp59                #   Call between .Ltmp59 and .Ltmp60
	.uleb128 .Ltmp61-.Lfunc_begin0          #     jumps to .Ltmp61
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp62-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Ltmp101-.Ltmp62               #   Call between .Ltmp62 and .Ltmp101
	.uleb128 .Ltmp102-.Lfunc_begin0         #     jumps to .Ltmp102
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp103-.Lfunc_begin0         # >> Call Site 13 <<
	.uleb128 .Ltmp104-.Ltmp103              #   Call between .Ltmp103 and .Ltmp104
	.uleb128 .Ltmp105-.Lfunc_begin0         #     jumps to .Ltmp105
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp106-.Lfunc_begin0         # >> Call Site 14 <<
	.uleb128 .Ltmp107-.Ltmp106              #   Call between .Ltmp106 and .Ltmp107
	.uleb128 .Ltmp108-.Lfunc_begin0         #     jumps to .Ltmp108
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp109-.Lfunc_begin0         # >> Call Site 15 <<
	.uleb128 .Ltmp110-.Ltmp109              #   Call between .Ltmp109 and .Ltmp110
	.uleb128 .Ltmp111-.Lfunc_begin0         #     jumps to .Ltmp111
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp112-.Lfunc_begin0         # >> Call Site 16 <<
	.uleb128 .Ltmp113-.Ltmp112              #   Call between .Ltmp112 and .Ltmp113
	.uleb128 .Ltmp114-.Lfunc_begin0         #     jumps to .Ltmp114
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp115-.Lfunc_begin0         # >> Call Site 17 <<
	.uleb128 .Ltmp154-.Ltmp115              #   Call between .Ltmp115 and .Ltmp154
	.uleb128 .Ltmp155-.Lfunc_begin0         #     jumps to .Ltmp155
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp156-.Lfunc_begin0         # >> Call Site 18 <<
	.uleb128 .Ltmp157-.Ltmp156              #   Call between .Ltmp156 and .Ltmp157
	.uleb128 .Ltmp158-.Lfunc_begin0         #     jumps to .Ltmp158
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp159-.Lfunc_begin0         # >> Call Site 19 <<
	.uleb128 .Ltmp160-.Ltmp159              #   Call between .Ltmp159 and .Ltmp160
	.uleb128 .Ltmp161-.Lfunc_begin0         #     jumps to .Ltmp161
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp162-.Lfunc_begin0         # >> Call Site 20 <<
	.uleb128 .Ltmp165-.Ltmp162              #   Call between .Ltmp162 and .Ltmp165
	.uleb128 .Ltmp166-.Lfunc_begin0         #     jumps to .Ltmp166
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp167-.Lfunc_begin0         # >> Call Site 21 <<
	.uleb128 .Ltmp168-.Ltmp167              #   Call between .Ltmp167 and .Ltmp168
	.uleb128 .Ltmp169-.Lfunc_begin0         #     jumps to .Ltmp169
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp170-.Lfunc_begin0         # >> Call Site 22 <<
	.uleb128 .Ltmp171-.Ltmp170              #   Call between .Ltmp170 and .Ltmp171
	.uleb128 .Ltmp172-.Lfunc_begin0         #     jumps to .Ltmp172
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp173-.Lfunc_begin0         # >> Call Site 23 <<
	.uleb128 .Ltmp212-.Ltmp173              #   Call between .Ltmp173 and .Ltmp212
	.uleb128 .Ltmp213-.Lfunc_begin0         #     jumps to .Ltmp213
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp214-.Lfunc_begin0         # >> Call Site 24 <<
	.uleb128 .Ltmp215-.Ltmp214              #   Call between .Ltmp214 and .Ltmp215
	.uleb128 .Ltmp216-.Lfunc_begin0         #     jumps to .Ltmp216
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp217-.Lfunc_begin0         # >> Call Site 25 <<
	.uleb128 .Ltmp218-.Ltmp217              #   Call between .Ltmp217 and .Ltmp218
	.uleb128 .Ltmp219-.Lfunc_begin0         #     jumps to .Ltmp219
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp220-.Lfunc_begin0         # >> Call Site 26 <<
	.uleb128 .Ltmp221-.Ltmp220              #   Call between .Ltmp220 and .Ltmp221
	.uleb128 .Ltmp222-.Lfunc_begin0         #     jumps to .Ltmp222
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp223-.Lfunc_begin0         # >> Call Site 27 <<
	.uleb128 .Ltmp224-.Ltmp223              #   Call between .Ltmp223 and .Ltmp224
	.uleb128 .Ltmp225-.Lfunc_begin0         #     jumps to .Ltmp225
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp226-.Lfunc_begin0         # >> Call Site 28 <<
	.uleb128 .Ltmp265-.Ltmp226              #   Call between .Ltmp226 and .Ltmp265
	.uleb128 .Ltmp266-.Lfunc_begin0         #     jumps to .Ltmp266
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp267-.Lfunc_begin0         # >> Call Site 29 <<
	.uleb128 .Ltmp268-.Ltmp267              #   Call between .Ltmp267 and .Ltmp268
	.uleb128 .Ltmp269-.Lfunc_begin0         #     jumps to .Ltmp269
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp270-.Lfunc_begin0         # >> Call Site 30 <<
	.uleb128 .Ltmp271-.Ltmp270              #   Call between .Ltmp270 and .Ltmp271
	.uleb128 .Ltmp272-.Lfunc_begin0         #     jumps to .Ltmp272
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp273-.Lfunc_begin0         # >> Call Site 31 <<
	.uleb128 .Ltmp278-.Ltmp273              #   Call between .Ltmp273 and .Ltmp278
	.uleb128 .Ltmp279-.Lfunc_begin0         #     jumps to .Ltmp279
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp280-.Lfunc_begin0         # >> Call Site 32 <<
	.uleb128 .Ltmp285-.Ltmp280              #   Call between .Ltmp280 and .Ltmp285
	.uleb128 .Ltmp286-.Lfunc_begin0         #     jumps to .Ltmp286
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp287-.Lfunc_begin0         # >> Call Site 33 <<
	.uleb128 .Ltmp288-.Ltmp287              #   Call between .Ltmp287 and .Ltmp288
	.uleb128 .Ltmp289-.Lfunc_begin0         #     jumps to .Ltmp289
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp290-.Lfunc_begin0         # >> Call Site 34 <<
	.uleb128 .Ltmp291-.Ltmp290              #   Call between .Ltmp290 and .Ltmp291
	.uleb128 .Ltmp292-.Lfunc_begin0         #     jumps to .Ltmp292
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp293-.Lfunc_begin0         # >> Call Site 35 <<
	.uleb128 .Ltmp332-.Ltmp293              #   Call between .Ltmp293 and .Ltmp332
	.uleb128 .Ltmp333-.Lfunc_begin0         #     jumps to .Ltmp333
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp334-.Lfunc_begin0         # >> Call Site 36 <<
	.uleb128 .Ltmp335-.Ltmp334              #   Call between .Ltmp334 and .Ltmp335
	.uleb128 .Ltmp336-.Lfunc_begin0         #     jumps to .Ltmp336
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp337-.Lfunc_begin0         # >> Call Site 37 <<
	.uleb128 .Ltmp338-.Ltmp337              #   Call between .Ltmp337 and .Ltmp338
	.uleb128 .Ltmp339-.Lfunc_begin0         #     jumps to .Ltmp339
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp338-.Lfunc_begin0         # >> Call Site 38 <<
	.uleb128 .Lfunc_end1-.Ltmp338           #   Call between .Ltmp338 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_,"axG",@progbits,_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_,comdat
	.weak	_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_ # -- Begin function _ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_,@function
_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_: # @_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_
.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	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB2_9
# %bb.1:                                # %_ZNSt6vectorIS_IlSaIlEESaIS1_EE17_S_check_init_lenEmRKS2_.exit
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB2_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv
	movq	%rax, %rdi
	jmp	.LBB2_4
.LBB2_2:
	xorl	%edi, %edi
.LBB2_4:                                # %_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EEC2EmRKS3_.exit
	movq	%rdi, (%rbx)
	movq	%rdi, 8(%rbx)
	leaq	(%r15,%r15,2), %rax
	leaq	(%rdi,%rax,8), %rax
	movq	%rax, 16(%rbx)
.Ltmp340:
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_
.Ltmp341:
# %bb.5:
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB2_9:
	.cfi_def_cfa_offset 32
	movl	$.L.str.12, %edi
	callq	_ZSt20__throw_length_errorPKc
.LBB2_6:
.Ltmp342:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB2_8
# %bb.7:
	callq	_ZdlPv
.LBB2_8:                                # %_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev.exit
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_, .Lfunc_end2-_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_,"aG",@progbits,_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_,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 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp340-.Lfunc_begin1         #   Call between .Lfunc_begin1 and .Ltmp340
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp340-.Lfunc_begin1         # >> Call Site 2 <<
	.uleb128 .Ltmp341-.Ltmp340              #   Call between .Ltmp340 and .Ltmp341
	.uleb128 .Ltmp342-.Lfunc_begin1         #     jumps to .Ltmp342
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp341-.Lfunc_begin1         # >> Call Site 3 <<
	.uleb128 .Lfunc_end2-.Ltmp341           #   Call between .Ltmp341 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev # -- Begin function _ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev,@function
_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev:    # @_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
	.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	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB3_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB3_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB3_4
# %bb.3:                                #   in Loop: Header=BB3_2 Depth=1
	callq	_ZdlPv
.LBB3_4:                                # %_ZSt8_DestroyISt6vectorIlSaIlEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB3_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB3_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIlSaIlEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB3_6:                                # %_ZSt8_DestroyIPSt6vectorIlSaIlEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB3_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB3_7:                                # %_ZNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EED2Ev.exit
	.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_end3:
	.size	_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev, .Lfunc_end3-_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev
	.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_end4:
	.size	__clang_call_terminate, .Lfunc_end4-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIlE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIlE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIlE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIlE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIlE8allocateEmPKv,@function
_ZNSt15__new_allocatorIlE8allocateEmPKv: # @_ZNSt15__new_allocatorIlE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB5_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB5_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB5_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB5_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end5:
	.size	_ZNSt15__new_allocatorIlE8allocateEmPKv, .Lfunc_end5-_ZNSt15__new_allocatorIlE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB6_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB6_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB6_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB6_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end6:
	.size	_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv, .Lfunc_end6-_ZNSt15__new_allocatorISt6vectorIlSaIlEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_ # -- Begin function _ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,@function
_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_: # @_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %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	%rdi, %rbx
	testq	%rsi, %rsi
	je	.LBB7_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r14
	movq	%rsi, %r15
	xorl	%r12d, %r12d
.LBB7_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r12), %rdi
.Ltmp343:
	movq	%r14, %rsi
	callq	_ZNSt6vectorIlSaIlEEC2ERKS1_
.Ltmp344:
# %bb.3:                                # %_ZSt10_ConstructISt6vectorIlSaIlEEJRKS2_EEvPT_DpOT0_.exit
                                        #   in Loop: Header=BB7_2 Depth=1
	addq	$24, %r12
	decq	%r15
	jne	.LBB7_2
# %bb.4:                                # %._crit_edge.loopexit
	addq	%r12, %rbx
.LBB7_5:                                # %._crit_edge
	movq	%rbx, %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
.LBB7_6:
	.cfi_def_cfa_offset 48
.Ltmp345:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r12, %r12
	je	.LBB7_10
.LBB7_7:                                # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB7_9
# %bb.8:                                #   in Loop: Header=BB7_7 Depth=1
	callq	_ZdlPv
.LBB7_9:                                # %_ZSt8_DestroyISt6vectorIlSaIlEEEvPT_.exit.i.i
                                        #   in Loop: Header=BB7_7 Depth=1
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB7_7
.LBB7_10:                               # %_ZSt8_DestroyIPSt6vectorIlSaIlEEEvT_S4_.exit
.Ltmp346:
	callq	__cxa_rethrow
.Ltmp347:
# %bb.14:
.LBB7_11:
.Ltmp348:
	movq	%rax, %rbx
.Ltmp349:
	callq	__cxa_end_catch
.Ltmp350:
# %bb.12:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB7_13:
.Ltmp351:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end7:
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_, .Lfunc_end7-_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_
	.cfi_endproc
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIlSaIlEEmS2_ET_S4_T0_RKT1_,comdat
	.p2align	2, 0x0
GCC_except_table7:
.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 .Ltmp343-.Lfunc_begin2         # >> Call Site 1 <<
	.uleb128 .Ltmp344-.Ltmp343              #   Call between .Ltmp343 and .Ltmp344
	.uleb128 .Ltmp345-.Lfunc_begin2         #     jumps to .Ltmp345
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp344-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp346-.Ltmp344              #   Call between .Ltmp344 and .Ltmp346
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp346-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Ltmp347-.Ltmp346              #   Call between .Ltmp346 and .Ltmp347
	.uleb128 .Ltmp348-.Lfunc_begin2         #     jumps to .Ltmp348
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp349-.Lfunc_begin2         # >> Call Site 4 <<
	.uleb128 .Ltmp350-.Ltmp349              #   Call between .Ltmp349 and .Ltmp350
	.uleb128 .Ltmp351-.Lfunc_begin2         #     jumps to .Ltmp351
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp350-.Lfunc_begin2         # >> Call Site 5 <<
	.uleb128 .Lfunc_end7-.Ltmp350           #   Call between .Ltmp350 and .Lfunc_end7
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.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._ZNSt6vectorIlSaIlEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIlSaIlEEC2ERKS1_,comdat
	.weak	_ZNSt6vectorIlSaIlEEC2ERKS1_    # -- Begin function _ZNSt6vectorIlSaIlEEC2ERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIlSaIlEEC2ERKS1_,@function
_ZNSt6vectorIlSaIlEEC2ERKS1_:           # @_ZNSt6vectorIlSaIlEEC2ERKS1_
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r12
	subq	%rcx, %r12
	sarq	$3, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB8_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIlE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB8_3
.LBB8_1:
	xorl	%r15d, %r15d
.LBB8_3:
	movq	%r15, (%rbx)
	movq	%r15, 8(%rbx)
	leaq	(%r15,%r12,8), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rsi
	movq	8(%r14), %r14
	subq	%rsi, %r14
	cmpq	$9, %r14
	jl	.LBB8_5
# %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB8_7:
	addq	%r14, %r15
	movq	%r15, 8(%rbx)
	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
.LBB8_5:
	.cfi_def_cfa_offset 48
	cmpq	$8, %r14
	jne	.LBB8_7
# %bb.6:
	movq	(%rsi), %rax
	movq	%rax, (%r15)
	jmp	.LBB8_7
.Lfunc_end8:
	.size	_ZNSt6vectorIlSaIlEEC2ERKS1_, .Lfunc_end8-_ZNSt6vectorIlSaIlEEC2ERKS1_
	.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	.LBB9_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rdi
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB9_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z3tmpllPl, %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_end9:
	.size	__hip_module_ctor, .Lfunc_end9-__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	.LBB10_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
.LBB10_2:
	retq
.Lfunc_end10:
	.size	__hip_module_dtor, .Lfunc_end10-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z3tmpllPl,@object              # @_Z3tmpllPl
	.section	.rodata,"a",@progbits
	.globl	_Z3tmpllPl
	.p2align	3, 0x0
_Z3tmpllPl:
	.quad	_Z18__device_stub__tmpllPl
	.size	_Z3tmpllPl, 8

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

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/takata150802/cuda_segv_at_device/master/main.hip"
	.size	.L.str.1, 111

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

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

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

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"Error"
	.size	.L.str.5, 6

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"code: "
	.size	.L.str.6, 7

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

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"reason: "
	.size	.L.str.8, 9

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"NG:"
	.size	.L.str.9, 4

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"cannot create std::vector larger than max_size()"
	.size	.L.str.12, 49

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z3tmpllPl"
	.size	.L__unnamed_1, 11

	.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__tmpllPl
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z3tmpllPl
	.addrsig_sym _ZSt4cerr
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z3tmpllPl              ; -- Begin function _Z3tmpllPl
	.globl	_Z3tmpllPl
	.p2align	8
	.type	_Z3tmpllPl,@function
_Z3tmpllPl:                             ; @_Z3tmpllPl
; %bb.0:
	s_clause 0x2
	s_load_b32 s2, s[0:1], 0x24
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	v_mov_b32_e32 v2, 0
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_i64_e64 s[4:5], v[1:2]
	s_cbranch_execz .LBB0_2
; %bb.1:
	v_lshlrev_b64 v[2:3], 3, v[1:2]
	v_add_co_u32 v4, s3, v1, s6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e64 v5, null, 0, s7, s3
	v_add_co_u32 v2, vcc_lo, s0, v2
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	global_store_b64 v[2:3], v[4:5], off
.LBB0_2:
	s_or_b32 exec_lo, exec_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s2, exec_lo
	v_cmpx_eq_u32_e32 0, v1
	s_cbranch_execz .LBB0_4
; %bb.3:
	v_mov_b32_e32 v0, s6
	v_dual_mov_b32 v2, 0x200000 :: v_dual_mov_b32 v1, s7
	global_store_b64 v2, v[0:1], s[0:1]
.LBB0_4:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z3tmpllPl
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.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 0
		.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	_Z3tmpllPl, .Lfunc_end0-_Z3tmpllPl
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 180
; 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 : 0
; 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: 0
	.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:           8
        .value_kind:     by_value
      - .offset:         8
        .size:           8
        .value_kind:     by_value
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z3tmpllPl
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z3tmpllPl.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
