	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_merge_parents
_find_merge_parents:                    ## @find_merge_parents
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	$0, -48(%rbp)
	cmpl	$0, (%rsi)
	jle	LBB0_11
## %bb.1:
	movq	%rsi, %r15
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r15), %r12d
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r14
	addq	8(%r15), %r14
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	subq	%r14, %rax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$1, %rbx
	sbbl	$-1, %r12d
	addl	%eax, %r12d
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax
	cmpb	$9, (%rax)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$9, 1(%rax)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rsi
	callq	_parse_object
	movq	%rax, %r14
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_peel_to_type
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	-48(%rbp), %rsi
	callq	_commit_list_insert
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_add_merge_parent
	jmp	LBB0_10
LBB0_11:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_lookup_commit
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_commit_list_insert
LBB0_13:
	leaq	-48(%rbp), %rdi
	callq	_reduce_heads_replace
	cmpq	$0, -48(%rbp)
	je	LBB0_30
## %bb.14:
	leaq	-48(%rbp), %r14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_21
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%r14, %rdi
	callq	_pop_commit
	movq	%rax, %r15
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$4, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%r12
	movslq	(%r13), %rax
	addq	$8, %rbx
	cmpq	%rax, %r12
	jge	LBB0_20
LBB0_17:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rdi
	addq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_oideq
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	8(%r13), %rax
	movl	$1, -4(%rax,%rbx)
	jmp	LBB0_19
LBB0_30:
	movl	(%r13), %eax
LBB0_21:
	testl	%eax, %eax
	jle	LBB0_22
## %bb.23:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=1
	incl	%edx
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rcx
	movslq	%eax, %rsi
	cmpq	%rsi, %rcx
	jge	LBB0_29
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rsi
	cmpl	$0, (%rsi,%rcx,8)
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	%edx, %edi
	cmpq	%rdi, %rcx
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	movslq	%edx, %rax
	movq	(%rsi,%rcx,8), %rdi
	movq	%rdi, (%rsi,%rax,8)
	movl	(%r13), %eax
	jmp	LBB0_27
LBB0_22:
	xorl	%edx, %edx
LBB0_29:
	movl	%edx, (%r13)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJ_COMMIT,4,2                 ## @OBJ_COMMIT
	.no_dead_strip	_find_merge_parents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_merge_parents
_find_merge_parents:                    ; @find_merge_parents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x0
	str	xzr, [sp, #24]
	ldr	w8, [x1]
Lloh0:
	adrp	x24, _the_repository@GOTPAGE
Lloh1:
	ldr	x24, [x24, _the_repository@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x21, x1
	mov	w27, #0
Lloh2:
	adrp	x25, _OBJ_COMMIT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _OBJ_COMMIT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21]
	add	w27, w27, w26
	cmp	w27, w8
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x22, x8, w27, sxtw
	mov	x0, x22
	mov	w1, #10
	bl	_strchr
	mov	x23, x0
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x26, x23, x22
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_strlen
	mov	w26, w0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x23, #0
	cinc	w27, w27, ne
	add	x1, sp, #8
	add	x2, sp, #16
	mov	x0, x22
	bl	_parse_oid_hex
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	ldrb	w9, [x8]
	cmp	w9, #9
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x8, #1]
	cmp	w8, #9
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	add	x1, sp, #8
	bl	_parse_object
	mov	x22, x0
	ldr	w3, [x25]
	mov	x0, #0
	mov	w1, #0
	mov	x2, x22
	bl	_peel_to_type
	cbz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	add	x1, sp, #24
	bl	_commit_list_insert
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_add_merge_parent
	b	LBB0_2
LBB0_11:
	ldr	w0, [x24]
	mov	x1, x20
	bl	_lookup_commit
	cbz	x0, LBB0_13
; %bb.12:
	add	x1, sp, #24
	bl	_commit_list_insert
LBB0_13:
	add	x0, sp, #24
	bl	_reduce_heads_replace
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_21
; %bb.14:
	mov	w21, #1
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [sp, #24]
	cbz	x9, LBB0_22
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	add	x0, sp, #24
	bl	_pop_commit
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x20, x0
	mov	x22, #0
	mov	x23, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #8
	cmp	x23, x8
	b.ge	LBB0_15
LBB0_19:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	add	x8, x8, x22
	add	x0, x8, #4
	mov	x1, x20
	bl	_oideq
	cbz	x0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x19, #8]
	str	w21, [x8, x22]
	b	LBB0_18
LBB0_21:
	ldr	w8, [x19]
LBB0_22:
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.23:
	mov	x9, #0
	mov	x11, #0
	mov	w10, #0
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	add	w10, w10, #1
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x11, x11, #1
	add	x9, x9, #8
	cmp	x11, w8, sxtw
	b.ge	LBB0_30
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x19, #8]
	ldr	w13, [x12, x9]
	cbz	w13, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	x11, w10, uxtw
	b.eq	LBB0_24
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x12, x9]
	str	x8, [x12, w10, sxtw #3]
	ldr	w8, [x19]
	b	LBB0_24
LBB0_29:
	mov	w10, #0
LBB0_30:
	str	w10, [x19]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJ_COMMIT,4,2                 ; @OBJ_COMMIT
	.no_dead_strip	_find_merge_parents
.subsections_via_symbols
