	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ass_subtitle_header         ## -- Begin function ff_ass_subtitle_header
	.p2align	4, 0x90
_ff_ass_subtitle_header:                ## @ff_ass_subtitle_header
	.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
	movl	%r9d, %ebx
	movl	%r8d, %r15d
	movl	%ecx, %r10d
	movl	%edx, %r9d
	movq	%rsi, %r8
	movq	%rdi, %r12
	movl	40(%rbp), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %r11d
	movl	24(%rbp), %r14d
	movl	16(%rbp), %r13d
	movq	_AV_CODEC_FLAG_BITEXACT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	_LIBAVCODEC_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r10, -72(%rbp)                 ## 8-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	callq	_AV_STRINGIFY
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	movq	%rax, %rsi
LBB0_3:
	movq	_ASS_DEFAULT_PLAYRESX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ASS_DEFAULT_PLAYRESY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	negl	%ebx
	negl	%r13d
	negl	%r14d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%r11
	pushq	%r14
	pushq	%r13
	pushq	%rbx
	pushq	%r15
	pushq	%r15
	pushq	%r10
	pushq	%r10
	callq	_av_asprintf
	addq	$80, %rsp
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %edi
	callq	_strlen
	movl	%eax, 8(%r12)
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[Script Info]\r\n; Script generated by FFmpeg/Lavc%s\r\nScriptType: v4.00+\r\nPlayResX: %d\r\nPlayResY: %d\r\n\r\n[V4+ Styles]\r\nFormat: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding\r\nStyle: Default,%s,%d,&H%x,&H%x,&H%x,&H%x,%d,%d,%d,0,100,100,0,0,%d,1,0,%d,10,10,10,0\r\n\r\n[Events]\r\nFormat: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text\r\n"

	.comm	_AV_CODEC_FLAG_BITEXACT,4,2     ## @AV_CODEC_FLAG_BITEXACT
	.comm	_LIBAVCODEC_VERSION,4,2         ## @LIBAVCODEC_VERSION
L_.str.1:                               ## @.str.1
	.space	1

	.comm	_ASS_DEFAULT_PLAYRESX,4,2       ## @ASS_DEFAULT_PLAYRESX
	.comm	_ASS_DEFAULT_PLAYRESY,4,2       ## @ASS_DEFAULT_PLAYRESY
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ass_subtitle_header         ; -- Begin function ff_ass_subtitle_header
	.p2align	2
_ff_ass_subtitle_header:                ; @ff_ass_subtitle_header
	.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	x24, x7
	mov	x25, x6
	mov	x26, x5
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldp	w28, w27, [x29, #16]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AV_CODEC_FLAG_BITEXACT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_FLAG_BITEXACT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _LIBAVCODEC_VERSION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LIBAVCODEC_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_AV_STRINGIFY
	mov	x1, x0
LBB0_3:
Lloh8:
	adrp	x8, _ASS_DEFAULT_PLAYRESX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ASS_DEFAULT_PLAYRESX@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _ASS_DEFAULT_PLAYRESY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASS_DEFAULT_PLAYRESY@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	neg	w8, w26
	neg	w9, w25
	neg	w10, w24
	stp	w28, w27, [sp, #20]
	stp	w9, w10, [sp, #12]
	stp	w23, w8, [sp, #4]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	str	w23, [sp]
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	mov	x7, x20
	bl	_av_asprintf
	str	w0, [x19, #4]
	cbz	w0, LBB0_5
; %bb.4:
	bl	_strlen
	str	w0, [x19, #8]
	mov	w0, #0
	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
LBB0_5:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[Script Info]\r\n; Script generated by FFmpeg/Lavc%s\r\nScriptType: v4.00+\r\nPlayResX: %d\r\nPlayResY: %d\r\n\r\n[V4+ Styles]\r\nFormat: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding\r\nStyle: Default,%s,%d,&H%x,&H%x,&H%x,&H%x,%d,%d,%d,0,100,100,0,0,%d,1,0,%d,10,10,10,0\r\n\r\n[Events]\r\nFormat: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text\r\n"

	.comm	_AV_CODEC_FLAG_BITEXACT,4,2     ; @AV_CODEC_FLAG_BITEXACT
	.comm	_LIBAVCODEC_VERSION,4,2         ; @LIBAVCODEC_VERSION
l_.str.1:                               ; @.str.1
	.space	1

	.comm	_ASS_DEFAULT_PLAYRESX,4,2       ; @ASS_DEFAULT_PLAYRESX
	.comm	_ASS_DEFAULT_PLAYRESY,4,2       ; @ASS_DEFAULT_PLAYRESY
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
