	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca0132_capture_pcm_delay
_ca0132_capture_pcm_delay:              ## @ca0132_capture_pcm_delay
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rsi
	movq	(%rsi), %rcx
	movq	_DSP_DOWNLOADED@GOTPCREL(%rip), %rdi
	xorl	%eax, %eax
	cmpq	(%rdi), %rcx
	jne	LBB0_4
## %bb.1:
	movq	(%rdx), %rax
	movq	_DSP_CAPTURE_INIT_LATENCY@GOTPCREL(%rip), %rcx
	movq	_CRYSTAL_VOICE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movq	_EFFECT_START_NID@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rdi
	movq	8(%rsi), %rsi
	xorl	%edx, %edx
	cmpq	$0, (%rsi,%rdi,8)
	je	LBB0_3
## %bb.2:
	movq	_DSP_CRYSTAL_VOICE_LATENCY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_3:
	addl	(%rcx), %edx
	imull	(%rax), %edx
	imulq	$274877907, %rdx, %rax          ## imm = 0x10624DD3
	shrq	$38, %rax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSP_CAPTURE_INIT_LATENCY,4,2   ## @DSP_CAPTURE_INIT_LATENCY
	.comm	_DSP_DOWNLOADED,8,3             ## @DSP_DOWNLOADED
	.comm	_CRYSTAL_VOICE,8,3              ## @CRYSTAL_VOICE
	.comm	_EFFECT_START_NID,8,3           ## @EFFECT_START_NID
	.comm	_DSP_CRYSTAL_VOICE_LATENCY,8,3  ## @DSP_CRYSTAL_VOICE_LATENCY
	.no_dead_strip	_ca0132_capture_pcm_delay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca0132_capture_pcm_delay
_ca0132_capture_pcm_delay:              ; @ca0132_capture_pcm_delay
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _DSP_DOWNLOADED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DSP_DOWNLOADED@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x2]
Lloh3:
	adrp	x10, _DSP_CAPTURE_INIT_LATENCY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DSP_CAPTURE_INIT_LATENCY@GOTPAGEOFF]
	ldr	x8, [x8, #8]
Lloh5:
	adrp	x11, _CRYSTAL_VOICE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _CRYSTAL_VOICE@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
Lloh8:
	adrp	x12, _EFFECT_START_NID@GOTPAGE
Lloh9:
	ldr	x12, [x12, _EFFECT_START_NID@GOTPAGEOFF]
Lloh10:
	ldr	x12, [x12]
	sub	x11, x11, x12
	ldr	x8, [x8, x11, lsl #3]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _DSP_CRYSTAL_VOICE_LATENCY@GOTPAGE
Lloh13:
	ldr	x11, [x11, _DSP_CRYSTAL_VOICE_LATENCY@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	x8, #0
	csel	w8, wzr, w11, eq
	add	w8, w8, w10
	ldr	w9, [x9]
	mul	w8, w8, w9
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #38
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_2:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DSP_CAPTURE_INIT_LATENCY,4,2   ; @DSP_CAPTURE_INIT_LATENCY
	.comm	_DSP_DOWNLOADED,8,3             ; @DSP_DOWNLOADED
	.comm	_CRYSTAL_VOICE,8,3              ; @CRYSTAL_VOICE
	.comm	_EFFECT_START_NID,8,3           ; @EFFECT_START_NID
	.comm	_DSP_CRYSTAL_VOICE_LATENCY,8,3  ; @DSP_CRYSTAL_VOICE_LATENCY
	.no_dead_strip	_ca0132_capture_pcm_delay
.subsections_via_symbols
