	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alc_auto_init_amp
_alc_auto_init_amp:                     ## @alc_auto_init_amp
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$1, %esi
	callq	_alc_auto_setup_eapd
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_alc_gpio3_init_verbs@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_alc_gpio1_init_verbs@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_alc_gpio2_init_verbs@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_sequence_write         ## TAILCALL
LBB0_6:
	movl	(%r14), %eax
	leal	-283904128(%rax), %ecx
	cmpl	$8, %ecx
	ja	LBB0_7
## %bb.10:
	movl	$173, %edx
	btl	%ecx, %edx
	jae	LBB0_11
LBB0_14:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alc889_coef_init               ## TAILCALL
LBB0_11:
	cmpl	$8, %ecx
	jne	LBB0_7
## %bb.12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alc888_coef_init               ## TAILCALL
LBB0_7:
	cmpl	$283902562, %eax                ## imm = 0x10EC0262
	je	LBB0_14
## %bb.8:
	cmpl	$283902560, %eax                ## imm = 0x10EC0260
	jne	LBB0_13
## %bb.9:
	movq	_AC_VERB_SET_COEF_INDEX@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movl	$26, %esi
	xorl	%edx, %edx
	movl	$7, %r8d
	callq	_snd_hda_codec_write
	movq	_AC_VERB_GET_PROC_COEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$26, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movl	%eax, %ebx
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movl	$26, %esi
	xorl	%edx, %edx
	movl	$7, %r8d
	callq	_snd_hda_codec_write
	movq	_AC_VERB_SET_PROC_COEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	$8208, %ebx                     ## imm = 0x2010
	movq	%r14, %rdi
	movl	$26, %esi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_codec_write            ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_alc_gpio1_init_verbs,4,2       ## @alc_gpio1_init_verbs
	.comm	_alc_gpio2_init_verbs,4,2       ## @alc_gpio2_init_verbs
	.comm	_alc_gpio3_init_verbs,4,2       ## @alc_gpio3_init_verbs
	.comm	_AC_VERB_SET_COEF_INDEX,4,2     ## @AC_VERB_SET_COEF_INDEX
	.comm	_AC_VERB_GET_PROC_COEF,4,2      ## @AC_VERB_GET_PROC_COEF
	.comm	_AC_VERB_SET_PROC_COEF,4,2      ## @AC_VERB_SET_PROC_COEF
	.no_dead_strip	_alc_auto_init_amp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alc_auto_init_amp
_alc_auto_init_amp:                     ; @alc_auto_init_amp
	.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	x20, x1
	mov	x19, x0
	mov	w1, #1
	bl	_alc_auto_setup_eapd
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _alc_gpio3_init_verbs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _alc_gpio3_init_verbs@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _alc_gpio1_init_verbs@GOTPAGE
Lloh5:
	ldr	x8, [x8, _alc_gpio1_init_verbs@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _alc_gpio2_init_verbs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _alc_gpio2_init_verbs@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	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	_snd_hda_sequence_write
LBB0_6:
	ldr	w8, [x19]
	mov	w9, #63360
	movk	w9, #61203, lsl #16
	add	w9, w8, w9
	cmp	w9, #8
	b.hi	LBB0_11
; %bb.7:
	mov	w10, #1
	lsl	w10, w10, w9
	mov	w11, #173
	tst	w10, w11
	b.eq	LBB0_9
LBB0_8:
	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	_alc889_coef_init
LBB0_9:
	cmp	w9, #8
	b.ne	LBB0_11
; %bb.10:
	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	_alc888_coef_init
LBB0_11:
	mov	w9, #610
	movk	w9, #4332, lsl #16
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.12:
	mov	w9, #608
	movk	w9, #4332, lsl #16
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.13:
Lloh8:
	adrp	x21, _AC_VERB_SET_COEF_INDEX@GOTPAGE
Lloh9:
	ldr	x21, [x21, _AC_VERB_SET_COEF_INDEX@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w1, #26
	mov	w2, #0
	mov	w4, #7
	bl	_snd_hda_codec_write
Lloh10:
	adrp	x8, _AC_VERB_GET_PROC_COEF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AC_VERB_GET_PROC_COEF@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #26
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	mov	x20, x0
	ldr	w3, [x21]
	mov	x0, x19
	mov	w1, #26
	mov	w2, #0
	mov	w4, #7
	bl	_snd_hda_codec_write
Lloh13:
	adrp	x8, _AC_VERB_SET_PROC_COEF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AC_VERB_SET_PROC_COEF@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	w8, #8208
	orr	w4, w20, w8
	mov	x0, x19
	mov	w1, #26
	mov	w2, #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
	b	_snd_hda_codec_write
LBB0_14:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_alc_gpio1_init_verbs,4,2       ; @alc_gpio1_init_verbs
	.comm	_alc_gpio2_init_verbs,4,2       ; @alc_gpio2_init_verbs
	.comm	_alc_gpio3_init_verbs,4,2       ; @alc_gpio3_init_verbs
	.comm	_AC_VERB_SET_COEF_INDEX,4,2     ; @AC_VERB_SET_COEF_INDEX
	.comm	_AC_VERB_GET_PROC_COEF,4,2      ; @AC_VERB_GET_PROC_COEF
	.comm	_AC_VERB_SET_PROC_COEF,4,2      ; @AC_VERB_SET_PROC_COEF
	.no_dead_strip	_alc_auto_init_amp
.subsections_via_symbols
