	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_manifest_segmenttimeline
_parse_manifest_segmenttimeline:        ## @parse_manifest_segmenttimeline
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_av_strcasecmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.1:
	movl	$24, %edi
	callq	_av_mallocz
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r14
	testq	%r14, %r14
	je	LBB0_14
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	addq	$16, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoll
	movq	%rax, (%rbx)
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %r14
	movq	%r12, %rdi
	callq	_xmlFree
	testq	%r14, %r14
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rbx
	je	LBB0_14
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	8(%r14), %esi
	movq	%r15, %rdi
	callq	_xmlGetProp
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %r15
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %esi
	movl	8(%r14), %ecx
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_av_log
	movl	8(%r14), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_xmlGetProp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %r13
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r14), %edi
	movq	%r13, %rsi
	callq	_av_strcasecmp
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_av_strcasecmp
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_av_strcasecmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_14:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	4(%rsi), %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_dynarray_add
LBB0_15:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"S"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"parse_manifest_segmenttimeline attr->name = %s val is NULL\n"

L_.str.2:                               ## @.str.2
	.asciz	"t"

L_.str.3:                               ## @.str.3
	.asciz	"r"

L_.str.4:                               ## @.str.4
	.asciz	"d"

	.no_dead_strip	_parse_manifest_segmenttimeline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_manifest_segmenttimeline
_parse_manifest_segmenttimeline:        ; @parse_manifest_segmenttimeline
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x2, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_av_strcasecmp
	cbnz	w0, LBB0_14
; %bb.1:
	mov	w0, #24
	bl	_av_mallocz
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x0, LBB0_15
; %bb.2:
	str	x19, [sp]                       ; 8-byte Folded Spill
	ldr	x28, [x20]
	cbz	x28, LBB0_13
; %bb.3:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x26, x8, #8
	add	x22, x8, #16
Lloh2:
	adrp	x25, _AV_LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh6:
	adrp	x24, l_.str.2@PAGE
Lloh7:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	x1, #0
	mov	w2, #10
	bl	_strtoll
	str	x0, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x28, [x28]
	mov	x0, x27
	bl	_xmlFree
	cbz	x28, LBB0_13
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w1, [x28, #8]
	mov	x0, x20
	bl	_xmlGetProp
	mov	x27, x0
	cbnz	x0, LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x25]
	ldr	w3, [x28, #8]
	mov	x0, x21
	mov	x2, x23
	bl	_av_log
	ldr	w1, [x28, #8]
	mov	x0, x20
	bl	_xmlGetProp
	cbz	x0, LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28, #8]
	mov	x1, x24
	bl	_av_strcasecmp
	mov	x19, x22
	cbz	w0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28, #8]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_av_strcasecmp
	mov	x19, x26
	cbz	w0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28, #8]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_av_strcasecmp
	cbnz	w0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_4
LBB0_13:
	ldp	x1, x2, [sp]                    ; 16-byte Folded Reload
	add	x0, x1, #4
	bl	_dynarray_add
LBB0_14:
	mov	w0, #0
	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
LBB0_15:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"S"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"parse_manifest_segmenttimeline attr->name = %s val is NULL\n"

l_.str.2:                               ; @.str.2
	.asciz	"t"

l_.str.3:                               ; @.str.3
	.asciz	"r"

l_.str.4:                               ; @.str.4
	.asciz	"d"

	.no_dead_strip	_parse_manifest_segmenttimeline
.subsections_via_symbols
