	.file	"extr_dice-transaction.c_dice_notification.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dice_notification, @function
dice_notification:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	cmp	DWORD PTR TCODE_WRITE_QUADLET_REQUEST[rip], edx
	mov	rax, QWORD PTR 64[rsp]
	mov	rdi, QWORD PTR 72[rsp]
	mov	rbx, QWORD PTR 88[rsp]
	jne	.L11
	test	al, 3
	jne	.L12
	call	be32_to_cpup@PLT
	xor	r15d, r15d
	lea	r14, 12[rbx]
	mov	rsi, r15
	mov	rdi, r14
	mov	r13d, eax
	call	spin_lock_irqsave@PLT
	or	DWORD PTR [rbx], r13d
	mov	rsi, r15
	mov	rdi, r14
	call	spin_unlock_irqrestore@PLT
	mov	edx, DWORD PTR RCODE_COMPLETE[rip]
	mov	rsi, r12
	mov	rdi, rbp
	call	fw_send_response@PLT
	test	DWORD PTR NOTIFY_LOCK_CHG[rip], r13d
	jne	.L13
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rdi, 4[rbx]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	wake_up@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edx, DWORD PTR RCODE_ADDRESS_ERROR[rip]
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	fw_send_response@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, DWORD PTR RCODE_TYPE_ERROR[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, 8[rbx]
	call	complete@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	dice_notification, .-dice_notification
	.comm	TCODE_WRITE_QUADLET_REQUEST,4,4
	.comm	RCODE_TYPE_ERROR,4,4
	.comm	RCODE_COMPLETE,4,4
	.comm	RCODE_ADDRESS_ERROR,4,4
	.comm	NOTIFY_LOCK_CHG,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_dice-transaction.c_dice_notification.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dice_notification, %function
dice_notification:
	@ args = 28, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	ldr	ip, [sp, #40]
	cmp	r3, r2
	ldr	lr, [sp, #48]
	ldr	r5, [sp, #56]
	bne	.L10
	mov	r3, #0
	and	r2, ip, #3
	orrs	r3, r2, r3
	bne	.L11
	mov	r4, r0
	mov	r0, lr
	mov	r8, r1
	bl	be32_to_cpup
	mov	r9, #0
	mov	r6, r0
	add	r7, r5, #12
	mov	r1, r9
	mov	r0, r7
	bl	spin_lock_irqsave
	ldr	r3, [r5]
	mov	r1, r9
	orr	r3, r3, r6
	str	r3, [r5]
	mov	r0, r7
	bl	spin_unlock_irqrestore
	ldr	r3, .L13+4
	mov	r1, r8
	ldr	r2, [r3]
	mov	r0, r4
	bl	fw_send_response
	ldr	r3, .L13+8
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L12
	add	r0, r5, #4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	wake_up
.L11:
	ldr	r3, .L13+12
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r2, [r3]
	b	fw_send_response
.L10:
	ldr	r3, .L13+16
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r2, [r3]
	b	fw_send_response
.L12:
	add	r0, r5, #8
	bl	complete
	add	r0, r5, #4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	wake_up
.L14:
	.align	2
.L13:
	.word	TCODE_WRITE_QUADLET_REQUEST
	.word	RCODE_COMPLETE
	.word	NOTIFY_LOCK_CHG
	.word	RCODE_ADDRESS_ERROR
	.word	RCODE_TYPE_ERROR
	.size	dice_notification, .-dice_notification
	.comm	TCODE_WRITE_QUADLET_REQUEST,4,4
	.comm	RCODE_TYPE_ERROR,4,4
	.comm	RCODE_COMPLETE,4,4
	.comm	RCODE_ADDRESS_ERROR,4,4
	.comm	NOTIFY_LOCK_CHG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
