	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function patch_stac9205
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_patch_stac9205:                        ## @patch_stac9205
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_alloc_stac_spec
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	8(%r14), %rbx
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movabsq	$150323855361, %rax             ## imm = 0x2300000001
	movq	%rax, 48(%rbx)
	movq	_stac9205_core_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_hda_add_verbs
	movq	_stac9205_loopback@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movl	$64, 8(%rbx)
	movq	$0, 32(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, 12(%rbx)
	movl	$1, 28(%rbx)
	movq	_stac_patch_ops@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_stac9205_models@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_stac9205_fixup_tbl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_stac9205_fixups@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_snd_hda_pick_fixup
	movq	_HDA_FIXUP_ACT_PRE_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_hda_apply_fixup
	movq	%r14, %rdi
	callq	_stac_parse_auto_config
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_stac9205_proc_hook@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_HDA_FIXUP_ACT_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_hda_apply_fixup
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_stac_free
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stac9205_core_init,4,2         ## @stac9205_core_init
	.comm	_stac9205_loopback,4,2          ## @stac9205_loopback
	.comm	_stac_patch_ops,4,2             ## @stac_patch_ops
	.comm	_stac9205_models,4,2            ## @stac9205_models
	.comm	_stac9205_fixup_tbl,4,2         ## @stac9205_fixup_tbl
	.comm	_stac9205_fixups,4,2            ## @stac9205_fixups
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ## @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_stac9205_proc_hook,4,2         ## @stac9205_proc_hook
	.comm	_HDA_FIXUP_ACT_PROBE,4,2        ## @HDA_FIXUP_ACT_PROBE
	.no_dead_strip	_patch_stac9205
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function patch_stac9205
lCPI0_0:
	.long	1                               ; 0x1
	.long	35                              ; 0x23
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_patch_stac9205:                        ; @patch_stac9205
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_alloc_stac_spec
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x20, [x19, #8]
	movi.2s	v0, #1
	str	d0, [x20]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20, #48]
Lloh2:
	adrp	x8, _stac9205_core_init@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stac9205_core_init@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_hda_add_verbs
Lloh5:
	adrp	x8, _stac9205_loopback@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stac9205_loopback@GOTPAGEOFF]
	mov	w9, #64
	str	w9, [x20, #8]
	stp	xzr, x8, [x20, #32]
	movi.4s	v0, #1
	stur	q0, [x20, #12]
	mov	w8, #1
Lloh7:
	adrp	x9, _stac_patch_ops@GOTPAGE
Lloh8:
	ldr	x9, [x9, _stac_patch_ops@GOTPAGEOFF]
	str	w8, [x20, #28]
Lloh9:
	ldr	w8, [x9]
	str	w8, [x19, #4]
Lloh10:
	adrp	x8, _stac9205_models@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stac9205_models@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _stac9205_fixup_tbl@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stac9205_fixup_tbl@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _stac9205_fixups@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stac9205_fixups@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_snd_hda_pick_fixup
Lloh19:
	adrp	x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_hda_apply_fixup
	mov	x0, x19
	bl	_stac_parse_auto_config
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh22:
	adrp	x8, _stac9205_proc_hook@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stac9205_proc_hook@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh25:
	adrp	x8, _HDA_FIXUP_ACT_PROBE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HDA_FIXUP_ACT_PROBE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_hda_apply_fixup
	mov	w20, #0
	b	LBB0_5
LBB0_3:
	mov	x20, x0
	b	LBB0_5
LBB0_4:
	mov	x20, x0
	mov	x0, x19
	bl	_stac_free
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_stac9205_core_init,4,2         ; @stac9205_core_init
	.comm	_stac9205_loopback,4,2          ; @stac9205_loopback
	.comm	_stac_patch_ops,4,2             ; @stac_patch_ops
	.comm	_stac9205_models,4,2            ; @stac9205_models
	.comm	_stac9205_fixup_tbl,4,2         ; @stac9205_fixup_tbl
	.comm	_stac9205_fixups,4,2            ; @stac9205_fixups
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ; @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_stac9205_proc_hook,4,2         ; @stac9205_proc_hook
	.comm	_HDA_FIXUP_ACT_PROBE,4,2        ; @HDA_FIXUP_ACT_PROBE
	.no_dead_strip	_patch_stac9205
.subsections_via_symbols
