	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drop_dups
_drop_dups:                             ## @drop_dups
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, (%rsi)
	jl	LBB0_12
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	$1, %ebx
	movl	$32, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movl	%ebx, %ecx
	subl	%r15d, %ecx
	movslq	%ecx, %rcx
	shlq	$5, %rcx
	movups	(%rax,%r14), %xmm0
	movups	16(%rax,%r14), %xmm1
	movups	%xmm1, 16(%rax,%rcx)
	movups	%xmm0, (%rax,%rcx)
	movq	8(%r12), %rdi
	addq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	incq	%r13
	addq	$32, %r14
	cmpq	%rax, %rbx
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %ecx
	subl	%r15d, %ecx
	movq	8(%r12), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%r14), %rdx
	shlq	$5, %rcx
	cmpq	(%rax,%rcx), %rdx
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%r14), %rdx
	cmpq	8(%rax,%rcx), %rdx
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax,%r14), %rdx
	cmpq	16(%rax,%rcx), %rdx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rax,%r14), %edi
	movl	24(%rax,%rcx), %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	addq	%r14, %rdi
	callq	_av_packet_unref
	incl	%r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_11:
	testl	%r15d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_12
## %bb.13:
	subl	%r15d, %eax
	movl	%eax, (%r12)
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_log                         ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropping %d duplicated subtitle events\n"

	.no_dead_strip	_drop_dups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drop_dups
_drop_dups:                             ; @drop_dups
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x1]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x22, #0
	mov	w21, #0
	mov	w23, #32
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x23
	bl	_av_packet_unref
	add	w21, w21, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x20]
	add	x9, x22, #2
	add	x22, x22, #1
	add	x23, x23, #32
	cmp	x9, x8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w22, w21
	ldr	x8, [x20, #8]
	ldr	x10, [x8, x23]
	sbfiz	x11, x9, #5, #32
	ldr	x11, [x8, x11]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x9, w9
	add	x10, x8, x23
	ldr	x12, [x10, #8]
	add	x11, x8, x9, lsl #5
	ldr	x13, [x11, #8]
	cmp	x12, x13
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x10, #16]
	ldr	x11, [x11, #16]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x8, x23
	ldr	w0, [x10, #24]
	add	x8, x8, x9, lsl #5
	ldr	w1, [x8, #24]
	bl	_strcmp
	cbz	w0, LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w21, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	sub	w9, w22, w21
	add	w9, w9, #1
	sxtw	x9, w9
	add	x9, x8, x9, lsl #5
	add	x8, x8, x23
	ldp	q0, q1, [x8]
	stp	q0, q1, [x9]
	ldr	x8, [x20, #8]
	add	x0, x8, x23
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	b	LBB0_3
LBB0_10:
	cbz	w21, LBB0_12
; %bb.11:
	sub	w8, w8, w21
	str	w8, [x20]
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_av_log
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropping %d duplicated subtitle events\n"

	.no_dead_strip	_drop_dups
.subsections_via_symbols
