	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acer_rfkill_exit
_acer_rfkill_exit:                      ## @acer_rfkill_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ec_raw_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_ACERWMID_EVENT_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wmi_has_guid
	testl	%eax, %eax
	jne	LBB0_4
LBB0_2:
	movq	_ACER_CAP_WIRELESS@GOTPCREL(%rip), %rax
	movq	_ACER_CAP_BLUETOOTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_ACER_CAP_THREEG@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_acer_rfkill_work@GOTPCREL(%rip), %rdi
	callq	_cancel_delayed_work_sync
LBB0_4:
	movq	_ACER_CAP_WIRELESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_wireless_rfkill@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rfkill_unregister
	movl	(%rbx), %edi
	callq	_rfkill_destroy
LBB0_6:
	movq	_ACER_CAP_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_bluetooth_rfkill@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rfkill_unregister
	movl	(%rbx), %edi
	callq	_rfkill_destroy
LBB0_8:
	movq	_ACER_CAP_THREEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_threeg_rfkill@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rfkill_unregister
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rfkill_destroy                 ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ec_raw_mode,8,3                ## @ec_raw_mode
	.comm	_ACERWMID_EVENT_GUID,4,2        ## @ACERWMID_EVENT_GUID
	.comm	_ACER_CAP_WIRELESS,4,2          ## @ACER_CAP_WIRELESS
	.comm	_ACER_CAP_BLUETOOTH,4,2         ## @ACER_CAP_BLUETOOTH
	.comm	_ACER_CAP_THREEG,4,2            ## @ACER_CAP_THREEG
	.comm	_acer_rfkill_work,4,2           ## @acer_rfkill_work
	.comm	_wireless_rfkill,4,2            ## @wireless_rfkill
	.comm	_bluetooth_rfkill,4,2           ## @bluetooth_rfkill
	.comm	_threeg_rfkill,4,2              ## @threeg_rfkill
	.no_dead_strip	_acer_rfkill_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acer_rfkill_exit
_acer_rfkill_exit:                      ; @acer_rfkill_exit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _ec_raw_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ec_raw_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _ACER_CAP_WIRELESS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ACER_CAP_WIRELESS@GOTPAGEOFF]
Lloh5:
	adrp	x20, _ACER_CAP_BLUETOOTH@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ACER_CAP_BLUETOOTH@GOTPAGEOFF]
Lloh7:
	adrp	x19, _ACER_CAP_THREEG@GOTPAGE
Lloh8:
	ldr	x19, [x19, _ACER_CAP_THREEG@GOTPAGEOFF]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _ACERWMID_EVENT_GUID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACERWMID_EVENT_GUID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_wmi_has_guid
	cbnz	w0, LBB0_4
LBB0_2:
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w0, w8, w9
	bl	_has_cap
	cbz	x0, LBB0_4
; %bb.3:
Lloh12:
	adrp	x0, _acer_rfkill_work@GOTPAGE
Lloh13:
	ldr	x0, [x0, _acer_rfkill_work@GOTPAGEOFF]
	bl	_cancel_delayed_work_sync
LBB0_4:
	ldr	w0, [x21]
	bl	_has_cap
	cbz	x0, LBB0_6
; %bb.5:
Lloh14:
	adrp	x21, _wireless_rfkill@GOTPAGE
Lloh15:
	ldr	x21, [x21, _wireless_rfkill@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rfkill_unregister
	ldr	w0, [x21]
	bl	_rfkill_destroy
LBB0_6:
	ldr	w0, [x20]
	bl	_has_cap
	cbz	x0, LBB0_8
; %bb.7:
Lloh16:
	adrp	x20, _bluetooth_rfkill@GOTPAGE
Lloh17:
	ldr	x20, [x20, _bluetooth_rfkill@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rfkill_unregister
	ldr	w0, [x20]
	bl	_rfkill_destroy
LBB0_8:
	ldr	w0, [x19]
	bl	_has_cap
	cbz	x0, LBB0_10
; %bb.9:
Lloh18:
	adrp	x19, _threeg_rfkill@GOTPAGE
Lloh19:
	ldr	x19, [x19, _threeg_rfkill@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_rfkill_unregister
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rfkill_destroy
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ec_raw_mode,8,3                ; @ec_raw_mode
	.comm	_ACERWMID_EVENT_GUID,4,2        ; @ACERWMID_EVENT_GUID
	.comm	_ACER_CAP_WIRELESS,4,2          ; @ACER_CAP_WIRELESS
	.comm	_ACER_CAP_BLUETOOTH,4,2         ; @ACER_CAP_BLUETOOTH
	.comm	_ACER_CAP_THREEG,4,2            ; @ACER_CAP_THREEG
	.comm	_acer_rfkill_work,4,2           ; @acer_rfkill_work
	.comm	_wireless_rfkill,4,2            ; @wireless_rfkill
	.comm	_bluetooth_rfkill,4,2           ; @bluetooth_rfkill
	.comm	_threeg_rfkill,4,2              ; @threeg_rfkill
	.no_dead_strip	_acer_rfkill_exit
.subsections_via_symbols
