	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_renamed_dir_portion
_get_renamed_dir_portion:               ## @get_renamed_dir_portion
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	$0, (%rdx)
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%rcx), %rdi
	decq	%rdi
	movzbl	-1(%rax,%rcx), %ebx
	leaq	(%r14,%rcx), %rsi
	decq	%rsi
	movzbl	-1(%r14,%rcx), %edx
	decq	%rcx
	cmpq	%r12, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r13, %rsi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	%dl, %bl
	je	LBB0_3
LBB0_6:
	cmpq	%r13, %rsi
	jne	LBB0_9
## %bb.7:
	cmpq	%r12, %rdi
	jne	LBB0_9
## %bb.8:
	cmpb	%bl, %dl
	je	LBB0_17
LBB0_9:
	cmpq	%r13, %rsi
	je	LBB0_15
## %bb.10:
	leaq	(%rax,%rcx), %rdx
	cmpq	%r12, %rdx
	jne	LBB0_15
## %bb.11:
	cmpb	$47, -1(%r14,%rcx)
	jne	LBB0_15
## %bb.12:
	subl	%r13d, %r14d
	leal	(%r14,%rcx), %esi
	decl	%esi
	movq	%r13, %rdi
	jmp	LBB0_14
LBB0_13:
	subl	%r13d, %r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
LBB0_14:
	callq	_xstrndup
	movq	%rax, (%r15)
	leaq	L_.str(%rip), %rdi
	callq	_xstrdup
	jmp	LBB0_16
LBB0_15:
	leaq	(%r14,%rcx), %rdi
	incq	%rdi
	leaq	(%rax,%rcx), %r14
	incq	%r14
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %r14
	subl	%r13d, %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_xstrndup
	movq	%rax, (%r15)
	subl	%r12d, %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_xstrndup
LBB0_16:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_get_renamed_dir_portion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_renamed_dir_portion
_get_renamed_dir_portion:               ; @get_renamed_dir_portion
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	str	xzr, [x2]
	str	xzr, [x3]
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_15
; %bb.1:
	mov	x23, x0
	mov	x0, x22
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_11
; %bb.2:
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x0, x8
	ldrb	w10, [x11, #-1]!
	add	x9, x23, x8
	ldrb	w12, [x9, #-1]!
	sub	x8, x8, #1
	cmp	x11, x22
	ccmp	x9, x21, #4, ne
	ccmp	w10, w12, #0, ne
	b.eq	LBB0_3
; %bb.4:
	cmp	x9, x21
	b.ne	LBB0_7
; %bb.5:
	cmp	x11, x22
	b.ne	LBB0_7
; %bb.6:
	cmp	w12, w10
	b.eq	LBB0_15
LBB0_7:
	add	x10, x0, x8
	cmp	x9, x21
	b.eq	LBB0_13
; %bb.8:
	cmp	x10, x22
	b.ne	LBB0_13
; %bb.9:
	add	x9, x23, x8
	ldurb	w9, [x9, #-1]
	cmp	w9, #47
	b.ne	LBB0_13
; %bb.10:
	sub	w9, w23, w21
	add	w8, w9, w8
	sub	w1, w8, #1
	b	LBB0_12
LBB0_11:
	sub	w1, w23, w21
LBB0_12:
	mov	x0, x21
	bl	_xstrndup
	str	x0, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xstrdup
	b	LBB0_14
LBB0_13:
	add	x8, x23, x8
	add	x0, x8, #1
	add	x23, x10, #1
	mov	w1, #47
	bl	_strchr
	mov	x24, x0
	mov	x0, x23
	mov	w1, #47
	bl	_strchr
	mov	x23, x0
	sub	w1, w24, w21
	mov	x0, x21
	bl	_xstrndup
	str	x0, [x20]
	sub	w1, w23, w22
	mov	x0, x22
	bl	_xstrndup
LBB0_14:
	str	x0, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_get_renamed_dir_portion
.subsections_via_symbols
