	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acer_wireless_add
_acer_wireless_add:                     ## @acer_wireless_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	addq	$8, %rdi
	callq	_devm_input_allocate_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, (%r14)
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_BUS_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_PCI_VENDOR_ID_AI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$4649, 24(%rbx)                 ## imm = 0x1229
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %esi
	callq	_set_bit
	movq	_KEY_RFKILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_set_bit
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_register_device          ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Acer Wireless Radio Control"

L_.str.1:                               ## @.str.1
	.asciz	"acer-wireless/input0"

	.comm	_BUS_HOST,4,2                   ## @BUS_HOST
	.comm	_PCI_VENDOR_ID_AI,4,2           ## @PCI_VENDOR_ID_AI
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_KEY_RFKILL,4,2                 ## @KEY_RFKILL
	.no_dead_strip	_acer_wireless_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acer_wireless_add
_acer_wireless_add:                     ; @acer_wireless_add
	.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
	mov	x20, x0
	add	x0, x0, #8
	bl	_devm_input_allocate_device
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	str	x0, [x20]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [x0]
Lloh4:
	adrp	x8, _BUS_HOST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BUS_HOST@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh7:
	adrp	x8, _PCI_VENDOR_ID_AI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCI_VENDOR_ID_AI@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	w9, #4649
	stp	w9, w8, [x0, #24]
Lloh10:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x19, #20]
	bl	_set_bit
Lloh13:
	adrp	x8, _KEY_RFKILL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KEY_RFKILL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_set_bit
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_register_device
LBB0_2:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Acer Wireless Radio Control"

l_.str.1:                               ; @.str.1
	.asciz	"acer-wireless/input0"

	.comm	_BUS_HOST,4,2                   ; @BUS_HOST
	.comm	_PCI_VENDOR_ID_AI,4,2           ; @PCI_VENDOR_ID_AI
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_KEY_RFKILL,4,2                 ; @KEY_RFKILL
	.no_dead_strip	_acer_wireless_add
.subsections_via_symbols
