	.file	"extr_ass.c_ff_ass_add_rect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_ass_add_rect
	.type	ff_ass_add_rect, @function
ff_ass_add_rect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR [rdi]
	mov	rdi, QWORD PTR 8[rdi]
	mov	DWORD PTR 4[rsp], edx
	mov	edx, 8
	lea	esi, 1[rax]
	call	av_realloc_array@PLT
	test	rax, rax
	je	.L6
	mov	rbp, rax
	mov	QWORD PTR 8[rbx], rax
	movsx	rax, DWORD PTR [rbx]
	mov	edi, 16
	lea	rdx, 0[rbp+rax*8]
	mov	QWORD PTR 8[rsp], rdx
	call	av_mallocz@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	QWORD PTR [rdx], rax
	movsx	rax, DWORD PTR [rbx]
	mov	rax, QWORD PTR 0[rbp+rax*8]
	test	rax, rax
	je	.L6
	mov	edx, DWORD PTR SUBTITLE_ASS[rip]
	mov	edi, DWORD PTR 4[rsp]
	mov	r8, r15
	mov	rcx, r14
	mov	esi, r12d
	mov	DWORD PTR 8[rax], edx
	mov	rdx, r13
	call	ff_ass_get_dialog@PLT
	test	rax, rax
	je	.L6
	movsx	rcx, DWORD PTR [rbx]
	mov	rdx, rcx
	mov	rcx, QWORD PTR 0[rbp+rcx*8]
	add	edx, 1
	mov	QWORD PTR [rcx], rax
	xor	eax, eax
	mov	DWORD PTR [rbx], edx
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	AVERROR@PLT
	.cfi_endproc
.LFE0:
	.size	ff_ass_add_rect, .-ff_ass_add_rect
	.comm	SUBTITLE_ASS,4,4
	.comm	ENOMEM,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_ass.c_ff_ass_add_rect.c"
	.text
	.align	2
	.global	ff_ass_add_rect
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_ass_add_rect, %function
ff_ass_add_rect:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	ldr	r1, [r0]
	sub	sp, sp, #12
	mov	r4, r0
	mov	r7, r2
	ldr	r0, [r0, #4]
	mov	r2, #4
	add	r1, r1, #1
	mov	r8, r3
	ldr	r9, [sp, #48]
	ldr	r10, [sp, #52]
	bl	av_realloc_array
	subs	r5, r0, #0
	beq	.L6
	mov	r0, #8
	str	r5, [r4, #4]
	ldr	fp, [r4]
	bl	av_mallocz
	ldr	r3, [r4]
	str	r0, [r5, fp, lsl #2]
	ldr	ip, [r5, r3, lsl #2]
	cmp	ip, #0
	beq	.L6
	ldr	r2, .L8
	mov	r3, r10
	ldr	lr, [r2]
	mov	r1, r8
	str	lr, [ip, #4]
	mov	r2, r9
	mov	r0, r7
	str	r6, [sp]
	bl	ff_ass_get_dialog
	subs	r3, r0, #0
	beq	.L6
	mov	r0, #0
	ldr	r2, [r4]
	ldr	r1, [r5, r2, lsl #2]
	add	r2, r2, #1
	str	r3, [r1]
	str	r2, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	AVERROR
.L9:
	.align	2
.L8:
	.word	SUBTITLE_ASS
	.word	ENOMEM
	.size	ff_ass_add_rect, .-ff_ass_add_rect
	.comm	SUBTITLE_ASS,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
