	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_diffopt_flags_from_submodule_config ## -- Begin function set_diffopt_flags_from_submodule_config
	.p2align	4, 0x90
_set_diffopt_flags_from_submodule_config: ## @set_diffopt_flags_from_submodule_config
	.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, %rdx
	movq	%rdi, %r14
	movq	_the_repository@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_null_oid@GOTPCREL(%rip), %rsi
	callq	_submodule_from_path
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movl	8(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_xstrfmt
	movq	%rax, %r15
	movq	(%r12), %rdi
	leaq	-40(%rbp), %rdx
	movq	%rax, %rsi
	callq	_repo_config_get_string_const
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movq	%rax, -40(%rbp)
LBB0_3:
	movq	%r15, %rdi
	callq	_free
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_handle_ignore_submodules_arg
	jmp	LBB0_7
LBB0_5:
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_is_gitmodules_unmerged
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$1, (%r14)
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,8,3             ## @the_repository
	.comm	_null_oid,4,2                   ## @null_oid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submodule.%s.ignore"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_diffopt_flags_from_submodule_config ; -- Begin function set_diffopt_flags_from_submodule_config
	.p2align	2
_set_diffopt_flags_from_submodule_config: ; @set_diffopt_flags_from_submodule_config
	.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	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _the_repository@GOTPAGE
Lloh1:
	ldr	x22, [x22, _the_repository@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh2:
	adrp	x1, _null_oid@GOTPAGE
Lloh3:
	ldr	x1, [x1, _null_oid@GOTPAGEOFF]
	bl	_submodule_from_path
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	w1, [x0, #8]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xstrfmt
	mov	x21, x0
	ldr	x0, [x22]
	add	x2, sp, #8
	mov	x1, x21
	bl	_repo_config_get_string_const
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	str	x8, [sp, #8]
LBB0_3:
	mov	x0, x21
	bl	_free
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_handle_ignore_submodules_arg
	b	LBB0_7
LBB0_5:
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_is_gitmodules_unmerged
	cbz	x0, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
LBB0_7:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,8,3             ; @the_repository
	.comm	_null_oid,4,2                   ; @null_oid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submodule.%s.ignore"

.subsections_via_symbols
