	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_voicefx
_add_voicefx:                           ## @add_voicefx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_ca0132_voicefx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VOICEFX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_HDA_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_HDA_CODEC_MUTE_MONO
	movq	_ca0132_voicefx_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_ca0132_voicefx_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_ca0132_voicefx_put@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %ebx
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_snd_hda_ctl_add
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ca0132_voicefx,4,2             ## @ca0132_voicefx
	.comm	_VOICEFX,4,2                    ## @VOICEFX
	.comm	_HDA_INPUT,4,2                  ## @HDA_INPUT
	.comm	_ca0132_voicefx_info,4,2        ## @ca0132_voicefx_info
	.comm	_ca0132_voicefx_get,4,2         ## @ca0132_voicefx_get
	.comm	_ca0132_voicefx_put,4,2         ## @ca0132_voicefx_put
	.no_dead_strip	_add_voicefx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_voicefx
_add_voicefx:                           ; @add_voicefx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ca0132_voicefx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ca0132_voicefx@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x20, _VOICEFX@GOTPAGE
Lloh4:
	ldr	x20, [x20, _VOICEFX@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _HDA_INPUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HDA_INPUT@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	w2, #1
	mov	w3, #0
	bl	_HDA_CODEC_MUTE_MONO
Lloh8:
	adrp	x8, _ca0132_voicefx_info@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ca0132_voicefx_info@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh11:
	adrp	x8, _ca0132_voicefx_get@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ca0132_voicefx_get@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ca0132_voicefx_put@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ca0132_voicefx_put@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [sp]
	ldr	w20, [x20]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_snd_hda_ctl_add
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ca0132_voicefx,4,2             ; @ca0132_voicefx
	.comm	_VOICEFX,4,2                    ; @VOICEFX
	.comm	_HDA_INPUT,4,2                  ; @HDA_INPUT
	.comm	_ca0132_voicefx_info,4,2        ; @ca0132_voicefx_info
	.comm	_ca0132_voicefx_get,4,2         ; @ca0132_voicefx_get
	.comm	_ca0132_voicefx_put,4,2         ; @ca0132_voicefx_put
	.no_dead_strip	_add_voicefx
.subsections_via_symbols
