	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_FindIthElementInChain
_CRYPT_FindIthElementInChain:           ## @CRYPT_FindIthElementInChain
	.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), %r8
	xorl	%r9d, %r9d
	xorl	%edx, %edx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rax), %rax
	movq	%rsi, %rcx
	subq	%r9, %rcx
	movq	(%rax,%rcx,8), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdx
	testq	%rax, %rax
	jne	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %r8
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %rax
	movq	(%rax,%rdx,8), %rax
	movq	(%rax), %rcx
	addq	%r9, %rcx
	cmpq	%rsi, %rcx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movq	%rcx, %r9
	jmp	LBB0_6
LBB0_7:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_CRYPT_FindIthElementInChain
.subsections_via_symbols

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