	.file	"extr_r100.c_r100_irq_ack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	r100_irq_ack, @function
r100_irq_ack:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR RADEON_GEN_INT_STATUS[rip]
	call	RREG32@PLT
	mov	ebx, DWORD PTR RADEON_SW_INT_TEST[rip]
	or	ebx, DWORD PTR RADEON_CRTC_VBLANK_STAT[rip]
	mov	ebp, eax
	or	ebx, DWORD PTR RADEON_CRTC2_VBLANK_STAT[rip]
	or	ebx, DWORD PTR RADEON_FP_DETECT_STAT[rip]
	or	ebx, DWORD PTR RADEON_FP2_DETECT_STAT[rip]
	test	eax, eax
	jne	.L8
	mov	eax, ebp
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	and	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR RADEON_GEN_INT_STATUS[rip]
	mov	esi, eax
	call	WREG32@PLT
	mov	eax, ebp
	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	r100_irq_ack, .-r100_irq_ack
	.comm	RADEON_SW_INT_TEST,4,4
	.comm	RADEON_GEN_INT_STATUS,4,4
	.comm	RADEON_FP_DETECT_STAT,4,4
	.comm	RADEON_FP2_DETECT_STAT,4,4
	.comm	RADEON_CRTC_VBLANK_STAT,4,4
	.comm	RADEON_CRTC2_VBLANK_STAT,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_r100.c_r100_irq_ack.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	r100_irq_ack, %function
r100_irq_ack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L9
	ldr	r0, [r6]
	bl	RREG32
	ldr	r2, .L9+4
	ldr	r3, .L9+8
	ldr	r1, [r2]
	ldr	ip, .L9+12
	ldr	r3, [r3]
	ldr	r2, .L9+16
	ldr	r4, [ip]
	orr	r3, r3, r1
	ldr	r1, .L9+20
	ldr	r2, [r2]
	orr	r3, r3, r4
	ldr	r4, [r1]
	orr	r3, r3, r2
	subs	r5, r0, #0
	orr	r4, r3, r4
	bne	.L8
	and	r0, r5, r4
	pop	{r4, r5, r6, pc}
.L8:
	mov	r1, r5
	ldr	r0, [r6]
	bl	WREG32
	and	r0, r5, r4
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	RADEON_GEN_INT_STATUS
	.word	RADEON_CRTC_VBLANK_STAT
	.word	RADEON_SW_INT_TEST
	.word	RADEON_CRTC2_VBLANK_STAT
	.word	RADEON_FP_DETECT_STAT
	.word	RADEON_FP2_DETECT_STAT
	.size	r100_irq_ack, .-r100_irq_ack
	.comm	RADEON_SW_INT_TEST,4,4
	.comm	RADEON_GEN_INT_STATUS,4,4
	.comm	RADEON_FP_DETECT_STAT,4,4
	.comm	RADEON_FP2_DETECT_STAT,4,4
	.comm	RADEON_CRTC_VBLANK_STAT,4,4
	.comm	RADEON_CRTC2_VBLANK_STAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
