	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_match_device_id          ## -- Begin function input_match_device_id
	.p2align	4, 0x90
_input_match_device_id:                 ## @input_match_device_id
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movq	_INPUT_DEVICE_ID_MATCH_BUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rcx
	xorl	%r15d, %r15d
	cmpq	40(%r14), %rcx
	jne	LBB0_18
LBB0_2:
	movq	_INPUT_DEVICE_ID_MATCH_VENDOR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	16(%rbx), %rcx
	xorl	%r15d, %r15d
	cmpq	48(%r14), %rcx
	jne	LBB0_18
LBB0_4:
	movq	_INPUT_DEVICE_ID_MATCH_PRODUCT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	24(%rbx), %rcx
	xorl	%r15d, %r15d
	cmpq	56(%r14), %rcx
	jne	LBB0_18
LBB0_6:
	movq	_INPUT_DEVICE_ID_MATCH_VERSION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	32(%rbx), %rax
	xorl	%r15d, %r15d
	cmpq	64(%r14), %rax
	jne	LBB0_18
LBB0_8:
	movl	76(%rbx), %edi
	movl	36(%r14), %esi
	movq	_EV_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_18
## %bb.9:
	movl	72(%rbx), %edi
	movl	32(%r14), %esi
	movq	_KEY_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.10:
	movl	68(%rbx), %edi
	movl	28(%r14), %esi
	movq	_REL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.11:
	movl	64(%rbx), %edi
	movl	24(%r14), %esi
	movq	_ABS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.12:
	movl	60(%rbx), %edi
	movl	20(%r14), %esi
	movq	_MSC_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.13:
	movl	56(%rbx), %edi
	movl	16(%r14), %esi
	movq	_LED_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.14:
	movl	52(%rbx), %edi
	movl	12(%r14), %esi
	movq	_SND_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movl	48(%rbx), %edi
	movl	8(%r14), %esi
	movq	_FF_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:
	movl	44(%rbx), %edi
	movl	4(%r14), %esi
	movq	_SW_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	40(%rbx), %edi
	movl	(%r14), %esi
	movq	_INPUT_PROP_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bitmap_subset
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_EV_MAX,4,2                     ## @EV_MAX
	.comm	_KEY_MAX,4,2                    ## @KEY_MAX
	.comm	_REL_MAX,4,2                    ## @REL_MAX
	.comm	_ABS_MAX,4,2                    ## @ABS_MAX
	.comm	_MSC_MAX,4,2                    ## @MSC_MAX
	.comm	_LED_MAX,4,2                    ## @LED_MAX
	.comm	_SND_MAX,4,2                    ## @SND_MAX
	.comm	_FF_MAX,4,2                     ## @FF_MAX
	.comm	_SW_MAX,4,2                     ## @SW_MAX
	.comm	_INPUT_PROP_MAX,4,2             ## @INPUT_PROP_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_match_device_id          ; -- Begin function input_match_device_id
	.p2align	2
_input_match_device_id:                 ; @input_match_device_id
	.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, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _INPUT_DEVICE_ID_MATCH_BUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INPUT_DEVICE_ID_MATCH_BUS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x20, #8]
	ldr	x10, [x19, #40]
	cmp	x9, x10
	b.ne	LBB0_18
LBB0_2:
Lloh3:
	adrp	x9, _INPUT_DEVICE_ID_MATCH_VENDOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INPUT_DEVICE_ID_MATCH_VENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x9, [x20, #16]
	ldr	x10, [x19, #48]
	cmp	x9, x10
	b.ne	LBB0_18
LBB0_4:
Lloh6:
	adrp	x9, _INPUT_DEVICE_ID_MATCH_PRODUCT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INPUT_DEVICE_ID_MATCH_PRODUCT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	x9, [x20, #24]
	ldr	x10, [x19, #56]
	cmp	x9, x10
	b.ne	LBB0_18
LBB0_6:
Lloh9:
	adrp	x9, _INPUT_DEVICE_ID_MATCH_VERSION@GOTPAGE
Lloh10:
	ldr	x9, [x9, _INPUT_DEVICE_ID_MATCH_VERSION@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x20, #32]
	ldr	x9, [x19, #64]
	cmp	x8, x9
	b.ne	LBB0_18
LBB0_8:
	ldr	w0, [x20, #76]
	ldr	w1, [x19, #36]
Lloh12:
	adrp	x8, _EV_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EV_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.9:
	ldr	w0, [x20, #72]
	ldr	w1, [x19, #32]
Lloh15:
	adrp	x8, _KEY_MAX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KEY_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.10:
	ldr	w0, [x20, #68]
	ldr	w1, [x19, #28]
Lloh18:
	adrp	x8, _REL_MAX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REL_MAX@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.11:
	ldr	w0, [x20, #64]
	ldr	w1, [x19, #24]
Lloh21:
	adrp	x8, _ABS_MAX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ABS_MAX@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.12:
	ldr	w0, [x20, #60]
	ldr	w1, [x19, #20]
Lloh24:
	adrp	x8, _MSC_MAX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSC_MAX@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.13:
	ldr	w0, [x20, #56]
	ldr	w1, [x19, #16]
Lloh27:
	adrp	x8, _LED_MAX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LED_MAX@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.14:
	ldr	w0, [x20, #52]
	ldr	w1, [x19, #12]
Lloh30:
	adrp	x8, _SND_MAX@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SND_MAX@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.15:
	ldr	w0, [x20, #48]
	ldr	w1, [x19, #8]
Lloh33:
	adrp	x8, _FF_MAX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FF_MAX@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.16:
	ldr	w0, [x20, #44]
	ldr	w1, [x19, #4]
Lloh36:
	adrp	x8, _SW_MAX@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SW_MAX@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cbz	w0, LBB0_19
; %bb.17:
	ldr	w0, [x20, #40]
	ldr	w1, [x19]
Lloh39:
	adrp	x8, _INPUT_PROP_MAX@GOTPAGE
Lloh40:
	ldr	x8, [x8, _INPUT_PROP_MAX@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	bl	_bitmap_subset
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.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	_EV_MAX,4,2                     ; @EV_MAX
	.comm	_KEY_MAX,4,2                    ; @KEY_MAX
	.comm	_REL_MAX,4,2                    ; @REL_MAX
	.comm	_ABS_MAX,4,2                    ; @ABS_MAX
	.comm	_MSC_MAX,4,2                    ; @MSC_MAX
	.comm	_LED_MAX,4,2                    ; @LED_MAX
	.comm	_SND_MAX,4,2                    ; @SND_MAX
	.comm	_FF_MAX,4,2                     ; @FF_MAX
	.comm	_SW_MAX,4,2                     ; @SW_MAX
	.comm	_INPUT_PROP_MAX,4,2             ; @INPUT_PROP_MAX
.subsections_via_symbols
