	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function basename_same
_basename_same:                         ## @basename_same
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movabsq	$4294967296, %r12               ## imm = 0x100000000
	movq	(%rdi), %rdi
	callq	_strlen
	movl	%eax, %r15d
	movq	(%r14), %rdi
	callq	_strlen
	movslq	%eax, %r8
	movslq	%r15d, %r9
	movl	$1, %r10d
	xorl	%r11d, %r11d
	movq	%r12, %rdx
	movq	%r9, %rbx
	movq	%r8, %r15
                                        ## implicit-def: $eax
	movq	%r8, %rdi
	movq	%r9, %rsi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addq	$-1, %rdi
	setb	%cl
	addq	$-1, %rsi
	jae	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rcx
	movzbl	-1(%rcx,%rbx), %ecx
	movq	(%r14), %rbx
	cmpb	$47, %cl
	cmovel	%r10d, %eax
	cmpb	-1(%rbx,%r15), %cl
	cmovnel	%r11d, %eax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	%r12, %rdx
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpb	$47, %cl
	jne	LBB0_1
	jmp	LBB0_11
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	movq	(%r13), %rcx
	shlq	$32, %r9
	subq	%rdx, %r9
	sarq	$32, %r9
	xorl	%eax, %eax
	cmpb	$47, (%rcx,%r9)
	sete	%al
	jne	LBB0_11
## %bb.7:
	testq	%r15, %r15
	jne	LBB0_8
	jmp	LBB0_11
LBB0_9:
	testq	%r15, %r15
	je	LBB0_10
LBB0_8:
	movq	(%r14), %rcx
	shlq	$32, %r8
	subq	%rdx, %r8
	sarq	$32, %r8
	xorl	%eax, %eax
	cmpb	$47, (%rcx,%r8)
	sete	%al
	jmp	LBB0_11
LBB0_10:
	movl	$1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_basename_same
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function basename_same
_basename_same:                         ; @basename_same
	.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	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_strlen
	mov	x21, x0
	ldr	x0, [x19]
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x10, w0
	sxtw	x8, w21
	mov	x11, #-4294967296
	add	x9, x11, x8, lsl #32
	sub	x12, x8, #1
	add	x8, x11, x10, lsl #32
	sub	x10, x10, #1
                                        ; implicit-def: $w0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmn	x12, #1
	b.eq	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmn	x10, #1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x13, [x20]
	ldrb	w13, [x13, x12]
	ldr	x14, [x19]
	ldrb	w14, [x14, x10]
	cmp	w13, #47
	csinc	w15, w0, wzr, ne
	cmp	w13, w14
	csel	w0, w15, wzr, eq
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x12, x12, #1
	sub	x10, x10, #1
	add	x9, x9, x11
	add	x8, x8, x11
	cmp	w13, #47
	b.ne	LBB0_1
	b	LBB0_10
LBB0_5:
	cmn	x12, #1
	b.eq	LBB0_7
; %bb.6:
	ldr	x11, [x20]
	asr	x9, x9, #32
	ldrb	w9, [x11, x9]
	cmp	w9, #47
	cset	w0, eq
	ccmn	x10, #1, #4, eq
	b.ne	LBB0_8
	b	LBB0_10
LBB0_7:
	cmn	x10, #1
	b.eq	LBB0_9
LBB0_8:
	ldr	x9, [x19]
	asr	x8, x8, #32
	ldrb	w8, [x9, x8]
	cmp	w8, #47
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_basename_same
.subsections_via_symbols
