
# __CLANG_OFFLOAD_BUNDLE____START__ hip-amdgcn-amd-amdhsa--gfx906
	.amdgcn_target "amdgcn-amd-amdhsa--gfx906"
	.amdhsa_code_object_version 5
	.text
	.weak	__cxa_pure_virtual              ; -- Begin function __cxa_pure_virtual
	.p2align	2
	.type	__cxa_pure_virtual,@function
__cxa_pure_virtual:                     ; @__cxa_pure_virtual
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s4, s33
	s_mov_b32 s33, s32
	s_trap 2
.Lfunc_end0:
	.size	__cxa_pure_virtual, .Lfunc_end0-__cxa_pure_virtual
                                        ; -- End function
	.set __cxa_pure_virtual.num_vgpr, 0
	.set __cxa_pure_virtual.num_agpr, 0
	.set __cxa_pure_virtual.numbered_sgpr, 34
	.set __cxa_pure_virtual.num_named_barrier, 0
	.set __cxa_pure_virtual.private_seg_size, 0
	.set __cxa_pure_virtual.uses_vcc, 0
	.set __cxa_pure_virtual.uses_flat_scratch, 0
	.set __cxa_pure_virtual.has_dyn_sized_stack, 0
	.set __cxa_pure_virtual.has_recursion, 0
	.set __cxa_pure_virtual.has_indirect_call, 0
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 16
; TotalNumSgprs: 38
; NumVgprs: 0
; ScratchSize: 0
; MemoryBound: 0
	.text
	.weak	__cxa_deleted_virtual           ; -- Begin function __cxa_deleted_virtual
	.p2align	2
	.type	__cxa_deleted_virtual,@function
__cxa_deleted_virtual:                  ; @__cxa_deleted_virtual
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s4, s33
	s_mov_b32 s33, s32
	s_trap 2
.Lfunc_end1:
	.size	__cxa_deleted_virtual, .Lfunc_end1-__cxa_deleted_virtual
                                        ; -- End function
	.set __cxa_deleted_virtual.num_vgpr, 0
	.set __cxa_deleted_virtual.num_agpr, 0
	.set __cxa_deleted_virtual.numbered_sgpr, 34
	.set __cxa_deleted_virtual.num_named_barrier, 0
	.set __cxa_deleted_virtual.private_seg_size, 0
	.set __cxa_deleted_virtual.uses_vcc, 0
	.set __cxa_deleted_virtual.uses_flat_scratch, 0
	.set __cxa_deleted_virtual.has_dyn_sized_stack, 0
	.set __cxa_deleted_virtual.has_recursion, 0
	.set __cxa_deleted_virtual.has_indirect_call, 0
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 16
; TotalNumSgprs: 38
; NumVgprs: 0
; ScratchSize: 0
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_hsa_signal_add
	.type	__ockl_hsa_signal_add,@function
__ockl_hsa_signal_add:                  ; @__ockl_hsa_signal_add
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s16, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[4:5], -1
	buffer_store_dword v6, off, s[0:3], s33 offset:48 ; 4-byte Folded Spill
	s_mov_b64 exec, s[4:5]
	s_add_i32 s32, s32, 0xe00
	buffer_store_dword v4, off, s[0:3], s33 offset:36 ; 4-byte Folded Spill
	buffer_store_dword v3, off, s[0:3], s33 offset:32 ; 4-byte Folded Spill
	v_mov_b32_e32 v3, v2
	buffer_load_dword v2, off, s[0:3], s33 offset:32 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:28 ; 4-byte Folded Spill
	v_mov_b32_e32 v1, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:28 ; 4-byte Folded Reload
                                        ; kill: def $vgpr3 killed $vgpr3 def $vgpr3_vgpr4 killed $exec
	s_waitcnt vmcnt(2)
	v_mov_b32_e32 v4, v2
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v2, v0
	buffer_store_dword v3, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v4, off, s[0:3], s33 offset:24 ; 4-byte Folded Spill
	v_mov_b32_e32 v4, v2
	v_mov_b32_e32 v3, v1
	buffer_store_dword v3, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v4, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], 8
	v_mov_b32_e32 v0, v1
	s_mov_b32 s4, s6
	v_mov_b32_e32 v1, v2
	s_mov_b32 s6, s7
	v_add_co_u32_e64 v0, s[4:5], v0, s4
	v_mov_b32_e32 v2, s6
	v_addc_co_u32_e64 v2, s[4:5], v1, v2, s[4:5]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	buffer_store_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
; %bb.1:
	buffer_load_dword v0, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	s_mov_b32 s4, 3
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
	s_mov_b64 s[6:7], 0
                                        ; implicit-def: $vgpr6 : SGPR spill to VGPR lane
	v_writelane_b32 v6, s6, 0
	v_writelane_b32 v6, s7, 1
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v6, s6, 2
	v_writelane_b32 v6, s7, 3
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB2_3
; %bb.2:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	buffer_load_dword v0, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	s_mov_b32 s4, 4
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
	s_mov_b64 s[6:7], 0
	v_writelane_b32 v6, s6, 4
	v_writelane_b32 v6, s7, 5
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v6, s6, 6
	v_writelane_b32 v6, s7, 7
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB2_17
	s_branch .LBB2_4
.LBB2_3:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v6, 2
	v_readlane_b32 s5, v6, 3
	s_or_saveexec_b64 s[4:5], s[4:5]
	v_readlane_b32 s8, v6, 0
	v_readlane_b32 s9, v6, 1
	v_writelane_b32 v6, s8, 8
	v_writelane_b32 v6, s9, 9
	s_mov_b64 s[6:7], 0
	v_writelane_b32 v6, s8, 10
	v_writelane_b32 v6, s9, 11
	v_writelane_b32 v6, s6, 12
	v_writelane_b32 v6, s7, 13
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v6, s4, 14
	v_writelane_b32 v6, s5, 15
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB2_13
	s_branch .LBB2_6
.LBB2_4:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	buffer_load_dword v0, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	s_mov_b32 s4, 5
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[4:5], -1
	v_writelane_b32 v6, s4, 16
	v_writelane_b32 v6, s5, 17
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v6, s4, 18
	v_writelane_b32 v6, s5, 19
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB2_15
	s_branch .LBB2_18
.LBB2_5:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v6, 20
	v_readlane_b32 s7, v6, 21
	s_or_b64 exec, exec, s[6:7]
	v_readlane_b32 s4, v6, 22
	v_readlane_b32 s5, v6, 23
	s_and_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v6, s4, 0
	v_writelane_b32 v6, s5, 1
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_branch .LBB2_3
.LBB2_6:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	buffer_load_dword v0, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	s_mov_b32 s4, 2
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v6, s6, 24
	v_writelane_b32 v6, s7, 25
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB2_7
	s_branch .LBB2_14
.LBB2_7:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v6, 24
	v_readlane_b32 s5, v6, 25
	s_or_saveexec_b64 s[4:5], s[4:5]
	v_readlane_b32 s8, v6, 8
	v_readlane_b32 s9, v6, 9
	s_mov_b64 s[6:7], 0
	v_writelane_b32 v6, s8, 26
	v_writelane_b32 v6, s9, 27
	v_writelane_b32 v6, s6, 28
	v_writelane_b32 v6, s7, 29
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v6, s4, 30
	v_writelane_b32 v6, s5, 31
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB2_9
; %bb.8:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v6, 8
	v_readlane_b32 s7, v6, 9
	buffer_load_dword v0, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	s_mov_b32 s4, 1
	s_waitcnt vmcnt(0)
	v_cmp_lt_i32_e64 s[8:9], v0, s4
	s_mov_b64 s[4:5], -1
	s_mov_b64 s[4:5], exec
	s_andn2_b64 s[6:7], s[6:7], exec
	s_and_b64 s[8:9], s[8:9], exec
	s_or_b64 s[6:7], s[6:7], s[8:9]
	v_writelane_b32 v6, s6, 26
	v_writelane_b32 v6, s7, 27
	v_writelane_b32 v6, s4, 28
	v_writelane_b32 v6, s5, 29
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
.LBB2_9:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s10, v6, 30
	v_readlane_b32 s11, v6, 31
	s_or_b64 exec, exec, s[10:11]
	v_readlane_b32 s6, v6, 8
	v_readlane_b32 s7, v6, 9
	v_readlane_b32 s8, v6, 26
	v_readlane_b32 s9, v6, 27
	v_readlane_b32 s4, v6, 28
	v_readlane_b32 s5, v6, 29
	s_and_b64 s[4:5], s[4:5], exec
	s_andn2_b64 s[6:7], s[6:7], exec
	s_and_b64 s[8:9], s[8:9], exec
	s_or_b64 s[6:7], s[6:7], s[8:9]
	v_writelane_b32 v6, s6, 10
	v_writelane_b32 v6, s7, 11
	v_writelane_b32 v6, s4, 12
	v_writelane_b32 v6, s5, 13
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_branch .LBB2_13
.LBB2_10:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v6, 32
	v_readlane_b32 s5, v6, 33
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_atomic_add_x2 v[0:1], v[2:3], off
	s_mov_b64 s[6:7], 0
	s_andn2_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v6, s4, 34
	v_writelane_b32 v6, s5, 35
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
.LBB2_11:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v6, 36
	v_readlane_b32 s5, v6, 37
	s_or_b64 exec, exec, s[4:5]
	v_readlane_b32 s6, v6, 34
	v_readlane_b32 s7, v6, 35
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v6, s4, 38
	v_writelane_b32 v6, s5, 39
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB2_19
; %bb.12:
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_atomic_add_x2 v[0:1], v[2:3], off
	s_waitcnt vmcnt(0)
	buffer_wbinvl1_vol
	s_branch .LBB2_19
.LBB2_13:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s8, v6, 14
	v_readlane_b32 s9, v6, 15
	s_or_b64 exec, exec, s[8:9]
	v_readlane_b32 s4, v6, 10
	v_readlane_b32 s5, v6, 11
	v_readlane_b32 s6, v6, 12
	v_readlane_b32 s7, v6, 13
	v_writelane_b32 v6, s6, 32
	v_writelane_b32 v6, s7, 33
	v_writelane_b32 v6, s6, 34
	v_writelane_b32 v6, s7, 35
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v6, s6, 36
	v_writelane_b32 v6, s7, 37
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB2_11
	s_branch .LBB2_10
.LBB2_14:
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_atomic_add_x2 v[0:1], v[2:3], off
	s_branch .LBB2_7
.LBB2_15:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v6, 18
	v_readlane_b32 s7, v6, 19
	s_or_b64 exec, exec, s[6:7]
	v_readlane_b32 s4, v6, 16
	v_readlane_b32 s5, v6, 17
	s_and_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v6, s4, 4
	v_writelane_b32 v6, s5, 5
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_branch .LBB2_17
.LBB2_16:
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_atomic_add_x2 v[0:1], v[2:3], off
	s_waitcnt vmcnt(0)
	buffer_wbinvl1_vol
	s_branch .LBB2_5
.LBB2_17:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v6, 6
	v_readlane_b32 s5, v6, 7
	s_or_saveexec_b64 s[4:5], s[4:5]
	v_readlane_b32 s6, v6, 4
	v_readlane_b32 s7, v6, 5
	v_writelane_b32 v6, s6, 22
	v_writelane_b32 v6, s7, 23
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v6, s4, 20
	v_writelane_b32 v6, s5, 21
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB2_5
	s_branch .LBB2_16
.LBB2_18:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0) lgkmcnt(0)
	global_atomic_add_x2 v[0:1], v[2:3], off
	s_waitcnt vmcnt(0)
	buffer_wbinvl1_vol
	s_mov_b64 s[4:5], 0
	s_xor_b64 s[4:5], exec, -1
	v_writelane_b32 v6, s4, 16
	v_writelane_b32 v6, s5, 17
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_branch .LBB2_15
.LBB2_19:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v6, 38
	v_readlane_b32 s5, v6, 39
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_load_dwordx2 v[0:1], v[0:1], off offset:16
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:40 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:44 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], 0
	v_cmp_ne_u64_e64 s[6:7], v[0:1], s[4:5]
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v6, s4, 40
	v_writelane_b32 v6, s5, 41
	s_or_saveexec_b64 s[14:15], -1
	buffer_store_dword v6, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[14:15]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB2_21
; %bb.20:
	buffer_load_dword v1, off, s[0:3], s33 offset:40 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:44 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_load_dword v0, v[3:4], off offset:24
	s_mov_b32 s4, 0
	v_mov_b32_e32 v5, 0
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v3, v0
	v_mov_b32_e32 v4, v5
	s_waitcnt vmcnt(0)
	global_store_dwordx2 v[1:2], v[3:4], off
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, __oclc_ISA_version@rel32@lo+4
	s_addc_u32 s5, s5, __oclc_ISA_version@rel32@hi+12
	s_load_dword s4, s[4:5], 0x0
	s_mov_b32 s5, 0x2af8
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_u32 s4, s5
	s_mov_b32 s5, 0xffffff
	s_mov_b32 s6, 0x7fffff
	s_cselect_b32 s6, s6, s5
	s_mov_b32 s7, 0x2710
	s_cmp_lt_u32 s4, s7
	s_cselect_b32 s5, s5, s6
	s_mov_b32 s6, 0x2328
	s_cmp_lt_i32 s4, s6
	s_mov_b32 s4, 0xff
	s_cselect_b32 s4, s4, s5
	v_and_b32_e64 v0, s4, v0
	v_readfirstlane_b32 s4, v0
	s_mov_b32 m0, s4
	s_nop 0
	s_sendmsg sendmsg(MSG_INTERRUPT)
.LBB2_21:
	s_or_saveexec_b64 s[14:15], -1
	buffer_load_dword v6, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[14:15]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v6, 40
	v_readlane_b32 s5, v6, 41
	s_or_b64 exec, exec, s[4:5]
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v6, off, s[0:3], s33 offset:48 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s16
	s_waitcnt vmcnt(0) lgkmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end2:
	.size	__ockl_hsa_signal_add, .Lfunc_end2-__ockl_hsa_signal_add
                                        ; -- End function
	.set .L__ockl_hsa_signal_add.num_vgpr, 7
	.set .L__ockl_hsa_signal_add.num_agpr, 0
	.set .L__ockl_hsa_signal_add.numbered_sgpr, 34
	.set .L__ockl_hsa_signal_add.num_named_barrier, 0
	.set .L__ockl_hsa_signal_add.private_seg_size, 56
	.set .L__ockl_hsa_signal_add.uses_vcc, 0
	.set .L__ockl_hsa_signal_add.uses_flat_scratch, 0
	.set .L__ockl_hsa_signal_add.has_dyn_sized_stack, 0
	.set .L__ockl_hsa_signal_add.has_recursion, 0
	.set .L__ockl_hsa_signal_add.has_indirect_call, 0
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 2620
; TotalNumSgprs: 38
; NumVgprs: 7
; ScratchSize: 56
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_hostcall_internal
	.type	__ockl_hostcall_internal,@function
__ockl_hostcall_internal:               ; @__ockl_hostcall_internal
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s17, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[4:5], -1
	buffer_store_dword v24, off, s[0:3], s33 offset:300 ; 4-byte Folded Spill
	buffer_store_dword v25, off, s[0:3], s33 offset:304 ; 4-byte Folded Spill
	s_mov_b64 exec, s[4:5]
	s_add_i32 s32, s32, 0x5000
	v_writelane_b32 v24, s30, 0
	v_writelane_b32 v24, s31, 1
	buffer_store_dword v18, off, s[0:3], s33 offset:124 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v16
	buffer_load_dword v16, off, s[0:3], s33 offset:124 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:120 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v14
	buffer_load_dword v14, off, s[0:3], s33 offset:120 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:116 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v12
	buffer_load_dword v12, off, s[0:3], s33 offset:116 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:112 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v10
	buffer_load_dword v10, off, s[0:3], s33 offset:112 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:108 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v8
	buffer_load_dword v8, off, s[0:3], s33 offset:108 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:104 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v6
	buffer_load_dword v6, off, s[0:3], s33 offset:104 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:100 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v4
	buffer_load_dword v4, off, s[0:3], s33 offset:100 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:96 ; 4-byte Folded Spill
	v_mov_b32_e32 v18, v2
	buffer_load_dword v2, off, s[0:3], s33 offset:96 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:92 ; 4-byte Folded Spill
	buffer_store_dword v1, off, s[0:3], s33 offset:88 ; 4-byte Folded Spill
	v_mov_b32_e32 v1, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:88 ; 4-byte Folded Reload
                                        ; kill: def $vgpr17 killed $vgpr17 def $vgpr17_vgpr18 killed $exec
	s_waitcnt vmcnt(17)
	v_mov_b32_e32 v18, v16
                                        ; kill: def $vgpr15 killed $vgpr15 def $vgpr15_vgpr16 killed $exec
	s_waitcnt vmcnt(15)
	v_mov_b32_e32 v16, v14
                                        ; kill: def $vgpr13 killed $vgpr13 def $vgpr13_vgpr14 killed $exec
	s_waitcnt vmcnt(13)
	v_mov_b32_e32 v14, v12
                                        ; kill: def $vgpr11 killed $vgpr11 def $vgpr11_vgpr12 killed $exec
	s_waitcnt vmcnt(11)
	v_mov_b32_e32 v12, v10
                                        ; kill: def $vgpr9 killed $vgpr9 def $vgpr9_vgpr10 killed $exec
	s_waitcnt vmcnt(9)
	v_mov_b32_e32 v10, v8
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	s_waitcnt vmcnt(7)
	v_mov_b32_e32 v8, v6
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	s_waitcnt vmcnt(5)
	v_mov_b32_e32 v6, v4
                                        ; kill: def $vgpr3 killed $vgpr3 def $vgpr3_vgpr4 killed $exec
	s_waitcnt vmcnt(3)
	v_mov_b32_e32 v4, v2
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v2, v0
	buffer_store_dword v17, off, s[0:3], s33 offset:80 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v18, off, s[0:3], s33 offset:84 ; 4-byte Folded Spill
	buffer_store_dword v15, off, s[0:3], s33 offset:72 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v16, off, s[0:3], s33 offset:76 ; 4-byte Folded Spill
	buffer_store_dword v13, off, s[0:3], s33 offset:64 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v14, off, s[0:3], s33 offset:68 ; 4-byte Folded Spill
	buffer_store_dword v11, off, s[0:3], s33 offset:56 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v12, off, s[0:3], s33 offset:60 ; 4-byte Folded Spill
	buffer_store_dword v9, off, s[0:3], s33 offset:48 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v10, off, s[0:3], s33 offset:52 ; 4-byte Folded Spill
	buffer_store_dword v7, off, s[0:3], s33 offset:40 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v8, off, s[0:3], s33 offset:44 ; 4-byte Folded Spill
	buffer_store_dword v5, off, s[0:3], s33 offset:32 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v6, off, s[0:3], s33 offset:36 ; 4-byte Folded Spill
	buffer_store_dword v3, off, s[0:3], s33 offset:24 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v4, off, s[0:3], s33 offset:28 ; 4-byte Folded Spill
	s_mov_b32 s5, 0
	s_mov_b32 s4, -1
	v_mov_b32_e32 v0, s5
	v_mbcnt_lo_u32_b32 v0, s4, v0
	v_mbcnt_hi_u32_b32 v0, s4, v0
	buffer_store_dword v0, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
	v_readfirstlane_b32 s4, v0
	buffer_store_dword v1, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v2, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
	v_cmp_eq_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[4:5], s[6:7]
                                        ; implicit-def: $vgpr25 : SGPR spill to VGPR lane
	v_writelane_b32 v25, s4, 0
	v_writelane_b32 v25, s5, 1
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	buffer_store_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 2
	v_writelane_b32 v25, s5, 3
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_6
; %bb.1:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	s_mov_b64 s[6:7], 24
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v2, v0
	s_mov_b32 s4, s6
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v3, v1
	s_mov_b32 s6, s7
	v_add_co_u32_e64 v2, s[4:5], v2, s4
	v_mov_b32_e32 v4, s6
	v_addc_co_u32_e64 v4, s[4:5], v3, v4, s[4:5]
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v4
	buffer_store_dword v2, off, s[0:3], s33 offset:152 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:156 ; 4-byte Folded Spill
	global_load_dwordx2 v[2:3], v[0:1], off offset:24 glc
	s_waitcnt vmcnt(0)
	buffer_wbinvl1_vol
	s_mov_b64 s[6:7], 40
	v_mov_b32_e32 v4, v0
	s_mov_b32 s4, s6
	v_mov_b32_e32 v5, v1
	s_mov_b32 s6, s7
	v_add_co_u32_e64 v4, s[4:5], v4, s4
	v_mov_b32_e32 v6, s6
	v_addc_co_u32_e64 v6, s[4:5], v5, v6, s[4:5]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v6
	buffer_store_dword v4, off, s[0:3], s33 offset:144 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v5, off, s[0:3], s33 offset:148 ; 4-byte Folded Spill
	global_load_dwordx2 v[5:6], v[0:1], off
	s_nop 0
	global_load_dwordx2 v[10:11], v[0:1], off offset:40
	v_mov_b32_e32 v8, v3
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v4, v11
	v_and_b32_e64 v4, v4, v8
	v_mov_b32_e32 v9, v2
	v_mov_b32_e32 v7, v10
	v_and_b32_e64 v14, v7, v9
                                        ; kill: def $vgpr14 killed $vgpr14 def $vgpr14_vgpr15 killed $exec
	v_mov_b32_e32 v15, v4
	v_mov_b32_e32 v4, v14
	s_mov_b32 s5, 24
	v_mad_u64_u32 v[10:11], s[6:7], v4, s5, 0
	v_mov_b32_e32 v12, v11
                                        ; implicit-def: $sgpr4
                                        ; implicit-def: $sgpr6
	v_mov_b32_e32 v4, s4
                                        ; kill: def $vgpr12 killed $vgpr12 def $vgpr12_vgpr13 killed $exec
	v_mov_b32_e32 v13, v4
	s_mov_b32 s4, 32
	v_lshrrev_b64 v[14:15], s4, v[14:15]
	v_mov_b32_e32 v4, v14
	v_mad_u64_u32 v[12:13], s[6:7], v4, s5, v[12:13]
                                        ; kill: def $vgpr12 killed $vgpr12 killed $vgpr12_vgpr13 killed $exec
                                        ; implicit-def: $sgpr5
                                        ; implicit-def: $sgpr6
	v_mov_b32_e32 v4, s5
                                        ; kill: def $vgpr12 killed $vgpr12 def $vgpr12_vgpr13 killed $exec
	v_mov_b32_e32 v13, v4
	v_lshlrev_b64 v[13:14], s4, v[12:13]
	v_mov_b32_e32 v7, v14
	v_mov_b32_e32 v11, v10
	s_mov_b32 s4, 0
	v_mov_b32_e32 v4, 0
                                        ; kill: def $vgpr11 killed $vgpr11 def $vgpr11_vgpr12 killed $exec
	v_mov_b32_e32 v12, v4
	v_mov_b32_e32 v4, v12
	v_or_b32_e64 v4, v4, v7
	v_mov_b32_e32 v10, v13
	v_mov_b32_e32 v7, v11
	v_or_b32_e64 v10, v7, v10
                                        ; kill: def $vgpr10 killed $vgpr10 def $vgpr10_vgpr11 killed $exec
	v_mov_b32_e32 v11, v4
	v_mov_b32_e32 v4, v5
	v_mov_b32_e32 v7, v10
	v_mov_b32_e32 v5, v6
	v_mov_b32_e32 v6, v11
	v_add_co_u32_e64 v4, s[4:5], v4, v7
	v_addc_co_u32_e64 v6, s[4:5], v5, v6, s[4:5]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v6
	global_load_dwordx2 v[4:5], v[4:5], off glc
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v10, v5
                                        ; kill: def $vgpr4 killed $vgpr4 killed $vgpr4_vgpr5 killed $exec
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5_vgpr6_vgpr7 killed $exec
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v6, v9
	v_mov_b32_e32 v7, v8
	global_atomic_cmpswap_x2 v[0:1], v[0:1], v[4:7], off offset:24 glc
	s_waitcnt vmcnt(0)
	buffer_wbinvl1_vol
	v_cmp_ne_u64_e64 s[6:7], v[0:1], v[2:3]
	s_mov_b64 s[4:5], 0
	v_writelane_b32 v25, s4, 4
	v_writelane_b32 v25, s5, 5
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:136 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:140 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 6
	v_writelane_b32 v25, s5, 7
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_5
.LBB3_2:                                ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v25, 4
	v_readlane_b32 s7, v25, 5
	buffer_load_dword v2, off, s[0:3], s33 offset:136 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:140 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:152 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:156 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:144 ; 4-byte Folded Reload
	buffer_load_dword v8, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	s_sleep 1
	s_waitcnt vmcnt(0)
	global_load_dwordx2 v[5:6], v[4:5], off
	s_nop 0
	global_load_dwordx2 v[10:11], v[7:8], off
	v_mov_b32_e32 v8, v3
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v4, v11
	v_and_b32_e64 v4, v4, v8
	v_mov_b32_e32 v9, v2
	v_mov_b32_e32 v7, v10
	v_and_b32_e64 v14, v7, v9
                                        ; kill: def $vgpr14 killed $vgpr14 def $vgpr14_vgpr15 killed $exec
	v_mov_b32_e32 v15, v4
	v_mov_b32_e32 v4, v14
	s_mov_b32 s5, 24
	v_mad_u64_u32 v[10:11], s[8:9], v4, s5, 0
	v_mov_b32_e32 v12, v11
                                        ; implicit-def: $sgpr4
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v4, s4
                                        ; kill: def $vgpr12 killed $vgpr12 def $vgpr12_vgpr13 killed $exec
	v_mov_b32_e32 v13, v4
	s_mov_b32 s4, 32
	v_lshrrev_b64 v[14:15], s4, v[14:15]
	v_mov_b32_e32 v4, v14
	v_mad_u64_u32 v[12:13], s[8:9], v4, s5, v[12:13]
                                        ; kill: def $vgpr12 killed $vgpr12 killed $vgpr12_vgpr13 killed $exec
                                        ; implicit-def: $sgpr5
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v4, s5
                                        ; kill: def $vgpr12 killed $vgpr12 def $vgpr12_vgpr13 killed $exec
	v_mov_b32_e32 v13, v4
	v_lshlrev_b64 v[13:14], s4, v[12:13]
	v_mov_b32_e32 v7, v14
	v_mov_b32_e32 v11, v10
	s_mov_b32 s4, 0
	v_mov_b32_e32 v4, 0
                                        ; kill: def $vgpr11 killed $vgpr11 def $vgpr11_vgpr12 killed $exec
	v_mov_b32_e32 v12, v4
	v_mov_b32_e32 v4, v12
	v_or_b32_e64 v4, v4, v7
	v_mov_b32_e32 v10, v13
	v_mov_b32_e32 v7, v11
	v_or_b32_e64 v10, v7, v10
                                        ; kill: def $vgpr10 killed $vgpr10 def $vgpr10_vgpr11 killed $exec
	v_mov_b32_e32 v11, v4
	v_mov_b32_e32 v4, v5
	v_mov_b32_e32 v7, v10
	v_mov_b32_e32 v5, v6
	v_mov_b32_e32 v6, v11
	v_add_co_u32_e64 v4, s[4:5], v4, v7
	v_addc_co_u32_e64 v6, s[4:5], v5, v6, s[4:5]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v6
	global_load_dwordx2 v[4:5], v[4:5], off glc
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v10, v5
                                        ; kill: def $vgpr4 killed $vgpr4 killed $vgpr4_vgpr5 killed $exec
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5_vgpr6_vgpr7 killed $exec
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v6, v9
	v_mov_b32_e32 v7, v8
	global_atomic_cmpswap_x2 v[0:1], v[0:1], v[4:7], off glc
	s_waitcnt vmcnt(0)
	buffer_wbinvl1_vol
	v_cmp_eq_u64_e64 s[4:5], v[0:1], v[2:3]
	s_or_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 4
	v_writelane_b32 v25, s7, 5
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:136 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:140 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:160 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:164 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 8
	v_writelane_b32 v25, s7, 9
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB3_2
; %bb.3:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 8
	v_readlane_b32 s5, v25, 9
	s_or_b64 exec, exec, s[4:5]
