	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function write_abst
LCPI0_0:
	.long	0x42c40000                      ## float 98
LCPI0_1:
	.long	0x42e60000                      ## float 115
LCPI0_2:
	.long	0x42cc0000                      ## float 102
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_write_abst:                            ## @write_abst
	.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	$2088, %rsp                     ## imm = 0x828
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rsi), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx), %r12d
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movslq	8(%r15), %rdi
	subq	%rax, %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movslq	8(%r15), %rcx
	testl	%ebx, %ebx
	movl	%eax, -2112(%rbp)               ## 4-byte Spill
	movq	%rcx, -2120(%rbp)               ## 8-byte Spill
	je	LBB0_5
## %bb.4:
	movl	24(%r15), %eax
	jmp	LBB0_8
LBB0_5:
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.7:
	movq	16(%r15), %rax
	movq	-8(%rax,%rcx,8), %rax
	movl	8(%rax), %eax
LBB0_8:
	movl	%eax, -2108(%rbp)               ## 4-byte Spill
LBB0_9:
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	%r12d, %r8d
	callq	_snprintf
	movq	(%r14), %rcx
	leaq	L_.str.1(%rip), %rdx
	leaq	-2096(%rbp), %r13
	movq	%r13, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	%r12d, %r8d
	callq	_snprintf
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-2104(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	callq	*8(%r14)
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movq	-2120(%rbp), %rax               ## 8-byte Reload
	subl	-2112(%rbp), %eax               ## 4-byte Folded Reload
	movq	%rax, -2120(%rbp)               ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	%ebx, -2124(%rbp)               ## 4-byte Spill
	testl	%ebx, %ebx
	sete	%r12b
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %r13
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$97, %edi
	movl	$115, %esi
	movl	$116, %edx
	callq	_MKTAG
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_avio_wl32
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	movl	12(%r15), %esi
	decl	%esi
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	shll	$5, %r12d
	movl	%r12d, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	movl	-2108(%rbp), %esi               ## 4-byte Reload
	callq	_avio_wb64
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_wb64
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	movl	$1, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	callq	_avio_tell
	movl	%eax, %ebx
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %r12
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$97, %edi
	movl	$114, %esi
	movl	$116, %edx
	callq	_MKTAG
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_avio_wl32
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	movl	$1, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	movl	$1, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	cmpl	$0, -2124(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_12
## %bb.13:
	movl	12(%r15), %esi
	decl	%esi
	jmp	LBB0_14
LBB0_10:
	movl	%eax, %r12d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	leaq	-2096(%rbp), %rcx
	movq	%r14, %rdi
	callq	_av_log
	jmp	LBB0_18
LBB0_12:
	movl	$-1, %esi
LBB0_14:
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	movl	%ebx, %esi
	callq	_update_size
	movq	-2104(%rbp), %rdi
	movl	$1, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	callq	_avio_tell
	movl	%eax, %r13d
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %r12
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$97, %edi
	movl	$114, %esi
	movl	$116, %edx
	callq	_MKTAG
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_avio_wl32
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_w8
	movq	-2104(%rbp), %rdi
	movq	-2120(%rbp), %rsi               ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_avio_wb32
	movl	-2112(%rbp), %eax               ## 4-byte Reload
	cmpl	8(%r15), %eax
	jge	LBB0_17
## %bb.15:
	movslq	%eax, %rbx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	-2104(%rbp), %rdi
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	callq	_avio_wb32
	movq	-2104(%rbp), %rdi
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	8(%rax), %esi
	callq	_avio_wb64
	movq	-2104(%rbp), %rdi
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	4(%rax), %esi
	callq	_avio_wb32
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_16
LBB0_17:
	movq	-2104(%rbp), %rdi
	movl	%r13d, %esi
	callq	_update_size
	movq	-2104(%rbp), %rdi
	xorl	%esi, %esi
	callq	_update_size
	leaq	-2104(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_format_io_close
	leaq	-2096(%rbp), %rdi
	leaq	-1072(%rbp), %rsi
	movq	%r14, %rdx
	callq	_ff_rename
	movl	%eax, %r12d
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%r12d, %eax
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$0, -2108(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/stream%d.abst"

L_.str.1:                               ## @.str.1
	.asciz	"%s/stream%d.abst.tmp"

	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Unable to open %s for writing\n"

	.no_dead_strip	_write_abst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_abst
_write_abst:                            ; @write_abst
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2064
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldp	x9, x8, [x0, #16]
	ldr	x10, [x1]
	ldr	x9, [x9, x10, lsl #3]
	ldr	w23, [x9]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldrsw	x9, [x20, #8]
	sub	x0, x9, x8
	mov	w1, #0
	bl	_FFMAX
	mov	x21, x0
	ldr	w25, [x20, #8]
	cbz	w22, LBB0_4
LBB0_2:
	ldr	w24, [x20, #24]
	b	LBB0_7
LBB0_3:
	mov	w21, #0
	ldr	w25, [x20, #8]
	cbnz	w22, LBB0_2
LBB0_4:
	cbz	w25, LBB0_6
; %bb.5:
	ldr	x8, [x20, #16]
	sub	w9, w25, #1
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w24, [x8, #8]
	b	LBB0_7
LBB0_6:
	mov	w24, #0
LBB0_7:
	ldr	x3, [x19]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #1032
	mov	w1, #1024
	mov	x4, x23
	bl	_snprintf
	ldr	x3, [x19]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #1024
	mov	x4, x23
	bl	_snprintf
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _AVIO_FLAG_WRITE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x9]
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x19
	mov	x4, #0
	blr	x8
	tbnz	w0, #31, LBB0_10
; %bb.8:
	sub	w23, w25, w21
	cmp	w22, #0
	cset	w26, eq
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_wb32
	ldr	x25, [sp]
	mov	w8, #1120141312
	fmov	s0, w8
	mov	w0, #97
	mov	w1, #115
	mov	w2, #116
	bl	_MKTAG
	mov	x1, x0
	mov	x0, x25
	bl	_avio_wl32
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_wb32
	ldr	x0, [sp]
	ldr	w8, [x20, #12]
	sub	w1, w8, #1
	bl	_avio_wb32
	ldr	x0, [sp]
	lsl	w1, w26, #5
	bl	_avio_w8
	ldr	x0, [sp]
	mov	w1, #1000
	bl	_avio_wb32
	ldr	x0, [sp]
	mov	x1, x24
	bl	_avio_wb64
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_wb64
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_w8
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_w8
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_w8
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_w8
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_w8
	ldr	x0, [sp]
	mov	w1, #1
	bl	_avio_w8
	ldr	x0, [sp]
	bl	_avio_tell
	mov	x24, x0
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_wb32
	ldr	x25, [sp]
	mov	w8, #1122369536
	fmov	s0, w8
	mov	w0, #97
	mov	w1, #114
	mov	w2, #116
	bl	_MKTAG
	mov	x1, x0
	mov	x0, x25
	bl	_avio_wl32
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_wb32
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_w8
	ldr	x0, [sp]
	mov	w1, #1
	bl	_avio_wb32
	ldr	x0, [sp]
	mov	w1, #1
	bl	_avio_wb32
	ldr	x0, [sp]
	cbz	w22, LBB0_11
; %bb.9:
	ldr	w8, [x20, #12]
	sub	w1, w8, #1
	b	LBB0_12
LBB0_10:
	mov	x23, x0
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x3, sp, #8
	mov	x0, x19
	bl	_av_log
	b	LBB0_16
LBB0_11:
	mov	w1, #-1
LBB0_12:
	bl	_avio_wb32
	ldr	x0, [sp]
	mov	x1, x24
	bl	_update_size
	ldr	x0, [sp]
	mov	w1, #1
	bl	_avio_w8
	ldr	x0, [sp]
	bl	_avio_tell
	mov	x22, x0
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_wb32
	ldr	x24, [sp]
	mov	w8, #1120665600
	fmov	s0, w8
	mov	w0, #97
	mov	w1, #114
	mov	w2, #116
	bl	_MKTAG
	mov	x1, x0
	mov	x0, x24
	bl	_avio_wl32
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_wb32
	ldr	x0, [sp]
	mov	w1, #1000
	bl	_avio_wb32
	ldr	x0, [sp]
	mov	w1, #0
	bl	_avio_w8
	ldr	x0, [sp]
	mov	x1, x23
	bl	_avio_wb32
	ldr	w8, [x20, #8]
	cmp	w21, w8
	b.ge	LBB0_15
; %bb.13:
	sxtw	x21, w21
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp]
	ldr	x8, [x20, #16]
	lsl	x23, x21, #3
	ldr	x8, [x8, x23]
	ldr	w1, [x8]
	bl	_avio_wb32
	ldr	x0, [sp]
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23]
	ldr	w1, [x8, #8]
	bl	_avio_wb64
	ldr	x0, [sp]
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23]
	ldr	w1, [x8, #4]
	bl	_avio_wb32
	add	x21, x21, #1
	ldrsw	x8, [x20, #8]
	cmp	x21, x8
	b.lt	LBB0_14
LBB0_15:
	ldr	x0, [sp]
	mov	x1, x22
	bl	_update_size
	ldr	x0, [sp]
	mov	w1, #0
	bl	_update_size
	mov	x1, sp
	mov	x0, x19
	bl	_ff_format_io_close
	add	x0, sp, #8
	add	x1, sp, #1032
	mov	x2, x19
	bl	_ff_rename
	mov	x23, x0
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x23
	add	sp, sp, #2064
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/stream%d.abst"

l_.str.1:                               ; @.str.1
	.asciz	"%s/stream%d.abst.tmp"

	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Unable to open %s for writing\n"

	.no_dead_strip	_write_abst
.subsections_via_symbols
