	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unloop
_unloop:                                ## @unloop
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	32(%rsi), %r15
	movl	$0, -44(%rbp)
	movq	%rsi, %rdi
	callq	_loop_preheader_edge
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	$1, (%rbx)
LBB0_2:
	movq	%r13, %rdi
	callq	_get_loop_body
	movq	%rax, %r12
	movl	(%r13), %ebx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	%r14, %rbx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rdi
	cmpq	%r13, (%rdi)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_remove_bb_from_loops
	movq	(%r12,%r14,8), %rdi
	movl	16(%r13), %esi
	callq	_add_bb_to_loop
	jmp	LBB0_6
LBB0_7:
	movq	%r12, %rdi
	callq	_free
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_flow_loop_tree_node_remove
	movl	16(%r13), %edi
	movq	%rbx, %rsi
	callq	_flow_loop_tree_node_add
	jmp	LBB0_9
LBB0_10:
	movq	%r13, %rdi
	callq	_flow_loop_tree_node_remove
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	8(%r13), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	%r13, %rdi
	callq	_flow_loop_free
	movq	%r15, %rdi
	callq	_single_succ_edge
	movl	%eax, %edi
	callq	_remove_edge
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fix_bb_placements
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ## @EDGE_IRREDUCIBLE_LOOP
	.no_dead_strip	_unloop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unloop
_unloop:                                ; @unloop
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x1, #32]
	str	wzr, [sp, #12]
	mov	x0, x1
	bl	_loop_preheader_edge
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _EDGE_IRREDUCIBLE_LOOP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EDGE_IRREDUCIBLE_LOOP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x22]
LBB0_2:
	mov	x0, x21
	bl	_get_loop_body
	mov	x22, x0
	ldr	w23, [x21]
	cbz	w23, LBB0_7
; %bb.3:
	mov	x24, x22
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #8
	subs	x23, x23, #1
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	x8, [x0]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_remove_bb_from_loops
	ldr	x0, [x24]
	ldr	w1, [x21, #16]
	bl	_add_bb_to_loop
	b	LBB0_4
LBB0_7:
	mov	x0, x22
	bl	_free
	ldr	x22, [x21, #24]
	cbz	x22, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_flow_loop_tree_node_remove
	ldr	w0, [x21, #16]
	mov	x1, x22
	bl	_flow_loop_tree_node_add
	ldr	x22, [x21, #24]
	cbnz	x22, LBB0_8
LBB0_9:
	mov	x0, x21
	bl	_flow_loop_tree_node_remove
	ldr	x8, [x19]
	ldr	x9, [x21, #8]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_flow_loop_free
	mov	x0, x20
	bl	_single_succ_edge
	bl	_remove_edge
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_fix_bb_placements
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ; @EDGE_IRREDUCIBLE_LOOP
	.no_dead_strip	_unloop
.subsections_via_symbols