; %bb.4:
	buffer_load_dword v0, off, s[0:3], s33 offset:160 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:164 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
.LBB3_5:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 6
	v_readlane_b32 s5, v25, 7
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
.LBB3_6:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 2
	v_readlane_b32 s5, v25, 3
	s_or_b64 exec, exec, s[4:5]
	v_readlane_b32 s6, v25, 0
	v_readlane_b32 s7, v25, 1
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v4, v3
	v_readfirstlane_b32 s8, v4
                                        ; kill: def $vgpr2 killed $vgpr2 killed $vgpr2_vgpr3 killed $exec
	v_readfirstlane_b32 s4, v2
                                        ; kill: def $sgpr4 killed $sgpr4 def $sgpr4_sgpr5
	s_mov_b32 s5, s8
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v25, s8, 10
	v_writelane_b32 v25, s9, 11
	global_load_dwordx2 v[10:11], v[0:1], off
	s_waitcnt vmcnt(0)
	buffer_store_dword v10, off, s[0:3], s33 offset:192 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v11, off, s[0:3], s33 offset:196 ; 4-byte Folded Spill
	s_mov_b64 s[10:11], 40
	v_mov_b32_e32 v2, v0
	s_mov_b32 s8, s10
	v_mov_b32_e32 v3, v1
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v2, s[8:9], v2, s8
	v_mov_b32_e32 v4, s10
	v_addc_co_u32_e64 v4, s[8:9], v3, v4, s[8:9]
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v4
	buffer_store_dword v2, off, s[0:3], s33 offset:184 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:188 ; 4-byte Folded Spill
	global_load_dwordx2 v[3:4], v[0:1], off offset:40
	s_mov_b32 s8, s5
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v2, v4
	v_and_b32_e64 v2, v2, s8
                                        ; kill: def $sgpr4 killed $sgpr4 killed $sgpr4_sgpr5
                                        ; kill: def $vgpr3 killed $vgpr3 killed $vgpr3_vgpr4 killed $exec
	v_and_b32_e64 v3, v3, s4
                                        ; kill: def $vgpr3 killed $vgpr3 def $vgpr3_vgpr4 killed $exec
	v_mov_b32_e32 v4, v2
	v_mov_b32_e32 v2, v3
	s_mov_b32 s5, 24
	v_mad_u64_u32 v[7:8], s[8:9], v2, s5, 0
	v_mov_b32_e32 v5, v8
                                        ; implicit-def: $sgpr4
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v2, s4
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v2
	s_mov_b32 s4, 32
	v_lshrrev_b64 v[12:13], s4, v[3:4]
	v_mov_b32_e32 v2, v12
	v_mad_u64_u32 v[5:6], s[8:9], v2, s5, v[5:6]
                                        ; kill: def $vgpr5 killed $vgpr5 killed $vgpr5_vgpr6 killed $exec
                                        ; implicit-def: $sgpr5
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v2, s5
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v2
	v_lshlrev_b64 v[5:6], s4, v[5:6]
	v_mov_b32_e32 v9, v6
                                        ; kill: def $vgpr7 killed $vgpr7 killed $vgpr7_vgpr8 killed $exec
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	v_mov_b32_e32 v8, v2
	v_mov_b32_e32 v2, v8
	v_or_b32_e64 v2, v2, v9
	v_mov_b32_e32 v6, v5
	v_mov_b32_e32 v5, v7
	v_or_b32_e64 v8, v5, v6
                                        ; kill: def $vgpr8 killed $vgpr8 def $vgpr8_vgpr9 killed $exec
	v_mov_b32_e32 v9, v2
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v7, v8
	v_mov_b32_e32 v2, v11
	v_mov_b32_e32 v6, v9
	v_add_co_u32_e64 v5, s[4:5], v5, v7
	v_addc_co_u32_e64 v2, s[4:5], v2, v6, s[4:5]
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v2
	buffer_store_dword v5, off, s[0:3], s33 offset:176 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v6, off, s[0:3], s33 offset:180 ; 4-byte Folded Spill
	global_load_dwordx2 v[1:2], v[0:1], off offset:8
	s_mov_b32 s4, 12
	v_lshlrev_b64 v[4:5], s4, v[3:4]
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v0, v1
	v_mov_b32_e32 v3, v4
	v_mov_b32_e32 v1, v2
	v_mov_b32_e32 v2, v5
	v_add_co_u32_e64 v0, s[4:5], v0, v3
	v_addc_co_u32_e64 v2, s[4:5], v1, v2, s[4:5]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	buffer_store_dword v0, off, s[0:3], s33 offset:168 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:172 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 12
	v_writelane_b32 v25, s5, 13
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 14
	v_writelane_b32 v25, s5, 15
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_8
; %bb.7:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 12
	v_readlane_b32 s5, v25, 13
	buffer_load_dword v0, off, s[0:3], s33 offset:176 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:180 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:92 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_store_dword v[0:1], v2, off offset:16
	v_mov_b32_e32 v2, s4
	v_mov_b32_e32 v3, s5
	global_store_dwordx2 v[0:1], v[2:3], off offset:8
	v_mov_b32_e32 v2, 1
	global_store_dword v[0:1], v2, off offset:20
.LBB3_8:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 14
	v_readlane_b32 s5, v25, 15
	s_or_b64 exec, exec, s[4:5]
	v_readlane_b32 s6, v25, 0
	v_readlane_b32 s7, v25, 1
	buffer_load_dword v2, off, s[0:3], s33 offset:80 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:84 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:72 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:76 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:64 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:68 ; 4-byte Folded Reload
	buffer_load_dword v8, off, s[0:3], s33 offset:56 ; 4-byte Folded Reload
	buffer_load_dword v9, off, s[0:3], s33 offset:60 ; 4-byte Folded Reload
	buffer_load_dword v10, off, s[0:3], s33 offset:48 ; 4-byte Folded Reload
	buffer_load_dword v11, off, s[0:3], s33 offset:52 ; 4-byte Folded Reload
	buffer_load_dword v12, off, s[0:3], s33 offset:40 ; 4-byte Folded Reload
	buffer_load_dword v13, off, s[0:3], s33 offset:44 ; 4-byte Folded Reload
	buffer_load_dword v14, off, s[0:3], s33 offset:32 ; 4-byte Folded Reload
	buffer_load_dword v15, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	buffer_load_dword v16, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	buffer_load_dword v17, off, s[0:3], s33 offset:28 ; 4-byte Folded Reload
	buffer_load_dword v22, off, s[0:3], s33 offset:168 ; 4-byte Folded Reload
	buffer_load_dword v23, off, s[0:3], s33 offset:172 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	v_mov_b32_e32 v18, 0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v18
	s_mov_b32 s4, 6
	s_waitcnt vmcnt(0)
	v_lshlrev_b64 v[20:21], s4, v[0:1]
	v_mov_b32_e32 v0, v22
	v_mov_b32_e32 v19, v20
	v_mov_b32_e32 v1, v23
	v_mov_b32_e32 v18, v21
	v_add_co_u32_e64 v0, s[4:5], v0, v19
	v_addc_co_u32_e64 v18, s[4:5], v1, v18, s[4:5]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v18
	buffer_store_dword v0, off, s[0:3], s33 offset:208 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:212 ; 4-byte Folded Spill
	global_store_dwordx2 v[0:1], v[16:17], off
	s_mov_b64 s[8:9], 8
	v_mov_b32_e32 v16, v0
	s_mov_b32 s4, s8
	v_mov_b32_e32 v17, v1
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v16, s[4:5], v16, s4
	v_mov_b32_e32 v18, s8
	v_addc_co_u32_e64 v18, s[4:5], v17, v18, s[4:5]
                                        ; kill: def $vgpr16 killed $vgpr16 def $vgpr16_vgpr17 killed $exec
	v_mov_b32_e32 v17, v18
	buffer_store_dword v16, off, s[0:3], s33 offset:200 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v17, off, s[0:3], s33 offset:204 ; 4-byte Folded Spill
	global_store_dwordx2 v[0:1], v[14:15], off offset:8
	global_store_dwordx2 v[0:1], v[12:13], off offset:16
	global_store_dwordx2 v[0:1], v[10:11], off offset:24
	global_store_dwordx2 v[0:1], v[8:9], off offset:32
	global_store_dwordx2 v[0:1], v[6:7], off offset:40
	global_store_dwordx2 v[0:1], v[4:5], off offset:48
	global_store_dwordx2 v[0:1], v[2:3], off offset:56
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 16
	v_writelane_b32 v25, s5, 17
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_13
; %bb.9:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v25, 10
	v_readlane_b32 s7, v25, 11
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:192 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:196 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:184 ; 4-byte Folded Reload
	buffer_load_dword v8, off, s[0:3], s33 offset:188 ; 4-byte Folded Reload
	s_mov_b64 s[8:9], 32
	s_waitcnt vmcnt(5)
	v_mov_b32_e32 v2, v0
	s_mov_b32 s4, s8
	s_waitcnt vmcnt(4)
	v_mov_b32_e32 v3, v1
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v2, s[4:5], v2, s4
	v_mov_b32_e32 v4, s8
	v_addc_co_u32_e64 v4, s[4:5], v3, v4, s[4:5]
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v4
	buffer_store_dword v2, off, s[0:3], s33 offset:232 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:236 ; 4-byte Folded Spill
	global_load_dwordx2 v[2:3], v[0:1], off offset:32 glc
	s_waitcnt vmcnt(3)
	global_load_dwordx2 v[7:8], v[7:8], off
	s_mov_b32 s4, s7
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v4, v8
	v_and_b32_e64 v4, v4, s4
	s_mov_b32 s5, s6
                                        ; kill: def $vgpr7 killed $vgpr7 killed $vgpr7_vgpr8 killed $exec
	v_and_b32_e64 v11, v7, s5
                                        ; kill: def $vgpr11 killed $vgpr11 def $vgpr11_vgpr12 killed $exec
	v_mov_b32_e32 v12, v4
	v_mov_b32_e32 v4, v11
	s_mov_b32 s7, 24
	v_mad_u64_u32 v[9:10], s[8:9], v4, s7, 0
	v_mov_b32_e32 v7, v10
                                        ; implicit-def: $sgpr6
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v4, s6
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	v_mov_b32_e32 v8, v4
	s_mov_b32 s6, 32
	v_lshrrev_b64 v[11:12], s6, v[11:12]
	v_mov_b32_e32 v4, v11
	v_mad_u64_u32 v[7:8], s[8:9], v4, s7, v[7:8]
                                        ; kill: def $vgpr7 killed $vgpr7 killed $vgpr7_vgpr8 killed $exec
                                        ; implicit-def: $sgpr7
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v4, s7
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	v_mov_b32_e32 v8, v4
	v_lshlrev_b64 v[7:8], s6, v[7:8]
	v_mov_b32_e32 v11, v8
                                        ; kill: def $vgpr9 killed $vgpr9 killed $vgpr9_vgpr10 killed $exec
	s_mov_b32 s6, 0
	v_mov_b32_e32 v4, 0
                                        ; kill: def $vgpr9 killed $vgpr9 def $vgpr9_vgpr10 killed $exec
	v_mov_b32_e32 v10, v4
	v_mov_b32_e32 v4, v10
	v_or_b32_e64 v4, v4, v11
	v_mov_b32_e32 v8, v7
	v_mov_b32_e32 v7, v9
	v_or_b32_e64 v8, v7, v8
                                        ; kill: def $vgpr8 killed $vgpr8 def $vgpr8_vgpr9 killed $exec
	v_mov_b32_e32 v9, v4
	v_mov_b32_e32 v4, v5
	v_mov_b32_e32 v7, v8
	v_mov_b32_e32 v5, v6
	v_mov_b32_e32 v6, v9
	v_add_co_u32_e64 v4, s[6:7], v4, v7
	v_addc_co_u32_e64 v6, s[6:7], v5, v6, s[6:7]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v6
	buffer_store_dword v4, off, s[0:3], s33 offset:224 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v5, off, s[0:3], s33 offset:228 ; 4-byte Folded Spill
	global_store_dwordx2 v[4:5], v[2:3], off
	v_mov_b32_e32 v8, v3
	v_mov_b32_e32 v9, v2
	v_mov_b32_e32 v4, s5
	v_mov_b32_e32 v10, s4
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5_vgpr6_vgpr7 killed $exec
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v6, v9
	v_mov_b32_e32 v7, v8
	s_waitcnt vmcnt(0)
	global_atomic_cmpswap_x2 v[0:1], v[0:1], v[4:7], off offset:32 glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u64_e64 s[8:9], v[0:1], v[2:3]
	v_cmp_ne_u64_e64 s[6:7], v[0:1], v[2:3]
	s_mov_b64 s[4:5], 0
	v_writelane_b32 v25, s8, 18
	v_writelane_b32 v25, s9, 19
	v_writelane_b32 v25, s4, 20
	v_writelane_b32 v25, s5, 21
	buffer_store_dword v0, off, s[0:3], s33 offset:216 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:220 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 22
	v_writelane_b32 v25, s5, 23
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_14
.LBB3_10:                               ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 20
	v_readlane_b32 s5, v25, 21
	v_readlane_b32 s6, v25, 18
	v_readlane_b32 s7, v25, 19
	v_readlane_b32 s8, v25, 10
	v_readlane_b32 s9, v25, 11
	buffer_load_dword v2, off, s[0:3], s33 offset:216 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:220 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:232 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:236 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:224 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:228 ; 4-byte Folded Reload
	s_sleep 1
	s_waitcnt vmcnt(0)
	global_store_dwordx2 v[4:5], v[2:3], off
	v_mov_b32_e32 v8, v3
	v_mov_b32_e32 v9, v2
	s_mov_b32 s6, s9
	s_mov_b32 s7, s8
	v_mov_b32_e32 v4, s7
	v_mov_b32_e32 v10, s6
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5_vgpr6_vgpr7 killed $exec
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v6, v9
	v_mov_b32_e32 v7, v8
	s_waitcnt vmcnt(0)
	global_atomic_cmpswap_x2 v[0:1], v[0:1], v[4:7], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u64_e64 s[6:7], v[0:1], v[2:3]
	s_or_b64 s[4:5], s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 18
	v_writelane_b32 v25, s7, 19
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 20
	v_writelane_b32 v25, s7, 21
	buffer_store_dword v0, off, s[0:3], s33 offset:216 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:220 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 24
	v_writelane_b32 v25, s7, 25
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB3_10
; %bb.11:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 24
	v_readlane_b32 s5, v25, 25
	s_or_b64 exec, exec, s[4:5]
; %bb.12:
	s_branch .LBB3_14
.LBB3_13:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 16
	v_readlane_b32 s5, v25, 17
	s_or_b64 exec, exec, s[4:5]
	s_branch .LBB3_15
.LBB3_14:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 22
	v_readlane_b32 s5, v25, 23
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_load_dwordx2 v[2:3], v[0:1], off offset:16
	s_mov_b32 s4, 32
	s_waitcnt vmcnt(0)
	v_lshrrev_b64 v[0:1], s4, v[2:3]
	v_mov_b32_e32 v1, v0
	v_mov_b32_e32 v0, v2
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, __ockl_hsa_signal_add@rel32@lo+4
	s_addc_u32 s5, s5, __ockl_hsa_signal_add@rel32@hi+12
	s_mov_b64 s[10:11], s[2:3]
	s_mov_b64 s[8:9], s[0:1]
	v_mov_b32_e32 v2, 1
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v4, 3
	s_mov_b64 s[0:1], s[8:9]
	s_mov_b64 s[2:3], s[10:11]
	s_swappc_b64 s[30:31], s[4:5]
	s_branch .LBB3_13
.LBB3_15:
	buffer_load_dword v1, off, s[0:3], s33 offset:176 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:180 ; 4-byte Folded Reload
	s_mov_b64 s[6:7], 20
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v1
	s_mov_b32 s4, s6
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v2
	s_mov_b32 s6, s7
	v_add_co_u32_e64 v0, s[4:5], v0, s4
	v_mov_b32_e32 v2, s6
	v_addc_co_u32_e64 v2, s[4:5], v1, v2, s[4:5]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	buffer_store_dword v0, off, s[0:3], s33 offset:240 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:244 ; 4-byte Folded Spill
.LBB3_16:                               ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v25, 0
	v_readlane_b32 s7, v25, 1
	v_mov_b32_e32 v0, 1
	buffer_store_dword v0, off, s[0:3], s33 offset:248 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 26
	v_writelane_b32 v25, s5, 27
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_18
; %bb.17:                               ;   in Loop: Header=BB3_16 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:240 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:244 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_load_dword v0, v[0:1], off glc
	s_waitcnt vmcnt(0)
	buffer_wbinvl1_vol
	s_mov_b32 s4, 1
	v_and_b32_e64 v0, v0, s4
	buffer_store_dword v0, off, s[0:3], s33 offset:248 ; 4-byte Folded Spill
.LBB3_18:                               ;   in Loop: Header=BB3_16 Depth=1
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 26
	v_readlane_b32 s5, v25, 27
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:248 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_readfirstlane_b32 s6, v0
	s_mov_b64 s[4:5], -1
	s_mov_b32 s7, 0
	s_cmp_eq_u32 s6, s7
	v_writelane_b32 v25, s4, 28
	v_writelane_b32 v25, s5, 29
	s_mov_b64 s[18:19], exec
	s_mov_b64 exec, -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_cbranch_scc1 .LBB3_20
; %bb.19:                               ;   in Loop: Header=BB3_16 Depth=1
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_sleep 1
	s_mov_b64 s[4:5], 0
	s_waitcnt vmcnt(0)
	v_writelane_b32 v25, s4, 28
	v_writelane_b32 v25, s5, 29
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
.LBB3_20:                               ;   in Loop: Header=BB3_16 Depth=1
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 28
	v_readlane_b32 s5, v25, 29
	v_cndmask_b32_e64 v0, 0, 1, s[4:5]
	s_mov_b32 s4, 1
	v_cmp_ne_u32_e64 s[4:5], v0, s4
	s_and_b64 vcc, exec, s[4:5]
	s_cbranch_vccnz .LBB3_16
; %bb.21:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v25, 0
	v_readlane_b32 s7, v25, 1
	buffer_load_dword v0, off, s[0:3], s33 offset:200 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:204 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:208 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:212 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_load_dwordx2 v[2:3], v[2:3], off
	s_waitcnt vmcnt(0)
	buffer_store_dword v2, off, s[0:3], s33 offset:260 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:264 ; 4-byte Folded Spill
	global_load_dwordx2 v[0:1], v[0:1], off
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:252 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:256 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 30
	v_writelane_b32 v25, s5, 31
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_27
; %bb.22:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v25, 10
	v_readlane_b32 s7, v25, 11
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:184 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:188 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	global_load_dwordx2 v[11:12], v[2:3], off
	s_mov_b64 s[8:9], 1
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v2, v11
	s_mov_b32 s4, s8
	v_mov_b32_e32 v3, v12
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v2, s[4:5], v2, s4
	v_mov_b32_e32 v4, s8
	v_addc_co_u32_e64 v4, s[4:5], v3, v4, s[4:5]
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v4
	v_mov_b32_e32 v4, v2
	s_mov_b32 s4, s6
	v_mov_b32_e32 v5, v3
	s_mov_b32 s6, s7
	v_add_co_u32_e64 v4, s[4:5], v4, s4
	v_mov_b32_e32 v6, s6
	v_addc_co_u32_e64 v6, s[4:5], v5, v6, s[4:5]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v6
	s_mov_b64 s[4:5], 0
	v_cmp_eq_u64_e64 s[6:7], v[4:5], s[4:5]
	v_mov_b32_e32 v7, v3
	v_mov_b32_e32 v6, v5
	v_cndmask_b32_e64 v10, v6, v7, s[6:7]
	v_mov_b32_e32 v3, v2
	v_mov_b32_e32 v2, v4
	v_cndmask_b32_e64 v4, v2, v3, s[6:7]
	v_mov_b32_e32 v8, v4
	v_mov_b32_e32 v9, v10
	v_mov_b32_e32 v2, v8
	v_mov_b32_e32 v3, v9
	buffer_store_dword v2, off, s[0:3], s33 offset:292 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:296 ; 4-byte Folded Spill
	s_mov_b64 s[8:9], 24
	v_mov_b32_e32 v2, v0
	s_mov_b32 s6, s8
	v_mov_b32_e32 v3, v1
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v2, s[6:7], v2, s6
	v_mov_b32_e32 v5, s8
	v_addc_co_u32_e64 v5, s[6:7], v3, v5, s[6:7]
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v5
	buffer_store_dword v2, off, s[0:3], s33 offset:284 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:288 ; 4-byte Folded Spill
	global_load_dwordx2 v[2:3], v[0:1], off offset:24 glc
	s_nop 0
	global_load_dwordx2 v[6:7], v[0:1], off
	v_mov_b32_e32 v5, v9
	v_mov_b32_e32 v13, v12
	v_and_b32_e64 v5, v5, v13
                                        ; kill: def $vgpr8 killed $vgpr8 killed $vgpr8_vgpr9 killed $exec
	v_mov_b32_e32 v9, v11
	v_and_b32_e64 v13, v8, v9
                                        ; kill: def $vgpr13 killed $vgpr13 def $vgpr13_vgpr14 killed $exec
	v_mov_b32_e32 v14, v5
	v_mov_b32_e32 v5, v13
	s_mov_b32 s7, 24
	v_mad_u64_u32 v[11:12], s[8:9], v5, s7, 0
	v_mov_b32_e32 v8, v12
                                        ; implicit-def: $sgpr6
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v5, s6
                                        ; kill: def $vgpr8 killed $vgpr8 def $vgpr8_vgpr9 killed $exec
	v_mov_b32_e32 v9, v5
	s_mov_b32 s6, 32
	v_lshrrev_b64 v[13:14], s6, v[13:14]
	v_mov_b32_e32 v5, v13
	v_mad_u64_u32 v[8:9], s[8:9], v5, s7, v[8:9]
                                        ; kill: def $vgpr8 killed $vgpr8 killed $vgpr8_vgpr9 killed $exec
                                        ; implicit-def: $sgpr7
                                        ; implicit-def: $sgpr8
	v_mov_b32_e32 v5, s7
                                        ; kill: def $vgpr8 killed $vgpr8 def $vgpr8_vgpr9 killed $exec
	v_mov_b32_e32 v9, v5
	v_lshlrev_b64 v[8:9], s6, v[8:9]
	v_mov_b32_e32 v13, v9
                                        ; kill: def $vgpr11 killed $vgpr11 killed $vgpr11_vgpr12 killed $exec
	s_mov_b32 s6, 0
	v_mov_b32_e32 v5, 0
                                        ; kill: def $vgpr11 killed $vgpr11 def $vgpr11_vgpr12 killed $exec
	v_mov_b32_e32 v12, v5
	v_mov_b32_e32 v5, v12
	v_or_b32_e64 v5, v5, v13
	v_mov_b32_e32 v9, v8
	v_mov_b32_e32 v8, v11
	v_or_b32_e64 v11, v8, v9
                                        ; kill: def $vgpr11 killed $vgpr11 def $vgpr11_vgpr12 killed $exec
	v_mov_b32_e32 v12, v5
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v5, v6
	v_mov_b32_e32 v8, v11
	v_mov_b32_e32 v6, v7
	v_mov_b32_e32 v7, v12
	v_add_co_u32_e64 v5, s[6:7], v5, v8
	v_addc_co_u32_e64 v7, s[6:7], v6, v7, s[6:7]
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v7
	buffer_store_dword v5, off, s[0:3], s33 offset:276 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v6, off, s[0:3], s33 offset:280 ; 4-byte Folded Spill
	global_store_dwordx2 v[5:6], v[2:3], off
	v_mov_b32_e32 v8, v3
	v_mov_b32_e32 v9, v2
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5_vgpr6_vgpr7 killed $exec
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v6, v9
	v_mov_b32_e32 v7, v8
	s_waitcnt vmcnt(0)
	global_atomic_cmpswap_x2 v[0:1], v[0:1], v[4:7], off offset:24 glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u64_e64 s[8:9], v[0:1], v[2:3]
	v_cmp_ne_u64_e64 s[6:7], v[0:1], v[2:3]
	v_writelane_b32 v25, s8, 32
	v_writelane_b32 v25, s9, 33
	v_writelane_b32 v25, s4, 34
	v_writelane_b32 v25, s5, 35
	buffer_store_dword v0, off, s[0:3], s33 offset:268 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:272 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v25, s4, 36
	v_writelane_b32 v25, s5, 37
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB3_26
.LBB3_23:                               ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 34
	v_readlane_b32 s5, v25, 35
	v_readlane_b32 s6, v25, 32
	v_readlane_b32 s7, v25, 33
	buffer_load_dword v2, off, s[0:3], s33 offset:268 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:272 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:284 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:288 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:292 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:296 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:276 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:280 ; 4-byte Folded Reload
	s_sleep 1
	s_waitcnt vmcnt(0)
	global_store_dwordx2 v[6:7], v[2:3], off
	v_mov_b32_e32 v8, v3
	v_mov_b32_e32 v9, v2
	v_mov_b32_e32 v10, v5
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5_vgpr6_vgpr7 killed $exec
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v6, v9
	v_mov_b32_e32 v7, v8
	s_waitcnt vmcnt(0)
	global_atomic_cmpswap_x2 v[0:1], v[0:1], v[4:7], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u64_e64 s[6:7], v[0:1], v[2:3]
	s_or_b64 s[4:5], s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 32
	v_writelane_b32 v25, s7, 33
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 34
	v_writelane_b32 v25, s7, 35
	buffer_store_dword v0, off, s[0:3], s33 offset:268 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:272 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v25, s6, 38
	v_writelane_b32 v25, s7, 39
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v25, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB3_23
; %bb.24:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 38
	v_readlane_b32 s5, v25, 39
	s_or_b64 exec, exec, s[4:5]
