	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsd_channel
_dsd_channel:                           ## @dsd_channel
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movq	16(%rdi), %r11
	movq	_AV_CODEC_ID_DSD_LSBF@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_AV_CODEC_ID_DSD_LSBF_PLANAR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	(%rsi), %r10
	movq	8(%rsi), %rsi
	movq	8(%rsi), %rbx
	movslq	%edx, %rax
	movq	(%rbx,%rax,8), %r9
	cmpq	%r12, %rcx
	je	LBB0_2
## %bb.1:
	movq	_AV_CODEC_ID_DSD_MSBF_PLANAR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.3:
	movl	8(%rdi), %r8d
	movl	(%rsi), %esi
	movl	$1, %r15d
	jmp	LBB0_4
LBB0_2:
	movl	(%rsi), %esi
	movl	$1, %r8d
	movl	%esi, %r15d
LBB0_4:
	cmpq	%r12, %rcx
	sete	%dl
	cmpq	%r14, %rcx
	sete	%cl
	orb	%dl, %cl
	movzbl	%cl, %edx
	leaq	(%r11,%rax,4), %rdi
	imull	%r15d, %eax
	movslq	%eax, %rcx
	addq	(%r10), %rcx
	movl	$1, (%rsp)
	callq	_ff_dsd2pcm_translate
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_DSD_LSBF,8,3       ## @AV_CODEC_ID_DSD_LSBF
	.comm	_AV_CODEC_ID_DSD_LSBF_PLANAR,8,3 ## @AV_CODEC_ID_DSD_LSBF_PLANAR
	.comm	_AV_CODEC_ID_DSD_MSBF_PLANAR,8,3 ## @AV_CODEC_ID_DSD_MSBF_PLANAR
	.no_dead_strip	_dsd_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsd_channel
_dsd_channel:                           ; @dsd_channel
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AV_CODEC_ID_DSD_LSBF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_ID_DSD_LSBF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _AV_CODEC_ID_DSD_LSBF_PLANAR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_CODEC_ID_DSD_LSBF_PLANAR@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x10]
	ldr	x10, [x0, #16]
	ldp	x12, x14, [x1]
	ldr	x13, [x14, #8]
	ldr	x5, [x13, w2, sxtw #3]
	sxtw	x13, w2
Lloh6:
	adrp	x15, _AV_CODEC_ID_DSD_MSBF_PLANAR@GOTPAGE
Lloh7:
	ldr	x15, [x15, _AV_CODEC_ID_DSD_MSBF_PLANAR@GOTPAGEOFF]
Lloh8:
	ldr	x15, [x15]
	cmp	x8, x11
	ccmp	x8, x15, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x14]
	mov	w4, #1
	mov	x14, x1
	b	LBB0_3
LBB0_2:
	ldr	w4, [x0, #8]
	ldr	w1, [x14]
	mov	w14, #1
LBB0_3:
	cmp	x8, x9
	ccmp	x8, x11, #4, ne
	cset	w8, eq
	add	x0, x10, x13, lsl #2
	ldr	x9, [x12]
	mul	w10, w14, w2
	add	x3, x9, w10, sxtw
	mov	x2, x8
	mov	w6, #1
	bl	_ff_dsd2pcm_translate
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_DSD_LSBF,8,3       ; @AV_CODEC_ID_DSD_LSBF
	.comm	_AV_CODEC_ID_DSD_LSBF_PLANAR,8,3 ; @AV_CODEC_ID_DSD_LSBF_PLANAR
	.comm	_AV_CODEC_ID_DSD_MSBF_PLANAR,8,3 ; @AV_CODEC_ID_DSD_MSBF_PLANAR
	.no_dead_strip	_dsd_channel
.subsections_via_symbols
