	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_longest_prefixes_1
_find_longest_prefixes_1:               ## @find_longest_prefixes_1
	.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	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rax
	movq	(%r15), %rcx
	movzbl	(%rax,%rcx), %eax
	testb	%al, %al
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %edi
	callq	_is_glob_special
	testq	%rax, %rax
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_2
## %bb.5:
	xorl	%r13d, %r13d
	movq	%r13, %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r14
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%cl, %esi
	movq	%r15, %rdi
	callq	_strbuf_addch
	movq	%r14, %rcx
	subq	%r13, %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_find_longest_prefixes_1
	movl	(%r15), %esi
	decl	%esi
	movq	%r15, %rdi
	callq	_strbuf_setlen
	movq	%r14, %r13
	cmpq	%rbx, %r14
	jae	LBB0_11
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	leaq	1(%r13), %rax
	cmpq	%rax, %rbx
	cmovaq	%rbx, %rax
	leaq	(%r12,%r13,8), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12,%r13,8), %rcx
	movq	(%r15), %rdx
	movb	(%rcx,%rdx), %cl
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r14
	cmpq	%rbx, %r14
	jae	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	(%r12,%r14,8), %rsi
	cmpb	(%rsi,%rdx), %cl
	je	LBB0_7
	jmp	LBB0_10
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	8(%r15), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_string_list_append             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_longest_prefixes_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_longest_prefixes_1
_find_longest_prefixes_1:               ; @find_longest_prefixes_1
	.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
	cbz	x3, LBB0_11
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, x23, lsl #3]
	ldr	x9, [x21]
	ldrb	w8, [x8, x9]
	cbz	w8, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w0, w8
	bl	_is_glob_special
	cbnz	x0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	cmp	x19, x23
	b.ne	LBB0_2
; %bb.5:
	mov	x25, #0
	add	x24, x22, #8
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, x8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	sxtb	w1, w9
	mov	x0, x21
	bl	_strbuf_addch
	sub	x3, x26, x25
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_find_longest_prefixes_1
	ldr	w8, [x21]
	sub	w1, w8, #1
	mov	x0, x21
	bl	_strbuf_setlen
	mov	x25, x26
	cmp	x26, x19
	b.hs	LBB0_11
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x23, x22, x25, lsl #3
	add	x8, x25, #1
	cmp	x19, x8
	csinc	x8, x19, x25, hi
	ldr	x9, [x23]
	ldr	x10, [x21]
	ldrb	w9, [x9, x10]
	mov	x11, x25
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x26, x11, #1
	cmp	x26, x19
	b.hs	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x11, [x24, x11, lsl #3]
	ldrb	w12, [x11, x10]
	mov	x11, x26
	cmp	w9, w12
	b.eq	LBB0_9
	b	LBB0_7
LBB0_11:
	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	w1, [x21, #8]
	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
	b	_string_list_append
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_longest_prefixes_1
.subsections_via_symbols
