	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_segment_types
_init_segment_types:                    ## @init_segment_types
	.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	%rdi, %rcx
	movq	16(%rdi), %r15
	xorl	%ebx, %ebx
	cmpl	$0, (%rdi)
	jle	LBB0_1
## %bb.2:
	xorl	%esi, %esi
	movl	$8, %r14d
	xorl	%edi, %edi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	movq	16(%r15), %r13
	movl	12(%r15), %edi
	movq	8(%rcx), %rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rsi,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_select_segment_type
	movq	%rax, %rbx
	movq	%rax, (%r13,%r14)
	movq	%rax, %rdi
	callq	_get_format_str
	movl	%eax, -4(%r13,%r14)
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %r12
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_get_extension_str
	movl	%eax, -8(%r13,%r14)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	_SEGMENT_TYPE_MP4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	sete	%al
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	orl	%eax, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	addq	$16, %r14
	cmpq	%rax, %rsi
	movq	%r12, %r15
	jl	LBB0_3
## %bb.9:
	testl	%edi, %edi
	setne	%al
	xorl	%ebx, %ebx
	cmpq	$0, (%r15)
	jne	LBB0_11
	jmp	LBB0_13
LBB0_1:
	xorl	%eax, %eax
	cmpq	$0, (%r15)
	je	LBB0_13
LBB0_11:
	testb	%al, %al
	jne	LBB0_13
## %bb.12:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%rcx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	$0, (%r15)
	jmp	LBB0_13
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_5
LBB0_7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_MUXER_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not select DASH segment type for stream %d\n"

	.comm	_AVERROR_MUXER_NOT_FOUND,4,2    ## @AVERROR_MUXER_NOT_FOUND
L_.str.1:                               ## @.str.1
	.asciz	"Could not get extension type for stream %d\n"

	.comm	_SEGMENT_TYPE_MP4,8,3           ## @SEGMENT_TYPE_MP4
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"No mp4 streams, disabling HLS manifest generation\n"

	.no_dead_strip	_init_segment_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_segment_types
_init_segment_types:                    ; @init_segment_types
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	ldr	x21, [x0, #16]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x24, #0
	mov	x22, #0
	mov	w23, #0
Lloh0:
	adrp	x25, _SEGMENT_TYPE_MP4@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SEGMENT_TYPE_MP4@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x21, #16]
	ldr	w0, [x21, #12]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_select_segment_type
	mov	x20, x0
	add	x27, x26, x24
	str	x0, [x27, #8]
	bl	_get_format_str
	str	w0, [x27, #4]
	cbz	w0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21, #8]
	mov	x0, x20
	bl	_get_extension_str
	str	w0, [x26, x24]
	cbz	w0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	cmp	x20, x8
	cset	w8, eq
	orr	w23, w23, w8
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x24, x24, #16
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.5:
	cmp	w23, #0
	cset	w8, ne
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	mov	w0, #0
	ldr	x9, [x21]
	cbz	x9, LBB0_13
; %bb.8:
	tbnz	w8, #0, LBB0_13
; %bb.9:
Lloh2:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str.2@PAGE
Lloh6:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #0
	str	xzr, [x21]
	b	LBB0_13
LBB0_10:
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_av_log
Lloh17:
	adrp	x8, _AVERROR_MUXER_NOT_FOUND@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVERROR_MUXER_NOT_FOUND@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not select DASH segment type for stream %d\n"

	.comm	_AVERROR_MUXER_NOT_FOUND,4,2    ; @AVERROR_MUXER_NOT_FOUND
l_.str.1:                               ; @.str.1
	.asciz	"Could not get extension type for stream %d\n"

	.comm	_SEGMENT_TYPE_MP4,8,3           ; @SEGMENT_TYPE_MP4
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"No mp4 streams, disabling HLS manifest generation\n"

	.no_dead_strip	_init_segment_types
.subsections_via_symbols
