	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pnpproto
_pnpproto:                              ## @pnpproto
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	jle	LBB0_4
## %bb.1:
	movl	40(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	40(%r15), %edi
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_4:
	movq	8(%r15), %rdx
	testq	%rdx, %rdx
	jle	LBB0_6
## %bb.5:
	movq	_pnpprod@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_gettoken
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_MOUSE_PROTO_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_6:
	movl	24(%r15), %r8d
	xorl	%r14d, %r14d
	testl	%r8d, %r8d
	jle	LBB0_16
## %bb.7:
	movq	_MOUSE_PROTO_UNKNOWN@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	addl	%ebx, %r12d
	incl	%r12d
	cmpl	%r8d, %r12d
	jge	LBB0_16
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	32(%r15), %rsi
	movslq	%r12d, %rcx
	movslq	%r8d, %rdx
	movl	$-1, %ebx
	movq	%rcx, %rdi
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%ebx
	cmpb	$44, (%rsi,%rdi)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	1(%rdi), %rax
	cmpq	%rdx, %rdi
	movq	%rax, %rdi
	jl	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	leal	(%r12,%rbx), %eax
	cmpl	%eax, %r12d
	jge	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_pnpprod@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	%rcx, %rsi
	movl	%ebx, %edx
	callq	_gettoken
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	24(%r15), %r8d
	jmp	LBB0_15
LBB0_13:
	movq	%rax, %r14
LBB0_16:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MOUSE"

L_.str.1:                               ## @.str.1
	.asciz	"TABLET"

	.comm	_pnpprod,4,2                    ## @pnpprod
	.comm	_MOUSE_PROTO_UNKNOWN,8,3        ## @MOUSE_PROTO_UNKNOWN
	.no_dead_strip	_pnpproto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pnpproto
_pnpproto:                              ; @pnpproto
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x2, [x0]
	cmp	x2, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w0, [x19, #40]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strncmp
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #40]
	ldr	x2, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strncmp
	cbnz	x0, LBB0_13
LBB0_3:
	ldr	x2, [x19, #8]
Lloh4:
	adrp	x21, _pnpprod@GOTPAGE
Lloh5:
	ldr	x21, [x21, _pnpprod@GOTPAGEOFF]
Lloh6:
	adrp	x22, _MOUSE_PROTO_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MOUSE_PROTO_UNKNOWN@GOTPAGEOFF]
	cmp	x2, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	w0, [x21]
	ldr	x1, [x19, #16]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_gettoken
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_14
LBB0_5:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.6:
	mov	w10, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w9, w23, w20
	add	w10, w9, #1
	cmp	w10, w8
	b.ge	LBB0_13
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x9, [x19, #32]
	sxtw	x23, w10
	sxtw	x10, w8
	mov	w20, #-1
	mov	x11, x23
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x9, x11]
	cmp	w12, #44
	ccmp	x11, x10, #0, ne
	add	x11, x11, #1
	add	w20, w20, #1
	b.lt	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w10, w23, w20
	cmp	w23, w10
	b.ge	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x21]
	add	x1, x9, x23
	mov	x2, x20
	bl	_gettoken
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #24]
	b	LBB0_7
LBB0_13:
	mov	x0, #0
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MOUSE"

l_.str.1:                               ; @.str.1
	.asciz	"TABLET"

	.comm	_pnpprod,4,2                    ; @pnpprod
	.comm	_MOUSE_PROTO_UNKNOWN,8,3        ; @MOUSE_PROTO_UNKNOWN
	.no_dead_strip	_pnpproto
.subsections_via_symbols
