	.file	"extr_backing_ops.c_spu_backing_mbox_stat_poll.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spu_backing_mbox_stat_poll, @function
spu_backing_mbox_stat_poll:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	spin_lock_irq@PLT
	mov	eax, DWORD PTR EPOLLIN[rip]
	mov	edx, DWORD PTR 12[rbp]
	or	eax, DWORD PTR EPOLLRDNORM[rip]
	mov	r12d, eax
	and	r12d, ebx
	je	.L2
	mov	r12d, edx
	and	r12d, 16711680
	je	.L14
	mov	r12d, eax
.L2:
	mov	eax, DWORD PTR EPOLLOUT[rip]
	or	eax, DWORD PTR EPOLLWRNORM[rip]
	test	eax, ebx
	je	.L3
	and	dh, -1
	je	.L15
	mov	r12d, eax
.L3:
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	eax, DWORD PTR CLASS2_MAILBOX_THRESHOLD_INTR[rip]
	mov	rdi, rbp
	not	eax
	and	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR CLASS2_ENABLE_MAILBOX_THRESHOLD_INTR[rip]
	or	DWORD PTR 4[rbp], eax
	call	spin_unlock_irq@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	eax, DWORD PTR CLASS2_MAILBOX_INTR[rip]
	not	eax
	and	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR CLASS2_ENABLE_MAILBOX_INTR[rip]
	or	DWORD PTR 4[rbp], eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	spu_backing_mbox_stat_poll, .-spu_backing_mbox_stat_poll
	.comm	EPOLLWRNORM,4,4
	.comm	EPOLLRDNORM,4,4
	.comm	EPOLLOUT,4,4
	.comm	EPOLLIN,4,4
	.comm	CLASS2_MAILBOX_THRESHOLD_INTR,4,4
	.comm	CLASS2_MAILBOX_INTR,4,4
	.comm	CLASS2_ENABLE_MAILBOX_THRESHOLD_INTR,4,4
	.comm	CLASS2_ENABLE_MAILBOX_INTR,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_backing_ops.c_spu_backing_mbox_stat_poll.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spu_backing_mbox_stat_poll, %function
spu_backing_mbox_stat_poll:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	bl	spin_lock_irq
	ldr	r2, .L16
	ldr	r3, .L16+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r4, #12]
	orr	r3, r3, r1
	ands	r6, r3, r5
	beq	.L2
	ands	r6, r2, #16711680
	movne	r6, r3
	beq	.L14
.L2:
	ldr	r3, .L16+8
	ldr	r1, .L16+12
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r1
	tst	r3, r5
	beq	.L3
	tst	r2, #65280
	movne	r6, r3
	beq	.L15
.L3:
	mov	r0, r4
	bl	spin_unlock_irq
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L15:
	ldr	r2, .L16+16
	ldr	r3, .L16+20
	ldr	r0, [r2]
	ldr	r1, [r3]
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	bic	r2, r2, r0
	orr	r3, r3, r1
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	b	.L3
.L14:
	ldr	r3, .L16+24
	ldr	r1, [r4, #8]
	ldr	r3, [r3]
	ldr	r0, .L16+28
	bic	r1, r1, r3
	ldr	r0, [r0]
	ldr	r3, [r4, #4]
	str	r1, [r4, #8]
	orr	r3, r3, r0
	str	r3, [r4, #4]
	b	.L2
.L17:
	.align	2
.L16:
	.word	EPOLLRDNORM
	.word	EPOLLIN
	.word	EPOLLOUT
	.word	EPOLLWRNORM
	.word	CLASS2_MAILBOX_THRESHOLD_INTR
	.word	CLASS2_ENABLE_MAILBOX_THRESHOLD_INTR
	.word	CLASS2_MAILBOX_INTR
	.word	CLASS2_ENABLE_MAILBOX_INTR
	.size	spu_backing_mbox_stat_poll, .-spu_backing_mbox_stat_poll
	.comm	EPOLLWRNORM,4,4
	.comm	EPOLLRDNORM,4,4
	.comm	EPOLLOUT,4,4
	.comm	EPOLLIN,4,4
	.comm	CLASS2_MAILBOX_THRESHOLD_INTR,4,4
	.comm	CLASS2_MAILBOX_INTR,4,4
	.comm	CLASS2_ENABLE_MAILBOX_THRESHOLD_INTR,4,4
	.comm	CLASS2_ENABLE_MAILBOX_INTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
