	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function schedule_sm
_schedule_sm:                           ## @schedule_sm
	.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	%r8, %rbx
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	%ecx, -44(%rbp)
	movq	_dump_file@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	_dump_flags@GOTPCREL(%rip), %rax
	movq	_TDF_DETAILS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r14), %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_print_generic_expr
	movq	(%r14), %rdi
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_3:
	movl	%r13d, %edi
	callq	_TREE_TYPE
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_get_lsm_tmp_name
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_make_rename_temp
	movl	%eax, %r14d
	movq	%r15, -64(%rbp)
	movq	%r15, -72(%rbp)
	movq	_force_move_till@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	leaq	-72(%rbp), %rdx
	callq	_for_each_index
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_rewrite_mem_refs
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edi
	callq	_LIM_DATA
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edi
	callq	_LIM_DATA
	movl	$1, (%rax)
	jmp	LBB0_7
LBB0_8:
	movq	_MODIFY_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_void_type_node@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %ecx
	movl	%r14d, %edx
	callq	_build2
	movl	%eax, %ebx
	movl	$1, %edi
	movl	$4, %esi
	callq	_xcalloc
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_get_stmt_ann
	movl	%r14d, (%rax)
	movl	%ebx, %edi
	callq	_LIM_DATA
	movq	%r15, 16(%rax)
	movl	%ebx, %edi
	callq	_LIM_DATA
	movq	%r15, 8(%rax)
	movq	%r15, %rdi
	callq	_loop_latch_edge
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_bsi_insert_on_edge
	testl	%r12d, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_11
## %bb.9:
	movl	%r12d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_MODIFY_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_void_type_node@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-44(%rbp), %edi
	callq	_unshare_expr
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_build2
	movl	(%r13,%r12,4), %edi
	movl	%eax, %esi
	callq	_bsi_insert_on_edge
	incq	%r12
	cmpq	%r12, %r15
	jne	LBB0_10
LBB0_11:
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Executing store motion of "

L_.str.1:                               ## @.str.1
	.asciz	" from loop %d\n"

	.comm	_force_move_till,4,2            ## @force_move_till
	.comm	_MODIFY_EXPR,4,2                ## @MODIFY_EXPR
	.comm	_void_type_node,4,2             ## @void_type_node
	.no_dead_strip	_schedule_sm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function schedule_sm
_schedule_sm:                           ; @schedule_sm
	.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	x23, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	w3, [sp, #28]
Lloh0:
	adrp	x24, _dump_file@GOTPAGE
Lloh1:
	ldr	x24, [x24, _dump_file@GOTPAGEOFF]
	ldr	x0, [x24]
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _dump_flags@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dump_flags@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _TDF_DETAILS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TDF_DETAILS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	x0, [x24]
	mov	x1, x22
	mov	w2, #0
	bl	_print_generic_expr
	ldr	x0, [x24]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_3:
	mov	x0, x22
	bl	_TREE_TYPE
	mov	x24, x0
	mov	x0, x22
	bl	_get_lsm_tmp_name
	mov	x1, x0
	mov	x0, x24
	bl	_make_rename_temp
	mov	x22, x0
	stp	x21, x21, [sp, #8]
Lloh12:
	adrp	x8, _force_move_till@GOTPAGE
Lloh13:
	ldr	x8, [x8, _force_move_till@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #28
	add	x2, sp, #8
	bl	_for_each_index
	mov	x0, x22
	mov	x1, x23
	bl	_rewrite_mem_refs
	cbz	x23, LBB0_8
; %bb.4:
	mov	w24, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x23, #8]
	cbz	x23, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_LIM_DATA
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x23]
	bl	_LIM_DATA
	str	w24, [x0]
	b	LBB0_5
LBB0_8:
Lloh15:
	adrp	x25, _MODIFY_EXPR@GOTPAGE
Lloh16:
	ldr	x25, [x25, _MODIFY_EXPR@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh17:
	adrp	x26, _void_type_node@GOTPAGE
Lloh18:
	ldr	x26, [x26, _void_type_node@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w3, [sp, #28]
	mov	x2, x22
	bl	_build2
	mov	x23, x0
	mov	w0, #1
	mov	w1, #4
	bl	_xcalloc
	mov	x24, x0
	mov	x0, x23
	bl	_get_stmt_ann
	str	w24, [x0]
	mov	x0, x23
	bl	_LIM_DATA
	str	x21, [x0, #16]
	mov	x0, x23
	bl	_LIM_DATA
	str	x21, [x0, #8]
	mov	x0, x21
	bl	_loop_latch_edge
	mov	x1, x23
	bl	_bsi_insert_on_edge
	cbz	w20, LBB0_11
; %bb.9:
	mov	w23, w20
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x25]
	ldr	w21, [x26]
	ldr	w0, [sp, #28]
	bl	_unshare_expr
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_build2
	mov	x1, x0
	ldr	w0, [x19], #4
	bl	_bsi_insert_on_edge
	subs	x23, x23, #1
	b.ne	LBB0_10
LBB0_11:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Executing store motion of "

l_.str.1:                               ; @.str.1
	.asciz	" from loop %d\n"

	.comm	_force_move_till,4,2            ; @force_move_till
	.comm	_MODIFY_EXPR,4,2                ; @MODIFY_EXPR
	.comm	_void_type_node,4,2             ; @void_type_node
	.no_dead_strip	_schedule_sm
.subsections_via_symbols
