	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hid_parse_usage_in_page        ## -- Begin function hid_parse_usage_in_page
	.p2align	4, 0x90
_hid_parse_usage_in_page:               ## @hid_parse_usage_in_page
	.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, %r12
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.1:
	movq	_npages@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_11
## %bb.2:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r13d
	subl	%r12d, %r13d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_pages@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax,%rbx), %edi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	(%r15), %rax
	addq	$24, %rbx
	cmpq	%rax, %r14
	jl	LBB0_3
	jmp	LBB0_10
LBB0_5:
	movq	_pages@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%rbx)
	jle	LBB0_10
## %bb.6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	incq	%r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax,%rbx), %rax
	movl	4(%rax,%r15,8), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movq	_pages@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rax,%rbx), %rcx
	cmpq	%rcx, %r15
	jl	LBB0_7
LBB0_10:
	movl	$-1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_pages@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	4(%rcx,%rbx), %eax
	shll	$16, %eax
	movq	8(%rcx,%rbx), %rcx
	orl	(%rcx,%r15,8), %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_npages,4,2                     ## @npages
	.comm	_pages,8,3                      ## @pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hid_parse_usage_in_page        ; -- Begin function hid_parse_usage_in_page
	.p2align	2
_hid_parse_usage_in_page:               ; @hid_parse_usage_in_page
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x24, _npages@GOTPAGE
Lloh1:
	ldr	x24, [x24, _npages@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x20, x0
	mov	x22, #0
	mov	x25, #0
	sub	w21, w20, w19
Lloh2:
	adrp	x23, _pages@GOTPAGE
Lloh3:
	ldr	x23, [x23, _pages@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x8, x8, x22
	ldr	w0, [x8, #16]
	mov	x1, x19
	mov	x2, x21
	bl	_strncmp
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x24]
	add	x22, x22, #24
	cmp	x25, x8
	b.lt	LBB0_3
	b	LBB0_9
LBB0_5:
	ldr	x8, [x23]
	ldr	w9, [x8, x22]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x21, #0
	mov	x24, #0
	add	x19, x20, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldr	x8, [x23]
	ldrsw	x9, [x8, x22]
	add	x21, x21, #8
	cmp	x24, x9
	b.lt	LBB0_7
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x23]
	add	x8, x8, x22
	ldr	w9, [x8, #4]
	ldr	x8, [x8, #8]
	ldr	w8, [x8, x21]
	orr	w0, w8, w9, lsl #16
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_npages,4,2                     ; @npages
	.comm	_pages,8,3                      ; @pages
.subsections_via_symbols
