	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca0132_voicefx_set
_ca0132_voicefx_set:                    ## @ca0132_voicefx_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_CRYSTAL_VOICE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_EFFECT_START_NID@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_2
LBB0_3:
	movq	_FLOAT_ZERO@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_FLOAT_ONE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ecx
	movq	_ca0132_voicefx@GOTPCREL(%rip), %rax
	movl	8(%rax), %esi
	movq	(%rax), %rax
	movl	(%rax), %edx
	callq	_dspio_set_uint_param
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYSTAL_VOICE,8,3              ## @CRYSTAL_VOICE
	.comm	_EFFECT_START_NID,8,3           ## @EFFECT_START_NID
	.comm	_FLOAT_ONE,4,2                  ## @FLOAT_ONE
	.comm	_FLOAT_ZERO,4,2                 ## @FLOAT_ZERO
	.comm	_ca0132_voicefx,16,3            ## @ca0132_voicefx
	.no_dead_strip	_ca0132_voicefx_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca0132_voicefx_set
_ca0132_voicefx_set:                    ; @ca0132_voicefx_set
	.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
	cbz	w1, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _CRYSTAL_VOICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRYSTAL_VOICE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _EFFECT_START_NID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EFFECT_START_NID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	sub	x9, x9, x10
	ldr	x8, [x8, x9, lsl #3]
Lloh6:
	adrp	x9, _FLOAT_ONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLOAT_ONE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _FLOAT_ZERO@GOTPAGE
Lloh9:
	ldr	x10, [x10, _FLOAT_ZERO@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _FLOAT_ZERO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FLOAT_ZERO@GOTPAGEOFF]
LBB0_3:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _ca0132_voicefx@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ca0132_voicefx@GOTPAGEOFF]
	ldr	w1, [x8, #8]
	ldr	x8, [x8]
	ldr	w2, [x8]
	bl	_dspio_set_uint_param
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYSTAL_VOICE,8,3              ; @CRYSTAL_VOICE
	.comm	_EFFECT_START_NID,8,3           ; @EFFECT_START_NID
	.comm	_FLOAT_ONE,4,2                  ; @FLOAT_ONE
	.comm	_FLOAT_ZERO,4,2                 ; @FLOAT_ZERO
	.comm	_ca0132_voicefx,16,3            ; @ca0132_voicefx
	.no_dead_strip	_ca0132_voicefx_set
.subsections_via_symbols
