	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca0132_init
_ca0132_init:                           ## @ca0132_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	_DSP_DOWNLOAD_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r15)
	movq	_INVALID_CHIP_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r15)
	callq	_snd_hda_power_up
	movq	%r14, %rdi
	callq	_ca0132_init_params
	movq	%r14, %rdi
	callq	_ca0132_init_flags
	movl	72(%r15), %esi
	movq	%r14, %rdi
	callq	_snd_hda_sequence_write
	movq	%r14, %rdi
	callq	_ca0132_download_dsp
	movq	%r14, %rdi
	callq	_ca0132_refresh_widget_caps
	movq	%r14, %rdi
	callq	_ca0132_setup_defaults
	movq	%r14, %rdi
	callq	_ca0132_init_analog_mic2
	movq	%r14, %rdi
	callq	_ca0132_init_dmic
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rax
	movq	64(%r15), %rcx
	movl	(%rcx,%rbx,4), %esi
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_init_output
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	96(%r15), %rax
	movl	(%rax), %esi
	movl	48(%r15), %edx
	movq	%r14, %rdi
	callq	_init_output
	cmpl	$0, 4(%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movq	40(%r15), %rcx
	movl	(%rcx,%rbx,4), %esi
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	callq	_init_input
	incq	%rbx
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movl	24(%r15), %edx
	movl	88(%r15), %esi
	movq	%r14, %rdi
	callq	_init_input
	cmpl	$0, 8(%r15)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_snd_hda_sequence_write
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	callq	_ca0132_init_unsol
	movq	%r14, %rdi
	callq	_ca0132_select_out
	movq	%r14, %rdi
	callq	_ca0132_select_mic
	movq	%r14, %rdi
	callq	_snd_hda_jack_report_sync
	movq	%r14, %rdi
	callq	_snd_hda_power_down
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSP_DOWNLOAD_INIT,4,2          ## @DSP_DOWNLOAD_INIT
	.comm	_INVALID_CHIP_ADDRESS,4,2       ## @INVALID_CHIP_ADDRESS
	.no_dead_strip	_ca0132_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca0132_init
_ca0132_init:                           ; @ca0132_init
	.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
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _DSP_DOWNLOAD_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSP_DOWNLOAD_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _INVALID_CHIP_ADDRESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INVALID_CHIP_ADDRESS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #76]
	bl	_snd_hda_power_up
	mov	x0, x19
	bl	_ca0132_init_params
	mov	x0, x19
	bl	_ca0132_init_flags
	ldr	w1, [x20, #72]
	mov	x0, x19
	bl	_snd_hda_sequence_write
	mov	x0, x19
	bl	_ca0132_download_dsp
	mov	x0, x19
	bl	_ca0132_refresh_widget_caps
	mov	x0, x19
	bl	_ca0132_setup_defaults
	mov	x0, x19
	bl	_ca0132_init_analog_mic2
	mov	x0, x19
	bl	_ca0132_init_dmic
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20, #56]
	ldr	w1, [x8, x21, lsl #2]
	ldr	w2, [x9]
	mov	x0, x19
	bl	_init_output
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [x20, #96]
	ldr	w1, [x8]
	ldr	w2, [x20, #48]
	mov	x0, x19
	bl	_init_output
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x21, #2
	ldp	x10, x9, [x20, #32]
	ldr	w1, [x9, x8]
	ldr	w2, [x10, x8]
	mov	x0, x19
	bl	_init_input
	add	x21, x21, #1
	ldrsw	x8, [x20, #4]
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	w1, [x20, #88]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_init_input
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_snd_hda_sequence_write
	add	x21, x21, #1
	ldrsw	x8, [x20, #8]
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_9:
	mov	x0, x19
	bl	_ca0132_init_unsol
	mov	x0, x19
	bl	_ca0132_select_out
	mov	x0, x19
	bl	_ca0132_select_mic
	mov	x0, x19
	bl	_snd_hda_jack_report_sync
	mov	x0, x19
	bl	_snd_hda_power_down
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSP_DOWNLOAD_INIT,4,2          ; @DSP_DOWNLOAD_INIT
	.comm	_INVALID_CHIP_ADDRESS,4,2       ; @INVALID_CHIP_ADDRESS
	.no_dead_strip	_ca0132_init
.subsections_via_symbols
