	.file	"extr_gfx_v9_0.c_gfx_v9_0_set_priv_reg_fault_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gfx_v9_0_set_priv_reg_fault_state, @function
gfx_v9_0_set_priv_reg_fault_state:
.LFB0:
	.cfi_startproc
	endbr64
	lea	eax, -128[rcx]
	cmp	eax, 1
	jbe	.L8
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	r8d, r8d
	mov	edx, DWORD PTR CP_INT_CNTL_RING0[rip]
	cmp	ecx, 128
	mov	edi, DWORD PTR GC[rip]
	mov	ecx, DWORD PTR PRIV_REG_INT_ENABLE[rip]
	sete	r8b
	xor	esi, esi
	call	WREG32_FIELD15@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	gfx_v9_0_set_priv_reg_fault_state, .-gfx_v9_0_set_priv_reg_fault_state
	.comm	PRIV_REG_INT_ENABLE,4,4
	.comm	GC,4,4
	.comm	CP_INT_CNTL_RING0,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_v9_0.c_gfx_v9_0_set_priv_reg_fault_state.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gfx_v9_0_set_priv_reg_fault_state, %function
gfx_v9_0_set_priv_reg_fault_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r2, r3, #128
	cmp	r2, #1
	bls	.L8
	mov	r0, #0
	bx	lr
.L8:
	sub	r3, r3, #128
	clz	r3, r3
	str	lr, [sp, #-4]!
	ldr	r0, .L9
	sub	sp, sp, #12
	ldr	r1, .L9+4
	lsr	r3, r3, #5
	ldr	r2, .L9+8
	str	r3, [sp]
	ldr	r3, [r0]
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r1, #0
	bl	WREG32_FIELD15
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L10:
	.align	2
.L9:
	.word	PRIV_REG_INT_ENABLE
	.word	GC
	.word	CP_INT_CNTL_RING0
	.size	gfx_v9_0_set_priv_reg_fault_state, .-gfx_v9_0_set_priv_reg_fault_state
	.comm	PRIV_REG_INT_ENABLE,4,4
	.comm	GC,4,4
	.comm	CP_INT_CNTL_RING0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
