	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function module_update_module_mode
_module_update_module_mode:             ## @module_update_module_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_SM_UPDATE_CHECKOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	leal	-5(%r14), %eax
	cmpl	$-3, %eax
	ja	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_2:
	movq	8(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_git_config_int
	movq	16(%rbx), %rdx
	cmpl	$4, %r14d
	jne	LBB0_3
## %bb.4:
	movq	24(%rbx), %rcx
	jmp	LBB0_5
LBB0_3:
	xorl	%ecx, %ecx
LBB0_5:
	movq	_the_repository@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	leaq	-24(%rbp), %rbx
	movl	%eax, %esi
	movq	%rbx, %r8
	callq	_determine_submodule_update_strategy
	movq	%rbx, %rdi
	callq	_submodule_strategy_to_string
	movq	_stdout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_fputs
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_UPDATE_CHECKOUT,4,2         ## @SM_UPDATE_CHECKOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submodule--helper update-module-clone expects <just-cloned> <path> [<update>]"

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

	.comm	_the_repository,4,2             ## @the_repository
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_module_update_module_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function module_update_module_mode
_module_update_module_mode:             ; @module_update_module_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SM_UPDATE_CHECKOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SM_UPDATE_CHECKOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	sub	w8, w0, #5
	cmn	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
	ldr	x1, [x19, #8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_git_config_int
	mov	x1, x0
	ldr	x2, [x19, #16]
	cmp	w20, #4
	b.ne	LBB0_4
; %bb.3:
	ldr	x3, [x19, #24]
	b	LBB0_5
LBB0_4:
	mov	x3, #0
LBB0_5:
Lloh7:
	adrp	x8, _the_repository@GOTPAGE
Lloh8:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x4, sp, #8
	bl	_determine_submodule_update_strategy
	add	x0, sp, #8
	bl	_submodule_strategy_to_string
Lloh10:
	adrp	x8, _stdout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_fputs
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_UPDATE_CHECKOUT,4,2         ; @SM_UPDATE_CHECKOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submodule--helper update-module-clone expects <just-cloned> <path> [<update>]"

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

	.comm	_the_repository,4,2             ; @the_repository
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_module_update_module_mode
.subsections_via_symbols
