	.file	"extr_vs_smap.c_vs_sm_prev.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vs_sm_prev
	.type	vs_sm_prev, @function
vs_sm_prev:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	rdi, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	SMAP_FLUSH@PLT
	mov	esi, DWORD PTR O_LEFTRIGHT[rip]
	mov	rdi, r12
	call	O_ISSET@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR 0[rbp]
	lea	rsi, -1[rax]
	mov	eax, DWORD PTR 12[rbp]
	mov	QWORD PTR [rbx], rsi
	mov	DWORD PTR 12[rbx], eax
	xor	eax, eax
	test	rsi, rsi
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	sete	al
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[rbp]
	mov	rsi, QWORD PTR 0[rbp]
	cmp	eax, 1
	je	.L4
	sub	eax, 1
	mov	QWORD PTR [rbx], rsi
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	test	rsi, rsi
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	sete	al
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	sub	rsi, 1
	xor	edx, edx
	mov	rdi, r12
	mov	QWORD PTR [rbx], rsi
	call	vs_screens@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	test	rsi, rsi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	sete	al
	ret
	.cfi_endproc
.LFE0:
	.size	vs_sm_prev, .-vs_sm_prev
	.comm	O_LEFTRIGHT,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_vs_smap.c_vs_sm_prev.c"
	.text
	.align	2
	.global	vs_sm_prev
	.syntax unified
	.arm
	.fpu softvfp
	.type	vs_sm_prev, %function
vs_sm_prev:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r0, r2
	mov	r4, r2
	mov	r5, r1
	bl	SMAP_FLUSH
	ldr	r3, .L7
	mov	r0, r6
	ldr	r1, [r3]
	bl	O_ISSET
	subs	r2, r0, #0
	beq	.L2
	ldr	r1, [r5]
	ldr	r3, [r5, #8]
	sub	r1, r1, #1
	str	r1, [r4]
	str	r3, [r4, #8]
.L3:
	clz	r0, r1
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L2:
	ldm	r5, {r1, r3}
	cmp	r3, #1
	subne	r3, r3, #1
	stmne	r4, {r1, r3}
	bne	.L3
.L4:
	sub	r1, r1, #1
	str	r1, [r4]
	mov	r0, r6
	bl	vs_screens
	ldr	r1, [r4]
	str	r0, [r4, #4]
	b	.L3
.L8:
	.align	2
.L7:
	.word	O_LEFTRIGHT
	.size	vs_sm_prev, .-vs_sm_prev
	.comm	O_LEFTRIGHT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
