	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chrec_evaluate
_chrec_evaluate:                        ## @chrec_evaluate
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	%rsi, %rdi
	callq	_TREE_TYPE
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_POLYNOMIAL_CHREC@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_CHREC_VARIABLE
	cmpl	%r13d, %eax
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_CHREC_LEFT
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_CODE
	cmpq	(%r14), %rax
	je	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.5:
	movq	%rbx, %rdi
	callq	_CHREC_VARIABLE
	cmpl	%r13d, %eax
	jne	LBB0_11
## %bb.6:
	movq	%rbx, %rdi
	callq	_CHREC_RIGHT
	leal	1(%r15), %ecx
	movl	%r13d, %edi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_chrec_evaluate
	movq	%rax, %r13
	movq	_chrec_dont_know@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_9
## %bb.7:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_tree_fold_binomial
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rax, %r15
	movq	_MULT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_CHREC_LEFT
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_fold_build2
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chrec_fold_plus                ## TAILCALL
LBB0_11:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_tree_fold_binomial
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:
	movq	_MULT_EXPR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fold_build2                    ## TAILCALL
LBB0_8:
	movq	_chrec_dont_know@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_9:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POLYNOMIAL_CHREC,8,3           ## @POLYNOMIAL_CHREC
	.comm	_chrec_dont_know,8,3            ## @chrec_dont_know
	.comm	_MULT_EXPR,4,2                  ## @MULT_EXPR
	.no_dead_strip	_chrec_evaluate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chrec_evaluate
_chrec_evaluate:                        ; @chrec_evaluate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	mov	x0, x1
	bl	_TREE_TYPE
	mov	x19, x0
	mov	x0, x20
	bl	_TREE_CODE
Lloh0:
	adrp	x24, _POLYNOMIAL_CHREC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _POLYNOMIAL_CHREC@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_CHREC_VARIABLE
	cmp	w0, w23
	b.ls	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_CHREC_LEFT
	mov	x20, x0
	bl	_TREE_CODE
	b	LBB0_1
LBB0_4:
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_CHREC_VARIABLE
	cmp	w0, w23
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_CHREC_RIGHT
	mov	x1, x0
	add	w3, w21, #1
	mov	x0, x23
	mov	x2, x22
	bl	_chrec_evaluate
	mov	x23, x0
Lloh2:
	adrp	x24, _chrec_dont_know@GOTPAGE
Lloh3:
	ldr	x24, [x24, _chrec_dont_know@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_tree_fold_binomial
	cbz	x0, LBB0_13
; %bb.8:
	mov	x21, x0
Lloh4:
	adrp	x8, _MULT_EXPR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MULT_EXPR@GOTPAGEOFF]
Lloh6:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_CHREC_LEFT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	mov	x3, x21
	bl	_fold_build2
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_chrec_fold_plus
LBB0_9:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_tree_fold_binomial
	cbz	x0, LBB0_11
; %bb.10:
	mov	x3, x0
Lloh7:
	adrp	x8, _MULT_EXPR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MULT_EXPR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fold_build2
LBB0_11:
Lloh10:
	adrp	x8, _chrec_dont_know@GOTPAGE
Lloh11:
	ldr	x8, [x8, _chrec_dont_know@GOTPAGEOFF]
Lloh12:
	ldr	x23, [x8]
LBB0_12:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	x23, [x24]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_POLYNOMIAL_CHREC,8,3           ; @POLYNOMIAL_CHREC
	.comm	_chrec_dont_know,8,3            ; @chrec_dont_know
	.comm	_MULT_EXPR,4,2                  ; @MULT_EXPR
	.no_dead_strip	_chrec_evaluate
.subsections_via_symbols
