	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function declpcmBSInfo
_declpcmBSInfo:                         ## @declpcmBSInfo
	.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	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movl	16(%rax), %ecx
	movl	%ecx, %r15d
	andl	$7, %r15d
	leal	1(%r15), %r12d
	movq	_hdr2samplesize@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, %esi
	sarl	$6, %esi
	movslq	%esi, %rsi
	movl	(%rdx,%rsi,4), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_hdr2samplerate@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shrq	$2, %rcx
	andl	$12, %ecx
	movl	(%rdx,%rcx), %r14d
	imull	%esi, %r12d
	imull	%r14d, %r12d
	movl	(%rax), %r13d
	imull	%r14d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movl	%r14d, 40(%rbx)
	movl	$1, 44(%rbx)
	movl	%r12d, 8(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	12(%rax), %ecx
	movl	16(%rax), %edx
	shll	$16, %ecx
	shll	$8, %edx
	orl	%ecx, %edx
	orl	20(%rax), %edx
	movl	%edx, 12(%rbx)
	movq	_AV_MATRIX_ENCODING_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_hdr2layout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, 32(%rbx)
	movq	_hb_libav_chan_map@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rbx)
	imull	$150, %r13d, %eax
	cltq
	imulq	$1563749871, %rax, %rax         ## imm = 0x5D34EDEF
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$47, %rax
	addl	%ecx, %eax
	movl	%eax, 20(%rbx)
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hdr2samplesize,8,3             ## @hdr2samplesize
	.comm	_hdr2samplerate,8,3             ## @hdr2samplerate
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LPCM"

	.comm	_AV_MATRIX_ENCODING_NONE,4,2    ## @AV_MATRIX_ENCODING_NONE
	.comm	_hdr2layout,8,3                 ## @hdr2layout
	.comm	_hb_libav_chan_map,4,2          ## @hb_libav_chan_map
	.no_dead_strip	_declpcmBSInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function declpcmBSInfo
_declpcmBSInfo:                         ; @declpcmBSInfo
	.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, x2
	mov	x20, x1
	ldr	x8, [x1]
	ldr	w9, [x8, #16]
	and	x21, x9, #0x7
Lloh0:
	adrp	x10, _hdr2samplesize@GOTPAGE
Lloh1:
	ldr	x10, [x10, _hdr2samplesize@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	asr	w11, w9, #6
	ldr	w22, [x10, w11, sxtw #2]
Lloh3:
	adrp	x10, _hdr2samplerate@GOTPAGE
Lloh4:
	ldr	x10, [x10, _hdr2samplerate@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ubfx	x9, x9, #4, #2
	ldr	w23, [x10, x9, lsl #2]
	madd	w9, w22, w21, w22
	mul	w24, w9, w23
	ldr	w25, [x8]
	mov	x0, x2
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh6:
	adrp	x8, l_.str@PAGE
Lloh7:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
	mov	w8, #1
	stp	w23, w8, [x19, #40]
	str	w24, [x19, #8]
	ldr	x8, [x20]
	ldp	w9, w10, [x8, #12]
	lsl	w10, w10, #8
	orr	w9, w10, w9, lsl #16
	ldr	w8, [x8, #20]
	orr	w8, w9, w8
	str	w8, [x19, #12]
Lloh8:
	adrp	x8, _AV_MATRIX_ENCODING_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_MATRIX_ENCODING_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #36]
Lloh11:
	adrp	x8, _hdr2layout@GOTPAGE
Lloh12:
	ldr	x8, [x8, _hdr2layout@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w8, [x8, x21, lsl #2]
	str	w8, [x19, #32]
Lloh14:
	adrp	x8, _hb_libav_chan_map@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hb_libav_chan_map@GOTPAGEOFF]
	str	x8, [x19, #24]
	mul	w8, w23, w25
	mov	w9, #150
	mul	w8, w8, w9
	mov	w9, #60911
	movk	w9, #23860, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w9, asr #15
	stp	w22, w8, [x19, #16]
	mov	w0, #1
	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
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hdr2samplesize,8,3             ; @hdr2samplesize
	.comm	_hdr2samplerate,8,3             ; @hdr2samplerate
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LPCM"

	.comm	_AV_MATRIX_ENCODING_NONE,4,2    ; @AV_MATRIX_ENCODING_NONE
	.comm	_hdr2layout,8,3                 ; @hdr2layout
	.comm	_hb_libav_chan_map,4,2          ; @hb_libav_chan_map
	.no_dead_strip	_declpcmBSInfo
.subsections_via_symbols
