	.file	"extr_cik.c_cik_get_cu_active_bitmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cik_get_cu_active_bitmap, @function
cik_get_cu_active_bitmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	cik_select_se_sh@PLT
	mov	edi, DWORD PTR CC_GC_SHADER_ARRAY_CONFIG[rip]
	call	RREG32@PLT
	mov	edi, DWORD PTR GC_USER_SHADER_ARRAY_CONFIG[rip]
	mov	r12d, eax
	call	RREG32@PLT
	mov	edx, -1
	mov	esi, -1
	mov	rdi, rbp
	mov	ebx, eax
	call	cik_select_se_sh@PLT
	mov	eax, r12d
	mov	ecx, DWORD PTR 0[rbp]
	xor	ax, ax
	or	eax, ebx
	sar	eax, 16
	test	ecx, ecx
	jle	.L4
	not	eax
	xor	edx, edx
	mov	ebx, eax
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L3:
	add	edx, 1
	lea	eax, 1[rax+rax]
	cmp	edx, ecx
	jne	.L3
	and	eax, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cik_get_cu_active_bitmap, .-cik_get_cu_active_bitmap
	.comm	GC_USER_SHADER_ARRAY_CONFIG,4,4
	.comm	CC_GC_SHADER_ARRAY_CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cik.c_cik_get_cu_active_bitmap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cik_get_cu_active_bitmap, %function
cik_get_cu_active_bitmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	bl	cik_select_se_sh
	ldr	r3, .L8
	ldr	r0, [r3]
	bl	RREG32
	ldr	r3, .L8+4
	mov	r4, r0
	ldr	r0, [r3]
	bl	RREG32
	mvn	r2, #0
	mov	r5, r0
	mov	r1, r2
	mov	r0, r6
	bl	cik_select_se_sh
	ldr	r2, [r6]
	lsr	r3, r4, #16
	lsl	r3, r3, #16
	cmp	r2, #0
	orr	r3, r5, r3
	ble	.L4
	mvn	r5, r3, asr #16
	mov	r3, #0
	mov	r0, r3
.L3:
	add	r3, r3, #1
	lsl	r0, r0, #1
	cmp	r3, r2
	orr	r0, r0, #1
	bne	.L3
	and	r0, r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	CC_GC_SHADER_ARRAY_CONFIG
	.word	GC_USER_SHADER_ARRAY_CONFIG
	.size	cik_get_cu_active_bitmap, .-cik_get_cu_active_bitmap
	.comm	GC_USER_SHADER_ARRAY_CONFIG,4,4
	.comm	CC_GC_SHADER_ARRAY_CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
