/*
other things we should test:
- struct pointer, with offset
- multiple struct pointers, cut from same buffer
- getting values from various types of structs passed in
*/

#include <iostream>
#include <memory>
#include <cassert>

using namespace std;

#include <cuda.h>

struct Struct_fp_fp_f_f {
    float *p1;
    float *p2;
    float f1;
    float f2;
};

struct Struct_fp {
    float *p1;
};

struct Struct_1float {
    float f1;
};

struct Struct_2floats {
    float f1;
    float f2;
};

__global__ void struct_byvalue(struct Struct_fp_fp_f_f mystruct, float *out) {
    out[0] = mystruct.f1;
    out[1] = mystruct.f2;
    mystruct.p1[0] = 9.0f;
    mystruct.p2[0] = 10.0f;
}

void testbyvaluestruct() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *gpuFloats1;
    cudaMalloc((void**)(&gpuFloats1), N * sizeof(float));

    float *gpuFloats2;
    cudaMalloc((void**)(&gpuFloats2), N * sizeof(float));

    float *gpuFloats3;
    cudaMalloc((void**)(&gpuFloats3), N * sizeof(float));

    float *gpuOut;
    cudaMalloc((void**)(&gpuOut), N * sizeof(float));

    float *hostFloats1 = new float[N];
    float *hostFloats2 = new float[N];
    float *hostFloats3 = new float[N];
    float *hostOut = new float[N];

    struct Struct_fp_fp_f_f mystruct = {(float *)gpuFloats1, (float *)gpuFloats2, 3.0f, 8.0f};
    struct_byvalue<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct, (float *)gpuOut);

    cudaMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cudaMemcpy(hostFloats2, gpuFloats2, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cudaMemcpy(hostOut, gpuOut, 4 * sizeof(float), cudaMemcpyDeviceToHost);

    cuStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats2[0] << endl;
    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostFloats1[0] == 9);
    assert(hostFloats2[0] == 10);
    assert(hostOut[0] == 3);
    assert(hostOut[1] == 8);

    cudaFree(gpuFloats1);
    cudaFree(gpuFloats2);
    cudaFree(gpuFloats3);
    cudaFree(gpuOut);

    delete[]hostFloats1;
    delete[]hostFloats2;
    delete[]hostFloats3;
    delete[]hostOut;

    cuStreamDestroy(stream);
}

__global__ void struct_aspointer(struct Struct_2floats *mystruct, float *out) {
    out[0] = mystruct->f1;
    out[1] = mystruct->f2;
}

void testaspointerstruct() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *hostOut = new float[N];

    float *gpuOut;
    cudaMalloc((void**)(&gpuOut), N * sizeof(float));

    struct Struct_2floats mystruct = { 5, 7 };
    struct Struct_2floats *gpu_mystruct;
    cudaMalloc((void**)(&gpu_mystruct), sizeof(mystruct));
    cudaMemcpy(gpu_mystruct, &mystruct, sizeof(mystruct), cudaMemcpyHostToDevice);

    struct_aspointer<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(gpu_mystruct, gpuOut);

    cudaMemcpy(hostOut, gpuOut, 4 * sizeof(float), cudaMemcpyDeviceToHost);

    cuStreamSynchronize(stream);

    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostOut[0] == 5);
    assert(hostOut[1] == 7);

    delete[]hostOut;

    cuStreamDestroy(stream);
}

__global__ void kernel_twostructs(struct Struct_fp_fp_f_f mystruct, struct Struct_fp mystruct2) {
    mystruct.p1[0] = 9.0f;
    mystruct.p2[0] = 10.0f;
    mystruct2.p1[0] = 11.0f;
}

void testtwostructs() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *gpuFloats1;
    cudaMalloc((void**)(&gpuFloats1), N * sizeof(float));

    float *gpuFloats2;
    cudaMalloc((void**)(&gpuFloats2), N * sizeof(float));

    float *gpuFloats3;
    cudaMalloc((void**)(&gpuFloats3), N * sizeof(float));

    float *hostFloats1 = new float[N];
    float *hostFloats2 = new float[N];
    float *hostFloats3 = new float[N];

    struct Struct_fp_fp_f_f mystruct = {(float *)gpuFloats1, (float *)gpuFloats2};
    struct Struct_fp mystruct2 = {(float *)gpuFloats3};

    kernel_twostructs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct, mystruct2);

    cudaMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cudaMemcpy(hostFloats2, gpuFloats2, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cudaMemcpy(hostFloats3, gpuFloats3, 4 * sizeof(float), cudaMemcpyDeviceToHost);

    cuStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats2[0] << endl;
    cout << hostFloats3[0] << endl;

    assert(hostFloats1[0] == 9);
    assert(hostFloats2[0] == 10);
    assert(hostFloats3[0] == 11);

    cudaFree(gpuFloats1);
    cudaFree(gpuFloats2);
    cudaFree(gpuFloats3);

    delete[]hostFloats1;
    delete[]hostFloats2;
    delete[]hostFloats3;

    cuStreamDestroy(stream);
}

__global__ void kernel_structbyval_noptrs(struct Struct_1float mystruct1, float *out) {
    if(threadIdx.x == 0) {
        out[0] = mystruct1.f1;
        out[1] = 5;
    }
}

void teststructbyvalNoPtr() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *hostFloats1 = new float[N];

    float *gpuFloats1;
    cudaMalloc((void**)(&gpuFloats1), N * sizeof(float));

    struct Struct_1float mystruct1 = {8.0f};

    kernel_structbyval_noptrs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct1, (float *)gpuFloats1);

    cudaMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cuStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats1[1] << endl;

    assert(hostFloats1[0] == 8);
    assert(hostFloats1[1] == 5);

    delete[] hostFloats1;
    cudaFree(gpuFloats1);

    cuStreamDestroy(stream);
}

__global__ void kernel_twostructs_noptrs(struct Struct_2floats *mystruct, struct Struct_1float *mystruct2, struct Struct_1float mystruct3, float *out) {
    if(threadIdx.x == 0) {
    out[0] = mystruct->f1;
    out[1] = mystruct->f2;
    out[2] = mystruct2->f1;
    out[3] = mystruct3.f1;
    }
}

void test_twostructs_byptr_NoPtr() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *hostFloats1 = new float[N];

    float *gpuFloats1;
    cudaMalloc((void**)(&gpuFloats1), N * sizeof(float));

    struct Struct_2floats mystruct = {5.0f, 6.0f};
    struct Struct_1float mystruct2 = {7.0f};
    struct Struct_1float mystruct3 = {8.0f};

    struct Struct_2floats *gpu_mystruct;
    cudaMalloc((void**)(&gpu_mystruct), sizeof(mystruct));
    cudaMemcpy(gpu_mystruct, &mystruct, sizeof(mystruct), cudaMemcpyHostToDevice);

    struct Struct_1float *gpu_mystruct2;
    cudaMalloc((void**)(&gpu_mystruct2), sizeof(mystruct2));
    cudaMemcpy(gpu_mystruct2, &mystruct2, sizeof(mystruct2), cudaMemcpyHostToDevice);

    kernel_twostructs_noptrs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(gpu_mystruct, gpu_mystruct2, mystruct3, (float *)gpuFloats1);
    cudaMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cuStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats1[1] << endl;
    cout << hostFloats1[2] << endl;
    cout << hostFloats1[3] << endl;

    assert(hostFloats1[0] == 5);
    assert(hostFloats1[1] == 6);
    assert(hostFloats1[2] == 7);
    assert(hostFloats1[3] == 8);

    cudaFree(gpuFloats1);
    cudaFree(gpu_mystruct);
    cudaFree(gpu_mystruct2);
    // cudaFree(gpu_mystruct3);

    delete[] hostFloats1;

    cuStreamDestroy(stream);
}

__global__ void kernel_struct2byval_noptrs(struct Struct_2floats mystruct1, float *out) {
    if(threadIdx.x == 0) {
    out[0] = mystruct1.f1;
    out[1] = mystruct1.f2;
    }
}

void teststruct2byvalNoPtr() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *hostFloats1 = new float[N];

    float *gpuFloats1;
    cudaMalloc((void**)(&gpuFloats1), N * sizeof(float));

    struct Struct_2floats mystruct1 = {8.0f, 9.0f};

    kernel_struct2byval_noptrs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct1, (float *)gpuFloats1);
    cudaMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cuStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats1[1] << endl;

    assert(hostFloats1[0] == 8);
    assert(hostFloats1[1] == 9);

    delete[] hostFloats1;
    cudaFree(gpuFloats1);

    cuStreamDestroy(stream);
}

struct struct_f_c_f_c {
    float f1;
    char c1;
    float f2;
    char c2;
};

__global__ void kernel_twostructs_gpuside_singlebuffer(struct struct_f_c_f_c *mystruct1, struct struct_f_c_f_c *mystruct2, float *out) {
    out[0] = mystruct1->f1;
    out[1] = mystruct1->f2;
    out[2] = mystruct2->f1;
    out[3] = mystruct2->f2;
}

void test_twostructs_gpuside_singlebuffer() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *hostOut = new float[N];

    float *gpuOut;
    cudaMalloc((void**)(&gpuOut), N * sizeof(float));

    char *gpubuf;
    cudaMalloc((void **)&gpubuf, 1024);

    int offset1 = 24;
    int offset2 = 40;

    struct struct_f_c_f_c mystruct1 = { 5, 0, 7, 0 };
    cudaMemcpy(gpubuf + offset1, &mystruct1, sizeof(mystruct1), cudaMemcpyHostToDevice);

    struct struct_f_c_f_c mystruct2 = { 9, 0, 3, 0 };
    cudaMemcpy(gpubuf + offset2, &mystruct2, sizeof(mystruct2), cudaMemcpyHostToDevice);

    kernel_twostructs_gpuside_singlebuffer<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(
        (struct struct_f_c_f_c *)(gpubuf + offset1),
        (struct struct_f_c_f_c *)(gpubuf + offset2),
        gpuOut);

    cudaMemcpy(hostOut, gpuOut, 4 * sizeof(float), cudaMemcpyDeviceToHost);

    cuStreamSynchronize(stream);

    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;
    cout << hostOut[2] << endl;
    cout << hostOut[3] << endl;

    assert(hostOut[0] == 5);
    assert(hostOut[1] == 7);
    assert(hostOut[2] == 9);
    assert(hostOut[3] == 3);

    delete[]hostOut;

    cuStreamDestroy(stream);
}

struct NestL2 {
    float floats[10];
};

struct NestL1 {
    struct NestL2 n1;
    struct NestL2 n2;
};

struct NestTop {
    struct NestL1 n1;
    struct NestL1 n2;
};

__global__ void kernelUseNestTop(NestTop nest, float *out) {
    out[0] = nest.n1.n1.floats[0];
    out[1] = nest.n1.n1.floats[1];
}

void testKernelUsesNestTop() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *gpuOut;
    cudaMalloc((void**)(&gpuOut), N * sizeof(float));

    float *hostOut = new float[N];

    struct NestTop nestTop;
    nestTop.n1.n1.floats[0] = 5;
    nestTop.n1.n1.floats[1] = 7;

    kernelUseNestTop<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(nestTop, (float *)gpuOut);

    cudaMemcpy(hostOut, gpuOut, 4 * sizeof(float), cudaMemcpyDeviceToHost);

    cuStreamSynchronize(stream);

    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostOut[0] == 5);
    assert(hostOut[1] == 7);

    cudaFree(gpuOut);

    delete[]hostOut;

    cuStreamDestroy(stream);    
}

__global__ void struct_byvalue_withreadnone(struct Struct_fp_fp_f_f mystruct, struct Struct_fp_fp_f_f donothing, float *out) {
    out[0] = mystruct.f1;
    out[1] = mystruct.f2;
    mystruct.p1[0] = 9.0f;
    mystruct.p2[0] = 10.0f;
}

