	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_read_object_stream_properties
_asf_read_object_stream_properties:     ## @asf_read_object_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	_VC_CONTAINER_ES_TYPE_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rcx
	leaq	-60(%rbp), %rdx
	callq	_ASF_READ_GUID
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_GUID
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ASF_READ_U64
	movl	%eax, %ebx
	movl	$10, %edi
	callq	_UINT64_C
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, (%r12)
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ASF_READ_U32
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ASF_READ_U16
	movl	%eax, %r12d
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_CHECK_POINT
	testb	$127, %r12b
	je	LBB0_8
## %bb.1:
	movq	_asf_guid_stream_type_video@GOTPCREL(%rip), %rsi
	leaq	-60(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.2:
	movq	_asf_guid_stream_type_audio@GOTPCREL(%rip), %rsi
	leaq	-60(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_7
## %bb.3:
	movq	_VC_CONTAINER_ES_TYPE_AUDIO@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rbx
LBB0_7:
	movq	_VC_CONTAINER_ES_TYPE_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_13
LBB0_8:
	movl	%r13d, %r12d
LBB0_9:
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_SKIP_BYTES
LBB0_11:
	movq	%r14, %rdi
	callq	_STREAM_STATUS
	movq	%rax, %r15
LBB0_12:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	cmpl	%r13d, -44(%rbp)                ## 4-byte Folded Reload
	jbe	LBB0_15
## %bb.14:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_12
LBB0_15:
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_asf_reader_find_track
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rbx, 8(%rax)
	movq	%r14, %rdi
	callq	_STREAM_POSITION
	movl	%eax, %r12d
	movq	_VC_CONTAINER_ES_TYPE_AUDIO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_19
## %bb.17:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_asf_read_waveformatex
	jmp	LBB0_21
LBB0_18:
	movq	_VC_CONTAINER_ERROR_OUT_OF_RESOURCES@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_12
LBB0_19:
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_22
## %bb.20:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_asf_read_bitmapinfoheader
LBB0_21:
	movq	%rax, %r15
LBB0_22:
	movq	%r14, %rdi
	callq	_STREAM_POSITION
	testq	%r15, %r15
	jne	LBB0_12
## %bb.23:
	subl	%eax, %r12d
	addl	%r13d, %r12d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rax
	movq	(%rax), %rax
	movl	$1, (%rax)
	movl	$1, (%rdx)
	movq	_VC_CONTAINER_ES_FORMAT_FLAG_FRAMED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rdx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	movl	%edx, %edi
	orl	%ecx, %edi
	movl	%edi, 4(%rax)
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.24:
	notl	%ecx
	andl	%ecx, %edx
	movl	%edx, 4(%rax)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ES_TYPE_UNKNOWN,8,3 ## @VC_CONTAINER_ES_TYPE_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stream Type"

L_.str.1:                               ## @.str.1
	.asciz	"Error Correction Type"

L_.str.2:                               ## @.str.2
	.asciz	"Time Offset"

L_.str.3:                               ## @.str.3
	.asciz	"Type-Specific Data Length"

L_.str.4:                               ## @.str.4
	.asciz	"Error Correction Data Length"

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

L_.str.6:                               ## @.str.6
	.asciz	"Reserved"

	.comm	_asf_guid_stream_type_video,4,2 ## @asf_guid_stream_type_video
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ## @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_asf_guid_stream_type_audio,4,2 ## @asf_guid_stream_type_audio
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ## @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ## @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_ERROR_OUT_OF_RESOURCES,8,3 ## @VC_CONTAINER_ERROR_OUT_OF_RESOURCES
	.comm	_VC_CONTAINER_ES_FORMAT_FLAG_FRAMED,4,2 ## @VC_CONTAINER_ES_FORMAT_FLAG_FRAMED
	.no_dead_strip	_asf_read_object_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_object_stream_properties
_asf_read_object_stream_properties:     ; @asf_read_object_stream_properties
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	x8, [x0]
	ldr	x23, [x8]
Lloh3:
	adrp	x24, _VC_CONTAINER_ES_TYPE_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _VC_CONTAINER_ES_TYPE_UNKNOWN@GOTPAGEOFF]
	ldr	x25, [x24]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_ASF_READ_GUID
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ASF_SKIP_GUID
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ASF_READ_U64
	mov	x22, x0
	mov	w0, #10
	bl	_UINT64_C
	sdiv	w8, w22, w0
	str	w8, [x23]
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ASF_READ_U32
	mov	x22, x0
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ASF_SKIP_U32
Lloh15:
	adrp	x2, l_.str.5@PAGE
Lloh16:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ASF_READ_U16
	mov	x23, x0
Lloh17:
	adrp	x2, l_.str.6@PAGE
Lloh18:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ASF_SKIP_U32
	mov	x0, x19
	mov	x1, x20
	bl	_CHECK_POINT
	tst	w23, #0x7f
	b.eq	LBB0_5
; %bb.1:
Lloh19:
	adrp	x1, _asf_guid_stream_type_video@GOTPAGE
Lloh20:
	ldr	x1, [x1, _asf_guid_stream_type_video@GOTPAGEOFF]
	add	x0, sp, #12
	mov	w2, #4
	bl	_memcmp
	cbz	w0, LBB0_3
; %bb.2:
Lloh21:
	adrp	x1, _asf_guid_stream_type_audio@GOTPAGE
Lloh22:
	ldr	x1, [x1, _asf_guid_stream_type_audio@GOTPAGEOFF]
	add	x0, sp, #12
	mov	w2, #4
	bl	_memcmp
Lloh23:
	adrp	x8, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	w0, #0
	csel	x25, x8, x25, eq
	b	LBB0_4
LBB0_3:
Lloh26:
	adrp	x8, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
Lloh28:
	ldr	x25, [x8]
LBB0_4:
	ldr	x8, [x24]
	cmp	x25, x8
	b.ne	LBB0_9
LBB0_5:
	cbz	w20, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_SKIP_BYTES
LBB0_7:
	mov	x0, x19
	bl	_STREAM_STATUS
	mov	x21, x0
LBB0_8:
	mov	x0, x21
	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	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	cmp	w22, w20
	b.ls	LBB0_11
; %bb.10:
Lloh29:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh31:
	ldr	x21, [x8]
	b	LBB0_8
LBB0_11:
	mov	x0, x19
	mov	x1, x23
	mov	w2, #1
	bl	_asf_reader_find_track
	cbz	x0, LBB0_14
; %bb.12:
	mov	x23, x0
	ldr	x8, [x0, #8]
	str	x25, [x8, #8]
	mov	x0, x19
	bl	_STREAM_POSITION
	mov	x24, x0
Lloh32:
	adrp	x8, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x25, x8
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_asf_read_waveformatex
	b	LBB0_17
LBB0_14:
Lloh35:
	adrp	x8, _VC_CONTAINER_ERROR_OUT_OF_RESOURCES@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_OUT_OF_RESOURCES@GOTPAGEOFF]
Lloh37:
	ldr	x21, [x8]
	b	LBB0_8
LBB0_15:
Lloh38:
	adrp	x8, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x25, x8
	b.ne	LBB0_18
; %bb.16:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_asf_read_bitmapinfoheader
LBB0_17:
	mov	x21, x0
LBB0_18:
	mov	x0, x19
	bl	_STREAM_POSITION
	cbnz	x21, LBB0_8
; %bb.19:
	sub	w8, w24, w0
	add	w20, w8, w20
	ldp	x8, x9, [x23, #8]
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x9]
	str	w10, [x23]
Lloh41:
	adrp	x9, _VC_CONTAINER_ES_FORMAT_FLAG_FRAMED@GOTPAGE
Lloh42:
	ldr	x9, [x9, _VC_CONTAINER_ES_FORMAT_FLAG_FRAMED@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	ldp	w11, w10, [x8]
	orr	w12, w10, w9
	str	w12, [x8, #4]
	cmp	w11, #128
	b.ne	LBB0_5
; %bb.20:
	bic	w9, w10, w9
	str	w9, [x8, #4]
	b	LBB0_5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ES_TYPE_UNKNOWN,8,3 ; @VC_CONTAINER_ES_TYPE_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stream Type"

l_.str.1:                               ; @.str.1
	.asciz	"Error Correction Type"

l_.str.2:                               ; @.str.2
	.asciz	"Time Offset"

l_.str.3:                               ; @.str.3
	.asciz	"Type-Specific Data Length"

l_.str.4:                               ; @.str.4
	.asciz	"Error Correction Data Length"

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

l_.str.6:                               ; @.str.6
	.asciz	"Reserved"

	.comm	_asf_guid_stream_type_video,4,2 ; @asf_guid_stream_type_video
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ; @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_asf_guid_stream_type_audio,4,2 ; @asf_guid_stream_type_audio
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ; @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ; @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_ERROR_OUT_OF_RESOURCES,8,3 ; @VC_CONTAINER_ERROR_OUT_OF_RESOURCES
	.comm	_VC_CONTAINER_ES_FORMAT_FLAG_FRAMED,4,2 ; @VC_CONTAINER_ES_FORMAT_FLAG_FRAMED
	.no_dead_strip	_asf_read_object_stream_properties
.subsections_via_symbols
