	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_path_in_gitmodules      ## -- Begin function update_path_in_gitmodules
	.p2align	4, 0x90
_update_path_in_gitmodules:             ## @update_path_in_gitmodules
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_GITMODULES_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_exists
	movl	$-1, %r12d
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_the_repository@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_is_gitmodules_unmerged
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_3:
	movq	(%rbx), %rdi
	movq	_null_oid@GOTPCREL(%rip), %rsi
	movq	%r15, %rdx
	callq	_submodule_from_path
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	callq	_strbuf_addstr
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_strbuf_addstr
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strbuf_addstr
	movl	-40(%rbp), %edi
	movq	%r14, %rsi
	callq	_config_set_in_gitmodules_file_gently
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strbuf_release
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_warning
LBB0_7:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_GITMODULES_FILE,4,2            ## @GITMODULES_FILE
	.comm	_the_repository,8,3             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot change unmerged .gitmodules, resolve merge conflicts first"

	.comm	_null_oid,4,2                   ## @null_oid
L_.str.1:                               ## @.str.1
	.asciz	"Could not find section in .gitmodules where path=%s"

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

L_.str.3:                               ## @.str.3
	.asciz	".path"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_path_in_gitmodules      ; -- Begin function update_path_in_gitmodules
	.p2align	2
_update_path_in_gitmodules:             ; @update_path_in_gitmodules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _GITMODULES_FILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GITMODULES_FILE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_file_exists
	cbz	w0, LBB0_7
; %bb.1:
Lloh6:
	adrp	x21, _the_repository@GOTPAGE
Lloh7:
	ldr	x21, [x21, _the_repository@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_is_gitmodules_unmerged
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_3:
	ldr	x0, [x21]
Lloh10:
	adrp	x1, _null_oid@GOTPAGE
Lloh11:
	ldr	x1, [x1, _null_oid@GOTPAGEOFF]
	mov	x2, x20
	bl	_submodule_from_path
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.5:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addstr
	ldr	x1, [x21]
	add	x0, sp, #8
	bl	_strbuf_addstr
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addstr
	ldr	w0, [sp, #8]
	mov	x1, x19
	bl	_config_set_in_gitmodules_file_gently
	mov	x19, x0
	add	x0, sp, #8
	bl	_strbuf_release
	b	LBB0_8
LBB0_6:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_warning
LBB0_7:
	mov	w19, #-1
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_GITMODULES_FILE,4,2            ; @GITMODULES_FILE
	.comm	_the_repository,8,3             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot change unmerged .gitmodules, resolve merge conflicts first"

	.comm	_null_oid,4,2                   ; @null_oid
l_.str.1:                               ; @.str.1
	.asciz	"Could not find section in .gitmodules where path=%s"

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

l_.str.3:                               ; @.str.3
	.asciz	".path"

.subsections_via_symbols