; %bb.25:
.LBB3_26:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 36
	v_readlane_b32 s5, v25, 37
	s_or_b64 exec, exec, s[4:5]
.LBB3_27:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v25, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v25, 30
	v_readlane_b32 s5, v25, 31
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v3, off, s[0:3], s33 offset:252 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:256 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:260 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:264 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v1
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v2
	v_mov_b32_e32 v2, v3
	v_mov_b32_e32 v3, v4
	v_readlane_b32 s30, v24, 0
	v_readlane_b32 s31, v24, 1
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v24, off, s[0:3], s33 offset:300 ; 4-byte Folded Reload
	buffer_load_dword v25, off, s[0:3], s33 offset:304 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s17
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end3:
	.size	__ockl_hostcall_internal, .Lfunc_end3-__ockl_hostcall_internal
                                        ; -- End function
	.set .L__ockl_hostcall_internal.num_vgpr, max(26, .L__ockl_hsa_signal_add.num_vgpr)
	.set .L__ockl_hostcall_internal.num_agpr, max(0, .L__ockl_hsa_signal_add.num_agpr)
	.set .L__ockl_hostcall_internal.numbered_sgpr, max(34, .L__ockl_hsa_signal_add.numbered_sgpr)
	.set .L__ockl_hostcall_internal.num_named_barrier, max(0, .L__ockl_hsa_signal_add.num_named_barrier)
	.set .L__ockl_hostcall_internal.private_seg_size, 320+max(.L__ockl_hsa_signal_add.private_seg_size)
	.set .L__ockl_hostcall_internal.uses_vcc, or(1, .L__ockl_hsa_signal_add.uses_vcc)
	.set .L__ockl_hostcall_internal.uses_flat_scratch, or(0, .L__ockl_hsa_signal_add.uses_flat_scratch)
	.set .L__ockl_hostcall_internal.has_dyn_sized_stack, or(0, .L__ockl_hsa_signal_add.has_dyn_sized_stack)
	.set .L__ockl_hostcall_internal.has_recursion, or(0, .L__ockl_hsa_signal_add.has_recursion)
	.set .L__ockl_hostcall_internal.has_indirect_call, or(0, .L__ockl_hsa_signal_add.has_indirect_call)
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 6024
; TotalNumSgprs: 38
; NumVgprs: 26
; ScratchSize: 376
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_hostcall_preview
	.type	__ockl_hostcall_preview,@function
__ockl_hostcall_preview:                ; @__ockl_hostcall_preview
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s22, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[16:17], -1
	buffer_store_dword v26, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[16:17]
	s_add_i32 s32, s32, 0x200
	v_writelane_b32 v26, s30, 0
	v_writelane_b32 v26, s31, 1
	v_mov_b32_e32 v18, v16
	v_mov_b32_e32 v17, v15
	v_mov_b32_e32 v16, v14
	v_mov_b32_e32 v15, v13
	v_mov_b32_e32 v14, v12
	v_mov_b32_e32 v13, v11
	v_mov_b32_e32 v12, v10
	v_mov_b32_e32 v11, v9
	v_mov_b32_e32 v10, v8
	v_mov_b32_e32 v9, v7
	v_mov_b32_e32 v8, v6
	v_mov_b32_e32 v7, v5
	v_mov_b32_e32 v6, v4
	v_mov_b32_e32 v5, v3
	v_mov_b32_e32 v4, v2
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __oclc_ABI_version@rel32@lo+4
	s_addc_u32 s17, s17, __oclc_ABI_version@rel32@hi+12
	s_load_dword s16, s[16:17], 0x0
	s_mov_b32 s17, 0x1f4
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s16, s17
	s_mov_b64 s[18:19], 0x50
	s_mov_b32 s17, s19
	s_mov_b64 s[20:21], 24
	s_mov_b32 s16, s21
	s_cselect_b32 s16, s16, s17
                                        ; kill: def $sgpr18 killed $sgpr18 killed $sgpr18_sgpr19
	s_mov_b32 s17, s20
	s_cselect_b32 s20, s17, s18
                                        ; kill: def $sgpr20 killed $sgpr20 def $sgpr20_sgpr21
	s_mov_b32 s21, s16
	s_mov_b32 s16, s8
	s_mov_b32 s17, s9
	s_mov_b32 s19, s20
	s_mov_b32 s18, s21
	s_add_u32 s16, s16, s19
	s_addc_u32 s18, s17, s18
                                        ; kill: def $sgpr16 killed $sgpr16 def $sgpr16_sgpr17
	s_mov_b32 s17, s18
	s_load_dwordx2 s[16:17], s[16:17], 0x0
	s_waitcnt lgkmcnt(0)
	s_mov_b32 s19, s16
	s_mov_b32 s18, 32
	s_lshr_b64 s[16:17], s[16:17], s18
	s_mov_b32 s18, s16
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_hostcall_internal@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_hostcall_internal@rel32@hi+12
	v_mov_b32_e32 v0, s19
	v_mov_b32_e32 v1, s18
	v_readlane_b32 s30, v26, 0
	v_readlane_b32 s31, v26, 1
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[18:19], -1
	buffer_load_dword v26, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_mov_b32 s33, s22
	s_setpc_b64 s[16:17]
.Lfunc_end4:
	.size	__ockl_hostcall_preview, .Lfunc_end4-__ockl_hostcall_preview
                                        ; -- End function
	.set .L__ockl_hostcall_preview.num_vgpr, max(27, .L__ockl_hostcall_internal.num_vgpr)
	.set .L__ockl_hostcall_preview.num_agpr, max(0, .L__ockl_hostcall_internal.num_agpr)
	.set .L__ockl_hostcall_preview.numbered_sgpr, max(34, .L__ockl_hostcall_internal.numbered_sgpr)
	.set .L__ockl_hostcall_preview.num_named_barrier, max(0, .L__ockl_hostcall_internal.num_named_barrier)
	.set .L__ockl_hostcall_preview.private_seg_size, 8+max(.L__ockl_hostcall_internal.private_seg_size)
	.set .L__ockl_hostcall_preview.uses_vcc, or(1, .L__ockl_hostcall_internal.uses_vcc)
	.set .L__ockl_hostcall_preview.uses_flat_scratch, or(0, .L__ockl_hostcall_internal.uses_flat_scratch)
	.set .L__ockl_hostcall_preview.has_dyn_sized_stack, or(0, .L__ockl_hostcall_internal.has_dyn_sized_stack)
	.set .L__ockl_hostcall_preview.has_recursion, or(0, .L__ockl_hostcall_internal.has_recursion)
	.set .L__ockl_hostcall_preview.has_indirect_call, or(0, .L__ockl_hostcall_internal.has_indirect_call)
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 328
; TotalNumSgprs: 38
; NumVgprs: 27
; ScratchSize: 384
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_fprintf_stderr_begin
	.type	__ockl_fprintf_stderr_begin,@function
__ockl_fprintf_stderr_begin:            ; @__ockl_fprintf_stderr_begin
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s24, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[16:17], -1
	buffer_store_dword v27, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[16:17]
	s_add_i32 s32, s32, 0x400
	v_writelane_b32 v27, s30, 0
	v_writelane_b32 v27, s31, 1
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_hostcall_preview@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_hostcall_preview@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v0, 2
	v_mov_b32_e32 v1, 33
	v_mov_b32_e32 v3, 1
	v_mov_b32_e32 v16, 0
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	v_mov_b32_e32 v2, v16
	v_mov_b32_e32 v4, v16
	v_mov_b32_e32 v5, v16
	v_mov_b32_e32 v6, v16
	v_mov_b32_e32 v7, v16
	v_mov_b32_e32 v8, v16
	v_mov_b32_e32 v9, v16
	v_mov_b32_e32 v10, v16
	v_mov_b32_e32 v11, v16
	v_mov_b32_e32 v12, v16
	v_mov_b32_e32 v13, v16
	v_mov_b32_e32 v14, v16
	v_mov_b32_e32 v15, v16
	s_swappc_b64 s[30:31], s[16:17]
	buffer_store_dword v1, off, s[0:3], s33 ; 4-byte Folded Spill
                                        ; kill: def $vgpr1 killed $vgpr3 killed $exec
	buffer_load_dword v3, off, s[0:3], s33  ; 4-byte Folded Reload
                                        ; implicit-def: $sgpr4
                                        ; implicit-def: $sgpr5
	v_mov_b32_e32 v1, s4
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v2, v3
	s_mov_b32 s4, 32
	v_lshrrev_b64 v[1:2], s4, v[1:2]
                                        ; kill: def $vgpr1 killed $vgpr1 killed $vgpr1_vgpr2 killed $exec
	v_readlane_b32 s30, v27, 0
	v_readlane_b32 s31, v27, 1
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v27, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s24
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end5:
	.size	__ockl_fprintf_stderr_begin, .Lfunc_end5-__ockl_fprintf_stderr_begin
                                        ; -- End function
	.set .L__ockl_fprintf_stderr_begin.num_vgpr, max(28, .L__ockl_hostcall_preview.num_vgpr)
	.set .L__ockl_fprintf_stderr_begin.num_agpr, max(0, .L__ockl_hostcall_preview.num_agpr)
	.set .L__ockl_fprintf_stderr_begin.numbered_sgpr, max(34, .L__ockl_hostcall_preview.numbered_sgpr)
	.set .L__ockl_fprintf_stderr_begin.num_named_barrier, max(0, .L__ockl_hostcall_preview.num_named_barrier)
	.set .L__ockl_fprintf_stderr_begin.private_seg_size, 16+max(.L__ockl_hostcall_preview.private_seg_size)
	.set .L__ockl_fprintf_stderr_begin.uses_vcc, or(1, .L__ockl_hostcall_preview.uses_vcc)
	.set .L__ockl_fprintf_stderr_begin.uses_flat_scratch, or(0, .L__ockl_hostcall_preview.uses_flat_scratch)
	.set .L__ockl_fprintf_stderr_begin.has_dyn_sized_stack, or(0, .L__ockl_hostcall_preview.has_dyn_sized_stack)
	.set .L__ockl_fprintf_stderr_begin.has_recursion, or(0, .L__ockl_hostcall_preview.has_recursion)
	.set .L__ockl_fprintf_stderr_begin.has_indirect_call, or(0, .L__ockl_hostcall_preview.has_indirect_call)
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 248
; TotalNumSgprs: 38
; NumVgprs: 28
; ScratchSize: 400
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_fprintf_append_string_n
	.type	__ockl_fprintf_append_string_n,@function
__ockl_fprintf_append_string_n:         ; @__ockl_fprintf_append_string_n
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s28, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[16:17], -1
	buffer_store_dword v32, off, s[0:3], s33 offset:660 ; 4-byte Folded Spill
	buffer_store_dword v33, off, s[0:3], s33 offset:664 ; 4-byte Folded Spill
	buffer_store_dword v34, off, s[0:3], s33 offset:668 ; 4-byte Folded Spill
	s_mov_b64 exec, s[16:17]
	s_add_i32 s32, s32, 0xac00
	v_writelane_b32 v32, s30, 0
	v_writelane_b32 v32, s31, 1
	buffer_store_dword v31, off, s[0:3], s33 offset:48 ; 4-byte Folded Spill
	buffer_store_dword v6, off, s[0:3], s33 offset:40 ; 4-byte Folded Spill
	buffer_store_dword v5, off, s[0:3], s33 offset:36 ; 4-byte Folded Spill
	buffer_store_dword v4, off, s[0:3], s33 offset:44 ; 4-byte Folded Spill
	v_mov_b32_e32 v6, v3
	buffer_load_dword v3, off, s[0:3], s33 offset:44 ; 4-byte Folded Reload
	v_mov_b32_e32 v4, v2
	buffer_load_dword v2, off, s[0:3], s33 offset:40 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v4, off, s[0:3], s33 offset:32 ; 4-byte Folded Spill
	v_mov_b32_e32 v7, v1
	buffer_load_dword v1, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	v_mov_b32_e32 v5, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:32 ; 4-byte Folded Reload
                                        ; implicit-def: $vgpr34 : SGPR spill to VGPR lane
	v_writelane_b32 v34, s15, 0
	v_writelane_b32 v34, s14, 1
	v_writelane_b32 v34, s13, 2
	v_writelane_b32 v34, s12, 3
	v_writelane_b32 v34, s10, 4
	v_writelane_b32 v34, s11, 5
	v_writelane_b32 v34, s8, 6
	v_writelane_b32 v34, s9, 7
	v_writelane_b32 v34, s6, 8
	v_writelane_b32 v34, s7, 9
	v_writelane_b32 v34, s4, 10
	v_writelane_b32 v34, s5, 11
                                        ; kill: def $vgpr3 killed $vgpr3 def $vgpr3_vgpr4 killed $exec
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v4, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v6
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v7
	buffer_store_dword v3, off, s[0:3], s33 offset:24 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v4, off, s[0:3], s33 offset:28 ; 4-byte Folded Spill
	s_waitcnt vmcnt(2)
	v_mov_b32_e32 v4, v1
	v_mov_b32_e32 v3, v0
	buffer_store_dword v3, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v4, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
	s_mov_b32 s4, 0
	v_cmp_eq_u32_e64 s[4:5], v2, s4
	v_mov_b32_e32 v4, v6
	s_mov_b64 s[6:7], 2
	s_mov_b32 s8, s7
	v_or_b32_e64 v2, v4, s8
	v_mov_b32_e32 v3, v5
                                        ; kill: def $sgpr6 killed $sgpr6 killed $sgpr6_sgpr7
	v_or_b32_e64 v5, v3, s6
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v2
	v_mov_b32_e32 v2, v6
	v_cndmask_b32_e64 v4, v2, v4, s[4:5]
	v_mov_b32_e32 v2, v5
	v_cndmask_b32_e64 v2, v2, v3, s[4:5]
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v4
	buffer_store_dword v2, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], 0
	v_cmp_ne_u64_e64 s[4:5], v[0:1], s[4:5]
                                        ; implicit-def: $vgpr0_vgpr1_vgpr2_vgpr3
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v34, s6, 12
	v_writelane_b32 v34, s7, 13
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_3
	s_branch .LBB6_2
.LBB6_1:
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s15, v34, 0
	v_readlane_b32 s14, v34, 1
	v_readlane_b32 s13, v34, 2
	v_readlane_b32 s12, v34, 3
	v_readlane_b32 s10, v34, 4
	v_readlane_b32 s11, v34, 5
	v_readlane_b32 s8, v34, 6
	v_readlane_b32 s9, v34, 7
	v_readlane_b32 s6, v34, 8
	v_readlane_b32 s7, v34, 9
	v_readlane_b32 s4, v34, 10
	v_readlane_b32 s5, v34, 11
	buffer_load_dword v31, off, s[0:3], s33 offset:48 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	s_mov_b32 s16, 0xffffff1f
	s_mov_b32 s17, -1
	s_mov_b32 s18, s17
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v0, v3
	v_and_b32_e64 v4, v0, s18
                                        ; kill: def $sgpr16 killed $sgpr16 killed $sgpr16_sgpr17
	v_mov_b32_e32 v0, v2
	v_and_b32_e64 v0, v0, s16
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_mov_b32_e32 v4, v1
	s_mov_b64 s[16:17], 32
	s_mov_b32 s18, s17
	v_or_b32_e64 v4, v4, s18
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
                                        ; kill: def $sgpr16 killed $sgpr16 killed $sgpr16_sgpr17
	v_or_b32_e64 v0, v0, s16
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_mov_b32_e32 v1, v0
	s_mov_b32 s16, 32
	v_lshrrev_b64 v[2:3], s16, v[2:3]
                                        ; kill: def $vgpr2 killed $vgpr2 killed $vgpr2_vgpr3 killed $exec
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_hostcall_preview@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_hostcall_preview@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v0, 2
	v_mov_b32_e32 v16, 0
	buffer_store_dword v16, off, s[0:3], s33 offset:68 ; 4-byte Folded Spill
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	v_mov_b32_e32 v3, v16
	v_mov_b32_e32 v4, v16
	v_mov_b32_e32 v5, v16
	v_mov_b32_e32 v6, v16
	v_mov_b32_e32 v7, v16
	v_mov_b32_e32 v8, v16
	v_mov_b32_e32 v9, v16
	v_mov_b32_e32 v10, v16
	v_mov_b32_e32 v11, v16
	v_mov_b32_e32 v12, v16
	v_mov_b32_e32 v13, v16
	v_mov_b32_e32 v14, v16
	v_mov_b32_e32 v15, v16
	s_swappc_b64 s[30:31], s[16:17]
	v_mov_b32_e32 v6, v1
	v_mov_b32_e32 v5, v2
	v_mov_b32_e32 v4, v3
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1_vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v1, v6
	v_mov_b32_e32 v2, v5
	v_mov_b32_e32 v3, v4
	buffer_store_dword v0, off, s[0:3], s33 offset:52 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:56 ; 4-byte Folded Spill
	buffer_store_dword v2, off, s[0:3], s33 offset:60 ; 4-byte Folded Spill
	buffer_store_dword v3, off, s[0:3], s33 offset:64 ; 4-byte Folded Spill
	s_branch .LBB6_63
.LBB6_2:
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v4, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:28 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	s_mov_b64 s[4:5], 2
	s_mov_b32 s6, s5
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v3
	v_and_b32_e64 v8, v1, s6
                                        ; kill: def $sgpr4 killed $sgpr4 killed $sgpr4_sgpr5
	v_mov_b32_e32 v0, v2
	v_and_b32_e64 v2, v0, s4
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v8
	buffer_store_dword v2, off, s[0:3], s33 offset:104 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:108 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], -3
	s_mov_b32 s6, s5
	v_and_b32_e64 v2, v1, s6
                                        ; kill: def $sgpr4 killed $sgpr4 killed $sgpr4_sgpr5
	v_and_b32_e64 v0, v0, s4
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	v_mov_b32_e32 v10, v1
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	s_mov_b64 s[4:5], 0
	s_mov_b32 s6, s5
	s_mov_b32 s7, s4
	v_mov_b32_e32 v9, s7
	v_mov_b32_e32 v8, s6
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1_vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v1, v10
	v_mov_b32_e32 v2, v9
	v_mov_b32_e32 v3, v8
	v_writelane_b32 v34, s4, 14
	v_writelane_b32 v34, s5, 15
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	buffer_store_dword v6, off, s[0:3], s33 offset:96 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v7, off, s[0:3], s33 offset:100 ; 4-byte Folded Spill
	buffer_store_dword v4, off, s[0:3], s33 offset:88 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v5, off, s[0:3], s33 offset:92 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:72 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:76 ; 4-byte Folded Spill
	buffer_store_dword v2, off, s[0:3], s33 offset:80 ; 4-byte Folded Spill
	buffer_store_dword v3, off, s[0:3], s33 offset:84 ; 4-byte Folded Spill
	s_branch .LBB6_4
.LBB6_3:
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 12
	v_readlane_b32 s5, v34, 13
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:112 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:116 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:120 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:124 ; 4-byte Folded Reload
	s_waitcnt vmcnt(3)
	buffer_store_dword v0, off, s[0:3], s33 offset:52 ; 4-byte Folded Spill
	s_waitcnt vmcnt(3)
	buffer_store_dword v1, off, s[0:3], s33 offset:56 ; 4-byte Folded Spill
	s_waitcnt vmcnt(3)
	buffer_store_dword v2, off, s[0:3], s33 offset:60 ; 4-byte Folded Spill
	s_waitcnt vmcnt(3)
	buffer_store_dword v3, off, s[0:3], s33 offset:64 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 16
	v_writelane_b32 v34, s5, 17
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_63
	s_branch .LBB6_1
.LBB6_4:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB6_8 Depth 2
                                        ;     Child Loop BB6_16 Depth 2
                                        ;     Child Loop BB6_24 Depth 2
                                        ;     Child Loop BB6_32 Depth 2
                                        ;     Child Loop BB6_40 Depth 2
                                        ;     Child Loop BB6_48 Depth 2
                                        ;     Child Loop BB6_56 Depth 2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 14
	v_readlane_b32 s5, v34, 15
	buffer_load_dword v5, off, s[0:3], s33 offset:104 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:108 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:72 ; 4-byte Folded Reload
	buffer_load_dword v8, off, s[0:3], s33 offset:76 ; 4-byte Folded Reload
	buffer_load_dword v9, off, s[0:3], s33 offset:80 ; 4-byte Folded Reload
	buffer_load_dword v10, off, s[0:3], s33 offset:84 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:96 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:100 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:88 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:92 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:172 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:176 ; 4-byte Folded Spill
	buffer_store_dword v3, off, s[0:3], s33 offset:164 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v4, off, s[0:3], s33 offset:168 ; 4-byte Folded Spill
	v_writelane_b32 v34, s4, 18
	v_writelane_b32 v34, s5, 19
	s_mov_b64 s[8:9], 56
	v_cmp_gt_u64_e64 s[4:5], v[3:4], s[8:9]
	v_mov_b32_e32 v0, v8
                                        ; kill: def $vgpr7 killed $vgpr7 killed $vgpr7_vgpr8_vgpr9_vgpr10 killed $exec
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	v_mov_b32_e32 v8, v0
	buffer_store_dword v7, off, s[0:3], s33 offset:156 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v8, off, s[0:3], s33 offset:160 ; 4-byte Folded Spill
	v_cmp_lt_u64_e64 s[6:7], v[3:4], s[8:9]
	v_mov_b32_e32 v7, v4
	s_mov_b32 s10, s9
	v_mov_b32_e32 v0, s10
	v_cndmask_b32_e64 v0, v0, v7, s[6:7]
	v_mov_b32_e32 v8, v3
                                        ; kill: def $sgpr8 killed $sgpr8 killed $sgpr8_sgpr9
	v_mov_b32_e32 v7, s8
	v_cndmask_b32_e64 v7, v7, v8, s[6:7]
	buffer_store_dword v7, off, s[0:3], s33 offset:152 ; 4-byte Folded Spill
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	v_mov_b32_e32 v8, v0
	buffer_store_dword v7, off, s[0:3], s33 offset:144 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v8, off, s[0:3], s33 offset:148 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], 0
	s_mov_b32 s8, s7
	v_mov_b32_e32 v0, v6
	v_mov_b32_e32 v7, s8
	v_cndmask_b32_e64 v0, v0, v7, s[4:5]
                                        ; kill: def $sgpr6 killed $sgpr6 killed $sgpr6_sgpr7
	v_mov_b32_e32 v6, s6
	v_cndmask_b32_e64 v5, v5, v6, s[4:5]
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v0
	buffer_store_dword v5, off, s[0:3], s33 offset:136 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v6, off, s[0:3], s33 offset:140 ; 4-byte Folded Spill
	s_mov_b64 s[8:9], 8
	v_cmp_lt_u64_e64 s[4:5], v[3:4], s[8:9]
	v_mov_b32_e32 v0, v1
	s_mov_b32 s6, s8
	v_mov_b32_e32 v1, v2
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v2, s8
	v_addc_co_u32_e64 v2, s[6:7], v1, v2, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
                                        ; implicit-def: $vgpr2_vgpr3
	buffer_store_dword v0, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v34, s6, 20
	v_writelane_b32 v34, s7, 21
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_6
; %bb.5:                                ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v0, off, s[0:3], s33 offset:164 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:168 ; 4-byte Folded Reload
	s_mov_b64 s[8:9], 0
	s_waitcnt vmcnt(0)
	v_cmp_ne_u64_e64 s[6:7], v[0:1], s[8:9]
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	v_writelane_b32 v34, s8, 22
	v_writelane_b32 v34, s9, 23
	v_writelane_b32 v34, s4, 24
	buffer_store_dword v2, off, s[0:3], s33 offset:188 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:192 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:180 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:184 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v34, s4, 25
	v_writelane_b32 v34, s5, 26
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_11
	s_branch .LBB6_8
.LBB6_6:                                ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 20
	v_readlane_b32 s5, v34, 21
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:216 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:220 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:208 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:212 ; 4-byte Folded Spill
	v_mov_b32_e32 v2, 0
	buffer_store_dword v2, off, s[0:3], s33 offset:204 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:196 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:200 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 27
	v_writelane_b32 v34, s5, 28
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_12
; %bb.7:                                ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v2, off, s[0:3], s33 offset:152 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:172 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:176 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b32 s4, -8
	v_add_u32_e64 v2, v2, s4
	buffer_store_dword v2, off, s[0:3], s33 offset:204 ; 4-byte Folded Spill
	s_waitcnt vmcnt(0) lgkmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:196 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:200 ; 4-byte Folded Spill
	s_branch .LBB6_12
.LBB6_8:                                ;   Parent Loop BB6_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 24
	v_readlane_b32 s8, v34, 22
	v_readlane_b32 s9, v34, 23
	buffer_load_dword v4, off, s[0:3], s33 offset:188 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:192 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:152 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:172 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:176 ; 4-byte Folded Reload
	s_mov_b32 s5, 0
	s_mov_b32 s10, s4
	s_mov_b32 s11, s5
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v6
	s_mov_b32 s6, s10
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v7
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v3, s[6:7], v1, v3, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0xffff
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_and_b32_e64 v0, s6, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, s5
	s_mov_b32 s5, 3
	s_lshl_b32 s5, s4, s5
	v_lshlrev_b64 v[0:1], s5, v[0:1]
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v6, v5
	v_or_b32_e64 v3, v3, v6
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_or_b32_e64 v0, v0, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	s_mov_b32 s5, 1
	s_add_i32 s6, s4, s5
	v_cmp_eq_u32_e64 s[4:5], s6, v2
	s_or_b64 s[4:5], s[4:5], s[8:9]
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v34, s8, 22
	v_writelane_b32 v34, s9, 23
	v_writelane_b32 v34, s6, 24
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:188 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:192 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:224 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:228 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 29
	v_writelane_b32 v34, s7, 30
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_8
; %bb.9:                                ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 29
	v_readlane_b32 s5, v34, 30
	s_or_b64 exec, exec, s[4:5]
