	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_last_segment
_extract_last_segment:                  ## @extract_last_segment
	.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	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	decq	%rbx
	cmpb	$47, -1(%r13,%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, %rax
	jne	LBB0_3
LBB0_5:
	cmpq	$1, %rax
	je	LBB0_11
## %bb.6:
	leaq	(%rbx,%r13), %r12
	incq	%r12
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$47, -1(%r13,%rax)
	leaq	-1(%rax), %rax
	je	LBB0_7
## %bb.8:
	movq	%r13, 8(%rsi)
	movq	%r13, %rcx
	subq	8(%r15), %rcx
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, (%rsi)
	movq	%r14, %rdi
	callq	_svn_stringbuf_setempty
	movl	(%r15), %eax
	addl	8(%r15), %eax
	notl	%r13d
	addl	%eax, %r13d
	subl	%ebx, %r13d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	jmp	LBB0_9
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rsi)
	movq	$0, (%rsi)
	movq	%r14, %rdi
	callq	_svn_stringbuf_setempty
	movq	8(%r15), %rsi
	movl	(%r15), %edx
	movq	%r14, %rdi
LBB0_9:
	callq	_svn_stringbuf_appendbytes
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_extract_last_segment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_last_segment
_extract_last_segment:                  ; @extract_last_segment
	.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
	ldr	x22, [x0]
	cbz	x22, LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x23, [x0, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x22
	add	x9, x23, x22
	ldurb	w9, [x9, #-1]
	sub	x22, x22, #1
	cmp	w9, #47
	ccmp	x8, #1, #4, ne
	b.ne	LBB0_2
; %bb.3:
	cmp	x8, #1
	b.eq	LBB0_8
; %bb.4:
	add	x8, x23, x22
	add	x21, x8, #1
	mov	x8, x22
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x23, x8
	ldurb	w9, [x9, #-1]
	sub	x8, x8, #1
	cmp	w9, #47
	b.eq	LBB0_5
; %bb.6:
	str	x23, [x1, #8]
	ldr	x9, [x20, #8]
	sub	x9, x23, x9
	add	x8, x9, x8
	add	x8, x8, #1
	str	x8, [x1]
	mov	x0, x19
	bl	_svn_stringbuf_setempty
	ldr	w8, [x20]
	ldr	w9, [x20, #8]
	mvn	w10, w23
	add	w8, w8, w9
	add	w8, w10, w8
	sub	w2, w8, w22
	mov	x0, x19
	mov	x1, x21
	b	LBB0_9
LBB0_7:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	stp	xzr, x8, [x1]
	mov	x0, x19
	bl	_svn_stringbuf_setempty
	ldr	x1, [x20, #8]
	ldr	w2, [x20]
	mov	x0, x19
LBB0_9:
	bl	_svn_stringbuf_appendbytes
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_extract_last_segment
.subsections_via_symbols
