	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_slpeel_tree_peel_loop_to_edge  ## -- Begin function slpeel_tree_peel_loop_to_edge
	.p2align	4, 0x90
_slpeel_tree_peel_loop_to_edge:         ## @slpeel_tree_peel_loop_to_edge
	.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
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	%rdx, %rsi
	callq	_slpeel_can_duplicate_loop_p
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_tree_register_cfg_hooks
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_slpeel_tree_duplicate_loop_to_edge_cfg
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	cmpq	%r14, %r13
	sete	%r12b
	movq	%rbx, %rax
	cmoveq	%r15, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	cmoveq	%rbx, %r14
	xorl	%eax, %eax
	callq	_ssa_names_to_replace
	movl	%eax, -60(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_slpeel_update_phis_for_duplicate_loop
	movq	%r15, %rdi
	callq	_rename_variables_in_loop
	movq	%r14, %rdi
	callq	_loop_preheader_edge
	movq	%rax, %rdi
	callq	_split_edge
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r14), %esi
	movl	%eax, %edi
	callq	_add_bb_to_loop
	movq	(%r14), %rdi
	callq	_split_edge
	movl	%eax, %ebx
	movl	8(%r14), %esi
	movl	%eax, %edi
	callq	_add_bb_to_loop
	movq	_LE_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_boolean_type_node@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_build_int_cst
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_fold_build2
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_slpeel_add_loop_guard
	xorl	%edx, %edx
	cmpq	%r15, %r14
	sete	%dl
	leaq	-56(%rbp), %rcx
	leaq	-60(%rbp), %r8
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_slpeel_update_phi_nodes_for_guard1
	movl	-56(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	callq	_split_edge
	movl	%eax, %ebx
	movl	8(%r13), %esi
	movl	%eax, %edi
	callq	_add_bb_to_loop
	movq	_EQ_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_boolean_type_node@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	callq	_fold_build2
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_slpeel_add_loop_guard
	xorl	%edx, %edx
	cmpq	%r15, %r13
	sete	%dl
	movq	%rax, %rdi
	movq	%r13, %rsi
	leaq	-56(%rbp), %rcx
	callq	_slpeel_update_phi_nodes_for_guard2
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_slpeel_make_loop_iterate_ntimes
LBB0_4:
	movl	-60(%rbp), %edi
	callq	_BITMAP_FREE
	xorl	%eax, %eax
	callq	_delete_update_ssa
	jmp	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_find_loop_location
	movq	_dump_file@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.8:
	movq	%rax, %r14
	movq	_dump_flags@GOTPCREL(%rip), %rax
	movq	_TDF_DETAILS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.9:
	movq	_UNKNOWN_LOC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_LOC_FILE
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_LOC_LINE
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r12), %rbx
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_6
LBB0_5:
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r15, %rax
	addq	$40, %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
	.comm	_UNKNOWN_LOC,8,3                ## @UNKNOWN_LOC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n%s:%d: note: "

L_.str.1:                               ## @.str.1
	.asciz	"tree_duplicate_loop_to_edge_cfg failed.\n"

	.comm	_LE_EXPR,4,2                    ## @LE_EXPR
	.comm	_boolean_type_node,4,2          ## @boolean_type_node
	.comm	_EQ_EXPR,4,2                    ## @EQ_EXPR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_slpeel_tree_peel_loop_to_edge  ; -- Begin function slpeel_tree_peel_loop_to_edge
	.p2align	2
_slpeel_tree_peel_loop_to_edge:         ; @slpeel_tree_peel_loop_to_edge
	.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	x21, x5
	mov	x22, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x25, x0
	ldr	x24, [x0]
	mov	x1, x2
	bl	_slpeel_can_duplicate_loop_p
	cbz	w0, LBB0_10
