	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alc269_fixup_hp_mute_led
_alc269_fixup_hp_mute_led:              ## @alc269_fixup_hp_mute_led
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_HDA_FIXUP_ACT_PRE_PROBE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_DMI_DEV_TYPE_OEM_STRING@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_dmi_find_device
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r14
	leaq	-48(%rbp), %r15
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_sscanf
	cmpl	$2, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_dmi_find_device
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_7
LBB0_4:
	movl	-44(%rbp), %eax
	addl	$-16, %eax
	cmpl	$-6, %eax
	jb	LBB0_7
## %bb.5:
	movl	-48(%rbp), %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, (%rcx)
	movl	-44(%rbp), %esi
	addl	$14, %esi
	movl	%esi, 4(%rcx)
	movq	_alc269_fixup_mic_mute_hook@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movl	$1, 8(%rcx)
	leaq	L_.str.1(%rip), %rdi
	callq	_snd_printd
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ## @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_DMI_DEV_TYPE_OEM_STRING,4,2    ## @DMI_DEV_TYPE_OEM_STRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HP_Mute_LED_%d_%x"

	.comm	_alc269_fixup_mic_mute_hook,4,2 ## @alc269_fixup_mic_mute_hook
L_.str.1:                               ## @.str.1
	.asciz	"Detected mute LED for %x:%d\n"

	.no_dead_strip	_alc269_fixup_hp_mute_led
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alc269_fixup_hp_mute_led
_alc269_fixup_hp_mute_led:              ; @alc269_fixup_hp_mute_led
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_7
; %bb.1:
	ldr	x21, [x0]
Lloh3:
	adrp	x22, _DMI_DEV_TYPE_OEM_STRING@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DMI_DEV_TYPE_OEM_STRING@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, #0
	mov	x2, #0
	bl	_dmi_find_device
	cbz	x0, LBB0_7
; %bb.2:
	mov	x19, x0
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x1, x20
	bl	_sscanf
	cmp	w0, #2
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x22]
	mov	x1, #0
	mov	x2, x19
	bl	_dmi_find_device
	mov	x19, x0
	cbnz	x0, LBB0_3
	b	LBB0_7
LBB0_5:
	ldr	w8, [sp, #8]
	sub	w8, w8, #16
	cmn	w8, #6
	b.lo	LBB0_7
; %bb.6:
	ldr	w2, [sp, #12]
	str	w2, [x21]
	ldr	w8, [sp, #8]
Lloh7:
	adrp	x9, _alc269_fixup_mic_mute_hook@GOTPAGE
Lloh8:
	ldr	x9, [x9, _alc269_fixup_mic_mute_hook@GOTPAGEOFF]
	add	w1, w8, #14
Lloh9:
	ldr	w10, [x9]
	mov	w8, #1
	str	w1, [x21, #4]
	stp	w8, w10, [x21, #8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_snd_printd
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ; @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_DMI_DEV_TYPE_OEM_STRING,4,2    ; @DMI_DEV_TYPE_OEM_STRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HP_Mute_LED_%d_%x"

	.comm	_alc269_fixup_mic_mute_hook,4,2 ; @alc269_fixup_mic_mute_hook
l_.str.1:                               ; @.str.1
	.asciz	"Detected mute LED for %x:%d\n"

	.no_dead_strip	_alc269_fixup_hp_mute_led
.subsections_via_symbols
