	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gfx_v10_0_get_cu_active_bitmap_per_sh
LCPI0_0:
	.long	2048                            ## 0x800
	.long	1024                            ## 0x400
	.long	512                             ## 0x200
	.long	256                             ## 0x100
LCPI0_1:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	1                               ## 0x1
LCPI0_2:
	.long	32768                           ## 0x8000
	.long	16384                           ## 0x4000
	.long	8192                            ## 0x2000
	.long	4096                            ## 0x1000
LCPI0_3:
	.long	128                             ## 0x80
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.long	16                              ## 0x10
LCPI0_4:
	.long	49152                           ## 0xc000
	.long	12288                           ## 0x3000
	.long	3072                            ## 0xc00
	.long	768                             ## 0x300
LCPI0_5:
	.long	3221225472                      ## 0xc0000000
	.long	805306368                       ## 0x30000000
	.long	201326592                       ## 0xc000000
	.long	50331648                        ## 0x3000000
LCPI0_6:
	.long	192                             ## 0xc0
	.long	48                              ## 0x30
	.long	12                              ## 0xc
	.long	3                               ## 0x3
LCPI0_7:
	.long	12582912                        ## 0xc00000
	.long	3145728                         ## 0x300000
	.long	786432                          ## 0xc0000
	.long	196608                          ## 0x30000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gfx_v10_0_get_cu_active_bitmap_per_sh: ## @gfx_v10_0_get_cu_active_bitmap_per_sh
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_gfx_v10_0_get_wgp_active_bitmap_per_sh
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm1                ## xmm1 = xmm0[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [2048,1024,512,256]
	movdqa	%xmm1, %xmm0
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [8,4,2,1]
	movdqa	%xmm1, %xmm4
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [32768,16384,8192,4096]
	movdqa	%xmm1, %xmm6
	movdqa	LCPI0_3(%rip), %xmm7            ## xmm7 = [128,64,32,16]
	pand	%xmm7, %xmm1
	pcmpeqd	%xmm7, %xmm1
	pand	LCPI0_4(%rip), %xmm1
	pand	%xmm5, %xmm6
	pcmpeqd	%xmm5, %xmm6
	pand	LCPI0_5(%rip), %xmm6
	pand	%xmm3, %xmm4
	pcmpeqd	%xmm3, %xmm4
	pand	LCPI0_6(%rip), %xmm4
	pand	%xmm2, %xmm0
	pcmpeqd	%xmm2, %xmm0
	pand	LCPI0_7(%rip), %xmm0
	por	%xmm1, %xmm6
	por	%xmm4, %xmm0
	por	%xmm6, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gfx_v10_0_get_cu_active_bitmap_per_sh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function gfx_v10_0_get_cu_active_bitmap_per_sh
lCPI0_0:
	.long	128                             ; 0x80
	.long	64                              ; 0x40
	.long	32                              ; 0x20
	.long	16                              ; 0x10
lCPI0_1:
	.long	32768                           ; 0x8000
	.long	16384                           ; 0x4000
	.long	8192                            ; 0x2000
	.long	4096                            ; 0x1000
lCPI0_2:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	1                               ; 0x1
lCPI0_3:
	.long	2048                            ; 0x800
	.long	1024                            ; 0x400
	.long	512                             ; 0x200
	.long	256                             ; 0x100
lCPI0_4:
	.long	49152                           ; 0xc000
	.long	12288                           ; 0x3000
	.long	3072                            ; 0xc00
	.long	768                             ; 0x300
lCPI0_5:
	.long	3221225472                      ; 0xc0000000
	.long	805306368                       ; 0x30000000
	.long	201326592                       ; 0xc000000
	.long	50331648                        ; 0x3000000
lCPI0_6:
	.long	192                             ; 0xc0
	.long	48                              ; 0x30
	.long	12                              ; 0xc
	.long	3                               ; 0x3
lCPI0_7:
	.long	12582912                        ; 0xc00000
	.long	3145728                         ; 0x300000
	.long	786432                          ; 0xc0000
	.long	196608                          ; 0x30000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_gfx_v10_0_get_cu_active_bitmap_per_sh: ; @gfx_v10_0_get_cu_active_bitmap_per_sh
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_gfx_v10_0_get_wgp_active_bitmap_per_sh
	dup.4s	v0, w0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	and.16b	v1, v0, v1
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	q2, [x8, lCPI0_1@PAGEOFF]
	and.16b	v2, v0, v2
Lloh4:
	adrp	x8, lCPI0_2@PAGE
Lloh5:
	ldr	q3, [x8, lCPI0_2@PAGEOFF]
	and.16b	v3, v0, v3
Lloh6:
	adrp	x8, lCPI0_3@PAGE
Lloh7:
	ldr	q4, [x8, lCPI0_3@PAGEOFF]
	and.16b	v0, v0, v4
	cmeq.4s	v0, v0, #0
	cmeq.4s	v3, v3, #0
	cmeq.4s	v2, v2, #0
	cmeq.4s	v1, v1, #0
Lloh8:
	adrp	x8, lCPI0_4@PAGE
Lloh9:
	ldr	q4, [x8, lCPI0_4@PAGEOFF]
	bic.16b	v1, v4, v1
Lloh10:
	adrp	x8, lCPI0_5@PAGE
Lloh11:
	ldr	q4, [x8, lCPI0_5@PAGEOFF]
	bic.16b	v2, v4, v2
Lloh12:
	adrp	x8, lCPI0_6@PAGE
Lloh13:
	ldr	q4, [x8, lCPI0_6@PAGEOFF]
	bic.16b	v3, v4, v3
Lloh14:
	adrp	x8, lCPI0_7@PAGE
Lloh15:
	ldr	q4, [x8, lCPI0_7@PAGEOFF]
	bic.16b	v0, v4, v0
	orr.16b	v0, v0, v3
	orr.16b	v1, v2, v1
	orr.16b	v0, v1, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w8, v0[1]
	fmov	w9, s0
	orr	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gfx_v10_0_get_cu_active_bitmap_per_sh
.subsections_via_symbols
