	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dsd2pcm_translate           ## -- Begin function ff_dsd2pcm_translate
	.p2align	4, 0x90
_ff_dsd2pcm_translate:                  ## @ff_dsd2pcm_translate
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FIFOSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %r15d
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	8(%rbx), %rsi
	leal	(,%r12,8), %edx
	movq	%r14, %rdi
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	callq	_memcpy
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%r13, %r11
	movq	_ff_reverse@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_CTABLES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_FIFOMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	(%r9,%r9), %eax
	negl	%eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_ctables@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movslq	16(%rbp), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	%r9d, %r10d
	andl	$-2, %r10d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorpd	%xmm0, %xmm0
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax,8), %rbx
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, (%rdx)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rdx
	andl	%esi, %r13d
	movl	%r13d, %r15d
	testq	%r11, %r11
	je	LBB0_14
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%rbx, %r8
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	leaq	(%r12,%rax,8), %r8
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	decq	%r11
	movl	%r15d, %eax
	subl	%r9d, %eax
	movl	%esi, %ecx
	andl	%eax, %ecx
	leal	1(%r15), %r13d
	movq	(%r8), %r8
	movl	%r15d, %eax
	movq	%r8, (%r14,%rax,8)
	movq	(%r14,%rcx,8), %rax
	movq	(%r12,%rax,8), %rax
	movq	%rax, (%r14,%rcx,8)
	testq	%r9, %r9
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpl	$1, %r9d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorpd	%xmm0, %xmm0
	xorl	%r8d, %r8d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r15), %r9d
	xorpd	%xmm0, %xmm0
	movl	%r15d, %r12d
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %eax
	andl	%esi, %eax
	movq	(%r14,%rax,8), %rax
	leal	(%r9,%r8), %ecx
	incl	%ecx
	andl	%esi, %ecx
	movq	(%r14,%rcx,8), %rcx
	movq	(%rdi,%r8,8), %rbx
	movq	8(%rdi,%r8,8), %r11
	movq	(%rbx,%rcx,8), %rcx
	addq	(%rbx,%rax,8), %rcx
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rcx, %xmm1
	addsd	%xmm0, %xmm1
	leal	-1(%r12), %eax
	andl	%esi, %eax
	movq	(%r14,%rax,8), %rax
	leal	(%r9,%r8), %ecx
	addl	$2, %ecx
	andl	%esi, %ecx
	movq	(%r14,%rcx,8), %rcx
	movq	(%r11,%rcx,8), %rcx
	addq	(%r11,%rax,8), %rcx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rcx, %xmm0
	addsd	%xmm1, %xmm0
	addq	$2, %r8
	addl	$-2, %r12d
	cmpq	%r8, %r10
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	testb	$1, %r9b
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	%r13d, %eax
	subl	%r8d, %r15d
	movl	%esi, %ecx
	andl	%r15d, %ecx
	movq	(%r14,%rcx,8), %r9
	addl	%r8d, %eax
	andl	%esi, %eax
	movq	(%r14,%rax,8), %rax
	movq	(%rdi,%r8,8), %rcx
	movq	(%rcx,%rax,8), %rax
	addq	(%rcx,%r9,8), %rax
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rax, %xmm1
	addsd	%xmm1, %xmm0
	jmp	LBB0_13
LBB0_1:
	movl	%r15d, %r13d
LBB0_14:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%r13d, (%rax)
	movq	8(%rax), %rdi
	movq	%r14, %rsi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FIFOSIZE,4,2                   ## @FIFOSIZE
	.comm	_ff_reverse,8,3                 ## @ff_reverse
	.comm	_CTABLES,4,2                    ## @CTABLES
	.comm	_FIFOMASK,4,2                   ## @FIFOMASK
	.comm	_ctables,8,3                    ## @ctables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dsd2pcm_translate           ; -- Begin function ff_dsd2pcm_translate
	.p2align	2
_ff_dsd2pcm_translate:                  ; @ff_dsd2pcm_translate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x26, x6
	mov	x20, x5
	mov	x27, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _FIFOSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIFOSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w28, [x0]
	ldr	x1, [x0, #8]
	lsl	w25, w12, #3
	mov	x0, x24
	mov	x2, x25
	bl	_memcpy
	cbz	x23, LBB0_9
; %bb.1:
Lloh8:
	adrp	x8, _ff_reverse@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ff_reverse@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	sxtw	x9, w27
Lloh11:
	adrp	x10, _CTABLES@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CTABLES@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x11, _FIFOMASK@GOTPAGE
Lloh15:
	ldr	x11, [x11, _FIFOMASK@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
Lloh17:
	adrp	x12, _ctables@GOTPAGE
Lloh18:
	ldr	x12, [x12, _ctables@GOTPAGEOFF]
Lloh19:
	ldr	x12, [x12]
	sxtw	x13, w26
	mov	w14, #1
	sub	w14, w14, w10, lsl #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	movi	d0, #0000000000000000
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, x9, lsl #3
	add	w15, w28, #1
	fcvt	s0, d0
	str	s0, [x20]
	add	x20, x20, x13, lsl #2
	and	w28, w11, w15
	cbz	x23, LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x15, x21
	cbz	w22, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x21]
	add	x15, x8, x15, lsl #3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x23, x23, #1
	ldr	x15, [x15]
	str	x15, [x24, w28, uxtw #3]
	sub	w15, w28, w10
	and	x15, x15, x11
	lsl	x15, x15, #3
	ldr	x16, [x24, x15]
	ldr	x16, [x8, x16, lsl #3]
	str	x16, [x24, x15]
	cbz	w10, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w15, w14, w28
	movi	d0, #0000000000000000
	mov	x16, x10
	mov	x17, x28
	mov	x0, x12
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	x1, x17, x11
	ldr	x1, [x24, x1, lsl #3]
	and	w2, w15, w11
	ldr	x2, [x24, w2, uxtw #3]
	ldr	x3, [x0], #8
	ldr	x1, [x3, x1, lsl #3]
	ldr	x2, [x3, x2, lsl #3]
	add	x1, x2, x1
	scvtf	d1, x1
	fadd	d0, d0, d1
	add	w15, w15, #1
	sub	w17, w17, #1
	subs	x16, x16, #1
	b.ne	LBB0_8
	b	LBB0_3
LBB0_9:
	str	w28, [x19]
	ldr	x0, [x19, #8]
	mov	x1, x24
	mov	x2, x25
	bl	_memcpy
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_FIFOSIZE,4,2                   ; @FIFOSIZE
	.comm	_ff_reverse,8,3                 ; @ff_reverse
	.comm	_CTABLES,4,2                    ; @CTABLES
	.comm	_FIFOMASK,4,2                   ; @FIFOMASK
	.comm	_ctables,8,3                    ; @ctables
.subsections_via_symbols
