	.file	"extr_vwsnd.c_li_read_USTMSC.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	li_read_USTMSC, @function
li_read_USTMSC:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR 8[rdi]
	mov	r13, QWORD PTR [rdi]
	mov	rdi, rbp
	call	spin_lock@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR LI_UST_HIGH[rip]
	mov	rdi, rbp
	call	li_readl@PLT
	mov	esi, DWORD PTR LI_UST_LOW[rip]
	mov	rdi, rbp
	mov	rbx, rax
	call	li_readl@PLT
	mov	esi, DWORD PTR 4[r13]
	mov	rdi, rbp
	call	li_readl@PLT
	mov	esi, DWORD PTR 0[r13]
	mov	rdi, rbp
	mov	QWORD PTR 8[r14], rax
	call	li_readl@PLT
	mov	esi, DWORD PTR LI_UST_HIGH[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	li_readl@PLT
	cmp	rbx, rax
	jne	.L2
	sal	rbx, 32
	mov	rdi, rbp
	call	spin_unlock@PLT
	or	rbx, r12
	mov	QWORD PTR [r14], rbx
	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
	ret
	.cfi_endproc
.LFE0:
	.size	li_read_USTMSC, .-li_read_USTMSC
	.comm	LI_UST_LOW,4,4
	.comm	LI_UST_HIGH,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_vwsnd.c_li_read_USTMSC.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	li_read_USTMSC, %function
li_read_USTMSC:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r4, [r0, #4]
	mov	r9, r1
	mov	r0, r4
	ldr	r8, [r3]
	bl	spin_lock
	ldr	r7, .L6
	ldr	r10, .L6+4
.L2:
	ldr	r1, [r7]
	mov	r0, r4
	bl	li_readl
	ldr	r1, [r10]
	mov	r5, r0
	mov	r0, r4
	bl	li_readl
	ldr	r1, [r8, #4]
	mov	r0, r4
	bl	li_readl
	ldr	r1, [r8]
	str	r0, [r9, #8]
	mov	r0, r4
	bl	li_readl
	ldr	r1, [r7]
	mov	r6, r0
	mov	r0, r4
	bl	li_readl
	cmp	r5, r0
	bne	.L2
	mov	r0, r4
	bl	spin_unlock
	str	r6, [r9]
	str	r5, [r9, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	LI_UST_HIGH
	.word	LI_UST_LOW
	.size	li_read_USTMSC, .-li_read_USTMSC
	.comm	LI_UST_LOW,4,4
	.comm	LI_UST_HIGH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
