	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_register_keys
_input_register_keys:                   ## @input_register_keys
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r14), %rax
	movl	24(%rax), %esi
	callq	_set_bit
	movq	_EV_REP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r14), %rax
	movl	24(%rax), %esi
	callq	_set_bit
	movq	_EV_MSC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r14), %rax
	movl	24(%rax), %esi
	callq	_set_bit
	movq	_MSC_RAW@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r14), %rax
	movl	20(%rax), %esi
	callq	_set_bit
	movq	_MSC_SCAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r14), %rax
	movl	20(%rax), %esi
	callq	_set_bit
	movq	8(%r14), %rax
	movl	16(%rax), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	movq	_KEY_MAX@GOTPCREL(%rip), %r15
	movq	_KEY_RESERVED@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%rdi,%rbx,8)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	(%rdi,%rbx,8), %rax
	cmpq	(%r15), %rax
	jg	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r12), %rax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rcx
	movl	16(%rcx), %esi
	movq	%rax, %rdi
	callq	_set_bit
	movq	(%r14), %rdi
	jmp	LBB0_6
LBB0_7:
	movq	(%r14), %rdi
	movq	8(%r14), %rax
	movq	%rdi, (%rax)
	movl	$8, 8(%rax)
	callq	_ARRAY_SIZE
	movq	8(%r14), %rcx
	movl	%eax, 12(%rcx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_KEY,8,3                     ## @EV_KEY
	.comm	_EV_REP,8,3                     ## @EV_REP
	.comm	_EV_MSC,8,3                     ## @EV_MSC
	.comm	_MSC_RAW,8,3                    ## @MSC_RAW
	.comm	_MSC_SCAN,8,3                   ## @MSC_SCAN
	.comm	_KEY_MAX,8,3                    ## @KEY_MAX
	.comm	_KEY_RESERVED,8,3               ## @KEY_RESERVED
	.no_dead_strip	_input_register_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_register_keys
_input_register_keys:                   ; @input_register_keys
	.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	x8, _EV_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #24]
	bl	_set_bit
Lloh3:
	adrp	x8, _EV_REP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_REP@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #24]
	bl	_set_bit
Lloh6:
	adrp	x8, _EV_MSC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_MSC@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #24]
	bl	_set_bit
Lloh9:
	adrp	x8, _MSC_RAW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSC_RAW@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #20]
	bl	_set_bit
Lloh12:
	adrp	x8, _MSC_SCAN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSC_SCAN@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #20]
	bl	_set_bit
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, #0
Lloh15:
	adrp	x21, _KEY_MAX@GOTPAGE
Lloh16:
	ldr	x21, [x21, _KEY_MAX@GOTPAGEOFF]
Lloh17:
	adrp	x22, _KEY_RESERVED@GOTPAGE
Lloh18:
	ldr	x22, [x22, _KEY_RESERVED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x0, x20, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x8, [x0, x20, lsl #3]
	ldr	x9, [x21]
	cmp	x8, x9
	b.gt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #8]
	ldr	w1, [x9, #16]
	mov	x0, x8
	bl	_set_bit
	ldr	x0, [x19]
	b	LBB0_3
LBB0_7:
	ldp	x0, x8, [x19]
	str	x0, [x8]
	mov	w9, #8
	str	w9, [x8, #8]
	bl	_ARRAY_SIZE
	ldr	x8, [x19, #8]
	str	w0, [x8, #12]
	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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_KEY,8,3                     ; @EV_KEY
	.comm	_EV_REP,8,3                     ; @EV_REP
	.comm	_EV_MSC,8,3                     ; @EV_MSC
	.comm	_MSC_RAW,8,3                    ; @MSC_RAW
	.comm	_MSC_SCAN,8,3                   ; @MSC_SCAN
	.comm	_KEY_MAX,8,3                    ; @KEY_MAX
	.comm	_KEY_RESERVED,8,3               ; @KEY_RESERVED
	.no_dead_strip	_input_register_keys
.subsections_via_symbols
