	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function applesmc_release_key_backlight
_applesmc_release_key_backlight:        ## @applesmc_release_key_backlight
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_smcreg@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_applesmc_backlight@GOTPCREL(%rip), %rdi
	callq	_led_classdev_unregister
	movq	_applesmc_led_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_destroy_workqueue              ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smcreg,4,2                     ## @smcreg
	.comm	_applesmc_backlight,4,2         ## @applesmc_backlight
	.comm	_applesmc_led_wq,4,2            ## @applesmc_led_wq
	.no_dead_strip	_applesmc_release_key_backlight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function applesmc_release_key_backlight
_applesmc_release_key_backlight:        ; @applesmc_release_key_backlight
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _smcreg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smcreg@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, _applesmc_backlight@GOTPAGE
Lloh4:
	ldr	x0, [x0, _applesmc_backlight@GOTPAGEOFF]
	bl	_led_classdev_unregister
Lloh5:
	adrp	x8, _applesmc_led_wq@GOTPAGE
Lloh6:
	ldr	x8, [x8, _applesmc_led_wq@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_destroy_workqueue
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_smcreg,4,2                     ; @smcreg
	.comm	_applesmc_backlight,4,2         ; @applesmc_backlight
	.comm	_applesmc_led_wq,4,2            ; @applesmc_led_wq
	.no_dead_strip	_applesmc_release_key_backlight
.subsections_via_symbols
