	.file	"extr_l2t.c_do_l2t_write_rpl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unexpected L2T_WRITE_RPL status %u for entry %u\n"
	.text
	.p2align 4
	.globl	do_l2t_write_rpl
	.type	do_l2t_write_rpl, @function
do_l2t_write_rpl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR 8[rdi]
	mov	rdi, rsi
	call	GET_TID@PLT
	xor	edx, edx
	xor	edi, edi
	mov	ebx, eax
	div	DWORD PTR L2T_SIZE[rip]
	mov	rax, QWORD PTR CPL_ERR_NONE[rip]
	cmp	QWORD PTR 0[rbp], rax
	setne	dil
	mov	r13d, edx
	call	unlikely@PLT
	test	rax, rax
	jne	.L9
	test	DWORD PTR SYNC_WR_F[rip], ebx
	jne	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[r14]
	sub	r13d, DWORD PTR [r14]
	lea	rdx, 0[r13+r13*2]
	lea	rbx, [rax+rdx*8]
	lea	rbp, 8[rbx]
	mov	rdi, rbp
	call	spin_lock@PLT
	mov	rax, QWORD PTR L2T_STATE_SWITCHING[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L11
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdx, QWORD PTR 0[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	ecx, r13d
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR [r12]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	dev_err@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, r12
	mov	rsi, rbx
	call	send_pending@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR NUD_STALE[rip], eax
	mov	rax, QWORD PTR L2T_STATE_STALE[rip]
	cmove	rax, QWORD PTR L2T_STATE_VALID[rip]
	mov	QWORD PTR [rbx], rax
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	do_l2t_write_rpl, .-do_l2t_write_rpl
	.comm	SYNC_WR_F,4,4
	.comm	NUD_STALE,4,4
	.comm	L2T_STATE_VALID,8,8
	.comm	L2T_STATE_SWITCHING,8,8
	.comm	L2T_STATE_STALE,8,8
	.comm	L2T_SIZE,4,4
	.comm	CPL_ERR_NONE,8,8
	.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_l2t.c_do_l2t_write_rpl.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unexpected L2T_WRITE_RPL status %u for entry %u\012"
	.ascii	"\000"
	.text
	.align	2
	.global	do_l2t_write_rpl
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_l2t_write_rpl, %function
do_l2t_write_rpl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r8, r1
	ldr	r7, [r5, #4]
	bl	GET_TID
	ldr	r3, .L11
	mov	r6, r0
	ldr	r1, [r3]
	bl	__aeabi_uidivmod
	ldr	r3, .L11+4
	ldr	ip, [r8]
	ldr	r0, [r3]
	mov	r4, r1
	subs	r0, ip, r0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L9
	ldr	r3, .L11+8
	ldr	r3, [r3]
	tst	r6, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	ldm	r7, {r3, r6}
	sub	r3, r4, r3
	add	r3, r3, r3, lsl #1
	add	r8, r6, r3, lsl #2
	add	r7, r8, #4
	mov	r0, r7
	lsl	r4, r3, #2
	bl	spin_lock
	ldr	r3, .L11+12
	ldr	r2, [r6, r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L10
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L9:
	mov	r3, r4
	ldr	r2, [r8]
	ldr	r0, [r5]
	ldr	r1, .L11+16
	pop	{r4, r5, r6, r7, r8, lr}
	b	dev_err
.L10:
	mov	r0, r5
	mov	r1, r8
	bl	send_pending
	ldr	r2, [r8, #8]
	ldr	r3, .L11+20
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, r7
	tst	r2, r3
	ldrne	r3, .L11+24
	ldreq	r3, .L11+28
	ldr	r3, [r3]
	str	r3, [r6, r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L12:
	.align	2
.L11:
	.word	L2T_SIZE
	.word	CPL_ERR_NONE
	.word	SYNC_WR_F
	.word	L2T_STATE_SWITCHING
	.word	.LC0
	.word	NUD_STALE
	.word	L2T_STATE_STALE
	.word	L2T_STATE_VALID
	.size	do_l2t_write_rpl, .-do_l2t_write_rpl
	.comm	SYNC_WR_F,4,4
	.comm	NUD_STALE,4,4
	.comm	L2T_STATE_VALID,4,4
	.comm	L2T_STATE_SWITCHING,4,4
	.comm	L2T_STATE_STALE,4,4
	.comm	L2T_SIZE,4,4
	.comm	CPL_ERR_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
