	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function submodule_needs_pushing
_submodule_needs_pushing:               ## @submodule_needs_pushing
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	callq	_submodule_has_commits
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_has_remote@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_for_each_remote_ref_submodule
	testq	%rax, %rax
	jle	LBB0_6
## %bb.3:
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	-36(%rbp), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_argv_array_push
	movq	_append_oid_to_argv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_oid_array_for_each_unique
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	callq	_argv_array_pushl
	leaq	-40(%rbp), %rdi
	callq	_prepare_submodule_repo_env
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -64(%rbp)
	movl	$-1, -56(%rbp)
	movq	%r14, -48(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	callq	_die
LBB0_5:
	movl	-56(%rbp), %esi
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	incq	%rdx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_strbuf_read
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	leaq	-64(%rbp), %rdi
	callq	_finish_command
	movl	-56(%rbp), %edi
	callq	_close
	movq	%r14, %rdi
	callq	_strbuf_release
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_has_remote,4,2                 ## @has_remote
	.comm	_CHILD_PROCESS_INIT,32,3        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rev-list"

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

L_.str.2:                               ## @.str.2
	.asciz	"--remotes"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"Could not run 'git rev-list <commits> --not --remotes -n 1' command in submodule %s"

	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.no_dead_strip	_submodule_needs_pushing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function submodule_needs_pushing
_submodule_needs_pushing:               ; @submodule_needs_pushing
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x19, x1
	bl	_submodule_has_commits
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _has_remote@GOTPAGE
Lloh1:
	ldr	x8, [x8, _has_remote@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_for_each_remote_ref_submodule
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
Lloh5:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x22, sp, #16
	add	x21, x22, #28
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_argv_array_push
Lloh10:
	adrp	x8, _append_oid_to_argv@GOTPAGE
Lloh11:
	ldr	x8, [x8, _append_oid_to_argv@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_oid_array_for_each_unique
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh17:
	adrp	x3, l_.str.3@PAGE
Lloh18:
	add	x3, x3, l_.str.3@PAGEOFF
Lloh19:
	adrp	x4, l_.str.4@PAGE
Lloh20:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x5, #0
	bl	_argv_array_pushl
	add	x0, x22, #24
	bl	_prepare_submodule_repo_env
	movi.2s	v0, #1
	str	d0, [sp, #16]
	mov	w8, #-1
	str	w8, [sp, #24]
	str	x19, [sp, #32]
	add	x0, sp, #16
	bl	_start_command
	cbz	x0, LBB0_4
; %bb.3:
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_4:
	ldr	w1, [sp, #24]
Lloh23:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh24:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x2, x8, #1
	add	x0, sp, #8
	bl	_strbuf_read
	cmp	x0, #0
	cset	w19, ne
	add	x0, sp, #16
	bl	_finish_command
	ldr	w0, [sp, #24]
	bl	_close
	add	x0, sp, #8
	bl	_strbuf_release
	b	LBB0_6
LBB0_5:
	mov	w19, #0
LBB0_6:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_has_remote,4,2                 ; @has_remote
	.comm	_CHILD_PROCESS_INIT,32,3        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rev-list"

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

l_.str.2:                               ; @.str.2
	.asciz	"--remotes"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"Could not run 'git rev-list <commits> --not --remotes -n 1' command in submodule %s"

	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.no_dead_strip	_submodule_needs_pushing
.subsections_via_symbols