; %bb.10:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:224 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:228 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:180 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:184 ; 4-byte Folded Spill
.LBB6_11:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 25
	v_readlane_b32 s5, v34, 26
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:172 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:176 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:180 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:184 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:216 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:220 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_branch .LBB6_6
.LBB6_12:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 27
	v_readlane_b32 s5, v34, 28
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v1, off, s[0:3], s33 offset:208 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:212 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:204 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:196 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:200 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:244 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v4, off, s[0:3], s33 offset:248 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:240 ; 4-byte Folded Spill
	s_mov_b32 s4, 8
	v_cmp_lt_u32_e64 s[4:5], v0, s4
	s_mov_b64 s[8:9], 8
	v_mov_b32_e32 v0, v1
	s_mov_b32 s6, s8
	v_mov_b32_e32 v1, v2
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v2, s8
	v_addc_co_u32_e64 v2, s[6:7], v1, v2, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
                                        ; implicit-def: $vgpr2_vgpr3
	buffer_store_dword v0, off, s[0:3], s33 offset:232 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:236 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v34, s6, 31
	v_writelane_b32 v34, s7, 32
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_14
; %bb.13:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v0, off, s[0:3], s33 offset:240 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[8:9], 0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	v_writelane_b32 v34, s8, 33
	v_writelane_b32 v34, s9, 34
	v_writelane_b32 v34, s4, 35
	buffer_store_dword v2, off, s[0:3], s33 offset:260 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:264 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:252 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:256 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v34, s4, 36
	v_writelane_b32 v34, s5, 37
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_19
	s_branch .LBB6_16
.LBB6_14:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 31
	v_readlane_b32 s5, v34, 32
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:288 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:292 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:232 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:236 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:280 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:284 ; 4-byte Folded Spill
	v_mov_b32_e32 v2, 0
	buffer_store_dword v2, off, s[0:3], s33 offset:276 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:268 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:272 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 38
	v_writelane_b32 v34, s5, 39
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_20
; %bb.15:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v2, off, s[0:3], s33 offset:240 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:208 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:212 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b32 s4, -8
	v_add_u32_e64 v2, v2, s4
	buffer_store_dword v2, off, s[0:3], s33 offset:276 ; 4-byte Folded Spill
	s_waitcnt vmcnt(0) lgkmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:268 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:272 ; 4-byte Folded Spill
	s_branch .LBB6_20
.LBB6_16:                               ;   Parent Loop BB6_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 35
	v_readlane_b32 s8, v34, 33
	v_readlane_b32 s9, v34, 34
	buffer_load_dword v4, off, s[0:3], s33 offset:260 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:264 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:240 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:208 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:212 ; 4-byte Folded Reload
	s_mov_b32 s5, 0
	s_mov_b32 s10, s4
	s_mov_b32 s11, s5
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v6
	s_mov_b32 s6, s10
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v7
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v3, s[6:7], v1, v3, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0xffff
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_and_b32_e64 v0, s6, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, s5
	s_mov_b32 s5, 3
	s_lshl_b32 s5, s4, s5
	v_lshlrev_b64 v[0:1], s5, v[0:1]
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v6, v5
	v_or_b32_e64 v3, v3, v6
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_or_b32_e64 v0, v0, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	s_mov_b32 s5, 1
	s_add_i32 s6, s4, s5
	v_cmp_eq_u32_e64 s[4:5], s6, v2
	s_or_b64 s[4:5], s[4:5], s[8:9]
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v34, s8, 33
	v_writelane_b32 v34, s9, 34
	v_writelane_b32 v34, s6, 35
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:260 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:264 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:296 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:300 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 40
	v_writelane_b32 v34, s7, 41
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_16
; %bb.17:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 40
	v_readlane_b32 s5, v34, 41
	s_or_b64 exec, exec, s[4:5]
; %bb.18:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:296 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:300 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:252 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:256 ; 4-byte Folded Spill
.LBB6_19:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 36
	v_readlane_b32 s5, v34, 37
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:208 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:212 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:252 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:256 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:288 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:292 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:232 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:236 ; 4-byte Folded Spill
	s_branch .LBB6_14
.LBB6_20:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 38
	v_readlane_b32 s5, v34, 39
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v1, off, s[0:3], s33 offset:280 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:284 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:276 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:268 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:272 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:316 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v4, off, s[0:3], s33 offset:320 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:312 ; 4-byte Folded Spill
	s_mov_b32 s4, 8
	v_cmp_lt_u32_e64 s[4:5], v0, s4
	s_mov_b64 s[8:9], 8
	v_mov_b32_e32 v0, v1
	s_mov_b32 s6, s8
	v_mov_b32_e32 v1, v2
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v2, s8
	v_addc_co_u32_e64 v2, s[6:7], v1, v2, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
                                        ; implicit-def: $vgpr2_vgpr3
	buffer_store_dword v0, off, s[0:3], s33 offset:304 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:308 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v34, s6, 42
	v_writelane_b32 v34, s7, 43
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_22
; %bb.21:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v0, off, s[0:3], s33 offset:312 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[8:9], 0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	v_writelane_b32 v34, s8, 44
	v_writelane_b32 v34, s9, 45
	v_writelane_b32 v34, s4, 46
	buffer_store_dword v2, off, s[0:3], s33 offset:332 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:336 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:324 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:328 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v34, s4, 47
	v_writelane_b32 v34, s5, 48
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_27
	s_branch .LBB6_24
.LBB6_22:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 42
	v_readlane_b32 s5, v34, 43
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:360 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:364 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:304 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:308 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:352 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:356 ; 4-byte Folded Spill
	v_mov_b32_e32 v2, 0
	buffer_store_dword v2, off, s[0:3], s33 offset:348 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:340 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:344 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 49
	v_writelane_b32 v34, s5, 50
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_28
; %bb.23:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v2, off, s[0:3], s33 offset:312 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:280 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:284 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b32 s4, -8
	v_add_u32_e64 v2, v2, s4
	buffer_store_dword v2, off, s[0:3], s33 offset:348 ; 4-byte Folded Spill
	s_waitcnt vmcnt(0) lgkmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:340 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:344 ; 4-byte Folded Spill
	s_branch .LBB6_28
.LBB6_24:                               ;   Parent Loop BB6_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 46
	v_readlane_b32 s8, v34, 44
	v_readlane_b32 s9, v34, 45
	buffer_load_dword v4, off, s[0:3], s33 offset:332 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:336 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:312 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:280 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:284 ; 4-byte Folded Reload
	s_mov_b32 s5, 0
	s_mov_b32 s10, s4
	s_mov_b32 s11, s5
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v6
	s_mov_b32 s6, s10
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v7
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v3, s[6:7], v1, v3, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0xffff
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_and_b32_e64 v0, s6, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, s5
	s_mov_b32 s5, 3
	s_lshl_b32 s5, s4, s5
	v_lshlrev_b64 v[0:1], s5, v[0:1]
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v6, v5
	v_or_b32_e64 v3, v3, v6
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_or_b32_e64 v0, v0, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	s_mov_b32 s5, 1
	s_add_i32 s6, s4, s5
	v_cmp_eq_u32_e64 s[4:5], s6, v2
	s_or_b64 s[4:5], s[4:5], s[8:9]
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v34, s8, 44
	v_writelane_b32 v34, s9, 45
	v_writelane_b32 v34, s6, 46
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:332 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:336 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:368 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:372 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 51
	v_writelane_b32 v34, s7, 52
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_24
; %bb.25:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 51
	v_readlane_b32 s5, v34, 52
	s_or_b64 exec, exec, s[4:5]
; %bb.26:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:368 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:372 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:324 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:328 ; 4-byte Folded Spill
.LBB6_27:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 47
	v_readlane_b32 s5, v34, 48
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:280 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:284 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:324 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:328 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:360 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:364 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:304 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:308 ; 4-byte Folded Spill
	s_branch .LBB6_22
.LBB6_28:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 49
	v_readlane_b32 s5, v34, 50
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v1, off, s[0:3], s33 offset:352 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:356 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:348 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:340 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:344 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:388 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v4, off, s[0:3], s33 offset:392 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:384 ; 4-byte Folded Spill
	s_mov_b32 s4, 8
	v_cmp_lt_u32_e64 s[4:5], v0, s4
	s_mov_b64 s[8:9], 8
	v_mov_b32_e32 v0, v1
	s_mov_b32 s6, s8
	v_mov_b32_e32 v1, v2
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v2, s8
	v_addc_co_u32_e64 v2, s[6:7], v1, v2, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
                                        ; implicit-def: $vgpr2_vgpr3
	buffer_store_dword v0, off, s[0:3], s33 offset:376 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:380 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v34, s6, 53
	v_writelane_b32 v34, s7, 54
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_30
; %bb.29:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v0, off, s[0:3], s33 offset:384 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[8:9], 0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	v_writelane_b32 v34, s8, 55
	v_writelane_b32 v34, s9, 56
	v_writelane_b32 v34, s4, 57
	buffer_store_dword v2, off, s[0:3], s33 offset:404 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:408 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:396 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:400 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v34, s4, 58
	v_writelane_b32 v34, s5, 59
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_35
	s_branch .LBB6_32
.LBB6_30:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 53
	v_readlane_b32 s5, v34, 54
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:432 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:436 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:376 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:380 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:424 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:428 ; 4-byte Folded Spill
	v_mov_b32_e32 v2, 0
	buffer_store_dword v2, off, s[0:3], s33 offset:420 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:412 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:416 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 60
	v_writelane_b32 v34, s5, 61
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_36
; %bb.31:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v2, off, s[0:3], s33 offset:384 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:352 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:356 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b32 s4, -8
	v_add_u32_e64 v2, v2, s4
	buffer_store_dword v2, off, s[0:3], s33 offset:420 ; 4-byte Folded Spill
	s_waitcnt vmcnt(0) lgkmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:412 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:416 ; 4-byte Folded Spill
	s_branch .LBB6_36
.LBB6_32:                               ;   Parent Loop BB6_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 57
	v_readlane_b32 s8, v34, 55
	v_readlane_b32 s9, v34, 56
	buffer_load_dword v4, off, s[0:3], s33 offset:404 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:408 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:384 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:352 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:356 ; 4-byte Folded Reload
	s_mov_b32 s5, 0
	s_mov_b32 s10, s4
	s_mov_b32 s11, s5
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v6
	s_mov_b32 s6, s10
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v7
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v3, s[6:7], v1, v3, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0xffff
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_and_b32_e64 v0, s6, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, s5
	s_mov_b32 s5, 3
	s_lshl_b32 s5, s4, s5
	v_lshlrev_b64 v[0:1], s5, v[0:1]
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v6, v5
	v_or_b32_e64 v3, v3, v6
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_or_b32_e64 v0, v0, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	s_mov_b32 s5, 1
	s_add_i32 s6, s4, s5
	v_cmp_eq_u32_e64 s[4:5], s6, v2
	s_or_b64 s[4:5], s[4:5], s[8:9]
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v34, s8, 55
	v_writelane_b32 v34, s9, 56
	v_writelane_b32 v34, s6, 57
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:404 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:408 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:440 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:444 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 62
	v_writelane_b32 v34, s7, 63
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_32
; %bb.33:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 62
	v_readlane_b32 s5, v34, 63
	s_or_b64 exec, exec, s[4:5]
; %bb.34:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:440 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:444 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:396 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:400 ; 4-byte Folded Spill
.LBB6_35:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 58
	v_readlane_b32 s5, v34, 59
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:352 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:356 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:396 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:400 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:432 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:436 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:376 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:380 ; 4-byte Folded Spill
	s_branch .LBB6_30
.LBB6_36:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 60
	v_readlane_b32 s5, v34, 61
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v1, off, s[0:3], s33 offset:424 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:428 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:420 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:412 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:416 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:460 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v4, off, s[0:3], s33 offset:464 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:456 ; 4-byte Folded Spill
	s_mov_b32 s4, 8
	v_cmp_lt_u32_e64 s[4:5], v0, s4
	s_mov_b64 s[8:9], 8
	v_mov_b32_e32 v0, v1
	s_mov_b32 s6, s8
	v_mov_b32_e32 v1, v2
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v2, s8
	v_addc_co_u32_e64 v2, s[6:7], v1, v2, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
                                        ; implicit-def: $vgpr2_vgpr3
	buffer_store_dword v0, off, s[0:3], s33 offset:448 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:452 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
                                        ; implicit-def: $vgpr34 : SGPR spill to VGPR lane
	v_writelane_b32 v34, s6, 0
	v_writelane_b32 v34, s7, 1
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_38
; %bb.37:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v0, off, s[0:3], s33 offset:456 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[8:9], 0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	v_writelane_b32 v34, s8, 2
	v_writelane_b32 v34, s9, 3
	v_writelane_b32 v34, s4, 4
	buffer_store_dword v2, off, s[0:3], s33 offset:476 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:480 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:468 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:472 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v34, s4, 5
	v_writelane_b32 v34, s5, 6
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_43
	s_branch .LBB6_40
.LBB6_38:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 0
	v_readlane_b32 s5, v34, 1
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:504 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:508 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:448 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:452 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:496 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:500 ; 4-byte Folded Spill
	v_mov_b32_e32 v2, 0
	buffer_store_dword v2, off, s[0:3], s33 offset:492 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:484 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:488 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 7
	v_writelane_b32 v34, s5, 8
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_44
; %bb.39:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v2, off, s[0:3], s33 offset:456 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:424 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:428 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b32 s4, -8
	v_add_u32_e64 v2, v2, s4
	buffer_store_dword v2, off, s[0:3], s33 offset:492 ; 4-byte Folded Spill
	s_waitcnt vmcnt(0) lgkmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:484 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:488 ; 4-byte Folded Spill
	s_branch .LBB6_44
.LBB6_40:                               ;   Parent Loop BB6_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 4
	v_readlane_b32 s8, v34, 2
	v_readlane_b32 s9, v34, 3
	buffer_load_dword v4, off, s[0:3], s33 offset:476 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:480 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:456 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:424 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:428 ; 4-byte Folded Reload
	s_mov_b32 s5, 0
	s_mov_b32 s10, s4
	s_mov_b32 s11, s5
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v6
	s_mov_b32 s6, s10
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v7
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v3, s[6:7], v1, v3, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0xffff
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_and_b32_e64 v0, s6, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, s5
	s_mov_b32 s5, 3
	s_lshl_b32 s5, s4, s5
	v_lshlrev_b64 v[0:1], s5, v[0:1]
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v6, v5
	v_or_b32_e64 v3, v3, v6
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_or_b32_e64 v0, v0, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	s_mov_b32 s5, 1
	s_add_i32 s6, s4, s5
	v_cmp_eq_u32_e64 s[4:5], s6, v2
	s_or_b64 s[4:5], s[4:5], s[8:9]
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v34, s8, 2
	v_writelane_b32 v34, s9, 3
	v_writelane_b32 v34, s6, 4
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:476 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:480 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:512 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:516 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 9
	v_writelane_b32 v34, s7, 10
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_40
; %bb.41:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 9
	v_readlane_b32 s5, v34, 10
	s_or_b64 exec, exec, s[4:5]
; %bb.42:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:512 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:516 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:468 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:472 ; 4-byte Folded Spill
.LBB6_43:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 5
	v_readlane_b32 s5, v34, 6
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:424 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:428 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:468 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:472 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:504 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:508 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:448 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:452 ; 4-byte Folded Spill
	s_branch .LBB6_38
.LBB6_44:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 7
	v_readlane_b32 s5, v34, 8
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v1, off, s[0:3], s33 offset:496 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:500 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:492 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:484 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:488 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:532 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v4, off, s[0:3], s33 offset:536 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:528 ; 4-byte Folded Spill
	s_mov_b32 s4, 8
	v_cmp_lt_u32_e64 s[4:5], v0, s4
	s_mov_b64 s[8:9], 8
	v_mov_b32_e32 v0, v1
	s_mov_b32 s6, s8
	v_mov_b32_e32 v1, v2
	s_mov_b32 s8, s9
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v2, s8
	v_addc_co_u32_e64 v2, s[6:7], v1, v2, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
                                        ; implicit-def: $vgpr2_vgpr3
	buffer_store_dword v0, off, s[0:3], s33 offset:520 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:524 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v34, s6, 11
	v_writelane_b32 v34, s7, 12
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_46
; %bb.45:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v0, off, s[0:3], s33 offset:528 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[8:9], 0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	v_writelane_b32 v34, s8, 13
	v_writelane_b32 v34, s9, 14
	v_writelane_b32 v34, s4, 15
	buffer_store_dword v2, off, s[0:3], s33 offset:548 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:552 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:540 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:544 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v34, s4, 16
	v_writelane_b32 v34, s5, 17
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_51
	s_branch .LBB6_48
.LBB6_46:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 11
	v_readlane_b32 s5, v34, 12
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:576 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:580 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:520 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:524 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:568 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:572 ; 4-byte Folded Spill
	v_mov_b32_e32 v2, 0
	buffer_store_dword v2, off, s[0:3], s33 offset:564 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:556 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:560 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 18
	v_writelane_b32 v34, s5, 19
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_52
; %bb.47:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v2, off, s[0:3], s33 offset:528 ; 4-byte Folded Reload
	buffer_load_dword v0, off, s[0:3], s33 offset:496 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:500 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b32 s4, -8
	v_add_u32_e64 v2, v2, s4
	buffer_store_dword v2, off, s[0:3], s33 offset:564 ; 4-byte Folded Spill
	s_waitcnt vmcnt(0) lgkmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:556 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:560 ; 4-byte Folded Spill
	s_branch .LBB6_52
.LBB6_48:                               ;   Parent Loop BB6_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 15
	v_readlane_b32 s8, v34, 13
	v_readlane_b32 s9, v34, 14
	buffer_load_dword v4, off, s[0:3], s33 offset:548 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:552 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:528 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:496 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:500 ; 4-byte Folded Reload
	s_mov_b32 s5, 0
	s_mov_b32 s10, s4
	s_mov_b32 s11, s5
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v6
	s_mov_b32 s6, s10
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v7
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v3, s[6:7], v1, v3, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0xffff
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_and_b32_e64 v0, s6, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, s5
	s_mov_b32 s5, 3
	s_lshl_b32 s5, s4, s5
	v_lshlrev_b64 v[0:1], s5, v[0:1]
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v6, v5
	v_or_b32_e64 v3, v3, v6
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_or_b32_e64 v0, v0, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	s_mov_b32 s5, 1
	s_add_i32 s6, s4, s5
	v_cmp_eq_u32_e64 s[4:5], s6, v2
	s_or_b64 s[4:5], s[4:5], s[8:9]
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v34, s8, 13
	v_writelane_b32 v34, s9, 14
	v_writelane_b32 v34, s6, 15
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:548 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:552 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:584 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:588 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 20
	v_writelane_b32 v34, s7, 21
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_48
; %bb.49:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 20
	v_readlane_b32 s5, v34, 21
	s_or_b64 exec, exec, s[4:5]
; %bb.50:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:584 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:588 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:540 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:544 ; 4-byte Folded Spill
.LBB6_51:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 16
	v_readlane_b32 s5, v34, 17
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:496 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:500 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:540 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:544 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:576 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v3, off, s[0:3], s33 offset:580 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:520 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:524 ; 4-byte Folded Spill
	s_branch .LBB6_46
.LBB6_52:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 18
	v_readlane_b32 s5, v34, 19
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:564 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:556 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:560 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:596 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v2, off, s[0:3], s33 offset:600 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:592 ; 4-byte Folded Spill
	s_mov_b32 s4, 8
	v_cmp_lt_u32_e64 s[4:5], v0, s4
                                        ; implicit-def: $vgpr0_vgpr1
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v34, s6, 22
	v_writelane_b32 v34, s7, 23
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_54
; %bb.53:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	buffer_load_dword v0, off, s[0:3], s33 offset:592 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s[6:7], v0, s4
	s_mov_b64 s[8:9], 0
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	v_mov_b32_e32 v0, 0
	v_mov_b32_e32 v1, 0
	v_writelane_b32 v34, s8, 24
	v_writelane_b32 v34, s9, 25
	v_writelane_b32 v34, s4, 26
	buffer_store_dword v2, off, s[0:3], s33 offset:612 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:616 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:604 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:608 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v34, s4, 27
	v_writelane_b32 v34, s5, 28
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB6_59
	s_branch .LBB6_56
.LBB6_54:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 22
	v_readlane_b32 s5, v34, 23
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:628 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:632 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:620 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:624 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v34, s4, 29
	v_writelane_b32 v34, s5, 30
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB6_60
; %bb.55:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:568 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:572 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	flat_load_dwordx2 v[0:1], v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:620 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:624 ; 4-byte Folded Spill
	s_branch .LBB6_60
.LBB6_56:                               ;   Parent Loop BB6_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 26
	v_readlane_b32 s8, v34, 24
	v_readlane_b32 s9, v34, 25
	buffer_load_dword v4, off, s[0:3], s33 offset:612 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:616 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:592 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:568 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:572 ; 4-byte Folded Reload
	s_mov_b32 s5, 0
	s_mov_b32 s10, s4
	s_mov_b32 s11, s5
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v0, v6
	s_mov_b32 s6, s10
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v1, v7
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v0, s[6:7], v0, s6
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v3, s[6:7], v1, v3, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0xffff
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_and_b32_e64 v0, s6, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, s5
	s_mov_b32 s5, 3
	s_lshl_b32 s5, s4, s5
	v_lshlrev_b64 v[0:1], s5, v[0:1]
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v6, v5
	v_or_b32_e64 v3, v3, v6
                                        ; kill: def $vgpr0 killed $vgpr0 killed $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v4
	v_or_b32_e64 v0, v0, v1
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	s_mov_b32 s5, 1
	s_add_i32 s6, s4, s5
	v_cmp_eq_u32_e64 s[4:5], s6, v2
	s_or_b64 s[4:5], s[4:5], s[8:9]
	s_mov_b64 s[8:9], s[4:5]
	v_writelane_b32 v34, s8, 24
	v_writelane_b32 v34, s9, 25
	v_writelane_b32 v34, s6, 26
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v2, v0
	buffer_store_dword v2, off, s[0:3], s33 offset:612 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v3, off, s[0:3], s33 offset:616 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:636 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:640 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 31
	v_writelane_b32 v34, s7, 32
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_56
; %bb.57:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 31
	v_readlane_b32 s5, v34, 32
	s_or_b64 exec, exec, s[4:5]
; %bb.58:                               ;   in Loop: Header=BB6_4 Depth=1
	buffer_load_dword v0, off, s[0:3], s33 offset:636 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:640 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:604 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:608 ; 4-byte Folded Spill
.LBB6_59:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 27
	v_readlane_b32 s5, v34, 28
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:604 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:608 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:628 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:632 ; 4-byte Folded Spill
	s_branch .LBB6_54
