	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rbtn_input_init
_rbtn_input_init:                       ## @rbtn_input_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_input_allocate_device
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	_BUS_HOST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	(%rbx), %rcx
	movq	24(%rcx), %rdx
	movl	%eax, (%rdx)
	movq	_KEY_RFKILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rcx), %esi
	callq	_set_bit
	movq	(%rbx), %rdi
	callq	_input_register_device
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	callq	_input_free_device
	movq	$0, (%rbx)
	movl	%r15d, %r14d
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DELL Wireless hotkeys"

L_.str.1:                               ## @.str.1
	.asciz	"dellabce/input0"

	.comm	_BUS_HOST,4,2                   ## @BUS_HOST
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_KEY_RFKILL,4,2                 ## @KEY_RFKILL
	.no_dead_strip	_rbtn_input_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rbtn_input_init
_rbtn_input_init:                       ; @rbtn_input_init
	.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	x19, x0
	bl	_input_allocate_device
	str	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
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
Lloh4:
	adrp	x10, _BUS_HOST@GOTPAGE
Lloh5:
	ldr	x10, [x10, _BUS_HOST@GOTPAGEOFF]
	stp	x8, x9, [x0]
Lloh6:
	ldr	w8, [x10]
	str	w8, [x0, #32]
Lloh7:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_BIT
	ldr	x8, [x19]
	ldr	x9, [x8, #24]
	str	w0, [x9]
Lloh10:
	adrp	x9, _KEY_RFKILL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _KEY_RFKILL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	ldr	w1, [x8, #16]
	bl	_set_bit
	ldr	x0, [x19]
	bl	_input_register_device
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x0, [x19]
	bl	_input_free_device
	str	xzr, [x19]
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DELL Wireless hotkeys"

l_.str.1:                               ; @.str.1
	.asciz	"dellabce/input0"

	.comm	_BUS_HOST,4,2                   ; @BUS_HOST
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_KEY_RFKILL,4,2                 ; @KEY_RFKILL
	.no_dead_strip	_rbtn_input_init
.subsections_via_symbols
