	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_index_format_default
_get_index_format_default:              ## @get_index_format_default
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	-16(%rbp), %rsi
	movq	%rax, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	-16(%rbp), %rcx
	cmpb	$0, (%rcx)
	leaq	L_.str.2(%rip), %rdi
	jne	LBB0_6
## %bb.3:
	movq	_INDEX_FORMAT_LB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_5
	jmp	LBB0_6
LBB0_1:
	movq	%rbx, %rdi
	callq	_prepare_repo_settings
	movl	(%rbx), %eax
	movq	_INDEX_FORMAT_LB@GOTPCREL(%rip), %rcx
	leaq	L_.str.1(%rip), %rdi
	cmpl	(%rcx), %eax
	jb	LBB0_6
LBB0_5:
	movq	_INDEX_FORMAT_UB@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jae	LBB0_7
LBB0_6:
	callq	__
	movq	_INDEX_FORMAT_DEFAULT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_warning
	movl	(%rbx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GIT_INDEX_VERSION"

	.comm	_INDEX_FORMAT_DEFAULT,4,2       ## @INDEX_FORMAT_DEFAULT
	.comm	_INDEX_FORMAT_LB,4,2            ## @INDEX_FORMAT_LB
	.comm	_INDEX_FORMAT_UB,4,2            ## @INDEX_FORMAT_UB
L_.str.1:                               ## @.str.1
	.asciz	"index.version set, but the value is invalid.\nUsing version %i"

L_.str.2:                               ## @.str.2
	.asciz	"GIT_INDEX_VERSION set, but the value is invalid.\nUsing version %i"

	.no_dead_strip	_get_index_format_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_index_format_default
_get_index_format_default:              ; @get_index_format_default
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
Lloh2:
	adrp	x9, _INDEX_FORMAT_LB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INDEX_FORMAT_LB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _INDEX_FORMAT_UB@GOTPAGE
Lloh6:
	ldr	x10, [x10, _INDEX_FORMAT_UB@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w8, #0
	ccmp	w0, w9, #0, eq
	ccmp	w10, w0, #0, hs
	b.hs	LBB0_6
; %bb.2:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_prepare_repo_settings
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _INDEX_FORMAT_LB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INDEX_FORMAT_LB@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _INDEX_FORMAT_UB@GOTPAGE
Lloh14:
	ldr	x9, [x9, _INDEX_FORMAT_UB@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w9, w0, #0, hs
	b.hs	LBB0_6
; %bb.4:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	__
Lloh18:
	adrp	x19, _INDEX_FORMAT_DEFAULT@GOTPAGE
Lloh19:
	ldr	x19, [x19, _INDEX_FORMAT_DEFAULT@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_warning
	ldr	w0, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GIT_INDEX_VERSION"

	.comm	_INDEX_FORMAT_DEFAULT,4,2       ; @INDEX_FORMAT_DEFAULT
	.comm	_INDEX_FORMAT_LB,4,2            ; @INDEX_FORMAT_LB
	.comm	_INDEX_FORMAT_UB,4,2            ; @INDEX_FORMAT_UB
l_.str.1:                               ; @.str.1
	.asciz	"index.version set, but the value is invalid.\nUsing version %i"

l_.str.2:                               ; @.str.2
	.asciz	"GIT_INDEX_VERSION set, but the value is invalid.\nUsing version %i"

	.no_dead_strip	_get_index_format_default
.subsections_via_symbols