.LBB6_60:                               ;   in Loop: Header=BB6_4 Depth=1
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v33, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s16, v34, 29
	v_readlane_b32 s17, v34, 30
	s_or_b64 exec, exec, s[16:17]
	v_readlane_b32 s15, v33, 0
	v_readlane_b32 s14, v33, 1
	v_readlane_b32 s13, v33, 2
	v_readlane_b32 s12, v33, 3
	v_readlane_b32 s10, v33, 4
	v_readlane_b32 s11, v33, 5
	v_readlane_b32 s8, v33, 6
	v_readlane_b32 s9, v33, 7
	v_readlane_b32 s6, v33, 8
	v_readlane_b32 s7, v33, 9
	v_readlane_b32 s4, v33, 10
	v_readlane_b32 s5, v33, 11
	buffer_load_dword v0, off, s[0:3], s33 offset:144 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	buffer_load_dword v31, off, s[0:3], s33 offset:48 ; 4-byte Folded Reload
	buffer_load_dword v19, off, s[0:3], s33 offset:596 ; 4-byte Folded Reload
	buffer_load_dword v20, off, s[0:3], s33 offset:600 ; 4-byte Folded Reload
	buffer_load_dword v21, off, s[0:3], s33 offset:532 ; 4-byte Folded Reload
	buffer_load_dword v22, off, s[0:3], s33 offset:536 ; 4-byte Folded Reload
	buffer_load_dword v23, off, s[0:3], s33 offset:460 ; 4-byte Folded Reload
	buffer_load_dword v24, off, s[0:3], s33 offset:464 ; 4-byte Folded Reload
	buffer_load_dword v25, off, s[0:3], s33 offset:388 ; 4-byte Folded Reload
	buffer_load_dword v26, off, s[0:3], s33 offset:392 ; 4-byte Folded Reload
	buffer_load_dword v27, off, s[0:3], s33 offset:316 ; 4-byte Folded Reload
	buffer_load_dword v28, off, s[0:3], s33 offset:320 ; 4-byte Folded Reload
	buffer_load_dword v29, off, s[0:3], s33 offset:244 ; 4-byte Folded Reload
	buffer_load_dword v30, off, s[0:3], s33 offset:248 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:136 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:140 ; 4-byte Folded Reload
	buffer_load_dword v7, off, s[0:3], s33 offset:156 ; 4-byte Folded Reload
	buffer_load_dword v8, off, s[0:3], s33 offset:160 ; 4-byte Folded Reload
	buffer_load_dword v17, off, s[0:3], s33 offset:620 ; 4-byte Folded Reload
	buffer_load_dword v18, off, s[0:3], s33 offset:624 ; 4-byte Folded Reload
	s_waitcnt vmcnt(19)
	v_mov_b32_e32 v1, v0
	s_mov_b32 s16, 28
	v_mov_b32_e32 v0, 2
	v_lshl_add_u32 v1, v1, v0, s16
	s_mov_b32 s16, 0x1e0
	v_and_b32_e64 v5, v1, s16
	s_mov_b32 s16, 0
	v_mov_b32_e32 v1, 0
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	v_mov_b32_e32 v6, v1
	s_mov_b32 s16, 0xffffff1f
	s_mov_b32 s17, -1
	s_mov_b32 s18, s17
	s_waitcnt vmcnt(2)
	v_mov_b32_e32 v1, v8
	v_and_b32_e64 v1, v1, s18
                                        ; kill: def $sgpr16 killed $sgpr16 killed $sgpr16_sgpr17
	v_mov_b32_e32 v2, v7
	v_and_b32_e64 v7, v2, s16
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	v_mov_b32_e32 v8, v1
	v_mov_b32_e32 v1, v8
	v_mov_b32_e32 v2, v4
	v_or_b32_e64 v1, v1, v2
	v_mov_b32_e32 v2, v7
	v_or_b32_e64 v2, v2, v3
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v1, v3
	v_mov_b32_e32 v4, v6
	v_or_b32_e64 v1, v1, v4
	v_mov_b32_e32 v4, v2
                                        ; kill: def $vgpr5 killed $vgpr5 killed $vgpr5_vgpr6 killed $exec
	v_or_b32_e64 v4, v4, v5
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v1
	v_mov_b32_e32 v1, v4
	s_mov_b32 s16, 32
	v_writelane_b32 v34, s16, 33
	v_lshrrev_b64 v[2:3], s16, v[2:3]
                                        ; kill: def $vgpr2 killed $vgpr2 killed $vgpr2_vgpr3 killed $exec
	v_lshrrev_b64 v[3:4], s16, v[29:30]
	v_mov_b32_e32 v4, v3
	v_lshrrev_b64 v[5:6], s16, v[27:28]
	v_mov_b32_e32 v6, v5
	v_lshrrev_b64 v[7:8], s16, v[25:26]
	v_mov_b32_e32 v8, v7
	v_lshrrev_b64 v[9:10], s16, v[23:24]
	v_mov_b32_e32 v10, v9
	v_lshrrev_b64 v[11:12], s16, v[21:22]
	v_mov_b32_e32 v12, v11
	v_lshrrev_b64 v[13:14], s16, v[19:20]
	v_mov_b32_e32 v14, v13
	s_waitcnt vmcnt(0)
	v_lshrrev_b64 v[15:16], s16, v[17:18]
	v_mov_b32_e32 v16, v15
	v_mov_b32_e32 v3, v29
	v_mov_b32_e32 v5, v27
	v_mov_b32_e32 v7, v25
	v_mov_b32_e32 v9, v23
	v_mov_b32_e32 v11, v21
	v_mov_b32_e32 v13, v19
	v_mov_b32_e32 v15, v17
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_hostcall_preview@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_hostcall_preview@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	s_swappc_b64 s[30:31], s[16:17]
	buffer_load_dword v4, off, s[0:3], s33 offset:164 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:168 ; 4-byte Folded Reload
	buffer_load_dword v12, off, s[0:3], s33 offset:172 ; 4-byte Folded Reload
	buffer_load_dword v13, off, s[0:3], s33 offset:176 ; 4-byte Folded Reload
	buffer_load_dword v10, off, s[0:3], s33 offset:144 ; 4-byte Folded Reload
	buffer_load_dword v11, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	v_readlane_b32 s6, v33, 18
	v_readlane_b32 s7, v33, 19
	v_mov_b32_e32 v8, v1
	v_mov_b32_e32 v7, v2
	v_mov_b32_e32 v6, v3
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1_vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v1, v8
	v_mov_b32_e32 v2, v7
	v_mov_b32_e32 v3, v6
	s_waitcnt vmcnt(5)
	v_mov_b32_e32 v6, v4
	s_waitcnt vmcnt(1)
	v_mov_b32_e32 v7, v10
	v_mov_b32_e32 v4, v5
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v5, v11
	v_sub_co_u32_e64 v6, s[4:5], v6, v7
	v_subb_co_u32_e64 v4, s[4:5], v4, v5, s[4:5]
                                        ; kill: def $vgpr6 killed $vgpr6 def $vgpr6_vgpr7 killed $exec
	v_mov_b32_e32 v7, v4
	v_mov_b32_e32 v4, v12
	v_mov_b32_e32 v9, v10
	v_mov_b32_e32 v5, v13
	v_mov_b32_e32 v8, v11
	v_add_co_u32_e64 v4, s[4:5], v4, v9
	v_addc_co_u32_e64 v8, s[4:5], v5, v8, s[4:5]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v8
	s_mov_b64 s[4:5], 0
	v_cmp_eq_u64_e64 s[4:5], v[6:7], s[4:5]
	s_or_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v33, s6, 14
	v_writelane_b32 v33, s7, 15
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v33, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	buffer_store_dword v6, off, s[0:3], s33 offset:96 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v7, off, s[0:3], s33 offset:100 ; 4-byte Folded Spill
	buffer_store_dword v4, off, s[0:3], s33 offset:88 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v5, off, s[0:3], s33 offset:92 ; 4-byte Folded Spill
	v_mov_b32_e32 v7, v3
	v_mov_b32_e32 v6, v2
	v_mov_b32_e32 v5, v1
	v_mov_b32_e32 v4, v0
	buffer_store_dword v4, off, s[0:3], s33 offset:72 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v5, off, s[0:3], s33 offset:76 ; 4-byte Folded Spill
	buffer_store_dword v6, off, s[0:3], s33 offset:80 ; 4-byte Folded Spill
	buffer_store_dword v7, off, s[0:3], s33 offset:84 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:644 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:648 ; 4-byte Folded Spill
	buffer_store_dword v2, off, s[0:3], s33 offset:652 ; 4-byte Folded Spill
	buffer_store_dword v3, off, s[0:3], s33 offset:656 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v34, s6, 34
	v_writelane_b32 v34, s7, 35
	s_or_saveexec_b64 s[26:27], -1
	buffer_store_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	s_mov_b64 exec, s[26:27]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB6_4
; %bb.61:
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 34
	v_readlane_b32 s5, v34, 35
	s_or_b64 exec, exec, s[4:5]
; %bb.62:
	buffer_load_dword v0, off, s[0:3], s33 offset:644 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:648 ; 4-byte Folded Reload
	buffer_load_dword v2, off, s[0:3], s33 offset:652 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:656 ; 4-byte Folded Reload
	s_waitcnt vmcnt(3)
	buffer_store_dword v0, off, s[0:3], s33 offset:112 ; 4-byte Folded Spill
	s_waitcnt vmcnt(3)
	buffer_store_dword v1, off, s[0:3], s33 offset:116 ; 4-byte Folded Spill
	s_waitcnt vmcnt(3)
	buffer_store_dword v2, off, s[0:3], s33 offset:120 ; 4-byte Folded Spill
	s_waitcnt vmcnt(3)
	buffer_store_dword v3, off, s[0:3], s33 offset:124 ; 4-byte Folded Spill
	s_branch .LBB6_3
.LBB6_63:
	s_or_saveexec_b64 s[26:27], -1
	buffer_load_dword v34, off, s[0:3], s33 ; 4-byte Folded Reload
	s_mov_b64 exec, s[26:27]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v34, 16
	v_readlane_b32 s5, v34, 17
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v3, off, s[0:3], s33 offset:52 ; 4-byte Folded Reload
	buffer_load_dword v4, off, s[0:3], s33 offset:56 ; 4-byte Folded Reload
	buffer_load_dword v5, off, s[0:3], s33 offset:60 ; 4-byte Folded Reload
	buffer_load_dword v6, off, s[0:3], s33 offset:64 ; 4-byte Folded Reload
	s_waitcnt vmcnt(2)
	v_mov_b32_e32 v0, v4
                                        ; implicit-def: $sgpr4
                                        ; implicit-def: $sgpr5
	v_mov_b32_e32 v1, s4
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	v_mov_b32_e32 v2, v0
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v0, v3
	s_mov_b32 s4, 32
	v_lshrrev_b64 v[1:2], s4, v[1:2]
                                        ; kill: def $vgpr1 killed $vgpr1 killed $vgpr1_vgpr2 killed $exec
	v_readlane_b32 s30, v32, 0
	v_readlane_b32 s31, v32, 1
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v32, off, s[0:3], s33 offset:660 ; 4-byte Folded Reload
	buffer_load_dword v33, off, s[0:3], s33 offset:664 ; 4-byte Folded Reload
	buffer_load_dword v34, off, s[0:3], s33 offset:668 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s28
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end6:
	.size	__ockl_fprintf_append_string_n, .Lfunc_end6-__ockl_fprintf_append_string_n
                                        ; -- End function
	.set .L__ockl_fprintf_append_string_n.num_vgpr, max(35, .L__ockl_hostcall_preview.num_vgpr)
	.set .L__ockl_fprintf_append_string_n.num_agpr, max(0, .L__ockl_hostcall_preview.num_agpr)
	.set .L__ockl_fprintf_append_string_n.numbered_sgpr, max(34, .L__ockl_hostcall_preview.numbered_sgpr)
	.set .L__ockl_fprintf_append_string_n.num_named_barrier, max(0, .L__ockl_hostcall_preview.num_named_barrier)
	.set .L__ockl_fprintf_append_string_n.private_seg_size, 688+max(.L__ockl_hostcall_preview.private_seg_size)
	.set .L__ockl_fprintf_append_string_n.uses_vcc, or(1, .L__ockl_hostcall_preview.uses_vcc)
	.set .L__ockl_fprintf_append_string_n.uses_flat_scratch, or(0, .L__ockl_hostcall_preview.uses_flat_scratch)
	.set .L__ockl_fprintf_append_string_n.has_dyn_sized_stack, or(0, .L__ockl_hostcall_preview.has_dyn_sized_stack)
	.set .L__ockl_fprintf_append_string_n.has_recursion, or(0, .L__ockl_hostcall_preview.has_recursion)
	.set .L__ockl_fprintf_append_string_n.has_indirect_call, or(0, .L__ockl_hostcall_preview.has_indirect_call)
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 11424
; TotalNumSgprs: 38
; NumVgprs: 35
; ScratchSize: 1072
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_fprintf_append_args
	.type	__ockl_fprintf_append_args,@function
__ockl_fprintf_append_args:             ; @__ockl_fprintf_append_args
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s26, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[16:17], -1
	buffer_store_dword v27, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	buffer_store_dword v28, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_mov_b64 exec, s[16:17]
	s_add_i32 s32, s32, 0x800
	v_writelane_b32 v27, s30, 0
	v_writelane_b32 v27, s31, 1
	buffer_store_dword v17, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
	v_mov_b32_e32 v17, v2
	v_mov_b32_e32 v18, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	v_mov_b32_e32 v19, v15
                                        ; kill: def $vgpr20 killed $vgpr16 killed $exec
	v_mov_b32_e32 v19, v13
                                        ; kill: def $vgpr20 killed $vgpr14 killed $exec
	v_mov_b32_e32 v19, v11
                                        ; kill: def $vgpr20 killed $vgpr12 killed $exec
	v_mov_b32_e32 v19, v9
                                        ; kill: def $vgpr20 killed $vgpr10 killed $exec
	v_mov_b32_e32 v19, v7
                                        ; kill: def $vgpr20 killed $vgpr8 killed $exec
	v_mov_b32_e32 v19, v5
                                        ; kill: def $vgpr20 killed $vgpr6 killed $exec
	v_mov_b32_e32 v19, v3
                                        ; kill: def $vgpr20 killed $vgpr4 killed $exec
                                        ; kill: def $vgpr18 killed $vgpr18 def $vgpr18_vgpr19 killed $exec
	v_mov_b32_e32 v19, v1
	s_mov_b32 s16, 0
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[16:17], v0, s16
	v_mov_b32_e32 v1, v19
	s_mov_b64 s[18:19], 2
	s_mov_b32 s20, s19
	v_or_b32_e64 v0, v1, s20
	v_mov_b32_e32 v2, v18
                                        ; kill: def $sgpr18 killed $sgpr18 killed $sgpr18_sgpr19
	v_or_b32_e64 v18, v2, s18
                                        ; kill: def $vgpr18 killed $vgpr18 def $vgpr18_vgpr19 killed $exec
	v_mov_b32_e32 v19, v0
	v_mov_b32_e32 v0, v19
	v_cndmask_b32_e64 v0, v0, v1, s[16:17]
	v_mov_b32_e32 v1, v18
	v_cndmask_b32_e64 v1, v1, v2, s[16:17]
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	v_mov_b32_e32 v2, v0
	v_mov_b32_e32 v0, v2
	s_mov_b32 s16, 0xffffff1f
	s_mov_b32 s17, -1
	s_mov_b32 s18, s17
	v_and_b32_e64 v0, v0, s18
                                        ; kill: def $vgpr1 killed $vgpr1 killed $vgpr1_vgpr2 killed $exec
                                        ; kill: def $sgpr16 killed $sgpr16 killed $sgpr16_sgpr17
	v_and_b32_e64 v1, v1, s16
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	v_mov_b32_e32 v2, v0
	s_mov_b32 s16, 0
	v_mov_b32_e32 v0, 0
                                        ; kill: def $vgpr17 killed $vgpr17 def $vgpr17_vgpr18 killed $exec
	v_mov_b32_e32 v18, v0
	s_mov_b32 s16, 5
	v_lshlrev_b64 v[17:18], s16, v[17:18]
	v_mov_b32_e32 v0, v2
	v_mov_b32_e32 v19, v18
	v_or_b32_e64 v0, v0, v19
                                        ; kill: def $vgpr1 killed $vgpr1 killed $vgpr1_vgpr2 killed $exec
	v_mov_b32_e32 v2, v17
	v_or_b32_e64 v17, v1, v2
                                        ; kill: def $vgpr17 killed $vgpr17 def $vgpr17_vgpr18 killed $exec
	v_mov_b32_e32 v18, v0
	v_mov_b32_e32 v1, v17
	s_mov_b32 s16, 32
                                        ; implicit-def: $vgpr28 : SGPR spill to VGPR lane
	v_writelane_b32 v28, s16, 0
	v_lshrrev_b64 v[17:18], s16, v[17:18]
	v_mov_b32_e32 v2, v17
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_hostcall_preview@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_hostcall_preview@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v0, 2
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	s_swappc_b64 s[30:31], s[16:17]
	v_readlane_b32 s4, v28, 0
	buffer_store_dword v1, off, s[0:3], s33 ; 4-byte Folded Spill
                                        ; kill: def $vgpr1 killed $vgpr3 killed $exec
	buffer_load_dword v3, off, s[0:3], s33  ; 4-byte Folded Reload
                                        ; implicit-def: $sgpr5
                                        ; implicit-def: $sgpr6
	v_mov_b32_e32 v1, s5
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v2, v3
	v_lshrrev_b64 v[1:2], s4, v[1:2]
                                        ; kill: def $vgpr1 killed $vgpr1 killed $vgpr1_vgpr2 killed $exec
	v_readlane_b32 s30, v27, 0
	v_readlane_b32 s31, v27, 1
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v27, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v28, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s26
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end7:
	.size	__ockl_fprintf_append_args, .Lfunc_end7-__ockl_fprintf_append_args
                                        ; -- End function
	.set .L__ockl_fprintf_append_args.num_vgpr, max(29, .L__ockl_hostcall_preview.num_vgpr)
	.set .L__ockl_fprintf_append_args.num_agpr, max(0, .L__ockl_hostcall_preview.num_agpr)
	.set .L__ockl_fprintf_append_args.numbered_sgpr, max(34, .L__ockl_hostcall_preview.numbered_sgpr)
	.set .L__ockl_fprintf_append_args.num_named_barrier, max(0, .L__ockl_hostcall_preview.num_named_barrier)
	.set .L__ockl_fprintf_append_args.private_seg_size, 32+max(.L__ockl_hostcall_preview.private_seg_size)
	.set .L__ockl_fprintf_append_args.uses_vcc, or(1, .L__ockl_hostcall_preview.uses_vcc)
	.set .L__ockl_fprintf_append_args.uses_flat_scratch, or(0, .L__ockl_hostcall_preview.uses_flat_scratch)
	.set .L__ockl_fprintf_append_args.has_dyn_sized_stack, or(0, .L__ockl_hostcall_preview.has_dyn_sized_stack)
	.set .L__ockl_fprintf_append_args.has_recursion, or(0, .L__ockl_hostcall_preview.has_recursion)
	.set .L__ockl_fprintf_append_args.has_indirect_call, or(0, .L__ockl_hostcall_preview.has_indirect_call)
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 464
; TotalNumSgprs: 38
; NumVgprs: 29
; ScratchSize: 416
; MemoryBound: 0
	.text
	.hidden	__assert_fail                   ; -- Begin function __assert_fail
	.weak	__assert_fail
	.p2align	2
	.type	__assert_fail,@function
__assert_fail:                          ; @__assert_fail
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s46, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[16:17], -1
	buffer_store_dword v35, off, s[0:3], s33 offset:156 ; 4-byte Folded Spill
	buffer_store_dword v36, off, s[0:3], s33 offset:160 ; 4-byte Folded Spill
	buffer_store_dword v37, off, s[0:3], s33 offset:164 ; 4-byte Folded Spill
	s_mov_b64 exec, s[16:17]
	s_add_i32 s32, s32, 0x2c00
	v_writelane_b32 v35, s30, 0
	v_writelane_b32 v35, s31, 1
	buffer_store_dword v31, off, s[0:3], s33 offset:148 ; 4-byte Folded Spill
	buffer_store_dword v5, off, s[0:3], s33 offset:144 ; 4-byte Folded Spill
	buffer_store_dword v3, off, s[0:3], s33 offset:140 ; 4-byte Folded Spill
	v_mov_b32_e32 v5, v2
	buffer_load_dword v2, off, s[0:3], s33 offset:144 ; 4-byte Folded Reload
	v_mov_b32_e32 v7, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:140 ; 4-byte Folded Reload
                                        ; implicit-def: $vgpr37 : SGPR spill to VGPR lane
	v_writelane_b32 v37, s15, 0
	v_writelane_b32 v37, s14, 1
	v_writelane_b32 v37, s13, 2
	v_writelane_b32 v37, s12, 3
	v_writelane_b32 v37, s10, 4
	v_writelane_b32 v37, s11, 5
	v_writelane_b32 v37, s8, 6
	v_writelane_b32 v37, s9, 7
	v_writelane_b32 v37, s6, 8
	v_writelane_b32 v37, s7, 9
	v_writelane_b32 v37, s4, 10
	v_writelane_b32 v37, s5, 11
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v6
                                        ; kill: def $vgpr5 killed $vgpr5 def $vgpr5_vgpr6 killed $exec
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v6, v0
                                        ; kill: def $vgpr7 killed $vgpr7 def $vgpr7_vgpr8 killed $exec
	v_mov_b32_e32 v8, v1
	s_mov_b64 s[18:19], 0
	s_mov_b32 s29, s19
	v_writelane_b32 v37, s29, 12
	s_mov_b32 s40, -1
	v_writelane_b32 v37, s40, 13
	s_lshr_b32 s17, s33, 6
	s_cmp_lg_u32 s17, s40
	s_mov_b64 s[20:21], src_private_base
	s_mov_b32 s28, s21
	v_writelane_b32 v37, s28, 14
	s_cselect_b32 s16, s28, s29
	s_mov_b32 s27, s18
	v_writelane_b32 v37, s27, 15
	s_cselect_b32 s24, s17, s27
                                        ; kill: def $sgpr24 killed $sgpr24 def $sgpr24_sgpr25
	s_mov_b32 s25, s16
	s_mov_b64 s[16:17], s[24:25]
	v_writelane_b32 v37, s16, 16
	v_writelane_b32 v37, s17, 17
	s_lshr_b32 s17, s33, 6
	s_add_i32 s17, s17, 8
	s_cmp_lg_u32 s17, s40
	s_cselect_b32 s16, s28, s29
	s_cselect_b32 s22, s17, s27
                                        ; kill: def $sgpr22 killed $sgpr22 def $sgpr22_sgpr23
	s_mov_b32 s23, s16
	s_mov_b64 s[16:17], s[22:23]
	v_writelane_b32 v37, s16, 18
	v_writelane_b32 v37, s17, 19
	s_lshr_b32 s17, s33, 6
	s_add_i32 s17, s17, 16
	s_cmp_lg_u32 s17, s40
	s_cselect_b32 s16, s28, s29
	s_cselect_b32 s18, s17, s27
                                        ; kill: def $sgpr18 killed $sgpr18 def $sgpr18_sgpr19
	s_mov_b32 s19, s16
	s_mov_b64 s[16:17], s[18:19]
	v_writelane_b32 v37, s16, 20
	v_writelane_b32 v37, s17, 21
	s_lshr_b32 s16, s33, 6
	s_add_i32 s16, s16, 24
	s_cmp_lg_u32 s16, s40
	s_cselect_b32 s20, s28, s29
	s_cselect_b32 s16, s16, s27
                                        ; kill: def $sgpr16 killed $sgpr16 def $sgpr16_sgpr17
	s_mov_b32 s17, s20
	s_mov_b64 s[20:21], s[16:17]
	v_writelane_b32 v37, s20, 22
	v_writelane_b32 v37, s21, 23
	s_lshr_b32 s20, s33, 6
	s_add_i32 s20, s20, 32
	s_cmp_lg_u32 s20, s40
	s_cselect_b32 s26, s28, s29
	s_cselect_b32 s20, s20, s27
                                        ; kill: def $sgpr20 killed $sgpr20 def $sgpr20_sgpr21
	s_mov_b32 s21, s26
	s_mov_b64 s[42:43], s[20:21]
	v_writelane_b32 v37, s42, 24
	v_writelane_b32 v37, s43, 25
	s_lshr_b32 s41, s33, 6
	s_add_i32 s41, s41, 0x50
	s_cmp_lg_u32 s41, s40
	s_cselect_b32 s26, s28, s29
	s_cselect_b32 s42, s41, s27
                                        ; kill: def $sgpr42 killed $sgpr42 def $sgpr42_sgpr43
	s_mov_b32 s43, s26
	v_writelane_b32 v37, s42, 26
	v_writelane_b32 v37, s43, 27
	v_writelane_b32 v37, s42, 28
	v_writelane_b32 v37, s43, 29
	s_lshr_b32 s41, s33, 6
	s_add_i32 s41, s41, 0x58
	s_cmp_lg_u32 s41, s40
	s_cselect_b32 s26, s28, s29
	s_cselect_b32 s42, s41, s27
                                        ; kill: def $sgpr42 killed $sgpr42 def $sgpr42_sgpr43
	s_mov_b32 s43, s26
	v_writelane_b32 v37, s42, 30
	v_writelane_b32 v37, s43, 31
	v_writelane_b32 v37, s42, 32
	v_writelane_b32 v37, s43, 33
	s_lshr_b32 s41, s33, 6
	s_add_i32 s41, s41, 0x60
	s_cmp_lg_u32 s41, s40
	s_cselect_b32 s26, s28, s29
	s_cselect_b32 s42, s41, s27
                                        ; kill: def $sgpr42 killed $sgpr42 def $sgpr42_sgpr43
	s_mov_b32 s43, s26
	v_writelane_b32 v37, s42, 34
	v_writelane_b32 v37, s43, 35
	s_lshr_b32 s41, s33, 6
	s_add_i32 s41, s41, 0x68
	s_cmp_lg_u32 s41, s40
	s_cselect_b32 s26, s28, s29
	s_cselect_b32 s42, s41, s27
                                        ; kill: def $sgpr42 killed $sgpr42 def $sgpr42_sgpr43
	s_mov_b32 s43, s26
	v_writelane_b32 v37, s42, 36
	v_writelane_b32 v37, s43, 37
	s_lshr_b32 s41, s33, 6
	s_add_i32 s41, s41, 0x70
	s_cmp_lg_u32 s41, s40
	s_cselect_b32 s26, s28, s29
	s_cselect_b32 s42, s41, s27
                                        ; kill: def $sgpr42 killed $sgpr42 def $sgpr42_sgpr43
	s_mov_b32 s43, s26
	v_writelane_b32 v37, s42, 38
	v_writelane_b32 v37, s43, 39
	s_lshr_b32 s26, s33, 6
	s_add_i32 s26, s26, 0x78
	s_cmp_lg_u32 s26, s40
	s_cselect_b32 s28, s28, s29
	s_cselect_b32 s26, s26, s27
                                        ; kill: def $sgpr26 killed $sgpr26 def $sgpr26_sgpr27
	s_mov_b32 s27, s28
	v_writelane_b32 v37, s26, 40
	v_writelane_b32 v37, s27, 41
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	v_mov_b32_e32 v0, s24
	v_mov_b32_e32 v1, s25
	flat_store_dwordx2 v[0:1], v[7:8]
	v_mov_b32_e32 v0, s22
	v_mov_b32_e32 v1, s23
	flat_store_dwordx2 v[0:1], v[5:6]
	v_mov_b32_e32 v0, s18
	v_mov_b32_e32 v1, s19
	flat_store_dword v[0:1], v4
	v_mov_b32_e32 v0, s16
	v_mov_b32_e32 v1, s17
	flat_store_dwordx2 v[0:1], v[2:3]
	v_mov_b32_e32 v0, 0
	buffer_store_dword v0, off, s[0:3], s33 offset:136 ; 4-byte Folded Spill
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __const.__assert_fail.fmt@rel32@lo+35
	s_addc_u32 s17, s17, __const.__assert_fail.fmt@rel32@hi+43
	global_load_dwordx4 v[2:5], v0, s[16:17]
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __const.__assert_fail.fmt@rel32@lo+4
	s_addc_u32 s17, s17, __const.__assert_fail.fmt@rel32@hi+12
	s_load_dwordx4 s[16:19], s[16:17], 0x0
	s_getpc_b64 s[22:23]
	s_add_u32 s22, s22, __const.__assert_fail.fmt@rel32@lo+20
	s_addc_u32 s23, s23, __const.__assert_fail.fmt@rel32@hi+28
	s_load_dwordx4 s[24:27], s[22:23], 0x0
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	s_waitcnt vmcnt(0)
	flat_store_dwordx4 v[0:1], v[2:5] offset:31
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	s_waitcnt lgkmcnt(0)
	v_mov_b32_e32 v2, s24
	v_mov_b32_e32 v3, s25
	v_mov_b32_e32 v4, s26
	v_mov_b32_e32 v5, s27
	flat_store_dwordx4 v[0:1], v[2:5] offset:16
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	v_mov_b32_e32 v2, s16
	v_mov_b32_e32 v3, s17
	v_mov_b32_e32 v4, s18
	v_mov_b32_e32 v5, s19
	flat_store_dwordx4 v[0:1], v[2:5]
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_fprintf_stderr_begin@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_fprintf_stderr_begin@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	s_swappc_b64 s[30:31], s[16:17]
	buffer_load_dword v2, off, s[0:3], s33 offset:136 ; 4-byte Folded Reload
	v_readlane_b32 s6, v37, 26
	v_readlane_b32 s7, v37, 27
	v_readlane_b32 s4, v37, 30
	v_readlane_b32 s5, v37, 31
	v_mov_b32_e32 v3, v0
                                        ; kill: def $vgpr3 killed $vgpr3 def $vgpr3_vgpr4 killed $exec
	v_mov_b32_e32 v4, v1
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_store_dwordx2 v[0:1], v[3:4]
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	s_waitcnt vmcnt(0)
	flat_store_dword v[0:1], v2
