	.file	"extr_radeon_irq.c_radeon_irq_wait.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"called with no initialization\n"
	.text
	.p2align 4
	.globl	radeon_irq_wait
	.type	radeon_irq_wait, @function
radeon_irq_wait:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L10
	mov	eax, DWORD PTR [rax]
	and	eax, DWORD PTR RADEON_FAMILY_MASK[rip]
	cmp	eax, DWORD PTR CHIP_R600[rip]
	jl	.L4
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR [rsi]
	jmp	radeon_wait_irq@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	radeon_irq_wait, .-radeon_irq_wait
	.comm	RADEON_FAMILY_MASK,4,4
	.comm	EINVAL,4,4
	.comm	CHIP_R600,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_radeon_irq.c_radeon_irq_wait.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"called with no initialization\012\000"
	.text
	.align	2
	.global	radeon_irq_wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_irq_wait, %function
radeon_irq_wait:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L10
	ldr	ip, .L11
	ldr	r2, .L11+4
	ldr	r3, [r3]
	ldr	ip, [ip]
	ldr	r2, [r2]
	and	r3, r3, ip
	cmp	r3, r2
	blt	.L4
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L4:
	ldr	r1, [r1]
	b	radeon_wait_irq
.L10:
	push	{r4, lr}
	ldr	r0, .L11+12
	bl	DRM_ERROR
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	RADEON_FAMILY_MASK
	.word	CHIP_R600
	.word	EINVAL
	.word	.LC0
	.size	radeon_irq_wait, .-radeon_irq_wait
	.comm	RADEON_FAMILY_MASK,4,4
	.comm	EINVAL,4,4
	.comm	CHIP_R600,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
