	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_dev_toggle
_input_dev_toggle:                      ## @input_dev_toggle
	.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
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_LED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_led@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %ecx
	callq	_INPUT_DO_TOGGLE
	movq	_SND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_snd@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_INPUT_DO_TOGGLE
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	movq	_EV_REP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	16(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%r14), %esi
	movq	_REP_PERIOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rbx), %rax
	movl	(%rax,%rdx,4), %ecx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	(%rbx), %rax
	movq	8(%rbx), %r8
	movl	(%r14), %esi
	movq	_REP_DELAY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%r8                            ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LED,4,2                        ## @LED
	.comm	_led,4,2                        ## @led
	.comm	_SND,4,2                        ## @SND
	.comm	_snd,4,2                        ## @snd
	.comm	_EV_REP,4,2                     ## @EV_REP
	.comm	_REP_PERIOD,8,3                 ## @REP_PERIOD
	.comm	_REP_DELAY,8,3                  ## @REP_DELAY
	.no_dead_strip	_input_dev_toggle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_dev_toggle
_input_dev_toggle:                      ; @input_dev_toggle
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _led@GOTPAGE
Lloh4:
	ldr	x8, [x8, _led@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x20
	bl	_INPUT_DO_TOGGLE
Lloh6:
	adrp	x8, _SND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SND@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _snd@GOTPAGE
Lloh10:
	ldr	x8, [x8, _snd@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_INPUT_DO_TOGGLE
	cbz	w20, LBB0_4
; %bb.2:
Lloh12:
	adrp	x20, _EV_REP@GOTPAGE
Lloh13:
	ldr	x20, [x20, _EV_REP@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _REP_PERIOD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REP_PERIOD@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh16:
	ldr	x2, [x8]
	ldp	x9, x8, [x19]
	ldr	w3, [x9, x2, lsl #2]
	mov	x0, x19
	blr	x8
	ldr	w1, [x20]
Lloh17:
	adrp	x8, _REP_DELAY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REP_DELAY@GOTPAGEOFF]
Lloh19:
	ldr	x2, [x8]
	ldp	x8, x4, [x19]
	ldr	w3, [x8, x2, lsl #2]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LED,4,2                        ; @LED
	.comm	_led,4,2                        ; @led
	.comm	_SND,4,2                        ; @SND
	.comm	_snd,4,2                        ; @snd
	.comm	_EV_REP,4,2                     ; @EV_REP
	.comm	_REP_PERIOD,8,3                 ; @REP_PERIOD
	.comm	_REP_DELAY,8,3                  ; @REP_DELAY
	.no_dead_strip	_input_dev_toggle
.subsections_via_symbols
