	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_entry_index
_get_entry_index:                       ## @get_entry_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	(%rdi), %r14d
	movq	8(%rdi), %r13
	testq	%r13, %r13
	jne	LBB0_2
## %bb.1:
	movq	_strcmp@GOTPCREL(%rip), %r13
LBB0_2:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.4:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	$-1, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r14d
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r15), %eax
	cmpl	%r14d, %eax
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %eax
	subl	%r15d, %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	addl	%r15d, %ebx
	movq	16(%r12), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*%r13
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r15d
	jmp	LBB0_9
LBB0_3:
	movl	%r14d, %ebx
	jmp	LBB0_11
LBB0_10:
	movl	%r14d, %ebx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_12:
	movl	$1, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_11:
	movl	%eax, (%rdx)
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_entry_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_entry_index
_get_entry_index:                       ; @get_entry_index
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	ldr	w20, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _strcmp@GOTPAGE
Lloh1:
	ldr	x9, [x9, _strcmp@GOTPAGEOFF]
	cmp	x8, #0
	csel	x23, x9, x8, eq
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, x1
	mov	x22, x0
	mov	w24, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w24, #1
	cmp	w8, w20
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w20, w24
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w25, w24, w8, asr #1
	ldr	x8, [x22, #16]
	ldr	w1, [x8, w25, sxtw #2]
	mov	x0, x21
	blr	x23
	tbnz	w0, #31, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x25
	b	LBB0_3
LBB0_7:
	mov	w8, #0
	b	LBB0_9
LBB0_8:
	mov	w8, #1
	mov	x20, x25
LBB0_9:
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_entry_index
.subsections_via_symbols
