	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_match_device
_input_match_device:                    ## @input_match_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_INPUT_DEVICE_ID_MATCH_BUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_INPUT_DEVICE_ID_MATCH_VENDOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_INPUT_DEVICE_ID_MATCH_PRODUCT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_INPUT_DEVICE_ID_MATCH_VERSION@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$48, %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	testl	%edi, %edi
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 40(%rbx)
	je	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%edi, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_14
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%edi, %ecx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rdx
	cmpq	8(%rsi), %rdx
	jne	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%edi, %r9d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rbx), %rdx
	cmpq	16(%rsi), %rdx
	jne	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%edi, %r8d
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rdx
	cmpq	24(%rsi), %rdx
	jne	LBB0_14
LBB0_12:
	movq	_evbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EV_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_keybit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KEY_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_relbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_absbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ABS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_mscbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MSC_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_ledbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LED_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_sndbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SND_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_ffbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FF_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	movq	_swbit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SW_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MATCH_BIT
	jmp	LBB0_13
LBB0_3:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INPUT_DEVICE_ID_MATCH_BUS,4,2  ## @INPUT_DEVICE_ID_MATCH_BUS
	.comm	_INPUT_DEVICE_ID_MATCH_VENDOR,4,2 ## @INPUT_DEVICE_ID_MATCH_VENDOR
	.comm	_INPUT_DEVICE_ID_MATCH_PRODUCT,4,2 ## @INPUT_DEVICE_ID_MATCH_PRODUCT
	.comm	_INPUT_DEVICE_ID_MATCH_VERSION,4,2 ## @INPUT_DEVICE_ID_MATCH_VERSION
	.comm	_evbit,4,2                      ## @evbit
	.comm	_EV_MAX,4,2                     ## @EV_MAX
	.comm	_keybit,4,2                     ## @keybit
	.comm	_KEY_MAX,4,2                    ## @KEY_MAX
	.comm	_relbit,4,2                     ## @relbit
	.comm	_REL_MAX,4,2                    ## @REL_MAX
	.comm	_absbit,4,2                     ## @absbit
	.comm	_ABS_MAX,4,2                    ## @ABS_MAX
	.comm	_mscbit,4,2                     ## @mscbit
	.comm	_MSC_MAX,4,2                    ## @MSC_MAX
	.comm	_ledbit,4,2                     ## @ledbit
	.comm	_LED_MAX,4,2                    ## @LED_MAX
	.comm	_sndbit,4,2                     ## @sndbit
	.comm	_SND_MAX,4,2                    ## @SND_MAX
	.comm	_ffbit,4,2                      ## @ffbit
	.comm	_FF_MAX,4,2                     ## @FF_MAX
	.comm	_swbit,4,2                      ## @swbit
	.comm	_SW_MAX,4,2                     ## @SW_MAX
	.no_dead_strip	_input_match_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_match_device
_input_match_device:                    ; @input_match_device
	.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
Lloh0:
	adrp	x8, _INPUT_DEVICE_ID_MATCH_BUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INPUT_DEVICE_ID_MATCH_BUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _INPUT_DEVICE_ID_MATCH_VENDOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INPUT_DEVICE_ID_MATCH_VENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _INPUT_DEVICE_ID_MATCH_PRODUCT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _INPUT_DEVICE_ID_MATCH_PRODUCT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _INPUT_DEVICE_ID_MATCH_VERSION@GOTPAGE
