	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chrec_fold_multiply_poly_poly
_chrec_fold_multiply_poly_poly:         ## @chrec_fold_multiply_poly_poly
	.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	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%r15d, %edi
	callq	_gcc_assert
	movl	%r12d, %edi
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_TREE_CODE
	movq	_POLYNOMIAL_CHREC@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_gcc_assert
	movq	%r12, %rdi
	callq	_TREE_CODE
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_chrec_type
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_chrec_type
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_chrec_type
	xorl	%edi, %edi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r14, %rax
	sete	%dil
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_CHREC_VARIABLE
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_CHREC_VARIABLE
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_CHREC_VARIABLE
	movl	%eax, %r13d
	cmpl	%r14d, %ebx
	jge	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	callq	_CHREC_LEFT
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_chrec_fold_multiply
	movq	%rax, %rbx
	movq	%r12, %rdi
	jmp	LBB0_2
LBB0_4:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_CHREC_VARIABLE
	movq	%r15, %rdi
	cmpl	%eax, %r13d
	jge	LBB0_6
## %bb.5:
	callq	_CHREC_VARIABLE
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_CHREC_LEFT
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_chrec_fold_multiply
	movq	%rax, %rbx
	movq	%r15, %rdi
LBB0_2:
	callq	_CHREC_RIGHT
	movl	%r13d, %edi
	movq	%rbx, %rsi
	jmp	LBB0_3
LBB0_6:
	callq	_CHREC_LEFT
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_CHREC_LEFT
	movq	%r14, %r13
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_chrec_fold_multiply
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_CHREC_LEFT
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_CHREC_RIGHT
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_chrec_fold_multiply
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_CHREC_RIGHT
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_CHREC_LEFT
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_chrec_fold_multiply
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_chrec_fold_plus
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_CHREC_RIGHT
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_CHREC_RIGHT
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_chrec_fold_multiply
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_chrec_fold_plus
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_CHREC_RIGHT
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_CHREC_RIGHT
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_chrec_fold_multiply
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_SCALAR_FLOAT_TYPE_P
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_dconst2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_build_real
	jmp	LBB0_9
LBB0_8:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_build_int_cst
LBB0_9:
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_chrec_fold_multiply
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_CHREC_VARIABLE
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_build_polynomial_chrec
	movl	%ebx, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_3:
	movq	%rax, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_polynomial_chrec         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_POLYNOMIAL_CHREC,8,3           ## @POLYNOMIAL_CHREC
	.comm	_dconst2,4,2                    ## @dconst2
	.no_dead_strip	_chrec_fold_multiply_poly_poly
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chrec_fold_multiply_poly_poly
_chrec_fold_multiply_poly_poly:         ; @chrec_fold_multiply_poly_poly
	.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, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x19
	bl	_gcc_assert
	mov	x0, x21
	bl	_gcc_assert
	mov	x0, x19
	bl	_TREE_CODE
Lloh0:
	adrp	x22, _POLYNOMIAL_CHREC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _POLYNOMIAL_CHREC@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x21
	bl	_TREE_CODE
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x19
	bl	_chrec_type
	mov	x22, x0
	mov	x0, x21
	bl	_chrec_type
	cmp	x22, x0
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x19
	bl	_chrec_type
	cmp	x0, x20
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x19
	bl	_CHREC_VARIABLE
	mov	x23, x0
	mov	x0, x21
	bl	_CHREC_VARIABLE
	mov	x24, x0
	mov	x0, x21
	bl	_CHREC_VARIABLE
	mov	x22, x0
	cmp	w23, w24
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_CHREC_LEFT
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_chrec_fold_multiply
	mov	x19, x0
	mov	x0, x21
	bl	_CHREC_RIGHT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_CHREC_VARIABLE
	cmp	w22, w0
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_CHREC_VARIABLE
	mov	x22, x0
	mov	x0, x19
	bl	_CHREC_LEFT
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_chrec_fold_multiply
	mov	x20, x0
	mov	x0, x19
	bl	_CHREC_RIGHT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	b	LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_CHREC_LEFT
	mov	x22, x0
	mov	x0, x21
	bl	_CHREC_LEFT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_chrec_fold_multiply
	mov	x22, x0
	mov	x0, x19
	bl	_CHREC_LEFT
	mov	x23, x0
	mov	x0, x21
	bl	_CHREC_RIGHT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_chrec_fold_multiply
	mov	x23, x0
	mov	x0, x19
	bl	_CHREC_RIGHT
	mov	x24, x0
	mov	x0, x21
	bl	_CHREC_LEFT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_chrec_fold_multiply
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_chrec_fold_plus
	mov	x23, x0
	mov	x0, x19
	bl	_CHREC_RIGHT
	mov	x24, x0
	mov	x0, x21
	bl	_CHREC_RIGHT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_chrec_fold_multiply
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_chrec_fold_plus
	mov	x23, x0
	mov	x0, x19
	bl	_CHREC_RIGHT
	mov	x24, x0
	mov	x0, x21
	bl	_CHREC_RIGHT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_chrec_fold_multiply
	mov	x21, x0
	mov	x0, x20
	bl	_SCALAR_FLOAT_TYPE_P
	cbz	x0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _dconst2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dconst2@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_build_real
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	w1, #2
	bl	_build_int_cst
LBB0_7:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_chrec_fold_multiply
	mov	x20, x0
	mov	x0, x19
	bl	_CHREC_VARIABLE
	mov	x19, x0
	mov	x1, x23
	mov	x2, x20
	bl	_build_polynomial_chrec
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
LBB0_8:
	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	_build_polynomial_chrec
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_POLYNOMIAL_CHREC,8,3           ; @POLYNOMIAL_CHREC
	.comm	_dconst2,4,2                    ; @dconst2
	.no_dead_strip	_chrec_fold_multiply_poly_poly
.subsections_via_symbols
