	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_order_pri
_add_order_pri:                         ## @add_order_pri
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_curr_weight@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	_NUM_WT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %ecx
	jge	LBB0_2
## %bb.1:
	movq	_order_weights@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%edi, (%rdx,%rcx,4)
	incl	(%rax)
	popq	%rbp
	retq
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_curr_weight,4,2                ## @curr_weight
	.comm	_NUM_WT,4,2                     ## @NUM_WT
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many weights (max %d)"

	.comm	_order_weights,8,3              ## @order_weights
	.no_dead_strip	_add_order_pri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_order_pri
_add_order_pri:                         ; @add_order_pri
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _curr_weight@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curr_weight@GOTPAGEOFF]
	ldrsw	x9, [x8]
Lloh2:
	adrp	x10, _NUM_WT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _NUM_WT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x10]
	cmp	w9, w2
	b.ge	LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, _order_weights@GOTPAGE
Lloh6:
	ldr	x10, [x10, _order_weights@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	str	w0, [x10, x9, lsl #2]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ret
LBB0_2:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	_fprintf
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_curr_weight,4,2                ; @curr_weight
	.comm	_NUM_WT,4,2                     ; @NUM_WT
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many weights (max %d)"

	.comm	_order_weights,8,3              ; @order_weights
	.no_dead_strip	_add_order_pri
.subsections_via_symbols
