	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_remove
_acpi_remove:                           ## @acpi_remove
	.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	_pf_device@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_dev_attribute_group@GOTPCREL(%rip), %rsi
	callq	_sysfs_remove_group
	movq	_inited@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_INIT_KBD_LED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_kbd_backlight@GOTPCREL(%rip), %rdi
	callq	_led_classdev_unregister
	movl	(%rbx), %eax
LBB0_2:
	movq	_INIT_TPAD_LED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_tpad_led@GOTPCREL(%rip), %rdi
	callq	_led_classdev_unregister
LBB0_4:
	xorl	%eax, %eax
	callq	_wmi_input_destroy
	movq	(%r14), %rdi
	callq	_platform_device_unregister
	movq	$0, (%r14)
	movq	_pf_driver@GOTPCREL(%rip), %rdi
	callq	_platform_driver_unregister
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pf_device,8,3                  ## @pf_device
	.comm	_dev_attribute_group,4,2        ## @dev_attribute_group
	.comm	_inited,4,2                     ## @inited
	.comm	_INIT_KBD_LED,4,2               ## @INIT_KBD_LED
	.comm	_kbd_backlight,4,2              ## @kbd_backlight
	.comm	_INIT_TPAD_LED,4,2              ## @INIT_TPAD_LED
	.comm	_tpad_led,4,2                   ## @tpad_led
	.comm	_pf_driver,4,2                  ## @pf_driver
	.no_dead_strip	_acpi_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_remove
_acpi_remove:                           ; @acpi_remove
	.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
Lloh0:
	adrp	x19, _pf_device@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pf_device@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x1, _dev_attribute_group@GOTPAGE
Lloh3:
	ldr	x1, [x1, _dev_attribute_group@GOTPAGEOFF]
	bl	_sysfs_remove_group
Lloh4:
	adrp	x20, _inited@GOTPAGE
Lloh5:
	ldr	x20, [x20, _inited@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _INIT_KBD_LED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INIT_KBD_LED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, _kbd_backlight@GOTPAGE
Lloh10:
	ldr	x0, [x0, _kbd_backlight@GOTPAGEOFF]
	bl	_led_classdev_unregister
	ldr	w8, [x20]
LBB0_2:
Lloh11:
	adrp	x9, _INIT_TPAD_LED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _INIT_TPAD_LED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, _tpad_led@GOTPAGE
Lloh15:
	ldr	x0, [x0, _tpad_led@GOTPAGEOFF]
	bl	_led_classdev_unregister
LBB0_4:
	bl	_wmi_input_destroy
	ldr	x0, [x19]
	bl	_platform_device_unregister
	str	xzr, [x19]
Lloh16:
	adrp	x0, _pf_driver@GOTPAGE
Lloh17:
	ldr	x0, [x0, _pf_driver@GOTPAGEOFF]
	bl	_platform_driver_unregister
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_pf_device,8,3                  ; @pf_device
	.comm	_dev_attribute_group,4,2        ; @dev_attribute_group
	.comm	_inited,4,2                     ; @inited
	.comm	_INIT_KBD_LED,4,2               ; @INIT_KBD_LED
	.comm	_kbd_backlight,4,2              ; @kbd_backlight
	.comm	_INIT_TPAD_LED,4,2              ; @INIT_TPAD_LED
	.comm	_tpad_led,4,2                   ; @tpad_led
	.comm	_pf_driver,4,2                  ; @pf_driver
	.no_dead_strip	_acpi_remove
.subsections_via_symbols
