	.file	"extr_ssautil.c_hb_subtitle_style_close.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hb_subtitle_style_close
	.type	hb_subtitle_style_close, @function
hb_subtitle_style_close:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L16
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	test	rbp, rbp
	je	.L1
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L3
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r12, rbx
	add	rbx, 1
	sal	r12, 5
	mov	rdi, QWORD PTR 24[rdi+r12]
	call	free@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 16[rax+r12]
	call	free@PLT
	cmp	DWORD PTR 0[rbp], ebx
	mov	rdi, QWORD PTR 8[rbp]
	jg	.L5
.L3:
	call	free@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	QWORD PTR 0[r13], 0
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	hb_subtitle_style_close, .-hb_subtitle_style_close
	.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_ssautil.c_hb_subtitle_style_close.c"
	.text
	.align	2
	.global	hb_subtitle_style_close
	.syntax unified
	.arm
	.fpu softvfp
	.type	hb_subtitle_style_close, %function
hb_subtitle_style_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r6, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r5, [r6]
	cmp	r5, #0
	popeq	{r4, r5, r6, pc}
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r5]
	cmp	r3, #0
	ble	.L3
	mov	r4, #0
.L5:
	add	r0, r0, r4, lsl #4
	ldr	r0, [r0, #12]
	bl	free
	ldr	r3, [r5, #4]
	lsl	r2, r4, #4
	add	r3, r3, r2
	ldr	r0, [r3, #8]
	bl	free
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	ldr	r0, [r5, #4]
	bgt	.L5
.L3:
	bl	free
	mov	r0, r5
	bl	free
	mov	r3, #0
	str	r3, [r6]
	pop	{r4, r5, r6, pc}
	.size	hb_subtitle_style_close, .-hb_subtitle_style_close
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
