	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_name_common
_find_name_common:                      ## @find_name_common
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	cmoveq	%rsi, %rbx
	cmpq	%r8, %rsi
	je	LBB0_10
## %bb.1:
	movl	%ecx, %r14d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movl	%r14d, %eax
	decl	%eax
	movq	%r15, %rbx
	cmoveq	%r12, %rbx
	cmpb	$47, %r13b
	cmovneq	%r15, %rbx
	cmovel	%eax, %r14d
	cmpq	%r8, %r12
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movzbl	(%r12), %r13d
	testq	%r8, %r8
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%r13b, %ebx
	movl	%ebx, %edi
	callq	_isspace
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$10, %r13b
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_name_terminate
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movq	%r15, %rbx
	jmp	LBB0_9
LBB0_8:
	movq	%r8, %r12
LBB0_9:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_10:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.12:
	subl	%ebx, %r12d
	je	LBB0_11
## %bb.13:
	testq	%r15, %r15
	je	LBB0_17
## %bb.14:
	movq	%r15, %rdi
	callq	_strlen
	cmpl	%r12d, %eax
	jge	LBB0_17
## %bb.15:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_16
LBB0_17:
	cmpq	$0, 8(%r13)
	je	LBB0_19
## %bb.18:
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	callq	_xstrfmt
	jmp	LBB0_20
LBB0_11:
	movq	%r15, %rdi
	callq	_xstrdup_or_null
LBB0_20:
	movq	%rax, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_squash_slash                   ## TAILCALL
LBB0_19:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_xmemdupz
	jmp	LBB0_20
LBB0_16:
	movq	%r15, %rdi
	callq	_xstrdup
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%.*s"

	.no_dead_strip	_find_name_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_name_common
_find_name_common:                      ; @find_name_common
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	cmp	w3, #0
	csel	x19, x1, xzr, eq
	cmp	x1, x4
	b.eq	LBB0_8
; %bb.1:
	mov	x24, x5
	mov	x23, x4
	mov	x25, x3
	mov	w27, #47
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w25, #1
	cmp	w8, #0
	ccmp	w28, w27, #0, eq
	csinc	x19, x19, x22, ne
	add	x9, x22, #1
	cmp	w28, #47
	csel	w25, w8, w25, eq
	mov	x22, x9
	cmp	x9, x23
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w28, [x22]
	cbnz	x23, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w26, w28
	mov	x0, x26
	bl	_isspace
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w28, #10
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	mov	x1, x24
	bl	_name_terminate
	cbz	x0, LBB0_2
	b	LBB0_8
LBB0_7:
	mov	x22, x23
LBB0_8:
	cbz	x19, LBB0_15
; %bb.9:
	subs	w22, w22, w19
	b.eq	LBB0_15
; %bb.10:
	cbz	x20, LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_strlen
	cmp	w0, w22
	b.ge	LBB0_13
; %bb.12:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_strncmp
	cbz	w0, LBB0_18
LBB0_13:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_17
; %bb.14:
	ldr	w1, [x21]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x19
	bl	_xstrfmt
	b	LBB0_16
LBB0_15:
	mov	x0, x20
	bl	_xstrdup_or_null
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_squash_slash
LBB0_17:
	mov	x0, x19
	mov	x1, x22
	bl	_xmemdupz
	b	LBB0_16
LBB0_18:
	mov	x0, x20
	bl	_xstrdup
	b	LBB0_16
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%.*s"

	.no_dead_strip	_find_name_common
.subsections_via_symbols
