	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mute_led_on_off
_mute_led_on_off:                       ## @mute_led_on_off
	.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
	movq	_hkey_handle@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	12(%r14), %esi
	leaq	-32(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	12(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movl	(%r15), %edi
	movl	12(%r14), %edx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setne	%al
	movl	4(%r14,%rax,4), %r8d
	leaq	L_.str.1(%rip), %rcx
	leaq	-28(%rbp), %rsi
	callq	_acpi_evalf
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%ebx, (%r14)
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hkey_handle,4,2                ## @hkey_handle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Thinkpad ACPI has no %s interface.\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"dd"

	.no_dead_strip	_mute_led_on_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mute_led_on_off
_mute_led_on_off:                       ; @mute_led_on_off
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _hkey_handle@GOTPAGE
Lloh1:
	ldr	x21, [x21, _hkey_handle@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x20, #12]
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w1, [x20, #12]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
LBB0_2:
Lloh4:
	adrp	x8, _EIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_5
LBB0_3:
	ldr	w0, [x21]
	ldr	w2, [x20, #12]
	cmp	w19, #0
	mov	w8, #8
	mov	w9, #4
	csel	x8, x9, x8, eq
	ldr	w4, [x20, x8]
Lloh7:
	adrp	x3, l_.str.1@PAGE
Lloh8:
	add	x3, x3, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_acpi_evalf
	cbz	w0, LBB0_2
; %bb.4:
	str	w19, [x20]
LBB0_5:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_hkey_handle,4,2                ; @hkey_handle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Thinkpad ACPI has no %s interface.\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"dd"

	.no_dead_strip	_mute_led_on_off
.subsections_via_symbols
