	.file	"extr_gfx_v6_0.c_gfx_v6_0_get_rb_active_bitmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gfx_v6_0_get_rb_active_bitmap, @function
gfx_v6_0_get_rb_active_bitmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR mmCC_RB_BACKEND_DISABLE[rip]
	call	RREG32@PLT
	mov	edi, DWORD PTR mmGC_USER_RB_BACKEND_DISABLE[rip]
	mov	ebx, eax
	call	RREG32@PLT
	mov	edx, DWORD PTR BACKEND_DISABLE[rip]
	mov	esi, DWORD PTR GC_USER_RB_BACKEND_DISABLE[rip]
	or	ebx, eax
	mov	edi, ebx
	call	REG_GET_FIELD@PLT
	mov	ebx, eax
	mov	eax, DWORD PTR 0[rbp]
	not	ebx
	cdq
	idiv	DWORD PTR 4[rbp]
	mov	edi, eax
	call	amdgpu_gfx_create_bitmask@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	and	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	gfx_v6_0_get_rb_active_bitmap, .-gfx_v6_0_get_rb_active_bitmap
	.comm	mmGC_USER_RB_BACKEND_DISABLE,4,4
	.comm	mmCC_RB_BACKEND_DISABLE,4,4
	.comm	GC_USER_RB_BACKEND_DISABLE,4,4
	.comm	BACKEND_DISABLE,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_gfx_v6_0.c_gfx_v6_0_get_rb_active_bitmap.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gfx_v6_0_get_rb_active_bitmap, %function
gfx_v6_0_get_rb_active_bitmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r3]
	bl	RREG32
	ldr	r3, .L4+4
	mov	r5, r0
	ldr	r0, [r3]
	bl	RREG32
	ldr	r3, .L4+8
	ldr	r2, .L4+12
	ldr	r1, [r3]
	ldr	r2, [r2]
	orr	r0, r5, r0
	bl	REG_GET_FIELD
	mov	r3, r0
	ldm	r4, {r0, r1}
	mov	r4, r3
	bl	__aeabi_idiv
	bl	amdgpu_gfx_create_bitmask
	bic	r0, r0, r4
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	mmCC_RB_BACKEND_DISABLE
	.word	mmGC_USER_RB_BACKEND_DISABLE
	.word	GC_USER_RB_BACKEND_DISABLE
	.word	BACKEND_DISABLE
	.size	gfx_v6_0_get_rb_active_bitmap, .-gfx_v6_0_get_rb_active_bitmap
	.comm	mmGC_USER_RB_BACKEND_DISABLE,4,4
	.comm	mmCC_RB_BACKEND_DISABLE,4,4
	.comm	GC_USER_RB_BACKEND_DISABLE,4,4
	.comm	BACKEND_DISABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
