	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpcmInfo
_lpcmInfo:                              ## @lpcmInfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	(%rsi), %rax
	movl	4(%rax), %esi
	shll	$8, %esi
	orl	8(%rax), %esi
	addl	$2, %esi
	movl	%esi, (%rbx)
	movq	_HB_DVD_READ_BUFFER_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_hb_log
	movl	$2, (%rbx)
	movq	(%r14), %rax
	movl	$2, %esi
LBB0_2:
	movl	16(%rax), %ecx
	andl	$7, %ecx
	incl	%ecx
	movl	%ecx, 4(%rbx)
	movq	_hdr2samplerate@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	16(%rax), %edi
	shrq	$2, %rdi
	andl	$12, %edi
	movl	(%rdx,%rdi), %r8d
	movl	%r8d, 8(%rbx)
	movq	_hdr2samplesize@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	16(%rax), %eax
	sarl	$6, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	movl	%eax, 12(%rbx)
	leal	7(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	cmpl	$24, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$20, %eax
	jne	LBB0_4
## %bb.5:
	movl	$5, %edi
	jmp	LBB0_7
LBB0_6:
	movl	$6, %edi
LBB0_7:
	movl	$2, %r9d
	jmp	LBB0_8
LBB0_4:
	sarl	$3, %edi
	movl	$1, %r9d
LBB0_8:
	movl	8(%r14), %eax
	subl	%esi, %eax
	cltd
	idivl	%edi
	imull	$90000, %r9d, %r10d             ## imm = 0x15F90
	imull	%r10d, %eax
	imull	%r8d, %ecx
	cltd
	idivl	%ecx
	addl	$149, %eax
	cltq
	imulq	$458129845, %rax, %rax          ## imm = 0x1B4E81B5
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$36, %rax
	addl	%edx, %eax
	imull	$150, %eax, %esi
	movl	%esi, 16(%rbx)
	imull	%esi, %ecx
	leal	(%r9,%rcx), %eax
	decl	%eax
	cltd
	idivl	%r10d
	movl	%eax, 20(%rbx)
	imull	%r8d, %esi
	movslq	%esi, %rcx
	imulq	$1563749871, %rcx, %rcx         ## imm = 0x5D34EDEF
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$47, %rcx
	addl	%edx, %ecx
	movl	%ecx, 24(%rbx)
	imull	%edi, %eax
	movl	%eax, 28(%rbx)
	movq	16(%r14), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, 32(%rbx)
LBB0_10:
	movl	24(%r14), %eax
	movl	%eax, 40(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_DVD_READ_BUFFER_SIZE,4,2    ## @HB_DVD_READ_BUFFER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"declpcm: illegal frame offset %d"

	.comm	_hdr2samplerate,8,3             ## @hdr2samplerate
	.comm	_hdr2samplesize,8,3             ## @hdr2samplesize
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.no_dead_strip	_lpcmInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpcmInfo
_lpcmInfo:                              ; @lpcmInfo
	.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
	mov	x19, x1
	ldr	x20, [x0]
	ldr	x8, [x1]
	ldp	w9, w10, [x8, #4]
	orr	w9, w10, w9, lsl #8
	add	w1, w9, #2
	str	w1, [x20]
Lloh0:
	adrp	x9, _HB_DVD_READ_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_DVD_READ_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w1, w9
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
	mov	w1, #2
	str	w1, [x20]
	ldr	x8, [x19]
LBB0_2:
	ldr	w9, [x8, #16]
	and	w9, w9, #0x7
	add	w9, w9, #1
Lloh5:
	adrp	x10, _hdr2samplerate@GOTPAGE
Lloh6:
	ldr	x10, [x10, _hdr2samplerate@GOTPAGEOFF]
	str	w9, [x20, #4]
Lloh7:
	ldr	x10, [x10]
	ldr	w11, [x8, #16]
	ubfx	x11, x11, #4, #2
	ldr	w10, [x10, x11, lsl #2]
	str	w10, [x20, #8]
Lloh8:
	adrp	x11, _hdr2samplesize@GOTPAGE
Lloh9:
	ldr	x11, [x11, _hdr2samplesize@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	ldr	w8, [x8, #16]
	asr	w8, w8, #6
	ldr	w8, [x11, w8, sxtw #2]
	add	w11, w8, #7
	cmp	w8, #0
	csel	w11, w11, w8, lt
	asr	w11, w11, #3
	mov	w12, #1
	mov	w13, #6
	mov	w14, #2
	mov	w15, #5
	mov	w16, #2
	cmp	w8, #20
	csel	w12, w12, w16, ne
	csel	w11, w11, w15, ne
	cmp	w8, #24
	csel	w12, w14, w12, eq
	csel	w11, w13, w11, eq
	ldr	w13, [x19, #8]
	sub	w13, w13, w1
	sdiv	w13, w13, w11
	mov	w14, #24464
	movk	w14, #1, lsl #16
	mul	w14, w12, w14
	mul	w13, w14, w13
	mul	w9, w10, w9
	sdiv	w13, w13, w9
	add	w13, w13, #149
	mov	w15, #33205
	movk	w15, #6990, lsl #16
	smull	x13, w13, w15
	lsr	x15, x13, #63
	asr	x13, x13, #36
	add	w13, w13, w15
	mov	w15, #150
	mul	w13, w13, w15
	stp	w8, w13, [x20, #12]
	madd	w8, w9, w13, w12
	sub	w8, w8, #1
	sdiv	w8, w8, w14
	mul	w9, w13, w10
	mov	w10, #60911
	movk	w10, #23860, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #47
	add	w9, w9, w10
	stp	w8, w9, [x20, #20]
	mul	w8, w8, w11
	str	w8, [x20, #28]
	ldr	x8, [x19, #16]
Lloh11:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	str	x8, [x20, #32]
LBB0_4:
	ldr	w8, [x19, #24]
	str	w8, [x20, #40]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_DVD_READ_BUFFER_SIZE,4,2    ; @HB_DVD_READ_BUFFER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"declpcm: illegal frame offset %d"

	.comm	_hdr2samplerate,8,3             ; @hdr2samplerate
	.comm	_hdr2samplesize,8,3             ; @hdr2samplesize
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.no_dead_strip	_lpcmInfo
.subsections_via_symbols
