	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_main                       ## -- Begin function cmd_main
	.p2align	4, 0x90
_cmd_main:                              ## @cmd_main
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	(%rsi), %rbx
	movq	%rbx, -40(%rbp)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_find_last_dir_sep
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	incq	%rax
	movq	%rax, -40(%rbp)
	movq	%rax, %rbx
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rbx
	movq	%rbx, -40(%rbp)
LBB0_4:
	movq	%r15, %rdi
	callq	_trace_command_performance
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-40(%rbp), %rax
	movq	%rax, (%r15)
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_handle_builtin
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_die
LBB0_6:
	addq	$8, %r15
	movq	%r15, -56(%rbp)
	decl	%r14d
	movl	%r14d, -44(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	callq	_handle_options
	cmpl	$0, -44(%rbp)
	jle	LBB0_12
## %bb.7:
	movq	-56(%rbp), %rdx
	movq	(%rdx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_skip_prefix
	movq	-56(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	callq	_setup_path
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_run_argv
	movq	_errno@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	_ENOENT@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rcx
	jne	LBB0_11
## %bb.8:
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:
	movq	-40(%rbp), %rdi
	callq	_help_unknown_cmd
	movq	-56(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	%rax, -40(%rbp)
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_run_argv
	movq	(%r12), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_11
## %bb.10:
	testl	%eax, %eax
	jne	LBB0_13
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	%rax, %rbx
	movq	-40(%rbp), %r15
	movq	(%r12), %rdi
	callq	_strerror
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	movl	$1, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	callq	_commit_pager_choice
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	_git_usage_string@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdi
	callq	_printf
	xorl	%eax, %eax
	callq	_list_common_cmds_help
	movq	_git_more_info_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	__
	leaq	L_.str.5(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	movl	$1, %edi
	callq	_exit
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	-40(%rbp), %rdx
	movq	-56(%rbp), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"git-help"

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

L_.str.2:                               ## @.str.2
	.asciz	"cannot handle %s as a builtin"

L_.str.3:                               ## @.str.3
	.asciz	"--"

L_.str.4:                               ## @.str.4
	.asciz	"usage: %s\n\n"

	.comm	_git_usage_string,8,3           ## @git_usage_string
L_.str.5:                               ## @.str.5
	.asciz	"\n%s\n"

	.comm	_git_more_info_string,8,3       ## @git_more_info_string
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_stderr,4,2                     ## @stderr
L_.str.6:                               ## @.str.6
	.asciz	"expansion of alias '%s' failed; '%s' is not a git command\n"

L_.str.7:                               ## @.str.7
	.asciz	"failed to run command '%s': %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_main                       ; -- Begin function cmd_main
	.p2align	2
_cmd_main:                              ; @cmd_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x1]
	str	x21, [sp, #8]
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_find_last_dir_sep
	cbz	x0, LBB0_5
; %bb.2:
	add	x21, x0, #1
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_4:
	str	x21, [sp, #8]
LBB0_5:
	mov	x0, x20
	bl	_trace_command_performance
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_skip_prefix
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	str	x8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_handle_builtin
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	bl	_die
LBB0_7:
	add	x8, x20, #8
	str	x8, [sp, #16]
	sub	w8, w19, #1
	str	w8, [sp, #28]
	add	x0, sp, #16
	add	x1, sp, #28
	mov	x2, #0
	bl	_handle_options
	ldr	w8, [sp, #28]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	ldr	x2, [sp, #16]
	ldr	x0, [x2]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_skip_prefix
	ldr	x8, [sp, #16]
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_setup_path
	add	x0, sp, #28
	add	x1, sp, #16
	bl	_run_argv
Lloh8:
	adrp	x22, _errno@GOTPAGE
Lloh9:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh10:
	adrp	x19, _ENOENT@GOTPAGE
Lloh11:
	ldr	x19, [x19, _ENOENT@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
	cbnz	w0, LBB0_14
; %bb.10:
	ldr	x0, [sp, #8]
	bl	_help_unknown_cmd
	ldr	x8, [sp, #16]
	str	x0, [x8]
	str	x0, [sp, #8]
	add	x0, sp, #28
	add	x1, sp, #16
	bl	_run_argv
	ldr	x8, [x22]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	cbnz	w0, LBB0_14
LBB0_12:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
Lloh15:
	adrp	x0, l_.str.7@PAGE
Lloh16:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x20, x0
	ldr	x21, [sp, #8]
	ldr	x0, [x22]
	bl	_strerror
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_fprintf
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	bl	_commit_pager_choice
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
Lloh19:
	adrp	x8, _git_usage_string@GOTPAGE
Lloh20:
	ldr	x8, [x8, _git_usage_string@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
	bl	_printf
	bl	_list_common_cmds_help
Lloh22:
	adrp	x8, _git_more_info_string@GOTPAGE
Lloh23:
	ldr	x8, [x8, _git_more_info_string@GOTPAGEOFF]
Lloh24:
	ldr	x0, [x8]
	bl	__
	mov	x1, x0
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	mov	w0, #1
	bl	_exit
LBB0_14:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w19, [x8]
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	mov	x1, x0
	ldp	x2, x8, [sp, #8]
	ldr	x3, [x8]
	mov	x0, x19
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"git-help"

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

l_.str.2:                               ; @.str.2
	.asciz	"cannot handle %s as a builtin"

l_.str.3:                               ; @.str.3
	.asciz	"--"

l_.str.4:                               ; @.str.4
	.asciz	"usage: %s\n\n"

	.comm	_git_usage_string,8,3           ; @git_usage_string
l_.str.5:                               ; @.str.5
	.asciz	"\n%s\n"

	.comm	_git_more_info_string,8,3       ; @git_more_info_string
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_stderr,4,2                     ; @stderr
l_.str.6:                               ; @.str.6
	.asciz	"expansion of alias '%s' failed; '%s' is not a git command\n"

l_.str.7:                               ; @.str.7
	.asciz	"failed to run command '%s': %s\n"

.subsections_via_symbols