; %bb.1:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 24
	v_readlane_b32 s5, v37, 25
	v_readlane_b32 s6, v37, 34
	v_readlane_b32 s7, v37, 35
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	v_mov_b32_e32 v2, s4
	v_mov_b32_e32 v3, s5
	flat_store_dwordx2 v[0:1], v[2:3]
	s_mov_b64 s[4:5], 0
                                        ; implicit-def: $sgpr6_sgpr7
	v_writelane_b32 v37, s4, 42
	v_writelane_b32 v37, s5, 43
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_2:                                ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v37, 34
	v_readlane_b32 s7, v37, 35
	v_readlane_b32 s4, v37, 44
	v_readlane_b32 s5, v37, 45
	v_readlane_b32 s8, v37, 42
	v_readlane_b32 s9, v37, 43
	v_writelane_b32 v37, s8, 46
	v_writelane_b32 v37, s9, 47
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b64 s[10:11], 1
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_mov_b32_e32 v3, v0
	s_mov_b32 s8, s10
	v_mov_b32_e32 v2, v1
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v4, s[8:9], v3, s8
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v2, s[8:9], v2, v3, s[8:9]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v2
	v_mov_b32_e32 v2, s6
	v_mov_b32_e32 v3, s7
	flat_store_dwordx2 v[2:3], v[4:5]
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_ne_u16_e64 s[6:7], v0, s6
	s_mov_b64 s[8:9], -1
	s_or_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v37, s4, 48
	v_writelane_b32 v37, s5, 49
	v_writelane_b32 v37, s4, 50
	v_writelane_b32 v37, s5, 51
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v37, s4, 52
	v_writelane_b32 v37, s5, 53
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB8_4
; %bb.3:                                ;   in Loop: Header=BB8_2 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 48
	v_readlane_b32 s5, v37, 49
	s_mov_b64 s[6:7], 0
	s_andn2_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v37, s4, 50
	v_writelane_b32 v37, s5, 51
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_4:                                ;   in Loop: Header=BB8_2 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 52
	v_readlane_b32 s5, v37, 53
	s_or_b64 exec, exec, s[4:5]
	v_readlane_b32 s8, v37, 46
	v_readlane_b32 s9, v37, 47
	v_readlane_b32 s6, v37, 50
	v_readlane_b32 s7, v37, 51
	s_mov_b64 s[4:5], s[6:7]
	s_and_b64 s[4:5], exec, s[4:5]
	s_or_b64 s[4:5], s[4:5], s[8:9]
	v_writelane_b32 v37, s6, 44
	v_writelane_b32 v37, s7, 45
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v37, s6, 42
	v_writelane_b32 v37, s7, 43
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v37, s6, 54
	v_writelane_b32 v37, s7, 55
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB8_2
; %bb.5:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 54
	v_readlane_b32 s5, v37, 55
	s_or_b64 exec, exec, s[4:5]
; %bb.6:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 32
	v_readlane_b32 s5, v37, 33
	v_readlane_b32 s6, v37, 24
	v_readlane_b32 s7, v37, 25
	v_readlane_b32 s8, v37, 34
	v_readlane_b32 s9, v37, 35
	v_mov_b32_e32 v0, s8
	v_mov_b32_e32 v1, s9
	flat_load_dword v0, v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_sub_u32_e64 v2, v0, s6
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_store_dword v[0:1], v2
; %bb.7:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s20, v37, 28
	v_readlane_b32 s21, v37, 29
	v_readlane_b32 s15, v37, 0
	v_readlane_b32 s14, v37, 1
	v_readlane_b32 s13, v37, 2
	v_readlane_b32 s12, v37, 3
	v_readlane_b32 s10, v37, 4
	v_readlane_b32 s11, v37, 5
	v_readlane_b32 s8, v37, 6
	v_readlane_b32 s9, v37, 7
	v_readlane_b32 s6, v37, 8
	v_readlane_b32 s7, v37, 9
	v_readlane_b32 s4, v37, 10
	v_readlane_b32 s5, v37, 11
	v_readlane_b32 s16, v37, 24
	v_readlane_b32 s17, v37, 25
	v_readlane_b32 s18, v37, 32
	v_readlane_b32 s19, v37, 33
	buffer_load_dword v31, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	flat_load_dwordx2 v[2:3], v[0:1]
	v_mov_b32_e32 v0, s18
	v_mov_b32_e32 v1, s19
	flat_load_dword v4, v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_ashrrev_i32_e64 v0, 31, v4
	v_mov_b32_e32 v5, v4
	v_mov_b32_e32 v6, v0
	s_mov_b32 s19, 32
	s_lshr_b64 s[20:21], s[16:17], s19
	s_mov_b32 s18, s20
	v_lshrrev_b64 v[0:1], s19, v[2:3]
	v_mov_b32_e32 v1, v0
	v_lshrrev_b64 v[5:6], s19, v[5:6]
                                        ; kill: def $vgpr5 killed $vgpr5 killed $vgpr5_vgpr6 killed $exec
	s_mov_b32 s19, s16
	v_mov_b32_e32 v0, v2
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_fprintf_append_string_n@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_fprintf_append_string_n@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v6, 0
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	v_mov_b32_e32 v2, s19
	v_mov_b32_e32 v3, s18
	s_swappc_b64 s[30:31], s[16:17]
	v_readlane_b32 s4, v37, 28
	v_readlane_b32 s5, v37, 29
	v_mov_b32_e32 v2, v0
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_store_dwordx2 v[0:1], v[2:3]
; %bb.8:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 36
	v_readlane_b32 s5, v37, 37
	v_readlane_b32 s6, v37, 18
	v_readlane_b32 s7, v37, 19
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dwordx2 v[2:3], v[0:1]
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	s_waitcnt vmcnt(0) lgkmcnt(0)
	flat_store_dwordx2 v[0:1], v[2:3]
	s_mov_b64 s[4:5], 0
                                        ; implicit-def: $sgpr6_sgpr7
	v_writelane_b32 v37, s4, 56
	v_writelane_b32 v37, s5, 57
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_9:                                ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v37, 36
	v_readlane_b32 s7, v37, 37
	v_readlane_b32 s4, v37, 58
	v_readlane_b32 s5, v37, 59
	v_readlane_b32 s8, v37, 56
	v_readlane_b32 s9, v37, 57
	v_writelane_b32 v37, s8, 60
	v_writelane_b32 v37, s9, 61
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b64 s[10:11], 1
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_mov_b32_e32 v3, v0
	s_mov_b32 s8, s10
	v_mov_b32_e32 v2, v1
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v4, s[8:9], v3, s8
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v2, s[8:9], v2, v3, s[8:9]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v2
	v_mov_b32_e32 v2, s6
	v_mov_b32_e32 v3, s7
	flat_store_dwordx2 v[2:3], v[4:5]
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_ne_u16_e64 s[6:7], v0, s6
	s_mov_b64 s[8:9], -1
	s_or_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v37, s4, 62
	v_writelane_b32 v37, s5, 63
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
                                        ; implicit-def: $vgpr37 : SGPR spill to VGPR lane
	v_writelane_b32 v37, s4, 0
	v_writelane_b32 v37, s5, 1
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v37, s4, 2
	v_writelane_b32 v37, s5, 3
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB8_11
; %bb.10:                               ;   in Loop: Header=BB8_9 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v36, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v36, 62
	v_readlane_b32 s5, v36, 63
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_mov_b64 s[6:7], 0
	s_andn2_b64 s[4:5], s[4:5], exec
	s_waitcnt vmcnt(0)
	v_writelane_b32 v37, s4, 0
	v_writelane_b32 v37, s5, 1
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_11:                               ;   in Loop: Header=BB8_9 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v36, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 2
	v_readlane_b32 s5, v37, 3
	s_or_b64 exec, exec, s[4:5]
	v_readlane_b32 s8, v36, 60
	v_readlane_b32 s9, v36, 61
	v_readlane_b32 s6, v37, 0
	v_readlane_b32 s7, v37, 1
	s_mov_b64 s[4:5], s[6:7]
	s_and_b64 s[4:5], exec, s[4:5]
	s_or_b64 s[4:5], s[4:5], s[8:9]
	v_writelane_b32 v36, s6, 58
	v_writelane_b32 v36, s7, 59
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v36, s6, 56
	v_writelane_b32 v36, s7, 57
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v36, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v37, s6, 4
	v_writelane_b32 v37, s7, 5
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB8_9
; %bb.12:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 4
	v_readlane_b32 s5, v37, 5
	s_or_b64 exec, exec, s[4:5]
; %bb.13:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 32
	v_readlane_b32 s5, v37, 33
	v_readlane_b32 s6, v37, 18
	v_readlane_b32 s7, v37, 19
	v_readlane_b32 s8, v37, 36
	v_readlane_b32 s9, v37, 37
	v_mov_b32_e32 v0, s8
	v_mov_b32_e32 v1, s9
	flat_load_dword v0, v[0:1]
	v_mov_b32_e32 v1, s6
	v_mov_b32_e32 v2, s7
	flat_load_dword v1, v[1:2]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_sub_u32_e64 v2, v0, v1
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_store_dword v[0:1], v2
; %bb.14:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s20, v37, 28
	v_readlane_b32 s21, v37, 29
	v_readlane_b32 s15, v37, 0
	v_readlane_b32 s14, v37, 1
	v_readlane_b32 s13, v37, 2
	v_readlane_b32 s12, v37, 3
	v_readlane_b32 s10, v37, 4
	v_readlane_b32 s11, v37, 5
	v_readlane_b32 s8, v37, 6
	v_readlane_b32 s9, v37, 7
	v_readlane_b32 s6, v37, 8
	v_readlane_b32 s7, v37, 9
	v_readlane_b32 s4, v37, 10
	v_readlane_b32 s5, v37, 11
	v_readlane_b32 s16, v37, 32
	v_readlane_b32 s17, v37, 33
	v_readlane_b32 s18, v37, 18
	v_readlane_b32 s19, v37, 19
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v36, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	buffer_load_dword v31, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	flat_load_dwordx2 v[8:9], v[0:1]
	v_mov_b32_e32 v0, s18
	v_mov_b32_e32 v1, s19
	flat_load_dwordx2 v[6:7], v[0:1]
	v_mov_b32_e32 v0, s16
	v_mov_b32_e32 v1, s17
	flat_load_dword v4, v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_ashrrev_i32_e64 v0, 31, v4
	v_mov_b32_e32 v10, v4
	v_mov_b32_e32 v11, v0
	s_mov_b32 s16, 32
	v_writelane_b32 v36, s16, 6
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v36, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	v_lshrrev_b64 v[0:1], s16, v[8:9]
	v_mov_b32_e32 v1, v0
	v_lshrrev_b64 v[2:3], s16, v[6:7]
	v_mov_b32_e32 v3, v2
	v_lshrrev_b64 v[10:11], s16, v[10:11]
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v0, v8
	v_mov_b32_e32 v2, v6
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_fprintf_append_string_n@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_fprintf_append_string_n@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v6, 0
	buffer_store_dword v6, off, s[0:3], s33 offset:152 ; 4-byte Folded Spill
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	s_swappc_b64 s[30:31], s[16:17]
	buffer_load_dword v31, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	buffer_load_dword v17, off, s[0:3], s33 offset:152 ; 4-byte Folded Reload
	v_readlane_b32 s18, v37, 20
	v_readlane_b32 s19, v37, 21
	v_readlane_b32 s16, v36, 6
	v_readlane_b32 s4, v37, 10
	v_readlane_b32 s5, v37, 11
	v_readlane_b32 s6, v37, 8
	v_readlane_b32 s7, v37, 9
	v_readlane_b32 s8, v37, 6
	v_readlane_b32 s9, v37, 7
	v_readlane_b32 s10, v37, 4
	v_readlane_b32 s11, v37, 5
	v_readlane_b32 s12, v37, 3
	v_readlane_b32 s13, v37, 2
	v_readlane_b32 s14, v37, 1
	v_readlane_b32 s15, v37, 0
	v_readlane_b32 s20, v37, 28
	v_readlane_b32 s21, v37, 29
	v_mov_b32_e32 v2, v0
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	flat_store_dwordx2 v[0:1], v[2:3]
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	flat_load_dwordx2 v[4:5], v[0:1]
	v_mov_b32_e32 v0, s18
	v_mov_b32_e32 v1, s19
	flat_load_dword v3, v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_lshrrev_b64 v[0:1], s16, v[4:5]
	v_mov_b32_e32 v1, v0
	v_mov_b32_e32 v0, v4
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_fprintf_append_args@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_fprintf_append_args@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v2, 1
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	v_mov_b32_e32 v4, v17
	v_mov_b32_e32 v5, v17
	v_mov_b32_e32 v6, v17
	v_mov_b32_e32 v7, v17
	v_mov_b32_e32 v8, v17
	v_mov_b32_e32 v9, v17
	v_mov_b32_e32 v10, v17
	v_mov_b32_e32 v11, v17
	v_mov_b32_e32 v12, v17
	v_mov_b32_e32 v13, v17
	v_mov_b32_e32 v14, v17
	v_mov_b32_e32 v15, v17
	v_mov_b32_e32 v16, v17
	s_swappc_b64 s[30:31], s[16:17]
	v_readlane_b32 s4, v37, 28
	v_readlane_b32 s5, v37, 29
	v_mov_b32_e32 v2, v0
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_store_dwordx2 v[0:1], v[2:3]
; %bb.15:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v36, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v36, 38
	v_readlane_b32 s5, v36, 39
	v_readlane_b32 s6, v36, 22
	v_readlane_b32 s7, v36, 23
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dwordx2 v[2:3], v[0:1]
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	s_waitcnt vmcnt(0) lgkmcnt(0)
	flat_store_dwordx2 v[0:1], v[2:3]
	s_mov_b64 s[4:5], 0
                                        ; implicit-def: $sgpr6_sgpr7
	v_writelane_b32 v37, s4, 7
	v_writelane_b32 v37, s5, 8
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_16:                               ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v36, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v36, 38
	v_readlane_b32 s7, v36, 39
	v_readlane_b32 s4, v37, 9
	v_readlane_b32 s5, v37, 10
	v_readlane_b32 s8, v37, 7
	v_readlane_b32 s9, v37, 8
	v_writelane_b32 v37, s8, 11
	v_writelane_b32 v37, s9, 12
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b64 s[10:11], 1
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_mov_b32_e32 v3, v0
	s_mov_b32 s8, s10
	v_mov_b32_e32 v2, v1
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v4, s[8:9], v3, s8
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v2, s[8:9], v2, v3, s[8:9]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v2
	v_mov_b32_e32 v2, s6
	v_mov_b32_e32 v3, s7
	flat_store_dwordx2 v[2:3], v[4:5]
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_ne_u16_e64 s[6:7], v0, s6
	s_mov_b64 s[8:9], -1
	s_or_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v37, s4, 13
	v_writelane_b32 v37, s5, 14
	v_writelane_b32 v37, s4, 15
	v_writelane_b32 v37, s5, 16
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v37, s4, 17
	v_writelane_b32 v37, s5, 18
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB8_18
; %bb.17:                               ;   in Loop: Header=BB8_16 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 13
	v_readlane_b32 s5, v37, 14
	s_mov_b64 s[6:7], 0
	s_andn2_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v37, s4, 15
	v_writelane_b32 v37, s5, 16
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_18:                               ;   in Loop: Header=BB8_16 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 17
	v_readlane_b32 s5, v37, 18
	s_or_b64 exec, exec, s[4:5]
	v_readlane_b32 s8, v37, 11
	v_readlane_b32 s9, v37, 12
	v_readlane_b32 s6, v37, 15
	v_readlane_b32 s7, v37, 16
	s_mov_b64 s[4:5], s[6:7]
	s_and_b64 s[4:5], exec, s[4:5]
	s_or_b64 s[4:5], s[4:5], s[8:9]
	v_writelane_b32 v37, s6, 9
	v_writelane_b32 v37, s7, 10
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v37, s6, 7
	v_writelane_b32 v37, s7, 8
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v37, s6, 19
	v_writelane_b32 v37, s7, 20
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB8_16
; %bb.19:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 19
	v_readlane_b32 s5, v37, 20
	s_or_b64 exec, exec, s[4:5]
; %bb.20:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 32
	v_readlane_b32 s5, v37, 33
	v_readlane_b32 s6, v37, 22
	v_readlane_b32 s7, v37, 23
	v_readlane_b32 s8, v37, 38
	v_readlane_b32 s9, v37, 39
	v_mov_b32_e32 v0, s8
	v_mov_b32_e32 v1, s9
	flat_load_dword v0, v[0:1]
	v_mov_b32_e32 v1, s6
	v_mov_b32_e32 v2, s7
	flat_load_dword v1, v[1:2]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_sub_u32_e64 v2, v0, v1
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_store_dword v[0:1], v2
; %bb.21:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s20, v37, 28
	v_readlane_b32 s21, v37, 29
	v_readlane_b32 s15, v37, 0
	v_readlane_b32 s14, v37, 1
	v_readlane_b32 s13, v37, 2
	v_readlane_b32 s12, v37, 3
	v_readlane_b32 s10, v37, 4
	v_readlane_b32 s11, v37, 5
	v_readlane_b32 s8, v37, 6
	v_readlane_b32 s9, v37, 7
	v_readlane_b32 s6, v37, 8
	v_readlane_b32 s7, v37, 9
	v_readlane_b32 s4, v37, 10
	v_readlane_b32 s5, v37, 11
	v_readlane_b32 s16, v37, 32
	v_readlane_b32 s17, v37, 33
	v_readlane_b32 s18, v37, 22
	v_readlane_b32 s19, v37, 23
	buffer_load_dword v31, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	flat_load_dwordx2 v[8:9], v[0:1]
	v_mov_b32_e32 v0, s18
	v_mov_b32_e32 v1, s19
	flat_load_dwordx2 v[6:7], v[0:1]
	v_mov_b32_e32 v0, s16
	v_mov_b32_e32 v1, s17
	flat_load_dword v4, v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_ashrrev_i32_e64 v0, 31, v4
	v_mov_b32_e32 v10, v4
	v_mov_b32_e32 v11, v0
	s_mov_b32 s16, 32
	v_lshrrev_b64 v[0:1], s16, v[8:9]
	v_mov_b32_e32 v1, v0
	v_lshrrev_b64 v[2:3], s16, v[6:7]
	v_mov_b32_e32 v3, v2
	v_lshrrev_b64 v[10:11], s16, v[10:11]
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v0, v8
	v_mov_b32_e32 v2, v6
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_fprintf_append_string_n@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_fprintf_append_string_n@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v6, 0
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	s_swappc_b64 s[30:31], s[16:17]
	v_readlane_b32 s4, v37, 28
	v_readlane_b32 s5, v37, 29
	v_mov_b32_e32 v2, v0
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v1
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_store_dwordx2 v[0:1], v[2:3]
; %bb.22:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v36, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v36, 40
	v_readlane_b32 s5, v36, 41
	v_readlane_b32 s6, v36, 16
	v_readlane_b32 s7, v36, 17
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dwordx2 v[2:3], v[0:1]
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	s_waitcnt vmcnt(0) lgkmcnt(0)
	flat_store_dwordx2 v[0:1], v[2:3]
	s_mov_b64 s[4:5], 0
                                        ; implicit-def: $sgpr6_sgpr7
	v_writelane_b32 v37, s4, 21
	v_writelane_b32 v37, s5, 22
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_23:                               ; =>This Inner Loop Header: Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v36, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v36, 40
	v_readlane_b32 s7, v36, 41
	v_readlane_b32 s4, v37, 23
	v_readlane_b32 s5, v37, 24
	v_readlane_b32 s8, v37, 21
	v_readlane_b32 s9, v37, 22
	v_writelane_b32 v37, s8, 25
	v_writelane_b32 v37, s9, 26
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dwordx2 v[0:1], v[0:1]
	s_mov_b64 s[10:11], 1
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_mov_b32_e32 v3, v0
	s_mov_b32 s8, s10
	v_mov_b32_e32 v2, v1
	s_mov_b32 s10, s11
	v_add_co_u32_e64 v4, s[8:9], v3, s8
	v_mov_b32_e32 v3, s10
	v_addc_co_u32_e64 v2, s[8:9], v2, v3, s[8:9]
                                        ; kill: def $vgpr4 killed $vgpr4 def $vgpr4_vgpr5 killed $exec
	v_mov_b32_e32 v5, v2
	v_mov_b32_e32 v2, s6
	v_mov_b32_e32 v3, s7
	flat_store_dwordx2 v[2:3], v[4:5]
	flat_load_ubyte v0, v[0:1]
	s_mov_b32 s6, 0
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_ne_u16_e64 s[6:7], v0, s6
	s_mov_b64 s[8:9], -1
	s_or_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v37, s4, 27
	v_writelane_b32 v37, s5, 28
	v_writelane_b32 v37, s4, 29
	v_writelane_b32 v37, s5, 30
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v37, s4, 31
	v_writelane_b32 v37, s5, 32
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB8_25
; %bb.24:                               ;   in Loop: Header=BB8_23 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 27
	v_readlane_b32 s5, v37, 28
	s_mov_b64 s[6:7], 0
	s_andn2_b64 s[4:5], s[4:5], exec
	v_writelane_b32 v37, s4, 29
	v_writelane_b32 v37, s5, 30
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
.LBB8_25:                               ;   in Loop: Header=BB8_23 Depth=1
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 31
	v_readlane_b32 s5, v37, 32
	s_or_b64 exec, exec, s[4:5]
	v_readlane_b32 s8, v37, 25
	v_readlane_b32 s9, v37, 26
	v_readlane_b32 s6, v37, 29
	v_readlane_b32 s7, v37, 30
	s_mov_b64 s[4:5], s[6:7]
	s_and_b64 s[4:5], exec, s[4:5]
	s_or_b64 s[4:5], s[4:5], s[8:9]
	v_writelane_b32 v37, s6, 23
	v_writelane_b32 v37, s7, 24
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v37, s6, 21
	v_writelane_b32 v37, s7, 22
	s_mov_b64 s[6:7], s[4:5]
	v_writelane_b32 v37, s6, 33
	v_writelane_b32 v37, s7, 34
	s_or_saveexec_b64 s[44:45], -1
	buffer_store_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Spill
	s_mov_b64 exec, s[44:45]
	s_andn2_b64 exec, exec, s[4:5]
	s_cbranch_execnz .LBB8_23
; %bb.26:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 33
	v_readlane_b32 s5, v37, 34
	s_or_b64 exec, exec, s[4:5]
; %bb.27:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v37, 32
	v_readlane_b32 s5, v37, 33
	v_readlane_b32 s6, v37, 16
	v_readlane_b32 s7, v37, 17
	v_readlane_b32 s8, v37, 40
	v_readlane_b32 s9, v37, 41
	v_mov_b32_e32 v0, s8
	v_mov_b32_e32 v1, s9
	flat_load_dword v0, v[0:1]
	v_mov_b32_e32 v1, s6
	v_mov_b32_e32 v2, s7
	flat_load_dword v1, v[1:2]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_sub_u32_e64 v2, v0, v1
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_store_dword v[0:1], v2
; %bb.28:
	s_or_saveexec_b64 s[44:45], -1
	buffer_load_dword v37, off, s[0:3], s33 offset:128 ; 4-byte Folded Reload
	s_mov_b64 exec, s[44:45]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s15, v37, 0
	v_readlane_b32 s14, v37, 1
	v_readlane_b32 s13, v37, 2
	v_readlane_b32 s12, v37, 3
	v_readlane_b32 s10, v37, 4
	v_readlane_b32 s11, v37, 5
	v_readlane_b32 s8, v37, 6
	v_readlane_b32 s9, v37, 7
	v_readlane_b32 s6, v37, 8
	v_readlane_b32 s7, v37, 9
	v_readlane_b32 s4, v37, 10
	v_readlane_b32 s5, v37, 11
	v_readlane_b32 s16, v37, 32
	v_readlane_b32 s17, v37, 33
	v_readlane_b32 s18, v37, 16
	v_readlane_b32 s19, v37, 17
	v_readlane_b32 s20, v37, 28
	v_readlane_b32 s21, v37, 29
	buffer_load_dword v31, off, s[0:3], s33 offset:148 ; 4-byte Folded Reload
	v_mov_b32_e32 v0, s20
	v_mov_b32_e32 v1, s21
	flat_load_dwordx2 v[8:9], v[0:1]
	v_mov_b32_e32 v0, s18
	v_mov_b32_e32 v1, s19
	flat_load_dwordx2 v[6:7], v[0:1]
	v_mov_b32_e32 v0, s16
	v_mov_b32_e32 v1, s17
	flat_load_dword v4, v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_ashrrev_i32_e64 v0, 31, v4
	v_mov_b32_e32 v10, v4
	v_mov_b32_e32 v11, v0
	s_mov_b32 s16, 32
	v_lshrrev_b64 v[0:1], s16, v[8:9]
	v_mov_b32_e32 v1, v0
	v_lshrrev_b64 v[2:3], s16, v[6:7]
	v_mov_b32_e32 v3, v2
	v_lshrrev_b64 v[10:11], s16, v[10:11]
	v_mov_b32_e32 v5, v10
	v_mov_b32_e32 v0, v8
	v_mov_b32_e32 v2, v6
	s_getpc_b64 s[16:17]
	s_add_u32 s16, s16, __ockl_fprintf_append_string_n@rel32@lo+4
	s_addc_u32 s17, s17, __ockl_fprintf_append_string_n@rel32@hi+12
	s_mov_b64 s[22:23], s[2:3]
	s_mov_b64 s[20:21], s[0:1]
	v_mov_b32_e32 v6, 1
	s_mov_b64 s[0:1], s[20:21]
	s_mov_b64 s[2:3], s[22:23]
	s_swappc_b64 s[30:31], s[16:17]
	s_trap 2
	v_readlane_b32 s30, v35, 0
	v_readlane_b32 s31, v35, 1
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v35, off, s[0:3], s33 offset:156 ; 4-byte Folded Reload
	buffer_load_dword v36, off, s[0:3], s33 offset:160 ; 4-byte Folded Reload
	buffer_load_dword v37, off, s[0:3], s33 offset:164 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s46
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end8:
	.size	__assert_fail, .Lfunc_end8-__assert_fail
                                        ; -- End function
	.set __assert_fail.num_vgpr, max(38, .L__ockl_fprintf_stderr_begin.num_vgpr, .L__ockl_fprintf_append_string_n.num_vgpr, .L__ockl_fprintf_append_args.num_vgpr)
	.set __assert_fail.num_agpr, max(0, .L__ockl_fprintf_stderr_begin.num_agpr, .L__ockl_fprintf_append_string_n.num_agpr, .L__ockl_fprintf_append_args.num_agpr)
	.set __assert_fail.numbered_sgpr, max(47, .L__ockl_fprintf_stderr_begin.numbered_sgpr, .L__ockl_fprintf_append_string_n.numbered_sgpr, .L__ockl_fprintf_append_args.numbered_sgpr)
	.set __assert_fail.num_named_barrier, max(0, .L__ockl_fprintf_stderr_begin.num_named_barrier, .L__ockl_fprintf_append_string_n.num_named_barrier, .L__ockl_fprintf_append_args.num_named_barrier)
	.set __assert_fail.private_seg_size, 176+max(.L__ockl_fprintf_stderr_begin.private_seg_size, .L__ockl_fprintf_append_string_n.private_seg_size, .L__ockl_fprintf_append_args.private_seg_size)
	.set __assert_fail.uses_vcc, or(1, .L__ockl_fprintf_stderr_begin.uses_vcc, .L__ockl_fprintf_append_string_n.uses_vcc, .L__ockl_fprintf_append_args.uses_vcc)
	.set __assert_fail.uses_flat_scratch, or(0, .L__ockl_fprintf_stderr_begin.uses_flat_scratch, .L__ockl_fprintf_append_string_n.uses_flat_scratch, .L__ockl_fprintf_append_args.uses_flat_scratch)
	.set __assert_fail.has_dyn_sized_stack, or(0, .L__ockl_fprintf_stderr_begin.has_dyn_sized_stack, .L__ockl_fprintf_append_string_n.has_dyn_sized_stack, .L__ockl_fprintf_append_args.has_dyn_sized_stack)
	.set __assert_fail.has_recursion, or(0, .L__ockl_fprintf_stderr_begin.has_recursion, .L__ockl_fprintf_append_string_n.has_recursion, .L__ockl_fprintf_append_args.has_recursion)
	.set __assert_fail.has_indirect_call, or(0, .L__ockl_fprintf_stderr_begin.has_indirect_call, .L__ockl_fprintf_append_string_n.has_indirect_call, .L__ockl_fprintf_append_args.has_indirect_call)
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 6392
; TotalNumSgprs: 51
; NumVgprs: 38
; ScratchSize: 1248
; MemoryBound: 0
	.text
	.hidden	__assertfail                    ; -- Begin function __assertfail
	.weak	__assertfail
	.p2align	2
	.type	__assertfail,@function
