	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eeepc_register_rfkill_notifier
_eeepc_register_rfkill_notifier:        ## @eeepc_register_rfkill_notifier
	.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	%rsi, %r15
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	leaq	-28(%rbp), %rdx
	xorl	%edi, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movl	-28(%rbp), %edi
	movq	_ACPI_SYSTEM_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_eeepc_rfkill_notify@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_acpi_install_notify_handler
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_pr_warn
LBB0_4:
	movl	-28(%rbp), %esi
	movq	%r14, %rdi
	callq	_eeepc_rfkill_hotplug
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ACPI_SYSTEM_NOTIFY,4,2         ## @ACPI_SYSTEM_NOTIFY
	.comm	_eeepc_rfkill_notify,4,2        ## @eeepc_rfkill_notify
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to register notify on %s\n"

	.no_dead_strip	_eeepc_register_rfkill_notifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eeepc_register_rfkill_notifier
_eeepc_register_rfkill_notifier:        ; @eeepc_register_rfkill_notifier
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	add	x2, sp, #12
	mov	x0, #0
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	ldr	w0, [sp, #12]
Lloh3:
	adrp	x8, _ACPI_SYSTEM_NOTIFY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_SYSTEM_NOTIFY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _eeepc_rfkill_notify@GOTPAGE
Lloh7:
	ldr	x8, [x8, _eeepc_rfkill_notify@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_acpi_install_notify_handler
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_warn
LBB0_4:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_eeepc_rfkill_hotplug
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ACPI_SYSTEM_NOTIFY,4,2         ; @ACPI_SYSTEM_NOTIFY
	.comm	_eeepc_rfkill_notify,4,2        ; @eeepc_rfkill_notify
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to register notify on %s\n"

	.no_dead_strip	_eeepc_register_rfkill_notifier
.subsections_via_symbols
