	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_dmlp
_mov_read_dmlp:                         ## @mov_read_dmlp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movl	(%rcx), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	cmpl	$9, %edx
	jg	LBB0_3
## %bb.2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_4
LBB0_3:
	movq	8(%rcx), %rcx
	decl	%eax
	movq	(%rcx,%rax,8), %r15
	movq	%rsi, %rdi
	callq	_avio_rb32
	movl	%eax, %edi
	shrl	$28, %edi
	movl	%eax, %ebx
	andl	$8191, %ebx                     ## imm = 0x1FFF
	shrl	$15, %eax
	andl	$31, %eax
	testl	%ebx, %ebx
	cmovel	%eax, %ebx
	movl	%edi, %ecx
	andb	$7, %cl
	movl	$40, %eax
	shll	%cl, %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	callq	_mlp_samplerate
	movq	(%r15), %rcx
	movl	%eax, 12(%rcx)
	movl	%ebx, %edi
	callq	_truehd_channels
	movq	(%r15), %rcx
	movl	%eax, 8(%rcx)
	movl	%ebx, %edi
	callq	_truehd_layout
	movq	(%r15), %rcx
	movl	%eax, 4(%rcx)
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_mov_read_dmlp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_dmlp
_mov_read_dmlp:                         ; @mov_read_dmlp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w9, [x8]
	subs	w9, w9, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w2, #9
	b.gt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	x8, [x8, #8]
	ldr	x20, [x8, w9, uxtw #3]
	mov	x0, x1
	bl	_avio_rb32
	lsr	w8, w0, #28
	ubfx	w9, w0, #15, #5
	ands	w10, w0, #0x1fff
	csel	w19, w9, w10, eq
	ubfx	w9, w0, #28, #3
	mov	w10, #40
	lsl	w9, w10, w9
	ldr	x10, [x20]
	str	w9, [x10]
	mov	x0, x8
	bl	_mlp_samplerate
	ldr	x8, [x20]
	str	w0, [x8, #12]
	mov	x0, x19
	bl	_truehd_channels
	ldr	x8, [x20]
	str	w0, [x8, #8]
	mov	x0, x19
	bl	_truehd_layout
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x20]
	str	w8, [x9, #4]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_mov_read_dmlp
.subsections_via_symbols
