	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_classic_dist_vector_1
_build_classic_dist_vector_1:           ## @build_classic_dist_vector_1
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	callq	_DDR_NB_LOOPS
	movl	%eax, %edi
	callq	_lambda_vector_new
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_DDR_NUM_SUBSCRIPTS
	movl	$1, %ecx
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	xorl	%r15d, %r15d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, (%r14,%rcx,4)
	movl	$1, (%r12,%rcx,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	incl	%r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_DDR_NUM_SUBSCRIPTS
	cmpl	%eax, %r15d
	jae	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_DDR_SUBSCRIPT
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_SUB_DISTANCE
	movl	%eax, %edi
	callq	_chrec_contains_undetermined
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_DR_ACCESS_FN
	movl	%eax, %ebx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_DR_ACCESS_FN
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_POLYNOMIAL_CHREC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	callq	_TREE_CODE
	movq	_POLYNOMIAL_CHREC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_CHREC_VARIABLE
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_DDR_LOOP_NEST
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_index_in_loop_nest
	movq	%r13, %r14
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_CHREC_VARIABLE
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_DDR_LOOP_NEST
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_index_in_loop_nest
	movl	%eax, %ebx
	cmpl	%eax, %r13d
	cmovll	%r13d, %ebx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_MIN
	movl	%eax, (%r14)
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_SUB_DISTANCE
	movl	%eax, %edi
	callq	_chrec_contains_undetermined
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_SUB_DISTANCE
	movl	%eax, %edi
	callq	_int_cst_value
	movslq	%ebx, %rcx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpl	$0, (%r12,%rcx,4)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, (%r14,%rcx,4)
	je	LBB0_2
## %bb.9:
	movq	_chrec_known@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_finalize_ddr_dependent
	jmp	LBB0_13
LBB0_10:
	movq	%r13, %rdi
	jmp	LBB0_12
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_12:
	callq	_non_affine_dependence_relation
LBB0_13:
	xorl	%ecx, %ecx
LBB0_14:
	movl	%ecx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	$1, %ecx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_POLYNOMIAL_CHREC,8,3           ## @POLYNOMIAL_CHREC
	.comm	_chrec_known,4,2                ## @chrec_known
	.no_dead_strip	_build_classic_dist_vector_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_classic_dist_vector_1
_build_classic_dist_vector_1:           ; @build_classic_dist_vector_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x5
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	bl	_DDR_NB_LOOPS
	bl	_lambda_vector_new
	mov	x25, x0
	mov	x0, x19
	bl	_DDR_NUM_SUBSCRIPTS
	cbz	w0, LBB0_11
; %bb.1:
	mov	w26, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	x8, x8, #2
	str	w0, [x22, x8]
	mov	w21, #1
	str	w21, [x25, x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w21, [x8]
	add	w26, w26, #1
	mov	x0, x19
	bl	_DDR_NUM_SUBSCRIPTS
	cmp	w26, w0
	b.hs	LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	_DDR_SUBSCRIPT
	mov	x27, x0
	bl	_SUB_DISTANCE
	bl	_chrec_contains_undetermined
	cbnz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x26
	bl	_DR_ACCESS_FN
	mov	x21, x0
	mov	x0, x23
	mov	x1, x26
	bl	_DR_ACCESS_FN
	mov	x28, x0
	mov	x0, x21
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _POLYNOMIAL_CHREC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POLYNOMIAL_CHREC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _POLYNOMIAL_CHREC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _POLYNOMIAL_CHREC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_CHREC_VARIABLE
	mov	x21, x0
	mov	x0, x19
	bl	_DDR_LOOP_NEST
	mov	x1, x0
	mov	x0, x21
	bl	_index_in_loop_nest
	mov	x21, x0
	mov	x0, x28
	bl	_CHREC_VARIABLE
	mov	x28, x0
	mov	x0, x19
	bl	_DDR_LOOP_NEST
	mov	x1, x0
	mov	x0, x28
	bl	_index_in_loop_nest
	cmp	w21, w0
	csel	w28, w21, w0, lt
	ldr	w1, [x20]
	mov	x0, x28
	bl	_MIN
	str	w0, [x20]
	mov	x0, x27
	bl	_SUB_DISTANCE
	bl	_chrec_contains_undetermined
	cbnz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	bl	_SUB_DISTANCE
	bl	_int_cst_value
	sxtw	x8, w28
	ldr	w9, [x25, w28, sxtw #2]
	cbz	w9, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x22, x8, lsl #2]
	cmp	w9, w0
	b.eq	LBB0_2
; %bb.9:
Lloh6:
	adrp	x8, _chrec_known@GOTPAGE
Lloh7:
	ldr	x8, [x8, _chrec_known@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_finalize_ddr_dependent
	mov	w21, #0
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_non_affine_dependence_relation
	mov	w21, #0
	b	LBB0_12
LBB0_11:
	mov	w21, #1
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_POLYNOMIAL_CHREC,8,3           ; @POLYNOMIAL_CHREC
	.comm	_chrec_known,4,2                ; @chrec_known
	.no_dead_strip	_build_classic_dist_vector_1
.subsections_via_symbols
