	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aarch64_operand_index          ## -- Begin function aarch64_operand_index
	.p2align	4, 0x90
_aarch64_operand_index:                 ## @aarch64_operand_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AARCH64_MAX_OPND_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$-1, %eax
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	movq	_AARCH64_OPND_NIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %ecx
	cmpl	%esi, %ecx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r9d, %ecx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%r8, %rdx
	jb	LBB0_2
LBB0_6:
	popq	%rbp
	retq
LBB0_5:
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AARCH64_MAX_OPND_NUM,4,2       ## @AARCH64_MAX_OPND_NUM
	.comm	_AARCH64_OPND_NIL,4,2           ## @AARCH64_OPND_NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aarch64_operand_index          ; -- Begin function aarch64_operand_index
	.p2align	2
_aarch64_operand_index:                 ; @aarch64_operand_index
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _AARCH64_MAX_OPND_NUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AARCH64_MAX_OPND_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, x0
	mov	x0, #0
Lloh3:
	adrp	x10, _AARCH64_OPND_NIL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AARCH64_OPND_NIL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, x0, lsl #2]
	cmp	w11, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	w11, w10
	ccmp	x0, x9, #2, ne
	b.lo	LBB0_2
LBB0_4:
	mov	w0, #-1
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AARCH64_MAX_OPND_NUM,4,2       ; @AARCH64_MAX_OPND_NUM
	.comm	_AARCH64_OPND_NIL,4,2           ; @AARCH64_OPND_NIL
.subsections_via_symbols
