	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cancel_loop
_cancel_loop:                           ## @cancel_loop
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$0, 20(%rsi)
	sete	%dil
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_get_loop_body
	movl	(%r15), %esi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movl	16(%r15), %ecx
	leaq	-1(%rsi), %rdi
	movl	%esi, %edx
	andl	$7, %edx
	cmpq	$7, %rdi
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	andl	$-8, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	movq	8(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	movq	16(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	movq	24(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	movq	32(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	movq	40(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	movq	48(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	movq	56(%rax,%rdi,8), %rbx
	movl	%ecx, (%rbx)
	addq	$8, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_4
LBB0_5:
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.6:
	leaq	(%rax,%rdi,8), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rsi,8), %rdi
	movl	%ecx, (%rdi)
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	callq	_flow_loop_tree_node_remove
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flow_loop_free                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cancel_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cancel_loop
_cancel_loop:                           ; @cancel_loop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1, #20]
	cmp	w8, #0
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x19
	bl	_get_loop_body
	ldr	w9, [x19]
	cbz	w9, LBB0_8
; %bb.1:
	ldr	w8, [x19, #16]
	cmp	w9, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x9, #0xfffffffc
	add	x11, x0, #16
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x13, x14, [x11, #-16]
	ldp	x15, x16, [x11], #32
	str	w8, [x13]
	str	w8, [x14]
	str	w8, [x15]
	str	w8, [x16]
	subs	x12, x12, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_6:
	add	x11, x0, x10, lsl #3
	sub	x9, x9, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x11], #8
	str	w8, [x10]
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_flow_loop_tree_node_remove
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_flow_loop_free
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cancel_loop
.subsections_via_symbols
