	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_input_coef
_init_input_coef:                       ## @init_input_coef
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_CS420X_VENDOR_NID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movq	_IDX_BEEP_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_cs_vendor_coef_get
	movl	%eax, %r14d
	movq	_CS_DMIC2_PIN_NID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_is_active_pin
	movl	%r14d, %ebx
	orl	$16, %ebx
	testq	%rax, %rax
	cmovel	%r14d, %ebx
	movq	_CS_DMIC1_PIN_NID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_is_active_pin
	movl	%ebx, %edx
	orl	$8, %edx
	testq	%rax, %rax
	cmovel	%ebx, %edx
	movl	(%r15), %esi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cs_vendor_coef_set             ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS420X_VENDOR_NID,8,3          ## @CS420X_VENDOR_NID
	.comm	_IDX_BEEP_CFG,4,2               ## @IDX_BEEP_CFG
	.comm	_CS_DMIC2_PIN_NID,4,2           ## @CS_DMIC2_PIN_NID
	.comm	_CS_DMIC1_PIN_NID,4,2           ## @CS_DMIC1_PIN_NID
	.no_dead_strip	_init_input_coef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_input_coef
_init_input_coef:                       ; @init_input_coef
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _CS420X_VENDOR_NID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CS420X_VENDOR_NID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x21, _IDX_BEEP_CFG@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IDX_BEEP_CFG@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_cs_vendor_coef_get
	mov	x20, x0
Lloh5:
	adrp	x8, _CS_DMIC2_PIN_NID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CS_DMIC2_PIN_NID@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_is_active_pin
	orr	w8, w20, #0x10
	cmp	x0, #0
	csel	w20, w20, w8, eq
Lloh8:
	adrp	x8, _CS_DMIC1_PIN_NID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CS_DMIC1_PIN_NID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_is_active_pin
	orr	w8, w20, #0x8
	cmp	x0, #0
	csel	w2, w20, w8, eq
	ldr	w1, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cs_vendor_coef_set
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CS420X_VENDOR_NID,8,3          ; @CS420X_VENDOR_NID
	.comm	_IDX_BEEP_CFG,4,2               ; @IDX_BEEP_CFG
	.comm	_CS_DMIC2_PIN_NID,4,2           ; @CS_DMIC2_PIN_NID
	.comm	_CS_DMIC1_PIN_NID,4,2           ; @CS_DMIC1_PIN_NID
	.no_dead_strip	_init_input_coef
.subsections_via_symbols
