	.file	"extr_vs_split.c_vs_fg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"223|There are no background screens"
	.align 8
.LC1:
	.string	"224|There's no background screen editing a file named %s"
	.text
	.p2align 4
	.globl	vs_fg
	.type	vs_fg, @function
vs_fg:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdx, rdx
	je	.L2
	mov	rdi, rdx
	call	STRLEN@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rsi, r12
	lea	rdx, 1[rax]
	mov	rdi, rbp
	call	INT2CHAR@PLT
.L2:
	test	ebx, ebx
	je	.L3
	xor	esi, esi
	mov	rdi, rbp
	call	vs_getbg@PLT
	mov	QWORD PTR [rsp], rax
	mov	rsi, rax
	mov	QWORD PTR 0[r13], rax
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR q[rip]
	mov	edi, DWORD PTR [r14]
	call	TAILQ_REMOVE@PLT
	mov	rsi, QWORD PTR [rsp]
	xor	edx, edx
	mov	rdi, rbp
	call	vs_split@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L29
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L30
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rsi, rsp
	xor	edx, edx
	mov	rdi, rbp
	call	vs_swap@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	jne	.L1
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 0[r13], rax
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR 4[r14]
	mov	edx, DWORD PTR q[rip]
	mov	rsi, rbp
	call	TAILQ_REMOVE@PLT
	mov	edx, DWORD PTR q[rip]
	mov	edi, DWORD PTR [r14]
	mov	rsi, rbp
	call	TAILQ_INSERT_TAIL@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	test	r12, r12
	lea	rax, .LC1[rip]
	mov	rdx, r12
	mov	rdi, rbp
	lea	rcx, .LC0[rip]
	mov	esi, DWORD PTR M_ERR[rip]
	cmovne	rcx, rax
	call	msgq_wstr@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	mov	edx, DWORD PTR q[rip]
	mov	rsi, QWORD PTR [rsp]
	mov	edi, DWORD PTR [r14]
	call	TAILQ_INSERT_TAIL@PLT
	mov	eax, 1
	jmp	.L1
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vs_fg, .-vs_fg
	.comm	q,4,4
	.comm	M_ERR,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_split.c_vs_fg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"223|There are no background screens\000"
	.align	2
.LC1:
	.ascii	"224|There's no background screen editing a file nam"
	.ascii	"ed %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vs_fg
	.syntax unified
	.arm
	.fpu softvfp
	.type	vs_fg, %function
vs_fg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r3
	ldr	r3, .L33
	sub	sp, sp, #16
	subs	r5, r2, #0
	mov	r4, r0
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r8, [r0]
	beq	.L2
	mov	r0, r5
	bl	STRLEN
	mov	r3, #0
	add	r2, r0, #1
	mov	r1, r5
	mov	r0, r4
	str	r3, [sp]
	bl	INT2CHAR
.L2:
	cmp	r6, #0
	beq	.L3
	mov	r1, #0
	mov	r0, r4
	bl	vs_getbg
	cmp	r0, #0
	mov	r1, r0
	str	r0, [sp, #8]
	str	r0, [r7]
	beq	.L4
	ldr	r5, .L33+4
	ldr	r0, [r8]
	ldr	r2, [r5]
	bl	TAILQ_REMOVE
	mov	r0, r4
	mov	r2, #0
	ldr	r1, [sp, #8]
	bl	vs_split
	subs	r6, r0, #0
	bne	.L30
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r2, r6
	mov	r0, r4
	add	r1, sp, #8
	bl	vs_swap
	subs	r6, r0, #0
	bne	.L32
	ldr	r3, [sp, #8]
	cmp	r3, #0
	str	r3, [r7]
	beq	.L4
	ldr	r5, .L33+4
	mov	r1, r4
	ldr	r2, [r5]
	ldr	r0, [r8, #4]
	bl	TAILQ_REMOVE
	mov	r1, r4
	ldr	r2, [r5]
	ldr	r0, [r8]
	bl	TAILQ_INSERT_TAIL
	b	.L1
.L32:
	mov	r6, #1
	b	.L1
.L4:
	ldr	r2, .L33+8
	ldr	r1, .L33+12
	cmp	r5, #0
	ldr	r3, .L33+16
	mov	r0, r4
	moveq	r3, r2
	ldr	r1, [r1]
	mov	r2, r5
	bl	msgq_wstr
	mov	r6, #1
	b	.L1
.L30:
	ldr	r2, [r5]
	ldr	r0, [r8]
	ldr	r1, [sp, #8]
	bl	TAILQ_INSERT_TAIL
	mov	r6, #1
	b	.L1
.L31:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC2
	.word	q
	.word	.LC0
	.word	M_ERR
	.word	.LC1
	.size	vs_fg, .-vs_fg
	.comm	q,4,4
	.comm	M_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