__assertfail:                           ; @__assertfail
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s4, s33
	s_mov_b32 s33, s32
	s_trap 2
	s_mov_b32 s33, s4
	s_setpc_b64 s[30:31]
.Lfunc_end9:
	.size	__assertfail, .Lfunc_end9-__assertfail
                                        ; -- End function
	.set __assertfail.num_vgpr, 0
	.set __assertfail.num_agpr, 0
	.set __assertfail.numbered_sgpr, 34
	.set __assertfail.num_named_barrier, 0
	.set __assertfail.private_seg_size, 0
	.set __assertfail.uses_vcc, 0
	.set __assertfail.uses_flat_scratch, 0
	.set __assertfail.has_dyn_sized_stack, 0
	.set __assertfail.has_recursion, 0
	.set __assertfail.has_indirect_call, 0
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 24
; TotalNumSgprs: 38
; NumVgprs: 0
; ScratchSize: 0
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_get_local_id
	.type	__ockl_get_local_id,@function
__ockl_get_local_id:                    ; @__ockl_get_local_id
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s12, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[4:5], -1
	buffer_store_dword v2, off, s[0:3], s33 offset:36 ; 4-byte Folded Spill
	s_mov_b64 exec, s[4:5]
	s_add_i32 s32, s32, 0xb00
	buffer_store_dword v31, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	buffer_store_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
; %bb.1:
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
                                        ; implicit-def: $vgpr0
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
                                        ; implicit-def: $vgpr2 : SGPR spill to VGPR lane
	v_writelane_b32 v2, s6, 0
	v_writelane_b32 v2, s7, 1
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB10_4
; %bb.2:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	buffer_load_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 1
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v1, s4
	v_bfe_u32 v0, v0, 10, 10
	buffer_store_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v2, s6, 2
	v_writelane_b32 v2, s7, 3
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB10_7
; %bb.3:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 2
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[6:7], v0, s4
	v_mov_b32_e32 v0, 0
	buffer_store_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v2, s4, 4
	v_writelane_b32 v2, s5, 5
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB10_10
	s_branch .LBB10_9
.LBB10_4:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 0
	v_readlane_b32 s5, v2, 1
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v2, s4, 6
	v_writelane_b32 v2, s5, 7
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB10_13
; %bb.5:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	buffer_load_dword v1, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	v_mov_b32_e32 v0, 0
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[6:7], v1, v0
	buffer_store_dword v0, off, s[0:3], s33 offset:28 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v2, s4, 8
	v_writelane_b32 v2, s5, 9
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB10_12
; %bb.6:
	buffer_load_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	s_mov_b32 s4, 0x3ff
	s_waitcnt vmcnt(0)
	v_and_b32_e64 v0, v0, s4
	buffer_store_dword v0, off, s[0:3], s33 offset:28 ; 4-byte Folded Spill
	s_branch .LBB10_12
.LBB10_7:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 2
	v_readlane_b32 s5, v2, 3
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:32 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v2, s4, 10
	v_writelane_b32 v2, s5, 11
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB10_11
; %bb.8:
	s_branch .LBB10_11
.LBB10_9:
	buffer_load_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_bfe_u32 v0, v0, 20, 10
	buffer_store_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
.LBB10_10:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 4
	v_readlane_b32 s5, v2, 5
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_branch .LBB10_7
.LBB10_11:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 10
	v_readlane_b32 s5, v2, 11
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:32 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:24 ; 4-byte Folded Spill
	s_branch .LBB10_4
.LBB10_12:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 8
	v_readlane_b32 s5, v2, 9
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:28 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
.LBB10_13:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 6
	v_readlane_b32 s5, v2, 7
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	v_mov_b32_e32 v1, 0
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v2, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s12
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end10:
	.size	__ockl_get_local_id, .Lfunc_end10-__ockl_get_local_id
                                        ; -- End function
	.set .L__ockl_get_local_id.num_vgpr, 32
	.set .L__ockl_get_local_id.num_agpr, 0
	.set .L__ockl_get_local_id.numbered_sgpr, 34
	.set .L__ockl_get_local_id.num_named_barrier, 0
	.set .L__ockl_get_local_id.private_seg_size, 44
	.set .L__ockl_get_local_id.uses_vcc, 0
	.set .L__ockl_get_local_id.uses_flat_scratch, 0
	.set .L__ockl_get_local_id.has_dyn_sized_stack, 0
	.set .L__ockl_get_local_id.has_recursion, 0
	.set .L__ockl_get_local_id.has_indirect_call, 0
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 996
; TotalNumSgprs: 38
; NumVgprs: 32
; ScratchSize: 44
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_get_local_size
	.type	__ockl_get_local_size,@function
__ockl_get_local_size:                  ; @__ockl_get_local_size
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s15, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[6:7], -1
	buffer_store_dword v4, off, s[0:3], s33 offset:104 ; 4-byte Folded Spill
	s_mov_b64 exec, s[6:7]
	s_add_i32 s32, s32, 0x1c00
	buffer_store_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
                                        ; implicit-def: $vgpr4 : SGPR spill to VGPR lane
	v_writelane_b32 v4, s14, 0
	v_writelane_b32 v4, s13, 1
	v_writelane_b32 v4, s12, 2
	v_writelane_b32 v4, s8, 3
	v_writelane_b32 v4, s9, 4
	v_writelane_b32 v4, s4, 5
	v_writelane_b32 v4, s5, 6
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
; %bb.1:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
                                        ; implicit-def: $vgpr0_vgpr1
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v4, s6, 7
	v_writelane_b32 v4, s7, 8
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB11_4
; %bb.2:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 1
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
                                        ; implicit-def: $vgpr0_vgpr1
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v4, s6, 9
	v_writelane_b32 v4, s7, 10
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB11_10
; %bb.3:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 2
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[6:7], v0, s4
	v_mov_b32_e32 v0, 1
	v_mov_b32_e32 v1, 0
	buffer_store_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v4, s4, 11
	v_writelane_b32 v4, s5, 12
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB11_20
	s_branch .LBB11_15
.LBB11_4:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 7
	v_readlane_b32 s5, v4, 8
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:28 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v4, s4, 13
	v_writelane_b32 v4, s5, 14
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB11_25
; %bb.5:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[6:7], v0, s4
	v_mov_b32_e32 v0, 1
	v_mov_b32_e32 v1, 0
	buffer_store_dword v0, off, s[0:3], s33 offset:32 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:36 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v4, s4, 15
	v_writelane_b32 v4, s5, 16
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB11_24
; %bb.6:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, __oclc_ABI_version@rel32@lo+4
	s_addc_u32 s5, s5, __oclc_ABI_version@rel32@hi+12
	s_load_dword s8, s[4:5], 0x0
	s_mov_b64 s[4:5], -1
                                        ; implicit-def: $sgpr6_sgpr7
	s_mov_b32 s9, 0x1f3
	s_waitcnt lgkmcnt(0)
	s_cmp_gt_i32 s8, s9
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	buffer_store_dword v0, off, s[0:3], s33 offset:40 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:44 ; 4-byte Folded Spill
	s_waitcnt vmcnt(2)
	v_writelane_b32 v4, s4, 17
	v_writelane_b32 v4, s5, 18
	s_mov_b64 s[18:19], exec
	s_mov_b64 exec, -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_cbranch_scc1 .LBB11_9
.LBB11_7:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 17
	v_readlane_b32 s5, v4, 18
	buffer_load_dword v0, off, s[0:3], s33 offset:40 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:44 ; 4-byte Folded Reload
	v_cndmask_b32_e64 v2, 0, 1, s[4:5]
	s_mov_b32 s4, 1
	v_cmp_ne_u32_e64 s[4:5], v2, s4
	s_and_b64 vcc, exec, s[4:5]
                                        ; kill: def $vgpr0_vgpr1 killed $vgpr0_vgpr1 killed $exec
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:48 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:52 ; 4-byte Folded Spill
	s_cbranch_vccnz .LBB11_23
; %bb.8:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s5, v4, 2
	v_readlane_b32 s6, v4, 5
	v_readlane_b32 s7, v4, 6
	v_mov_b32_e32 v0, 0
	s_nop 3
	global_load_ushort v1, v0, s[6:7] offset:4
	s_load_dword s4, s[6:7], 0xc
	s_waitcnt vmcnt(0)
	v_mul_lo_u32 v0, s5, v1
	s_waitcnt lgkmcnt(0)
	v_sub_u32_e64 v0, s4, v0
	v_min_u32_e64 v0, v0, v1
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	buffer_store_dword v0, off, s[0:3], s33 offset:48 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:52 ; 4-byte Folded Spill
	s_branch .LBB11_23
.LBB11_9:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v4, 3
	v_readlane_b32 s7, v4, 4
	v_readlane_b32 s4, v4, 2
	s_load_dword s5, s[6:7], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_u32 s4, s5
	s_mov_b64 s[8:9], 18
	s_mov_b32 s5, s9
	s_mov_b64 s[10:11], 12
	s_mov_b32 s4, s11
	s_cselect_b32 s4, s4, s5
                                        ; kill: def $sgpr8 killed $sgpr8 killed $sgpr8_sgpr9
	s_mov_b32 s5, s10
	s_cselect_b32 s8, s5, s8
                                        ; kill: def $sgpr8 killed $sgpr8 def $sgpr8_sgpr9
	s_mov_b32 s9, s4
	s_mov_b32 s4, s6
	s_mov_b32 s5, s7
	s_mov_b32 s7, s8
	s_mov_b32 s6, s9
	s_add_u32 s4, s4, s7
	s_addc_u32 s6, s5, s6
                                        ; kill: def $sgpr4 killed $sgpr4 def $sgpr4_sgpr5
	s_mov_b32 s5, s6
	v_mov_b32_e32 v0, 0
	global_load_ushort v0, v0, s[4:5]
	s_mov_b32 s4, 0xffff
	s_waitcnt vmcnt(0)
	v_and_b32_e64 v0, v0, s4
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	s_mov_b64 s[4:5], 0
	buffer_store_dword v0, off, s[0:3], s33 offset:40 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:44 ; 4-byte Folded Spill
	v_writelane_b32 v4, s4, 17
	v_writelane_b32 v4, s5, 18
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_branch .LBB11_7
.LBB11_10:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 9
	v_readlane_b32 s5, v4, 10
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:64 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:68 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:56 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:60 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v4, s4, 19
	v_writelane_b32 v4, s5, 20
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB11_22
; %bb.11:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, __oclc_ABI_version@rel32@lo+4
	s_addc_u32 s5, s5, __oclc_ABI_version@rel32@hi+12
	s_load_dword s8, s[4:5], 0x0
	s_mov_b64 s[4:5], -1
                                        ; implicit-def: $sgpr6_sgpr7
	s_mov_b32 s9, 0x1f3
	s_waitcnt lgkmcnt(0)
	s_cmp_gt_i32 s8, s9
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	buffer_store_dword v0, off, s[0:3], s33 offset:72 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:76 ; 4-byte Folded Spill
	s_waitcnt vmcnt(2)
	v_writelane_b32 v4, s4, 21
	v_writelane_b32 v4, s5, 22
	s_mov_b64 s[18:19], exec
	s_mov_b64 exec, -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_cbranch_scc1 .LBB11_14
.LBB11_12:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 21
	v_readlane_b32 s5, v4, 22
	buffer_load_dword v0, off, s[0:3], s33 offset:72 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:76 ; 4-byte Folded Reload
	v_cndmask_b32_e64 v2, 0, 1, s[4:5]
	s_mov_b32 s4, 1
	v_cmp_ne_u32_e64 s[4:5], v2, s4
	s_and_b64 vcc, exec, s[4:5]
                                        ; kill: def $vgpr0_vgpr1 killed $vgpr0_vgpr1 killed $exec
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:80 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:84 ; 4-byte Folded Spill
	s_cbranch_vccnz .LBB11_21
; %bb.13:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s5, v4, 1
	v_readlane_b32 s6, v4, 5
	v_readlane_b32 s7, v4, 6
	v_mov_b32_e32 v0, 0
	s_nop 3
	global_load_ushort v1, v0, s[6:7] offset:6
	s_load_dword s4, s[6:7], 0x10
	s_waitcnt vmcnt(0)
	v_mul_lo_u32 v0, s5, v1
	s_waitcnt lgkmcnt(0)
	v_sub_u32_e64 v0, s4, v0
	v_min_u32_e64 v0, v0, v1
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	buffer_store_dword v0, off, s[0:3], s33 offset:80 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:84 ; 4-byte Folded Spill
	s_branch .LBB11_21
.LBB11_14:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v4, 3
	v_readlane_b32 s7, v4, 4
	v_readlane_b32 s4, v4, 1
	s_load_dword s5, s[6:7], 0x4
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_u32 s4, s5
	s_mov_b64 s[8:9], 20
	s_mov_b32 s5, s9
	s_mov_b64 s[10:11], 14
	s_mov_b32 s4, s11
	s_cselect_b32 s4, s4, s5
                                        ; kill: def $sgpr8 killed $sgpr8 killed $sgpr8_sgpr9
	s_mov_b32 s5, s10
	s_cselect_b32 s8, s5, s8
                                        ; kill: def $sgpr8 killed $sgpr8 def $sgpr8_sgpr9
	s_mov_b32 s9, s4
	s_mov_b32 s4, s6
	s_mov_b32 s5, s7
	s_mov_b32 s7, s8
	s_mov_b32 s6, s9
	s_add_u32 s4, s4, s7
	s_addc_u32 s6, s5, s6
                                        ; kill: def $sgpr4 killed $sgpr4 def $sgpr4_sgpr5
	s_mov_b32 s5, s6
	v_mov_b32_e32 v0, 0
	global_load_ushort v0, v0, s[4:5]
	s_mov_b32 s4, 0xffff
	s_waitcnt vmcnt(0)
	v_and_b32_e64 v0, v0, s4
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	s_mov_b64 s[4:5], 0
	buffer_store_dword v0, off, s[0:3], s33 offset:72 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:76 ; 4-byte Folded Spill
	v_writelane_b32 v4, s4, 21
	v_writelane_b32 v4, s5, 22
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_branch .LBB11_12
.LBB11_15:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, __oclc_ABI_version@rel32@lo+4
	s_addc_u32 s5, s5, __oclc_ABI_version@rel32@hi+12
	s_load_dword s8, s[4:5], 0x0
	s_mov_b64 s[4:5], -1
                                        ; implicit-def: $sgpr6_sgpr7
	s_mov_b32 s9, 0x1f3
	s_waitcnt lgkmcnt(0)
	s_cmp_gt_i32 s8, s9
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	buffer_store_dword v0, off, s[0:3], s33 offset:88 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:92 ; 4-byte Folded Spill
	s_waitcnt vmcnt(2)
	v_writelane_b32 v4, s4, 23
	v_writelane_b32 v4, s5, 24
	s_mov_b64 s[18:19], exec
	s_mov_b64 exec, -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_cbranch_scc1 .LBB11_18
.LBB11_16:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 23
	v_readlane_b32 s5, v4, 24
	buffer_load_dword v0, off, s[0:3], s33 offset:88 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:92 ; 4-byte Folded Reload
	v_cndmask_b32_e64 v2, 0, 1, s[4:5]
	s_mov_b32 s4, 1
	v_cmp_ne_u32_e64 s[4:5], v2, s4
	s_and_b64 vcc, exec, s[4:5]
                                        ; kill: def $vgpr0_vgpr1 killed $vgpr0_vgpr1 killed $exec
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:96 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:100 ; 4-byte Folded Spill
	s_cbranch_vccnz .LBB11_19
; %bb.17:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s5, v4, 0
	v_readlane_b32 s6, v4, 5
	v_readlane_b32 s7, v4, 6
	v_mov_b32_e32 v0, 0
	s_nop 3
	global_load_ushort v1, v0, s[6:7] offset:8
	s_load_dword s4, s[6:7], 0x14
	s_waitcnt vmcnt(0)
	v_mul_lo_u32 v0, s5, v1
	s_waitcnt lgkmcnt(0)
	v_sub_u32_e64 v0, s4, v0
	v_min_u32_e64 v0, v0, v1
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	buffer_store_dword v0, off, s[0:3], s33 offset:96 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:100 ; 4-byte Folded Spill
	s_branch .LBB11_19
.LBB11_18:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v4, 3
	v_readlane_b32 s7, v4, 4
	v_readlane_b32 s4, v4, 0
	s_load_dword s5, s[6:7], 0x8
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_u32 s4, s5
	s_mov_b64 s[8:9], 22
	s_mov_b32 s5, s9
	s_mov_b64 s[10:11], 16
	s_mov_b32 s4, s11
	s_cselect_b32 s4, s4, s5
                                        ; kill: def $sgpr8 killed $sgpr8 killed $sgpr8_sgpr9
	s_mov_b32 s5, s10
	s_cselect_b32 s8, s5, s8
                                        ; kill: def $sgpr8 killed $sgpr8 def $sgpr8_sgpr9
	s_mov_b32 s9, s4
	s_mov_b32 s4, s6
	s_mov_b32 s5, s7
	s_mov_b32 s7, s8
	s_mov_b32 s6, s9
	s_add_u32 s4, s4, s7
	s_addc_u32 s6, s5, s6
                                        ; kill: def $sgpr4 killed $sgpr4 def $sgpr4_sgpr5
	s_mov_b32 s5, s6
	v_mov_b32_e32 v0, 0
	global_load_ushort v0, v0, s[4:5]
	s_mov_b32 s4, 0xffff
	s_waitcnt vmcnt(0)
	v_and_b32_e64 v0, v0, s4
	s_mov_b32 s4, 0
	v_mov_b32_e32 v2, 0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	s_mov_b64 s[4:5], 0
	buffer_store_dword v0, off, s[0:3], s33 offset:88 ; 4-byte Folded Spill
	s_nop 0
	buffer_store_dword v1, off, s[0:3], s33 offset:92 ; 4-byte Folded Spill
	v_writelane_b32 v4, s4, 23
	v_writelane_b32 v4, s5, 24
	s_or_saveexec_b64 s[18:19], -1
	buffer_store_dword v4, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[18:19]
	s_branch .LBB11_16
.LBB11_19:
	buffer_load_dword v0, off, s[0:3], s33 offset:96 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:100 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
.LBB11_20:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 11
	v_readlane_b32 s5, v4, 12
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:64 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:68 ; 4-byte Folded Spill
	s_branch .LBB11_10
.LBB11_21:
	buffer_load_dword v0, off, s[0:3], s33 offset:80 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:84 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:56 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:60 ; 4-byte Folded Spill
.LBB11_22:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 19
	v_readlane_b32 s5, v4, 20
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:56 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:60 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:24 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:28 ; 4-byte Folded Spill
	s_branch .LBB11_4
.LBB11_23:
	buffer_load_dword v0, off, s[0:3], s33 offset:48 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:52 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:32 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:36 ; 4-byte Folded Spill
.LBB11_24:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 15
	v_readlane_b32 s5, v4, 16
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:32 ; 4-byte Folded Reload
	buffer_load_dword v1, off, s[0:3], s33 offset:36 ; 4-byte Folded Reload
	s_waitcnt vmcnt(1)
	buffer_store_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
	s_waitcnt vmcnt(1)
	buffer_store_dword v1, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
.LBB11_25:
	s_or_saveexec_b64 s[18:19], -1
	buffer_load_dword v4, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[18:19]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v4, 13
	v_readlane_b32 s5, v4, 14
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v2, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	buffer_load_dword v3, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	s_mov_b32 s4, 32
	s_waitcnt vmcnt(0)
	v_lshrrev_b64 v[0:1], s4, v[2:3]
	v_mov_b32_e32 v1, v0
	v_mov_b32_e32 v0, v2
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v4, off, s[0:3], s33 offset:104 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s15
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end11:
	.size	__ockl_get_local_size, .Lfunc_end11-__ockl_get_local_size
                                        ; -- End function
	.set .L__ockl_get_local_size.num_vgpr, 5
	.set .L__ockl_get_local_size.num_agpr, 0
	.set .L__ockl_get_local_size.numbered_sgpr, 34
	.set .L__ockl_get_local_size.num_named_barrier, 0
	.set .L__ockl_get_local_size.private_seg_size, 112
	.set .L__ockl_get_local_size.uses_vcc, 1
	.set .L__ockl_get_local_size.uses_flat_scratch, 0
	.set .L__ockl_get_local_size.has_dyn_sized_stack, 0
	.set .L__ockl_get_local_size.has_recursion, 0
	.set .L__ockl_get_local_size.has_indirect_call, 0
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 3064
; TotalNumSgprs: 38
; NumVgprs: 5
; ScratchSize: 112
; MemoryBound: 0
	.text
	.p2align	2                               ; -- Begin function __ockl_get_group_id
	.type	__ockl_get_group_id,@function
__ockl_get_group_id:                    ; @__ockl_get_group_id
; %bb.0:
	s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
	s_mov_b32 s15, s33
	s_mov_b32 s33, s32
	s_xor_saveexec_b64 s[4:5], -1
	buffer_store_dword v2, off, s[0:3], s33 offset:32 ; 4-byte Folded Spill
	s_mov_b64 exec, s[4:5]
	s_add_i32 s32, s32, 0xa00
	buffer_store_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
                                        ; implicit-def: $vgpr2 : SGPR spill to VGPR lane
	v_writelane_b32 v2, s14, 0
	v_writelane_b32 v2, s13, 1
	v_writelane_b32 v2, s12, 2
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
; %bb.1:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 0
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
                                        ; implicit-def: $vgpr0
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v2, s6, 3
	v_writelane_b32 v2, s7, 4
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB12_4
; %bb.2:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s6, v2, 1
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 1
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e64 s[4:5], v0, s4
	v_mov_b32_e32 v0, s6
	buffer_store_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	s_mov_b64 s[6:7], exec
	s_and_b64 s[4:5], s[6:7], s[4:5]
	s_xor_b64 s[6:7], s[4:5], s[6:7]
	v_writelane_b32 v2, s6, 5
	v_writelane_b32 v2, s7, 6
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB12_7
; %bb.3:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	buffer_load_dword v0, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	s_mov_b32 s4, 2
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[6:7], v0, s4
	v_mov_b32_e32 v0, 0
	buffer_store_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v2, s4, 7
	v_writelane_b32 v2, s5, 8
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB12_10
	s_branch .LBB12_9
.LBB12_4:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 3
	v_readlane_b32 s5, v2, 4
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:20 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v2, s4, 9
	v_writelane_b32 v2, s5, 10
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB12_13
; %bb.5:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	buffer_load_dword v1, off, s[0:3], s33 offset:4 ; 4-byte Folded Reload
	v_mov_b32_e32 v0, 0
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s[6:7], v1, v0
	buffer_store_dword v0, off, s[0:3], s33 offset:24 ; 4-byte Folded Spill
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v2, s4, 11
	v_writelane_b32 v2, s5, 12
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB12_12
; %bb.6:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 2
	v_mov_b32_e32 v0, s4
	buffer_store_dword v0, off, s[0:3], s33 offset:24 ; 4-byte Folded Spill
	s_branch .LBB12_12
.LBB12_7:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 5
	v_readlane_b32 s5, v2, 6
	s_or_saveexec_b64 s[4:5], s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:28 ; 4-byte Folded Spill
	s_and_b64 s[4:5], exec, s[4:5]
	v_writelane_b32 v2, s4, 13
	v_writelane_b32 v2, s5, 14
	s_or_saveexec_b64 s[10:11], -1
	buffer_store_dword v2, off, s[0:3], s33 ; 4-byte Folded Spill
	s_mov_b64 exec, s[10:11]
	s_xor_b64 exec, exec, s[4:5]
	s_cbranch_execz .LBB12_11
; %bb.8:
	s_branch .LBB12_11
.LBB12_9:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 0
	v_mov_b32_e32 v0, s4
	buffer_store_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill
.LBB12_10:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 7
	v_readlane_b32 s5, v2, 8
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:12 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:8 ; 4-byte Folded Spill
	s_branch .LBB12_7
.LBB12_11:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 13
	v_readlane_b32 s5, v2, 14
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:28 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:20 ; 4-byte Folded Spill
	s_branch .LBB12_4
.LBB12_12:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 11
	v_readlane_b32 s5, v2, 12
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:24 ; 4-byte Folded Reload
	s_waitcnt vmcnt(0)
	buffer_store_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Spill
