	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_sorting                  ## -- Begin function setup_sorting
	.p2align	4, 0x90
_setup_sorting:                         ## @setup_sorting
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_sort_order@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strdup
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_strtok_r
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	leaq	L_.str(%rip), %rbx
	leaq	-56(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_strtok_r
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_sort_dimension__add
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_error
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_usage_with_options
	jmp	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sort_order,4,2                 ## @sort_order
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	", "

L_.str.1:                               ## @.str.1
	.asciz	"Unknown --sort key: `%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_sorting                  ; -- Begin function setup_sorting
	.p2align	2
_setup_sorting:                         ; @setup_sorting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _sort_order@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sort_order@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_strdup
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_strtok_r
	cbz	x0, LBB0_5
; %bb.1:
	mov	x24, x0
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh7:
	adrp	x23, l_.str@PAGE
Lloh8:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #8
	mov	x0, #0
	mov	x1, x23
	bl	_strtok_r
	mov	x24, x0
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_sort_dimension__add
	tbz	x0, #63, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_error
	mov	x0, x20
	mov	x1, x19
	bl	_usage_with_options
	b	LBB0_2
LBB0_5:
	mov	x0, x21
	bl	_free
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_sort_order,4,2                 ; @sort_order
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	", "

l_.str.1:                               ; @.str.1
	.asciz	"Unknown --sort key: `%s'"

.subsections_via_symbols
