	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_unroll_loops_completely   ## -- Begin function tree_unroll_loops_completely
	.p2align	4, 0x90
_tree_unroll_loops_completely:          ## @tree_unroll_loops_completely
	.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
	movl	(%rdi), %eax
	cmpl	$1, %eax
	jbe	LBB0_1
## %bb.3:
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	movl	$1, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_UL_NO_GROWTH@GOTPCREL(%rip), %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rcx), %ecx
	xorl	%r8d, %r8d
	movq	_flag_tree_loop_ivcanon@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	sete	%r8b
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_canonicalize_loop_induction_variables
	orl	%eax, %r12d
	movl	(%r15), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edi
	callq	_maybe_hot_bb_p
	movq	_UL_ALL@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	callq	_scev_reset
	jmp	LBB0_2
LBB0_10:
	xorl	%eax, %eax
	callq	_scev_reset
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.11:
	movq	_TODO_cleanup_cfg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_2:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UL_ALL,4,2                     ## @UL_ALL
	.comm	_UL_NO_GROWTH,4,2               ## @UL_NO_GROWTH
	.comm	_flag_tree_loop_ivcanon,4,2     ## @flag_tree_loop_ivcanon
	.comm	_TODO_cleanup_cfg,4,2           ## @TODO_cleanup_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_unroll_loops_completely   ; -- Begin function tree_unroll_loops_completely
	.p2align	2
_tree_unroll_loops_completely:          ; @tree_unroll_loops_completely
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0]
	cmp	w8, #1
	b.ls	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w22, #0
	mov	w23, #1
Lloh0:
	adrp	x24, _UL_NO_GROWTH@GOTPAGE
Lloh1:
	ldr	x24, [x24, _UL_NO_GROWTH@GOTPAGEOFF]
Lloh2:
	adrp	x25, _flag_tree_loop_ivcanon@GOTPAGE
Lloh3:
	ldr	x25, [x25, _flag_tree_loop_ivcanon@GOTPAGEOFF]
Lloh4:
	adrp	x26, _UL_ALL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _UL_ALL@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x24
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [x8]
	ldr	w8, [x25]
	cmp	w8, #0
	cset	w4, eq
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_canonicalize_loop_induction_variables
	orr	w22, w0, w22
	ldr	w8, [x20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, uxtw
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x21, [x9, x23, lsl #3]
	cbz	x21, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w19, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	bl	_maybe_hot_bb_p
	mov	x8, x26
	cbnz	x0, LBB0_3
	b	LBB0_2
LBB0_8:
	bl	_scev_reset
	b	LBB0_11
LBB0_9:
	bl	_scev_reset
	cbz	w22, LBB0_11
; %bb.10:
Lloh6:
	adrp	x8, _TODO_cleanup_cfg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TODO_cleanup_cfg@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UL_ALL,4,2                     ; @UL_ALL
	.comm	_UL_NO_GROWTH,4,2               ; @UL_NO_GROWTH
	.comm	_flag_tree_loop_ivcanon,4,2     ; @flag_tree_loop_ivcanon
	.comm	_TODO_cleanup_cfg,4,2           ; @TODO_cleanup_cfg
.subsections_via_symbols
