	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_alc880
_patch_alc880:                          ## @patch_alc880
	.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, %r15
	movl	$11, %esi
	callq	_alc_alloc_spec
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	8(%r15), %r14
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%r14)
	movq	_alc880_fixup_models@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_alc880_fixup_tbl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_alc880_fixups@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_snd_hda_pick_fixup
	movq	_HDA_FIXUP_ACT_PRE_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_snd_hda_apply_fixup
	movq	%r15, %rdi
	callq	_alc880_parse_auto_config
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	cmpl	$0, 8(%r14)
	jne	LBB0_5
## %bb.4:
	movq	_HDA_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$11, %esi
	movl	$5, %edx
	callq	_set_beep_amp
LBB0_5:
	movq	_alc_patch_ops@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_alc880_unsol_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_HDA_FIXUP_ACT_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_snd_hda_apply_fixup
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_alc_free
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_alc880_fixup_models,4,2        ## @alc880_fixup_models
	.comm	_alc880_fixup_tbl,4,2           ## @alc880_fixup_tbl
	.comm	_alc880_fixups,4,2              ## @alc880_fixups
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ## @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_HDA_INPUT,4,2                  ## @HDA_INPUT
	.comm	_alc_patch_ops,4,2              ## @alc_patch_ops
	.comm	_alc880_unsol_event,4,2         ## @alc880_unsol_event
	.comm	_HDA_FIXUP_ACT_PROBE,4,2        ## @HDA_FIXUP_ACT_PROBE
	.no_dead_strip	_patch_alc880
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_alc880
_patch_alc880:                          ; @patch_alc880
	.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
	mov	w1, #11
	bl	_alc_alloc_spec
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x20, [x19, #8]
	movi.2s	v0, #1
	str	d0, [x20]
Lloh0:
	adrp	x8, _alc880_fixup_models@GOTPAGE
Lloh1:
	ldr	x8, [x8, _alc880_fixup_models@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _alc880_fixup_tbl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _alc880_fixup_tbl@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _alc880_fixups@GOTPAGE
Lloh7:
	ldr	x8, [x8, _alc880_fixups@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_snd_hda_pick_fixup
Lloh9:
	adrp	x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_hda_apply_fixup
	mov	x0, x19
	bl	_alc880_parse_auto_config
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _HDA_INPUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDA_INPUT@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #11
	mov	w2, #5
	bl	_set_beep_amp
LBB0_4:
Lloh15:
	adrp	x8, _alc_patch_ops@GOTPAGE
Lloh16:
	ldr	x8, [x8, _alc_patch_ops@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _alc880_unsol_event@GOTPAGE
Lloh19:
	ldr	x9, [x9, _alc880_unsol_event@GOTPAGEOFF]
	str	w8, [x19]
Lloh20:
	ldr	w8, [x9]
	str	w8, [x19]
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	w21, #0
	b	LBB0_7
LBB0_5:
	mov	x21, x0
	b	LBB0_7
LBB0_6:
	mov	x21, x0
	mov	x0, x19
	bl	_alc_free
LBB0_7:
	mov	x0, x21
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_alc880_fixup_models,4,2        ; @alc880_fixup_models
	.comm	_alc880_fixup_tbl,4,2           ; @alc880_fixup_tbl
	.comm	_alc880_fixups,4,2              ; @alc880_fixups
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ; @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_HDA_INPUT,4,2                  ; @HDA_INPUT
	.comm	_alc_patch_ops,4,2              ; @alc_patch_ops
	.comm	_alc880_unsol_event,4,2         ; @alc880_unsol_event
	.comm	_HDA_FIXUP_ACT_PROBE,4,2        ; @HDA_FIXUP_ACT_PROBE
	.no_dead_strip	_patch_alc880
.subsections_via_symbols
