	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fold_plusminus_mult_expr
_fold_plusminus_mult_expr:              ## @fold_plusminus_mult_expr
	.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	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_TREE_CODE
	movq	_MULT_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rax, %r14
	movq	%r12, %r15
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_build_one_cst
	movq	%rax, %r14
LBB0_3:
	movq	%r13, %rdi
	callq	_TREE_CODE
	movq	_MULT_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	jne	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rbx, %r13
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_build_one_cst
LBB0_6:
	movq	_NULL_TREE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r12
	movq	%r14, %rdi
	movq	%rax, %rbx
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_operand_equal_p
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rsi
	movq	%r13, %rcx
	movq	%r14, %r12
	jmp	LBB0_24
LBB0_8:
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_operand_equal_p
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r14, %rsi
	movq	%rbx, %rcx
	movq	%r15, %r12
	jmp	LBB0_24
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_operand_equal_p
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r14, %rsi
	movq	%r13, %rcx
	movq	%r15, %r12
	jmp	LBB0_24
LBB0_12:
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_operand_equal_p
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r15, %rsi
	movq	%rbx, %rcx
	movq	%r14, %r12
	jmp	LBB0_24
LBB0_14:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_host_integerp
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_host_integerp
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:
	movq	%r14, %rdi
	callq	_TREE_INT_CST_LOW
	movq	%rbx, %rdi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	callq	_TREE_INT_CST_LOW
	movq	%rbx, %rcx
	negq	%rcx
	cmovsq	%rbx, %rcx
	movq	%rax, %rdx
	negq	%rdx
	cmovsq	%rax, %rdx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	cmpq	%rdx, %rcx
	movq	%r15, %rcx
	cmovbq	%r13, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmovbq	%r15, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	cmovbq	%rax, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	cmovbq	%rbx, %rax
	movq	%rax, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmovbq	%r14, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_exact_log2
	testq	%rax, %rax
	jle	LBB0_18
## %bb.19:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rcx
	orq	%rbx, %rcx
	shrq	$32, %rcx
	je	LBB0_20
## %bb.21:
	cqto
	idivq	%rbx
	movq	%rax, %r14
	jmp	LBB0_22
LBB0_15:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsi
	jmp	LBB0_24
LBB0_18:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_20:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
	movl	%eax, %r14d
LBB0_22:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rdx, %rdx
	jne	LBB0_24
## %bb.23:
	movq	_MULT_EXPR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_build_int_cst
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_fold_build2
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, -96(%rbp)                 ## 8-byte Folded Reload
	cmovaeq	%rax, %r15
	cmovbq	%rax, %r13
	movq	%r15, %rsi
	movq	%r13, %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_24:
	testq	%r12, %r12
	je	LBB0_25
## %bb.26:
	movq	_MULT_EXPR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %r14
	movq	%rcx, %r12
	callq	_fold_convert
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fold_convert
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%rax, %rcx
	callq	_fold_build2
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_fold_convert
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fold_build2                    ## TAILCALL
LBB0_25:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_MULT_EXPR,8,3                  ## @MULT_EXPR
	.no_dead_strip	_fold_plusminus_mult_expr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fold_plusminus_mult_expr
_fold_plusminus_mult_expr:              ; @fold_plusminus_mult_expr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x27, x0
Lloh0:
	adrp	x28, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _NULL_TREE@GOTPAGEOFF]
	ldr	x21, [x28]
	mov	x0, x2
	bl	_TREE_CODE
Lloh2:
	adrp	x20, _MULT_EXPR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MULT_EXPR@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x24, x0
	mov	x0, x22
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x25, x0
	mov	x22, x24
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_build_one_cst
	mov	x25, x0
LBB0_3:
	mov	x0, x23
	bl	_TREE_CODE
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x23
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x24, x0
	mov	x0, x23
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x26, x0
	mov	x23, x24
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_build_one_cst
	mov	x26, x0
LBB0_6:
	ldr	x24, [x28]
	mov	x0, x25
	mov	x1, x26
	mov	w2, #0
	bl	_operand_equal_p
	cbz	x0, LBB0_9
; %bb.7:
	mov	x28, x27
	mov	x27, x22
	mov	x21, x23
LBB0_8:
	mov	x24, x25
	b	LBB0_13
LBB0_9:
	mov	x0, x22
	mov	x1, x23
	mov	w2, #0
	bl	_operand_equal_p
	cbz	x0, LBB0_11
; %bb.10:
	mov	x28, x27
	mov	x27, x25
	mov	x21, x26
	mov	x24, x22
	b	LBB0_13
LBB0_11:
	mov	x0, x22
	mov	x1, x26
	mov	w2, #0
	bl	_operand_equal_p
	cbz	x0, LBB0_16
; %bb.12:
	mov	x28, x27
	mov	x27, x25
	mov	x21, x23
	mov	x24, x22
LBB0_13:
	cbz	x24, LBB0_15
; %bb.14:
	ldr	x22, [x20]
	mov	w20, w28
	mov	x0, x19
	mov	x1, x27
	bl	_fold_convert
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_fold_convert
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_fold_build2
	mov	x20, x0
	mov	x0, x19
	mov	x1, x24
	bl	_fold_convert
	mov	x3, x0
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_fold_build2
LBB0_15:
Lloh4:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_16:
	mov	x0, x25
	mov	x1, x23
	mov	w2, #0
	bl	_operand_equal_p
	cbz	x0, LBB0_18
; %bb.17:
	mov	x28, x27
	mov	x27, x22
	mov	x21, x26
	b	LBB0_8
LBB0_18:
	mov	x0, x25
	mov	w1, #0
	bl	_host_integerp
	mov	x28, x27
	cbz	x0, LBB0_23
; %bb.19:
	mov	x0, x26
	mov	w1, #0
	bl	_host_integerp
	cbz	x0, LBB0_23
; %bb.20:
	mov	x0, x25
	bl	_TREE_INT_CST_LOW
	mov	x27, x0
	mov	x0, x26
	bl	_TREE_INT_CST_LOW
	mov	x10, x27
	cmp	x27, #0
	cneg	x8, x27, mi
	cmp	x0, #0
	cneg	x9, x0, mi
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
	cmp	x8, x9
	csel	x8, x23, x22, lo
	str	x8, [sp]                        ; 8-byte Folded Spill
	csel	x27, x22, x21, lo
	csel	x8, x0, x10, lo
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	csel	x0, x10, x0, lo
	csel	x26, x25, x26, lo
	mov	x25, x0
	bl	_exact_log2
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.21:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	mov	x9, x25
	sdiv	x25, x8, x25
	msub	x8, x25, x9, x8
	cbnz	x8, LBB0_13
; %bb.22:
	ldr	x21, [x20]
	ldr	x27, [sp]                       ; 8-byte Folded Reload
	mov	x0, x27
	bl	_TREE_TYPE
	mov	x24, x0
	mov	x0, x27
	bl	_TREE_TYPE
	mov	x1, x25
	bl	_build_int_cst
	mov	x3, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x27
	bl	_fold_build2
	ldp	x9, x8, [sp, #8]                ; 16-byte Folded Reload
	cmp	x8, x9
	csel	x27, x22, x0, lo
	csel	x21, x0, x23, lo
	mov	x24, x26
	b	LBB0_13
LBB0_23:
	mov	x27, x21
	b	LBB0_13
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_MULT_EXPR,8,3                  ; @MULT_EXPR
	.no_dead_strip	_fold_plusminus_mult_expr
.subsections_via_symbols
