	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acer_rfkill_init
_acer_rfkill_init:                      ## @acer_rfkill_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_ACER_CAP_WIRELESS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_RFKILL_TYPE_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_acer_rfkill_register
	movq	_wireless_rfkill@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.16:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	_ACER_CAP_BLUETOOTH@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_RFKILL_TYPE_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	callq	_acer_rfkill_register
	movq	_bluetooth_rfkill@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_5
LBB0_7:
	movq	_ACER_CAP_THREEG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_RFKILL_TYPE_WWAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	callq	_acer_rfkill_register
	movq	_threeg_rfkill@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r13d
	movl	(%r15), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:
	movq	_bluetooth_rfkill@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_rfkill_unregister
	movl	(%r15), %edi
	callq	_rfkill_destroy
LBB0_5:
	movl	(%r14), %edi
	callq	_has_cap
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	movq	_wireless_rfkill@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rfkill_unregister
	movl	(%rbx), %edi
	callq	_rfkill_destroy
	jmp	LBB0_15
LBB0_11:
	movq	_rfkill_inited@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_ec_raw_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.12:
	movq	_ACERWMID_EVENT_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wmi_has_guid
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jne	LBB0_15
LBB0_13:
	movl	(%r15), %edi
	orl	(%r14), %edi
	orl	(%r12), %edi
	callq	_has_cap
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	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
LBB0_15:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACER_CAP_WIRELESS,4,2          ## @ACER_CAP_WIRELESS
	.comm	_RFKILL_TYPE_WLAN,4,2           ## @RFKILL_TYPE_WLAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acer-wireless"

	.comm	_wireless_rfkill,4,2            ## @wireless_rfkill
	.comm	_ACER_CAP_BLUETOOTH,4,2         ## @ACER_CAP_BLUETOOTH
	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ## @RFKILL_TYPE_BLUETOOTH
L_.str.1:                               ## @.str.1
	.asciz	"acer-bluetooth"

	.comm	_bluetooth_rfkill,4,2           ## @bluetooth_rfkill
	.comm	_ACER_CAP_THREEG,4,2            ## @ACER_CAP_THREEG
	.comm	_RFKILL_TYPE_WWAN,4,2           ## @RFKILL_TYPE_WWAN
L_.str.2:                               ## @.str.2
	.asciz	"acer-threeg"

	.comm	_threeg_rfkill,4,2              ## @threeg_rfkill
	.comm	_rfkill_inited,4,2              ## @rfkill_inited
	.comm	_ec_raw_mode,8,3                ## @ec_raw_mode
	.comm	_ACERWMID_EVENT_GUID,4,2        ## @ACERWMID_EVENT_GUID
	.comm	_acer_rfkill_work,4,2           ## @acer_rfkill_work
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_acer_rfkill_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acer_rfkill_init
_acer_rfkill_init:                      ; @acer_rfkill_init
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _ACER_CAP_WIRELESS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ACER_CAP_WIRELESS@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_has_cap
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _RFKILL_TYPE_WLAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RFKILL_TYPE_WLAN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_acer_rfkill_register
Lloh7:
	adrp	x21, _wireless_rfkill@GOTPAGE
Lloh8:
	ldr	x21, [x21, _wireless_rfkill@GOTPAGEOFF]
	str	w0, [x21]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	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	_PTR_ERR
LBB0_3:
Lloh9:
	adrp	x21, _ACER_CAP_BLUETOOTH@GOTPAGE
Lloh10:
	ldr	x21, [x21, _ACER_CAP_BLUETOOTH@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_has_cap
	cbz	x0, LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w3, [x21]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_acer_rfkill_register
Lloh16:
	adrp	x22, _bluetooth_rfkill@GOTPAGE
Lloh17:
	ldr	x22, [x22, _bluetooth_rfkill@GOTPAGEOFF]
	str	w0, [x22]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x22]
	bl	_PTR_ERR
	mov	x19, x0
	b	LBB0_10
LBB0_6:
Lloh18:
	adrp	x22, _ACER_CAP_THREEG@GOTPAGE
