	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_ssa_iv_optimize           ## -- Begin function tree_ssa_iv_optimize
	.p2align	4, 0x90
_tree_ssa_iv_optimize:                  ## @tree_ssa_iv_optimize
	.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
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdi
	callq	_tree_ssa_iv_optimize_init
	movq	(%r14), %rax
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_1
## %bb.2:
	cmpq	%rax, %rbx
	je	LBB0_11
## %bb.3:
	movq	_dump_file@GOTPCREL(%rip), %r12
	leaq	-48(%rbp), %r15
	movq	_TDF_DETAILS@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rbx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	(%r14), %rbx
	je	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %eax
	movq	_dump_flags@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_flow_loop_dump
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_tree_ssa_iv_optimize_loop
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_10
LBB0_11:
	leaq	-48(%rbp), %rdi
	callq	_tree_ssa_iv_optimize_finalize
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_file,8,3                  ## @dump_file
	.comm	_dump_flags,4,2                 ## @dump_flags
	.comm	_TDF_DETAILS,4,2                ## @TDF_DETAILS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_ssa_iv_optimize           ; -- Begin function tree_ssa_iv_optimize
	.p2align	2
_tree_ssa_iv_optimize:                  ; @tree_ssa_iv_optimize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	add	x0, sp, #8
	bl	_tree_ssa_iv_optimize_init
	ldr	x8, [x19]
	mov	x9, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x9
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_1
; %bb.2:
	cmp	x20, x8
	b.eq	LBB0_11
; %bb.3:
Lloh0:
	adrp	x21, _dump_file@GOTPAGE
Lloh1:
	ldr	x21, [x21, _dump_file@GOTPAGEOFF]
Lloh2:
	adrp	x22, _dump_flags@GOTPAGE
Lloh3:
	ldr	x22, [x22, _dump_flags@GOTPAGEOFF]
Lloh4:
	adrp	x23, _TDF_DETAILS@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TDF_DETAILS@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x20, [x20]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	cmp	x20, x8
	b.eq	LBB0_11
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x1, [x21]
	cbz	x1, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x2, #0
	mov	w3, #1
	bl	_flow_loop_dump
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	mov	x1, x20
	bl	_tree_ssa_iv_optimize_loop
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x20, x8
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_10
	b	LBB0_5
LBB0_11:
	add	x0, sp, #8
	bl	_tree_ssa_iv_optimize_finalize
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_file,8,3                  ; @dump_file
	.comm	_dump_flags,4,2                 ; @dump_flags
	.comm	_TDF_DETAILS,4,2                ; @TDF_DETAILS
.subsections_via_symbols
