	.file	"extr_stl.c_ResetGroups.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ResetGroups, @function
ResetGroups:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, QWORD PTR [r12]
	lea	rax, 0[0+rbp*8]
	sub	rax, rbp
	lea	rbx, [rdx+rax*8]
	mov	rdi, QWORD PTR 40[rbx]
	test	rdi, rdi
	je	.L2
	call	text_segment_ChainDelete@PLT
	lea	rax, 40[rbx]
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 48[rbx], rax
.L2:
	mov	rdi, QWORD PTR 32[rbx]
	test	rdi, rdi
	je	.L3
	call	text_style_Delete@PLT
	mov	QWORD PTR 32[rbx], 0
.L3:
	mov	rax, QWORD PTR VLC_TICK_INVALID[rip]
	add	rbp, 1
	cmp	QWORD PTR STL_GROUPS_MAX[rip], rbp
	mov	DWORD PTR [rbx], 0
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR 24[rbx], rax
	mov	QWORD PTR 16[rbx], rax
	jnb	.L4
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ResetGroups, .-ResetGroups
	.comm	VLC_TICK_INVALID,8,8
	.comm	STL_GROUPS_MAX,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_stl.c_ResetGroups.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ResetGroups, %function
ResetGroups:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, #0
	mov	r8, r0
	mov	r7, r5
	mov	r6, r5
	ldr	r10, .L15
	ldr	r9, .L15+4
.L4:
	ldr	r4, [r8]
	add	r7, r7, #1
	add	r4, r4, r5
	ldr	r0, [r4, #20]
	add	r5, r5, #28
	cmp	r0, #0
	beq	.L2
	bl	text_segment_ChainDelete
	mov	r3, r4
	str	r6, [r3, #20]!
	str	r3, [r4, #24]
.L2:
	ldr	r0, [r4, #16]
	cmp	r0, #0
	beq	.L3
	bl	text_style_Delete
	str	r6, [r4, #16]
.L3:
	ldr	r2, [r9]
	ldr	r3, [r10]
	cmp	r2, r7
	str	r6, [r4]
	str	r6, [r4, #4]
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	bcs	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	.align	2
.L15:
	.word	VLC_TICK_INVALID
	.word	STL_GROUPS_MAX
	.size	ResetGroups, .-ResetGroups
	.comm	VLC_TICK_INVALID,4,4
	.comm	STL_GROUPS_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
