	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function collect_changed_submodules
_collect_changed_submodules:            ## @collect_changed_submodules
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	-72(%rbp), %r15
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_repo_init_revisions
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_setup_revisions
	movq	%r15, %rdi
	callq	_prepare_revision_walk
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_2:
	leaq	-72(%rbp), %rdi
	callq	_get_revision
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	leaq	-56(%rbp), %r15
	leaq	-72(%rbp), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, -80(%rbp)
	movq	%r14, -88(%rbp)
	movq	%rbx, -96(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_repo_init_revisions
	movq	_DIFF_FORMAT_CALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
	movq	_collect_changed_submodules_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-96(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_diff_tree_combined_merge
	movq	%r13, %rdi
	callq	_get_revision
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	callq	_reset_revision_walk
	addq	$56, %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
	.asciz	"revision walk setup failed"

	.comm	_DIFF_FORMAT_CALLBACK,4,2       ## @DIFF_FORMAT_CALLBACK
	.comm	_collect_changed_submodules_cb,4,2 ## @collect_changed_submodules_cb
	.no_dead_strip	_collect_changed_submodules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function collect_changed_submodules
_collect_changed_submodules:            ; @collect_changed_submodules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #48
	mov	x2, #0
	bl	_repo_init_revisions
	ldp	w1, w0, [x21]
	add	x2, sp, #48
	mov	x3, #0
	bl	_setup_revisions
	add	x0, sp, #48
	bl	_prepare_revision_walk
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
	add	x0, sp, #48
	bl	_get_revision
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
Lloh2:
	adrp	x22, _DIFF_FORMAT_CALLBACK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DIFF_FORMAT_CALLBACK@GOTPAGEOFF]
Lloh4:
	adrp	x23, _collect_changed_submodules_cb@GOTPAGE
Lloh5:
	ldr	x23, [x23, _collect_changed_submodules_cb@GOTPAGEOFF]
	add	x24, sp, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	x19, x20, [sp, #16]
	str	x21, [sp, #8]
	add	x1, sp, #32
	mov	x0, x20
	mov	x2, #0
	bl	_repo_init_revisions
	ldr	w8, [x22]
	ldr	w9, [sp, #44]
	orr	w8, w9, w8
	ldr	w9, [x23]
	stp	w9, w8, [sp, #40]
	str	x24, [sp, #32]
	add	x2, sp, #32
	mov	x0, x21
	mov	w1, #1
	bl	_diff_tree_combined_merge
	add	x0, sp, #48
	bl	_get_revision
	mov	x21, x0
	cbnz	x0, LBB0_4
LBB0_5:
	bl	_reset_revision_walk
	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
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revision walk setup failed"

	.comm	_DIFF_FORMAT_CALLBACK,4,2       ; @DIFF_FORMAT_CALLBACK
	.comm	_collect_changed_submodules_cb,4,2 ; @collect_changed_submodules_cb
	.no_dead_strip	_collect_changed_submodules
.subsections_via_symbols
