	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acer_rfkill_update
_acer_rfkill_update:                    ## @acer_rfkill_update
	.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	_ACER_CAP_WIRELESS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %esi
	leaq	-12(%rbp), %rdi
	callq	_get_u32
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_quirks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%esi, %esi
	cmpl	$0, -12(%rbp)
	sete	%sil
	cmpl	$3, (%rax)
	movq	_wireless_rfkill@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jne	LBB0_4
## %bb.3:
	callq	_rfkill_set_hw_state
	jmp	LBB0_5
LBB0_4:
	callq	_rfkill_set_sw_state
LBB0_5:
	movq	_ACER_CAP_BLUETOOTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rbx), %esi
	leaq	-12(%rbp), %rdi
	callq	_get_u32
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_bluetooth_rfkill@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	cmpl	$0, -12(%rbp)
	sete	%sil
	callq	_rfkill_set_sw_state
LBB0_8:
	movq	_ACER_CAP_THREEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	_WMID_GUID3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wmi_has_guid
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_ACER_WMID3_GDS_THREEG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdi
	callq	_get_u32
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_threeg_rfkill@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	cmpl	$0, -12(%rbp)
	sete	%sil
	callq	_rfkill_set_sw_state
LBB0_12:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_round_jiffies_relative
	movq	_acer_rfkill_work@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACER_CAP_WIRELESS,4,2          ## @ACER_CAP_WIRELESS
	.comm	_quirks,8,3                     ## @quirks
	.comm	_wireless_rfkill,4,2            ## @wireless_rfkill
	.comm	_ACER_CAP_BLUETOOTH,4,2         ## @ACER_CAP_BLUETOOTH
	.comm	_bluetooth_rfkill,4,2           ## @bluetooth_rfkill
	.comm	_ACER_CAP_THREEG,4,2            ## @ACER_CAP_THREEG
	.comm	_WMID_GUID3,4,2                 ## @WMID_GUID3
	.comm	_ACER_WMID3_GDS_THREEG,4,2      ## @ACER_WMID3_GDS_THREEG
	.comm	_threeg_rfkill,4,2              ## @threeg_rfkill
	.comm	_acer_rfkill_work,4,2           ## @acer_rfkill_work
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_acer_rfkill_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acer_rfkill_update
_acer_rfkill_update:                    ; @acer_rfkill_update
	.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
Lloh0:
	adrp	x19, _ACER_CAP_WIRELESS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ACER_CAP_WIRELESS@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_has_cap
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w1, [x19]
	add	x0, sp, #12
	bl	_get_u32
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _quirks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _quirks@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _wireless_rfkill@GOTPAGE
Lloh6:
	ldr	x9, [x9, _wireless_rfkill@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh7:
	ldr	w0, [x9]
	ldr	w9, [sp, #12]
	cmp	w9, #0
	cset	w1, eq
	cmp	w8, #3
	b.ne	LBB0_4
; %bb.3:
	bl	_rfkill_set_hw_state
	b	LBB0_5
LBB0_4:
	bl	_rfkill_set_sw_state
LBB0_5:
Lloh8:
	adrp	x19, _ACER_CAP_BLUETOOTH@GOTPAGE
Lloh9:
	ldr	x19, [x19, _ACER_CAP_BLUETOOTH@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_has_cap
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w1, [x19]
	add	x0, sp, #12
	bl	_get_u32
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_8
; %bb.7:
Lloh10:
	adrp	x8, _bluetooth_rfkill@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bluetooth_rfkill@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w1, eq
	bl	_rfkill_set_sw_state
LBB0_8:
Lloh13:
	adrp	x8, _ACER_CAP_THREEG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ACER_CAP_THREEG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_has_cap
	cbz	x0, LBB0_12
; %bb.9:
Lloh16:
	adrp	x8, _WMID_GUID3@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WMID_GUID3@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_wmi_has_guid
	cbz	x0, LBB0_12
; %bb.10:
Lloh19:
	adrp	x8, _ACER_WMID3_GDS_THREEG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ACER_WMID3_GDS_THREEG@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_get_u32
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_12
; %bb.11:
Lloh22:
	adrp	x8, _threeg_rfkill@GOTPAGE
Lloh23:
	ldr	x8, [x8, _threeg_rfkill@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w1, eq
	bl	_rfkill_set_sw_state
LBB0_12:
Lloh25:
	adrp	x8, _HZ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_round_jiffies_relative
	mov	x1, x0
Lloh28:
	adrp	x0, _acer_rfkill_work@GOTPAGE
Lloh29:
	ldr	x0, [x0, _acer_rfkill_work@GOTPAGEOFF]
	bl	_schedule_delayed_work
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ACER_CAP_WIRELESS,4,2          ; @ACER_CAP_WIRELESS
	.comm	_quirks,8,3                     ; @quirks
	.comm	_wireless_rfkill,4,2            ; @wireless_rfkill
	.comm	_ACER_CAP_BLUETOOTH,4,2         ; @ACER_CAP_BLUETOOTH
	.comm	_bluetooth_rfkill,4,2           ; @bluetooth_rfkill
	.comm	_ACER_CAP_THREEG,4,2            ; @ACER_CAP_THREEG
	.comm	_WMID_GUID3,4,2                 ; @WMID_GUID3
	.comm	_ACER_WMID3_GDS_THREEG,4,2      ; @ACER_WMID3_GDS_THREEG
	.comm	_threeg_rfkill,4,2              ; @threeg_rfkill
	.comm	_acer_rfkill_work,4,2           ; @acer_rfkill_work
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_acer_rfkill_update
.subsections_via_symbols
