	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function matroska_parse_prores
LCPI0_0:
	.long	0x42cc0000                      ## float 102
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_matroska_parse_prores:                 ## @matroska_parse_prores
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	(%rcx), %r12d
	leaq	16(%rsi), %rdi
	callq	_AV_RB32
	movl	%eax, %ebx
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$105, %edi
	movl	$99, %esi
	movl	$112, %edx
	callq	_MKBETAG
	cmpl	%eax, %ebx
	je	LBB0_3
## %bb.1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %rbx
	addq	$8, %rbx
	movq	_AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_AV_WB32
	leaq	16(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$105, %edi
	movl	$99, %esi
	movl	$112, %edx
	callq	_MKBETAG
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_AV_WB32
	leaq	32(%r13), %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	leaq	(,%rbx,4), %rdi
	addq	%r13, %rdi
	movq	_AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%esi, %esi
	callq	_memset
	movq	%r13, %r14
	movl	%ebx, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_3:
	movq	%r14, (%r13)
	movl	%r12d, (%r15)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,8,3 ## @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_matroska_parse_prores
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matroska_parse_prores
_matroska_parse_prores:                 ; @matroska_parse_prores
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	ldr	w21, [x3]
	add	x0, x1, #16
	bl	_AV_RB32
	mov	x23, x0
	mov	w8, #1120665600
	fmov	s0, w8
	mov	w0, #105
	mov	w1, #99
	mov	w2, #112
	bl	_MKBETAG
	cmp	w23, w0
	b.eq	LBB0_3
; %bb.1:
	sxtw	x8, w21
	add	x23, x8, #8
Lloh0:
	adrp	x26, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGEOFF]
	ldr	x8, [x26]
	add	x0, x8, x23
	bl	_av_malloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x24, x0
	mov	x1, x23
	bl	_AV_WB32
	add	x25, x24, #16
	mov	w8, #1120665600
	fmov	s0, w8
	mov	w0, #105
	mov	w1, #99
	mov	w2, #112
	bl	_MKBETAG
	mov	x1, x0
	mov	x0, x25
	bl	_AV_WB32
	add	x0, x24, #32
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	add	x0, x24, x23, lsl #2
	ldr	x2, [x26]
	mov	w1, #0
	bl	_memset
	mov	x22, x24
	mov	x21, x23
LBB0_3:
	str	x22, [x20]
	str	w21, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,8,3 ; @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_matroska_parse_prores
.subsections_via_symbols
