	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calcorders
_calcorders:                            ## @calcorders
	.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, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	movq	(%rbx), %rcx
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edi
	movl	16(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_TAILQ_INSERT_TAIL
	movl	%r12d, 16(%r15)
	incl	%r12d
	movq	%rbx, 8(%r15)
	xorl	%r13d, %r13d
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %r14d
	movq	(%r15), %rdi
	callq	_ORDERS_SIZE
	cmpl	%eax, %r14d
	jae	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	cmpl	$0, (%rax,%r14,4)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	movl	%r13d, (%rax,%r14,4)
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_5:
	movl	$-1, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_link,4,2                       ## @link
	.no_dead_strip	_calcorders
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calcorders
_calcorders:                            ; @calcorders
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w22, #0
	mov	w24, #0
	mov	x21, #0
	mov	x8, #0
Lloh0:
	adrp	x23, _link@GOTPAGE
Lloh1:
	ldr	x23, [x23, _link@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20]
	mov	x8, x20
	mov	x20, x9
	cbz	x9, LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #16]
	ldr	w1, [x8, #16]
	bl	_strcmp
	cbz	x0, LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x21
	bl	_TAILQ_INSERT_TAIL
	mov	w24, #0
	str	w22, [x21, #16]
	add	w22, w22, #1
	str	x20, [x21, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x8]
	ldr	x0, [x21]
	bl	_ORDERS_SIZE
	cmp	w25, w0
	b.hs	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldr	w9, [x8, x25, lsl #2]
	cbnz	w9, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	str	w24, [x8, x25, lsl #2]
	b	LBB0_2
LBB0_11:
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	mov	w0, #-1
LBB0_13:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_link,4,2                       ; @link
	.no_dead_strip	_calcorders
.subsections_via_symbols
