	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_FindPageByResId
_PROPSHEET_FindPageByResId:             ## @PROPSHEET_FindPageByResId
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rax,4), %rdi
	cmpq	%rsi, (%rdi)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.5:
	movq	%rcx, %rax
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_PROPSHEET_FindPageByResId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_FindPageByResId
_PROPSHEET_FindPageByResId:             ; @PROPSHEET_FindPageByResId
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_6
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x8, [x8, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x10, [x8, x0, lsl #2]
	ldr	x10, [x10]
	cmp	x10, x1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x9
LBB0_5:
	ret
LBB0_6:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_PROPSHEET_FindPageByResId
.subsections_via_symbols
