ArabDesert/Assets/Editor/x64/Bakery/trimeshTexLODSelect.ptx

514 lines
18 KiB
Plaintext
Raw Normal View History

2024-05-25 09:10:35 +03:00
//
// Generated by NVIDIA NVVM Compiler
//
// Compiler Build ID: CL-23083092
// Cuda compilation tools, release 9.1, V9.1.85
// Based on LLVM 3.4svn
//
.version 6.1
.target sm_30
.address_size 64
// .globl _Z9intersecti
.global .align 8 .b8 pixelID[8];
.global .align 8 .b8 resolution[8];
.global .align 4 .b8 normal[12];
.global .align 4 .b8 camPos[12];
.global .align 4 .b8 root[4];
.global .align 4 .u32 imageEnabled;
.global .texref lightmap;
.global .align 16 .b8 tileInfo[16];
.global .align 4 .u32 additive;
.global .align 8 .b8 texCoords[8];
.global .align 1 .b8 vertex_buffer[1];
.global .align 1 .b8 index_buffer[1];
.global .align 4 .u32 firstAlphaTriangle;
.global .align 1 .b8 vertex_buffer_uv[1];
.global .align 1 .b8 triangleAlphaIDs[1];
.global .align 1 .b8 alphaTextures[1];
.global .align 4 .b8 ray[36];
.global .align 4 .b8 _ZN21rti_internal_typeinfo7pixelIDE[8] = {82, 97, 121, 0, 8, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo10resolutionE[8] = {82, 97, 121, 0, 8, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo6normalE[8] = {82, 97, 121, 0, 12, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo6camPosE[8] = {82, 97, 121, 0, 12, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo4rootE[8] = {82, 97, 121, 0, 4, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo12imageEnabledE[8] = {82, 97, 121, 0, 4, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo8tileInfoE[8] = {82, 97, 121, 0, 16, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo8additiveE[8] = {82, 97, 121, 0, 4, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo9texCoordsE[8] = {82, 97, 121, 0, 8, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo18firstAlphaTriangleE[8] = {82, 97, 121, 0, 4, 0, 0, 0};
.global .align 4 .b8 _ZN21rti_internal_typeinfo3rayE[8] = {82, 97, 121, 0, 36, 0, 0, 0};
.global .align 8 .u64 _ZN21rti_internal_register20reg_bitness_detectorE;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail0E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail1E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail2E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail3E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail4E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail5E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail6E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail7E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail8E;
.global .align 8 .u64 _ZN21rti_internal_register24reg_exception_64_detail9E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail0E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail1E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail2E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail3E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail4E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail5E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail6E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail7E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail8E;
.global .align 4 .u32 _ZN21rti_internal_register21reg_exception_detail9E;
.global .align 4 .u32 _ZN21rti_internal_register14reg_rayIndex_xE;
.global .align 4 .u32 _ZN21rti_internal_register14reg_rayIndex_yE;
.global .align 4 .u32 _ZN21rti_internal_register14reg_rayIndex_zE;
.global .align 8 .b8 _ZN21rti_internal_typename7pixelIDE[6] = {117, 105, 110, 116, 50, 0};
.global .align 8 .b8 _ZN21rti_internal_typename10resolutionE[6] = {117, 105, 110, 116, 50, 0};
.global .align 8 .b8 _ZN21rti_internal_typename6normalE[7] = {102, 108, 111, 97, 116, 51, 0};
.global .align 8 .b8 _ZN21rti_internal_typename6camPosE[7] = {102, 108, 111, 97, 116, 51, 0};
.global .align 16 .b8 _ZN21rti_internal_typename4rootE[9] = {114, 116, 79, 98, 106, 101, 99, 116, 0};
.global .align 4 .b8 _ZN21rti_internal_typename12imageEnabledE[4] = {105, 110, 116, 0};
.global .align 8 .b8 _ZN21rti_internal_typename8tileInfoE[6] = {117, 105, 110, 116, 52, 0};
.global .align 4 .b8 _ZN21rti_internal_typename8additiveE[4] = {105, 110, 116, 0};
.global .align 8 .b8 _ZN21rti_internal_typename9texCoordsE[7] = {102, 108, 111, 97, 116, 50, 0};
.global .align 4 .b8 _ZN21rti_internal_typename18firstAlphaTriangleE[4] = {105, 110, 116, 0};
.global .align 4 .b8 _ZN21rti_internal_typename3rayE[4] = {82, 97, 121, 0};
.global .align 4 .u32 _ZN21rti_internal_typeenum7pixelIDE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum10resolutionE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum6normalE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum6camPosE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum4rootE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum12imageEnabledE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum8tileInfoE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum8additiveE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum9texCoordsE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum18firstAlphaTriangleE = 4919;
.global .align 4 .u32 _ZN21rti_internal_typeenum3rayE = 4919;
.global .align 16 .b8 _ZN21rti_internal_semantic7pixelIDE[14] = {114, 116, 76, 97, 117, 110, 99, 104, 73, 110, 100, 101, 120, 0};
.global .align 16 .b8 _ZN21rti_internal_semantic10resolutionE[12] = {114, 116, 76, 97, 117, 110, 99, 104, 68, 105, 109, 0};
.global .align 16 .b8 _ZN21rti_internal_semantic6normalE[17] = {97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 110, 111, 114, 109, 97, 108, 0};
.global .align 1 .b8 _ZN21rti_internal_semantic6camPosE[1];
.global .align 1 .b8 _ZN21rti_internal_semantic4rootE[1];
.global .align 1 .b8 _ZN21rti_internal_semantic12imageEnabledE[1];
.global .align 1 .b8 _ZN21rti_internal_semantic8tileInfoE[1];
.global .align 1 .b8 _ZN21rti_internal_semantic8additiveE[1];
.global .align 16 .b8 _ZN21rti_internal_semantic9texCoordsE[20] = {97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 116, 101, 120, 67, 111, 111, 114, 100, 115, 0};
.global .align 1 .b8 _ZN21rti_internal_semantic18firstAlphaTriangleE[1];
.global .align 16 .b8 _ZN21rti_internal_semantic3rayE[13] = {114, 116, 67, 117, 114, 114, 101, 110, 116, 82, 97, 121, 0};
.global .align 1 .b8 _ZN23rti_internal_annotation7pixelIDE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation10resolutionE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation6normalE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation6camPosE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation4rootE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation12imageEnabledE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation8tileInfoE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation8additiveE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation9texCoordsE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation18firstAlphaTriangleE[1];
.global .align 1 .b8 _ZN23rti_internal_annotation3rayE[1];
.visible .entry _Z9intersecti(
.param .u32 _Z9intersecti_param_0
)
{
.reg .pred %p<13>;
.reg .f32 %f<180>;
.reg .b32 %r<52>;
.reg .b64 %rd<116>;
ld.param.u32 %r2, [_Z9intersecti_param_0];
cvt.s64.s32 %rd6, %r2;
mov.u64 %rd28, index_buffer;
cvta.global.u64 %rd5, %rd28;
mov.u32 %r9, 1;
mov.u32 %r4, 12;
mov.u64 %rd27, 0;
// inline asm
call (%rd4), _rt_buffer_get_64, (%rd5, %r9, %r4, %rd6, %rd27, %rd27, %rd27);
// inline asm
ld.s32 %rd12, [%rd4];
mov.u64 %rd29, vertex_buffer;
cvta.global.u64 %rd11, %rd29;
ld.s32 %rd18, [%rd4+4];
ld.s32 %rd24, [%rd4+8];
mov.u32 %r10, 32;
// inline asm
call (%rd10), _rt_buffer_get_64, (%rd11, %r9, %r10, %rd12, %rd27, %rd27, %rd27);
// inline asm
ld.f32 %f3, [%rd10+8];
ld.v2.f32 {%f13, %f14}, [%rd10];
// inline asm
call (%rd16), _rt_buffer_get_64, (%rd11, %r9, %r10, %rd18, %rd27, %rd27, %rd27);
// inline asm
ld.f32 %f15, [%rd16+8];
ld.v2.f32 {%f16, %f17}, [%rd16];
// inline asm
call (%rd22), _rt_buffer_get_64, (%rd11, %r9, %r10, %rd24, %rd27, %rd27, %rd27);
// inline asm
sub.f32 %f4, %f16, %f13;
sub.f32 %f5, %f17, %f14;
sub.f32 %f6, %f15, %f3;
ld.f32 %f9, [%rd22+8];
ld.v2.f32 {%f20, %f21}, [%rd22];
sub.f32 %f22, %f13, %f20;
sub.f32 %f23, %f14, %f21;
sub.f32 %f24, %f3, %f9;
mul.f32 %f25, %f6, %f23;
mul.f32 %f26, %f5, %f24;
sub.f32 %f27, %f25, %f26;
mul.f32 %f28, %f4, %f24;
mul.f32 %f29, %f6, %f22;
sub.f32 %f30, %f28, %f29;
mul.f32 %f31, %f5, %f22;
mul.f32 %f32, %f4, %f23;
sub.f32 %f33, %f31, %f32;
ld.global.f32 %f34, [ray+12];
ld.global.f32 %f35, [ray+16];
mul.f32 %f36, %f35, %f30;
fma.rn.f32 %f37, %f34, %f27, %f36;
ld.global.f32 %f38, [ray+20];
fma.rn.f32 %f39, %f38, %f33, %f37;
rcp.rn.f32 %f40, %f39;
ld.global.f32 %f41, [ray];
sub.f32 %f42, %f13, %f41;
ld.global.f32 %f43, [ray+4];
sub.f32 %f44, %f14, %f43;
ld.global.f32 %f45, [ray+8];
sub.f32 %f46, %f3, %f45;
mul.f32 %f47, %f40, %f42;
mul.f32 %f48, %f40, %f44;
mul.f32 %f49, %f40, %f46;
mul.f32 %f50, %f35, %f49;
mul.f32 %f51, %f48, %f38;
sub.f32 %f52, %f50, %f51;
mul.f32 %f53, %f47, %f38;
mul.f32 %f54, %f49, %f34;
sub.f32 %f55, %f53, %f54;
mul.f32 %f56, %f48, %f34;
mul.f32 %f57, %f47, %f35;
sub.f32 %f58, %f56, %f57;
mul.f32 %f59, %f23, %f55;
fma.rn.f32 %f60, %f22, %f52, %f59;
fma.rn.f32 %f10, %f24, %f58, %f60;
mul.f32 %f61, %f5, %f55;
fma.rn.f32 %f62, %f4, %f52, %f61;
fma.rn.f32 %f11, %f6, %f58, %f62;
mul.f32 %f63, %f30, %f48;
fma.rn.f32 %f64, %f27, %f47, %f63;
fma.rn.f32 %f12, %f33, %f49, %f64;
ld.global.f32 %f65, [ray+32];
setp.geu.f32 %p1, %f12, %f65;
ld.global.f32 %f66, [ray+28];
setp.leu.f32 %p2, %f12, %f66;
or.pred %p3, %p1, %p2;
setp.ltu.f32 %p4, %f10, 0f00000000;
or.pred %p5, %p3, %p4;
setp.ltu.f32 %p6, %f11, 0f00000000;
or.pred %p7, %p5, %p6;
add.f32 %f67, %f10, %f11;
setp.gtu.f32 %p8, %f67, 0f3F800000;
or.pred %p9, %p7, %p8;
@%p9 bra BB0_5;
ld.global.u32 %r1, [firstAlphaTriangle];
setp.gt.s32 %p10, %r1, %r2;
@%p10 bra BB0_3;
sub.s32 %r29, %r2, %r1;
cvt.s64.s32 %rd32, %r29;
mov.u64 %rd75, triangleAlphaIDs;
cvta.global.u64 %rd31, %rd75;
mov.u32 %r25, 4;
// inline asm
call (%rd30), _rt_buffer_get_64, (%rd31, %r9, %r25, %rd32, %rd27, %rd27, %rd27);
// inline asm
ld.u32 %rd76, [%rd30];
cvt.u32.u64 %r30, %rd76;
shr.u32 %r31, %r30, 16;
mov.u64 %rd77, vertex_buffer_uv;
cvta.global.u64 %rd37, %rd77;
mov.u32 %r18, 8;
// inline asm
call (%rd36), _rt_buffer_get_64, (%rd37, %r9, %r18, %rd12, %rd27, %rd27, %rd27);
// inline asm
ld.v2.f32 {%f68, %f69}, [%rd36];
// inline asm
call (%rd42), _rt_buffer_get_64, (%rd37, %r9, %r18, %rd18, %rd27, %rd27, %rd27);
// inline asm
ld.v2.f32 {%f72, %f73}, [%rd42];
// inline asm
call (%rd48), _rt_buffer_get_64, (%rd37, %r9, %r18, %rd24, %rd27, %rd27, %rd27);
// inline asm
mov.f32 %f76, 0f3F800000;
sub.f32 %f77, %f76, %f10;
sub.f32 %f78, %f77, %f11;
mul.f32 %f79, %f10, %f72;
mul.f32 %f80, %f10, %f73;
fma.rn.f32 %f81, %f78, %f68, %f79;
fma.rn.f32 %f82, %f78, %f69, %f80;
ld.v2.f32 {%f83, %f84}, [%rd48];
fma.rn.f32 %f87, %f11, %f83, %f81;
fma.rn.f32 %f88, %f11, %f84, %f82;
abs.f32 %f89, %f87;
cvt.rmi.f32.f32 %f90, %f89;
sub.f32 %f91, %f89, %f90;
abs.f32 %f92, %f88;
cvt.rmi.f32.f32 %f93, %f92;
sub.f32 %f94, %f92, %f93;
and.b64 %rd56, %rd76, 65535;
mov.u64 %rd78, alphaTextures;
cvta.global.u64 %rd55, %rd78;
// inline asm
call (%rd54), _rt_buffer_get_64, (%rd55, %r9, %r25, %rd56, %rd27, %rd27, %rd27);
// inline asm
ld.u32 %r21, [%rd54];
mov.u32 %r27, 2;
// inline asm
call (%rd60, %rd61, %rd62, %rd63), _rt_buffer_get_id_size_64, (%r21, %r27, %r9);
// inline asm
cvt.rn.f32.u64 %f95, %rd60;
mul.f32 %f96, %f91, %f95;
cvt.rzi.u32.f32 %r32, %f96;
cvt.rn.f32.u64 %f97, %rd61;
mul.f32 %f98, %f94, %f97;
cvt.rzi.u32.f32 %r33, %f98;
// inline asm
call (%rd64), _rt_buffer_get_64, (%rd55, %r9, %r25, %rd56, %rd27, %rd27, %rd27);
// inline asm
ld.u32 %r26, [%rd64];
cvt.u64.u32 %rd71, %r32;
cvt.u64.u32 %rd72, %r33;
// inline asm
call (%rd70), _rt_buffer_get_id_64, (%r26, %r27, %r9, %rd71, %rd72, %rd27, %rd27);
// inline asm
ld.u8 %r34, [%rd70];
and.b32 %r35, %r34, %r31;
setp.eq.s32 %p11, %r35, 0;
@%p11 bra BB0_5;
BB0_3:
// inline asm
call (%r36), _rt_potential_intersection, (%f12);
// inline asm
setp.eq.s32 %p12, %r36, 0;
@%p12 bra BB0_5;
mov.u32 %r51, 32;
// inline asm
call (%rd79), _rt_buffer_get_64, (%rd11, %r9, %r51, %rd12, %rd27, %rd27, %rd27);
// inline asm
ld.f32 %f100, [%rd79+20];
ld.f32 %f101, [%rd79+16];
ld.f32 %f102, [%rd79+12];
// inline asm
call (%rd85), _rt_buffer_get_64, (%rd11, %r9, %r51, %rd18, %rd27, %rd27, %rd27);
// inline asm
ld.f32 %f103, [%rd85+20];
ld.f32 %f104, [%rd85+16];
ld.f32 %f105, [%rd85+12];
// inline asm
call (%rd91), _rt_buffer_get_64, (%rd11, %r9, %r51, %rd24, %rd27, %rd27, %rd27);
// inline asm
mov.f32 %f106, 0f3F800000;
sub.f32 %f107, %f106, %f10;
sub.f32 %f108, %f107, %f11;
mul.f32 %f109, %f10, %f105;
mul.f32 %f110, %f10, %f104;
mul.f32 %f111, %f10, %f103;
fma.rn.f32 %f112, %f108, %f102, %f109;
fma.rn.f32 %f113, %f108, %f101, %f110;
fma.rn.f32 %f114, %f108, %f100, %f111;
ld.f32 %f115, [%rd91+20];
ld.f32 %f116, [%rd91+16];
ld.f32 %f117, [%rd91+12];
fma.rn.f32 %f118, %f11, %f117, %f112;
fma.rn.f32 %f119, %f11, %f116, %f113;
fma.rn.f32 %f120, %f11, %f115, %f114;
mul.f32 %f121, %f119, %f119;
fma.rn.f32 %f122, %f118, %f118, %f121;
fma.rn.f32 %f123, %f120, %f120, %f122;
sqrt.rn.f32 %f124, %f123;
rcp.rn.f32 %f125, %f124;
mul.f32 %f126, %f125, %f118;
mul.f32 %f127, %f125, %f119;
mul.f32 %f128, %f125, %f120;
st.global.f32 [normal], %f126;
st.global.f32 [normal+4], %f127;
st.global.f32 [normal+8], %f128;
// inline asm
call (%rd97), _rt_buffer_get_64, (%rd11, %r9, %r51, %rd12, %rd27, %rd27, %rd27);
// inline asm
ld.v2.f32 {%f129, %f130}, [%rd97+24];
// inline asm
call (%rd103), _rt_buffer_get_64, (%rd11, %r9, %r51, %rd18, %rd27, %rd27, %rd27);
// inline asm
ld.v2.f32 {%f133, %f134}, [%rd103+24];
// inline asm
call (%rd109), _rt_buffer_get_64, (%rd11, %r9, %r51, %rd24, %rd27, %rd27, %rd27);
// inline asm
ld.v2.f32 {%f137, %f138}, [%rd109+24];
mul.f32 %f141, %f10, %f133;
fma.rn.f32 %f142, %f108, %f129, %f141;
sub.f32 %f143, %f9, %f3;
mul.f32 %f144, %f5, %f143;
sub.f32 %f145, %f21, %f14;
mul.f32 %f146, %f6, %f145;
sub.f32 %f147, %f144, %f146;
sub.f32 %f148, %f20, %f13;
mul.f32 %f149, %f6, %f148;
mul.f32 %f150, %f4, %f143;
sub.f32 %f151, %f149, %f150;
mul.f32 %f152, %f4, %f145;
mul.f32 %f153, %f5, %f148;
sub.f32 %f154, %f152, %f153;
mul.f32 %f155, %f151, %f151;
fma.rn.f32 %f156, %f147, %f147, %f155;
fma.rn.f32 %f157, %f154, %f154, %f156;
sqrt.rn.f32 %f158, %f157;
mul.f32 %f159, %f158, 0f3F000000;
sub.f32 %f160, %f133, %f129;
sub.f32 %f161, %f134, %f130;
sub.f32 %f162, %f137, %f129;
sub.f32 %f163, %f138, %f130;
mul.f32 %f164, %f161, 0f00000000;
mul.f32 %f165, %f163, 0f00000000;
sub.f32 %f166, %f164, %f165;
mul.f32 %f167, %f162, 0f00000000;
mul.f32 %f168, %f160, 0f00000000;
sub.f32 %f169, %f167, %f168;
mul.f32 %f170, %f160, %f163;
mul.f32 %f171, %f161, %f162;
sub.f32 %f172, %f170, %f171;
mul.f32 %f173, %f169, %f169;
fma.rn.f32 %f174, %f166, %f166, %f173;
fma.rn.f32 %f175, %f172, %f172, %f174;
sqrt.rn.f32 %f176, %f175;
mul.f32 %f177, %f176, 0f3F000000;
div.rn.f32 %f178, %f159, %f177;
fma.rn.f32 %f179, %f11, %f137, %f142;
st.global.v2.f32 [texCoords], {%f179, %f178};
mov.u32 %r50, 0;
// inline asm
call (%r49), _rt_report_intersection, (%r50);
// inline asm
BB0_5:
ret;
}
// .globl _Z4bboxiPN5optix4AabbE
.visible .entry _Z4bboxiPN5optix4AabbE(
.param .u32 _Z4bboxiPN5optix4AabbE_param_0,
.param .u64 _Z4bboxiPN5optix4AabbE_param_1
)
{
.reg .pred %p<6>;
.reg .f32 %f<42>;
.reg .b32 %r<11>;
.reg .b64 %rd<29>;
ld.param.u64 %rd2, [_Z4bboxiPN5optix4AabbE_param_1];
ld.param.s32 %rd5, [_Z4bboxiPN5optix4AabbE_param_0];
mov.u64 %rd27, index_buffer;
cvta.global.u64 %rd4, %rd27;
mov.u32 %r7, 1;
mov.u32 %r2, 12;
mov.u64 %rd26, 0;
// inline asm
call (%rd3), _rt_buffer_get_64, (%rd4, %r7, %r2, %rd5, %rd26, %rd26, %rd26);
// inline asm
ld.s32 %rd11, [%rd3];
mov.u64 %rd28, vertex_buffer;
cvta.global.u64 %rd10, %rd28;
ld.s32 %rd17, [%rd3+4];
ld.s32 %rd23, [%rd3+8];
mov.u32 %r8, 32;
// inline asm
call (%rd9), _rt_buffer_get_64, (%rd10, %r7, %r8, %rd11, %rd26, %rd26, %rd26);
// inline asm
ld.f32 %f3, [%rd9+8];
ld.f32 %f2, [%rd9+4];
ld.f32 %f1, [%rd9];
// inline asm
call (%rd15), _rt_buffer_get_64, (%rd10, %r7, %r8, %rd17, %rd26, %rd26, %rd26);
// inline asm
ld.f32 %f6, [%rd15+8];
ld.f32 %f5, [%rd15+4];
ld.f32 %f4, [%rd15];
// inline asm
call (%rd21), _rt_buffer_get_64, (%rd10, %r7, %r8, %rd23, %rd26, %rd26, %rd26);
// inline asm
sub.f32 %f11, %f4, %f1;
sub.f32 %f12, %f5, %f2;
sub.f32 %f13, %f6, %f3;
ld.f32 %f9, [%rd21+8];
ld.f32 %f8, [%rd21+4];
ld.f32 %f7, [%rd21];
sub.f32 %f14, %f7, %f1;
sub.f32 %f15, %f8, %f2;
sub.f32 %f16, %f9, %f3;
mul.f32 %f17, %f12, %f16;
mul.f32 %f18, %f13, %f15;
sub.f32 %f19, %f17, %f18;
mul.f32 %f20, %f13, %f14;
mul.f32 %f21, %f11, %f16;
sub.f32 %f22, %f20, %f21;
mul.f32 %f23, %f11, %f15;
mul.f32 %f24, %f12, %f14;
sub.f32 %f25, %f23, %f24;
mul.f32 %f26, %f22, %f22;
fma.rn.f32 %f27, %f19, %f19, %f26;
fma.rn.f32 %f28, %f25, %f25, %f27;
sqrt.rn.f32 %f10, %f28;
mov.pred %p5, 0;
setp.leu.f32 %p4, %f10, 0f00000000;
@%p4 bra BB1_2;
abs.f32 %f29, %f10;
setp.neu.f32 %p5, %f29, 0f7F800000;
BB1_2:
cvta.to.global.u64 %rd1, %rd2;
@%p5 bra BB1_4;
bra.uni BB1_3;
BB1_4:
min.f32 %f30, %f1, %f4;
min.f32 %f31, %f30, %f7;
min.f32 %f32, %f2, %f5;
min.f32 %f33, %f32, %f8;
min.f32 %f34, %f3, %f6;
min.f32 %f35, %f34, %f9;
st.global.f32 [%rd1], %f31;
st.global.f32 [%rd1+4], %f33;
st.global.f32 [%rd1+8], %f35;
max.f32 %f36, %f1, %f4;
max.f32 %f37, %f36, %f7;
max.f32 %f38, %f2, %f5;
max.f32 %f39, %f38, %f8;
max.f32 %f40, %f3, %f6;
max.f32 %f41, %f40, %f9;
st.global.f32 [%rd1+12], %f37;
st.global.f32 [%rd1+16], %f39;
st.global.f32 [%rd1+20], %f41;
bra.uni BB1_5;
BB1_3:
mov.u32 %r9, 2096152002;
st.global.u32 [%rd1], %r9;
st.global.u32 [%rd1+8], %r9;
st.global.u32 [%rd1+4], %r9;
mov.u32 %r10, -51331646;
st.global.u32 [%rd1+12], %r10;
st.global.u32 [%rd1+16], %r10;
st.global.u32 [%rd1+20], %r10;
BB1_5:
ret;
}