	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svn_membuffer_get_segment_info
_svn_membuffer_get_segment_info:        ## @svn_membuffer_get_segment_info
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %eax
	movl	24(%rdi), %ecx
	addl	32(%rdi), %ecx
	movq	_GROUP_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	imull	%eax, %esi
	leal	(%rcx,%rsi,4), %edi
	movdqu	16(%r14), %xmm0
	movd	16(%r15), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, %edi, %xmm1
	pinsrd	$2, 40(%r15), %xmm1
	pinsrd	$3, %ecx, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	%xmm1, 16(%r14)
	addl	%esi, (%r14)
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_is_group_initialized
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rsi
	addq	%r12, %rsi
	movq	%r15, %rdi
	callq	_last_group_in_chain
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_MIN
	movq	8(%r14), %rcx
	incl	(%rcx,%rax,4)
	jmp	LBB0_5
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GROUP_SIZE,4,2                 ## @GROUP_SIZE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_svn_membuffer_get_segment_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svn_membuffer_get_segment_info
_svn_membuffer_get_segment_info:        ; @svn_membuffer_get_segment_info
	.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
	ldr	w8, [x0, #32]
	ldr	w9, [x0, #24]
	add	w9, w9, w8
	add	x10, x0, #40
	ldr	w8, [x0]
Lloh0:
	adrp	x11, _GROUP_SIZE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _GROUP_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	mul	w11, w11, w8
	add	w12, w9, w11, lsl #2
	ldr	s0, [x0, #16]
	mov.s	v0[1], w12
	ld1.s	{ v0 }[2], [x10]
	mov.s	v0[3], w9
	ldr	q1, [x1, #16]
	add.4s	v0, v1, v0
	str	q0, [x1, #16]
	ldr	w9, [x1]
	add	w9, w9, w11
	str	w9, [x1]
	cbz	x2, LBB0_6
; %bb.1:
	cbz	w8, LBB0_6
; %bb.2:
	mov	x19, x1
	mov	x20, x0
	mov	x22, #0
	mov	x21, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x22, x22, #4
	cmp	x21, x8
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_is_group_initialized
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x22
	mov	x0, x20
	bl	_last_group_in_chain
	ldr	w0, [x0]
	mov	w1, #1
	bl	_MIN
	ldr	x8, [x19, #8]
	lsl	x9, x0, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	b	LBB0_3
LBB0_6:
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GROUP_SIZE,4,2                 ; @GROUP_SIZE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_svn_membuffer_get_segment_info
.subsections_via_symbols
