	.file	"extr_gfx_v8_0.c_gfx_v8_0_late_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"amdgpu_irq_get() failed to get IRQ for EDC, r: %d.\n"
	.align 8
.LC1:
	.string	"amdgpu_irq_get() failed to get IRQ for SQ, r: %d.\n"
	.text
	.p2align 4
	.type	gfx_v8_0_late_init, @function
gfx_v8_0_late_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, 12[rdi]
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	amdgpu_irq_get@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rsi, 8[rbp]
	xor	edx, edx
	mov	rdi, rbp
	call	amdgpu_irq_get@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	call	gfx_v8_0_do_edc_gpr_workarounds@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	lea	rsi, 4[rbp]
	xor	edx, edx
	mov	rdi, rbp
	call	amdgpu_irq_get@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, rbp
	call	amdgpu_irq_get@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	esi, eax
	lea	rdi, .LC1[rip]
	call	DRM_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, eax
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	gfx_v8_0_late_init, .-gfx_v8_0_late_init
	.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_v8_0.c_gfx_v8_0_late_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"amdgpu_irq_get() failed to get IRQ for EDC, r: %d.\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"amdgpu_irq_get() failed to get IRQ for SQ, r: %d.\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gfx_v8_0_late_init, %function
gfx_v8_0_late_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r2, #0
	sub	sp, sp, #8
	add	r1, r0, #12
	mov	r4, r0
	bl	amdgpu_irq_get
	subs	r2, r0, #0
	beq	.L9
.L1:
	mov	r0, r2
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L9:
	mov	r0, r4
	add	r1, r4, #8
	bl	amdgpu_irq_get
	subs	r2, r0, #0
	bne	.L1
	mov	r0, r4
	bl	gfx_v8_0_do_edc_gpr_workarounds
	subs	r2, r0, #0
	bne	.L1
	mov	r0, r4
	add	r1, r4, #4
	bl	amdgpu_irq_get
	subs	r2, r0, #0
	bne	.L10
	mov	r1, r4
	mov	r0, r4
	bl	amdgpu_irq_get
	subs	r2, r0, #0
	beq	.L1
	mov	r1, r2
	ldr	r0, .L11
	str	r2, [sp, #4]
	bl	DRM_ERROR
	ldr	r2, [sp, #4]
	b	.L1
.L10:
	mov	r1, r2
	ldr	r0, .L11+4
	str	r2, [sp, #4]
	bl	DRM_ERROR
	ldr	r2, [sp, #4]
	b	.L1
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	.LC0
	.size	gfx_v8_0_late_init, .-gfx_v8_0_late_init
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
