	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_manifest_segmenturlnode
_parse_manifest_segmenturlnode:         ## @parse_manifest_segmenturlnode
	.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	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_MAX_URL_SIZE@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %r15d
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.10:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_av_strcasecmp
	testl	%eax, %eax
	jne	LBB0_18
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xmlGetProp
	movq	%rax, %r12
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xmlGetProp
	movq	%rax, %rbx
	movq	%r12, %rax
	orq	%rbx, %rax
	je	LBB0_18
## %bb.12:
	movq	%rbx, %rdi
	callq	_get_Fragment
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %esi
	movl	%r15d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r9
	callq	_get_content_url
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	leaq	4(%r13), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_dynarray_add
	movq	%r12, %rdi
	callq	_xmlFree
	movq	%rbx, %rdi
	jmp	LBB0_17
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xmlGetProp
	movq	%rax, %r12
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xmlGetProp
	movq	%rax, %r14
	movq	%r12, %rax
	orq	%r14, %rax
	je	LBB0_18
## %bb.4:
	movq	%r14, %rdi
	callq	_get_Fragment
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %esi
	movl	%r15d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r9
	callq	_get_content_url
	movq	8(%r13), %rdi
	movq	%rax, (%rdi)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%r12, %rdi
	callq	_xmlFree
	movq	%r14, %rdi
LBB0_17:
	callq	_xmlFree
LBB0_18:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	_av_free
LBB0_5:
	movq	%r12, %rdi
	callq	_xmlFree
	movq	%r14, %rdi
	jmp	LBB0_6
LBB0_15:
	movq	%r14, %rdi
	callq	_av_free
LBB0_13:
	movq	%r12, %rdi
	callq	_xmlFree
	movq	%rbx, %rdi
LBB0_6:
	callq	_xmlFree
	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
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_URL_SIZE,4,2               ## @MAX_URL_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initialization"

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

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

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"SegmentURL"

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

L_.str.5:                               ## @.str.5
	.asciz	"mediaRange"

	.no_dead_strip	_parse_manifest_segmenturlnode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_manifest_segmenturlnode
_parse_manifest_segmenturlnode:         ; @parse_manifest_segmenturlnode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MAX_URL_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_URL_SIZE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x8, eq
	ldr	w23, [x8]
	ldr	w0, [x2]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_av_strcasecmp
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w0, [x24]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_av_strcasecmp
	cbnz	w0, LBB0_10
; %bb.2:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_xmlGetProp
	mov	x25, x0
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x24
	bl	_xmlGetProp
	orr	x8, x25, x0
	cbz	x8, LBB0_10
; %bb.3:
	mov	x24, x0
	bl	_get_Fragment
	cbz	x0, LBB0_13
; %bb.4:
	mov	x26, x0
	mov	x0, x22
	mov	w1, #4
	mov	x2, x23
	mov	x3, x21
	mov	x4, x20
	mov	x5, x25
	bl	_get_content_url
	str	x0, [x26]
	cbz	x0, LBB0_11
; %bb.5:
	add	x0, x19, #4
	mov	x1, x19
	mov	x2, x26
	bl	_dynarray_add
	b	LBB0_9
LBB0_6:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_xmlGetProp
	mov	x25, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_xmlGetProp
	orr	x8, x25, x0
	cbz	x8, LBB0_10
; %bb.7:
	mov	x24, x0
	bl	_get_Fragment
	str	x0, [x19, #8]
	cbz	x0, LBB0_13
; %bb.8:
	mov	x0, x22
	mov	w1, #4
	mov	x2, x23
	mov	x3, x21
	mov	x4, x20
	mov	x5, x25
	bl	_get_content_url
	mov	x8, x0
	ldr	x0, [x19, #8]
	str	x8, [x0]
	cbz	x8, LBB0_12
LBB0_9:
	mov	x0, x25
	bl	_xmlFree
	mov	x0, x24
	bl	_xmlFree
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x26
LBB0_12:
	bl	_av_free
LBB0_13:
	mov	x0, x25
	bl	_xmlFree
	mov	x0, x24
	bl	_xmlFree
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_URL_SIZE,4,2               ; @MAX_URL_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initialization"

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

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

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"SegmentURL"

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

l_.str.5:                               ; @.str.5
	.asciz	"mediaRange"

	.no_dead_strip	_parse_manifest_segmenturlnode
.subsections_via_symbols
