	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sls_flags_filename_process
_sls_flags_filename_process:            ## @sls_flags_filename_process
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_HLS_SECOND_LEVEL_SEGMENT_SIZE@GOTPCREL(%rip), %r14
	movq	_HLS_SECOND_LEVEL_SEGMENT_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%r14), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rsi)
	je	LBB0_13
## %bb.1:
	movq	%r9, %r12
	movq	%r8, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	8(%rdx), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movl	8(%rbx), %edi
	callq	_av_strdup
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	(%rbx), %rdi
	movq	%rax, %rsi
	callq	_ff_format_set_url
	movl	(%r15), %eax
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.4:
	movq	$0, -48(%rbp)
	movq	(%rbx), %rax
	movl	(%rax), %esi
	addq	%r13, %r12
	leaq	-48(%rbp), %rdi
	movl	$115, %edx
	movq	%r12, %rcx
	callq	_replace_int_data_in_filename
	testl	%eax, %eax
	jle	LBB0_5
## %bb.7:
	movq	(%rbx), %rdi
	movq	-48(%rbp), %rsi
	callq	_ff_format_set_url
	movl	(%r15), %eax
LBB0_8:
	movq	_HLS_SECOND_LEVEL_SEGMENT_DURATION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.9:
	movq	$0, -48(%rbp)
	movq	(%rbx), %rax
	movl	(%rax), %r12d
	movq	_HLS_MICROSECOND_UNIT@GOTPCREL(%rip), %rax
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	(%rax), %xmm0
	callq	_round
	leaq	-48(%rbp), %rdi
	movl	%r12d, %esi
	movl	$116, %edx
	movq	%rax, %rcx
	callq	_replace_int_data_in_filename
	testl	%eax, %eax
	jle	LBB0_10
## %bb.11:
	movq	(%rbx), %rdi
	movq	-48(%rbp), %rsi
	callq	_ff_format_set_url
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	movq	%r15, %rdi
	callq	_av_log
	leaq	-48(%rbp), %rdi
	callq	_av_freep
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HLS_SECOND_LEVEL_SEGMENT_SIZE,4,2 ## @HLS_SECOND_LEVEL_SEGMENT_SIZE
	.comm	_HLS_SECOND_LEVEL_SEGMENT_DURATION,4,2 ## @HLS_SECOND_LEVEL_SEGMENT_DURATION
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid second level segment filename template '%s', you can try to remove second_level_segment_size flag\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HLS_MICROSECOND_UNIT,8,3       ## @HLS_MICROSECOND_UNIT
L_.str.1:                               ## @.str.1
	.asciz	"Invalid second level segment filename template '%s', you can try to remove second_level_segment_time flag\n"

	.no_dead_strip	_sls_flags_filename_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sls_flags_filename_process
_sls_flags_filename_process:            ; @sls_flags_filename_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
	ldr	w8, [x1]
Lloh0:
	adrp	x24, _HLS_SECOND_LEVEL_SEGMENT_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HLS_SECOND_LEVEL_SEGMENT_SIZE@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh2:
	adrp	x23, _HLS_SECOND_LEVEL_SEGMENT_DURATION@GOTPAGE
Lloh3:
	ldr	x23, [x23, _HLS_SECOND_LEVEL_SEGMENT_DURATION@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x21, x5
	mov	x22, x4
	fmov	d8, d0
	mov	x20, x2
	mov	x19, x1
	ldr	w0, [x2, #8]
	bl	_strlen
	cbz	x0, LBB0_10
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_av_strdup
	cbz	x0, LBB0_11
; %bb.3:
	mov	x1, x0
	ldr	x0, [x20]
	bl	_ff_format_set_url
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	str	xzr, [sp, #8]
	ldr	x8, [x20]
	ldr	w1, [x8]
	add	x3, x21, x22
	add	x0, sp, #8
	mov	w2, #115
	bl	_replace_int_data_in_filename
	cmp	w0, #0
	b.le	LBB0_12
; %bb.5:
	ldr	x0, [x20]
	ldr	x1, [sp, #8]
	bl	_ff_format_set_url
	ldr	w8, [x19]
LBB0_6:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	str	xzr, [sp, #8]
	ldr	x8, [x20]
	ldr	w21, [x8]
Lloh4:
	adrp	x8, _HLS_MICROSECOND_UNIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HLS_MICROSECOND_UNIT@GOTPAGEOFF]
Lloh6:
	ldr	d0, [x8]
	fmul	d0, d0, d8
	bl	_round
	mov	x3, x0
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #116
	bl	_replace_int_data_in_filename
	cmp	w0, #0
	b.le	LBB0_13
; %bb.8:
	ldr	x0, [x20]
	ldr	x1, [sp, #8]
	bl	_ff_format_set_url
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
LBB0_12:
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w3, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w3, [x8]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_av_log
	add	x0, sp, #8
	bl	_av_freep
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_10
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_HLS_SECOND_LEVEL_SEGMENT_SIZE,4,2 ; @HLS_SECOND_LEVEL_SEGMENT_SIZE
	.comm	_HLS_SECOND_LEVEL_SEGMENT_DURATION,4,2 ; @HLS_SECOND_LEVEL_SEGMENT_DURATION
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid second level segment filename template '%s', you can try to remove second_level_segment_size flag\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HLS_MICROSECOND_UNIT,8,3       ; @HLS_MICROSECOND_UNIT
l_.str.1:                               ; @.str.1
	.asciz	"Invalid second level segment filename template '%s', you can try to remove second_level_segment_time flag\n"

	.no_dead_strip	_sls_flags_filename_process
.subsections_via_symbols
