	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loop_version                   ## -- Begin function loop_version
	.p2align	4, 0x90
_loop_version:                          ## @loop_version
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 32(%rsi)
	je	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_2:
	movq	%r15, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_loop_preheader_edge
	movq	%rax, %r12
	movl	(%rax), %ecx
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	notl	%eax
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	andl	%ecx, %eax
	movl	%eax, (%r12)
	movq	8(%r12), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	$0, 16(%rsp)
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cfg_hook_duplicate_loop_to_header_edge
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movq	8(%r12), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_lv_adjust_loop_entry_edge
	movq	%rax, %r15
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, (%rax)
LBB0_6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	andl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	testq	%r15, %r15
	je	LBB0_17
## %bb.7:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rdi
	callq	_get_bb_copy
	movq	%rax, %rdi
	callq	_single_succ_edge
	movq	%rax, %r14
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_extract_cond_bb_edges
	movq	24(%rbx), %rdi
	callq	_get_bb_copy
	movq	%rax, %rdi
	callq	_single_pred_edge
	movq	-72(%rbp), %r8
	movq	-56(%rbp), %r9
	movl	$0, (%rsp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rax, %rdx
	movq	%r15, %r12
	movq	%r15, %rcx
	callq	_loopify
	movq	%rax, %r15
	movq	%rbx, %r13
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	16(%rbx), %rdi
	callq	_get_bb_copy
	movq	8(%rbx), %rsi
	movq	%rax, %rdi
	callq	_find_edge
	movq	%rax, 16(%r15)
LBB0_9:
	movq	%r14, %rdi
	callq	_lv_flush_pending_stmts
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	callq	_extract_cond_bb_edges
	movq	-56(%rbp), %rdi
	callq	_lv_flush_pending_stmts
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	movq	_BB_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%r13, %rdi
	callq	_loop_preheader_edge
	orl	%ebx, (%rax)
	movl	(%r14), %ebx
	movq	%r15, %rdi
	callq	_loop_preheader_edge
	orl	%ebx, (%rax)
	movl	(%r14), %ebx
	movq	%r12, %rdi
	callq	_single_pred_edge
	orl	%ebx, (%rax)
LBB0_11:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
## %bb.12:
	movq	%r15, %rdi
	callq	_get_loop_body_in_dom_order
	movq	%rax, %r14
	cmpl	$0, (%r15)
	je	LBB0_15
## %bb.13:
	leaq	8(%r13), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	movq	(%rcx), %rsi
	movq	(%rax), %rdi
	callq	_move_block_after
	incq	%rbx
	movl	(%r15), %edx
	leaq	8(%r12), %rax
	movq	%r12, %rcx
	cmpq	%rdx, %rbx
	jb	LBB0_14
LBB0_15:
	movq	%r14, %rdi
	callq	_free
LBB0_16:
	movq	%r13, %rdi
	callq	_loop_preheader_edge
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_loop_split_edge_with
	movq	%r15, %rdi
	callq	_loop_preheader_edge
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_loop_split_edge_with
	jmp	LBB0_2
LBB0_17:
	orl	%eax, (%r12)
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ## @EDGE_IRREDUCIBLE_LOOP
	.comm	_BB_IRREDUCIBLE_LOOP,4,2        ## @BB_IRREDUCIBLE_LOOP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loop_version                   ; -- Begin function loop_version
	.p2align	2
_loop_version:                          ; @loop_version
	.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
	ldr	x8, [x1, #32]
	cbz	x8, LBB0_3
LBB0_1:
	mov	x21, #0
LBB0_2:
	mov	x0, x21
	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
LBB0_3:
	mov	x20, x4
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_loop_preheader_edge
	mov	x24, x0
	ldr	w27, [x0]
Lloh0:
	adrp	x26, _EDGE_IRREDUCIBLE_LOOP@GOTPAGE
Lloh1:
	ldr	x26, [x26, _EDGE_IRREDUCIBLE_LOOP@GOTPAGEOFF]
	ldr	w28, [x26]
	bic	w8, w27, w28
	str	w8, [x0]
	ldr	x25, [x0, #8]
	str	wzr, [sp]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
	mov	w3, #1
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_cfg_hook_duplicate_loop_to_header_edge
	cbz	w0, LBB0_1
; %bb.4:
	ldr	x1, [x24, #8]
	mov	x0, x25
	mov	x2, x24
	mov	x3, x22
	bl	_lv_adjust_loop_entry_edge
	mov	x22, x0
	cbz	x23, LBB0_6
; %bb.5:
	str	x22, [x23]
LBB0_6:
	and	w25, w28, w27
	cbz	x22, LBB0_17
; %bb.7:
	mov	x24, x19
	ldr	x0, [x24, #8]!
	bl	_get_bb_copy
	bl	_single_succ_edge
	mov	x23, x0
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x22
	bl	_extract_cond_bb_edges
	ldr	x0, [x24, #16]
	bl	_get_bb_copy
	bl	_single_pred_edge
	mov	x2, x0
	ldp	x5, x4, [sp, #16]
	mov	x0, x21
	mov	x1, x23
	mov	x3, x22
	mov	w6, #0
	bl	_loopify
	mov	x21, x0
	ldr	x27, [x24, #8]
	cbz	x27, LBB0_9
; %bb.8:
	ldr	x0, [x27, #16]
	bl	_get_bb_copy
	ldr	x1, [x27, #8]
	bl	_find_edge
	str	x0, [x21, #16]
LBB0_9:
	mov	x0, x23
	bl	_lv_flush_pending_stmts
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x22
	bl	_extract_cond_bb_edges
	ldr	x0, [sp, #16]
	bl	_lv_flush_pending_stmts
	cbz	w25, LBB0_11
; %bb.10:
Lloh2:
	adrp	x8, _BB_IRREDUCIBLE_LOOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BB_IRREDUCIBLE_LOOP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	ldr	w23, [x26]
	mov	x0, x19
	bl	_loop_preheader_edge
	ldr	w8, [x0]
	orr	w8, w8, w23
	str	w8, [x0]
	ldr	w23, [x26]
	mov	x0, x21
	bl	_loop_preheader_edge
	ldr	w8, [x0]
	orr	w8, w8, w23
	str	w8, [x0]
	ldr	w23, [x26]
	mov	x0, x22
	bl	_single_pred_edge
	ldr	w8, [x0]
	orr	w8, w8, w23
	str	w8, [x0]
LBB0_11:
	cbz	w20, LBB0_16
; %bb.12:
	mov	x0, x21
	bl	_get_loop_body_in_dom_order
	mov	x20, x0
	ldr	w8, [x21]
	cbz	w8, LBB0_15
; %bb.13:
	mov	x22, #0
	mov	x23, x20
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x23
	ldr	x1, [x24]
	ldr	x0, [x23], #8
	bl	_move_block_after
	add	x22, x22, #1
	ldr	w8, [x21]
	mov	x24, x25
	cmp	x22, x8
	b.lo	LBB0_14
LBB0_15:
	mov	x0, x20
	bl	_free
LBB0_16:
	mov	x0, x19
	bl	_loop_preheader_edge
	mov	x1, #0
	bl	_loop_split_edge_with
	mov	x0, x21
	bl	_loop_preheader_edge
	mov	x1, #0
	bl	_loop_split_edge_with
	b	LBB0_2
LBB0_17:
	mov	x21, #0
	ldr	w8, [x24]
	orr	w8, w8, w25
	str	w8, [x24]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ; @EDGE_IRREDUCIBLE_LOOP
	.comm	_BB_IRREDUCIBLE_LOOP,4,2        ; @BB_IRREDUCIBLE_LOOP
.subsections_via_symbols
