	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function submodule_has_commits
_submodule_has_commits:                 ## @submodule_has_commits
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	%edi, -72(%rbp)
	movq	$1, -64(%rbp)
	movl	%r12d, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	%rsi, %rdi
	callq	_add_submodule_odb
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	_check_has_commit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	movq	%r14, %rdi
	callq	_oid_array_for_each_unique
	cmpl	$0, -56(%rbp)
	je	LBB0_5
## %bb.2:
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movq	48(%rax), %rcx
	movq	%rcx, -80(%rbp)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movaps	%xmm2, -96(%rbp)
	movaps	%xmm1, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	leaq	-112(%rbp), %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-104(%rbp), %rbx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_argv_array_pushl
	movq	_append_oid_to_argv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_oid_array_for_each_unique
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_argv_array_pushl
	movq	%r15, %rdi
	callq	_prepare_submodule_repo_env
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -128(%rbp)
	movq	%r12, -120(%rbp)
	movq	_GIT_MAX_HEXSZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	leaq	-128(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_capture_command
	orq	-40(%rbp), %rax
	je	LBB0_4
## %bb.3:
	movl	$0, -56(%rbp)
LBB0_4:
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	movl	-56(%rbp), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_check_has_commit,4,2           ## @check_has_commit
	.comm	_CHILD_PROCESS_INIT,56,3        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rev-list"

L_.str.1:                               ## @.str.1
	.asciz	"-n"

L_.str.2:                               ## @.str.2
	.asciz	"1"

	.comm	_append_oid_to_argv,4,2         ## @append_oid_to_argv
L_.str.3:                               ## @.str.3
	.asciz	"--not"

L_.str.4:                               ## @.str.4
	.asciz	"--all"

	.comm	_GIT_MAX_HEXSZ,8,3              ## @GIT_MAX_HEXSZ
	.no_dead_strip	_submodule_has_commits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function submodule_has_commits
_submodule_has_commits:                 ; @submodule_has_commits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x2
	mov	x19, x1
	stur	w0, [x29, #-64]
	mov	w8, #1
	stur	x8, [x29, #-56]
	stur	w19, [x29, #-48]
	stur	xzr, [x29, #-40]
	mov	x0, x1
	bl	_add_submodule_odb
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
Lloh0:
	adrp	x8, _check_has_commit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _check_has_commit@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #64
	mov	x0, x20
	bl	_oid_array_for_each_unique
	ldur	w8, [x29, #-48]
	cbz	w8, LBB0_1
; %bb.3:
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	ldr	q0, [x8, #32]
	str	q0, [sp, #48]
	ldr	x8, [x8, #48]
	str	x8, [sp, #64]
	add	x8, sp, #16
	add	x21, x8, #16
Lloh5:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	stp	xzr, x9, [sp]
	add	x22, x8, #24
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_argv_array_pushl
Lloh14:
	adrp	x8, _append_oid_to_argv@GOTPAGE
Lloh15:
	ldr	x8, [x8, _append_oid_to_argv@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_oid_array_for_each_unique
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh19:
	adrp	x2, l_.str.4@PAGE
Lloh20:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	bl	_argv_array_pushl
	mov	x0, x21
	bl	_prepare_submodule_repo_env
	movi.2s	v0, #1
	str	d0, [sp, #16]
	str	x19, [sp, #24]
Lloh21:
	adrp	x8, _GIT_MAX_HEXSZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GIT_MAX_HEXSZ@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x2, x8, #1
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_capture_command
	ldr	x8, [sp, #8]
	orr	x8, x0, x8
	cbz	x8, LBB0_5
; %bb.4:
	stur	wzr, [x29, #-48]
LBB0_5:
	add	x0, sp, #8
	bl	_strbuf_release
	ldur	w0, [x29, #-48]
LBB0_6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_check_has_commit,4,2           ; @check_has_commit
	.comm	_CHILD_PROCESS_INIT,56,3        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rev-list"

l_.str.1:                               ; @.str.1
	.asciz	"-n"

l_.str.2:                               ; @.str.2
	.asciz	"1"

	.comm	_append_oid_to_argv,4,2         ; @append_oid_to_argv
l_.str.3:                               ; @.str.3
	.asciz	"--not"

l_.str.4:                               ; @.str.4
	.asciz	"--all"

	.comm	_GIT_MAX_HEXSZ,8,3              ; @GIT_MAX_HEXSZ
	.no_dead_strip	_submodule_has_commits
.subsections_via_symbols
