	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function may_eliminate_iv
_may_eliminate_iv:                      ## @may_eliminate_iv
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movq	(%rdx), %rax
	movq	(%rax), %rdi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	callq	_bb_for_stmt
	movl	%eax, %r12d
	movq	(%r14), %r15
	movl	%eax, %edi
	callq	_last_stmt
	cmpq	%rax, %r15
	jne	LBB0_9
## %bb.2:
	movq	%r14, %r13
	movq	(%r14), %rdi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	movq	_CDI_DOMINATORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %esi
	movl	%r12d, %edx
	callq	_dominated_by_p
	testl	%eax, %eax
	movl	$0, %edx
	je	LBB0_10
## %bb.4:
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	movq	%rax, %r14
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_flow_bb_inside_loop_p
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_EDGE_SUCC
	movq	%rax, %r14
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%r14), %esi
	callq	_flow_bb_inside_loop_p
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:
	xorl	%edx, %edx
LBB0_10:
	movl	%edx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_niter_for_exit
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_TYPE
	movl	%eax, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_iv_period
	testl	%eax, %eax
	je	LBB0_9
## %bb.13:
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_TREE_TYPE
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_TREE_TYPE
	movl	%r12d, %edi
	callq	_TYPE_PRECISION
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_TYPE_PRECISION
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	cmovll	%r15d, %r12d
	movq	_GE_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_boolean_type_node@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_fold_convert
	movl	%eax, %r14d
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_fold_convert
	movl	%r15d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_fold_build2
	movl	%eax, %edi
	callq	_integer_nonzerop
	testl	%eax, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$0, %edx
	je	LBB0_10
## %bb.14:
	movq	(%r13), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_cand_value_at
	movl	%eax, %edi
	callq	_fold_affine_expr
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$1, %edx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.comm	_CDI_DOMINATORS,4,2             ## @CDI_DOMINATORS
	.comm	_GE_EXPR,4,2                    ## @GE_EXPR
	.comm	_boolean_type_node,4,2          ## @boolean_type_node
	.no_dead_strip	_may_eliminate_iv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function may_eliminate_iv
_may_eliminate_iv:                      ; @may_eliminate_iv
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x21, [x0]
	ldr	x8, [x2]
	ldr	x0, [x8]
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
	ldr	x0, [x22]
	bl	_bb_for_stmt
	mov	x24, x0
	ldr	x25, [x22]
	bl	_last_stmt
	cmp	x25, x0
	b.ne	LBB0_7
; %bb.2:
	ldr	x0, [x22]
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _COND_EXPR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _CDI_DOMINATORS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CDI_DOMINATORS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x21]
	mov	x2, x24
	bl	_dominated_by_p
	cbz	w0, LBB0_8
; %bb.4:
	mov	x0, x24
	mov	w1, #0
	bl	_EDGE_SUCC
	mov	x25, x0
	ldr	w1, [x0]
	mov	x0, x21
	bl	_flow_bb_inside_loop_p
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x24
	mov	w1, #1
	bl	_EDGE_SUCC
	mov	x25, x0
LBB0_6:
	ldr	w1, [x25]
	mov	x0, x21
	bl	_flow_bb_inside_loop_p
	cbz	x0, LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
LBB0_9:
	mov	x0, x23
	mov	x1, x25
	bl	_niter_for_exit
	cbz	w0, LBB0_8
; %bb.10:
	mov	x23, x0
	bl	_TREE_TYPE
	mov	x25, x0
	ldr	x0, [x20]
	bl	_iv_period
	cbz	w0, LBB0_8
; %bb.11:
	mov	x24, x0
	bl	_TREE_TYPE
	mov	x26, x0
	mov	x0, x24
	bl	_TREE_TYPE
	mov	x0, x25
	bl	_TYPE_PRECISION
	mov	x27, x0
	mov	x0, x26
	bl	_TYPE_PRECISION
	cmp	x27, x0
	csel	w25, w26, w25, lt
Lloh9:
	adrp	x8, _GE_EXPR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GE_EXPR@GOTPAGEOFF]
Lloh11:
	ldr	w26, [x8]
Lloh12:
	adrp	x8, _boolean_type_node@GOTPAGE
Lloh13:
	ldr	x8, [x8, _boolean_type_node@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
	mov	x0, x25
	mov	x1, x24
	bl	_fold_convert
	mov	x24, x0
	mov	x0, x25
	mov	x1, x23
	bl	_fold_convert
	mov	x3, x0
	mov	x0, x26
	mov	x1, x27
	mov	x2, x24
	bl	_fold_build2
	bl	_integer_nonzerop
	cbz	w0, LBB0_8
; %bb.12:
	ldr	x2, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x23
	bl	_cand_value_at
	bl	_fold_affine_expr
	str	w0, [x19]
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.comm	_CDI_DOMINATORS,4,2             ; @CDI_DOMINATORS
	.comm	_GE_EXPR,4,2                    ; @GE_EXPR
	.comm	_boolean_type_node,4,2          ; @boolean_type_node
	.no_dead_strip	_may_eliminate_iv
.subsections_via_symbols
