	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_submodule_update_strategy
_determine_submodule_update_strategy:   ## @determine_submodule_update_strategy
	.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	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	_null_oid@GOTPCREL(%rip), %rsi
	callq	_submodule_from_path
	movq	%rax, %r12
	movl	16(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_xstrfmt
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_submodule_update_strategy
	testq	%rax, %rax
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jns	LBB0_11
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
LBB0_3:
	movq	%r13, %rdx
	callq	_die
	jmp	LBB0_11
LBB0_4:
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rax, %r14
	movq	%rax, %rsi
	callq	_repo_config_get_string_const
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movq	(%r12), %rax
	movq	_SM_UPDATE_UNSPECIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	_SM_UPDATE_CHECKOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	jmp	LBB0_10
LBB0_5:
	movq	-56(%rbp), %rdi
	movq	%r15, %rsi
	callq	_parse_submodule_update_strategy
	testq	%rax, %rax
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jns	LBB0_11
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	-56(%rbp), %rsi
	movl	%eax, %edi
	jmp	LBB0_3
LBB0_8:
	movq	%rax, (%r15)
	movl	8(%r12), %eax
	movl	%eax, 8(%r15)
LBB0_10:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_11:
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.12:
	movq	(%r15), %rax
	movq	_SM_UPDATE_MERGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.13:
	movq	_SM_UPDATE_REBASE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	movq	_SM_UPDATE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_15:
	movq	_SM_UPDATE_CHECKOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_16:
	movq	%r14, %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_null_oid,4,2                   ## @null_oid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submodule.%s.update"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid update mode '%s' for submodule path '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid update mode '%s' configured for submodule path '%s'"

	.comm	_SM_UPDATE_UNSPECIFIED,8,3      ## @SM_UPDATE_UNSPECIFIED
	.comm	_SM_UPDATE_CHECKOUT,8,3         ## @SM_UPDATE_CHECKOUT
	.comm	_SM_UPDATE_MERGE,8,3            ## @SM_UPDATE_MERGE
	.comm	_SM_UPDATE_REBASE,8,3           ## @SM_UPDATE_REBASE
	.comm	_SM_UPDATE_NONE,8,3             ## @SM_UPDATE_NONE
	.no_dead_strip	_determine_submodule_update_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_submodule_update_strategy
_determine_submodule_update_strategy:   ; @determine_submodule_update_strategy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x25, x0
Lloh0:
	adrp	x1, _null_oid@GOTPAGE
Lloh1:
	ldr	x1, [x1, _null_oid@GOTPAGEOFF]
	bl	_submodule_from_path
	mov	x24, x0
	ldr	w1, [x0, #16]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xstrfmt
	mov	x20, x0
	cbz	x23, LBB0_4
; %bb.1:
	mov	x0, x23
	mov	x1, x19
	bl	_parse_submodule_update_strategy
	tbz	x0, #63, LBB0_10
; %bb.2:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x23
LBB0_3:
	mov	x2, x22
	bl	_die
	b	LBB0_10
LBB0_4:
	add	x2, sp, #8
	mov	x0, x25
	mov	x1, x20
	bl	_repo_config_get_string_const
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x8, [x24]
Lloh6:
	adrp	x9, _SM_UPDATE_UNSPECIFIED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SM_UPDATE_UNSPECIFIED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
Lloh9:
	adrp	x8, _SM_UPDATE_CHECKOUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SM_UPDATE_CHECKOUT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_10
LBB0_7:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_parse_submodule_update_strategy
	tbz	x0, #63, LBB0_10
; %bb.8:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	b	LBB0_3
LBB0_9:
	str	x8, [x19]
	ldr	w8, [x24, #8]
	str	w8, [x19, #8]
LBB0_10:
	cbz	w21, LBB0_13
; %bb.11:
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _SM_UPDATE_MERGE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SM_UPDATE_MERGE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _SM_UPDATE_REBASE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SM_UPDATE_REBASE@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
Lloh20:
	adrp	x11, _SM_UPDATE_NONE@GOTPAGE
Lloh21:
	ldr	x11, [x11, _SM_UPDATE_NONE@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_13
; %bb.12:
Lloh23:
	adrp	x8, _SM_UPDATE_CHECKOUT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SM_UPDATE_CHECKOUT@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_13:
	mov	x0, x20
	bl	_free
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_null_oid,4,2                   ; @null_oid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submodule.%s.update"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid update mode '%s' for submodule path '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid update mode '%s' configured for submodule path '%s'"

	.comm	_SM_UPDATE_UNSPECIFIED,8,3      ; @SM_UPDATE_UNSPECIFIED
	.comm	_SM_UPDATE_CHECKOUT,8,3         ; @SM_UPDATE_CHECKOUT
	.comm	_SM_UPDATE_MERGE,8,3            ; @SM_UPDATE_MERGE
	.comm	_SM_UPDATE_REBASE,8,3           ; @SM_UPDATE_REBASE
	.comm	_SM_UPDATE_NONE,8,3             ; @SM_UPDATE_NONE
	.no_dead_strip	_determine_submodule_update_strategy
.subsections_via_symbols
