	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_merge_index                ## -- Begin function cmd_merge_index
	.p2align	4, 0x90
_cmd_merge_index:                       ## @cmd_merge_index
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	cmpl	$2, %r14d
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_usage
LBB0_2:
	xorl	%eax, %eax
	callq	_read_cache
	movq	8(%r13), %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_one_shot@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	16(%r13), %r15
	movl	$2, %ebx
LBB0_4:
	movl	%ebx, %r12d
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_quiet@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	incl	%ebx
	movq	8(%r13,%r12,8), %r15
	incq	%r12
LBB0_6:
	movq	_pgm@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	incl	%ebx
	cmpl	%r14d, %ebx
	jge	LBB0_17
## %bb.7:
	incq	%r12
	movl	%r14d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_merge_one_path
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_17
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r12,8), %rbx
	testl	%r14d, %r14d
	jne	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$45, (%rbx)
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_merge_all
	jmp	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %r14d
	jmp	LBB0_16
LBB0_17:
	movq	_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_20
## %bb.18:
	movq	_quiet@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	movl	(%rbx), %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"git merge-index [-o] [-q] <merge-program> (-a | [--] [<filename>...])"

L_.str.1:                               ## @.str.1
	.asciz	"-o"

	.comm	_one_shot,4,2                   ## @one_shot
L_.str.2:                               ## @.str.2
	.asciz	"-q"

	.comm	_quiet,4,2                      ## @quiet
	.comm	_pgm,8,3                        ## @pgm
L_.str.3:                               ## @.str.3
	.asciz	"--"

L_.str.4:                               ## @.str.4
	.asciz	"-a"

L_.str.5:                               ## @.str.5
	.asciz	"git merge-index: unknown option %s"

	.comm	_err,4,2                        ## @err
L_.str.6:                               ## @.str.6
	.asciz	"merge program failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_merge_index                ; -- Begin function cmd_merge_index
	.p2align	2
_cmd_merge_index:                       ; @cmd_merge_index
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_signal
	cmp	w19, #2
	b.gt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_usage
LBB0_2:
	bl	_read_cache
	ldr	x21, [x20, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	mov	w22, #1
	cbnz	w0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _one_shot@GOTPAGE
Lloh11:
	ldr	x8, [x8, _one_shot@GOTPAGEOFF]
Lloh12:
	str	w22, [x8]
	ldr	x21, [x20, #16]
	mov	w22, #2
LBB0_4:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
Lloh15:
	adrp	x23, _quiet@GOTPAGE
Lloh16:
	ldr	x23, [x23, _quiet@GOTPAGEOFF]
	cbz	w0, LBB0_6
; %bb.5:
	mov	w8, w22
	b	LBB0_7
LBB0_6:
	mov	w8, #1
	str	w8, [x23]
	add	w8, w22, #1
	ldr	x21, [x20, w8, uxtw #3]
	mov	x22, x8
LBB0_7:
Lloh17:
	adrp	x9, _pgm@GOTPAGE
Lloh18:
	ldr	x9, [x9, _pgm@GOTPAGEOFF]
Lloh19:
	str	x21, [x9]
	add	w9, w22, #1
	cmp	w9, w19
	b.ge	LBB0_18
; %bb.8:
	mov	w26, #0
	add	x9, x20, x8, lsl #3
	add	x24, x9, #8
	mvn	x8, x8
	add	x25, x8, w19, uxtw
Lloh20:
	adrp	x19, l_.str.3@PAGE
Lloh21:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh22:
	adrp	x20, l_.str.4@PAGE
Lloh23:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh24:
	adrp	x21, l_.str.5@PAGE
Lloh25:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	str	x22, [sp]
	mov	x0, x21
	bl	_die
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	bl	_merge_one_path
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x24, x24, #8
	subs	x25, x25, #1
	b.eq	LBB0_18
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x24]
	cbnz	w26, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #45
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_merge_all
	mov	w26, #0
	b	LBB0_11
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w26, #1
	b	LBB0_11
LBB0_18:
Lloh26:
	adrp	x19, _err@GOTPAGE
Lloh27:
	ldr	x19, [x19, _err@GOTPAGEOFF]
	ldr	w0, [x19]
	ldr	w8, [x23]
	cmp	w0, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_20
; %bb.19:
Lloh28:
	adrp	x0, l_.str.6@PAGE
Lloh29:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_die
	ldr	w0, [x19]
LBB0_20:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"git merge-index [-o] [-q] <merge-program> (-a | [--] [<filename>...])"

l_.str.1:                               ; @.str.1
	.asciz	"-o"

	.comm	_one_shot,4,2                   ; @one_shot
l_.str.2:                               ; @.str.2
	.asciz	"-q"

	.comm	_quiet,4,2                      ; @quiet
	.comm	_pgm,8,3                        ; @pgm
l_.str.3:                               ; @.str.3
	.asciz	"--"

l_.str.4:                               ; @.str.4
	.asciz	"-a"

l_.str.5:                               ; @.str.5
	.asciz	"git merge-index: unknown option %s"

	.comm	_err,4,2                        ; @err
l_.str.6:                               ; @.str.6
	.asciz	"merge program failed"

.subsections_via_symbols
