	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compare_names
_compare_names:                         ## @compare_names
	.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	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	_INDEX_FILE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_OLD_FILE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_3
## %bb.1:
	xorl	%eax, %eax
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	leaq	1(%rax), %r14
	shlq	$4, %rax
	leaq	(%rdi,%rax), %r15
	addq	$8, %r15
	xorl	%eax, %eax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r12
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%rdx), %rcx
	decq	%r14
	addq	$-16, %r15
	movq	%r12, %rbx
	cmpq	%rcx, %r14
	jle	LBB0_2
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r15), %r13
	testq	%r13, %r13
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %ecx
	orl	-52(%rbp), %ecx                 ## 4-byte Folded Reload
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_num_components
	cmpq	%rbx, %rax
	jbe	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r12
	movq	_OLD_FILE@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmovbq	%r13, %rbx
	movq	%r13, %rdi
	callq	_basename
	movq	%rax, %rdi
	callq	_strlen
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmovbq	%r13, %rbx
	movq	%r13, %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %rax
	cmovbq	%rax, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmovbeq	%r13, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_OLD_FILE@GOTPCREL(%rip), %rdx
	movq	%rbx, %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.comm	_INDEX_FILE,4,2                 ## @INDEX_FILE
	.comm	_OLD_FILE,4,2                   ## @OLD_FILE
	.no_dead_strip	_compare_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compare_names
_compare_names:                         ; @compare_names
	.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
Lloh0:
	adrp	x8, _INDEX_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INDEX_FILE@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
Lloh3:
	adrp	x24, _OLD_FILE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _OLD_FILE@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:
	mov	x0, x20
	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
	ret
LBB0_3:
	mov	x19, x1
	mov	x20, #0
Lloh5:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x23, [x9]
	add	x25, x8, #1
	add	x8, x0, x8, lsl #4
	add	x26, x8, #8
	mov	x27, x23
	mov	x28, x23
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x23
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x24]
	sub	x25, x25, #1
	sub	x26, x26, #16
	mov	x23, x21
	cmp	x25, x8
	b.le	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x22, [x26, #-8]
	cbz	x22, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26]
	orr	w8, w8, w19
	cbz	w8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_num_components
	cmp	x0, x23
	b.hi	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	csel	x20, x22, x20, lo
	mov	x0, x22
	bl	_basename
	bl	_strlen
	cmp	x0, x28
	b.hi	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	csel	x20, x22, x20, lo
	mov	x0, x22
	bl	_strlen
	cmp	x0, x27
	csel	x27, x0, x27, lo
	csel	x20, x20, x22, hi
	mov	x28, x23
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.comm	_INDEX_FILE,4,2                 ; @INDEX_FILE
	.comm	_OLD_FILE,4,2                   ; @OLD_FILE
	.no_dead_strip	_compare_names
.subsections_via_symbols
