	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split_graph_merge_strategy
_split_graph_merge_strategy:            ## @split_graph_merge_strategy
	.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, %r15
	movq	64(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %r14d
	movl	4(%rax), %r12d
	jmp	LBB0_3
LBB0_1:
	movl	$2, %r12d
	xorl	%r14d, %r14d
LBB0_3:
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movl	56(%r15), %r13d
	movl	4(%r15), %esi
	incl	%esi
	movq	(%rax), %rbx
	movl	%esi, (%r15)
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.4:
	testl	%r14d, %r14d
	setne	%al
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edx
	imull	%r12d, %edx
	cmpl	%r14d, %r13d
	setg	%cl
	cmpl	%edx, (%rbx)
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	andb	%cl, %al
	je	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	20(%rbx), %edi
	movq	8(%r15), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %ecx
	movl	(%r15), %esi
	decl	%esi
	movq	8(%rbx), %rbx
	movl	%esi, (%r15)
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %r14d
	setne	%al
	addl	%ecx, %r13d
	jmp	LBB0_6
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	movl	(%r15), %esi
LBB0_12:
	movq	%rbx, 48(%r15)
	cmpl	$2, %esi
	jne	LBB0_17
## %bb.13:
	movl	20(%rbx), %edi
	callq	_get_commit_graph_filename
	movq	%rax, %r14
	movl	24(%rbx), %edi
	movq	%rax, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.14:
	movl	20(%rbx), %edi
	movq	8(%r15), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	$1, (%r15)
	movq	$0, 48(%r15)
LBB0_16:
	movq	%r14, %rdi
	callq	_free
	movl	(%r15), %esi
LBB0_17:
	movq	40(%r15), %rdi
	callq	_ALLOC_ARRAY
	movq	16(%r15), %rdi
	movl	(%r15), %esi
	callq	_ALLOC_ARRAY
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_22
## %bb.18:
	cmpl	$0, 4(%r15)
	jle	LBB0_22
## %bb.19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_xstrdup
	movq	40(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	movslq	4(%r15), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_21
LBB0_22:
	movq	24(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.23:
	movslq	4(%r15), %r14
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cltq
	cmpq	%rax, %r14
	jg	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	16(%rbx), %rdi
	callq	_oid_to_hex
	movl	%eax, %edi
	callq	_xstrdup
	movq	16(%r15), %rcx
	movq	%rax, -8(%rcx,%r14,8)
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	(%r15), %eax
	decq	%r14
	jmp	LBB0_24
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_split_graph_merge_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split_graph_merge_strategy
_split_graph_merge_strategy:            ; @split_graph_merge_strategy
	.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, x0
	ldr	x8, [x0, #64]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w20, w22, [x8]
	b	LBB0_3
LBB0_2:
	mov	w20, #0
	mov	w22, #2
LBB0_3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w23, [x19, #56]
	ldr	w9, [x19, #4]
	add	w1, w9, #1
	ldr	x21, [x8]
	str	w1, [x19]
	cbz	x21, LBB0_10
; %bb.4:
	cmp	w20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	mul	w9, w23, w22
	ccmp	w23, w20, #4, ne
	cset	w10, gt
	cmp	w8, w9
	ccmp	w10, #0, #0, gt
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21, #20]
	ldr	x1, [x19, #8]
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x19]
	sub	w1, w9, #1
	ldr	x21, [x21, #8]
	str	w1, [x19]
	cbz	x21, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w20, #0
	add	w23, w8, w23
	b	LBB0_5
LBB0_9:
	ldr	w1, [x19]
LBB0_10:
	str	x21, [x19, #48]
	cmp	w1, #2
	b.ne	LBB0_15
; %bb.11:
	ldr	w0, [x21, #20]
	bl	_get_commit_graph_filename
	mov	x20, x0
	ldr	w0, [x21, #24]
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_14
; %bb.12:
	ldr	w0, [x21, #20]
	ldr	x1, [x19, #8]
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #48]
LBB0_14:
	mov	x0, x20
	bl	_free
	ldr	w1, [x19]
LBB0_15:
	ldr	x0, [x19, #40]
	bl	_ALLOC_ARRAY
	ldr	x0, [x19, #16]
	ldr	w1, [x19]
	bl	_ALLOC_ARRAY
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.16:
	ldr	w9, [x19, #4]
	cmp	w9, #1
	b.lt	LBB0_20
; %bb.17:
	mov	x20, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	w0, [x8, x20, lsl #2]
	bl	_xstrdup
	ldr	x8, [x19, #40]
	str	x0, [x8, x20, lsl #3]
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldrsw	x9, [x19, #4]
	cmp	x20, x9
	b.lt	LBB0_18
LBB0_20:
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	ldr	x20, [x9]
	cbz	x20, LBB0_25
; %bb.21:
	ldrsw	x21, [x19, #4]
	cmp	x21, w8, sxtw
	b.gt	LBB0_23
LBB0_22:
	add	x0, x20, #16
	bl	_oid_to_hex
	bl	_xstrdup
	ldr	x8, [x19, #16]
	add	x8, x8, x21, lsl #3
	stur	x0, [x8, #-8]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w8, [x19]
	sub	x21, x21, #1
	cmp	x21, w8, sxtw
	b.le	LBB0_22
	b	LBB0_23
LBB0_25:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_split_graph_merge_strategy
.subsections_via_symbols
