	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_submodule_summary
_print_submodule_summary:               ## @print_submodule_summary
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_get_revision
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r13
	leaq	-48(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_diff_emit_submodule_add
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_get_revision
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -60(%rbp)
	xorl	%eax, %eax
	callq	_get_log_output_encoding
	movl	%eax, -64(%rbp)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_strbuf_setlen
	movq	%r15, %rdi
	movq	%r13, %rsi
	leaq	_print_submodule_summary.format(%rip), %rdx
	movq	%r12, %rcx
	leaq	-64(%rbp), %r8
	callq	_repo_format_commit_message
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movq	_SYMMETRIC_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-48(%rbp), %esi
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_diff_emit_submodule_del
	jmp	LBB0_5
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_print_submodule_summary.format:        ## @print_submodule_summary.format
	.asciz	"  %m %s"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_SYMMETRIC_LEFT,4,2             ## @SYMMETRIC_LEFT
	.no_dead_strip	_print_submodule_summary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_submodule_summary
_print_submodule_summary:               ; @print_submodule_summary
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	mov	x0, x1
	bl	_get_revision
	cbz	x0, LBB0_6
; %bb.1:
	mov	x23, x0
Lloh3:
	adrp	x22, _print_submodule_summary.format@PAGE
Lloh4:
	add	x22, x22, _print_submodule_summary.format@PAGEOFF
Lloh5:
	adrp	x24, _SYMMETRIC_LEFT@GOTPAGE
Lloh6:
	ldr	x24, [x24, _SYMMETRIC_LEFT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_diff_emit_submodule_add
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_get_revision
	mov	x23, x0
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #8]
	ldr	w8, [x20]
	stp	w8, wzr, [sp, #12]
	bl	_get_log_output_encoding
	str	w0, [sp, #8]
	add	x0, sp, #24
	mov	w1, #0
	bl	_strbuf_setlen
	add	x3, sp, #24
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_repo_format_commit_message
	add	x0, sp, #24
	mov	w1, #10
	bl	_strbuf_addch
	ldr	w8, [x23]
	ldr	w9, [x24]
	ldr	w1, [sp, #24]
	mov	x0, x19
	tst	w9, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_diff_emit_submodule_del
	b	LBB0_3
LBB0_6:
	add	x0, sp, #24
	bl	_strbuf_release
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_print_submodule_summary.format:        ; @print_submodule_summary.format
	.asciz	"  %m %s"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_SYMMETRIC_LEFT,4,2             ; @SYMMETRIC_LEFT
	.no_dead_strip	_print_submodule_summary
.subsections_via_symbols
