	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_write_markers
_asf_write_markers:                     ## @asf_write_markers
	.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	%rdi, %rbx
	movq	16(%rdi), %r12
	movq	24(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_ff_asf_marker_header@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_put_header
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ff_asf_reserved_4@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_ff_put_guid
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_avio_wl32
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_avio_wl16
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_avio_wl16
	cmpl	$0, (%rbx)
	jle	LBB0_8
## %bb.1:
	xorl	%r15d, %r15d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rbx
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	%rax, %rbx
	movabsq	$42949672960000001, %rdx        ## imm = 0x98968000000001
	callq	_av_rescale_q
	movq	%rax, %r14
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	leaq	-96(%rbp), %rdx
	callq	_get_send_time
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$0, %r13d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-56(%rbp), %rdi
	callq	_avio_open_dyn_buf
	testq	%rax, %rax
	js	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_avio_put_str16le
	movq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_avio_close_dyn_buf
	movl	%eax, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_avio_wl64
	movq	_PREROLL_TIME@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$10000, %rax, %rax              ## imm = 0x2710
	addq	%rax, %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_avio_wl64
	leal	12(%r13), %esi
	movq	%r12, %rdi
	callq	_avio_wl16
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_avio_wl32
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_avio_wl32
	movl	%r13d, %esi
	shrl	$31, %esi
	addl	%r13d, %esi
	sarl	%esi
	movq	%r12, %rdi
	callq	_avio_wl32
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_avio_write
	leaq	-64(%rbp), %rdi
	callq	_av_freep
	jmp	LBB0_7
LBB0_8:
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_end_header
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_asf_marker_header,4,2       ## @ff_asf_marker_header
	.comm	_ff_asf_reserved_4,4,2          ## @ff_asf_reserved_4
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"title"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PREROLL_TIME,4,2               ## @PREROLL_TIME
	.no_dead_strip	_asf_write_markers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_write_markers
_asf_write_markers:                     ; @asf_write_markers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
	ldp	x19, x21, [x0, #16]
Lloh0:
	adrp	x1, _ff_asf_marker_header@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ff_asf_marker_header@GOTPAGEOFF]
	mov	x0, x19
	bl	_put_header
	str	x0, [sp]                        ; 8-byte Folded Spill
Lloh2:
	adrp	x1, _ff_asf_reserved_4@GOTPAGE
Lloh3:
	ldr	x1, [x1, _ff_asf_reserved_4@GOTPAGEOFF]
	mov	x0, x19
	bl	_ff_put_guid
	ldr	w1, [x20]
	mov	x0, x19
	bl	_avio_wl32
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wl16
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wl16
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x28, #0
	mov	w22, #10000
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x20]
	cmp	x28, x8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x25, [x8, x28, lsl #3]
	ldr	w0, [x25, #8]
	mov	x1, x23
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	mov	x24, x0
	ldp	w1, w0, [x25]
	mov	x2, #1
	movk	x2, #38528, lsl #32
	movk	x2, #152, lsl #48
	bl	_av_rescale_q
	mov	x27, x0
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x27
	bl	_get_send_time
	mov	x25, x0
	cbz	x24, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_avio_open_dyn_buf
	tbnz	x0, #63, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	ldr	w1, [x24]
	bl	_avio_put_str16le
	ldr	x0, [sp, #8]
	add	x1, sp, #16
	bl	_avio_close_dyn_buf
	mov	x26, x0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #0
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_avio_wl64
Lloh6:
	adrp	x8, _PREROLL_TIME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PREROLL_TIME@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	madd	x1, x8, x22, x27
	mov	x0, x19
	bl	_avio_wl64
	add	w1, w26, #12
	mov	x0, x19
	bl	_avio_wl16
	mov	x0, x19
	mov	x1, x25
	bl	_avio_wl32
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wl32
	cmp	w26, #0
	cinc	w8, w26, lt
	asr	w1, w8, #1
	mov	x0, x19
	bl	_avio_wl32
	cbz	x24, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #16]
	mov	x0, x19
	mov	x2, x26
	bl	_avio_write
	add	x0, sp, #16
	bl	_av_freep
	b	LBB0_2
LBB0_9:
	mov	x0, x19
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_end_header
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_asf_marker_header,4,2       ; @ff_asf_marker_header
	.comm	_ff_asf_reserved_4,4,2          ; @ff_asf_reserved_4
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"title"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PREROLL_TIME,4,2               ; @PREROLL_TIME
	.no_dead_strip	_asf_write_markers
.subsections_via_symbols