Lloh19:
	ldr	x22, [x22, _ACER_CAP_THREEG@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_has_cap
	cbz	x0, LBB0_12
; %bb.7:
Lloh20:
	adrp	x8, _RFKILL_TYPE_WWAN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RFKILL_TYPE_WWAN@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w3, [x22]
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_acer_rfkill_register
Lloh25:
	adrp	x19, _threeg_rfkill@GOTPAGE
Lloh26:
	ldr	x19, [x19, _threeg_rfkill@GOTPAGEOFF]
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.8:
	ldr	w0, [x19]
	bl	_PTR_ERR
	mov	x19, x0
	ldr	w0, [x21]
	bl	_has_cap
	cbz	x0, LBB0_10
; %bb.9:
Lloh27:
	adrp	x21, _bluetooth_rfkill@GOTPAGE
Lloh28:
	ldr	x21, [x21, _bluetooth_rfkill@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rfkill_unregister
	ldr	w0, [x21]
	bl	_rfkill_destroy
LBB0_10:
	ldr	w0, [x20]
	bl	_has_cap
	cbz	x0, LBB0_17
; %bb.11:
Lloh29:
	adrp	x20, _wireless_rfkill@GOTPAGE
Lloh30:
	ldr	x20, [x20, _wireless_rfkill@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rfkill_unregister
	ldr	w0, [x20]
	bl	_rfkill_destroy
	b	LBB0_17
LBB0_12:
Lloh31:
	adrp	x8, _rfkill_inited@GOTPAGE
Lloh32:
	ldr	x8, [x8, _rfkill_inited@GOTPAGEOFF]
	mov	w9, #1
Lloh33:
	str	w9, [x8]
Lloh34:
	adrp	x8, _ec_raw_mode@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ec_raw_mode@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cbnz	x8, LBB0_14
; %bb.13:
Lloh37:
	adrp	x8, _ACERWMID_EVENT_GUID@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ACERWMID_EVENT_GUID@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_wmi_has_guid
	cbnz	w0, LBB0_16
LBB0_14:
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w0, w8, w9
	bl	_has_cap
	cbz	x0, LBB0_16
; %bb.15:
Lloh40:
	adrp	x8, _HZ@GOTPAGE
Lloh41:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_round_jiffies_relative
	mov	x1, x0
Lloh43:
	adrp	x0, _acer_rfkill_work@GOTPAGE
Lloh44:
	ldr	x0, [x0, _acer_rfkill_work@GOTPAGEOFF]
	bl	_schedule_delayed_work
LBB0_16:
	mov	w19, #0
LBB0_17:
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ACER_CAP_WIRELESS,4,2          ; @ACER_CAP_WIRELESS
	.comm	_RFKILL_TYPE_WLAN,4,2           ; @RFKILL_TYPE_WLAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acer-wireless"

	.comm	_wireless_rfkill,4,2            ; @wireless_rfkill
	.comm	_ACER_CAP_BLUETOOTH,4,2         ; @ACER_CAP_BLUETOOTH
	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ; @RFKILL_TYPE_BLUETOOTH
l_.str.1:                               ; @.str.1
	.asciz	"acer-bluetooth"

	.comm	_bluetooth_rfkill,4,2           ; @bluetooth_rfkill
	.comm	_ACER_CAP_THREEG,4,2            ; @ACER_CAP_THREEG
	.comm	_RFKILL_TYPE_WWAN,4,2           ; @RFKILL_TYPE_WWAN
l_.str.2:                               ; @.str.2
	.asciz	"acer-threeg"

	.comm	_threeg_rfkill,4,2              ; @threeg_rfkill
	.comm	_rfkill_inited,4,2              ; @rfkill_inited
	.comm	_ec_raw_mode,8,3                ; @ec_raw_mode
	.comm	_ACERWMID_EVENT_GUID,4,2        ; @ACERWMID_EVENT_GUID
	.comm	_acer_rfkill_work,4,2           ; @acer_rfkill_work
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_acer_rfkill_init
.subsections_via_symbols
