	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vector_read_cmd_find
_vector_read_cmd_find:                  ## @vector_read_cmd_find
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	_READ_FAIL@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_6
## %bb.2:
	movq	8(%rdi), %rcx
	movl	%ecx, %r9d
	shlq	$2, %r9
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdi), %r8
	decl	%ecx
	leaq	-4(%r9), %rdx
	cmpl	%esi, -4(%r8,%r9)
	movq	%rdx, %r9
	jne	LBB0_3
## %bb.5:
	addq	%rdx, %r8
	movq	%r8, %rax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_FAIL,4,2                  ## @READ_FAIL
	.no_dead_strip	_vector_read_cmd_find
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vector_read_cmd_find
_vector_read_cmd_find:                  ; @vector_read_cmd_find
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, _READ_FAIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _READ_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.eq	LBB0_6
; %bb.2:
	ldr	x8, [x0, #8]
	and	x9, x8, #0xffffffff
	lsl	x9, x9, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	subs	w8, w8, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x0]
	add	x11, x10, x9
	ldur	w11, [x11, #-4]
	sub	x9, x9, #4
	cmp	w11, w1
	b.ne	LBB0_3
; %bb.5:
	add	x8, x10, x9
LBB0_6:
	mov	x0, x8
	ret
LBB0_7:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_FAIL,4,2                  ; @READ_FAIL
	.no_dead_strip	_vector_read_cmd_find
.subsections_via_symbols
