	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trail_name_compare             ## -- Begin function trail_name_compare
	.p2align	4, 0x90
_trail_name_compare:                    ## @trail_name_compare
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	_HALF_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	testl	%r14d, %r14d
	jns	LBB0_5
## %bb.6:
	movq	_TRAIL_OLDER@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_TRAIL_IDENTICAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_TRAIL_RENAMED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_TRAIL_NEWER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRAIL_IDENTICAL,4,2            ## @TRAIL_IDENTICAL
	.comm	_HALF_LEN,8,3                   ## @HALF_LEN
	.comm	_TRAIL_RENAMED,4,2              ## @TRAIL_RENAMED
	.comm	_TRAIL_OLDER,4,2                ## @TRAIL_OLDER
	.comm	_TRAIL_NEWER,4,2                ## @TRAIL_NEWER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trail_name_compare             ; -- Begin function trail_name_compare
	.p2align	2
_trail_name_compare:                    ; @trail_name_compare
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _HALF_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HALF_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x2, x8, #1
	mov	x0, x21
	mov	x1, x20
	bl	_strncmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _TRAIL_OLDER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRAIL_OLDER@GOTPAGEOFF]
Lloh5:
	adrp	x9, _TRAIL_NEWER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TRAIL_NEWER@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, lt
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x8, _TRAIL_IDENTICAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRAIL_IDENTICAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _TRAIL_RENAMED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRAIL_RENAMED@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TRAIL_IDENTICAL,4,2            ; @TRAIL_IDENTICAL
	.comm	_HALF_LEN,8,3                   ; @HALF_LEN
	.comm	_TRAIL_RENAMED,4,2              ; @TRAIL_RENAMED
	.comm	_TRAIL_OLDER,4,2                ; @TRAIL_OLDER
	.comm	_TRAIL_NEWER,4,2                ; @TRAIL_NEWER
.subsections_via_symbols
