	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_index
_get_index:                             ## @get_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_DB_SRP_INDEX@GOTPCREL(%rip), %r13
	movb	(%r13), %r14b
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_sk_OPENSSL_PSTRING_num
	cmpb	%bl, %r14b
	jne	LBB0_8
## %bb.2:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.3:
	xorl	%ebx, %ebx
	movq	_DB_srptype@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_sk_OPENSSL_PSTRING_num
	cmpl	%eax, %ebx
	jge	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_sk_OPENSSL_PSTRING_value
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rcx
	movzbl	(%rcx), %ecx
	cmpb	(%r13), %cl
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_DB_srpid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_13
LBB0_8:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.9:
	xorl	%ebx, %ebx
	movq	_DB_srptype@GOTPCREL(%rip), %r14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_sk_OPENSSL_PSTRING_num
	cmpl	%eax, %ebx
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_sk_OPENSSL_PSTRING_value
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rcx
	movzbl	(%rcx), %ecx
	cmpb	(%r13), %cl
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_DB_srpid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
LBB0_13:
	movl	%ebx, %eax
	jmp	LBB0_15
LBB0_14:
	movl	$-1, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_SRP_INDEX,1,0               ## @DB_SRP_INDEX
	.comm	_DB_srptype,8,3                 ## @DB_srptype
	.comm	_DB_srpid,8,3                   ## @DB_srpid
	.no_dead_strip	_get_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_index
_get_index:                             ; @get_index
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_12
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _DB_SRP_INDEX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DB_SRP_INDEX@GOTPAGEOFF]
	ldrb	w23, [x22]
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_sk_OPENSSL_PSTRING_num
	cmp	w23, w19, uxtb
	b.ne	LBB0_7
; %bb.2:
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.3:
	mov	w19, #0
Lloh2:
	adrp	x23, _DB_srptype@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DB_srptype@GOTPAGEOFF]
Lloh4:
	adrp	x24, _DB_srpid@GOTPAGE
Lloh5:
	ldr	x24, [x24, _DB_srpid@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w19, w19, #1
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_sk_OPENSSL_PSTRING_num
	cmp	w19, w0
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_sk_OPENSSL_PSTRING_value
	ldr	x8, [x23]
	ldr	x8, [x0, x8, lsl #3]
	ldrb	w8, [x8]
	ldrb	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	ldr	x1, [x0, x8, lsl #3]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_4
	b	LBB0_13
LBB0_7:
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.8:
	mov	w19, #0
Lloh6:
	adrp	x23, _DB_srptype@GOTPAGE
Lloh7:
	ldr	x23, [x23, _DB_srptype@GOTPAGEOFF]
Lloh8:
	adrp	x24, _DB_srpid@GOTPAGE
Lloh9:
	ldr	x24, [x24, _DB_srpid@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w19, w19, #1
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_sk_OPENSSL_PSTRING_num
	cmp	w19, w0
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_sk_OPENSSL_PSTRING_value
	ldr	x8, [x23]
	ldr	x8, [x0, x8, lsl #3]
	ldrb	w8, [x8]
	ldrb	w9, [x22]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x24]
	ldr	x1, [x0, x8, lsl #3]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_9
	b	LBB0_13
LBB0_12:
	mov	w19, #-1
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_SRP_INDEX,1,0               ; @DB_SRP_INDEX
	.comm	_DB_srptype,8,3                 ; @DB_srptype
	.comm	_DB_srpid,8,3                   ; @DB_srpid
	.no_dead_strip	_get_index
.subsections_via_symbols
