	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_stac9200
_patch_stac9200:                        ## @patch_stac9200
	.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), %rax
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
	movq	_stac_patch_ops@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_snd_hda_codec_eapd_power_filter@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_stac9200_eapd_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_hda_add_verbs
	movq	_stac9200_models@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_stac9200_fixup_tbl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_stac9200_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	_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	_stac_patch_ops,4,2             ## @stac_patch_ops
	.comm	_snd_hda_codec_eapd_power_filter,4,2 ## @snd_hda_codec_eapd_power_filter
	.comm	_stac9200_eapd_init,4,2         ## @stac9200_eapd_init
	.comm	_stac9200_models,4,2            ## @stac9200_models
	.comm	_stac9200_fixup_tbl,4,2         ## @stac9200_fixup_tbl
	.comm	_stac9200_fixups,4,2            ## @stac9200_fixups
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ## @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_HDA_FIXUP_ACT_PROBE,4,2        ## @HDA_FIXUP_ACT_PROBE
	.no_dead_strip	_patch_stac9200
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_stac9200
_patch_stac9200:                        ; @patch_stac9200
	.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	x8, [x19, #8]
	movi.2s	v0, #1
	str	d0, [x8]
Lloh0:
	adrp	x8, _stac_patch_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stac_patch_ops@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _snd_hda_codec_eapd_power_filter@GOTPAGE
Lloh4:
	ldr	x9, [x9, _snd_hda_codec_eapd_power_filter@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
Lloh6:
	adrp	x8, _stac9200_eapd_init@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stac9200_eapd_init@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_hda_add_verbs
Lloh9:
	adrp	x8, _stac9200_models@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stac9200_models@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _stac9200_fixup_tbl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stac9200_fixup_tbl@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _stac9200_fixups@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stac9200_fixups@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_snd_hda_pick_fixup
Lloh18:
	adrp	x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF]
Lloh20:
	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:
Lloh21:
	adrp	x8, _HDA_FIXUP_ACT_PROBE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HDA_FIXUP_ACT_PROBE@GOTPAGEOFF]
Lloh23:
	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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_stac_patch_ops,4,2             ; @stac_patch_ops
	.comm	_snd_hda_codec_eapd_power_filter,4,2 ; @snd_hda_codec_eapd_power_filter
	.comm	_stac9200_eapd_init,4,2         ; @stac9200_eapd_init
	.comm	_stac9200_models,4,2            ; @stac9200_models
	.comm	_stac9200_fixup_tbl,4,2         ; @stac9200_fixup_tbl
	.comm	_stac9200_fixups,4,2            ; @stac9200_fixups
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ; @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_HDA_FIXUP_ACT_PROBE,4,2        ; @HDA_FIXUP_ACT_PROBE
	.no_dead_strip	_patch_stac9200
.subsections_via_symbols
