	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_use_iv_cost_condition
_determine_use_iv_cost_condition:       ## @determine_use_iv_cost_condition
	.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	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%r9, -64(%rbp)
	movq	$0, -48(%rbp)
	cmpl	$0, (%rdx)
	je	LBB0_1
## %bb.2:
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_may_eliminate_iv
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_force_var_cost
	movl	%eax, %ebx
	movq	-48(%rbp), %r8
	movq	-64(%rbp), %r9
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	%eax, %ecx
	jmp	LBB0_11
LBB0_1:
	movq	_INFTY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	callq	_set_use_iv_cost
	jmp	LBB0_12
LBB0_4:
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_get_computation_cost
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %r12
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_iv
	movl	8(%rax), %edi
	callq	_zero_p
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rax, %r12
	movq	%rax, -56(%rbp)
LBB0_8:
	movq	%r12, %rdi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_iv
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_fd_ivopts_data@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	movq	_find_depends@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_walk_tree
LBB0_10:
	movq	-48(%rbp), %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	xorl	%r9d, %r9d
LBB0_11:
	callq	_set_use_iv_cost
	movq	_INFTY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setne	%bl
LBB0_12:
	movzbl	%bl, %eax
	addq	$40, %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	_INFTY,4,2                      ## @INFTY
	.comm	_SSA_NAME,8,3                   ## @SSA_NAME
	.comm	_fd_ivopts_data,8,3             ## @fd_ivopts_data
	.comm	_find_depends,4,2               ## @find_depends
	.no_dead_strip	_determine_use_iv_cost_condition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_use_iv_cost_condition
_determine_use_iv_cost_condition:       ; @determine_use_iv_cost_condition
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh2:
	ldr	x5, [x8]
	str	x5, [sp, #24]
	str	xzr, [sp, #8]
	ldr	w8, [x2]
	cbz	w8, LBB0_3
; %bb.1:
	add	x3, sp, #24
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_may_eliminate_iv
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x1, [sp, #24]
	add	x2, sp, #8
	mov	x0, x21
	bl	_force_var_cost
	mov	x22, x0
	ldr	x4, [sp, #8]
	ldr	x5, [sp, #24]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	b	LBB0_11
LBB0_3:
Lloh3:
	adrp	x8, _INFTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFTY@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x4, #0
	bl	_set_use_iv_cost
	mov	w0, #0
	b	LBB0_12
LBB0_4:
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_get_computation_cost
	mov	x22, x0
	ldr	x8, [x20]
	ldr	x23, [x8]
	mov	x0, x23
	bl	_TREE_CODE
Lloh6:
	adrp	x25, _SSA_NAME@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SSA_NAME@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.5:
	mov	x0, x23
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x24, x0
	str	x0, [sp, #16]
	bl	_TREE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x21
	mov	x1, x24
	bl	_get_iv
	ldr	w0, [x0, #8]
	bl	_zero_p
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x23
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x24, x0
	str	x0, [sp, #16]
LBB0_8:
	mov	x0, x24
	bl	_TREE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x21
	mov	x1, x24
	bl	_get_iv
	ldr	x8, [x0]
	str	x8, [sp, #16]
Lloh8:
	adrp	x8, _fd_ivopts_data@GOTPAGE
Lloh9:
	ldr	x8, [x8, _fd_ivopts_data@GOTPAGEOFF]
Lloh10:
	str	x21, [x8]
Lloh11:
	adrp	x8, _find_depends@GOTPAGE
Lloh12:
	ldr	x8, [x8, _find_depends@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x0, sp, #16
	add	x2, sp, #8
	mov	x3, #0
	bl	_walk_tree
LBB0_10:
	ldr	x4, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	mov	x5, #0
LBB0_11:
	bl	_set_use_iv_cost
Lloh14:
	adrp	x8, _INFTY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INFTY@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w22, w8
	cset	w0, ne
LBB0_12:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_INFTY,4,2                      ; @INFTY
	.comm	_SSA_NAME,8,3                   ; @SSA_NAME
	.comm	_fd_ivopts_data,8,3             ; @fd_ivopts_data
	.comm	_find_depends,4,2               ; @find_depends
	.no_dead_strip	_determine_use_iv_cost_condition
.subsections_via_symbols
