	.file	"extr_acer-wmi.c_acer_rfkill_exit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	acer_rfkill_exit, @function
acer_rfkill_exit:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	QWORD PTR ec_raw_mode[rip], 0
	jne	.L5
	mov	edi, DWORD PTR ACERWMID_EVENT_GUID[rip]
	call	wmi_has_guid@PLT
	test	eax, eax
	je	.L5
.L6:
	mov	edi, DWORD PTR ACER_CAP_WIRELESS[rip]
	call	has_cap@PLT
	test	rax, rax
	jne	.L21
.L7:
	mov	edi, DWORD PTR ACER_CAP_BLUETOOTH[rip]
	call	has_cap@PLT
	test	rax, rax
	jne	.L22
.L8:
	mov	edi, DWORD PTR ACER_CAP_THREEG[rip]
	call	has_cap@PLT
	test	rax, rax
	jne	.L23
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR ACER_CAP_WIRELESS[rip]
	or	edi, DWORD PTR ACER_CAP_BLUETOOTH[rip]
	or	edi, DWORD PTR ACER_CAP_THREEG[rip]
	call	has_cap@PLT
	test	rax, rax
	je	.L6
	lea	rdi, acer_rfkill_work[rip]
	call	cancel_delayed_work_sync@PLT
	mov	edi, DWORD PTR ACER_CAP_WIRELESS[rip]
	call	has_cap@PLT
	test	rax, rax
	je	.L7
.L21:
	mov	edi, DWORD PTR wireless_rfkill[rip]
	call	rfkill_unregister@PLT
	mov	edi, DWORD PTR wireless_rfkill[rip]
	call	rfkill_destroy@PLT
	mov	edi, DWORD PTR ACER_CAP_BLUETOOTH[rip]
	call	has_cap@PLT
	test	rax, rax
	je	.L8
.L22:
	mov	edi, DWORD PTR bluetooth_rfkill[rip]
	call	rfkill_unregister@PLT
	mov	edi, DWORD PTR bluetooth_rfkill[rip]
	call	rfkill_destroy@PLT
	mov	edi, DWORD PTR ACER_CAP_THREEG[rip]
	call	has_cap@PLT
	test	rax, rax
	je	.L1
.L23:
	mov	edi, DWORD PTR threeg_rfkill[rip]
	call	rfkill_unregister@PLT
	mov	edi, DWORD PTR threeg_rfkill[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	rfkill_destroy@PLT
	.cfi_endproc
.LFE0:
	.size	acer_rfkill_exit, .-acer_rfkill_exit
	.comm	wireless_rfkill,4,4
	.comm	threeg_rfkill,4,4
	.comm	ec_raw_mode,8,8
	.comm	bluetooth_rfkill,4,4
	.comm	acer_rfkill_work,4,4
	.comm	ACER_CAP_WIRELESS,4,4
	.comm	ACER_CAP_THREEG,4,4
	.comm	ACER_CAP_BLUETOOTH,4,4
	.comm	ACERWMID_EVENT_GUID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_acer-wmi.c_acer_rfkill_exit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acer_rfkill_exit, %function
acer_rfkill_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L23
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	ldr	r6, .L23+4
	cmp	r3, #0
	ldr	r5, .L23+8
	ldr	r4, .L23+12
	bne	.L5
	ldr	r3, .L23+16
	ldr	r0, [r3]
	bl	wmi_has_guid
	cmp	r0, #0
	beq	.L5
.L6:
	ldr	r0, [r6]
	bl	has_cap
	cmp	r0, #0
	bne	.L21
.L7:
	ldr	r0, [r5]
	bl	has_cap
	cmp	r0, #0
	bne	.L22
.L8:
	ldr	r0, [r4]
	bl	has_cap
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r4, .L23+20
	ldr	r0, [r4]
	bl	rfkill_unregister
	ldr	r0, [r4]
	pop	{r4, r5, r6, lr}
	b	rfkill_destroy
.L5:
	ldr	r3, [r6]
	ldr	r2, [r5]
	ldr	r0, [r4]
	orr	r3, r3, r2
	orr	r0, r3, r0
	bl	has_cap
	cmp	r0, #0
	beq	.L6
	ldr	r0, .L23+24
	bl	cancel_delayed_work_sync
	ldr	r0, [r6]
	bl	has_cap
	cmp	r0, #0
	beq	.L7
.L21:
	ldr	r6, .L23+28
	ldr	r0, [r6]
	bl	rfkill_unregister
	ldr	r0, [r6]
	bl	rfkill_destroy
	ldr	r0, [r5]
	bl	has_cap
	cmp	r0, #0
	beq	.L8
.L22:
	ldr	r5, .L23+32
	ldr	r0, [r5]
	bl	rfkill_unregister
	ldr	r0, [r5]
	bl	rfkill_destroy
	b	.L8
.L24:
	.align	2
.L23:
	.word	ec_raw_mode
	.word	ACER_CAP_WIRELESS
	.word	ACER_CAP_BLUETOOTH
	.word	ACER_CAP_THREEG
	.word	ACERWMID_EVENT_GUID
	.word	threeg_rfkill
	.word	acer_rfkill_work
	.word	wireless_rfkill
	.word	bluetooth_rfkill
	.size	acer_rfkill_exit, .-acer_rfkill_exit
	.comm	wireless_rfkill,4,4
	.comm	threeg_rfkill,4,4
	.comm	ec_raw_mode,4,4
	.comm	bluetooth_rfkill,4,4
	.comm	acer_rfkill_work,4,4
	.comm	ACER_CAP_WIRELESS,4,4
	.comm	ACER_CAP_THREEG,4,4
	.comm	ACER_CAP_BLUETOOTH,4,4
	.comm	ACERWMID_EVENT_GUID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
