	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_cmds_by_category          ## -- Begin function list_cmds_by_category
	.p2align	4, 0x90
_list_cmds_by_category:                 ## @list_cmds_by_category
	.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, %r12
	movq	%rdi, %r15
	movq	_command_list@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_category_names@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	8(%rax,%rbx,8), %rsi
	incq	%rbx
	testq	%rsi, %rsi
	jne	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movl	$1, %r14d
	movl	%ebx, %ecx
	shlq	%cl, %r14
	testl	%r14d, %r14d
	jne	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_die
	xorl	%r14d, %r14d
LBB0_6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_11
## %bb.7:
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,8), %esi
	testl	%r14d, %esi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	4(%rax,%rbx,8), %edi
	callq	_drop_prefix
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_string_list_append
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_command_list,8,3               ## @command_list
	.comm	_category_names,8,3             ## @category_names
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported command listing type '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_cmds_by_category          ; -- Begin function list_cmds_by_category
	.p2align	2
_list_cmds_by_category:                 ; @list_cmds_by_category
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _command_list@GOTPAGE
Lloh1:
	ldr	x22, [x22, _command_list@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x20, x0
Lloh2:
	adrp	x23, _category_names@GOTPAGE
Lloh3:
	ldr	x23, [x23, _category_names@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x1, [x8]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	add	x8, x8, x24, lsl #3
	add	x24, x24, #1
	ldr	x1, [x8, #8]
	cbnz	x1, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w8, #1
	lsl	x23, x8, x24
	cbnz	w23, LBB0_6
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x21
	bl	_die
	mov	w23, #0
LBB0_6:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x21, #0
	mov	w8, w20
	lsl	x20, x8, #3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #8
	cmp	x20, x21
	b.eq	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8, x21]
	tst	w1, w23
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	bl	_drop_prefix
	mov	x1, x0
	mov	x0, x19
	bl	_string_list_append
	b	LBB0_8
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_command_list,8,3               ; @command_list
	.comm	_category_names,8,3             ; @category_names
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported command listing type '%s'"

.subsections_via_symbols
