	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seq_read_header
_seq_read_header:                       ## @seq_read_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movq	8(%rdi), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_seq_init_frame_buffers
	testl	%eax, %eax
	je	LBB0_2
LBB0_1:
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_seq_read_close
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	$0, 24(%r15)
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_seq_parse_frame_data
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	decl	%ebx
	jne	LBB0_4
## %bb.5:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %rbx
	movq	_SEQ_FRAME_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	$1, %edx
	callq	_avpriv_set_pts_info
	movl	8(%rbx), %eax
	movl	%eax, 4(%r15)
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 36(%rcx)
	movq	_AV_CODEC_ID_TIERTEXSEQVIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rcx)
	movq	$0, 24(%rcx)
	movq	_SEQ_FRAME_W@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rcx)
	movq	_SEQ_FRAME_H@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rcx)
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %r12
	movq	$0, 16(%rax)
	movq	_SEQ_SAMPLE_RATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%rax, %rdi
	movl	$32, %esi
	movl	$1, %edx
	callq	_avpriv_set_pts_info
	movl	8(%r12), %eax
	movl	%eax, (%r15)
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r12), %rcx
	movl	%eax, 36(%rcx)
	movq	_AV_CODEC_ID_PCM_S16BE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rcx)
	movq	$0, 24(%rcx)
	movl	$1, (%rcx)
	movq	_AV_CH_LAYOUT_MONO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rcx)
	movl	(%rbx), %eax
	movl	%eax, 4(%rcx)
	movl	$16, 8(%rcx)
	shll	$4, %eax
	movl	%eax, 12(%rcx)
	movl	$2, 16(%rcx)
	jmp	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	callq	_seq_read_close
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SEQ_FRAME_RATE,4,2             ## @SEQ_FRAME_RATE
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_TIERTEXSEQVIDEO,4,2 ## @AV_CODEC_ID_TIERTEXSEQVIDEO
	.comm	_SEQ_FRAME_W,4,2                ## @SEQ_FRAME_W
	.comm	_SEQ_FRAME_H,4,2                ## @SEQ_FRAME_H
	.comm	_SEQ_SAMPLE_RATE,4,2            ## @SEQ_SAMPLE_RATE
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_PCM_S16BE,4,2      ## @AV_CODEC_ID_PCM_S16BE
	.comm	_AV_CH_LAYOUT_MONO,4,2          ## @AV_CH_LAYOUT_MONO
	.no_dead_strip	_seq_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seq_read_header
_seq_read_header:                       ; @seq_read_header
	.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	x20, x0
	ldp	x22, x19, [x0]
	mov	x0, x19
	mov	x1, x22
	bl	_seq_init_frame_buffers
	cbz	w0, LBB0_3
LBB0_1:
	mov	x21, x0
	mov	x0, x20
	bl	_seq_read_close
LBB0_2:
	mov	x0, x21
	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
LBB0_3:
	str	xzr, [x19, #24]
	mov	w23, #100
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_seq_parse_frame_data
	cbnz	w0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	subs	w23, w23, #1
	b.ne	LBB0_4
; %bb.6:
	stp	xzr, xzr, [x19, #8]
	mov	x0, x20
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_9
; %bb.7:
	mov	x21, x0
Lloh0:
	adrp	x8, _SEQ_FRAME_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEQ_FRAME_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w23, #1
	mov	w1, #32
	mov	w2, #1
	bl	_avpriv_set_pts_info
	ldr	w8, [x21, #8]
	str	w8, [x19, #4]
Lloh3:
	adrp	x8, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x21]
Lloh6:
	adrp	x10, _AV_CODEC_ID_TIERTEXSEQVIDEO@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AV_CODEC_ID_TIERTEXSEQVIDEO@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #32]
	str	xzr, [x9, #24]
Lloh9:
	adrp	x8, _SEQ_FRAME_W@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEQ_FRAME_W@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x10, _SEQ_FRAME_H@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SEQ_FRAME_H@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #40]
	mov	x0, x20
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_9
; %bb.8:
	mov	x22, x0
	str	xzr, [x0, #16]
Lloh15:
	adrp	x20, _SEQ_SAMPLE_RATE@GOTPAGE
Lloh16:
	ldr	x20, [x20, _SEQ_SAMPLE_RATE@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	w1, #32
	mov	w2, #1
	bl	_avpriv_set_pts_info
	mov	w21, #0
	ldr	w8, [x22, #8]
	str	w8, [x19]
Lloh17:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _AV_CODEC_ID_PCM_S16BE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AV_CODEC_ID_PCM_S16BE@GOTPAGEOFF]
	ldr	x10, [x22]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x10, #32]
	str	xzr, [x10, #24]
	str	w23, [x10]
Lloh23:
	adrp	x8, _AV_CH_LAYOUT_MONO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_CH_LAYOUT_MONO@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x8]
	ldr	w8, [x20]
	mov	w9, #16
	stp	w8, w9, [x10, #4]
	lsl	w8, w8, #4
	mov	w9, #2
	str	w8, [x10, #12]
	stp	w9, w11, [x10, #16]
	b	LBB0_2
LBB0_9:
	mov	x0, x20
	bl	_seq_read_close
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	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	_AVERROR
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SEQ_FRAME_RATE,4,2             ; @SEQ_FRAME_RATE
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_TIERTEXSEQVIDEO,4,2 ; @AV_CODEC_ID_TIERTEXSEQVIDEO
	.comm	_SEQ_FRAME_W,4,2                ; @SEQ_FRAME_W
	.comm	_SEQ_FRAME_H,4,2                ; @SEQ_FRAME_H
	.comm	_SEQ_SAMPLE_RATE,4,2            ; @SEQ_SAMPLE_RATE
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_PCM_S16BE,4,2      ; @AV_CODEC_ID_PCM_S16BE
	.comm	_AV_CH_LAYOUT_MONO,4,2          ; @AV_CH_LAYOUT_MONO
	.no_dead_strip	_seq_read_header
.subsections_via_symbols
