	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExpandConstraints
_ExpandConstraints:                     ## @ExpandConstraints
	.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	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_nWaitOrders@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movl	$1, %eax
	testl	%esi, %esi
	jle	LBB0_10
## %bb.1:
	movl	%esi, %r10d
	xorl	%eax, %eax
	movq	_waitOrders@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$1, %r14
	jle	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%r10, %r14
	decq	%r10
	movl	%r10d, %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%rcx,8), %rbx
	movq	(%r12), %rcx
	movl	%eax, %esi
	leal	1(%rax), %edx
	leaq	(%rsi,%rsi,2), %rsi
	leaq	(%rcx,%rsi,8), %rsi
	addq	$-8, %rsi
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decl	%edx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	-24(%rsi), %rdi
	cmpq	%rbx, (%rsi)
	movq	%rdi, %rsi
	jne	LBB0_3
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rax
	movq	%rbx, 16(%rcx,%rax)
	movslq	%r13d, %r13
	movq	_waitOrderProcs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%r13, %rcx
	movq	(%r12), %rdx
	movq	%rcx, (%rdx,%rax)
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	%rax, 8(%rdx,%rcx,8)
	addl	%eax, %r13d
	xorl	%edi, %edi
	movq	_MaxBackends@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	setle	%dil
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	callq	_Assert
	movq	(%r12), %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_TopoSort
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	incq	%rax
	movq	%rax, (%r15)
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_9:
	movl	$1, %eax
	jmp	LBB0_10
LBB0_6:
	xorl	%eax, %eax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nWaitOrders,8,3                ## @nWaitOrders
	.comm	_waitOrders,8,3                 ## @waitOrders
	.comm	_waitOrderProcs,8,3             ## @waitOrderProcs
	.comm	_MaxBackends,4,2                ## @MaxBackends
	.no_dead_strip	_ExpandConstraints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExpandConstraints
_ExpandConstraints:                     ; @ExpandConstraints
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _nWaitOrders@GOTPAGE
Lloh1:
	ldr	x22, [x22, _nWaitOrders@GOTPAGEOFF]
	str	xzr, [x22]
	cmp	w1, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x8, #0
	mov	w23, #0
Lloh2:
	adrp	x24, _waitOrders@GOTPAGE
Lloh3:
	ldr	x24, [x24, _waitOrders@GOTPAGEOFF]
	mov	w25, #24
Lloh4:
	adrp	x26, _waitOrderProcs@GOTPAGE
Lloh5:
	ldr	x26, [x26, _waitOrderProcs@GOTPAGEOFF]
Lloh6:
	adrp	x27, _MaxBackends@GOTPAGE
Lloh7:
	ldr	x27, [x27, _MaxBackends@GOTPAGEOFF]
	mov	w28, w1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x20, #1
	b.le	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x20, x28
	sub	x28, x28, #1
	ldr	x21, [x19, w28, uxtw #3]
	ldr	x9, [x24]
	and	x11, x8, #0xffffffff
	add	w10, w8, #1
	madd	x11, x11, x25, x9
	sub	x11, x11, #8
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w10, w10, #1
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x12, [x11], #-24
	cmp	x12, x21
	b.ne	LBB0_4
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x8, lsl #1
	lsl	x8, x8, #3
	add	x9, x9, x8
	str	x21, [x9, #16]
	ldr	x9, [x26]
	add	x9, x9, w23, sxtw
	ldr	x10, [x24]
	str	x9, [x10, x8]
	ldr	x8, [x21]
	ldr	x9, [x22]
	madd	x9, x9, x25, x10
	str	x8, [x9, #8]
	ldr	w9, [x27]
	add	w23, w23, w8
	cmp	w23, w9
	cset	w0, le
	bl	_Assert
	ldr	x8, [x24]
	ldr	x9, [x22]
	mul	x9, x9, x25
	ldr	x3, [x8, x9]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_TopoSort
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	add	x8, x8, #1
	str	x8, [x22]
	b	LBB0_2
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_nWaitOrders,8,3                ; @nWaitOrders
	.comm	_waitOrders,8,3                 ; @waitOrders
	.comm	_waitOrderProcs,8,3             ; @waitOrderProcs
	.comm	_MaxBackends,4,2                ; @MaxBackends
	.no_dead_strip	_ExpandConstraints
.subsections_via_symbols