void testbyvaluestruct_withreadnone() {
    int N = 1024;

    CUstream stream;
    cuStreamCreate(&stream, 0);

    float *gpuFloats1;
    cudaMalloc((void**)(&gpuFloats1), N * sizeof(float));

    float *gpuFloats2;
    cudaMalloc((void**)(&gpuFloats2), N * sizeof(float));

    float *gpuFloats3;
    cudaMalloc((void**)(&gpuFloats3), N * sizeof(float));

    float *gpuOut;
    cudaMalloc((void**)(&gpuOut), N * sizeof(float));

    float *hostFloats1 = new float[N];
    float *hostFloats2 = new float[N];
    float *hostFloats3 = new float[N];
    float *hostOut = new float[N];

    struct Struct_fp_fp_f_f mystruct = {(float *)gpuFloats1, (float *)gpuFloats2, 3.0f, 8.0f};
    struct Struct_fp_fp_f_f donothing = {(float *)0, (float *)0, 0.0f, 0.0f};
    struct_byvalue_withreadnone<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct, donothing, (float *)gpuOut);

    cudaMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cudaMemcpy(hostFloats2, gpuFloats2, 4 * sizeof(float), cudaMemcpyDeviceToHost);
    cudaMemcpy(hostOut, gpuOut, 4 * sizeof(float), cudaMemcpyDeviceToHost);

    cuStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats2[0] << endl;
    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostFloats1[0] == 9);
    assert(hostFloats2[0] == 10);
    assert(hostOut[0] == 3);
    assert(hostOut[1] == 8);

    cudaFree(gpuFloats1);
    cudaFree(gpuFloats2);
    cudaFree(gpuFloats3);
    cudaFree(gpuOut);

    delete[]hostFloats1;
    delete[]hostFloats2;
    delete[]hostFloats3;
    delete[]hostOut;

    cuStreamDestroy(stream);
}

int main(int argc, char *argv[]) {
    cout << "\ntestvaluestruct" << endl;
    testbyvaluestruct();

    cout << "\ntestaspointersstruct" << endl;
    testaspointerstruct();

    cout << "\ntesttwostructs" << endl;
    testtwostructs();

    cout << "\teststructbyvalNoPtr" << endl;
    teststructbyvalNoPtr();

    cout << "\ntest_twostructs_byptr_NoPtr" << endl;
    test_twostructs_byptr_NoPtr();

    cout << "\teststruct2byvalNoPtr" << endl;
    teststruct2byvalNoPtr();

    cout << "\test_twostructs_gpuside_singlebuffer" << endl;
    test_twostructs_gpuside_singlebuffer();

    cout << "\ntestKernelUsesNestTop" << endl;
    testKernelUsesNestTop();

    cout << "\ntestvaluestruct_withreadnone" << endl;
    testbyvaluestruct_withreadnone();

    return 0;
}

	.file	"tmpxft_00333782_00000000-6_test_structs.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4291:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4291:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB4986:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE4986:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.globl	_Z52__device_stub__Z14struct_byvalue16Struct_fp_fp_f_fPfR16Struct_fp_fp_f_fPf
	.type	_Z52__device_stub__Z14struct_byvalue16Struct_fp_fp_f_fPfR16Struct_fp_fp_f_fPf, @function