Lloh10:
	ldr	x11, [x11, _INPUT_DEVICE_ID_MATCH_VERSION@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #48
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x19]
	cbnz	w12, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x13, [x19, #40]
	cbz	x13, LBB0_13
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	tst	w8, w12
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x13, [x19, #8]
	ldr	x14, [x1]
	cmp	x13, x14
	b.ne	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	tst	w9, w12
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x13, [x19, #16]
	ldr	x14, [x1, #8]
	cmp	x13, x14
	b.ne	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	tst	w10, w12
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x13, [x19, #24]
	ldr	x14, [x1, #16]
	cmp	x13, x14
	b.ne	LBB0_1
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	tst	w11, w12
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x19, #32]
	ldr	x13, [x1, #24]
	cmp	x12, x13
	b.ne	LBB0_1
LBB0_12:
Lloh12:
	adrp	x8, _evbit@GOTPAGE
Lloh13:
	ldr	x8, [x8, _evbit@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _EV_MAX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EV_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh18:
	adrp	x8, _keybit@GOTPAGE
Lloh19:
	ldr	x8, [x8, _keybit@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _KEY_MAX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KEY_MAX@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh24:
	adrp	x8, _relbit@GOTPAGE
Lloh25:
	ldr	x8, [x8, _relbit@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _REL_MAX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _REL_MAX@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh30:
	adrp	x8, _absbit@GOTPAGE
Lloh31:
	ldr	x8, [x8, _absbit@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _ABS_MAX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ABS_MAX@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh36:
	adrp	x8, _mscbit@GOTPAGE
Lloh37:
	ldr	x8, [x8, _mscbit@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x8, _MSC_MAX@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MSC_MAX@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh42:
	adrp	x8, _ledbit@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ledbit@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x8, _LED_MAX@GOTPAGE
Lloh46:
	ldr	x8, [x8, _LED_MAX@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh48:
	adrp	x8, _sndbit@GOTPAGE
Lloh49:
	ldr	x8, [x8, _sndbit@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
Lloh51:
	adrp	x8, _SND_MAX@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SND_MAX@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh54:
	adrp	x8, _ffbit@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ffbit@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x8, _FF_MAX@GOTPAGE
Lloh58:
	ldr	x8, [x8, _FF_MAX@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	bl	_MATCH_BIT
Lloh60:
	adrp	x8, _swbit@GOTPAGE
Lloh61:
	ldr	x8, [x8, _swbit@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
Lloh63:
	adrp	x8, _SW_MAX@GOTPAGE
Lloh64:
	ldr	x8, [x8, _SW_MAX@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	bl	_MATCH_BIT
	b	LBB0_14
LBB0_13:
	mov	x19, #0
LBB0_14:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INPUT_DEVICE_ID_MATCH_BUS,4,2  ; @INPUT_DEVICE_ID_MATCH_BUS
	.comm	_INPUT_DEVICE_ID_MATCH_VENDOR,4,2 ; @INPUT_DEVICE_ID_MATCH_VENDOR
	.comm	_INPUT_DEVICE_ID_MATCH_PRODUCT,4,2 ; @INPUT_DEVICE_ID_MATCH_PRODUCT
	.comm	_INPUT_DEVICE_ID_MATCH_VERSION,4,2 ; @INPUT_DEVICE_ID_MATCH_VERSION
	.comm	_evbit,4,2                      ; @evbit
	.comm	_EV_MAX,4,2                     ; @EV_MAX
	.comm	_keybit,4,2                     ; @keybit
	.comm	_KEY_MAX,4,2                    ; @KEY_MAX
	.comm	_relbit,4,2                     ; @relbit
	.comm	_REL_MAX,4,2                    ; @REL_MAX
	.comm	_absbit,4,2                     ; @absbit
	.comm	_ABS_MAX,4,2                    ; @ABS_MAX
	.comm	_mscbit,4,2                     ; @mscbit
	.comm	_MSC_MAX,4,2                    ; @MSC_MAX
	.comm	_ledbit,4,2                     ; @ledbit
	.comm	_LED_MAX,4,2                    ; @LED_MAX
	.comm	_sndbit,4,2                     ; @sndbit
	.comm	_SND_MAX,4,2                    ; @SND_MAX
	.comm	_ffbit,4,2                      ; @ffbit
	.comm	_FF_MAX,4,2                     ; @FF_MAX
	.comm	_swbit,4,2                      ; @swbit
	.comm	_SW_MAX,4,2                     ; @SW_MAX
	.no_dead_strip	_input_match_device
.subsections_via_symbols
