	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_order
_start_order:                           ## @start_order
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_currorder@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_lastorder@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movslq	%edi, %rdx
	movq	%rdx, (%rax)
	movq	_T_ELLIPSIS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.1:
	movq	_T_CHAR@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_3:
	movq	_COLL_WEIGHTS_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.4:
	movq	_order_weights@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_5
LBB0_6:
	movq	_curr_weight@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_currorder,8,3                  ## @currorder
	.comm	_lastorder,8,3                  ## @lastorder
	.comm	_T_ELLIPSIS,8,3                 ## @T_ELLIPSIS
	.comm	_T_CHAR,4,2                     ## @T_CHAR
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"character value expected"

	.comm	_COLL_WEIGHTS_MAX,4,2           ## @COLL_WEIGHTS_MAX
	.comm	_order_weights,8,3              ## @order_weights
	.comm	_curr_weight,8,3                ## @curr_weight
	.no_dead_strip	_start_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_order
_start_order:                           ; @start_order
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _currorder@GOTPAGE
Lloh1:
	ldr	x8, [x8, _currorder@GOTPAGEOFF]
Lloh2:
	adrp	x9, _lastorder@GOTPAGE
Lloh3:
	ldr	x9, [x9, _lastorder@GOTPAGEOFF]
	ldr	x10, [x8]
Lloh4:
	str	x10, [x9]
	sxtw	x9, w0
	str	x9, [x8]
Lloh5:
	adrp	x8, _T_ELLIPSIS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _T_ELLIPSIS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _T_CHAR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _T_CHAR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	x10, x8
	ccmp	w9, w0, #4, eq
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh16:
	adrp	x8, _COLL_WEIGHTS_MAX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _COLL_WEIGHTS_MAX@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x9, #0
Lloh18:
	adrp	x10, _order_weights@GOTPAGE
Lloh19:
	ldr	x10, [x10, _order_weights@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	mov	w11, #-1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_4
LBB0_5:
Lloh21:
	adrp	x8, _curr_weight@GOTPAGE
Lloh22:
	ldr	x8, [x8, _curr_weight@GOTPAGEOFF]
Lloh23:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_currorder,8,3                  ; @currorder
	.comm	_lastorder,8,3                  ; @lastorder
	.comm	_T_ELLIPSIS,8,3                 ; @T_ELLIPSIS
	.comm	_T_CHAR,4,2                     ; @T_CHAR
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"character value expected"

	.comm	_COLL_WEIGHTS_MAX,4,2           ; @COLL_WEIGHTS_MAX
	.comm	_order_weights,8,3              ; @order_weights
	.comm	_curr_weight,8,3                ; @curr_weight
	.no_dead_strip	_start_order
.subsections_via_symbols
