	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdd_read_audio                 ## -- Begin function cdd_read_audio
	.p2align	4, 0x90
_cdd_read_audio:                        ## @cdd_read_audio
	.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
	movl	%edi, %esi
	movq	_cdd@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %ebx
	movl	4(%rax), %r12d
	movq	_blip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_blip_clocks_needed
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_scd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 220(%rax)
	je	LBB0_1
LBB0_13:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.14:
	movq	_blip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	negl	%ebx
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_blip_add_delta_fast
LBB0_15:
	testl	%r12d, %r12d
	je	LBB0_17
## %bb.16:
	movq	_blip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	negl	%r12d
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_blip_add_delta_fast
LBB0_17:
	movq	(%r14), %rax
	movl	$0, (%rax)
	xorl	%r12d, %r12d
	jmp	LBB0_18
LBB0_1:
	movq	8(%r14), %rcx
	movq	24(%r14), %rdx
	shlq	$4, %rcx
	movq	(%rdx,%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.2:
	movl	16(%r14), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	208(%rax), %r15d
	movq	_cdc@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leal	(,%r14,4), %edx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_fread
	testl	%r14d, %r14d
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_3
## %bb.4:
	movl	%r15d, %eax
	sarl	$4, %eax
	xorl	%r14d, %r14d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r15d
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	addq	$16, %r13
	cmpl	%r14d, -56(%rbp)                ## 4-byte Folded Reload
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%r15d, %ecx
	andl	$2044, %ecx                     ## imm = 0x7FC
	movl	%r15d, %ebx
	andl	$3, %ebx
	testl	%ecx, %ecx
	cmovnel	%ecx, %ebx
	movl	4(%r13), %ecx
	shll	$8, %ecx
	addl	(%r13), %ecx
	imull	%ebx, %ecx
	leal	1023(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$10, %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	subl	%eax, %edx
	movq	_blip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_blip_add_delta_fast
	movl	12(%r13), %eax
	shll	$8, %eax
	addl	8(%r13), %eax
	imull	%ebx, %eax
	leal	1023(%rax), %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	sarl	$10, %r12d
	movl	%r12d, %edx
	subl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	_blip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	movl	%r14d, %esi
	callq	_blip_add_delta_fast
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r15d
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.11:
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_3:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_12:
	movq	_cdd@GOTPCREL(%rip), %rax
	movl	%r15d, 16(%rax)
	movq	(%rax), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
LBB0_18:
	movl	%r12d, 4(%rax)
	movq	_blip@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_blip_end_frame
	movq	(%r14), %rax
	movl	4(%rax), %edi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_blip_end_frame                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cdd,32,3                       ## @cdd
	.comm	_blip,8,3                       ## @blip
	.comm	_scd,8,3                        ## @scd
	.comm	_cdc,8,3                        ## @cdc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdd_read_audio                 ; -- Begin function cdd_read_audio
	.p2align	2
_cdd_read_audio:                        ; @cdd_read_audio
	.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
	mov	x1, x0
Lloh0:
	adrp	x23, _cdd@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cdd@GOTPAGEOFF]
	ldr	x8, [x23]
	ldp	w25, w24, [x8]
Lloh2:
	adrp	x22, _blip@GOTPAGE
Lloh3:
	ldr	x22, [x22, _blip@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_blip_clocks_needed
	mov	x19, x0
Lloh4:
	adrp	x8, _scd@GOTPAGE
Lloh5:
	ldr	x8, [x8, _scd@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w9, [x8, #220]
	cbz	w9, LBB0_6
LBB0_1:
	cbz	w25, LBB0_3
; %bb.2:
	ldr	x8, [x22]
	ldr	w0, [x8]
	neg	w2, w25
	mov	w1, #0
	bl	_blip_add_delta_fast
LBB0_3:
	cbz	w24, LBB0_5
; %bb.4:
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	neg	w2, w24
	mov	w1, #0
	bl	_blip_add_delta_fast
LBB0_5:
	mov	w24, #0
	ldr	x8, [x23]
	str	wzr, [x8]
	b	LBB0_16
LBB0_6:
	ldr	x9, [x23, #24]
	ldr	x10, [x23, #8]
	lsl	x10, x10, #4
	ldr	x3, [x9, x10]
	cbz	x3, LBB0_1
; %bb.7:
	ldr	w26, [x23, #16]
	ldr	w27, [x8, #208]
Lloh7:
	adrp	x8, _cdc@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cdc@GOTPAGEOFF]
Lloh9:
	ldr	x20, [x8]
	lsl	w2, w19, #2
	mov	x0, x20
	mov	w1, #1
	bl	_fread
	cbz	w19, LBB0_15
; %bb.8:
	mov	w21, #0
	asr	w27, w27, #4
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	add	w26, w26, #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w21, w21, #1
	add	x20, x20, #16
	cmp	w19, w21
	b.eq	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x28, x24
	mov	x8, x25
	and	w9, w26, #0x3
	ands	w10, w26, #0x7fc
	csel	w24, w9, w10, eq
	ldp	w9, w10, [x20]
	add	w9, w9, w10, lsl #8
	mul	w9, w9, w24
	add	w10, w9, #1023
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w25, w9, #10
	sub	w2, w25, w8
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_blip_add_delta_fast
	ldp	w8, w9, [x20, #8]
	add	w8, w8, w9, lsl #8
	mul	w8, w8, w24
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w24, w8, #10
	sub	w2, w24, w28
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	mov	x1, x21
	bl	_blip_add_delta_fast
	cmp	w26, w27
	b.lt	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	b.le	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w26, w26, #1
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	cbnz	w26, LBB0_10
LBB0_15:
	str	w26, [x23, #16]
	ldr	x8, [x23]
	str	w25, [x8]
LBB0_16:
	str	w24, [x8, #4]
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_blip_end_frame
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	mov	x1, x19
	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
	b	_blip_end_frame
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_cdd,32,3                       ; @cdd
	.comm	_blip,8,3                       ; @blip
	.comm	_scd,8,3                        ; @scd
	.comm	_cdc,8,3                        ; @cdc
.subsections_via_symbols