; %bb.1:
	bl	_tree_register_cfg_hooks
	mov	x0, x25
	mov	x1, x19
	mov	x2, x23
	bl	_slpeel_tree_duplicate_loop_to_edge_cfg
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	cmp	x24, x23
	csel	x24, x0, x25, eq
	cset	w26, eq
	csel	x23, x25, x0, eq
	bl	_ssa_names_to_replace
	str	w0, [sp, #28]
	mov	x0, x25
	mov	x1, x19
	mov	x2, x26
	bl	_slpeel_update_phis_for_duplicate_loop
	mov	x0, x19
	bl	_rename_variables_in_loop
	mov	x0, x23
	bl	_loop_preheader_edge
	bl	_split_edge
	mov	x25, x0
	ldr	w1, [x23, #8]
	bl	_add_bb_to_loop
	ldr	x0, [x23]
	bl	_split_edge
	mov	x26, x0
	ldr	w1, [x23, #8]
	bl	_add_bb_to_loop
Lloh0:
	adrp	x8, _LE_EXPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LE_EXPR@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x8, _boolean_type_node@GOTPAGE
Lloh4:
	ldr	x8, [x8, _boolean_type_node@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	mov	x0, x20
	bl	_TREE_TYPE
	mov	w1, #0
	bl	_build_int_cst
	mov	x3, x0
	mov	x0, x27
	mov	x1, x28
	mov	x2, x20
	bl	_fold_build2
	mov	x1, x0
	mov	x0, x25
	mov	x2, x26
	mov	x3, x25
	bl	_slpeel_add_loop_guard
	cmp	x23, x19
	cset	w2, eq
	add	x3, sp, #24
	add	x4, sp, #28
	mov	x1, x23
	bl	_slpeel_update_phi_nodes_for_guard1
	ldr	w26, [sp, #24]
	ldr	x0, [x24]
	bl	_split_edge
	mov	x27, x0
	ldr	w1, [x24, #8]
	bl	_add_bb_to_loop
Lloh6:
	adrp	x8, _EQ_EXPR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EQ_EXPR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _boolean_type_node@GOTPAGE
Lloh10:
	ldr	x8, [x8, _boolean_type_node@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x20
	mov	x3, x22
	bl	_fold_build2
	mov	x1, x0
	mov	x0, x26
	mov	x2, x27
	mov	x3, x25
	bl	_slpeel_add_loop_guard
	cmp	x24, x19
	cset	w2, eq
	add	x3, sp, #24
	mov	x1, x24
	bl	_slpeel_update_phi_nodes_for_guard2
	cbz	w21, LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, x20
	bl	_slpeel_make_loop_iterate_ntimes
LBB0_4:
	ldr	w0, [sp, #28]
	bl	_BITMAP_FREE
	bl	_delete_update_ssa
	b	LBB0_11
LBB0_5:
	mov	x0, x25
	bl	_find_loop_location
Lloh12:
	adrp	x22, _dump_file@GOTPAGE
Lloh13:
	ldr	x22, [x22, _dump_file@GOTPAGEOFF]
	ldr	x19, [x22]
	cbz	x19, LBB0_11
; %bb.6:
Lloh14:
	adrp	x8, _dump_flags@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dump_flags@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _TDF_DETAILS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TDF_DETAILS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
	mov	x20, x0
Lloh20:
	adrp	x8, _UNKNOWN_LOC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _UNKNOWN_LOC@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_LOC_FILE
	mov	x21, x0
	mov	x0, x20
	bl	_LOC_LINE
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	ldr	x19, [x22]
LBB0_9:
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
LBB0_10:
	mov	x19, #0
LBB0_11:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.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
	.comm	_UNKNOWN_LOC,8,3                ; @UNKNOWN_LOC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n%s:%d: note: "

l_.str.1:                               ; @.str.1
	.asciz	"tree_duplicate_loop_to_edge_cfg failed.\n"

	.comm	_LE_EXPR,4,2                    ; @LE_EXPR
	.comm	_boolean_type_node,4,2          ; @boolean_type_node
	.comm	_EQ_EXPR,4,2                    ; @EQ_EXPR
.subsections_via_symbols
