	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_read_ext_stream_properties
_asf_read_ext_stream_properties:        ## @asf_read_ext_stream_properties
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	16(%rdi), %r12
	movq	%r14, %rdi
	callq	_avio_rl64
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_avio_rl64
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_avio_rl64
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_avio_rl32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$28, %esi
	callq	_avio_skip
	movq	%r14, %rdi
	callq	_avio_rl16
	movl	%eax, %ebx
	movq	_ASF_STREAM_NUM@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_avio_rl16
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	cmpl	(%rdi), %ebx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_2
LBB0_4:
	movq	%r14, %rdi
	callq	_avio_rl64
	jmp	LBB0_7
LBB0_5:
	movq	(%r15), %rcx
	movq	8(%rdi), %rdx
	movq	(%rcx,%rdx,8), %rbx
	movl	%eax, 16(%rdi)
	movq	%r14, %rdi
	callq	_avio_rl64
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 32(%rbx)
	subq	%rcx, %r13
	movq	%r13, 24(%rbx)
	movq	16(%rbx), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, (%rcx)
	movl	$10000000, (%rbx)               ## imm = 0x989680
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	%r14, %rdi
	callq	_avio_rl16
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_avio_rl16
	movl	%eax, %r12d
	testl	%ebx, %ebx
	jle	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_avio_rl16
	movq	%r14, %rdi
	callq	_avio_rl16
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_avio_skip
	decl	%ebx
	jne	LBB0_16
LBB0_8:
	testl	%r12d, %r12d
	jle	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_avio_skip
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_avio_skip
	movq	%r14, %rdi
	callq	_avio_rl32
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_avio_skip
	decl	%r12d
	jne	LBB0_9
LBB0_10:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_get_guid
	testl	%eax, %eax
	js	LBB0_14
## %bb.11:
	movl	-48(%rbp), %edi
	callq	_find_guid
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %rbx
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*(%rbx)
	testl	%eax, %eax
	js	LBB0_15
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	%r14, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_align_position
	xorl	%eax, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASF_STREAM_NUM,4,2             ## @ASF_STREAM_NUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stream Properties"

	.no_dead_strip	_asf_read_ext_stream_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_read_ext_stream_properties
_asf_read_ext_stream_properties:        ; @asf_read_ext_stream_properties
	.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	x21, x0
	ldp	x19, x26, [x0, #8]
	mov	x0, x19
	bl	_avio_rl64
	mov	x20, x0
	mov	x0, x19
	bl	_avio_rl64
	mov	x22, x0
	mov	x0, x19
	bl	_avio_rl64
	mov	x24, x0
	mov	x0, x19
	bl	_avio_rl32
	mov	x23, x0
	mov	x0, x19
	mov	w1, #28
	bl	_avio_skip
	mov	x0, x19
	bl	_avio_rl16
	mov	x25, x0
Lloh0:
	adrp	x8, _ASF_STREAM_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASF_STREAM_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	mov	x0, x19
	bl	_avio_rl16
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	and	w9, w27, w25
	ldr	x10, [x26, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	ldr	w12, [x11]
	cmp	w9, w12
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	x0, x19
	bl	_avio_rl64
	b	LBB0_7
LBB0_5:
	ldr	x8, [x21]
	ldr	x9, [x11, #8]
	ldr	x25, [x8, x9, lsl #3]
	str	w0, [x11, #16]
	mov	x0, x19
	bl	_avio_rl64
	cbz	x25, LBB0_7
; %bb.6:
	sub	x8, x24, x22
	stp	x8, x22, [x25, #24]
	ldr	x8, [x25, #16]
	str	w23, [x8]
	mov	w8, #38528
	movk	w8, #152, lsl #16
	str	w8, [x25]
	str	x0, [x25, #8]
LBB0_7:
	mov	x0, x19
	bl	_avio_rl16
	mov	x23, x0
	mov	x0, x19
	bl	_avio_rl16
	mov	x22, x0
	cmp	w23, #1
	b.lt	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_avio_rl16
	mov	x0, x19
	bl	_avio_rl16
	mov	x1, x0
	mov	x0, x19
	bl	_avio_skip
	subs	w23, w23, #1
	b.ne	LBB0_8
LBB0_9:
	cmp	w22, #1
	b.lt	LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #16
	bl	_avio_skip
	mov	x0, x19
	mov	w1, #2
	bl	_avio_skip
	mov	x0, x19
	bl	_avio_rl32
	mov	x1, x0
	mov	x0, x19
	bl	_avio_skip
	subs	w22, w22, #1
	b.ne	LBB0_10
LBB0_11:
	add	x1, sp, #12
	mov	x0, x19
	bl	_ff_get_guid
	tbnz	w0, #31, LBB0_15
; %bb.12:
	ldr	w0, [sp, #12]
	bl	_find_guid
	cbz	x0, LBB0_15
; %bb.13:
	mov	x22, x0
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_15
; %bb.14:
	ldr	x8, [x22]
	mov	x0, x21
	mov	x1, x22
	blr	x8
	tbnz	w0, #31, LBB0_16
LBB0_15:
	ldr	w1, [x26, #4]
	mov	x0, x19
	mov	x2, x20
	bl	_align_position
	mov	w0, #0
LBB0_16:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ASF_STREAM_NUM,4,2             ; @ASF_STREAM_NUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stream Properties"

	.no_dead_strip	_asf_read_ext_stream_properties
.subsections_via_symbols
