	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_forced_key_frames
_parse_forced_key_frames:               ## @parse_forced_key_frames
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	movq	%rdi, %rax
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r14d
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	cmpb	$44, %cl
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	jne	LBB0_8
## %bb.3:
	movl	%r14d, %edi
	movl	$8, %esi
	callq	_av_malloc_array
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	movl	$1, %edi
	callq	_exit_program
LBB0_5:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.9:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_parse_time_or_die
	movq	%r15, %r13
	movq	%rax, %r15
	xorl	%edi, %edi
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%r14d, %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	-64(%rbp), %r14d                ## 4-byte Folded Reload
	setl	%dil
	callq	_av_assert1
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%r13, %r15
	callq	_av_rescale_q
	movslq	%r14d, %rcx
	incl	%r14d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r14d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	%rax, (%r13,%rcx,8)
LBB0_26:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%ebx
	cmpl	%r14d, %ebx
	je	LBB0_27
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rcx
	incq	%rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$8, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_28
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_output_files@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rdx
	movl	(%rdx), %eax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	subl	%esi, %ecx
	cmpl	%ecx, %eax
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	jg	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	addl	%eax, %esi
	decl	%esi
	movq	%r15, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	callq	_av_realloc_f
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %r15
	cmpb	$0, 8(%r13)
	jne	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r15d, %r15d
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$1, %edi
	callq	_exit_program
	cmpb	$0, 8(%r13)
	je	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	$8, %r13
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_parse_time_or_die
	movq	%rax, %rdi
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	callq	_av_rescale_q
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpl	$0, (%rcx)
	jle	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %r13
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movslq	-48(%rbp), %rbx                 ## 4-byte Folded Reload
	movslq	-64(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rcx), %rax
	movq	(%rax,%r15,8), %r12
	xorl	%edi, %edi
	cmpq	-120(%rbp), %rbx                ## 8-byte Folded Reload
	setl	%dil
	movq	%rcx, %r14
	callq	_av_assert1
	movq	8(%r12), %rdi
	movl	(%r12), %esi
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %edx
	callq	_av_rescale_q
	movq	%r14, %rcx
	addq	%r13, %rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rbx,8)
	incq	%rbx
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%r15d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_26
LBB0_6:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_27:
	xorl	%edi, %edi
	movq	%r15, %rbx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpl	%r15d, -48(%rbp)                ## 4-byte Folded Reload
	sete	%dil
	callq	_av_assert0
	movq	_compare_int64@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$8, %edx
	callq	_qsort
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, 8(%rax)
	movq	%rbx, 16(%rax)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not allocate forced key frames array.\n"

L_.str.1:                               ## @.str.1
	.asciz	"chapters"

	.comm	_output_files,8,3               ## @output_files
	.comm	_INT_MAX,4,2                    ## @INT_MAX
L_.str.2:                               ## @.str.2
	.asciz	"force_key_frames"

	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.comm	_compare_int64,4,2              ## @compare_int64
	.no_dead_strip	_parse_forced_key_frames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_forced_key_frames
_parse_forced_key_frames:               ; @parse_forced_key_frames
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	w24, #1
	mov	x8, x0
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cmp	w9, #44
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w9, LBB0_2
; %bb.5:
	mov	x0, x24
	mov	w1, #8
	bl	_av_malloc_array
	mov	x23, x0
	cbz	x0, LBB0_24
; %bb.6:
	cmp	w24, #1
	b.lt	LBB0_25
LBB0_7:
	mov	w26, #0
	mov	w19, #0
Lloh0:
	adrp	x25, l_.str.1@PAGE
Lloh1:
	add	x25, x25, l_.str.1@PAGEOFF
	mov	x27, x24
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	str	w24, [sp, #4]                   ; 4-byte Folded Spill
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x28
	mov	w2, #1
	bl	_parse_time_or_die
	mov	x28, x0
	cmp	w26, w27
	cset	w0, lt
	bl	_av_assert1
Lloh4:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x28
	bl	_av_rescale_q
	str	x0, [x23, w26, sxtw #3]
	add	w8, w26, #1
	mov	x26, x8
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w19, w19, #1
	cmp	w19, w24
	b.eq	LBB0_26
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	mov	x28, x22
	mov	x0, x22
	mov	w1, #44
	bl	_strchr
	mov	x22, x0
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	strb	wzr, [x22], #1
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	mov	x1, x25
	mov	w2, #8
	bl	_memcmp
	cbnz	w0, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh7:
	adrp	x8, _output_files@GOTPAGE
Lloh8:
	ldr	x8, [x8, _output_files@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x25, [x8]
	ldr	w8, [x25]
Lloh10:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	sub	w9, w9, w27
	cmp	w8, w9
	b.gt	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w8, w27, w8
	sub	w27, w8, #1
	mov	x0, x23
	mov	x1, x27
	mov	w2, #8
	bl	_av_realloc_f
	mov	x23, x0
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x28, #8]!
	cbz	w8, LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x28
	mov	w2, #1
	bl	_parse_time_or_die
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh15:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, #0
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w0, #1
	bl	_exit_program
	ldrb	w8, [x28, #8]!
	cbnz	w8, LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, #0
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh20:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_av_rescale_q
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x28, x0
	mov	x8, x27
	mov	x27, #0
	stp	x8, x26, [sp, #16]              ; 16-byte Folded Spill
	sxtw	x26, w26
	sxtw	x24, w8
LBB0_21:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25, #8]
	ldr	x20, [x8, x27, lsl #3]
	cmp	x26, x24
	cset	w0, lt
	bl	_av_assert1
	ldr	x0, [x20, #8]
	ldr	w1, [x20]
	ldr	w2, [x21]
	bl	_av_rescale_q
	add	x8, x0, x28
	str	x8, [x23, x26, lsl #3]
	add	x26, x26, #1
	add	x27, x27, #1
	ldrsw	x8, [x25]
	cmp	x27, x8
	b.lt	LBB0_21
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	add	w26, w26, w27
	ldp	x20, x27, [sp, #8]              ; 16-byte Folded Reload
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh23:
	adrp	x25, l_.str.1@PAGE
Lloh24:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_24:
Lloh25:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x2, l_.str@PAGE
Lloh29:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w0, #1
	bl	_exit_program
	cmp	w24, #1
	b.ge	LBB0_7
LBB0_25:
	mov	w26, #0
	mov	x27, x24
LBB0_26:
	cmp	w26, w27
	cset	w0, eq
	bl	_av_assert0
Lloh30:
	adrp	x8, _compare_int64@GOTPAGE
Lloh31:
	ldr	x8, [x8, _compare_int64@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x27
	mov	w2, #8
	bl	_qsort
	str	w27, [x20, #8]
	str	x23, [x20, #16]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not allocate forced key frames array.\n"

l_.str.1:                               ; @.str.1
	.asciz	"chapters"

	.comm	_output_files,8,3               ; @output_files
	.comm	_INT_MAX,4,2                    ; @INT_MAX
l_.str.2:                               ; @.str.2
	.asciz	"force_key_frames"

	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_compare_int64,4,2              ; @compare_int64
	.no_dead_strip	_parse_forced_key_frames
.subsections_via_symbols
