// active_contour.cu
// Multi-GPU implementation of a basic image segmentation using active contour model
// Optimized for register usage and targeting NVIDIA Hopper architecture

#include <iostream>
#include <cuda_runtime.h>
#include <vector>

#define CHECK(call)                                                            \
{                                                                              \
    const cudaError_t error = call;                                            \
    if (error != cudaSuccess)                                                  \
    {                                                                          \
        std::cerr << "Error: " << cudaGetErrorString(error) << " (" << error << ") at " \
                  << __FILE__ << ":" << __LINE__ << std::endl;                   \
        exit(EXIT_FAILURE);                                                    \
    }                                                                          \
}

// Kernel to update the active contour
__global__ void updateContourKernel(float* contour, const float* image, int width, int height, float alpha, float beta) {
    int idx = blockIdx.x * blockDim.x + threadIdx.x;
    int idy = blockIdx.y * blockDim.y + threadIdx.y;

    if (idx >= width || idy >= height) return;

    int index = idy * width + idx;

    // Simple gradient descent for contour evolution
    // This is a very basic example and should be replaced with a more sophisticated method for real applications
    float gradX = (image[index + 1] - image[index - 1]) / 2.0f;
    float gradY = (image[index + width] - image[index - width]) / 2.0f;

    float internalEnergy = alpha * (gradX * gradX + gradY * gradY);
    float externalEnergy = beta * (image[index] - 0.5f); // Simple thresholding

    // Update contour position based on energy
    contour[index] += internalEnergy - externalEnergy;
}

// Multi-GPU function to perform active contour segmentation
void multiGPUActiveContour(float* h_image, float* h_contour, int width, int height, int numDevices, float alpha, float beta) {
    std::vector<cudaStream_t> streams(numDevices);
    std::vector<float*> d_contour(numDevices);
    std::vector<float*> d_image(numDevices);
    std::vector<int> deviceIDs(numDevices);

    // Get available devices
    for (int i = 0; i < numDevices; ++i) {
        CHECK(cudaGetDevice(&deviceIDs[i]));
        CHECK(cudaSetDevice(deviceIDs[i]));
        CHECK(cudaStreamCreate(&streams[i]));
        CHECK(cudaMalloc(&d_contour[i], width * height * sizeof(float)));
        CHECK(cudaMalloc(&d_image[i], width * height * sizeof(float)));
        CHECK(cudaMemcpy(d_image[i], h_image, width * height * sizeof(float), cudaMemcpyHostToDevice));
        CHECK(cudaMemcpy(d_contour[i], h_contour, width * height * sizeof(float), cudaMemcpyHostToDevice));
    }

    dim3 blockSize(16, 16);
    dim3 gridSize((width + blockSize.x - 1) / blockSize.x, (height + blockSize.y - 1) / blockSize.y);

    // Launch kernels on each device
    for (int i = 0; i < numDevices; ++i) {
        CHECK(cudaSetDevice(deviceIDs[i]));
        updateContourKernel<<<gridSize, blockSize, 0, streams[i]>>>(d_contour[i], d_image[i], width, height, alpha, beta);
    }

    // Synchronize and copy results back
    for (int i = 0; i < numDevices; ++i) {
        CHECK(cudaSetDevice(deviceIDs[i]));
        CHECK(cudaMemcpyAsync(h_contour, d_contour[i], width * height * sizeof(float), cudaMemcpyDeviceToHost, streams[i]));
        CHECK(cudaStreamDestroy(streams[i]));
        CHECK(cudaFree(d_contour[i]));
        CHECK(cudaFree(d_image[i]));
    }

    // Ensure all operations are complete
    CHECK(cudaDeviceSynchronize());
}

int main() {
    int width = 256;
    int height = 256;
    int numDevices = 1; // Change this to use multiple GPUs
    float alpha = 0.1f;
    float beta = 0.1f;

    // Initialize image and contour data
    float* h_image = new float[width * height];
    float* h_contour = new float[width * height];

    // Fill image with dummy data (e.g., a simple gradient)
    for (int i = 0; i < height; ++i) {
        for (int j = 0; j < width; ++j) {
            h_image[i * width + j] = static_cast<float>(i + j) / (width + height);
            h_contour[i * width + j] = 0.0f;
        }
    }

    // Perform active contour segmentation
    multiGPUActiveContour(h_image, h_contour, width, height, numDevices, alpha, beta);

    // Output result (for demonstration purposes)
    for (int i = 0; i < 10; ++i) {
        for (int j = 0; j < 10; ++j) {
            std::cout << h_contour[i * width + j] << " ";
        }
        std::cout << std::endl;
    }

    // Clean up
    delete[] h_image;
    delete[] h_contour;

    return 0;
}
	.file	"tmpxft_0014a7db_00000000-6_cuda_code_046559.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4002:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4002:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB4875:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE4875:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.globl	_Z46__device_stub__Z19updateContourKernelPfPKfiiffPfPKfiiff
	.type	_Z46__device_stub__Z19updateContourKernelPfPKfiiffPfPKfiiff, @function
