	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdt_load_mdpr
_rdt_load_mdpr:                         ## @rdt_load_mdpr
	.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
	movq	%rsi, %r14
	movl	20(%rdi), %esi
	movl	$-1, %r13d
	testl	%esi, %esi
	je	LBB0_11
## %bb.1:
	movl	%edx, %r12d
	movq	%rdi, %r15
	movl	(%rdi), %edx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ffio_init_context
	movq	%rbx, %rdi
	callq	_avio_rl32
	movq	%rax, %rbx
	movl	$77, %edi
	movl	$76, %esi
	movl	$84, %edx
	movl	$73, %ecx
	callq	_MKTAG
	cmpq	%rax, %rbx
	jne	LBB0_9
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rdi
	callq	_avio_rb16
	testl	%r12d, %r12d
	js	LBB0_11
## %bb.3:
	movl	%eax, %r14d
	cmpl	%r12d, %eax
	jle	LBB0_11
## %bb.4:
	leal	(%r12,%r12), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_avio_skip
	movq	%rbx, %rdi
	callq	_avio_rb16
	movl	%eax, %ebx
	notl	%r12d
	addl	%r12d, %r14d
	addl	%r14d, %r14d
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_avio_skip
	movq	%r12, %rdi
	callq	_avio_rb16
	cmpl	%eax, %ebx
	jge	LBB0_11
## %bb.5:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.6:
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_avio_rb32
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_avio_skip
	decl	%ebx
	jne	LBB0_7
LBB0_8:
	leaq	-44(%rbp), %rdi
	callq	_avio_rb32
	movl	%eax, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_9:
	movl	(%r15), %ebx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avio_seek
LBB0_10:
	movl	16(%r15), %edi
	movq	8(%r15), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %ecx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_ff_rm_read_mdpr_codecdata
	movq	%rax, %r13
	sarq	$63, %r13
LBB0_11:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_rdt_load_mdpr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdt_load_mdpr
_rdt_load_mdpr:                         ; @rdt_load_mdpr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	ldr	w1, [x0, #20]
	cbz	w1, LBB0_8
; %bb.1:
	mov	x21, x2
	mov	x20, x0
	ldr	w2, [x0]
	add	x0, sp, #12
	mov	w3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_ffio_init_context
	add	x0, sp, #12
	bl	_avio_rl32
	mov	x22, x0
	mov	w0, #77
	mov	w1, #76
	mov	w2, #84
	mov	w3, #73
	bl	_MKTAG
	cmp	x22, x0
	b.ne	LBB0_9
; %bb.2:
	add	x0, sp, #12
	bl	_avio_rb16
	mov	x23, x0
	mov	w0, #-1
	tbnz	w21, #31, LBB0_11
; %bb.3:
	cmp	w23, w21
	b.le	LBB0_11
; %bb.4:
	lsl	w1, w21, #1
	add	x0, sp, #12
	bl	_avio_skip
	add	x0, sp, #12
	bl	_avio_rb16
	mov	x22, x0
	mvn	w8, w21
	add	w8, w23, w8
	lsl	w1, w8, #1
	add	x0, sp, #12
	bl	_avio_skip
	add	x0, sp, #12
	bl	_avio_rb16
	cmp	w22, w0
	b.ge	LBB0_8
; %bb.5:
	cbz	w22, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	add	x0, sp, #12
	bl	_avio_rb32
	mov	x1, x0
	add	x0, sp, #12
	bl	_avio_skip
	cbnz	w22, LBB0_6
LBB0_7:
	add	x0, sp, #12
	bl	_avio_rb32
	mov	x21, x0
	b	LBB0_10
LBB0_8:
	mov	w0, #-1
	b	LBB0_11
LBB0_9:
	ldr	w21, [x20]
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	w1, #0
	bl	_avio_seek
LBB0_10:
	ldr	w0, [x20, #16]
	ldr	x8, [x20, #8]
	ldr	x9, [x19]
	ldr	w3, [x8, x9, lsl #2]
	add	x1, sp, #12
	mov	x2, x19
	mov	x4, x21
	mov	x5, #0
	bl	_ff_rm_read_mdpr_codecdata
	asr	x0, x0, #63
LBB0_11:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_rdt_load_mdpr
.subsections_via_symbols
