	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_hotk_restore
_asus_hotk_restore:                     ## @asus_hotk_restore
	.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
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	cmpq	$0, 48(%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_asus_rfkill_hotplug
LBB0_2:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ASUS_WMI_DEVID_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asus_wmi_get_devstate_simple
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	40(%rbx), %rdi
	callq	_rfkill_set_sw_state
LBB0_4:
	cmpq	$0, 32(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_ASUS_WMI_DEVID_WIMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asus_wmi_get_devstate_simple
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	32(%rbx), %rdi
	callq	_rfkill_set_sw_state
LBB0_6:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_ASUS_WMI_DEVID_WWAN3G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asus_wmi_get_devstate_simple
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	24(%rbx), %rdi
	callq	_rfkill_set_sw_state
LBB0_8:
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.9:
	movq	_ASUS_WMI_DEVID_GPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asus_wmi_get_devstate_simple
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	16(%rbx), %rdi
	callq	_rfkill_set_sw_state
LBB0_10:
	cmpq	$0, 8(%rbx)
	je	LBB0_12
## %bb.11:
	movq	_ASUS_WMI_DEVID_UWB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asus_wmi_get_devstate_simple
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	8(%rbx), %rdi
	callq	_rfkill_set_sw_state
LBB0_12:
	movl	(%rbx), %edi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_kbd_led_update
LBB0_14:
	movq	%rbx, %rdi
	callq	_asus_wmi_has_fnlock_key
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	callq	_asus_wmi_fnlock_update
LBB0_16:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASUS_WMI_DEVID_BLUETOOTH,4,2   ## @ASUS_WMI_DEVID_BLUETOOTH
	.comm	_ASUS_WMI_DEVID_WIMAX,4,2       ## @ASUS_WMI_DEVID_WIMAX
	.comm	_ASUS_WMI_DEVID_WWAN3G,4,2      ## @ASUS_WMI_DEVID_WWAN3G
	.comm	_ASUS_WMI_DEVID_GPS,4,2         ## @ASUS_WMI_DEVID_GPS
	.comm	_ASUS_WMI_DEVID_UWB,4,2         ## @ASUS_WMI_DEVID_UWB
	.no_dead_strip	_asus_hotk_restore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_hotk_restore
_asus_hotk_restore:                     ; @asus_hotk_restore
	.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
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_asus_rfkill_hotplug
LBB0_2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ASUS_WMI_DEVID_BLUETOOTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASUS_WMI_DEVID_BLUETOOTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_asus_wmi_get_devstate_simple
	cmp	w0, #0
	cset	w1, eq
	ldr	x0, [x19, #40]
	bl	_rfkill_set_sw_state
LBB0_4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _ASUS_WMI_DEVID_WIMAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASUS_WMI_DEVID_WIMAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_asus_wmi_get_devstate_simple
	cmp	w0, #0
	cset	w1, eq
	ldr	x0, [x19, #32]
	bl	_rfkill_set_sw_state
LBB0_6:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _ASUS_WMI_DEVID_WWAN3G@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASUS_WMI_DEVID_WWAN3G@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_asus_wmi_get_devstate_simple
	cmp	w0, #0
	cset	w1, eq
	ldr	x0, [x19, #24]
	bl	_rfkill_set_sw_state
LBB0_8:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.9:
Lloh9:
	adrp	x8, _ASUS_WMI_DEVID_GPS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASUS_WMI_DEVID_GPS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_asus_wmi_get_devstate_simple
	cmp	w0, #0
	cset	w1, eq
	ldr	x0, [x19, #16]
	bl	_rfkill_set_sw_state
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_12
; %bb.11:
Lloh12:
	adrp	x8, _ASUS_WMI_DEVID_UWB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ASUS_WMI_DEVID_UWB@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_asus_wmi_get_devstate_simple
	cmp	w0, #0
	cset	w1, eq
	ldr	x0, [x19, #8]
	bl	_rfkill_set_sw_state
LBB0_12:
	ldr	w0, [x19]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_kbd_led_update
LBB0_14:
	mov	x0, x19
	bl	_asus_wmi_has_fnlock_key
	cbz	x0, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_asus_wmi_fnlock_update
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ASUS_WMI_DEVID_BLUETOOTH,4,2   ; @ASUS_WMI_DEVID_BLUETOOTH
	.comm	_ASUS_WMI_DEVID_WIMAX,4,2       ; @ASUS_WMI_DEVID_WIMAX
	.comm	_ASUS_WMI_DEVID_WWAN3G,4,2      ; @ASUS_WMI_DEVID_WWAN3G
	.comm	_ASUS_WMI_DEVID_GPS,4,2         ; @ASUS_WMI_DEVID_GPS
	.comm	_ASUS_WMI_DEVID_UWB,4,2         ; @ASUS_WMI_DEVID_UWB
	.no_dead_strip	_asus_hotk_restore
.subsections_via_symbols
