	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_write_object_stream_properties
_asf_write_object_stream_properties:    ## @asf_write_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx), %r12d
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rdx
	jne	LBB0_2
## %bb.1:
	movq	_asf_guid_stream_type_video@GOTPCREL(%rip), %rsi
	movl	$51, %r14d
	jmp	LBB0_5
LBB0_2:
	movq	_VC_CONTAINER_ES_TYPE_AUDIO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_3
## %bb.4:
	movq	_asf_guid_stream_type_audio@GOTPCREL(%rip), %rsi
	movl	$18, %r14d
LBB0_5:
	addl	8(%rcx), %r14d
	jmp	LBB0_6
LBB0_3:
	movq	_guid_null@GOTPCREL(%rip), %rsi
	xorl	%r14d, %r14d
LBB0_6:
	movl	(%rax), %r15d
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_WRITE_GUID
	movq	_asf_guid_error_correction@GOTPCREL(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_WRITE_GUID
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U64
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_WRITE_U32
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U32
	leal	1(%r12), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	callq	_WRITE_U16
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_WRITE_U32
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.7:
	movq	(%rbx), %rax
	movq	(%rax,%r12,8), %rsi
	movq	(%rsi), %rax
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_asf_write_bitmapinfoheader     ## TAILCALL
LBB0_8:
	movq	_VC_CONTAINER_ES_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.11:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_asf_write_waveformatex         ## TAILCALL
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.comm	_guid_null,4,2                  ## @guid_null
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ## @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_asf_guid_stream_type_video,4,2 ## @asf_guid_stream_type_video
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ## @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_asf_guid_stream_type_audio,4,2 ## @asf_guid_stream_type_audio
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stream Type"

	.comm	_asf_guid_error_correction,4,2  ## @asf_guid_error_correction
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"

	.no_dead_strip	_asf_write_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_write_object_stream_properties
_asf_write_object_stream_properties:    ; @asf_write_object_stream_properties
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldp	x10, x9, [x0]
	ldr	x9, [x9]
	ldr	w23, [x9]
	ldr	x9, [x10, x23, lsl #3]
	ldr	x9, [x9]
	ldr	x10, [x9]
Lloh2:
	adrp	x22, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh3:
	ldr	x22, [x22, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
	ldr	x11, [x22]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x1, _asf_guid_stream_type_video@GOTPAGE
Lloh5:
	ldr	x1, [x1, _asf_guid_stream_type_video@GOTPAGEOFF]
	mov	w10, #51
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x11, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGE
Lloh7:
	ldr	x11, [x11, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_5
; %bb.3:
Lloh9:
	adrp	x1, _asf_guid_stream_type_audio@GOTPAGE
Lloh10:
	ldr	x1, [x1, _asf_guid_stream_type_audio@GOTPAGEOFF]
	mov	w10, #18
LBB0_4:
	ldr	w9, [x9, #8]
	add	w21, w9, w10
	b	LBB0_6
LBB0_5:
	mov	w21, #0
Lloh11:
	adrp	x1, _guid_null@GOTPAGE
Lloh12:
	ldr	x1, [x1, _guid_null@GOTPAGEOFF]
LBB0_6:
	ldr	w20, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_WRITE_GUID
Lloh15:
	adrp	x1, _asf_guid_error_correction@GOTPAGE
Lloh16:
	ldr	x1, [x1, _asf_guid_error_correction@GOTPAGEOFF]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_WRITE_GUID
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U64
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_WRITE_U32
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U32
	add	w1, w23, #1
Lloh25:
	adrp	x2, l_.str.5@PAGE
Lloh26:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
Lloh27:
	adrp	x2, l_.str.6@PAGE
Lloh28:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_WRITE_U32
	cbz	w21, LBB0_11
; %bb.7:
	ldr	x8, [x19]
	ldr	x1, [x8, x23, lsl #3]
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_asf_write_bitmapinfoheader
LBB0_9:
Lloh29:
	adrp	x9, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGE
Lloh30:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_asf_write_waveformatex
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.comm	_guid_null,4,2                  ; @guid_null
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ; @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_asf_guid_stream_type_video,4,2 ; @asf_guid_stream_type_video
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ; @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_asf_guid_stream_type_audio,4,2 ; @asf_guid_stream_type_audio
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stream Type"

	.comm	_asf_guid_error_correction,4,2  ; @asf_guid_error_correction
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"

	.no_dead_strip	_asf_write_object_stream_properties
.subsections_via_symbols