.LBB12_13:
	s_or_saveexec_b64 s[10:11], -1
	buffer_load_dword v2, off, s[0:3], s33  ; 4-byte Folded Reload
	s_mov_b64 exec, s[10:11]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v2, 9
	v_readlane_b32 s5, v2, 10
	s_or_b64 exec, exec, s[4:5]
	buffer_load_dword v0, off, s[0:3], s33 offset:16 ; 4-byte Folded Reload
	v_mov_b32_e32 v1, 0
	s_mov_b32 s32, s33
	s_xor_saveexec_b64 s[4:5], -1
	buffer_load_dword v2, off, s[0:3], s33 offset:32 ; 4-byte Folded Reload
	s_mov_b64 exec, s[4:5]
	s_mov_b32 s33, s15
	s_waitcnt vmcnt(0)
	s_setpc_b64 s[30:31]
.Lfunc_end12:
	.size	__ockl_get_group_id, .Lfunc_end12-__ockl_get_group_id
                                        ; -- End function
	.set .L__ockl_get_group_id.num_vgpr, 3
	.set .L__ockl_get_group_id.num_agpr, 0
	.set .L__ockl_get_group_id.numbered_sgpr, 34
	.set .L__ockl_get_group_id.num_named_barrier, 0
	.set .L__ockl_get_group_id.private_seg_size, 40
	.set .L__ockl_get_group_id.uses_vcc, 0
	.set .L__ockl_get_group_id.uses_flat_scratch, 0
	.set .L__ockl_get_group_id.has_dyn_sized_stack, 0
	.set .L__ockl_get_group_id.has_recursion, 0
	.set .L__ockl_get_group_id.has_indirect_call, 0
	.section	.AMDGPU.csdata,"",@progbits
; Function info:
; codeLenInByte = 1060
; TotalNumSgprs: 38
; NumVgprs: 3
; ScratchSize: 40
; MemoryBound: 0
	.text
	.protected	copy_ker                ; -- Begin function copy_ker
	.globl	copy_ker
	.p2align	8
	.type	copy_ker,@function
copy_ker:                               ; @copy_ker
; %bb.0:
	s_mov_b32 s33, 0
	s_mov_b32 s32, 0x1800
	s_add_u32 flat_scratch_lo, s12, s17
	s_addc_u32 flat_scratch_hi, s13, 0
	s_add_u32 s0, s0, s17
	s_addc_u32 s1, s1, 0
                                        ; implicit-def: $vgpr9 : SGPR spill to VGPR lane
	v_writelane_b32 v9, s16, 0
	s_mov_b32 s13, s15
	v_writelane_b32 v9, s13, 1
	s_mov_b32 s6, s14
	v_readlane_b32 s14, v9, 0
	v_writelane_b32 v9, s6, 2
	v_writelane_b32 v9, s8, 3
	v_writelane_b32 v9, s9, 4
	v_writelane_b32 v9, s4, 5
	v_writelane_b32 v9, s5, 6
	s_load_dwordx2 s[22:23], s[8:9], 0x0
	s_load_dwordx2 s[18:19], s[8:9], 0x8
	s_load_dwordx2 s[4:5], s[8:9], 0x10
	s_mov_b64 s[8:9], 0
	s_mov_b32 s25, s9
	s_mov_b32 s26, -1
	s_mov_b32 s7, 24
	s_cmp_lg_u32 s7, s26
	s_mov_b64 s[10:11], src_private_base
	s_mov_b32 s12, s11
	s_cselect_b32 s6, s12, s25
	s_mov_b32 s24, s8
	s_cselect_b32 s20, s7, s24
                                        ; kill: def $sgpr20 killed $sgpr20 def $sgpr20_sgpr21
	s_mov_b32 s21, s6
	s_mov_b32 s7, 32
	s_cmp_lg_u32 s7, s26
	s_cselect_b32 s6, s12, s25
	s_cselect_b32 s16, s7, s24
                                        ; kill: def $sgpr16 killed $sgpr16 def $sgpr16_sgpr17
	s_mov_b32 s17, s6
	s_mov_b32 s7, 40
	s_cmp_lg_u32 s7, s26
	s_cselect_b32 s6, s12, s25
	s_cselect_b32 s10, s7, s24
                                        ; kill: def $sgpr10 killed $sgpr10 def $sgpr10_sgpr11
	s_mov_b32 s11, s6
	s_mov_b64 s[6:7], s[10:11]
	v_writelane_b32 v9, s6, 7
	v_writelane_b32 v9, s7, 8
	s_mov_b32 s7, 48
	s_cmp_lg_u32 s7, s26
	s_cselect_b32 s6, s12, s25
	s_cselect_b32 s8, s7, s24
                                        ; kill: def $sgpr8 killed $sgpr8 def $sgpr8_sgpr9
	s_mov_b32 s9, s6
	s_mov_b64 s[6:7], s[8:9]
	v_writelane_b32 v9, s6, 9
	v_writelane_b32 v9, s7, 10
	s_mov_b32 s6, 56
	s_cmp_lg_u32 s6, s26
	s_cselect_b32 s15, s12, s25
	s_cselect_b32 s6, s6, s24
                                        ; kill: def $sgpr6 killed $sgpr6 def $sgpr6_sgpr7
	s_mov_b32 s7, s15
	v_writelane_b32 v9, s6, 11
	v_writelane_b32 v9, s7, 12
	s_mov_b32 s15, 64
	s_cmp_lg_u32 s15, s26
	s_cselect_b32 s12, s12, s25
	s_cselect_b32 s24, s15, s24
                                        ; kill: def $sgpr24 killed $sgpr24 def $sgpr24_sgpr25
	s_mov_b32 s25, s12
	v_writelane_b32 v9, s24, 13
	v_writelane_b32 v9, s25, 14
	v_writelane_b32 v9, s24, 15
	v_writelane_b32 v9, s25, 16
	v_mov_b32_e32 v3, s20
	v_mov_b32_e32 v4, s21
	s_waitcnt lgkmcnt(0)
	v_mov_b32_e32 v5, s22
	v_mov_b32_e32 v6, s23
	flat_store_dwordx2 v[3:4], v[5:6]
	v_mov_b32_e32 v3, s20
	v_mov_b32_e32 v4, s21
	flat_load_dwordx2 v[7:8], v[3:4]
	v_mov_b32_e32 v3, s16
	v_mov_b32_e32 v4, s17
	v_mov_b32_e32 v5, s18
	v_mov_b32_e32 v6, s19
	flat_store_dwordx2 v[3:4], v[5:6]
	v_mov_b32_e32 v3, s16
	v_mov_b32_e32 v4, s17
	flat_load_dwordx2 v[5:6], v[3:4]
	v_mov_b32_e32 v3, s10
	v_mov_b32_e32 v4, s11
	s_waitcnt vmcnt(0) lgkmcnt(0)
	flat_store_dwordx2 v[3:4], v[7:8]
	v_mov_b32_e32 v3, s8
	v_mov_b32_e32 v4, s9
	flat_store_dwordx2 v[3:4], v[5:6]
	v_mov_b32_e32 v3, s6
	v_mov_b32_e32 v4, s7
	v_mov_b32_e32 v6, s5
	v_mov_b32_e32 v5, s4
	flat_store_dwordx2 v[3:4], v[5:6]
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, __ockl_get_local_id@rel32@lo+4
	s_addc_u32 s5, s5, __ockl_get_local_id@rel32@hi+12
	s_mov_b64 s[10:11], s[2:3]
	s_mov_b64 s[8:9], s[0:1]
	s_mov_b32 s6, 20
	v_lshlrev_b32_e64 v2, s6, v2
	s_mov_b32 s6, 10
	v_lshlrev_b32_e64 v1, s6, v1
	v_or3_b32 v31, v0, v1, v2
	v_mov_b32_e32 v0, 0
	buffer_store_dword v0, off, s[0:3], s33 offset:84 ; 4-byte Folded Spill
	s_mov_b64 s[0:1], s[8:9]
	s_mov_b64 s[2:3], s[10:11]
	s_swappc_b64 s[30:31], s[4:5]
	v_readlane_b32 s6, v9, 3
	v_readlane_b32 s7, v9, 4
	v_readlane_b32 s4, v9, 5
	v_readlane_b32 s5, v9, 6
	v_readlane_b32 s12, v9, 2
	v_mov_b32_e32 v2, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:84 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v2, off, s[0:3], s33 offset:88 ; 4-byte Folded Spill
	v_mov_b32_e32 v3, v1
	buffer_load_dword v1, off, s[0:3], s33 offset:88 ; 4-byte Folded Reload
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	v_mov_b32_e32 v2, v3
                                        ; kill: def $vgpr1 killed $vgpr1 killed $vgpr1_vgpr2 killed $exec
	s_waitcnt vmcnt(0)
	buffer_store_dword v1, off, s[0:3], s33 offset:76 ; 4-byte Folded Spill
	s_mov_b64 s[10:11], 24
	s_mov_b32 s8, s6
	s_mov_b32 s6, s7
	s_mov_b32 s9, s10
	s_mov_b32 s7, s11
	s_add_u32 s8, s8, s9
	s_addc_u32 s6, s6, s7
                                        ; kill: def $sgpr8 killed $sgpr8 def $sgpr8_sgpr9
	s_mov_b32 s9, s6
	s_getpc_b64 s[6:7]
	s_add_u32 s6, s6, __ockl_get_local_size@rel32@lo+4
	s_addc_u32 s7, s7, __ockl_get_local_size@rel32@hi+12
	s_mov_b64 s[18:19], s[2:3]
	s_mov_b64 s[16:17], s[0:1]
	s_mov_b64 s[0:1], s[16:17]
	s_mov_b64 s[2:3], s[18:19]
	s_swappc_b64 s[30:31], s[6:7]
	v_readlane_b32 s14, v9, 0
	v_readlane_b32 s13, v9, 1
	v_readlane_b32 s12, v9, 2
	v_mov_b32_e32 v2, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:84 ; 4-byte Folded Reload
	s_nop 0
	buffer_store_dword v2, off, s[0:3], s33 offset:80 ; 4-byte Folded Spill
	v_mov_b32_e32 v3, v1
	buffer_load_dword v1, off, s[0:3], s33 offset:80 ; 4-byte Folded Reload
                                        ; kill: def $vgpr1 killed $vgpr1 def $vgpr1_vgpr2 killed $exec
	v_mov_b32_e32 v2, v3
                                        ; kill: def $vgpr1 killed $vgpr1 killed $vgpr1_vgpr2 killed $exec
	s_waitcnt vmcnt(0)
	buffer_store_dword v1, off, s[0:3], s33 offset:72 ; 4-byte Folded Spill
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, __ockl_get_group_id@rel32@lo+4
	s_addc_u32 s5, s5, __ockl_get_group_id@rel32@hi+12
	s_mov_b64 s[10:11], s[2:3]
	s_mov_b64 s[8:9], s[0:1]
	s_mov_b64 s[0:1], s[8:9]
	s_mov_b64 s[2:3], s[10:11]
	s_swappc_b64 s[30:31], s[4:5]
	buffer_load_dword v2, off, s[0:3], s33 offset:76 ; 4-byte Folded Reload
	v_readlane_b32 s6, v9, 13
	v_readlane_b32 s7, v9, 14
	v_readlane_b32 s4, v9, 11
	v_readlane_b32 s5, v9, 12
	v_mov_b32_e32 v3, v0
	buffer_load_dword v0, off, s[0:3], s33 offset:72 ; 4-byte Folded Reload
                                        ; kill: def $vgpr3 killed $vgpr3 def $vgpr3_vgpr4 killed $exec
	v_mov_b32_e32 v4, v1
	v_mov_b32_e32 v1, v3
                                        ; implicit-def: $sgpr8
                                        ; implicit-def: $sgpr9
	v_mov_b32_e32 v4, s8
                                        ; kill: def $vgpr2 killed $vgpr2 def $vgpr2_vgpr3 killed $exec
	v_mov_b32_e32 v3, v4
	s_waitcnt vmcnt(0)
	v_mad_u64_u32 v[0:1], s[8:9], v0, v1, v[2:3]
	v_mov_b32_e32 v2, v0
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_store_dword v[0:1], v2
	v_mov_b32_e32 v0, s6
	v_mov_b32_e32 v1, s7
	flat_load_dword v0, v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_ashrrev_i32_e64 v2, 31, v0
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	v_mov_b32_e32 v2, s4
	v_mov_b32_e32 v3, s5
	flat_load_dwordx2 v[2:3], v[2:3]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_cmp_lt_u64_e64 s[6:7], v[0:1], v[2:3]
	s_mov_b64 s[4:5], exec
	v_writelane_b32 v9, s4, 17
	v_writelane_b32 v9, s5, 18
	s_or_saveexec_b64 s[28:29], -1
	buffer_store_dword v9, off, s[0:3], s33 offset:68 ; 4-byte Folded Spill
	s_mov_b64 exec, s[28:29]
	s_and_b64 s[4:5], s[4:5], s[6:7]
	s_mov_b64 exec, s[4:5]
	s_cbranch_execz .LBB13_2
; %bb.1:
	s_or_saveexec_b64 s[28:29], -1
	buffer_load_dword v9, off, s[0:3], s33 offset:68 ; 4-byte Folded Reload
	s_mov_b64 exec, s[28:29]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v9, 9
	v_readlane_b32 s5, v9, 10
	v_readlane_b32 s6, v9, 15
	v_readlane_b32 s7, v9, 16
	v_readlane_b32 s8, v9, 7
	v_readlane_b32 s9, v9, 8
	v_mov_b32_e32 v0, s8
	v_mov_b32_e32 v1, s9
	flat_load_dwordx2 v[1:2], v[0:1]
	v_mov_b32_e32 v3, s6
	v_mov_b32_e32 v4, s7
	flat_load_dword v3, v[3:4]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_ashrrev_i32_e64 v0, 31, v3
                                        ; kill: def $vgpr3 killed $vgpr3 def $vgpr3_vgpr4 killed $exec
	v_mov_b32_e32 v4, v0
	s_mov_b32 s6, 2
	v_lshlrev_b64 v[5:6], s6, v[3:4]
	v_mov_b32_e32 v0, v1
	v_mov_b32_e32 v3, v5
	v_mov_b32_e32 v1, v2
	v_mov_b32_e32 v2, v6
	v_add_co_u32_e64 v0, s[6:7], v0, v3
	v_addc_co_u32_e64 v2, s[6:7], v1, v2, s[6:7]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v2
	flat_load_dword v2, v[0:1]
	v_mov_b32_e32 v0, s4
	v_mov_b32_e32 v1, s5
	flat_load_dwordx2 v[7:8], v[0:1]
	s_waitcnt vmcnt(0) lgkmcnt(0)
	v_mov_b32_e32 v0, v7
	v_mov_b32_e32 v4, v5
	v_mov_b32_e32 v1, v8
	v_mov_b32_e32 v3, v6
	v_add_co_u32_e64 v0, s[4:5], v0, v4
	v_addc_co_u32_e64 v3, s[4:5], v1, v3, s[4:5]
                                        ; kill: def $vgpr0 killed $vgpr0 def $vgpr0_vgpr1 killed $exec
	v_mov_b32_e32 v1, v3
	flat_store_dword v[0:1], v2
.LBB13_2:
	s_or_saveexec_b64 s[28:29], -1
	buffer_load_dword v9, off, s[0:3], s33 offset:68 ; 4-byte Folded Reload
	s_mov_b64 exec, s[28:29]
	s_waitcnt vmcnt(0)
	v_readlane_b32 s4, v9, 17
	v_readlane_b32 s5, v9, 18
	s_or_b64 exec, exec, s[4:5]
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel copy_ker
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 208
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_private_segment_buffer 1
		.amdhsa_user_sgpr_dispatch_ptr 1
		.amdhsa_user_sgpr_queue_ptr 1
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 1
		.amdhsa_user_sgpr_flat_scratch_init 1
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_system_sgpr_private_segment_wavefront_offset 1
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 32
		.amdhsa_next_free_sgpr 34
		.amdhsa_reserve_vcc 1
		.amdhsa_reserve_flat_scratch 1
		.amdhsa_reserve_xnack_mask 1
		.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_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_end13:
	.size	copy_ker, .Lfunc_end13-copy_ker
                                        ; -- End function
	.set copy_ker.num_vgpr, max(32, .L__ockl_get_local_id.num_vgpr, .L__ockl_get_local_size.num_vgpr, .L__ockl_get_group_id.num_vgpr)
	.set copy_ker.num_agpr, max(0, .L__ockl_get_local_id.num_agpr, .L__ockl_get_local_size.num_agpr, .L__ockl_get_group_id.num_agpr)
	.set copy_ker.numbered_sgpr, max(34, .L__ockl_get_local_id.numbered_sgpr, .L__ockl_get_local_size.numbered_sgpr, .L__ockl_get_group_id.numbered_sgpr)
	.set copy_ker.num_named_barrier, max(0, .L__ockl_get_local_id.num_named_barrier, .L__ockl_get_local_size.num_named_barrier, .L__ockl_get_group_id.num_named_barrier)
	.set copy_ker.private_seg_size, 96+max(.L__ockl_get_local_id.private_seg_size, .L__ockl_get_local_size.private_seg_size, .L__ockl_get_group_id.private_seg_size)
	.set copy_ker.uses_vcc, or(1, .L__ockl_get_local_id.uses_vcc, .L__ockl_get_local_size.uses_vcc, .L__ockl_get_group_id.uses_vcc)
	.set copy_ker.uses_flat_scratch, or(1, .L__ockl_get_local_id.uses_flat_scratch, .L__ockl_get_local_size.uses_flat_scratch, .L__ockl_get_group_id.uses_flat_scratch)
	.set copy_ker.has_dyn_sized_stack, or(0, .L__ockl_get_local_id.has_dyn_sized_stack, .L__ockl_get_local_size.has_dyn_sized_stack, .L__ockl_get_group_id.has_dyn_sized_stack)
	.set copy_ker.has_recursion, or(0, .L__ockl_get_local_id.has_recursion, .L__ockl_get_local_size.has_recursion, .L__ockl_get_group_id.has_recursion)
	.set copy_ker.has_indirect_call, or(0, .L__ockl_get_local_id.has_indirect_call, .L__ockl_get_local_size.has_indirect_call, .L__ockl_get_group_id.has_indirect_call)
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1352
; TotalNumSgprs: 40
; NumVgprs: 32
; ScratchSize: 208
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 4
; VGPRBlocks: 7
; NumSGPRsForWavesPerEU: 40
; NumVGPRsForWavesPerEU: 32
; Occupancy: 8
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 1
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.section	.AMDGPU.gpr_maximums,"",@progbits
	.set amdgpu.max_num_vgpr, 38
	.set amdgpu.max_num_agpr, 0
	.set amdgpu.max_num_sgpr, 47
	.section	.AMDGPU.csdata,"",@progbits
	.type	__const.__assert_fail.fmt,@object ; @__const.__assert_fail.fmt
	.section	.rodata.str1.16,"aMS",@progbits,1
	.p2align	4, 0x0
__const.__assert_fail.fmt:
	.asciz	"%s:%u: %s: Device-side assertion `%s' failed.\n"
	.size	__const.__assert_fail.fmt, 47

	.protected	threadIdx
	.protected	blockDim
	.protected	blockIdx
	.type	__hip_cuid_9a2f607595525247,@object ; @__hip_cuid_9a2f607595525247
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_9a2f607595525247
__hip_cuid_9a2f607595525247:
	.byte	0                               ; 0x0
	.size	__hip_cuid_9a2f607595525247, 1

	.type	__oclc_ISA_version,@object      ; @__oclc_ISA_version
	.section	.rodata,"a",@progbits
	.p2align	2, 0x0
__oclc_ISA_version:
	.long	9006                            ; 0x232e
	.size	__oclc_ISA_version, 4

	.type	__oclc_ABI_version,@object      ; @__oclc_ABI_version
	.p2align	2, 0x0
__oclc_ABI_version:
	.long	500                             ; 0x1f4
	.size	__oclc_ABI_version, 4

	.weak	threadIdx
	.weak	blockDim
	.weak	blockIdx
	.ident	"AMD clang version 22.0.0git (https://github.com/ROCm/llvm-project.git 8e85e3138dd485c4221cc12aff9eb60ab48ed3b5+PATCHED:371bd8145f7e4d1d481987d05427c94e17708b91)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __ockl_get_local_id
	.addrsig_sym __ockl_fprintf_stderr_begin
	.addrsig_sym __ockl_fprintf_append_args
	.addrsig_sym __ockl_fprintf_append_string_n
	.addrsig_sym __ockl_get_local_size
	.addrsig_sym __ockl_get_group_id
	.addrsig_sym threadIdx
	.addrsig_sym blockDim
	.addrsig_sym blockIdx
	.addrsig_sym __hip_cuid_9a2f607595525247
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           8
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
      - .offset:         104
        .size:           8
        .value_kind:     hidden_hostcall_buffer
      - .offset:         112
        .size:           8
        .value_kind:     hidden_multigrid_sync_arg
      - .offset:         120
        .size:           8
        .value_kind:     hidden_heap_v1
      - .offset:         128
        .size:           8
        .value_kind:     hidden_default_queue
      - .offset:         136
        .size:           8
        .value_kind:     hidden_completion_action
      - .offset:         224
        .size:           8
        .value_kind:     hidden_queue_ptr
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           copy_ker
    .private_segment_fixed_size: 208
    .sgpr_count:     40
    .sgpr_spill_count: 19
    .symbol:         copy_ker.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     32
    .vgpr_spill_count: 6
    .wavefront_size: 64
amdhsa.target:   amdgcn-amd-amdhsa--gfx906
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata

# __CLANG_OFFLOAD_BUNDLE____END__ hip-amdgcn-amd-amdhsa--gfx906

# __CLANG_OFFLOAD_BUNDLE____START__ host-x86_64-unknown-linux-gnu-
	.file	"copyKernel.cc"
	.text
	.globl	__device_stub__copy_ker         # -- Begin function __device_stub__copy_ker
	.p2align	4
	.type	__device_stub__copy_ker,@function
__device_stub__copy_ker:                # @__device_stub__copy_ker
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$144, %rsp
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	%rdx, -24(%rbp)
	leaq	-8(%rbp), %rax
	movq	%rax, -128(%rbp)
	leaq	-16(%rbp), %rax
	movq	%rax, -120(%rbp)
	leaq	-24(%rbp), %rax
	movq	%rax, -112(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	callq	__hipPopCallConfiguration@PLT
	movq	-64(%rbp), %r10
	movq	-72(%rbp), %rax
	movq	-40(%rbp), %rcx
	movq	%rcx, -88(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, -80(%rbp)
	movq	-88(%rbp), %rsi
	movl	-80(%rbp), %edx
	movq	-56(%rbp), %rcx
	movq	%rcx, -104(%rbp)
	movl	-48(%rbp), %ecx
	movl	%ecx, -96(%rbp)
	movq	-104(%rbp), %rcx
	movl	-96(%rbp), %r8d
	movq	copy_ker@GOTPCREL(%rip), %rdi
	leaq	-128(%rbp), %r9
	movq	%r10, (%rsp)
	movq	%rax, 8(%rsp)
	callq	hipLaunchKernel@PLT
# %bb.1:
	addq	$144, %rsp
	popq	%rbp
	.cfi_def_cfa %rsp, 8
	retq
.Lfunc_end0:
	.size	__device_stub__copy_ker, .Lfunc_end0-__device_stub__copy_ker
	.cfi_endproc
                                        # -- End function
	.p2align	4                               # -- Begin function __hip_register_globals
	.type	__hip_register_globals,@function
__hip_register_globals:                 # @__hip_register_globals
	.cfi_startproc
# %bb.0:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	copy_ker@GOTPCREL(%rip), %rsi
	leaq	.L__unnamed_1(%rip), %rcx
	movl	$4294967295, %r8d               # imm = 0xFFFFFFFF
	xorl	%eax, %eax
	movl	%eax, %r9d
	movq	%rcx, %rdx
	movq	$0, (%rsp)
	movq	$0, 8(%rsp)
	movq	$0, 16(%rsp)
	movq	$0, 24(%rsp)
	callq	__hipRegisterFunction@PLT
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	__hip_register_globals, .Lfunc_end1-__hip_register_globals
	.cfi_endproc
                                        # -- End function
	.p2align	4                               # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	cmpq	$0, __hip_gpubin_handle_9a2f607595525247(%rip)
	jne	.LBB2_2
# %bb.1:
	leaq	__hip_fatbin_wrapper(%rip), %rdi
	callq	__hipRegisterFatBinary@PLT
	movq	%rax, __hip_gpubin_handle_9a2f607595525247(%rip)
.LBB2_2:
	movq	__hip_gpubin_handle_9a2f607595525247(%rip), %rdi
	callq	__hip_register_globals
	leaq	__hip_module_dtor(%rip), %rdi
	callq	atexit@PLT
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	__hip_module_ctor, .Lfunc_end2-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4                               # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	__hip_gpubin_handle_9a2f607595525247(%rip), %rax
	movq	%rax, (%rsp)                    # 8-byte Spill
	cmpq	$0, %rax
	je	.LBB3_2
# %bb.1:
	movq	(%rsp), %rdi                    # 8-byte Reload
	callq	__hipUnregisterFatBinary@PLT
	movq	$0, __hip_gpubin_handle_9a2f607595525247(%rip)
.LBB3_2:
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	__hip_module_dtor, .Lfunc_end3-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	copy_ker,@object                # @copy_ker
	.section	.data.rel.ro,"aw",@progbits
	.globl	copy_ker
	.p2align	3, 0x0
copy_ker:
	.quad	__device_stub__copy_ker
	.size	copy_ker, 8

	.type	.L__unnamed_1,@object           # @0
	.section	.rodata.str1.1,"aMS",@progbits,1
.L__unnamed_1:
	.asciz	"copy_ker"
	.size	.L__unnamed_1, 9

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

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

	.ident	"AMD clang version 22.0.0git (https://github.com/ROCm/llvm-project.git 8e85e3138dd485c4221cc12aff9eb60ab48ed3b5+PATCHED:371bd8145f7e4d1d481987d05427c94e17708b91)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __device_stub__copy_ker
	.addrsig_sym __hipPopCallConfiguration
	.addrsig_sym hipLaunchKernel
	.addrsig_sym __hip_register_globals
	.addrsig_sym __hipRegisterFunction
	.addrsig_sym __hipRegisterFatBinary
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hipUnregisterFatBinary
	.addrsig_sym __hip_module_dtor
	.addrsig_sym atexit
	.addrsig_sym copy_ker
	.addrsig_sym __hip_fatbin_9a2f607595525247
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_gpubin_handle_9a2f607595525247
	.addrsig_sym __hip_cuid_9a2f607595525247

# __CLANG_OFFLOAD_BUNDLE____END__ host-x86_64-unknown-linux-gnu-