_Z52__device_stub__Z14struct_byvalue16Struct_fp_fp_f_fPfR16Struct_fp_fp_f_fPf:
.LFB4313:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rsi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movq	%rdi, 88(%rsp)
	leaq	40(%rsp), %rdi
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movl	$1, 48(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L3
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z14struct_byvalue16Struct_fp_fp_f_fPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L3:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4313:
	.size	_Z52__device_stub__Z14struct_byvalue16Struct_fp_fp_f_fPfR16Struct_fp_fp_f_fPf, .-_Z52__device_stub__Z14struct_byvalue16Struct_fp_fp_f_fPfR16Struct_fp_fp_f_fPf
	.globl	_Z14struct_byvalue16Struct_fp_fp_f_fPf
	.type	_Z14struct_byvalue16Struct_fp_fp_f_fPf, @function
_Z14struct_byvalue16Struct_fp_fp_f_fPf:
.LFB4314:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdi, %rsi
	leaq	16(%rsp), %rdi
	call	_Z52__device_stub__Z14struct_byvalue16Struct_fp_fp_f_fPfR16Struct_fp_fp_f_fPf
	popq	%rdx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4314:
	.size	_Z14struct_byvalue16Struct_fp_fp_f_fPf, .-_Z14struct_byvalue16Struct_fp_fp_f_fPf
	.globl	_Z17testbyvaluestructv
	.type	_Z17testbyvaluestructv, @function
_Z17testbyvaluestructv:
.LFB4279:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xorl	%esi, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$96, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	call	cuStreamCreate@PLT
	leaq	8(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	leaq	16(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	leaq	24(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	movl	$4096, %esi
	leaq	32(%rsp), %rdi
	call	cudaMalloc@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	movl	$4096, %edi
	movq	%rax, %r12
	call	_Znam@PLT
	movl	$4096, %edi
	movq	%rax, %rbp
	call	_Znam@PLT
	movl	$134217729, %edx
	movq	(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movq	%rax, %rbx
	movabsq	$4294967297, %rdi
	movq	8(%rsp), %r14
	movq	16(%rsp), %r13
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L11
	movq	32(%rsp), %rsi
	leaq	64(%rsp), %rdi
	movq	%r14, 64(%rsp)
	movabsq	$4683743613543251968, %rax
	movq	%r13, 72(%rsp)
	movq	%rax, 80(%rsp)
	call	_Z52__device_stub__Z14struct_byvalue16Struct_fp_fp_f_fPfR16Struct_fp_fp_f_fPf
.L11:
	movq	8(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%r12, %rdi
	leaq	_ZSt4cout(%rip), %r13
	call	cudaMemcpy@PLT
	movq	16(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	movl	$16, %edx
	call	cudaMemcpy@PLT
	movq	32(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbx, %rdi
	movl	$16, %edx
	call	cudaMemcpy@PLT
	movq	(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%r13, %rdi
	cvtss2sd	(%r12), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	0(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	8(%rsp), %rdi
	call	cudaFree@PLT
	movq	16(%rsp), %rdi
	call	cudaFree@PLT
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
	movq	32(%rsp), %rdi
	call	cudaFree@PLT
	movq	%r12, %rdi
	call	_ZdaPv@PLT
	movq	%rbp, %rdi
	call	_ZdaPv@PLT
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	addq	$96, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4279:
	.size	_Z17testbyvaluestructv, .-_Z17testbyvaluestructv
	.globl	_Z53__device_stub__Z16struct_aspointerP14Struct_2floatsPfP14Struct_2floatsPf
	.type	_Z53__device_stub__Z16struct_aspointerP14Struct_2floatsPfP14Struct_2floatsPf, @function
_Z53__device_stub__Z16struct_aspointerP14Struct_2floatsPfP14Struct_2floatsPf:
.LFB4315:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	movq	%rsi, (%rsp)
	leaq	40(%rsp), %rdi
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 48(%rsp)
	movq	%rax, 88(%rsp)
	movq	%rsp, %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L14
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z16struct_aspointerP14Struct_2floatsPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L14:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4315:
	.size	_Z53__device_stub__Z16struct_aspointerP14Struct_2floatsPfP14Struct_2floatsPf, .-_Z53__device_stub__Z16struct_aspointerP14Struct_2floatsPfP14Struct_2floatsPf
	.globl	_Z16struct_aspointerP14Struct_2floatsPf
	.type	_Z16struct_aspointerP14Struct_2floatsPf, @function
_Z16struct_aspointerP14Struct_2floatsPf:
.LFB4316:
	.cfi_startproc
	endbr64
	jmp	_Z53__device_stub__Z16struct_aspointerP14Struct_2floatsPfP14Struct_2floatsPf
	.cfi_endproc
.LFE4316:
	.size	_Z16struct_aspointerP14Struct_2floatsPf, .-_Z16struct_aspointerP14Struct_2floatsPf
	.globl	_Z19testaspointerstructv
	.type	_Z19testaspointerstructv, @function
_Z19testaspointerstructv:
.LFB4280:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%esi, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$72, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	call	cuStreamCreate@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	leaq	8(%rsp), %rdi
	movl	$4096, %esi
	movq	%rax, %rbx
	call	cudaMalloc@PLT
	leaq	16(%rsp), %rdi
	movl	$8, %esi
	movabsq	$4674736414294802432, %rax
	movq	%rax, 24(%rsp)
	call	cudaMalloc@PLT
	movq	16(%rsp), %rdi
	leaq	24(%rsp), %rsi
	movl	$1, %ecx
	movl	$8, %edx
	call	cudaMemcpy@PLT
	movl	$134217729, %edx
	movq	(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L20
	movq	8(%rsp), %rsi
	movq	16(%rsp), %rdi
	call	_Z53__device_stub__Z16struct_aspointerP14Struct_2floatsPfP14Struct_2floatsPf
.L20:
	movq	8(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%rbx, %rdi
	leaq	_ZSt4cout(%rip), %rbp
	call	cudaMemcpy@PLT
	movq	(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%rbp, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	addq	$72, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4280:
	.size	_Z19testaspointerstructv, .-_Z19testaspointerstructv
	.globl	_Z63__device_stub__Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fpR16Struct_fp_fp_f_fR9Struct_fp
	.type	_Z63__device_stub__Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fpR16Struct_fp_fp_f_fR9Struct_fp, @function
_Z63__device_stub__Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fpR16Struct_fp_fp_f_fR9Struct_fp:
.LFB4317:
	.cfi_startproc
	endbr64
	subq	$104, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	movq	%rdi, 72(%rsp)
	movabsq	$4294967297, %rax
	movq	%rsi, 80(%rsp)
	leaq	8(%rsp), %rdx
	leaq	36(%rsp), %rsi
	leaq	24(%rsp), %rdi
	movq	%rax, 24(%rsp)
	movl	$1, 32(%rsp)
	movq	%rax, 36(%rsp)
	movl	$1, 44(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L23
	pushq	16(%rsp)
	.cfi_def_cfa_offset 120
	leaq	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp(%rip), %rdi
	pushq	16(%rsp)
	.cfi_def_cfa_offset 128
	movq	52(%rsp), %rcx
	movl	60(%rsp), %r8d
	movq	40(%rsp), %rsi
	movl	48(%rsp), %edx
	leaq	88(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 120
	popq	%rdx
	.cfi_def_cfa_offset 112
.L23:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	addq	$104, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4317:
	.size	_Z63__device_stub__Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fpR16Struct_fp_fp_f_fR9Struct_fp, .-_Z63__device_stub__Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fpR16Struct_fp_fp_f_fR9Struct_fp
	.globl	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.type	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp, @function
_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp:
.LFB4318:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %rdi
	call	_Z63__device_stub__Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fpR16Struct_fp_fp_f_fR9Struct_fp
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4318:
	.size	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp, .-_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.globl	_Z14testtwostructsv
	.type	_Z14testtwostructsv, @function
_Z14testtwostructsv:
.LFB4281:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%esi, %esi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	call	cuStreamCreate@PLT
	leaq	8(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	leaq	16(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	movl	$4096, %esi
	leaq	24(%rsp), %rdi
	call	cudaMalloc@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	movl	$4096, %edi
	movq	%rax, %r12
	call	_Znam@PLT
	movl	$4096, %edi
	movq	%rax, %rbp
	call	_Znam@PLT
	movl	$134217729, %edx
	movq	(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	movq	8(%rsp), %r15
	movq	16(%rsp), %r14
	movq	%rax, %rbx
	movq	24(%rsp), %r13
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L30
	xorl	%eax, %eax
	leaq	32(%rsp), %rsi
	leaq	64(%rsp), %rdi
	movq	%r15, 64(%rsp)
	movq	%r14, 72(%rsp)
	movq	%rax, 80(%rsp)
	movq	%r13, 32(%rsp)
	call	_Z63__device_stub__Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fpR16Struct_fp_fp_f_fR9Struct_fp
.L30:
	movq	8(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%r12, %rdi
	leaq	_ZSt4cout(%rip), %r13
	call	cudaMemcpy@PLT
	movq	16(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	movl	$16, %edx
	call	cudaMemcpy@PLT
	movq	24(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbx, %rdi
	movl	$16, %edx
	call	cudaMemcpy@PLT
	movq	(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%r13, %rdi
	cvtss2sd	(%r12), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	0(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	8(%rsp), %rdi
	call	cudaFree@PLT
	movq	16(%rsp), %rdi
	call	cudaFree@PLT
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
	movq	%r12, %rdi
	call	_ZdaPv@PLT
	movq	%rbp, %rdi
	call	_ZdaPv@PLT
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	addq	$104, %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
.LFE4281:
	.size	_Z14testtwostructsv, .-_Z14testtwostructsv
	.globl	_Z60__device_stub__Z25kernel_structbyval_noptrs13Struct_1floatPfR13Struct_1floatPf
	.type	_Z60__device_stub__Z25kernel_structbyval_noptrs13Struct_1floatPfR13Struct_1floatPf, @function
_Z60__device_stub__Z25kernel_structbyval_noptrs13Struct_1floatPfR13Struct_1floatPf:
.LFB4319:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rsi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movq	%rdi, 88(%rsp)
	leaq	40(%rsp), %rdi
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movl	$1, 48(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L33
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z25kernel_structbyval_noptrs13Struct_1floatPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L33:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4319:
	.size	_Z60__device_stub__Z25kernel_structbyval_noptrs13Struct_1floatPfR13Struct_1floatPf, .-_Z60__device_stub__Z25kernel_structbyval_noptrs13Struct_1floatPfR13Struct_1floatPf
	.globl	_Z25kernel_structbyval_noptrs13Struct_1floatPf
	.type	_Z25kernel_structbyval_noptrs13Struct_1floatPf, @function
_Z25kernel_structbyval_noptrs13Struct_1floatPf:
.LFB4320:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, %rsi
	leaq	12(%rsp), %rdi
	movss	%xmm0, 12(%rsp)
	call	_Z60__device_stub__Z25kernel_structbyval_noptrs13Struct_1floatPfR13Struct_1floatPf
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4320:
	.size	_Z25kernel_structbyval_noptrs13Struct_1floatPf, .-_Z25kernel_structbyval_noptrs13Struct_1floatPf
	.globl	_Z20teststructbyvalNoPtrv
	.type	_Z20teststructbyvalNoPtrv, @function
_Z20teststructbyvalNoPtrv:
.LFB4282:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%esi, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$72, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	call	cuStreamCreate@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	leaq	24(%rsp), %rdi
	movl	$4096, %esi
	movq	%rax, %rbx
	call	cudaMalloc@PLT
	movl	$134217729, %edx
	movq	16(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L40
	movq	24(%rsp), %rsi
	leaq	12(%rsp), %rdi
	movl	$0x41000000, 12(%rsp)
	call	_Z60__device_stub__Z25kernel_structbyval_noptrs13Struct_1floatPfR13Struct_1floatPf
.L40:
	movq	24(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%rbx, %rdi
	leaq	_ZSt4cout(%rip), %rbp
	call	cudaMemcpy@PLT
	movq	16(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%rbp, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
	movq	16(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	addq	$72, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4282:
	.size	_Z20teststructbyvalNoPtrv, .-_Z20teststructbyvalNoPtrv
	.globl	_Z80__device_stub__Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_PfP14Struct_2floatsP13Struct_1floatRS1_Pf
	.type	_Z80__device_stub__Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_PfP14Struct_2floatsP13Struct_1floatRS1_Pf, @function
_Z80__device_stub__Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_PfP14Struct_2floatsP13Struct_1floatRS1_Pf:
.LFB4321:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movq	%rcx, 8(%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rdx, 120(%rsp)
	leaq	40(%rsp), %rdx
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movl	$1, 64(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L43
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 176
	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 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L43:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4321:
	.size	_Z80__device_stub__Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_PfP14Struct_2floatsP13Struct_1floatRS1_Pf, .-_Z80__device_stub__Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_PfP14Struct_2floatsP13Struct_1floatRS1_Pf
	.globl	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.type	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf, @function
_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf:
.LFB4322:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	leaq	12(%rsp), %rdx
	movss	%xmm0, 12(%rsp)
	call	_Z80__device_stub__Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_PfP14Struct_2floatsP13Struct_1floatRS1_Pf
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4322:
	.size	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf, .-_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.globl	_Z27test_twostructs_byptr_NoPtrv
	.type	_Z27test_twostructs_byptr_NoPtrv, @function
_Z27test_twostructs_byptr_NoPtrv:
.LFB4283:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%esi, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$88, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdi
	call	cuStreamCreate@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	leaq	16(%rsp), %rdi
	movl	$4096, %esi
	movq	%rax, %rbx
	call	cudaMalloc@PLT
	leaq	24(%rsp), %rdi
	movabsq	$4665729215040061440, %rax
	movl	$8, %esi
	movq	%rax, 40(%rsp)
	movl	$0x40e00000, (%rsp)
	call	cudaMalloc@PLT
	movq	24(%rsp), %rdi
	movl	$1, %ecx
	movl	$8, %edx
	leaq	40(%rsp), %rsi
	call	cudaMemcpy@PLT
	leaq	32(%rsp), %rdi
	movl	$4, %esi
	call	cudaMalloc@PLT
	movq	32(%rsp), %rdi
	movq	%rsp, %rsi
	movl	$1, %ecx
	movl	$4, %edx
	call	cudaMemcpy@PLT
	movl	$134217729, %edx
	movq	8(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L50
	movq	16(%rsp), %rcx
	movq	32(%rsp), %rsi
	leaq	4(%rsp), %rdx
	movl	$0x41000000, 4(%rsp)
	movq	24(%rsp), %rdi
	call	_Z80__device_stub__Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_PfP14Struct_2floatsP13Struct_1floatRS1_Pf
.L50:
	movq	16(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%rbx, %rdi
	leaq	_ZSt4cout(%rip), %rbp
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%rbp, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	8(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	12(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	16(%rsp), %rdi
	call	cudaFree@PLT
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
	movq	32(%rsp), %rdi
	call	cudaFree@PLT
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	8(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	addq	$88, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4283:
	.size	_Z27test_twostructs_byptr_NoPtrv, .-_Z27test_twostructs_byptr_NoPtrv
	.globl	_Z62__device_stub__Z26kernel_struct2byval_noptrs14Struct_2floatsPfR14Struct_2floatsPf
	.type	_Z62__device_stub__Z26kernel_struct2byval_noptrs14Struct_2floatsPfR14Struct_2floatsPf, @function
_Z62__device_stub__Z26kernel_struct2byval_noptrs14Struct_2floatsPfR14Struct_2floatsPf:
.LFB4323:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rsi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movq	%rdi, 88(%rsp)
	leaq	40(%rsp), %rdi
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movl	$1, 48(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L53
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L53:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4323:
	.size	_Z62__device_stub__Z26kernel_struct2byval_noptrs14Struct_2floatsPfR14Struct_2floatsPf, .-_Z62__device_stub__Z26kernel_struct2byval_noptrs14Struct_2floatsPfR14Struct_2floatsPf
	.globl	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf
	.type	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf, @function
_Z26kernel_struct2byval_noptrs14Struct_2floatsPf:
.LFB4324:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, %rsi
	leaq	8(%rsp), %rdi
	movq	%xmm0, 8(%rsp)
	call	_Z62__device_stub__Z26kernel_struct2byval_noptrs14Struct_2floatsPfR14Struct_2floatsPf
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4324:
	.size	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf, .-_Z26kernel_struct2byval_noptrs14Struct_2floatsPf
	.globl	_Z21teststruct2byvalNoPtrv
	.type	_Z21teststruct2byvalNoPtrv, @function
_Z21teststruct2byvalNoPtrv:
.LFB4284:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%esi, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$72, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdi
	call	cuStreamCreate@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	leaq	16(%rsp), %rdi
	movl	$4096, %esi
	movq	%rax, %rbx
	call	cudaMalloc@PLT
	movl	$134217729, %edx
	movq	8(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L60
	movq	16(%rsp), %rsi
	leaq	24(%rsp), %rdi
	movabsq	$4688247213183205376, %rax
	movq	%rax, 24(%rsp)
	call	_Z62__device_stub__Z26kernel_struct2byval_noptrs14Struct_2floatsPfR14Struct_2floatsPf
.L60:
	movq	16(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%rbx, %rdi
	leaq	_ZSt4cout(%rip), %rbp
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%rbp, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	16(%rsp), %rdi
	call	cudaFree@PLT
	movq	8(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	addq	$72, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4284:
	.size	_Z21teststruct2byvalNoPtrv, .-_Z21teststruct2byvalNoPtrv
	.globl	_Z78__device_stub__Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_PfP14struct_f_c_f_cS0_Pf
	.type	_Z78__device_stub__Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_PfP14struct_f_c_f_cS0_Pf, @function
_Z78__device_stub__Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_PfP14struct_f_c_f_cS0_Pf:
.LFB4325:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L63
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L63:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4325:
	.size	_Z78__device_stub__Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_PfP14struct_f_c_f_cS0_Pf, .-_Z78__device_stub__Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_PfP14struct_f_c_f_cS0_Pf
	.globl	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.type	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf, @function
_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf:
.LFB4326:
	.cfi_startproc
	endbr64
	jmp	_Z78__device_stub__Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_PfP14struct_f_c_f_cS0_Pf
	.cfi_endproc
.LFE4326:
	.size	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf, .-_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.globl	_Z36test_twostructs_gpuside_singlebufferv
	.type	_Z36test_twostructs_gpuside_singlebufferv, @function
_Z36test_twostructs_gpuside_singlebufferv:
.LFB4285:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%esi, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$104, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdi
	call	cuStreamCreate@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	leaq	16(%rsp), %rdi
	movl	$4096, %esi
	movq	%rax, %rbx
	call	cudaMalloc@PLT
	leaq	24(%rsp), %rdi
	movl	$1024, %esi
	call	cudaMalloc@PLT
	movq	24(%rsp), %rax
	leaq	56(%rsp), %rsi
	movl	$1, %ecx
	movl	$16, %edx
	movl	$0x40a00000, 56(%rsp)
	leaq	24(%rax), %rdi
	movb	$0, 60(%rsp)
	movl	$0x40e00000, 64(%rsp)
	movb	$0, 68(%rsp)
	call	cudaMemcpy@PLT
	movq	24(%rsp), %rax
	leaq	72(%rsp), %rsi
	movl	$1, %ecx
	movl	$16, %edx
	movl	$0x41100000, 72(%rsp)
	leaq	40(%rax), %rdi
	movb	$0, 76(%rsp)
	movl	$0x40400000, 80(%rsp)
	movb	$0, 84(%rsp)
	call	cudaMemcpy@PLT
	movl	$134217729, %edx
	movq	8(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L69
	movq	24(%rsp), %rdi
	movq	16(%rsp), %rdx
	leaq	40(%rdi), %rsi
	addq	$24, %rdi
	call	_Z78__device_stub__Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_PfP14struct_f_c_f_cS0_Pf
.L69:
	movq	16(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%rbx, %rdi
	leaq	_ZSt4cout(%rip), %rbp
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%rbp, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	8(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	12(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	8(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L70
	call	__stack_chk_fail@PLT
.L70:
	addq	$104, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4285:
	.size	_Z36test_twostructs_gpuside_singlebufferv, .-_Z36test_twostructs_gpuside_singlebufferv
	.globl	_Z44__device_stub__Z16kernelUseNestTop7NestTopPfR7NestTopPf
	.type	_Z44__device_stub__Z16kernelUseNestTop7NestTopPfR7NestTopPf, @function
_Z44__device_stub__Z16kernelUseNestTop7NestTopPfR7NestTopPf:
.LFB4327:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rsi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movq	%rdi, 88(%rsp)
	leaq	40(%rsp), %rdi
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movl	$1, 48(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L72
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z16kernelUseNestTop7NestTopPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L72:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L74
	call	__stack_chk_fail@PLT
.L74:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4327:
	.size	_Z44__device_stub__Z16kernelUseNestTop7NestTopPfR7NestTopPf, .-_Z44__device_stub__Z16kernelUseNestTop7NestTopPfR7NestTopPf
	.globl	_Z16kernelUseNestTop7NestTopPf
	.type	_Z16kernelUseNestTop7NestTopPf, @function
_Z16kernelUseNestTop7NestTopPf:
.LFB4328:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdi, %rsi
	leaq	16(%rsp), %rdi
	call	_Z44__device_stub__Z16kernelUseNestTop7NestTopPfR7NestTopPf
	popq	%rdx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4328:
	.size	_Z16kernelUseNestTop7NestTopPf, .-_Z16kernelUseNestTop7NestTopPf
	.globl	_Z21testKernelUsesNestTopv
	.type	_Z21testKernelUsesNestTopv, @function
_Z21testKernelUsesNestTopv:
.LFB4286:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%esi, %esi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$216, %rsp
	.cfi_def_cfa_offset 240
	movq	%fs:40, %rax
	movq	%rax, 200(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	call	cuStreamCreate@PLT
	movl	$4096, %esi
	leaq	8(%rsp), %rdi
	call	cudaMalloc@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	movl	$134217729, %edx
	movq	(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movq	%rax, %rbx
	movabsq	$4294967297, %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L79
	movq	8(%rsp), %rsi
	leaq	40(%rsp), %rdi
	movabsq	$4674736414294802432, %rax
	movq	%rax, 40(%rsp)
	call	_Z44__device_stub__Z16kernelUseNestTop7NestTopPfR7NestTopPf
.L79:
	movq	8(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%rbx, %rdi
	leaq	_ZSt4cout(%rip), %rbp
	call	cudaMemcpy@PLT
	movq	(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%rbp, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	8(%rsp), %rdi
	call	cudaFree@PLT
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	200(%rsp), %rax
	subq	%fs:40, %rax
	je	.L80
	call	__stack_chk_fail@PLT
.L80:
	addq	$216, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4286:
	.size	_Z21testKernelUsesNestTopv, .-_Z21testKernelUsesNestTopv
	.globl	_Z67__device_stub__Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_PfR16Struct_fp_fp_f_fS0_Pf
	.type	_Z67__device_stub__Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_PfR16Struct_fp_fp_f_fS0_Pf, @function
_Z67__device_stub__Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_PfR16Struct_fp_fp_f_fS0_Pf:
.LFB4329:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdx, 8(%rsp)
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movq	%rdi, 80(%rsp)
	leaq	32(%rsp), %rdi
	movq	%rsi, 88(%rsp)
	leaq	44(%rsp), %rsi
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 32(%rsp)
	movl	$1, 40(%rsp)
	movq	%rax, 44(%rsp)
	movl	$1, 52(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L82
	pushq	24(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf(%rip), %rdi
	pushq	24(%rsp)
	.cfi_def_cfa_offset 144
	movq	60(%rsp), %rcx
	movl	68(%rsp), %r8d
	movq	48(%rsp), %rsi
	movl	56(%rsp), %edx
	leaq	96(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L82:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4329:
	.size	_Z67__device_stub__Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_PfR16Struct_fp_fp_f_fS0_Pf, .-_Z67__device_stub__Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_PfR16Struct_fp_fp_f_fS0_Pf
	.globl	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.type	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf, @function
_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf:
.LFB4330:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdi, %rdx
	leaq	40(%rsp), %rsi
	leaq	16(%rsp), %rdi
	call	_Z67__device_stub__Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_PfR16Struct_fp_fp_f_fS0_Pf
	popq	%rdx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4330:
	.size	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf, .-_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.globl	_Z30testbyvaluestruct_withreadnonev
	.type	_Z30testbyvaluestruct_withreadnonev, @function
_Z30testbyvaluestruct_withreadnonev:
.LFB4287:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xorl	%esi, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	addq	$-128, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdi
	call	cuStreamCreate@PLT
	leaq	16(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	leaq	24(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	leaq	32(%rsp), %rdi
	movl	$4096, %esi
	call	cudaMalloc@PLT
	movl	$4096, %esi
	leaq	40(%rsp), %rdi
	call	cudaMalloc@PLT
	movl	$4096, %edi
	call	_Znam@PLT
	movl	$4096, %edi
	movq	%rax, %r12
	call	_Znam@PLT
	movl	$4096, %edi
	movq	%rax, %rbp
	call	_Znam@PLT
	movl	$134217729, %edx
	movq	8(%rsp), %r9
	xorl	%r8d, %r8d
	salq	$5, %rdx
	movl	$1, %ecx
	movl	$1, %esi
	movq	%rax, %rbx
	movabsq	$4294967297, %rdi
	movq	16(%rsp), %r14
	movq	24(%rsp), %r13
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L89
	movq	40(%rsp), %rdx
	leaq	96(%rsp), %rsi
	leaq	72(%rsp), %rdi
	movabsq	$4683743613543251968, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	movq	%r14, 72(%rsp)
	movq	%r13, 80(%rsp)
	movq	%rax, 96(%rsp)
	movq	%rax, 104(%rsp)
	movq	%rax, 112(%rsp)
	call	_Z67__device_stub__Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_PfR16Struct_fp_fp_f_fS0_Pf
.L89:
	movq	16(%rsp), %rsi
	movl	$2, %ecx
	movl	$16, %edx
	movq	%r12, %rdi
	leaq	_ZSt4cout(%rip), %r13
	call	cudaMemcpy@PLT
	movq	24(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdi
	movl	$16, %edx
	call	cudaMemcpy@PLT
	movq	40(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbx, %rdi
	movl	$16, %edx
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdi
	call	cuStreamSynchronize@PLT
	movq	%r13, %rdi
	cvtss2sd	(%r12), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	0(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%r13, %rdi
	cvtss2sd	4(%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	16(%rsp), %rdi
	call	cudaFree@PLT
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
	movq	32(%rsp), %rdi
	call	cudaFree@PLT
	movq	40(%rsp), %rdi
	call	cudaFree@PLT
	movq	%r12, %rdi
	call	_ZdaPv@PLT
	movq	%rbp, %rdi
	call	_ZdaPv@PLT
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
	movq	8(%rsp), %rdi
	call	cuStreamDestroy_v2@PLT
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L90
	call	__stack_chk_fail@PLT
.L90:
	subq	$-128, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4287:
	.size	_Z30testbyvaluestruct_withreadnonev, .-_Z30testbyvaluestruct_withreadnonev
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC5:
	.string	"\ntestvaluestruct"
.LC6:
	.string	"\ntestaspointersstruct"
.LC7:
	.string	"\ntesttwostructs"
.LC8:
	.string	"\teststructbyvalNoPtr"
.LC9:
	.string	"\ntest_twostructs_byptr_NoPtr"
.LC10:
	.string	"\teststruct2byvalNoPtr"
.LC11:
	.string	"\test_twostructs_gpuside_singlebuffer"
.LC12:
	.string	"\ntestKernelUsesNestTop"
.LC13:
	.string	"\ntestvaluestruct_withreadnone"
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB4288:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	_ZSt4cout(%rip), %rbx
	leaq	.LC5(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z17testbyvaluestructv
	movq	%rbx, %rdi
	leaq	.LC6(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z19testaspointerstructv
	movq	%rbx, %rdi
	leaq	.LC7(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z14testtwostructsv
	movq	%rbx, %rdi
	leaq	.LC8(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z20teststructbyvalNoPtrv
	movq	%rbx, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z27test_twostructs_byptr_NoPtrv
	movq	%rbx, %rdi
	leaq	.LC10(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z21teststruct2byvalNoPtrv
	movq	%rbx, %rdi
	leaq	.LC11(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z36test_twostructs_gpuside_singlebufferv
	movq	%rbx, %rdi
	leaq	.LC12(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z21testKernelUsesNestTopv
	movq	%rbx, %rdi
	leaq	.LC13(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	_Z30testbyvaluestruct_withreadnonev
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4288:
	.size	main, .-main
	.section	.rodata.str1.1
.LC14:
	.string	"_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf"
.LC15:
	.string	"_Z16kernelUseNestTop7NestTopPf"
.LC16:
	.string	"_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf"
.LC17:
	.string	"_Z26kernel_struct2byval_noptrs14Struct_2floatsPf"
.LC18:
	.string	"_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf"
.LC19:
	.string	"_Z25kernel_structbyval_noptrs13Struct_1floatPf"
.LC20:
	.string	"_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp"
.LC21:
	.string	"_Z16struct_aspointerP14Struct_2floatsPf"
.LC22:
	.string	"_Z14struct_byvalue16Struct_fp_fp_f_fPf"
	.section	.text.startup
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4332:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -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	.LC14(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC15(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z16kernelUseNestTop7NestTopPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC16(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC17(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC18(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC19(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z25kernel_structbyval_noptrs13Struct_1floatPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC20(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC21(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z16struct_aspointerP14Struct_2floatsPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	leaq	.LC22(%rip), %rdx
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	_Z14struct_byvalue16Struct_fp_fp_f_fPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	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	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4332:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.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
	.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:

/*
other things we should test:
- struct pointer, with offset
- multiple struct pointers, cut from same buffer
- getting values from various types of structs passed in
*/

#include <iostream>
#include <memory>
#include <cassert>

using namespace std;

#include <hip/hip_runtime.h>

struct Struct_fp_fp_f_f {
    float *p1;
    float *p2;
    float f1;
    float f2;
};

struct Struct_fp {
    float *p1;
};

struct Struct_1float {
    float f1;
};

struct Struct_2floats {
    float f1;
    float f2;
};

__global__ void struct_byvalue(struct Struct_fp_fp_f_f mystruct, float *out) {
    out[0] = mystruct.f1;
    out[1] = mystruct.f2;
    mystruct.p1[0] = 9.0f;
    mystruct.p2[0] = 10.0f;
}

void testbyvaluestruct() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *gpuFloats1;
    hipMalloc((void**)(&gpuFloats1), N * sizeof(float));

    float *gpuFloats2;
    hipMalloc((void**)(&gpuFloats2), N * sizeof(float));

    float *gpuFloats3;
    hipMalloc((void**)(&gpuFloats3), N * sizeof(float));

    float *gpuOut;
    hipMalloc((void**)(&gpuOut), N * sizeof(float));

    float *hostFloats1 = new float[N];
    float *hostFloats2 = new float[N];
    float *hostFloats3 = new float[N];
    float *hostOut = new float[N];

    struct Struct_fp_fp_f_f mystruct = {(float *)gpuFloats1, (float *)gpuFloats2, 3.0f, 8.0f};
    struct_byvalue<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct, (float *)gpuOut);

    hipMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipMemcpy(hostFloats2, gpuFloats2, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipMemcpy(hostOut, gpuOut, 4 * sizeof(float), hipMemcpyDeviceToHost);

    hipStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats2[0] << endl;
    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostFloats1[0] == 9);
    assert(hostFloats2[0] == 10);
    assert(hostOut[0] == 3);
    assert(hostOut[1] == 8);

    hipFree(gpuFloats1);
    hipFree(gpuFloats2);
    hipFree(gpuFloats3);
    hipFree(gpuOut);

    delete[]hostFloats1;
    delete[]hostFloats2;
    delete[]hostFloats3;
    delete[]hostOut;

    hipStreamDestroy(stream);
}

__global__ void struct_aspointer(struct Struct_2floats *mystruct, float *out) {
    out[0] = mystruct->f1;
    out[1] = mystruct->f2;
}

void testaspointerstruct() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *hostOut = new float[N];

    float *gpuOut;
    hipMalloc((void**)(&gpuOut), N * sizeof(float));

    struct Struct_2floats mystruct = { 5, 7 };
    struct Struct_2floats *gpu_mystruct;
    hipMalloc((void**)(&gpu_mystruct), sizeof(mystruct));
    hipMemcpy(gpu_mystruct, &mystruct, sizeof(mystruct), hipMemcpyHostToDevice);

    struct_aspointer<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(gpu_mystruct, gpuOut);

    hipMemcpy(hostOut, gpuOut, 4 * sizeof(float), hipMemcpyDeviceToHost);

    hipStreamSynchronize(stream);

    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostOut[0] == 5);
    assert(hostOut[1] == 7);

    delete[]hostOut;

    hipStreamDestroy(stream);
}

__global__ void kernel_twostructs(struct Struct_fp_fp_f_f mystruct, struct Struct_fp mystruct2) {
    mystruct.p1[0] = 9.0f;
    mystruct.p2[0] = 10.0f;
    mystruct2.p1[0] = 11.0f;
}

void testtwostructs() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *gpuFloats1;
    hipMalloc((void**)(&gpuFloats1), N * sizeof(float));

    float *gpuFloats2;
    hipMalloc((void**)(&gpuFloats2), N * sizeof(float));

    float *gpuFloats3;
    hipMalloc((void**)(&gpuFloats3), N * sizeof(float));

    float *hostFloats1 = new float[N];
    float *hostFloats2 = new float[N];
    float *hostFloats3 = new float[N];

    struct Struct_fp_fp_f_f mystruct = {(float *)gpuFloats1, (float *)gpuFloats2};
    struct Struct_fp mystruct2 = {(float *)gpuFloats3};

    kernel_twostructs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct, mystruct2);

    hipMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipMemcpy(hostFloats2, gpuFloats2, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipMemcpy(hostFloats3, gpuFloats3, 4 * sizeof(float), hipMemcpyDeviceToHost);

    hipStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats2[0] << endl;
    cout << hostFloats3[0] << endl;

    assert(hostFloats1[0] == 9);
    assert(hostFloats2[0] == 10);
    assert(hostFloats3[0] == 11);

    hipFree(gpuFloats1);
    hipFree(gpuFloats2);
    hipFree(gpuFloats3);

    delete[]hostFloats1;
    delete[]hostFloats2;
    delete[]hostFloats3;

    hipStreamDestroy(stream);
}

__global__ void kernel_structbyval_noptrs(struct Struct_1float mystruct1, float *out) {
    if(threadIdx.x == 0) {
        out[0] = mystruct1.f1;
        out[1] = 5;
    }
}

void teststructbyvalNoPtr() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *hostFloats1 = new float[N];

    float *gpuFloats1;
    hipMalloc((void**)(&gpuFloats1), N * sizeof(float));

    struct Struct_1float mystruct1 = {8.0f};

    kernel_structbyval_noptrs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct1, (float *)gpuFloats1);

    hipMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats1[1] << endl;

    assert(hostFloats1[0] == 8);
    assert(hostFloats1[1] == 5);

    delete[] hostFloats1;
    hipFree(gpuFloats1);

    hipStreamDestroy(stream);
}

__global__ void kernel_twostructs_noptrs(struct Struct_2floats *mystruct, struct Struct_1float *mystruct2, struct Struct_1float mystruct3, float *out) {
    if(threadIdx.x == 0) {
    out[0] = mystruct->f1;
    out[1] = mystruct->f2;
    out[2] = mystruct2->f1;
    out[3] = mystruct3.f1;
    }
}

void test_twostructs_byptr_NoPtr() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *hostFloats1 = new float[N];

    float *gpuFloats1;
    hipMalloc((void**)(&gpuFloats1), N * sizeof(float));

    struct Struct_2floats mystruct = {5.0f, 6.0f};
    struct Struct_1float mystruct2 = {7.0f};
    struct Struct_1float mystruct3 = {8.0f};

    struct Struct_2floats *gpu_mystruct;
    hipMalloc((void**)(&gpu_mystruct), sizeof(mystruct));
    hipMemcpy(gpu_mystruct, &mystruct, sizeof(mystruct), hipMemcpyHostToDevice);

    struct Struct_1float *gpu_mystruct2;
    hipMalloc((void**)(&gpu_mystruct2), sizeof(mystruct2));
    hipMemcpy(gpu_mystruct2, &mystruct2, sizeof(mystruct2), hipMemcpyHostToDevice);

    kernel_twostructs_noptrs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(gpu_mystruct, gpu_mystruct2, mystruct3, (float *)gpuFloats1);
    hipMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats1[1] << endl;
    cout << hostFloats1[2] << endl;
    cout << hostFloats1[3] << endl;

    assert(hostFloats1[0] == 5);
    assert(hostFloats1[1] == 6);
    assert(hostFloats1[2] == 7);
    assert(hostFloats1[3] == 8);

    hipFree(gpuFloats1);
    hipFree(gpu_mystruct);
    hipFree(gpu_mystruct2);
    // cudaFree(gpu_mystruct3);

    delete[] hostFloats1;

    hipStreamDestroy(stream);
}

__global__ void kernel_struct2byval_noptrs(struct Struct_2floats mystruct1, float *out) {
    if(threadIdx.x == 0) {
    out[0] = mystruct1.f1;
    out[1] = mystruct1.f2;
    }
}

void teststruct2byvalNoPtr() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *hostFloats1 = new float[N];

    float *gpuFloats1;
    hipMalloc((void**)(&gpuFloats1), N * sizeof(float));

    struct Struct_2floats mystruct1 = {8.0f, 9.0f};

    kernel_struct2byval_noptrs<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct1, (float *)gpuFloats1);
    hipMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats1[1] << endl;

    assert(hostFloats1[0] == 8);
    assert(hostFloats1[1] == 9);

    delete[] hostFloats1;
    hipFree(gpuFloats1);

    hipStreamDestroy(stream);
}

struct struct_f_c_f_c {
    float f1;
    char c1;
    float f2;
    char c2;
};

__global__ void kernel_twostructs_gpuside_singlebuffer(struct struct_f_c_f_c *mystruct1, struct struct_f_c_f_c *mystruct2, float *out) {
    out[0] = mystruct1->f1;
    out[1] = mystruct1->f2;
    out[2] = mystruct2->f1;
    out[3] = mystruct2->f2;
}

void test_twostructs_gpuside_singlebuffer() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *hostOut = new float[N];

    float *gpuOut;
    hipMalloc((void**)(&gpuOut), N * sizeof(float));

    char *gpubuf;
    hipMalloc((void **)&gpubuf, 1024);

    int offset1 = 24;
    int offset2 = 40;

    struct struct_f_c_f_c mystruct1 = { 5, 0, 7, 0 };
    hipMemcpy(gpubuf + offset1, &mystruct1, sizeof(mystruct1), hipMemcpyHostToDevice);

    struct struct_f_c_f_c mystruct2 = { 9, 0, 3, 0 };
    hipMemcpy(gpubuf + offset2, &mystruct2, sizeof(mystruct2), hipMemcpyHostToDevice);

    kernel_twostructs_gpuside_singlebuffer<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(
        (struct struct_f_c_f_c *)(gpubuf + offset1),
        (struct struct_f_c_f_c *)(gpubuf + offset2),
        gpuOut);

    hipMemcpy(hostOut, gpuOut, 4 * sizeof(float), hipMemcpyDeviceToHost);

    hipStreamSynchronize(stream);

    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;
    cout << hostOut[2] << endl;
    cout << hostOut[3] << endl;

    assert(hostOut[0] == 5);
    assert(hostOut[1] == 7);
    assert(hostOut[2] == 9);
    assert(hostOut[3] == 3);

    delete[]hostOut;

    hipStreamDestroy(stream);
}

struct NestL2 {
    float floats[10];
};

struct NestL1 {
    struct NestL2 n1;
    struct NestL2 n2;
};

struct NestTop {
    struct NestL1 n1;
    struct NestL1 n2;
};

__global__ void kernelUseNestTop(NestTop nest, float *out) {
    out[0] = nest.n1.n1.floats[0];
    out[1] = nest.n1.n1.floats[1];
}

void testKernelUsesNestTop() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *gpuOut;
    hipMalloc((void**)(&gpuOut), N * sizeof(float));

    float *hostOut = new float[N];

    struct NestTop nestTop;
    nestTop.n1.n1.floats[0] = 5;
    nestTop.n1.n1.floats[1] = 7;

    kernelUseNestTop<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(nestTop, (float *)gpuOut);

    hipMemcpy(hostOut, gpuOut, 4 * sizeof(float), hipMemcpyDeviceToHost);

    hipStreamSynchronize(stream);

    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostOut[0] == 5);
    assert(hostOut[1] == 7);

    hipFree(gpuOut);

    delete[]hostOut;

    hipStreamDestroy(stream);    
}

__global__ void struct_byvalue_withreadnone(struct Struct_fp_fp_f_f mystruct, struct Struct_fp_fp_f_f donothing, float *out) {
    out[0] = mystruct.f1;
    out[1] = mystruct.f2;
    mystruct.p1[0] = 9.0f;
    mystruct.p2[0] = 10.0f;
}

void testbyvaluestruct_withreadnone() {
    int N = 1024;

    hipStream_t stream;
    hipStreamCreateWithFlags(&stream, 0);

    float *gpuFloats1;
    hipMalloc((void**)(&gpuFloats1), N * sizeof(float));

    float *gpuFloats2;
    hipMalloc((void**)(&gpuFloats2), N * sizeof(float));

    float *gpuFloats3;
    hipMalloc((void**)(&gpuFloats3), N * sizeof(float));

    float *gpuOut;
    hipMalloc((void**)(&gpuOut), N * sizeof(float));

    float *hostFloats1 = new float[N];
    float *hostFloats2 = new float[N];
    float *hostFloats3 = new float[N];
    float *hostOut = new float[N];

    struct Struct_fp_fp_f_f mystruct = {(float *)gpuFloats1, (float *)gpuFloats2, 3.0f, 8.0f};
    struct Struct_fp_fp_f_f donothing = {(float *)0, (float *)0, 0.0f, 0.0f};
    struct_byvalue_withreadnone<<<dim3(1,1,1), dim3(32,1,1), 0, stream>>>(mystruct, donothing, (float *)gpuOut);

    hipMemcpy(hostFloats1, gpuFloats1, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipMemcpy(hostFloats2, gpuFloats2, 4 * sizeof(float), hipMemcpyDeviceToHost);
    hipMemcpy(hostOut, gpuOut, 4 * sizeof(float), hipMemcpyDeviceToHost);

    hipStreamSynchronize(stream);

    cout << hostFloats1[0] << endl;
    cout << hostFloats2[0] << endl;
    cout << hostOut[0] << endl;
    cout << hostOut[1] << endl;

    assert(hostFloats1[0] == 9);
    assert(hostFloats2[0] == 10);
    assert(hostOut[0] == 3);
    assert(hostOut[1] == 8);

    hipFree(gpuFloats1);
    hipFree(gpuFloats2);
    hipFree(gpuFloats3);
    hipFree(gpuOut);

    delete[]hostFloats1;
    delete[]hostFloats2;
    delete[]hostFloats3;
    delete[]hostOut;

    hipStreamDestroy(stream);
}

int main(int argc, char *argv[]) {
    cout << "\ntestvaluestruct" << endl;
    testbyvaluestruct();

    cout << "\ntestaspointersstruct" << endl;
    testaspointerstruct();

    cout << "\ntesttwostructs" << endl;
    testtwostructs();

    cout << "\teststructbyvalNoPtr" << endl;
    teststructbyvalNoPtr();

    cout << "\ntest_twostructs_byptr_NoPtr" << endl;
    test_twostructs_byptr_NoPtr();

    cout << "\teststruct2byvalNoPtr" << endl;
    teststruct2byvalNoPtr();

    cout << "\test_twostructs_gpuside_singlebuffer" << endl;
    test_twostructs_gpuside_singlebuffer();

    cout << "\ntestKernelUsesNestTop" << endl;
    testKernelUsesNestTop();

    cout << "\ntestvaluestruct_withreadnone" << endl;
    testbyvaluestruct_withreadnone();

    return 0;
}

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

                                        # End of file scope inline assembly
	.globl	_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf # -- Begin function _Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf
	.type	_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf,@function
_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf: # @_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf
	.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	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	128(%rsp), %rcx
	leaq	64(%rsp), %rbx
	movq	%rcx, (%rbx)
	movq	%rax, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z14struct_byvalue16Struct_fp_fp_f_fPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	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	_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf, .Lfunc_end0-_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z17testbyvaluestructv          # -- Begin function _Z17testbyvaluestructv
	.type	_Z17testbyvaluestructv,@function
_Z17testbyvaluestructv:                 # @_Z17testbyvaluestructv
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	leaq	48(%rsp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	leaq	40(%rsp), %r13
	movl	$4096, %esi                     # imm = 0x1000
	movq	%r13, %rdi
	callq	hipMalloc
	leaq	32(%rsp), %rbp
	movl	$4096, %esi                     # imm = 0x1000
	movq	%rbp, %rdi
	callq	hipMalloc
	leaq	56(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	leaq	24(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %r14
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %r15
	movq	(%r13), %r13
	movq	(%rbp), %rbp
	movq	(%r12), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB1_2
# %bb.1:
	movq	%r13, 64(%rsp)
	movq	%rbp, 72(%rsp)
	movabsq	$4683743613543251968, %rax      # imm = 0x4100000040400000
	movq	%rax, 80(%rsp)
	movq	24(%rsp), %rdi
	movq	80(%rsp), %rax
	movq	%rax, 16(%rsp)
	movups	64(%rsp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf
.LBB1_2:
	movq	40(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	32(%rsp), %rsi
	movl	$16, %edx
	movq	%r14, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	24(%rsp), %rsi
	movl	$16, %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	48(%rsp), %rdi
	callq	hipStreamSynchronize
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r14), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r15), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%r15), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	40(%rsp), %rdi
	callq	hipFree
	movq	32(%rsp), %rdi
	callq	hipFree
	movq	56(%rsp), %rdi
	callq	hipFree
	movq	24(%rsp), %rdi
	callq	hipFree
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	%r14, %rdi
	callq	_ZdaPv
	movq	%r15, %rdi
	callq	_ZdaPv
	movq	48(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$88, %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_end1:
	.size	_Z17testbyvaluestructv, .Lfunc_end1-_Z17testbyvaluestructv
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__struct_aspointerP14Struct_2floatsPf # -- Begin function _Z31__device_stub__struct_aspointerP14Struct_2floatsPf
	.type	_Z31__device_stub__struct_aspointerP14Struct_2floatsPf,@function
_Z31__device_stub__struct_aspointerP14Struct_2floatsPf: # @_Z31__device_stub__struct_aspointerP14Struct_2floatsPf
	.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	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	16(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	64(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%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	$_Z16struct_aspointerP14Struct_2floatsPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	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_end2:
	.size	_Z31__device_stub__struct_aspointerP14Struct_2floatsPf, .Lfunc_end2-_Z31__device_stub__struct_aspointerP14Struct_2floatsPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z19testaspointerstructv        # -- Begin function _Z19testaspointerstructv
	.type	_Z19testaspointerstructv,@function
_Z19testaspointerstructv:               # @_Z19testaspointerstructv
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	16(%rsp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	leaq	8(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	movabsq	$4674736414294802432, %rax      # imm = 0x40E0000040A00000
	leaq	32(%rsp), %r15
	movq	%rax, (%r15)
	leaq	24(%rsp), %r12
	movl	$8, %esi
	movq	%r12, %rdi
	callq	hipMalloc
	movq	(%r12), %rdi
	movl	$8, %edx
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	(%r14), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB3_2
# %bb.1:
	movq	24(%rsp), %rdi
	movq	8(%rsp), %rsi
	callq	_Z31__device_stub__struct_aspointerP14Struct_2floatsPf
.LBB3_2:
	movq	8(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	16(%rsp), %rdi
	callq	hipStreamSynchronize
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	16(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$40, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z19testaspointerstructv, .Lfunc_end3-_Z19testaspointerstructv
	.cfi_endproc
                                        # -- End function
	.globl	_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp # -- Begin function _Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.type	_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp,@function
_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp: # @_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.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	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	128(%rsp), %rcx
	leaq	64(%rsp), %rbx
	movq	%rcx, (%rbx)
	movq	%rax, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	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_end4:
	.size	_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp, .Lfunc_end4-_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.cfi_endproc
                                        # -- End function
	.globl	_Z14testtwostructsv             # -- Begin function _Z14testtwostructsv
	.type	_Z14testtwostructsv,@function
_Z14testtwostructsv:                    # @_Z14testtwostructsv
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	leaq	24(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	leaq	48(%rsp), %r13
	movl	$4096, %esi                     # imm = 0x1000
	movq	%r13, %rdi
	callq	hipMalloc
	leaq	40(%rsp), %rbp
	movl	$4096, %esi                     # imm = 0x1000
	movq	%rbp, %rdi
	callq	hipMalloc
	leaq	32(%rsp), %rbx
	movl	$4096, %esi                     # imm = 0x1000
	movq	%rbx, %rdi
	callq	hipMalloc
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %r15
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %r12
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, 56(%rsp)                  # 8-byte Spill
	movq	(%r13), %r14
	movq	(%rbp), %rbp
	movq	(%rbx), %r13
	leaq	24(%rsp), %rax
	movq	(%rax), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB5_2
# %bb.1:
	movq	%r14, 64(%rsp)
	movq	%rbp, 72(%rsp)
	movq	$0, 80(%rsp)
	movq	80(%rsp), %rax
	movq	%rax, 16(%rsp)
	movups	64(%rsp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r13, %rdi
	callq	_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
.LBB5_2:
	movq	48(%rsp), %rsi
	movl	$16, %edx
	movq	%r15, %r14
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	40(%rsp), %rsi
	movl	$16, %edx
	movq	%r12, %r15
	movq	%r12, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	32(%rsp), %rsi
	movl	$16, %edx
	movq	56(%rsp), %r12                  # 8-byte Reload
	movq	%r12, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	24(%rsp), %rdi
	callq	hipStreamSynchronize
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r14), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r15), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r12), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	48(%rsp), %rdi
	callq	hipFree
	movq	40(%rsp), %rdi
	callq	hipFree
	movq	32(%rsp), %rdi
	callq	hipFree
	movq	%r14, %rdi
	callq	_ZdaPv
	movq	%r15, %rdi
	callq	_ZdaPv
	movq	%r12, %rdi
	callq	_ZdaPv
	movq	24(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$88, %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	_Z14testtwostructsv, .Lfunc_end5-_Z14testtwostructsv
	.cfi_endproc
                                        # -- End function
	.globl	_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf # -- Begin function _Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf
	.type	_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf,@function
_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf: # @_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf
	.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	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	4(%rsp), %rax
	movss	%xmm0, (%rax)
	leaq	24(%rsp), %rcx
	movq	%rdi, (%rcx)
	leaq	64(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z25kernel_structbyval_noptrs13Struct_1floatPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	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_end6:
	.size	_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf, .Lfunc_end6-_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function _Z20teststructbyvalNoPtrv
.LCPI7_0:
	.long	0x41000000                      # float 8
	.text
	.globl	_Z20teststructbyvalNoPtrv
	.type	_Z20teststructbyvalNoPtrv,@function
_Z20teststructbyvalNoPtrv:              # @_Z20teststructbyvalNoPtrv
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	leaq	16(%rsp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	leaq	8(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	movq	(%r14), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB7_2
# %bb.1:
	movq	8(%rsp), %rdi
	movss	.LCPI7_0(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	callq	_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf
.LBB7_2:
	movq	8(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	16(%rsp), %rdi
	callq	hipStreamSynchronize
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	8(%rsp), %rdi
	callq	hipFree
	movq	16(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_Z20teststructbyvalNoPtrv, .Lfunc_end7-_Z20teststructbyvalNoPtrv
	.cfi_endproc
                                        # -- End function
	.globl	_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf # -- Begin function _Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.type	_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf,@function
_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf: # @_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	4(%rsp), %rax
	movss	%xmm0, (%rax)
	leaq	40(%rsp), %rcx
	movq	%rdi, (%rcx)
	leaq	32(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rcx, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rax, 16(%rbx)
	movq	%rsi, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf, .Lfunc_end8-_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function _Z27test_twostructs_byptr_NoPtrv
.LCPI9_0:
	.long	0x41000000                      # float 8
	.text
	.globl	_Z27test_twostructs_byptr_NoPtrv
	.type	_Z27test_twostructs_byptr_NoPtrv,@function
_Z27test_twostructs_byptr_NoPtrv:       # @_Z27test_twostructs_byptr_NoPtrv
	.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	$48, %rsp
	.cfi_def_cfa_offset 96
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	movq	%rsp, %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	movabsq	$4665729215040061440, %rax      # imm = 0x40C0000040A00000
	leaq	40(%rsp), %r12
	movq	%rax, (%r12)
	leaq	36(%rsp), %r15
	movl	$1088421888, (%r15)             # imm = 0x40E00000
	leaq	16(%rsp), %r13
	movl	$8, %esi
	movq	%r13, %rdi
	callq	hipMalloc
	movq	(%r13), %rdi
	movl	$8, %edx
	movq	%r12, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	leaq	8(%rsp), %r12
	movl	$4, %esi
	movq	%r12, %rdi
	callq	hipMalloc
	movq	(%r12), %rdi
	movl	$4, %edx
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	(%r14), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_2
# %bb.1:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movq	(%rsp), %rdx
	movss	.LCPI9_0(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	callq	_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
.LBB9_2:
	movq	(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	24(%rsp), %rdi
	callq	hipStreamSynchronize
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	8(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	12(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	(%rsp), %rdi
	callq	hipFree
	movq	16(%rsp), %rdi
	callq	hipFree
	movq	8(%rsp), %rdi
	callq	hipFree
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	24(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$48, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end9:
	.size	_Z27test_twostructs_byptr_NoPtrv, .Lfunc_end9-_Z27test_twostructs_byptr_NoPtrv
	.cfi_endproc
                                        # -- End function
	.globl	_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf # -- Begin function _Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf
	.type	_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf,@function
_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf: # @_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf
	.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	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movlps	%xmm0, (%rax)
	leaq	16(%rsp), %rcx
	movq	%rdi, (%rcx)
	leaq	64(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%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	$_Z26kernel_struct2byval_noptrs14Struct_2floatsPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	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_end10:
	.size	_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf, .Lfunc_end10-_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _Z21teststruct2byvalNoPtrv
.LCPI11_0:
	.long	0x41000000                      # float 8
	.long	0x41100000                      # float 9
	.zero	4
	.zero	4
	.text
	.globl	_Z21teststruct2byvalNoPtrv
	.type	_Z21teststruct2byvalNoPtrv,@function
_Z21teststruct2byvalNoPtrv:             # @_Z21teststruct2byvalNoPtrv
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	leaq	16(%rsp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	leaq	8(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	movq	(%r14), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB11_2
# %bb.1:
	movq	8(%rsp), %rdi
	movaps	.LCPI11_0(%rip), %xmm0          # xmm0 = <8.0E+0,9.0E+0,u,u>
	callq	_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf
.LBB11_2:
	movq	8(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	16(%rsp), %rdi
	callq	hipStreamSynchronize
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	8(%rsp), %rdi
	callq	hipFree
	movq	16(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end11:
	.size	_Z21teststruct2byvalNoPtrv, .Lfunc_end11-_Z21teststruct2byvalNoPtrv
	.cfi_endproc
                                        # -- End function
	.globl	_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf # -- Begin function _Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.type	_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf,@function
_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf: # @_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf, .Lfunc_end12-_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.cfi_endproc
                                        # -- End function
	.globl	_Z36test_twostructs_gpuside_singlebufferv # -- Begin function _Z36test_twostructs_gpuside_singlebufferv
	.type	_Z36test_twostructs_gpuside_singlebufferv,@function
_Z36test_twostructs_gpuside_singlebufferv: # @_Z36test_twostructs_gpuside_singlebufferv
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	8(%rsp), %r14
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	movq	%rsp, %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	leaq	16(%rsp), %r15
	movl	$1024, %esi                     # imm = 0x400
	movq	%r15, %rdi
	callq	hipMalloc
	leaq	40(%rsp), %rsi
	movl	$1084227584, (%rsi)             # imm = 0x40A00000
	movb	%r12b, 4(%rsi)
	movl	$1088421888, 8(%rsi)            # imm = 0x40E00000
	movb	%r12b, 12(%rsi)
	movq	(%r15), %rdi
	addq	$24, %rdi
	movl	$16, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	leaq	24(%rsp), %rsi
	movl	$1091567616, (%rsi)             # imm = 0x41100000
	movb	%r12b, 4(%rsi)
	movl	$1077936128, 8(%rsi)            # imm = 0x40400000
	movb	%r12b, 12(%rsi)
	movq	(%r15), %rdi
	addq	$40, %rdi
	movl	$16, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	(%r14), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB13_2
# %bb.1:
	movq	16(%rsp), %rsi
	leaq	24(%rsi), %rdi
	addq	$40, %rsi
	movq	(%rsp), %rdx
	callq	_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
.LBB13_2:
	movq	(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	8(%rsp), %rdi
	callq	hipStreamSynchronize
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	8(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	12(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	8(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$56, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end13:
	.size	_Z36test_twostructs_gpuside_singlebufferv, .Lfunc_end13-_Z36test_twostructs_gpuside_singlebufferv
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__kernelUseNestTop7NestTopPf # -- Begin function _Z31__device_stub__kernelUseNestTop7NestTopPf
	.type	_Z31__device_stub__kernelUseNestTop7NestTopPf,@function
_Z31__device_stub__kernelUseNestTop7NestTopPf: # @_Z31__device_stub__kernelUseNestTop7NestTopPf
	.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	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	128(%rsp), %rcx
	leaq	64(%rsp), %rbx
	movq	%rcx, (%rbx)
	movq	%rax, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16kernelUseNestTop7NestTopPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	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_end14:
	.size	_Z31__device_stub__kernelUseNestTop7NestTopPf, .Lfunc_end14-_Z31__device_stub__kernelUseNestTop7NestTopPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z21testKernelUsesNestTopv      # -- Begin function _Z21testKernelUsesNestTopv
	.type	_Z21testKernelUsesNestTopv,@function
_Z21testKernelUsesNestTopv:             # @_Z21testKernelUsesNestTopv
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$344, %rsp                      # imm = 0x158
	.cfi_def_cfa_offset 368
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	leaq	176(%rsp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	leaq	168(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	movq	(%r14), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB15_2
# %bb.1:
	movabsq	$4674736414294802432, %rax      # imm = 0x40E0000040A00000
	leaq	184(%rsp), %rsi
	movq	%rax, (%rsi)
	movq	168(%rsp), %rax
	movl	$20, %ecx
	movq	%rsp, %rdi
	rep;movsq (%rsi), %es:(%rdi)
	movq	%rax, %rdi
	callq	_Z31__device_stub__kernelUseNestTop7NestTopPf
.LBB15_2:
	movq	168(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	176(%rsp), %rdi
	callq	hipStreamSynchronize
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	168(%rsp), %rdi
	callq	hipFree
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	176(%rsp), %rdi
	callq	hipStreamDestroy
	addq	$344, %rsp                      # imm = 0x158
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end15:
	.size	_Z21testKernelUsesNestTopv, .Lfunc_end15-_Z21testKernelUsesNestTopv
	.cfi_endproc
                                        # -- End function
	.globl	_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf # -- Begin function _Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.type	_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf,@function
_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf: # @_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.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	$96, %rsp
	.cfi_def_cfa_offset 144
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	144(%rsp), %rcx
	leaq	64(%rsp), %rbx
	movq	%rcx, (%rbx)
	leaq	168(%rsp), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rax, 16(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$112, %rsp
	.cfi_adjust_cfa_offset -112
	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_end16:
	.size	_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf, .Lfunc_end16-_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.cfi_endproc
                                        # -- End function
	.globl	_Z30testbyvaluestruct_withreadnonev # -- Begin function _Z30testbyvaluestruct_withreadnonev
	.type	_Z30testbyvaluestruct_withreadnonev,@function
_Z30testbyvaluestruct_withreadnonev:    # @_Z30testbyvaluestruct_withreadnonev
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$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
	leaq	72(%rsp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	hipStreamCreateWithFlags
	leaq	64(%rsp), %r13
	movl	$4096, %esi                     # imm = 0x1000
	movq	%r13, %rdi
	callq	hipMalloc
	leaq	56(%rsp), %rbp
	movl	$4096, %esi                     # imm = 0x1000
	movq	%rbp, %rdi
	callq	hipMalloc
	leaq	80(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	leaq	48(%rsp), %rdi
	movl	$4096, %esi                     # imm = 0x1000
	callq	hipMalloc
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %rbx
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %r14
	movl	$4096, %edi                     # imm = 0x1000
	callq	_Znam
	movq	%rax, %r15
	movq	(%r13), %r13
	movq	(%rbp), %rbp
	movq	(%r12), %r9
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	leaq	31(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB17_2
# %bb.1:
	movq	%r13, 88(%rsp)
	movq	%rbp, 96(%rsp)
	movabsq	$4683743613543251968, %rax      # imm = 0x4100000040400000
	movq	%rax, 104(%rsp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, 112(%rsp)
	xorl	%eax, %eax
	movq	%rax, 128(%rsp)
	movq	48(%rsp), %rdi
	movq	%rax, 40(%rsp)
	movaps	112(%rsp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	104(%rsp), %rax
	movq	%rax, 16(%rsp)
	movups	88(%rsp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
.LBB17_2:
	movq	64(%rsp), %rsi
	movl	$16, %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	56(%rsp), %rsi
	movl	$16, %edx
	movq	%r14, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	48(%rsp), %rsi
	movl	$16, %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
	movq	72(%rsp), %rdi
	callq	hipStreamSynchronize
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r14), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r15), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%r15), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	64(%rsp), %rdi
	callq	hipFree
	movq	56(%rsp), %rdi
	callq	hipFree
	movq	80(%rsp), %rdi
	callq	hipFree
	movq	48(%rsp), %rdi
	callq	hipFree
	movq	%rbx, %rdi
	callq	_ZdaPv
	movq	%r14, %rdi
	callq	_ZdaPv
	movq	%r15, %rdi
	callq	_ZdaPv
	movq	72(%rsp), %rdi
	callq	hipStreamDestroy
	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
.Lfunc_end17:
	.size	_Z30testbyvaluestruct_withreadnonev, .Lfunc_end17-_Z30testbyvaluestruct_withreadnonev
	.cfi_endproc
                                        # -- End function
	.globl	main                            # -- Begin function main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str, %esi
	movl	$16, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z17testbyvaluestructv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.1, %esi
	movl	$21, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z19testaspointerstructv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.2, %esi
	movl	$15, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z14testtwostructsv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.3, %esi
	movl	$20, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z20teststructbyvalNoPtrv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.4, %esi
	movl	$28, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z27test_twostructs_byptr_NoPtrv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.5, %esi
	movl	$21, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z21teststruct2byvalNoPtrv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.6, %esi
	movl	$36, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z36test_twostructs_gpuside_singlebufferv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.7, %esi
	movl	$22, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z21testKernelUsesNestTopv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.8, %esi
	movl	$29, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	callq	_Z30testbyvaluestruct_withreadnonev
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end18:
	.size	main, .Lfunc_end18-main
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB19_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB19_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z14struct_byvalue16Struct_fp_fp_f_fPf, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z16struct_aspointerP14Struct_2floatsPf, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z25kernel_structbyval_noptrs13Struct_1floatPf, %esi
	movl	$.L__unnamed_4, %edx
	movl	$.L__unnamed_4, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf, %esi
	movl	$.L__unnamed_5, %edx
	movl	$.L__unnamed_5, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z26kernel_struct2byval_noptrs14Struct_2floatsPf, %esi
	movl	$.L__unnamed_6, %edx
	movl	$.L__unnamed_6, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf, %esi
	movl	$.L__unnamed_7, %edx
	movl	$.L__unnamed_7, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z16kernelUseNestTop7NestTopPf, %esi
	movl	$.L__unnamed_8, %edx
	movl	$.L__unnamed_8, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf, %esi
	movl	$.L__unnamed_9, %edx
	movl	$.L__unnamed_9, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end19:
	.size	__hip_module_ctor, .Lfunc_end19-__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	.LBB20_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
.LBB20_2:
	retq
.Lfunc_end20:
	.size	__hip_module_dtor, .Lfunc_end20-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z14struct_byvalue16Struct_fp_fp_f_fPf,@object # @_Z14struct_byvalue16Struct_fp_fp_f_fPf
	.section	.rodata,"a",@progbits
	.globl	_Z14struct_byvalue16Struct_fp_fp_f_fPf
	.p2align	3, 0x0
_Z14struct_byvalue16Struct_fp_fp_f_fPf:
	.quad	_Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf
	.size	_Z14struct_byvalue16Struct_fp_fp_f_fPf, 8

	.type	_Z16struct_aspointerP14Struct_2floatsPf,@object # @_Z16struct_aspointerP14Struct_2floatsPf
	.globl	_Z16struct_aspointerP14Struct_2floatsPf
	.p2align	3, 0x0
_Z16struct_aspointerP14Struct_2floatsPf:
	.quad	_Z31__device_stub__struct_aspointerP14Struct_2floatsPf
	.size	_Z16struct_aspointerP14Struct_2floatsPf, 8

	.type	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp,@object # @_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.globl	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.p2align	3, 0x0
_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp:
	.quad	_Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.size	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp, 8

	.type	_Z25kernel_structbyval_noptrs13Struct_1floatPf,@object # @_Z25kernel_structbyval_noptrs13Struct_1floatPf
	.globl	_Z25kernel_structbyval_noptrs13Struct_1floatPf
	.p2align	3, 0x0
_Z25kernel_structbyval_noptrs13Struct_1floatPf:
	.quad	_Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf
	.size	_Z25kernel_structbyval_noptrs13Struct_1floatPf, 8

	.type	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf,@object # @_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.globl	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.p2align	3, 0x0
_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf:
	.quad	_Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.size	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf, 8

	.type	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf,@object # @_Z26kernel_struct2byval_noptrs14Struct_2floatsPf
	.globl	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf
	.p2align	3, 0x0
_Z26kernel_struct2byval_noptrs14Struct_2floatsPf:
	.quad	_Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf
	.size	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf, 8

	.type	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf,@object # @_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.globl	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.p2align	3, 0x0
_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf:
	.quad	_Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.size	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf, 8

	.type	_Z16kernelUseNestTop7NestTopPf,@object # @_Z16kernelUseNestTop7NestTopPf
	.globl	_Z16kernelUseNestTop7NestTopPf
	.p2align	3, 0x0
_Z16kernelUseNestTop7NestTopPf:
	.quad	_Z31__device_stub__kernelUseNestTop7NestTopPf
	.size	_Z16kernelUseNestTop7NestTopPf, 8

	.type	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf,@object # @_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.globl	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.p2align	3, 0x0
_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf:
	.quad	_Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.size	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf, 8

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

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"\ntestaspointersstruct"
	.size	.L.str.1, 22

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

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"\teststructbyvalNoPtr"
	.size	.L.str.3, 21

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"\ntest_twostructs_byptr_NoPtr"
	.size	.L.str.4, 29

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"\teststruct2byvalNoPtr"
	.size	.L.str.5, 22

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"\test_twostructs_gpuside_singlebuffer"
	.size	.L.str.6, 37

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"\ntestKernelUsesNestTop"
	.size	.L.str.7, 23

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"\ntestvaluestruct_withreadnone"
	.size	.L.str.8, 30

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z14struct_byvalue16Struct_fp_fp_f_fPf"
	.size	.L__unnamed_1, 39

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z16struct_aspointerP14Struct_2floatsPf"
	.size	.L__unnamed_2, 40

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp"
	.size	.L__unnamed_3, 50

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z25kernel_structbyval_noptrs13Struct_1floatPf"
	.size	.L__unnamed_4, 47

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf"
	.size	.L__unnamed_5, 67

	.type	.L__unnamed_6,@object           # @5
.L__unnamed_6:
	.asciz	"_Z26kernel_struct2byval_noptrs14Struct_2floatsPf"
	.size	.L__unnamed_6, 49

	.type	.L__unnamed_7,@object           # @6
.L__unnamed_7:
	.asciz	"_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf"
	.size	.L__unnamed_7, 65

	.type	.L__unnamed_8,@object           # @7
.L__unnamed_8:
	.asciz	"_Z16kernelUseNestTop7NestTopPf"
	.size	.L__unnamed_8, 31

	.type	.L__unnamed_9,@object           # @8
.L__unnamed_9:
	.asciz	"_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf"
	.size	.L__unnamed_9, 54

	.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 _Z29__device_stub__struct_byvalue16Struct_fp_fp_f_fPf
	.addrsig_sym _Z31__device_stub__struct_aspointerP14Struct_2floatsPf
	.addrsig_sym _Z32__device_stub__kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.addrsig_sym _Z40__device_stub__kernel_structbyval_noptrs13Struct_1floatPf
	.addrsig_sym _Z39__device_stub__kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.addrsig_sym _Z41__device_stub__kernel_struct2byval_noptrs14Struct_2floatsPf
	.addrsig_sym _Z53__device_stub__kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.addrsig_sym _Z31__device_stub__kernelUseNestTop7NestTopPf
	.addrsig_sym _Z42__device_stub__struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Z14struct_byvalue16Struct_fp_fp_f_fPf
	.addrsig_sym _ZSt4cout
	.addrsig_sym _Z16struct_aspointerP14Struct_2floatsPf
	.addrsig_sym _Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.addrsig_sym _Z25kernel_structbyval_noptrs13Struct_1floatPf
	.addrsig_sym _Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.addrsig_sym _Z26kernel_struct2byval_noptrs14Struct_2floatsPf
	.addrsig_sym _Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.addrsig_sym _Z16kernelUseNestTop7NestTopPf
	.addrsig_sym _Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z14struct_byvalue16Struct_fp_fp_f_fPf ; -- Begin function _Z14struct_byvalue16Struct_fp_fp_f_fPf
	.globl	_Z14struct_byvalue16Struct_fp_fp_f_fPf
	.p2align	8
	.type	_Z14struct_byvalue16Struct_fp_fp_f_fPf,@function
_Z14struct_byvalue16Struct_fp_fp_f_fPf: ; @_Z14struct_byvalue16Struct_fp_fp_f_fPf
; %bb.0:
	s_load_b256 s[0:7], s[0:1], 0x0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v4, 0x41200000
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v3, 0x41100000 :: v_dual_mov_b32 v0, s4
	v_mov_b32_e32 v1, s5
	s_clause 0x2
	global_store_b64 v2, v[0:1], s[6:7]
	global_store_b32 v2, v3, s[0:1]
	global_store_b32 v2, v4, s[2:3]
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z14struct_byvalue16Struct_fp_fp_f_fPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 32
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 5
		.amdhsa_next_free_sgpr 8
		.amdhsa_reserve_vcc 0
		.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	_Z14struct_byvalue16Struct_fp_fp_f_fPf, .Lfunc_end0-_Z14struct_byvalue16Struct_fp_fp_f_fPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 80
; NumSgprs: 8
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 8
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16struct_aspointerP14Struct_2floatsPf ; -- Begin function _Z16struct_aspointerP14Struct_2floatsPf
	.globl	_Z16struct_aspointerP14Struct_2floatsPf
	.p2align	8
	.type	_Z16struct_aspointerP14Struct_2floatsPf,@function
_Z16struct_aspointerP14Struct_2floatsPf: ; @_Z16struct_aspointerP14Struct_2floatsPf
; %bb.0:
	s_load_b128 s[0:3], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_load_b32 s4, s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, s4
	global_store_b32 v0, v1, s[2:3]
	global_load_b32 v1, v0, s[0:1] offset:4
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[2:3] offset:4
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16struct_aspointerP14Struct_2floatsPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 16
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 2
		.amdhsa_next_free_sgpr 5
		.amdhsa_reserve_vcc 0
		.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_end1:
	.size	_Z16struct_aspointerP14Struct_2floatsPf, .Lfunc_end1-_Z16struct_aspointerP14Struct_2floatsPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 72
; NumSgprs: 5
; NumVgprs: 2
; ScratchSize: 0
; MemoryBound: 1
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 5
; NumVGPRsForWavesPerEU: 2
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp ; -- Begin function _Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.globl	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
	.p2align	8
	.type	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp,@function
_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp: ; @_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
; %bb.0:
	s_clause 0x1
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x18
	v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, 0x41100000
	v_mov_b32_e32 v2, 0x41200000
	v_mov_b32_e32 v3, 0x41300000
	s_waitcnt lgkmcnt(0)
	s_clause 0x2
	global_store_b32 v0, v1, s[4:5]
	global_store_b32 v0, v2, s[6:7]
	global_store_b32 v0, v3, s[0:1]
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 32
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 4
		.amdhsa_next_free_sgpr 8
		.amdhsa_reserve_vcc 0
		.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_end2:
	.size	_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp, .Lfunc_end2-_Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 92
; NumSgprs: 8
; NumVgprs: 4
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 8
; NumVGPRsForWavesPerEU: 4
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z25kernel_structbyval_noptrs13Struct_1floatPf ; -- Begin function _Z25kernel_structbyval_noptrs13Struct_1floatPf
	.globl	_Z25kernel_structbyval_noptrs13Struct_1floatPf
	.p2align	8
	.type	_Z25kernel_structbyval_noptrs13Struct_1floatPf,@function
_Z25kernel_structbyval_noptrs13Struct_1floatPf: ; @_Z25kernel_structbyval_noptrs13Struct_1floatPf
; %bb.0:
	s_mov_b32 s2, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB3_2
; %bb.1:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x8
	v_dual_mov_b32 v2, 0 :: v_dual_mov_b32 v1, 0x40a00000
	s_waitcnt lgkmcnt(0)
	v_mov_b32_e32 v0, s2
	global_store_b64 v2, v[0:1], s[0:1]
.LBB3_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z25kernel_structbyval_noptrs13Struct_1floatPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 16
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 3
		.amdhsa_next_free_sgpr 3
		.amdhsa_reserve_vcc 0
		.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_end3:
	.size	_Z25kernel_structbyval_noptrs13Struct_1floatPf, .Lfunc_end3-_Z25kernel_structbyval_noptrs13Struct_1floatPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 72
; NumSgprs: 3
; NumVgprs: 3
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 3
; NumVGPRsForWavesPerEU: 3
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf ; -- Begin function _Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.globl	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
	.p2align	8
	.type	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf,@function
_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf: ; @_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
; %bb.0:
	s_mov_b32 s2, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB4_2
; %bb.1:
	s_clause 0x1
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b32 s2, s[0:1], 0x10
	v_mov_b32_e32 v2, 0
	s_waitcnt lgkmcnt(0)
	s_load_b32 s3, s[4:5], 0x0
	s_load_b64 s[0:1], s[0:1], 0x18
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v1, s2 :: v_dual_mov_b32 v0, s3
	global_store_b32 v2, v0, s[0:1]
	global_load_b32 v0, v2, s[4:5] offset:4
	s_waitcnt vmcnt(0)
	global_store_b32 v2, v0, s[0:1] offset:4
	global_load_b32 v0, v2, s[6:7]
	s_waitcnt vmcnt(0)
	global_store_b64 v2, v[0:1], s[0:1] offset:8
.LBB4_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 32
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 3
		.amdhsa_next_free_sgpr 8
		.amdhsa_reserve_vcc 0
		.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_end4:
	.size	_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf, .Lfunc_end4-_Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 128
; NumSgprs: 8
; NumVgprs: 3
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 8
; NumVGPRsForWavesPerEU: 3
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf ; -- Begin function _Z26kernel_struct2byval_noptrs14Struct_2floatsPf
	.globl	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf
	.p2align	8
	.type	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf,@function
_Z26kernel_struct2byval_noptrs14Struct_2floatsPf: ; @_Z26kernel_struct2byval_noptrs14Struct_2floatsPf
; %bb.0:
	s_mov_b32 s2, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB5_2
; %bb.1:
	s_load_b128 s[0:3], s[0:1], 0x0
	v_mov_b32_e32 v2, 0
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v0, s0 :: v_dual_mov_b32 v1, s1
	global_store_b64 v2, v[0:1], s[2:3]
.LBB5_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z26kernel_struct2byval_noptrs14Struct_2floatsPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 16
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 3
		.amdhsa_next_free_sgpr 4
		.amdhsa_reserve_vcc 0
		.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_end5:
	.size	_Z26kernel_struct2byval_noptrs14Struct_2floatsPf, .Lfunc_end5-_Z26kernel_struct2byval_noptrs14Struct_2floatsPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 56
; NumSgprs: 4
; NumVgprs: 3
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 4
; NumVGPRsForWavesPerEU: 3
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf ; -- Begin function _Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.globl	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
	.p2align	8
	.type	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf,@function
_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf: ; @_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
; %bb.0:
	s_clause 0x1
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_load_b32 s2, s[4:5], 0x0
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, s2
	global_store_b32 v0, v1, s[0:1]
	global_load_b32 v1, v0, s[4:5] offset:8
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1] offset:4
	global_load_b32 v1, v0, s[6:7]
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1] offset:8
	global_load_b32 v1, v0, s[6:7] offset:8
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[0:1] offset:12
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 24
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 2
		.amdhsa_next_free_sgpr 8
		.amdhsa_reserve_vcc 0
		.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_end6:
	.size	_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf, .Lfunc_end6-_Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 124
; NumSgprs: 8
; NumVgprs: 2
; ScratchSize: 0
; MemoryBound: 1
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 8
; NumVGPRsForWavesPerEU: 2
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16kernelUseNestTop7NestTopPf ; -- Begin function _Z16kernelUseNestTop7NestTopPf
	.globl	_Z16kernelUseNestTop7NestTopPf
	.p2align	8
	.type	_Z16kernelUseNestTop7NestTopPf,@function
_Z16kernelUseNestTop7NestTopPf:         ; @_Z16kernelUseNestTop7NestTopPf
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0xa0
	v_mov_b32_e32 v2, 0
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v0, s2 :: v_dual_mov_b32 v1, s3
	global_store_b64 v2, v[0:1], s[0:1]
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16kernelUseNestTop7NestTopPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 168
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 3
		.amdhsa_next_free_sgpr 4
		.amdhsa_reserve_vcc 0
		.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_end7:
	.size	_Z16kernelUseNestTop7NestTopPf, .Lfunc_end7-_Z16kernelUseNestTop7NestTopPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 56
; NumSgprs: 4
; NumVgprs: 3
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 4
; NumVGPRsForWavesPerEU: 3
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf ; -- Begin function _Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.globl	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
	.p2align	8
	.type	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf,@function
_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf: ; @_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
; %bb.0:
	s_clause 0x2
	s_load_b64 s[4:5], s[0:1], 0x10
	s_load_b64 s[6:7], s[0:1], 0x30
	s_load_b128 s[0:3], s[0:1], 0x0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v4, 0x41200000
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v3, 0x41100000 :: v_dual_mov_b32 v0, s4
	v_mov_b32_e32 v1, s5
	s_clause 0x2
	global_store_b64 v2, v[0:1], s[6:7]
	global_store_b32 v2, v3, s[0:1]
	global_store_b32 v2, v4, s[2:3]
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 56
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 5
		.amdhsa_next_free_sgpr 8
		.amdhsa_reserve_vcc 0
		.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_end8:
	.size	_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf, .Lfunc_end8-_Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 100
; NumSgprs: 8
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 8
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .offset:         0
        .size:           24
        .value_kind:     by_value
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 32
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z14struct_byvalue16Struct_fp_fp_f_fPf
    .private_segment_fixed_size: 0
    .sgpr_count:     8
    .sgpr_spill_count: 0
    .symbol:         _Z14struct_byvalue16Struct_fp_fp_f_fPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 16
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16struct_aspointerP14Struct_2floatsPf
    .private_segment_fixed_size: 0
    .sgpr_count:     5
    .sgpr_spill_count: 0
    .symbol:         _Z16struct_aspointerP14Struct_2floatsPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     2
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           24
        .value_kind:     by_value
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 32
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp
    .private_segment_fixed_size: 0
    .sgpr_count:     8
    .sgpr_spill_count: 0
    .symbol:         _Z17kernel_twostructs16Struct_fp_fp_f_f9Struct_fp.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     4
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 16
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z25kernel_structbyval_noptrs13Struct_1floatPf
    .private_segment_fixed_size: 0
    .sgpr_count:     3
    .sgpr_spill_count: 0
    .symbol:         _Z25kernel_structbyval_noptrs13Struct_1floatPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     3
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .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
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 32
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     8
    .sgpr_spill_count: 0
    .symbol:         _Z24kernel_twostructs_noptrsP14Struct_2floatsP13Struct_1floatS1_Pf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     3
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           8
        .value_kind:     by_value
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 16
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z26kernel_struct2byval_noptrs14Struct_2floatsPf
    .private_segment_fixed_size: 0
    .sgpr_count:     4
    .sgpr_spill_count: 0
    .symbol:         _Z26kernel_struct2byval_noptrs14Struct_2floatsPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     3
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 24
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     8
    .sgpr_spill_count: 0
    .symbol:         _Z38kernel_twostructs_gpuside_singlebufferP14struct_f_c_f_cS0_Pf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     2
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           160
        .value_kind:     by_value
      - .address_space:  global
        .offset:         160
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 168
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16kernelUseNestTop7NestTopPf
    .private_segment_fixed_size: 0
    .sgpr_count:     4
    .sgpr_spill_count: 0
    .symbol:         _Z16kernelUseNestTop7NestTopPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     3
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .offset:         0
        .size:           24
        .value_kind:     by_value
      - .offset:         24
        .size:           24
        .value_kind:     by_value
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 56
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf
    .private_segment_fixed_size: 0
    .sgpr_count:     8
    .sgpr_spill_count: 0
    .symbol:         _Z27struct_byvalue_withreadnone16Struct_fp_fp_f_fS_Pf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