_Z46__device_stub__Z19updateContourKernelPfPKfiiffPfPKfiiff:
.LFB4024:
	.cfi_startproc
	endbr64
	subq	$168, %rsp
	.cfi_def_cfa_offset 176
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movl	%ecx, 8(%rsp)
	leaq	48(%rsp), %rcx
	movss	%xmm0, 4(%rsp)
	movss	%xmm1, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	4(%rsp), %rax
	movq	%rax, 136(%rsp)
	movq	%rsp, %rax
	movq	%rax, 144(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L3
	pushq	48(%rsp)
	.cfi_def_cfa_offset 184
	leaq	_Z19updateContourKernelPfPKfiiff(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 192
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	120(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 184
	popq	%rdx
	.cfi_def_cfa_offset 176
.L3:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	addq	$168, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4024:
	.size	_Z46__device_stub__Z19updateContourKernelPfPKfiiffPfPKfiiff, .-_Z46__device_stub__Z19updateContourKernelPfPKfiiffPfPKfiiff
	.globl	_Z19updateContourKernelPfPKfiiff
	.type	_Z19updateContourKernelPfPKfiiff, @function
_Z19updateContourKernelPfPKfiiff:
.LFB4025:
	.cfi_startproc
	endbr64
	jmp	_Z46__device_stub__Z19updateContourKernelPfPKfiiffPfPKfiiff
	.cfi_endproc
.LFE4025:
	.size	_Z19updateContourKernelPfPKfiiff, .-_Z19updateContourKernelPfPKfiiff
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z19updateContourKernelPfPKfiiff"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4027:
	.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	_Z19updateContourKernelPfPKfiiff(%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
.LFE4027:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.rodata._ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_.str1.1,"aMS",@progbits,1
.LC1:
	.string	"cannot create std::vector larger than max_size()"
	.section	.text._ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_,"axG",@progbits,_ZNSt6vectorIP11CUstream_stSaIS1_EEC5EmRKS2_,comdat
	.align 2
	.weak	_ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_
	.type	_ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_, @function
_ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_:
.LFB4334:
	.cfi_startproc
	endbr64
	movabsq	$1152921504606846975, %rax
	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
	cmpq	%rsi, %rax
	jnb	.L12
	leaq	.LC1(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L12:
	movq	%rsi, %rbp
	xorl	%esi, %esi
	movq	%rdi, %rbx
	xorl	%eax, %eax
	movq	%rsi, (%rdi)
	leaq	0(,%rbp,8), %r12
	movq	%rsi, 8(%rdi)
	movq	%rsi, 16(%rdi)
	testq	%rbp, %rbp
	je	.L13
	movq	%r12, %rdi
	call	_Znwm@PLT
.L13:
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	movq	%r12, 16(%rbx)
	testq	%rbp, %rbp
	je	.L14
	xorl	%ecx, %ecx
	addq	$8, %rax
	movq	%rcx, -8(%rax)
	decq	%rbp
	je	.L14
.L15:
	cmpq	%rax, %r12
	je	.L14
	xorl	%edx, %edx
	addq	$8, %rax
	movq	%rdx, -8(%rax)
	jmp	.L15
.L14:
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4334:
	.size	_ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_, .-_ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_
	.weak	_ZNSt6vectorIP11CUstream_stSaIS1_EEC1EmRKS2_
	.set	_ZNSt6vectorIP11CUstream_stSaIS1_EEC1EmRKS2_,_ZNSt6vectorIP11CUstream_stSaIS1_EEC2EmRKS2_
	.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:
.LFB4337:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L26
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L26:
	ret
	.cfi_endproc
.LFE4337:
	.size	_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev, .-_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev
	.weak	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev
	.set	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev,_ZNSt6vectorIP11CUstream_stSaIS1_EED2Ev
	.section	.text._ZNSt6vectorIPfSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorIPfSaIS0_EEC5EmRKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
	.type	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_, @function
_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_:
.LFB4346:
	.cfi_startproc
	endbr64
	movabsq	$1152921504606846975, %rax
	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
	cmpq	%rsi, %rax
	jnb	.L29
	leaq	.LC1(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L29:
	movq	%rsi, %rbp
	xorl	%esi, %esi
	movq	%rdi, %rbx
	xorl	%eax, %eax
	movq	%rsi, (%rdi)
	leaq	0(,%rbp,8), %r12
	movq	%rsi, 8(%rdi)
	movq	%rsi, 16(%rdi)
	testq	%rbp, %rbp
	je	.L30
	movq	%r12, %rdi
	call	_Znwm@PLT
.L30:
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	movq	%r12, 16(%rbx)
	testq	%rbp, %rbp
	je	.L31
	xorl	%ecx, %ecx
	addq	$8, %rax
	movq	%rcx, -8(%rax)
	decq	%rbp
	je	.L31
.L32:
	cmpq	%rax, %r12
	je	.L31
	xorl	%edx, %edx
	addq	$8, %rax
	movq	%rdx, -8(%rax)
	jmp	.L32
.L31:
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4346:
	.size	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_, .-_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
	.weak	_ZNSt6vectorIPfSaIS0_EEC1EmRKS1_
	.set	_ZNSt6vectorIPfSaIS0_EEC1EmRKS1_,_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
	.section	.text._ZNSt6vectorIPfSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorIPfSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIPfSaIS0_EED2Ev
	.type	_ZNSt6vectorIPfSaIS0_EED2Ev, @function
_ZNSt6vectorIPfSaIS0_EED2Ev:
.LFB4349:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L43
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L43:
	ret
	.cfi_endproc
.LFE4349:
	.size	_ZNSt6vectorIPfSaIS0_EED2Ev, .-_ZNSt6vectorIPfSaIS0_EED2Ev
	.weak	_ZNSt6vectorIPfSaIS0_EED1Ev
	.set	_ZNSt6vectorIPfSaIS0_EED1Ev,_ZNSt6vectorIPfSaIS0_EED2Ev
	.section	.text._ZNSt6vectorIiSaIiEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC5EmRKS0_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.type	_ZNSt6vectorIiSaIiEEC2EmRKS0_, @function
_ZNSt6vectorIiSaIiEEC2EmRKS0_:
.LFB4358:
	.cfi_startproc
	endbr64
	movabsq	$2305843009213693951, %rax
	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
	cmpq	%rsi, %rax
	jnb	.L46
	leaq	.LC1(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L46:
	movq	%rsi, %rbp
	xorl	%esi, %esi
	movq	%rdi, %rbx
	xorl	%eax, %eax
	movq	%rsi, (%rdi)
	leaq	0(,%rbp,4), %r12
	movq	%rsi, 8(%rdi)
	movq	%rsi, 16(%rdi)
	testq	%rbp, %rbp
	je	.L47
	movq	%r12, %rdi
	call	_Znwm@PLT
.L47:
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	movq	%r12, 16(%rbx)
	testq	%rbp, %rbp
	je	.L48
	xorl	%ecx, %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	decq	%rbp
	je	.L48
.L49:
	cmpq	%rax, %r12
	je	.L48
	xorl	%edx, %edx
	addq	$4, %rax
	movl	%edx, -4(%rax)
	jmp	.L49
.L48:
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4358:
	.size	_ZNSt6vectorIiSaIiEEC2EmRKS0_, .-_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.weak	_ZNSt6vectorIiSaIiEEC1EmRKS0_
	.set	_ZNSt6vectorIiSaIiEEC1EmRKS0_,_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.section	.text._ZNSt6vectorIiSaIiEED2Ev,"axG",@progbits,_ZNSt6vectorIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEED2Ev
	.type	_ZNSt6vectorIiSaIiEED2Ev, @function
_ZNSt6vectorIiSaIiEED2Ev:
.LFB4361:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L60
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L60:
	ret
	.cfi_endproc
.LFE4361:
	.size	_ZNSt6vectorIiSaIiEED2Ev, .-_ZNSt6vectorIiSaIiEED2Ev
	.weak	_ZNSt6vectorIiSaIiEED1Ev
	.set	_ZNSt6vectorIiSaIiEED1Ev,_ZNSt6vectorIiSaIiEED2Ev
	.section	.rodata.str1.1
.LC2:
	.string	"Error: "
.LC3:
	.string	" ("
.LC4:
	.string	") at "
.LC5:
	.string	"/home/ubuntu/Datasets/cuda-codes-80k-from-llm-dedup/cuda_code_046559.cu"
.LC6:
	.string	":"
	.text
	.globl	_Z21multiGPUActiveContourPfS_iiiff
	.type	_Z21multiGPUActiveContourPfS_iiiff, @function
_Z21multiGPUActiveContourPfS_iiiff:
.LFB3998:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3998
	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
	movq	%rdi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%ecx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movslq	%r8d, %rbx
	subq	$184, %rsp
	.cfi_def_cfa_offset 240
	movq	%rsi, 32(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rbx, %rsi
	movl	%edx, 28(%rsp)
	movl	%r8d, 24(%rsp)
	movss	%xmm0, 40(%rsp)
	movss	%xmm1, 44(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	144(%rsp), %rax
	movq	%rax, %rdx
	movq	%rax, 16(%rsp)
.LEHB0:
	call	_ZNSt6vectorIP11CUstream_stSaIS1_EEC1EmRKS2_
.LEHE0:
	movq	16(%rsp), %rdx
	leaq	96(%rsp), %rdi
	movq	%rbx, %rsi
.LEHB1:
	call	_ZNSt6vectorIPfSaIS0_EEC1EmRKS1_
.LEHE1:
	movq	16(%rsp), %rdx
	leaq	120(%rsp), %rdi
	movq	%rbx, %rsi
.LEHB2:
	call	_ZNSt6vectorIPfSaIS0_EEC1EmRKS1_
.LEHE2:
	movq	16(%rsp), %rdi
	leaq	60(%rsp), %rdx
	movq	%rbx, %rsi
.LEHB3:
	call	_ZNSt6vectorIiSaIiEEC1EmRKS0_
.LEHE3:
	movl	28(%rsp), %eax
	xorl	%r12d, %r12d
	imull	%ebp, %eax
	cltq
	salq	$2, %rax
	movq	%rax, 8(%rsp)
.L63:
	cmpl	%r12d, 24(%rsp)
	jle	.L127
	movq	144(%rsp), %rax
	leaq	(%rax,%r12,4), %r14
	movq	%r14, %rdi
.LEHB4:
	call	cudaGetDevice@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L64
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	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	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %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	%rax, %rdi
	movl	$50, %esi
.L114:
	call	_ZNSolsEi@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movl	$1, %edi
	call	exit@PLT
.L64:
	movl	(%r14), %edi
	call	cudaSetDevice@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L65
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	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	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %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	%rax, %rdi
	movl	$51, %esi
	jmp	.L114
.L65:
	movq	72(%rsp), %rdi
	leaq	0(,%r12,8), %rbx
	addq	%rbx, %rdi
	call	cudaStreamCreate@PLT
	movl	%eax, %r14d
	testl	%eax, %eax
	je	.L67
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r14d, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%r14d, %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	%rax, %rdi
	movl	$52, %esi
	jmp	.L114
.L67:
	movq	96(%rsp), %r14
	movq	8(%rsp), %rsi
	addq	%rbx, %r14
	movq	%r14, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L68
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r15d, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%r15d, %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	%rax, %rdi
	movl	$53, %esi
	jmp	.L114
.L68:
	addq	120(%rsp), %rbx
	movq	8(%rsp), %rsi
	movq	%rbx, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L69
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r15d, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%r15d, %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	%rax, %rdi
	movl	$54, %esi
	jmp	.L114
.L69:
	movq	8(%rsp), %rdx
	movq	(%rbx), %rdi
	movl	$1, %ecx
	movq	%r13, %rsi
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L70
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	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	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %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	%rax, %rdi
	movl	$55, %esi
	jmp	.L114
.L70:
	movq	8(%rsp), %rdx
	movq	32(%rsp), %rsi
	movl	$1, %ecx
	movq	(%r14), %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	incq	%r12
	testl	%eax, %eax
	je	.L63
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	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	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %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	%rax, %rdi
	movl	$56, %esi
	jmp	.L114
.L127:
	movl	28(%rsp), %eax
	movl	$1, 56(%rsp)
	xorl	%ebx, %ebx
	movabsq	$68719476752, %r13
	movl	$1, 68(%rsp)
	addl	$15, %eax
	shrl	$4, %eax
	movl	%eax, 60(%rsp)
	leal	15(%rbp), %eax
	shrl	$4, %eax
	movl	%eax, 64(%rsp)
.L72:
	cmpl	%ebx, 24(%rsp)
	jle	.L128
	movq	144(%rsp), %rax
	movl	(%rax,%rbx,4), %edi
	call	cudaSetDevice@PLT
	movl	%eax, %r12d
	testl	%eax, %eax
	je	.L73
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r12d, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%r12d, %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	%rax, %rdi
	movl	$64, %esi
	jmp	.L114
.L73:
	movq	72(%rsp), %rax
	movl	56(%rsp), %ecx
	xorl	%r8d, %r8d
	movq	%r13, %rdx
	movq	60(%rsp), %rdi
	movl	68(%rsp), %esi
	movq	%r13, 48(%rsp)
	leaq	0(,%rbx,8), %r12
	movq	(%rax,%rbx,8), %r9
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L74
	movq	120(%rsp), %rax
	movss	44(%rsp), %xmm1
	movl	%ebp, %ecx
	movss	40(%rsp), %xmm0
	movl	28(%rsp), %edx
	movq	(%rax,%r12), %rsi
	movq	96(%rsp), %rax
	movq	(%rax,%r12), %rdi
	call	_Z46__device_stub__Z19updateContourKernelPfPKfiiffPfPKfiiff
.L74:
	incq	%rbx
	jmp	.L72
.L128:
	xorl	%ebx, %ebx
.L76:
	cmpl	%ebx, 24(%rsp)
	jle	.L129
	movq	144(%rsp), %rax
	movl	(%rax,%rbx,4), %edi
	call	cudaSetDevice@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L77
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%ebp, %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	%rax, %rdi
	movl	$70, %esi
	jmp	.L114
.L77:
	movq	72(%rsp), %r14
	movq	96(%rsp), %r13
	movl	$2, %ecx
	leaq	0(,%rbx,8), %r12
	movq	8(%rsp), %rdx
	movq	32(%rsp), %rdi
	addq	%r12, %r14
	addq	%r12, %r13
	movq	(%r14), %r8
	movq	0(%r13), %rsi
	call	cudaMemcpyAsync@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L78
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%ebp, %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	%rax, %rdi
	movl	$71, %esi
	jmp	.L114
.L78:
	movq	(%r14), %rdi
	call	cudaStreamDestroy@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L79
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%ebp, %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	%rax, %rdi
	movl	$72, %esi
	jmp	.L114
.L79:
	movq	0(%r13), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L80
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%ebp, %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	%rax, %rdi
	movl	$73, %esi
	jmp	.L114
.L80:
	movq	120(%rsp), %rax
	movq	(%rax,%r12), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	incq	%rbx
	testl	%eax, %eax
	je	.L76
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebp, %edi
	movq	%rax, %rbx
	call	cudaGetErrorString@PLT
	movq	%rax, %rsi
	movq	%rbx, %rdi
	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	%ebp, %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	%rax, %rdi
	movl	$74, %esi
	jmp	.L114
.L129:
	call	cudaDeviceSynchronize@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L82
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	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	%rax, %rdi
	leaq	.LC3(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebx, %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
.LEHE4:
	movq	%rax, %rdi
	movl	$78, %esi
	jmp	.L114
.L82:
	movq	16(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	120(%rsp), %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	leaq	96(%rsp), %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	leaq	72(%rsp), %rdi
	call	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	je	.L88
	jmp	.L97
.L92:
	endbr64
	movq	%rax, %rbx
.L83:
	leaq	144(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L84
.L91:
	endbr64
	movq	%rax, %rbx
.L84:
	leaq	120(%rsp), %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	jmp	.L85
.L90:
	endbr64
	movq	%rax, %rbx
.L85:
	leaq	96(%rsp), %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	jmp	.L86
.L89:
	endbr64
	movq	%rax, %rbx
.L86:
	leaq	72(%rsp), %rdi
	call	_ZNSt6vectorIP11CUstream_stSaIS1_EED1Ev
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L97
	movq	%rbx, %rdi
.LEHB5:
	call	_Unwind_Resume@PLT
.LEHE5:
.L97:
	call	__stack_chk_fail@PLT
.L88:
	addq	$184, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3998:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA3998:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE3998-.LLSDACSB3998
.LLSDACSB3998:
	.uleb128 .LEHB0-.LFB3998
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB3998
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L89-.LFB3998
	.uleb128 0
	.uleb128 .LEHB2-.LFB3998
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L90-.LFB3998
	.uleb128 0
	.uleb128 .LEHB3-.LFB3998
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L91-.LFB3998
	.uleb128 0
	.uleb128 .LEHB4-.LFB3998
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L92-.LFB3998
	.uleb128 0
	.uleb128 .LEHB5-.LFB3998
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE3998:
	.text
	.size	_Z21multiGPUActiveContourPfS_iiiff, .-_Z21multiGPUActiveContourPfS_iiiff
	.section	.rodata.str1.1
.LC9:
	.string	" "
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB3999:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$262144, %edi
	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
	pushq	%rcx
	.cfi_def_cfa_offset 64
	call	_Znam@PLT
	movl	$262144, %edi
	movq	%rax, %rbp
	call	_Znam@PLT
	movss	.LC7(%rip), %xmm1
	movq	%rbp, %rcx
	xorl	%edx, %edx
	movq	%rax, %rbx
.L132:
	xorl	%eax, %eax
.L131:
	leal	(%rdx,%rax), %esi
	cvtsi2ssl	%esi, %xmm0
	mulss	%xmm1, %xmm0
	movss	%xmm0, (%rcx,%rax,4)
	incq	%rax
	cmpq	$256, %rax
	jne	.L131
	incl	%edx
	addq	$1024, %rcx
	cmpl	$256, %edx
	jne	.L132
	xorl	%eax, %eax
	movl	$65536, %ecx
	movq	%rbx, %rdi
	movl	$1, %r8d
	rep stosl
	movss	.LC8(%rip), %xmm1
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	movl	$256, %ecx
	movl	$256, %edx
	xorl	%r13d, %r13d
	movaps	%xmm1, %xmm0
	leaq	_ZSt4cout(%rip), %r15
	call	_Z21multiGPUActiveContourPfS_iiiff
.L135:
	movq	%r13, %r14
	xorl	%r12d, %r12d
	salq	$10, %r14
	addq	%rbx, %r14
.L136:
	movq	%r15, %rdi
	cvtss2sd	(%r14,%r12,4), %xmm0
	incq	%r12
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC9(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cmpq	$10, %r12
	jne	.L136
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	incq	%r13
	call	_ZNSolsEPFRSoS_E.isra.0
	cmpq	$10, %r13
	jne	.L135
	movq	%rbp, %rdi
	call	_ZdaPv@PLT
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	popq	%rdx
	.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
.LFE3999:
	.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
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC7:
	.long	989855744
	.align 4
.LC8:
	.long	1036831949
	.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:

// active_contour.cu
// Multi-GPU implementation of a basic image segmentation using active contour model
// Optimized for register usage and targeting NVIDIA Hopper architecture

#include <iostream>
#include <hip/hip_runtime.h>
#include <vector>

#define CHECK(call)                                                            \
{                                                                              \
    const hipError_t error = call;                                            \
    if (error != hipSuccess)                                                  \
    {                                                                          \
        std::cerr << "Error: " << hipGetErrorString(error) << " (" << error << ") at " \
                  << __FILE__ << ":" << __LINE__ << std::endl;                   \
        exit(EXIT_FAILURE);                                                    \
    }                                                                          \
}

// Kernel to update the active contour
__global__ void updateContourKernel(float* contour, const float* image, int width, int height, float alpha, float beta) {
    int idx = blockIdx.x * blockDim.x + threadIdx.x;
    int idy = blockIdx.y * blockDim.y + threadIdx.y;

    if (idx >= width || idy >= height) return;

    int index = idy * width + idx;

    // Simple gradient descent for contour evolution
    // This is a very basic example and should be replaced with a more sophisticated method for real applications
    float gradX = (image[index + 1] - image[index - 1]) / 2.0f;
    float gradY = (image[index + width] - image[index - width]) / 2.0f;

    float internalEnergy = alpha * (gradX * gradX + gradY * gradY);
    float externalEnergy = beta * (image[index] - 0.5f); // Simple thresholding

    // Update contour position based on energy
    contour[index] += internalEnergy - externalEnergy;
}

// Multi-GPU function to perform active contour segmentation
void multiGPUActiveContour(float* h_image, float* h_contour, int width, int height, int numDevices, float alpha, float beta) {
    std::vector<hipStream_t> streams(numDevices);
    std::vector<float*> d_contour(numDevices);
    std::vector<float*> d_image(numDevices);
    std::vector<int> deviceIDs(numDevices);

    // Get available devices
    for (int i = 0; i < numDevices; ++i) {
        CHECK(hipGetDevice(&deviceIDs[i]));
        CHECK(hipSetDevice(deviceIDs[i]));
        CHECK(hipStreamCreate(&streams[i]));
        CHECK(hipMalloc(&d_contour[i], width * height * sizeof(float)));
        CHECK(hipMalloc(&d_image[i], width * height * sizeof(float)));
        CHECK(hipMemcpy(d_image[i], h_image, width * height * sizeof(float), hipMemcpyHostToDevice));
        CHECK(hipMemcpy(d_contour[i], h_contour, width * height * sizeof(float), hipMemcpyHostToDevice));
    }

    dim3 blockSize(16, 16);
    dim3 gridSize((width + blockSize.x - 1) / blockSize.x, (height + blockSize.y - 1) / blockSize.y);

    // Launch kernels on each device
    for (int i = 0; i < numDevices; ++i) {
        CHECK(hipSetDevice(deviceIDs[i]));
        updateContourKernel<<<gridSize, blockSize, 0, streams[i]>>>(d_contour[i], d_image[i], width, height, alpha, beta);
    }

    // Synchronize and copy results back
    for (int i = 0; i < numDevices; ++i) {
        CHECK(hipSetDevice(deviceIDs[i]));
        CHECK(hipMemcpyAsync(h_contour, d_contour[i], width * height * sizeof(float), hipMemcpyDeviceToHost, streams[i]));
        CHECK(hipStreamDestroy(streams[i]));
        CHECK(hipFree(d_contour[i]));
        CHECK(hipFree(d_image[i]));
    }

    // Ensure all operations are complete
    CHECK(hipDeviceSynchronize());
}

int main() {
    int width = 256;
    int height = 256;
    int numDevices = 1; // Change this to use multiple GPUs
    float alpha = 0.1f;
    float beta = 0.1f;

    // Initialize image and contour data
    float* h_image = new float[width * height];
    float* h_contour = new float[width * height];

    // Fill image with dummy data (e.g., a simple gradient)
    for (int i = 0; i < height; ++i) {
        for (int j = 0; j < width; ++j) {
            h_image[i * width + j] = static_cast<float>(i + j) / (width + height);
            h_contour[i * width + j] = 0.0f;
        }
    }

    // Perform active contour segmentation
    multiGPUActiveContour(h_image, h_contour, width, height, numDevices, alpha, beta);

    // Output result (for demonstration purposes)
    for (int i = 0; i < 10; ++i) {
        for (int j = 0; j < 10; ++j) {
            std::cout << h_contour[i * width + j] << " ";
        }
        std::cout << std::endl;
    }

    // Clean up
    delete[] h_image;
    delete[] h_contour;

    return 0;
}
	.text
	.file	"cuda_code_046559.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.globl	_Z34__device_stub__updateContourKernelPfPKfiiff # -- Begin function _Z34__device_stub__updateContourKernelPfPKfiiff
	.type	_Z34__device_stub__updateContourKernelPfPKfiiff,@function
_Z34__device_stub__updateContourKernelPfPKfiiff: # @_Z34__device_stub__updateContourKernelPfPKfiiff
	.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	$128, %rsp
	.cfi_def_cfa_offset 176
	.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), %rdi
	movq	%rsi, (%rdi)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	8(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	4(%rsp), %rcx
	movss	%xmm0, (%rcx)
	movq	%rsp, %r8
	movss	%xmm1, (%r8)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z19updateContourKernelPfPKfiiff, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$144, %rsp
	.cfi_adjust_cfa_offset -144
	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	_Z34__device_stub__updateContourKernelPfPKfiiff, .Lfunc_end0-_Z34__device_stub__updateContourKernelPfPKfiiff
	.cfi_endproc
                                        # -- End function
	.globl	_Z21multiGPUActiveContourPfS_iiiff # -- Begin function _Z21multiGPUActiveContourPfS_iiiff
	.type	_Z21multiGPUActiveContourPfS_iiiff,@function
_Z21multiGPUActiveContourPfS_iiiff:     # @_Z21multiGPUActiveContourPfS_iiiff
.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	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movss	%xmm1, 28(%rsp)                 # 4-byte Spill
	movss	%xmm0, 24(%rsp)                 # 4-byte Spill
	movl	%r8d, %ebx
                                        # kill: def $ecx killed $ecx def $rcx
	movq	%rcx, 16(%rsp)                  # 8-byte Spill
                                        # kill: def $edx killed $edx def $rdx
	movq	%rdx, 8(%rsp)                   # 8-byte Spill
	movq	%rsi, 32(%rsp)                  # 8-byte Spill
	movq	%rdi, %r13
	movslq	%r8d, %r14
	leaq	112(%rsp), %rdi
	leaq	40(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_
.Ltmp0:
	leaq	40(%rsp), %rdi
	leaq	88(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
.Ltmp1:
# %bb.1:
.Ltmp3:
	leaq	88(%rsp), %rdi
	leaq	64(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
.Ltmp4:
# %bb.2:
.Ltmp6:
	leaq	64(%rsp), %rdi
	leaq	3(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2EmRKS0_
.Ltmp7:
# %bb.3:
	testl	%ebx, %ebx
	jle	.LBB1_142
# %bb.4:                                # %.lr.ph
	movq	16(%rsp), %rax                  # 8-byte Reload
                                        # kill: def $eax killed $eax killed $rax
	imull	8(%rsp), %eax                   # 4-byte Folded Reload
	movslq	%eax, %r14
	shlq	$2, %r14
	movl	%ebx, 4(%rsp)                   # 4-byte Spill
	movl	%ebx, %r12d
	xorl	%ebx, %ebx
.LBB1_5:                                # =>This Inner Loop Header: Depth=1
	leaq	(,%rbx,4), %rdi
	addq	64(%rsp), %rdi
.Ltmp9:
	callq	hipGetDevice
.Ltmp10:
# %bb.6:                                #   in Loop: Header=BB1_5 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_7
# %bb.37:                               #   in Loop: Header=BB1_5 Depth=1
	movq	64(%rsp), %rax
	movl	(%rax,%rbx,4), %edi
.Ltmp33:
	callq	hipSetDevice
.Ltmp34:
# %bb.38:                               #   in Loop: Header=BB1_5 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_39
# %bb.51:                               #   in Loop: Header=BB1_5 Depth=1
	leaq	(,%rbx,8), %r15
	movq	112(%rsp), %rdi
	addq	%r15, %rdi
.Ltmp57:
	callq	hipStreamCreate
.Ltmp58:
# %bb.52:                               #   in Loop: Header=BB1_5 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_53
# %bb.65:                               #   in Loop: Header=BB1_5 Depth=1
	movq	40(%rsp), %rdi
	addq	%r15, %rdi
.Ltmp81:
	movq	%r14, %rsi
	callq	hipMalloc
.Ltmp82:
# %bb.66:                               # %_ZL9hipMallocIfE10hipError_tPPT_m.exit
                                        #   in Loop: Header=BB1_5 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_67
# %bb.79:                               #   in Loop: Header=BB1_5 Depth=1
	addq	88(%rsp), %r15
.Ltmp105:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	hipMalloc
.Ltmp106:
# %bb.80:                               # %_ZL9hipMallocIfE10hipError_tPPT_m.exit172
                                        #   in Loop: Header=BB1_5 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_81
# %bb.93:                               #   in Loop: Header=BB1_5 Depth=1
	movq	88(%rsp), %rax
	movq	(%rax,%rbx,8), %rdi
.Ltmp129:
	movq	%r13, %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp130:
# %bb.94:                               #   in Loop: Header=BB1_5 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_95
# %bb.107:                              #   in Loop: Header=BB1_5 Depth=1
	movq	40(%rsp), %rax
	movq	(%rax,%rbx,8), %rdi
.Ltmp153:
	movq	32(%rsp), %rsi                  # 8-byte Reload
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp154:
# %bb.108:                              #   in Loop: Header=BB1_5 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_109
# %bb.18:                               #   in Loop: Header=BB1_5 Depth=1
	incq	%rbx
	cmpq	%r12, %rbx
	jne	.LBB1_5
# %bb.19:                               # %._crit_edge
	cmpl	$0, 4(%rsp)                     # 4-byte Folded Reload
	jle	.LBB1_142
# %bb.20:                               # %.lr.ph385.preheader
	movq	8(%rsp), %rax                   # 8-byte Reload
	addl	$15, %eax
	shrl	$4, %eax
	movq	16(%rsp), %rcx                  # 8-byte Reload
	leal	15(%rcx), %r13d
	shrl	$4, %r13d
	shlq	$32, %r13
	orq	%rax, %r13
	xorl	%ebx, %ebx
	movabsq	$68719476752, %rbp              # imm = 0x1000000010
.LBB1_21:                               # %.lr.ph385
                                        # =>This Inner Loop Header: Depth=1
	movq	64(%rsp), %rax
	movl	(%rax,%rbx,4), %edi
.Ltmp177:
	callq	hipSetDevice
.Ltmp178:
# %bb.22:                               #   in Loop: Header=BB1_21 Depth=1
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	.LBB1_23
# %bb.137:                              #   in Loop: Header=BB1_21 Depth=1
	movq	112(%rsp), %rax
	movq	(%rax,%rbx,8), %r9
.Ltmp201:
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%rbp, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
.Ltmp202:
# %bb.138:                              #   in Loop: Header=BB1_21 Depth=1
	testl	%eax, %eax
	jne	.LBB1_140
# %bb.139:                              #   in Loop: Header=BB1_21 Depth=1
	movq	40(%rsp), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	88(%rsp), %rax
	movq	(%rax,%rbx,8), %rsi
.Ltmp203:
	movq	8(%rsp), %rdx                   # 8-byte Reload
                                        # kill: def $edx killed $edx killed $rdx
	movq	16(%rsp), %rcx                  # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	movss	28(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	callq	_Z34__device_stub__updateContourKernelPfPKfiiff
.Ltmp204:
.LBB1_140:                              #   in Loop: Header=BB1_21 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	.LBB1_21
# %bb.121:                              # %.preheader
	cmpl	$0, 4(%rsp)                     # 4-byte Folded Reload
	jle	.LBB1_142
# %bb.122:                              # %.lr.ph387
	xorl	%ebx, %ebx
.LBB1_123:                              # =>This Inner Loop Header: Depth=1
	movq	64(%rsp), %rax
	movl	(%rax,%rbx,4), %edi
.Ltmp206:
	callq	hipSetDevice
.Ltmp207:
# %bb.124:                              #   in Loop: Header=BB1_123 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_125
# %bb.156:                              #   in Loop: Header=BB1_123 Depth=1
	movq	40(%rsp), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	112(%rsp), %rax
	movq	(%rax,%rbx,8), %r8
.Ltmp230:
	movq	32(%rsp), %rdi                  # 8-byte Reload
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	hipMemcpyAsync
.Ltmp231:
# %bb.157:                              #   in Loop: Header=BB1_123 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_158
# %bb.170:                              #   in Loop: Header=BB1_123 Depth=1
	movq	112(%rsp), %rax
	movq	(%rax,%rbx,8), %rdi
.Ltmp254:
	callq	hipStreamDestroy
.Ltmp255:
# %bb.171:                              #   in Loop: Header=BB1_123 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_172
# %bb.184:                              #   in Loop: Header=BB1_123 Depth=1
	movq	40(%rsp), %rax
	movq	(%rax,%rbx,8), %rdi
.Ltmp278:
	callq	hipFree
.Ltmp279:
# %bb.185:                              #   in Loop: Header=BB1_123 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_186
# %bb.198:                              #   in Loop: Header=BB1_123 Depth=1
	movq	88(%rsp), %rax
	movq	(%rax,%rbx,8), %rdi
.Ltmp302:
	callq	hipFree
.Ltmp303:
# %bb.199:                              #   in Loop: Header=BB1_123 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB1_200
# %bb.141:                              #   in Loop: Header=BB1_123 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	.LBB1_123
.LBB1_142:                              # %._crit_edge388
.Ltmp326:
	callq	hipDeviceSynchronize
.Ltmp327:
# %bb.143:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB1_144
# %bb.213:
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_215
# %bb.214:
	callq	_ZdlPv
.LBB1_215:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit
	movq	88(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_217
# %bb.216:
	callq	_ZdlPv
.LBB1_217:                              # %_ZNSt6vectorIPfSaIS0_EED2Ev.exit
	movq	40(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_219
# %bb.218:
	callq	_ZdlPv
.LBB1_219:                              # %_ZNSt6vectorIPfSaIS0_EED2Ev.exit235
	movq	112(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_221
# %bb.220:
	callq	_ZdlPv
.LBB1_221:                              # %_ZNSt6vectorIP12ihipStream_tSaIS1_EED2Ev.exit
	addq	$136, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB1_109:
	.cfi_def_cfa_offset 192
.Ltmp156:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp157:
# %bb.110:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit185
.Ltmp158:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp159:
# %bb.111:
.Ltmp160:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp161:
# %bb.112:
.Ltmp162:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp163:
# %bb.113:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit186
.Ltmp164:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp165:
# %bb.114:
.Ltmp166:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp167:
# %bb.115:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit187
.Ltmp168:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp169:
# %bb.116:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit188
.Ltmp170:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp171:
# %bb.117:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit189
.Ltmp172:
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_ZNSolsEi
.Ltmp173:
# %bb.118:
.Ltmp174:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp175:
	jmp	.LBB1_17
.LBB1_95:
.Ltmp132:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp133:
# %bb.96:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit179
.Ltmp134:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp135:
# %bb.97:
.Ltmp136:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp137:
# %bb.98:
.Ltmp138:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp139:
# %bb.99:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit180
.Ltmp140:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp141:
# %bb.100:
.Ltmp142:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp143:
# %bb.101:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit181
.Ltmp144:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp145:
# %bb.102:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit182
.Ltmp146:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp147:
# %bb.103:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit183
.Ltmp148:
	movq	%rbx, %rdi
	movl	$55, %esi
	callq	_ZNSolsEi
.Ltmp149:
# %bb.104:
.Ltmp150:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp151:
	jmp	.LBB1_17
.LBB1_81:
.Ltmp108:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp109:
# %bb.82:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit173
.Ltmp110:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp111:
# %bb.83:
.Ltmp112:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp113:
# %bb.84:
.Ltmp114:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp115:
# %bb.85:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit174
.Ltmp116:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp117:
# %bb.86:
.Ltmp118:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp119:
# %bb.87:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit175
.Ltmp120:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp121:
# %bb.88:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit176
.Ltmp122:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp123:
# %bb.89:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit177
.Ltmp124:
	movq	%rbx, %rdi
	movl	$54, %esi
	callq	_ZNSolsEi
.Ltmp125:
# %bb.90:
.Ltmp126:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp127:
	jmp	.LBB1_17
.LBB1_67:
.Ltmp84:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp85:
# %bb.68:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit166
.Ltmp86:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp87:
# %bb.69:
.Ltmp88:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp89:
# %bb.70:
.Ltmp90:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp91:
# %bb.71:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit167
.Ltmp92:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp93:
# %bb.72:
.Ltmp94:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp95:
# %bb.73:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit168
.Ltmp96:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp97:
# %bb.74:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit169
.Ltmp98:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp99:
# %bb.75:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit170
.Ltmp100:
	movq	%rbx, %rdi
	movl	$53, %esi
	callq	_ZNSolsEi
.Ltmp101:
# %bb.76:
.Ltmp102:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp103:
	jmp	.LBB1_17
.LBB1_53:
.Ltmp60:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp61:
# %bb.54:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit160
.Ltmp62:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp63:
# %bb.55:
.Ltmp64:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp65:
# %bb.56:
.Ltmp66:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp67:
# %bb.57:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit161
.Ltmp68:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp69:
# %bb.58:
.Ltmp70:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp71:
# %bb.59:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit162
.Ltmp72:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp73:
# %bb.60:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit163
.Ltmp74:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp75:
# %bb.61:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit164
.Ltmp76:
	movq	%rbx, %rdi
	movl	$52, %esi
	callq	_ZNSolsEi
.Ltmp77:
# %bb.62:
.Ltmp78:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp79:
	jmp	.LBB1_17
.LBB1_39:
.Ltmp36:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp37:
# %bb.40:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit154
.Ltmp38:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp39:
# %bb.41:
.Ltmp40:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp41:
# %bb.42:
.Ltmp42:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp43:
# %bb.43:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit155
.Ltmp44:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp45:
# %bb.44:
.Ltmp46:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp47:
# %bb.45:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit156
.Ltmp48:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp49:
# %bb.46:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit157
.Ltmp50:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp51:
# %bb.47:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit158
.Ltmp52:
	movq	%rbx, %rdi
	movl	$51, %esi
	callq	_ZNSolsEi
.Ltmp53:
# %bb.48:
.Ltmp54:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp55:
	jmp	.LBB1_17
.LBB1_7:
.Ltmp12:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp13:
# %bb.8:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
.Ltmp14:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp15:
# %bb.9:
.Ltmp16:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp17:
# %bb.10:
.Ltmp18:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp19:
# %bb.11:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit150
.Ltmp20:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp21:
# %bb.12:
.Ltmp22:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp23:
# %bb.13:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit151
.Ltmp24:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp25:
# %bb.14:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit152
.Ltmp26:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp27:
# %bb.15:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit153
.Ltmp28:
	movq	%rbx, %rdi
	movl	$50, %esi
	callq	_ZNSolsEi
.Ltmp29:
# %bb.16:
.Ltmp30:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp31:
	jmp	.LBB1_17
.LBB1_23:
.Ltmp180:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp181:
# %bb.24:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit191
.Ltmp182:
	movl	%r15d, %edi
	callq	hipGetErrorString
.Ltmp183:
# %bb.25:
.Ltmp184:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp185:
# %bb.26:
.Ltmp186:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp187:
# %bb.27:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit192
.Ltmp188:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ZNSolsEi
.Ltmp189:
# %bb.28:
.Ltmp190:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp191:
# %bb.29:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit193
.Ltmp192:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp193:
# %bb.30:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit194
.Ltmp194:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp195:
# %bb.31:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit195
.Ltmp196:
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_ZNSolsEi
.Ltmp197:
# %bb.32:
.Ltmp198:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp199:
	jmp	.LBB1_17
.LBB1_200:
.Ltmp305:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp306:
# %bb.201:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit221
.Ltmp307:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp308:
# %bb.202:
.Ltmp309:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp310:
# %bb.203:
.Ltmp311:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp312:
# %bb.204:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit222
.Ltmp313:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp314:
# %bb.205:
.Ltmp315:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp316:
# %bb.206:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit223
.Ltmp317:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp318:
# %bb.207:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit224
.Ltmp319:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp320:
# %bb.208:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit225
.Ltmp321:
	movq	%rbx, %rdi
	movl	$74, %esi
	callq	_ZNSolsEi
.Ltmp322:
# %bb.209:
.Ltmp323:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp324:
	jmp	.LBB1_17
.LBB1_186:
.Ltmp281:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp282:
# %bb.187:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit215
.Ltmp283:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp284:
# %bb.188:
.Ltmp285:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp286:
# %bb.189:
.Ltmp287:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp288:
# %bb.190:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit216
.Ltmp289:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp290:
# %bb.191:
.Ltmp291:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp292:
# %bb.192:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit217
.Ltmp293:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp294:
# %bb.193:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit218
.Ltmp295:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp296:
# %bb.194:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit219
.Ltmp297:
	movq	%rbx, %rdi
	movl	$73, %esi
	callq	_ZNSolsEi
.Ltmp298:
# %bb.195:
.Ltmp299:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp300:
	jmp	.LBB1_17
.LBB1_172:
.Ltmp257:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp258:
# %bb.173:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit209
.Ltmp259:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp260:
# %bb.174:
.Ltmp261:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp262:
# %bb.175:
.Ltmp263:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp264:
# %bb.176:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit210
.Ltmp265:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp266:
# %bb.177:
.Ltmp267:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp268:
# %bb.178:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit211
.Ltmp269:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp270:
# %bb.179:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit212
.Ltmp271:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp272:
# %bb.180:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit213
.Ltmp273:
	movq	%rbx, %rdi
	movl	$72, %esi
	callq	_ZNSolsEi
.Ltmp274:
# %bb.181:
.Ltmp275:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp276:
	jmp	.LBB1_17
.LBB1_158:
.Ltmp233:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp234:
# %bb.159:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit203
.Ltmp235:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp236:
# %bb.160:
.Ltmp237:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp238:
# %bb.161:
.Ltmp239:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp240:
# %bb.162:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit204
.Ltmp241:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp242:
# %bb.163:
.Ltmp243:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp244:
# %bb.164:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit205
.Ltmp245:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp246:
# %bb.165:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit206
.Ltmp247:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp248:
# %bb.166:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit207
.Ltmp249:
	movq	%rbx, %rdi
	movl	$71, %esi
	callq	_ZNSolsEi
.Ltmp250:
# %bb.167:
.Ltmp251:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp252:
	jmp	.LBB1_17
.LBB1_125:
.Ltmp209:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp210:
# %bb.126:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit197
.Ltmp211:
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp212:
# %bb.127:
.Ltmp213:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp214:
# %bb.128:
.Ltmp215:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp216:
# %bb.129:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit198
.Ltmp217:
	movq	%rbx, %rdi
	movl	%ebp, %esi
	callq	_ZNSolsEi
.Ltmp218:
# %bb.130:
.Ltmp219:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp220:
# %bb.131:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit199
.Ltmp221:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp222:
# %bb.132:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit200
.Ltmp223:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp224:
# %bb.133:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit201
.Ltmp225:
	movq	%rbx, %rdi
	movl	$70, %esi
	callq	_ZNSolsEi
.Ltmp226:
# %bb.134:
.Ltmp227:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp228:
.LBB1_17:                               # %_ZNSolsEPFRSoS_E.exit
	movl	$1, %edi
	callq	exit
.LBB1_144:
.Ltmp328:
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$7, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp329:
# %bb.145:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit227
.Ltmp330:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp331:
# %bb.146:
.Ltmp332:
	movl	$_ZSt4cerr, %edi
	movq	%rax, %rsi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
.Ltmp333:
# %bb.147:
.Ltmp334:
	movq	%rax, %r14
	movl	$.L.str.1, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp335:
# %bb.148:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit228
.Ltmp336:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ZNSolsEi
.Ltmp337:
# %bb.149:
.Ltmp338:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp339:
# %bb.150:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit229
.Ltmp340:
	movl	$.L.str.3, %esi
	movl	$88, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp341:
# %bb.151:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit230
.Ltmp342:
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp343:
# %bb.152:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit231
.Ltmp344:
	movq	%rbx, %rdi
	movl	$78, %esi
	callq	_ZNSolsEi
.Ltmp345:
# %bb.153:
.Ltmp346:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp347:
	jmp	.LBB1_17
.LBB1_35:
.Ltmp8:
	movq	%rax, %rbx
	jmp	.LBB1_225
.LBB1_34:
.Ltmp5:
	movq	%rax, %rbx
	jmp	.LBB1_227
.LBB1_33:
.Ltmp2:
	movq	%rax, %rbx
	jmp	.LBB1_229
.LBB1_212:
.Ltmp348:
	jmp	.LBB1_223
.LBB1_155:                              # %.loopexit.split-lp
.Ltmp229:
	jmp	.LBB1_223
.LBB1_169:                              # %.loopexit.split-lp248
.Ltmp253:
	jmp	.LBB1_223
.LBB1_183:                              # %.loopexit.split-lp253
.Ltmp277:
	jmp	.LBB1_223
.LBB1_197:                              # %.loopexit.split-lp258
.Ltmp301:
	jmp	.LBB1_223
.LBB1_211:                              # %.loopexit.split-lp263
.Ltmp325:
	jmp	.LBB1_223
.LBB1_154:                              # %.loopexit
.Ltmp208:
	jmp	.LBB1_223
.LBB1_168:                              # %.loopexit247
.Ltmp232:
	jmp	.LBB1_223
.LBB1_182:                              # %.loopexit252
.Ltmp256:
	jmp	.LBB1_223
.LBB1_196:                              # %.loopexit257
.Ltmp280:
	jmp	.LBB1_223
.LBB1_210:                              # %.loopexit262
.Ltmp304:
	jmp	.LBB1_223
.LBB1_136:                              # %.loopexit.split-lp268
.Ltmp200:
	jmp	.LBB1_223
.LBB1_135:                              # %.loopexit267
.Ltmp179:
	jmp	.LBB1_223
.LBB1_232:
.Ltmp205:
	jmp	.LBB1_223
.LBB1_36:                               # %.loopexit.split-lp273
.Ltmp32:
	jmp	.LBB1_223
.LBB1_50:                               # %.loopexit.split-lp278
.Ltmp56:
	jmp	.LBB1_223
.LBB1_64:                               # %.loopexit.split-lp283
.Ltmp80:
	jmp	.LBB1_223
.LBB1_78:                               # %.loopexit.split-lp288
.Ltmp104:
	jmp	.LBB1_223
.LBB1_92:                               # %.loopexit.split-lp293
.Ltmp128:
	jmp	.LBB1_223
.LBB1_106:                              # %.loopexit.split-lp298
.Ltmp152:
	jmp	.LBB1_223
.LBB1_120:                              # %.loopexit.split-lp303
.Ltmp176:
	jmp	.LBB1_223
.LBB1_222:                              # %.loopexit272
.Ltmp11:
	jmp	.LBB1_223
.LBB1_49:                               # %.loopexit277
.Ltmp35:
	jmp	.LBB1_223
.LBB1_63:                               # %.loopexit282
.Ltmp59:
	jmp	.LBB1_223
.LBB1_77:                               # %.loopexit287
.Ltmp83:
	jmp	.LBB1_223
.LBB1_91:                               # %.loopexit292
.Ltmp107:
	jmp	.LBB1_223
.LBB1_105:                              # %.loopexit297
.Ltmp131:
	jmp	.LBB1_223
.LBB1_119:                              # %.loopexit302
.Ltmp155:
.LBB1_223:
	movq	%rax, %rbx
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_225
# %bb.224:
	callq	_ZdlPv
.LBB1_225:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit238
	movq	88(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_227
# %bb.226:
	callq	_ZdlPv
.LBB1_227:                              # %_ZNSt6vectorIPfSaIS0_EED2Ev.exit240
	movq	40(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_229
# %bb.228:
	callq	_ZdlPv
.LBB1_229:                              # %_ZNSt6vectorIPfSaIS0_EED2Ev.exit242
	movq	112(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_231
# %bb.230:
	callq	_ZdlPv
.LBB1_231:                              # %_ZNSt6vectorIP12ihipStream_tSaIS1_EED2Ev.exit244
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	_Z21multiGPUActiveContourPfS_iiiff, .Lfunc_end1-_Z21multiGPUActiveContourPfS_iiiff
	.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 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin0           #     jumps to .Ltmp8
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin0           # >> Call Site 5 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin0          #     jumps to .Ltmp11
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp33-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp34-.Ltmp33                #   Call between .Ltmp33 and .Ltmp34
	.uleb128 .Ltmp35-.Lfunc_begin0          #     jumps to .Ltmp35
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp57-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp58-.Ltmp57                #   Call between .Ltmp57 and .Ltmp58
	.uleb128 .Ltmp59-.Lfunc_begin0          #     jumps to .Ltmp59
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp81-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp82-.Ltmp81                #   Call between .Ltmp81 and .Ltmp82
	.uleb128 .Ltmp83-.Lfunc_begin0          #     jumps to .Ltmp83
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp105-.Lfunc_begin0         # >> Call Site 9 <<
	.uleb128 .Ltmp106-.Ltmp105              #   Call between .Ltmp105 and .Ltmp106
	.uleb128 .Ltmp107-.Lfunc_begin0         #     jumps to .Ltmp107
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp129-.Lfunc_begin0         # >> Call Site 10 <<
	.uleb128 .Ltmp130-.Ltmp129              #   Call between .Ltmp129 and .Ltmp130
	.uleb128 .Ltmp131-.Lfunc_begin0         #     jumps to .Ltmp131
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp153-.Lfunc_begin0         # >> Call Site 11 <<
	.uleb128 .Ltmp154-.Ltmp153              #   Call between .Ltmp153 and .Ltmp154
	.uleb128 .Ltmp155-.Lfunc_begin0         #     jumps to .Ltmp155
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp177-.Lfunc_begin0         # >> Call Site 12 <<
	.uleb128 .Ltmp178-.Ltmp177              #   Call between .Ltmp177 and .Ltmp178
	.uleb128 .Ltmp179-.Lfunc_begin0         #     jumps to .Ltmp179
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp201-.Lfunc_begin0         # >> Call Site 13 <<
	.uleb128 .Ltmp204-.Ltmp201              #   Call between .Ltmp201 and .Ltmp204
	.uleb128 .Ltmp205-.Lfunc_begin0         #     jumps to .Ltmp205
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp206-.Lfunc_begin0         # >> Call Site 14 <<
	.uleb128 .Ltmp207-.Ltmp206              #   Call between .Ltmp206 and .Ltmp207
	.uleb128 .Ltmp208-.Lfunc_begin0         #     jumps to .Ltmp208
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp230-.Lfunc_begin0         # >> Call Site 15 <<
	.uleb128 .Ltmp231-.Ltmp230              #   Call between .Ltmp230 and .Ltmp231
	.uleb128 .Ltmp232-.Lfunc_begin0         #     jumps to .Ltmp232
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp254-.Lfunc_begin0         # >> Call Site 16 <<
	.uleb128 .Ltmp255-.Ltmp254              #   Call between .Ltmp254 and .Ltmp255
	.uleb128 .Ltmp256-.Lfunc_begin0         #     jumps to .Ltmp256
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp278-.Lfunc_begin0         # >> Call Site 17 <<
	.uleb128 .Ltmp279-.Ltmp278              #   Call between .Ltmp278 and .Ltmp279
	.uleb128 .Ltmp280-.Lfunc_begin0         #     jumps to .Ltmp280
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp302-.Lfunc_begin0         # >> Call Site 18 <<
	.uleb128 .Ltmp303-.Ltmp302              #   Call between .Ltmp302 and .Ltmp303
	.uleb128 .Ltmp304-.Lfunc_begin0         #     jumps to .Ltmp304
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp326-.Lfunc_begin0         # >> Call Site 19 <<
	.uleb128 .Ltmp327-.Ltmp326              #   Call between .Ltmp326 and .Ltmp327
	.uleb128 .Ltmp348-.Lfunc_begin0         #     jumps to .Ltmp348
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp156-.Lfunc_begin0         # >> Call Site 20 <<
	.uleb128 .Ltmp175-.Ltmp156              #   Call between .Ltmp156 and .Ltmp175
	.uleb128 .Ltmp176-.Lfunc_begin0         #     jumps to .Ltmp176
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp132-.Lfunc_begin0         # >> Call Site 21 <<
	.uleb128 .Ltmp151-.Ltmp132              #   Call between .Ltmp132 and .Ltmp151
	.uleb128 .Ltmp152-.Lfunc_begin0         #     jumps to .Ltmp152
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp108-.Lfunc_begin0         # >> Call Site 22 <<
	.uleb128 .Ltmp127-.Ltmp108              #   Call between .Ltmp108 and .Ltmp127
	.uleb128 .Ltmp128-.Lfunc_begin0         #     jumps to .Ltmp128
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp84-.Lfunc_begin0          # >> Call Site 23 <<
	.uleb128 .Ltmp103-.Ltmp84               #   Call between .Ltmp84 and .Ltmp103
	.uleb128 .Ltmp104-.Lfunc_begin0         #     jumps to .Ltmp104
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp60-.Lfunc_begin0          # >> Call Site 24 <<
	.uleb128 .Ltmp79-.Ltmp60                #   Call between .Ltmp60 and .Ltmp79
	.uleb128 .Ltmp80-.Lfunc_begin0          #     jumps to .Ltmp80
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp36-.Lfunc_begin0          # >> Call Site 25 <<
	.uleb128 .Ltmp55-.Ltmp36                #   Call between .Ltmp36 and .Ltmp55
	.uleb128 .Ltmp56-.Lfunc_begin0          #     jumps to .Ltmp56
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp12-.Lfunc_begin0          # >> Call Site 26 <<
	.uleb128 .Ltmp31-.Ltmp12                #   Call between .Ltmp12 and .Ltmp31
	.uleb128 .Ltmp32-.Lfunc_begin0          #     jumps to .Ltmp32
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp180-.Lfunc_begin0         # >> Call Site 27 <<
	.uleb128 .Ltmp199-.Ltmp180              #   Call between .Ltmp180 and .Ltmp199
	.uleb128 .Ltmp200-.Lfunc_begin0         #     jumps to .Ltmp200
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp305-.Lfunc_begin0         # >> Call Site 28 <<
	.uleb128 .Ltmp324-.Ltmp305              #   Call between .Ltmp305 and .Ltmp324
	.uleb128 .Ltmp325-.Lfunc_begin0         #     jumps to .Ltmp325
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp281-.Lfunc_begin0         # >> Call Site 29 <<
	.uleb128 .Ltmp300-.Ltmp281              #   Call between .Ltmp281 and .Ltmp300
	.uleb128 .Ltmp301-.Lfunc_begin0         #     jumps to .Ltmp301
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp257-.Lfunc_begin0         # >> Call Site 30 <<
	.uleb128 .Ltmp276-.Ltmp257              #   Call between .Ltmp257 and .Ltmp276
	.uleb128 .Ltmp277-.Lfunc_begin0         #     jumps to .Ltmp277
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp233-.Lfunc_begin0         # >> Call Site 31 <<
	.uleb128 .Ltmp252-.Ltmp233              #   Call between .Ltmp233 and .Ltmp252
	.uleb128 .Ltmp253-.Lfunc_begin0         #     jumps to .Ltmp253
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp209-.Lfunc_begin0         # >> Call Site 32 <<
	.uleb128 .Ltmp228-.Ltmp209              #   Call between .Ltmp209 and .Ltmp228
	.uleb128 .Ltmp229-.Lfunc_begin0         #     jumps to .Ltmp229
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp328-.Lfunc_begin0         # >> Call Site 33 <<
	.uleb128 .Ltmp347-.Ltmp328              #   Call between .Ltmp328 and .Ltmp347
	.uleb128 .Ltmp348-.Lfunc_begin0         #     jumps to .Ltmp348
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp347-.Lfunc_begin0         # >> Call Site 34 <<
	.uleb128 .Lfunc_end1-.Ltmp347           #   Call between .Ltmp347 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_,"axG",@progbits,_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_,comdat
	.weak	_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_ # -- Begin function _ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_,@function
_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_: # @_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_
	.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	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB2_7
# %bb.1:                                # %_ZNSt6vectorIP12ihipStream_tSaIS1_EE17_S_check_init_lenEmRKS2_.exit
	movq	%rsi, %r14
	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	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,8), %r15
	movq	%r15, 16(%rbx)
	movq	$0, (%rax)
	addq	$8, %rax
	cmpq	$1, %r14
	jne	.LBB2_5
# %bb.4:
	movq	%rax, %r15
	jmp	.LBB2_6
.LBB2_2:                                # %_ZNSt12_Vector_baseIP12ihipStream_tSaIS1_EEC2EmRKS2_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	.LBB2_6
.LBB2_5:                                # %_ZSt6fill_nIPP12ihipStream_tmS1_ET_S3_T0_RKT1_.exit.loopexit.i.i.i.i
	leaq	-8(,%r14,8), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB2_6:
	movq	%r15, 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_7:
	.cfi_def_cfa_offset 32
	movl	$.L.str.6, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end2:
	.size	_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_, .Lfunc_end2-_ZNSt6vectorIP12ihipStream_tSaIS1_EEC2EmRKS2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIPfSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_,comdat
	.weak	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_ # -- Begin function _ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_,@function
_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_:       # @_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
	.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	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB3_7
# %bb.1:                                # %_ZNSt6vectorIPfSaIS0_EE17_S_check_init_lenEmRKS1_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB3_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIPfE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,8), %r15
	movq	%r15, 16(%rbx)
	movq	$0, (%rax)
	addq	$8, %rax
	cmpq	$1, %r14
	jne	.LBB3_5
# %bb.4:
	movq	%rax, %r15
	jmp	.LBB3_6
.LBB3_2:                                # %_ZNSt12_Vector_baseIPfSaIS0_EEC2EmRKS1_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	.LBB3_6
.LBB3_5:                                # %_ZSt6fill_nIPPfmS0_ET_S2_T0_RKT1_.exit.loopexit.i.i.i.i
	leaq	-8(,%r14,8), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB3_6:
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB3_7:
	.cfi_def_cfa_offset 32
	movl	$.L.str.6, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end3:
	.size	_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_, .Lfunc_end3-_ZNSt6vectorIPfSaIS0_EEC2EmRKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC2EmRKS0_,comdat
	.weak	_ZNSt6vectorIiSaIiEEC2EmRKS0_   # -- Begin function _ZNSt6vectorIiSaIiEEC2EmRKS0_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEEC2EmRKS0_,@function
_ZNSt6vectorIiSaIiEEC2EmRKS0_:          # @_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.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	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB4_7
# %bb.1:                                # %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB4_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,4), %r15
	movq	%r15, 16(%rbx)
	movl	$0, (%rax)
	addq	$4, %rax
	cmpq	$1, %r14
	jne	.LBB4_5
# %bb.4:
	movq	%rax, %r15
	jmp	.LBB4_6
.LBB4_2:                                # %_ZNSt12_Vector_baseIiSaIiEEC2EmRKS0_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	.LBB4_6
.LBB4_5:                                # %_ZSt6fill_nIPimiET_S1_T0_RKT1_.exit.loopexit.i.i.i.i
	leaq	-4(,%r14,4), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB4_6:
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB4_7:
	.cfi_def_cfa_offset 32
	movl	$.L.str.6, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end4:
	.size	_ZNSt6vectorIiSaIiEEC2EmRKS0_, .Lfunc_end4-_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI5_0:
	.long	0x3b000000                      # float 0.001953125
.LCPI5_1:
	.long	0x3dcccccd                      # float 0.100000001
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	pushq	%rax
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	$262144, %edi                   # imm = 0x40000
	callq	_Znam
	movq	%rax, %rbx
	movl	$262144, %edi                   # imm = 0x40000
	callq	_Znam
	movq	%rax, %r14
	xorl	%r15d, %r15d
	movl	$262144, %edx                   # imm = 0x40000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movss	.LCPI5_0(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	movq	%rbx, %rax
.LBB5_1:                                # %.preheader42
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB5_2 Depth 2
	xorl	%ecx, %ecx
.LBB5_2:                                #   Parent Loop BB5_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	leal	(%r15,%rcx), %edx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edx, %xmm1
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rax,%rcx,4)
	incq	%rcx
	cmpq	$256, %rcx                      # imm = 0x100
	jne	.LBB5_2
# %bb.3:                                #   in Loop: Header=BB5_1 Depth=1
	incq	%r15
	addq	$1024, %rax                     # imm = 0x400
	cmpq	$256, %r15                      # imm = 0x100
	jne	.LBB5_1
# %bb.4:
	movss	.LCPI5_1(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$256, %edx                      # imm = 0x100
	movl	$256, %ecx                      # imm = 0x100
	movl	$1, %r8d
	movaps	%xmm0, %xmm1
	callq	_Z21multiGPUActiveContourPfS_iiiff
	xorl	%r15d, %r15d
	movl	$_ZSt4cout, %r12d
	movq	%r14, %r13
.LBB5_5:                                # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB5_6 Depth 2
	xorl	%ebp, %ebp
.LBB5_6:                                #   Parent Loop BB5_5 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r13,%rbp,4), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movl	$.L.str.5, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	incq	%rbp
	cmpq	$10, %rbp
	jne	.LBB5_6
# %bb.7:                                #   in Loop: Header=BB5_5 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	incq	%r15
	addq	$1024, %r13                     # imm = 0x400
	cmpq	$10, %r15
	jne	.LBB5_5
# %bb.8:
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	%r14, %rdi
	callq	_ZdaPv
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	main, .Lfunc_end5-main
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv,@function
_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv: # @_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB6_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB6_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB6_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB6_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end6:
	.size	_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv, .Lfunc_end6-_ZNSt15__new_allocatorIP12ihipStream_tE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIPfE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIPfE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIPfE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIPfE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIPfE8allocateEmPKv,@function
_ZNSt15__new_allocatorIPfE8allocateEmPKv: # @_ZNSt15__new_allocatorIPfE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB7_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB7_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB7_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB7_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end7:
	.size	_ZNSt15__new_allocatorIPfE8allocateEmPKv, .Lfunc_end7-_ZNSt15__new_allocatorIPfE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIiE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIiE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIiE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIiE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIiE8allocateEmPKv,@function
_ZNSt15__new_allocatorIiE8allocateEmPKv: # @_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB8_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB8_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB8_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB8_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end8:
	.size	_ZNSt15__new_allocatorIiE8allocateEmPKv, .Lfunc_end8-_ZNSt15__new_allocatorIiE8allocateEmPKv
	.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	$_Z19updateContourKernelPfPKfiiff, %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	_Z19updateContourKernelPfPKfiiff,@object # @_Z19updateContourKernelPfPKfiiff
	.section	.rodata,"a",@progbits
	.globl	_Z19updateContourKernelPfPKfiiff
	.p2align	3, 0x0
_Z19updateContourKernelPfPKfiiff:
	.quad	_Z34__device_stub__updateContourKernelPfPKfiiff
	.size	_Z19updateContourKernelPfPKfiiff, 8

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

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

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

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"/home/ubuntu/Datasets/hip-codes-80k-from-llm-dedup-disassemble-sm89/cuda_code_046559.hip"
	.size	.L.str.3, 89

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

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

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z19updateContourKernelPfPKfiiff"
	.size	.L__unnamed_1, 33

	.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 _Z34__device_stub__updateContourKernelPfPKfiiff
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z19updateContourKernelPfPKfiiff
	.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	_Z19updateContourKernelPfPKfiiff ; -- Begin function _Z19updateContourKernelPfPKfiiff
	.globl	_Z19updateContourKernelPfPKfiiff
	.p2align	8
	.type	_Z19updateContourKernelPfPKfiiff,@function
_Z19updateContourKernelPfPKfiiff:       ; @_Z19updateContourKernelPfPKfiiff
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b128 s[4:7], s[0:1], 0x10
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[0:1], null, s14, s2, v[2:3]
	v_mad_u64_u32 v[1:2], null, s15, s3, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e32 vcc_lo, s4, v0
	v_cmp_gt_i32_e64 s2, s5, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, vcc_lo, s2
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB0_2
; %bb.1:
	s_load_b128 s[0:3], s[0:1], 0x0
	v_mad_u64_u32 v[2:3], null, v1, s4, v[0:1]
	s_ashr_i32 s5, s4, 31
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v3, 31, v2
	v_subrev_nc_u32_e32 v0, s4, v2
	s_lshl_b64 s[4:5], s[4:5], 2
	v_lshlrev_b64 v[3:4], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v1, 31, v0
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v5, vcc_lo, s2, v3
	v_add_co_ci_u32_e32 v6, vcc_lo, s3, v4, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v7, vcc_lo, v5, s4
	v_add_co_ci_u32_e32 v8, vcc_lo, s5, v6, vcc_lo
	v_add_co_u32 v0, vcc_lo, s2, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s3, v1, vcc_lo
	s_clause 0x2
	global_load_b32 v7, v[7:8], off
	global_load_b32 v8, v[0:1], off
	global_load_b96 v[0:2], v[5:6], off offset:-4
	v_add_co_u32 v3, vcc_lo, s0, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v4, vcc_lo
	global_load_b32 v5, v[3:4], off
	s_waitcnt vmcnt(1)
	v_dual_sub_f32 v6, v7, v8 :: v_dual_add_f32 v1, -0.5, v1
	v_sub_f32_e32 v0, v2, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v2, 0.5, v6
	v_mul_f32_e32 v0, 0.5, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v2, v2, v2
	v_fmac_f32_e32 v2, v0, v0
	v_mul_f32_e32 v0, s7, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f32 v0, v2, s6, -v0
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v0, v5, v0
	global_store_b32 v[3:4], v0, off
.LBB0_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z19updateContourKernelPfPKfiiff
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.amdhsa_user_sgpr_count 14
		.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 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 9
		.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	_Z19updateContourKernelPfPKfiiff, .Lfunc_end0-_Z19updateContourKernelPfPKfiiff
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 344
; NumSgprs: 18
; NumVgprs: 9
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 9
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

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

	.end_amdgpu_metadata
