	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_hdw_internal_find_stdenum
_pvr2_hdw_internal_find_stdenum:        ## @pvr2_hdw_internal_find_stdenum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	xorl	%r8d, %r8d
	cmpq	$2, %rcx
	jb	LBB0_5
## %bb.1:
	movq	8(%rdi), %rsi
	movq	24(%rdi), %rax
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, -8(%rax,%rdx,8)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	%edx, %r8d
LBB0_5:
	movl	%r8d, 16(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pvr2_hdw_internal_find_stdenum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_hdw_internal_find_stdenum
_pvr2_hdw_internal_find_stdenum:        ; @pvr2_hdw_internal_find_stdenum
	.cfi_startproc
; %bb.0:
	ldr	w11, [x0]
	cmp	w11, #2
	b.lo	LBB0_4
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0, #24]
	ldr	x10, [x0, #8]
	sub	x11, x11, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, x8, lsl #3]
	cmp	x12, x10
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x11, x8
	b.ne	LBB0_2
LBB0_4:
	str	wzr, [x0, #16]
	ret
LBB0_5:
	add	w8, w8, #1
	str	w8, [x0, #16]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pvr2_hdw_internal_find_stdenum
.subsections_via_symbols
