	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup_prefix
_lookup_prefix:                         ## @lookup_prefix
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %edx
	callq	_string_list_find_insert_index
	movl	%eax, %ecx
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	cmpb	$0, (%rbx,%r14)
	movq	%r14, %rdx
	je	LBB0_13
## %bb.5:
	testl	%ecx, %ecx
	jg	LBB0_6
	jmp	LBB0_13
LBB0_1:
	notl	%ecx
	cmpb	$0, (%rbx,%r14)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdx
	testl	%ecx, %ecx
	jle	LBB0_13
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	incq	%r14
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	decq	%r14
	cmpq	$1, %r14
	movq	%r15, %rbx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	jbe	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	-56(%rbp), %ecx                 ## 4-byte Folded Reload
	jg	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	-2(%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%eax, %r13d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx,%r13,8), %r12
	movq	%r12, %rdi
	movq	%rbx, %r15
	movq	%rbx, %rsi
	movq	%rdx, %rbx
	callq	_strncasecmp
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdx
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, (%r12,%rdx,4)
	jne	LBB0_12
## %bb.11:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %rcx
	jmp	LBB0_14
LBB0_13:
	xorl	%ecx, %ecx
LBB0_14:
	movq	%rcx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%ecx, %ecx
	shlq	$3, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rax), %rcx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lookup_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup_prefix
_lookup_prefix:                         ; @lookup_prefix
	.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
	mov	x21, x1
	mov	x20, x0
	mov	w2, #1
	bl	_string_list_find_insert_index
	mov	x22, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldrb	w8, [x21, x19]
	cbnz	w8, LBB0_3
	b	LBB0_10
LBB0_2:
	mvn	w22, w22
	ldrb	w8, [x21, x19]
	cbz	w8, LBB0_12
LBB0_3:
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.4:
	ldr	w25, [x20]
	mov	w8, w22
	add	x26, x8, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x26, x26, #1
	cmp	x26, #1
	b.ls	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, w25
	b.gt	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x26, #2
	ldr	x9, [x20, #8]
	add	x23, x9, w8, uxtw #3
	ldr	x24, [x23]
	mov	x0, x24
	mov	x1, x21
	mov	x2, x19
	bl	_strncasecmp
	tbnz	w0, #31, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24, x19, lsl #2]
	cbnz	w8, LBB0_5
	b	LBB0_11
LBB0_10:
	mov	x23, #0
LBB0_11:
	mov	x0, x23
	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
LBB0_12:
	ldr	x8, [x20, #8]
	add	x23, x8, w22, uxtw #3
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lookup_prefix
.subsections_via_symbols
