	.file	"extr_srtenc.c_srt_stack_push_pop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"tag stack overflow\n"
	.text
	.p2align 4
	.type	srt_stack_push_pop, @function
srt_stack_push_pop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	edx, edx
	je	.L2
	xor	ebp, ebp
	test	sil, sil
	jne	.L12
.L3:
	cmp	ebp, DWORD PTR [rbx]
	je	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbx
	call	srt_stack_pop@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	srt_close_tag@PLT
	cmp	DWORD PTR [rbx], ebp
	jne	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movsx	esi, sil
	call	srt_stack_find@PLT
	mov	ebp, eax
	test	eax, eax
	jns	.L3
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	movsx	esi, sil
	call	srt_stack_push@PLT
	test	rax, rax
	jns	.L1
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdx, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	av_log@PLT
	.cfi_endproc
.LFE0:
	.size	srt_stack_push_pop, .-srt_stack_push_pop
	.comm	AV_LOG_ERROR,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_srtenc.c_srt_stack_push_pop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tag stack overflow\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	srt_stack_push_pop, %function
srt_stack_push_pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	beq	.L2
	cmp	r1, #0
	mov	r5, r1
	bne	.L15
.L3:
	ldr	r3, [r4]
	cmp	r5, r3
	popeq	{r4, r5, r6, pc}
.L5:
	mov	r0, r4
	bl	srt_stack_pop
	mov	r1, r0
	mov	r0, r4
	bl	srt_close_tag
	ldr	r3, [r4]
	cmp	r3, r5
	bne	.L5
	pop	{r4, r5, r6, pc}
.L15:
	bl	srt_stack_find
	subs	r5, r0, #0
	bge	.L3
	pop	{r4, r5, r6, pc}
.L2:
	bl	srt_stack_push
	cmp	r0, #0
	popge	{r4, r5, r6, pc}
	ldr	r3, .L16
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	ldr	r2, .L16+4
	pop	{r4, r5, r6, lr}
	b	av_log
.L17:
	.align	2
.L16:
	.word	AV_LOG_ERROR
	.word	.LC0
	.size	srt_stack_push_pop, .-srt_stack_push_pop
	.comm	AV_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
