	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_cmds
_list_cmds:                             ## @list_cmds
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-68(%rbp), %rdi
	callq	_setup_git_directory_gently
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	leaq	-64(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_list_builtins
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rax
	leaq	(%rbx,%rax), %rcx
	xorl	%edx, %edx
	cmpb	$44, (%rbx,%rax)
	sete	%dl
	leaq	(%rcx,%rdx), %rbx
	cmpb	$0, (%rdx,%rcx)
	je	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchrnul
	movq	%rax, %r12
	subq	%rbx, %r12
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_match_token
	testq	%rax, %rax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_match_token
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_list_all_main_cmds
	jmp	LBB0_22
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	leaq	L_.str.2(%rip), %rdx
	callq	_match_token
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_list_all_other_cmds
	jmp	LBB0_22
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	leaq	L_.str.3(%rip), %rdx
	callq	_match_token
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_exclude_helpers_from_list
	jmp	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	leaq	L_.str.4(%rip), %rdx
	callq	_match_token
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_list_aliases
	jmp	LBB0_22
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	leaq	L_.str.5(%rip), %rdx
	callq	_match_token
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_list_cmds_by_config
	jmp	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$6, %r12d
	jl	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_die
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	5(%rbx), %rsi
	leal	-5(%r12), %edx
	leaq	-48(%rbp), %rdi
	callq	_strbuf_add
	movl	-48(%rbp), %esi
	movq	%r13, %rdi
	callq	_list_cmds_by_category
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	jmp	LBB0_22
LBB0_4:
	cmpl	$0, -64(%rbp)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_puts
	incq	%rbx
	movslq	-64(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_string_list_clear
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ## @STRING_LIST_INIT_DUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"builtins"

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

L_.str.2:                               ## @.str.2
	.asciz	"others"

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

L_.str.4:                               ## @.str.4
	.asciz	"alias"

L_.str.5:                               ## @.str.5
	.asciz	"config"

L_.str.6:                               ## @.str.6
	.asciz	"list-"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.7:                               ## @.str.7
	.asciz	"unsupported command listing type '%s'"

	.no_dead_strip	_list_cmds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_cmds
_list_cmds:                             ; @list_cmds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #16]
	add	x0, sp, #12
	bl	_setup_git_directory_gently
	ldrb	w8, [x19]
	cbz	w8, LBB0_19
; %bb.1:
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh9:
	adrp	x23, l_.str.3@PAGE
Lloh10:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh11:
	adrp	x24, l_.str.4@PAGE
Lloh12:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh13:
	adrp	x25, l_.str.5@PAGE
Lloh14:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh15:
	adrp	x26, l_.str.6@PAGE
Lloh16:
	add	x26, x26, l_.str.6@PAGEOFF
Lloh17:
	adrp	x27, l_.str.7@PAGE
Lloh18:
	add	x27, x27, l_.str.7@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	mov	w1, #0
	bl	_list_builtins
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x19, w28, sxtw
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #44
	csel	x19, x8, x9, ne
	ldrb	w8, [x19]
	cbz	w8, LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #44
	bl	_strchrnul
	sub	x28, x0, x19
	mov	x0, x19
	mov	x1, x28
	mov	x2, x20
	bl	_match_token
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x28
	mov	x2, x21
	bl	_match_token
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	bl	_list_all_main_cmds
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x28
	mov	x2, x22
	bl	_match_token
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	bl	_list_all_other_cmds
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x28
	mov	x2, x23
	bl	_match_token
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	bl	_exclude_helpers_from_list
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x28
	mov	x2, x24
	bl	_match_token
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	bl	_list_aliases
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x28
	mov	x2, x25
	bl	_match_token
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	bl	_list_cmds_by_config
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w28, #6
	b.lt	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x26
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	__
	mov	x1, x19
	bl	_die
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, x19, #5
	sub	w2, w28, #5
	add	x0, sp, #8
	bl	_strbuf_add
	ldr	w1, [sp, #8]
	add	x0, sp, #16
	bl	_list_cmds_by_category
	add	x0, sp, #8
	bl	_strbuf_release
	b	LBB0_3
LBB0_19:
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.20:
	mov	x19, #0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x19, lsl #2]
	bl	_puts
	add	x19, x19, #1
	ldrsw	x8, [sp, #16]
	cmp	x19, x8
	b.lt	LBB0_21
LBB0_22:
	add	x0, sp, #16
	mov	w1, #0
	bl	_string_list_clear
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ; @STRING_LIST_INIT_DUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"builtins"

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

l_.str.2:                               ; @.str.2
	.asciz	"others"

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

l_.str.4:                               ; @.str.4
	.asciz	"alias"

l_.str.5:                               ; @.str.5
	.asciz	"config"

l_.str.6:                               ; @.str.6
	.asciz	"list-"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.7:                               ; @.str.7
	.asciz	"unsupported command listing type '%s'"

	.no_dead_strip	_list_cmds
.subsections_via_symbols
