	.file	"extr_asus-wmi.c_asus_hotk_restore.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	asus_hotk_restore, @function
asus_hotk_restore:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	call	dev_get_drvdata@PLT
	cmp	QWORD PTR 48[rax], 0
	mov	rbp, rax
	jne	.L15
	cmp	QWORD PTR 40[rbp], 0
	jne	.L16
.L3:
	cmp	QWORD PTR 32[rbp], 0
	jne	.L17
.L4:
	cmp	QWORD PTR 24[rbp], 0
	jne	.L18
.L5:
	cmp	QWORD PTR 16[rbp], 0
	jne	.L19
.L6:
	cmp	QWORD PTR 8[rbp], 0
	jne	.L20
.L7:
	mov	edi, DWORD PTR 0[rbp]
	call	IS_ERR_OR_NULL@PLT
	test	eax, eax
	je	.L21
.L8:
	mov	rdi, rbp
	call	asus_wmi_has_fnlock_key@PLT
	test	rax, rax
	jne	.L22
.L9:
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, rax
	call	asus_rfkill_hotplug@PLT
	cmp	QWORD PTR 40[rbp], 0
	je	.L3
.L16:
	mov	esi, DWORD PTR ASUS_WMI_DEVID_BLUETOOTH[rip]
	mov	rdi, rbp
	call	asus_wmi_get_devstate_simple@PLT
	xor	esi, esi
	mov	rdi, QWORD PTR 40[rbp]
	test	eax, eax
	sete	sil
	call	rfkill_set_sw_state@PLT
	cmp	QWORD PTR 32[rbp], 0
	je	.L4
.L17:
	mov	esi, DWORD PTR ASUS_WMI_DEVID_WIMAX[rip]
	mov	rdi, rbp
	call	asus_wmi_get_devstate_simple@PLT
	xor	esi, esi
	mov	rdi, QWORD PTR 32[rbp]
	test	eax, eax
	sete	sil
	call	rfkill_set_sw_state@PLT
	cmp	QWORD PTR 24[rbp], 0
	je	.L5
.L18:
	mov	esi, DWORD PTR ASUS_WMI_DEVID_WWAN3G[rip]
	mov	rdi, rbp
	call	asus_wmi_get_devstate_simple@PLT
	xor	esi, esi
	mov	rdi, QWORD PTR 24[rbp]
	test	eax, eax
	sete	sil
	call	rfkill_set_sw_state@PLT
	cmp	QWORD PTR 16[rbp], 0
	je	.L6
.L19:
	mov	esi, DWORD PTR ASUS_WMI_DEVID_GPS[rip]
	mov	rdi, rbp
	call	asus_wmi_get_devstate_simple@PLT
	xor	esi, esi
	mov	rdi, QWORD PTR 16[rbp]
	test	eax, eax
	sete	sil
	call	rfkill_set_sw_state@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L7
.L20:
	mov	esi, DWORD PTR ASUS_WMI_DEVID_UWB[rip]
	mov	rdi, rbp
	call	asus_wmi_get_devstate_simple@PLT
	mov	rdi, QWORD PTR 8[rbp]
	xor	esi, esi
	test	eax, eax
	sete	sil
	call	rfkill_set_sw_state@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	IS_ERR_OR_NULL@PLT
	test	eax, eax
	jne	.L8
.L21:
	mov	rdi, rbp
	call	kbd_led_update@PLT
	mov	rdi, rbp
	call	asus_wmi_has_fnlock_key@PLT
	test	rax, rax
	je	.L9
.L22:
	mov	rdi, rbp
	call	asus_wmi_fnlock_update@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	asus_hotk_restore, .-asus_hotk_restore
	.comm	ASUS_WMI_DEVID_WWAN3G,4,4
	.comm	ASUS_WMI_DEVID_WIMAX,4,4
	.comm	ASUS_WMI_DEVID_UWB,4,4
	.comm	ASUS_WMI_DEVID_GPS,4,4
	.comm	ASUS_WMI_DEVID_BLUETOOTH,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_asus-wmi.c_asus_hotk_restore.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	asus_hotk_restore, %function
asus_hotk_restore:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	dev_get_drvdata
	ldr	r3, [r0, #24]
	mov	r4, r0
	cmp	r3, #0
	bne	.L33
	ldr	r3, [r4, #20]
	cmp	r3, #0
	bne	.L34
.L3:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L35
.L4:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L36
.L5:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L37
.L6:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L38
.L7:
	ldr	r0, [r4]
	bl	IS_ERR_OR_NULL
	cmp	r0, #0
	beq	.L39
.L8:
	mov	r0, r4
	bl	asus_wmi_has_fnlock_key
	cmp	r0, #0
	bne	.L40
.L9:
	mov	r0, #0
	pop	{r4, pc}
.L33:
	bl	asus_rfkill_hotplug
	ldr	r3, [r4, #20]
	cmp	r3, #0
	beq	.L3
.L34:
	ldr	r3, .L41
	mov	r0, r4
	ldr	r1, [r3]
	bl	asus_wmi_get_devstate_simple
	clz	r1, r0
	ldr	r0, [r4, #20]
	lsr	r1, r1, #5
	bl	rfkill_set_sw_state
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L4
.L35:
	ldr	r3, .L41+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	asus_wmi_get_devstate_simple
	clz	r1, r0
	ldr	r0, [r4, #16]
	lsr	r1, r1, #5
	bl	rfkill_set_sw_state
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L5
.L36:
	ldr	r3, .L41+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	asus_wmi_get_devstate_simple
	clz	r1, r0
	ldr	r0, [r4, #12]
	lsr	r1, r1, #5
	bl	rfkill_set_sw_state
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L6
.L37:
	ldr	r3, .L41+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	asus_wmi_get_devstate_simple
	clz	r1, r0
	ldr	r0, [r4, #8]
	lsr	r1, r1, #5
	bl	rfkill_set_sw_state
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L7
.L38:
	ldr	r3, .L41+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	asus_wmi_get_devstate_simple
	clz	r1, r0
	ldr	r0, [r4, #4]
	lsr	r1, r1, #5
	bl	rfkill_set_sw_state
	ldr	r0, [r4]
	bl	IS_ERR_OR_NULL
	cmp	r0, #0
	bne	.L8
.L39:
	mov	r0, r4
	bl	kbd_led_update
	mov	r0, r4
	bl	asus_wmi_has_fnlock_key
	cmp	r0, #0
	beq	.L9
.L40:
	mov	r0, r4
	bl	asus_wmi_fnlock_update
	mov	r0, #0
	pop	{r4, pc}
.L42:
	.align	2
.L41:
	.word	ASUS_WMI_DEVID_BLUETOOTH
	.word	ASUS_WMI_DEVID_WIMAX
	.word	ASUS_WMI_DEVID_WWAN3G
	.word	ASUS_WMI_DEVID_GPS
	.word	ASUS_WMI_DEVID_UWB
	.size	asus_hotk_restore, .-asus_hotk_restore
	.comm	ASUS_WMI_DEVID_WWAN3G,4,4
	.comm	ASUS_WMI_DEVID_WIMAX,4,4
	.comm	ASUS_WMI_DEVID_UWB,4,4
	.comm	ASUS_WMI_DEVID_GPS,4,4
	.comm	ASUS_WMI_DEVID_BLUETOOTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
