	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function peel_loop_simple
_peel_loop_simple:                      ## @peel_loop_simple
	.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	%rsi, %r12
	movq	%rdi, %r13
	movl	(%rsi), %r15d
	movq	%rsi, %rdi
	callq	_get_simple_loop_desc
	movq	%rax, %r14
	movq	_flag_split_ivs_in_unroller@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	cmpl	$2, %r15d
	jb	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_analyze_insns_in_loop
	movq	%rax, %rbx
LBB0_3:
	leal	1(%r15), %edi
	callq	_sbitmap_alloc
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_sbitmap_zero
	movq	%rbx, %rdi
	callq	_opt_info_start_duplication
	movq	%r12, %rdi
	callq	_loop_preheader_edge
	movq	_DLTHE_FLAG_UPDATE_FREQ@GOTPCREL(%rip), %rcx
	movl	$0, %edx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	_DLTHE_RECORD_COPY_NUMBER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_5:
	orl	(%rcx), %edx
	movl	%edx, 16(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	callq	_duplicate_loop_to_header_edge
	movl	%eax, %edi
	callq	_gcc_assert
	movl	%r13d, %edi
	callq	_free
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_apply_opt_in_copies
	movq	%rbx, %rdi
	callq	_free_opt_info
LBB0_7:
	cmpq	$0, 24(%r14)
	je	LBB0_11
## %bb.8:
	cmpq	$0, 16(%r14)
	je	LBB0_10
## %bb.9:
	movl	(%r14), %edi
	subl	%r15d, %edi
	movl	%edi, (%r14)
	callq	_GEN_INT
	movl	%eax, 8(%r14)
	movq	_NULL_RTX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	callq	_free_simple_loop_desc
LBB0_11:
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flag_split_ivs_in_unroller,8,3 ## @flag_split_ivs_in_unroller
	.comm	_DLTHE_FLAG_UPDATE_FREQ,4,2     ## @DLTHE_FLAG_UPDATE_FREQ
	.comm	_DLTHE_RECORD_COPY_NUMBER,4,2   ## @DLTHE_RECORD_COPY_NUMBER
	.comm	_NULL_RTX,4,2                   ## @NULL_RTX
	.comm	_dump_file,8,3                  ## @dump_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	";; Peeling loop %d times\n"

	.no_dead_strip	_peel_loop_simple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function peel_loop_simple
_peel_loop_simple:                      ; @peel_loop_simple
	.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	x21, x1
	mov	x23, x0
	ldr	w19, [x1]
	mov	x0, x1
	bl	_get_simple_loop_desc
	mov	x20, x0
Lloh0:
	adrp	x8, _flag_split_ivs_in_unroller@GOTPAGE
Lloh1:
	ldr	x8, [x8, _flag_split_ivs_in_unroller@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w19, #2, #0, ne
	b.hs	LBB0_2
; %bb.1:
	mov	x22, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_analyze_insns_in_loop
	mov	x22, x0
LBB0_3:
	add	w0, w19, #1
	bl	_sbitmap_alloc
	mov	x24, x0
	bl	_sbitmap_zero
	mov	x0, x22
	bl	_opt_info_start_duplication
	mov	x0, x21
	bl	_loop_preheader_edge
	mov	x1, x0
Lloh3:
	adrp	x8, _DLTHE_FLAG_UPDATE_FREQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DLTHE_FLAG_UPDATE_FREQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DLTHE_RECORD_COPY_NUMBER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DLTHE_RECORD_COPY_NUMBER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x22, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
	str	w8, [sp]
	mov	x0, x21
	mov	x2, x23
	mov	x3, x19
	mov	x4, x24
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_duplicate_loop_to_header_edge
	bl	_gcc_assert
	mov	x0, x24
	bl	_free
	cbz	x22, LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_apply_opt_in_copies
	mov	x0, x22
	bl	_free_opt_info
LBB0_5:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w8, [x20]
	sub	w0, w8, w19
	str	w0, [x20]
	bl	_GEN_INT
Lloh9:
	adrp	x8, _NULL_RTX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NULL_RTX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #4]
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_free_simple_loop_desc
LBB0_9:
Lloh12:
	adrp	x8, _dump_file@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dump_file@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	cbz	x0, LBB0_11
; %bb.10:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	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
	b	_fprintf
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_flag_split_ivs_in_unroller,8,3 ; @flag_split_ivs_in_unroller
	.comm	_DLTHE_FLAG_UPDATE_FREQ,4,2     ; @DLTHE_FLAG_UPDATE_FREQ
	.comm	_DLTHE_RECORD_COPY_NUMBER,4,2   ; @DLTHE_RECORD_COPY_NUMBER
	.comm	_NULL_RTX,4,2                   ; @NULL_RTX
	.comm	_dump_file,8,3                  ; @dump_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	";; Peeling loop %d times\n"

	.no_dead_strip	_peel_loop_simple
.subsections_via_symbols
