	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pipeline_cancel                ## -- Begin function Pipeline_cancel
	.p2align	4, 0x90
_Pipeline_cancel:                       ## @Pipeline_cancel
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movslq	(%rdi), %rbx
	cmpl	4(%rdi), %ebx
	jge	LBB0_8
## %bb.1:
	shlq	$2, %rbx
	addq	8(%r15), %rbx
	leaq	L_.str(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_Py_DECREF
	movq	%r12, %rdi
	callq	_Py_XDECREF
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rbx
	movslq	4(%r15), %rax
	shlq	$2, %rax
	addq	8(%r15), %rax
	cmpq	%rax, %rbx
	jae	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_PipelineEntry_is_task
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_PipelineEntry_get_task
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_PyObject_GetAttrString
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_PyObject_CallFunctionObjArgs
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	callq	_Py_XDECREF
	xorl	%r15d, %r15d
LBB0_8:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cancel"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pipeline_cancel                ; -- Begin function Pipeline_cancel
	.p2align	2
_Pipeline_cancel:                       ; @Pipeline_cancel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w8, w9, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.1:
	ldr	x9, [x19, #8]
	add	x22, x9, x8, lsl #2
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_Py_DECREF
	mov	x0, x21
	bl	_Py_XDECREF
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #4
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #4]
	add	x8, x8, x9, lsl #2
	cmp	x22, x8
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_PipelineEntry_is_task
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	bl	_PipelineEntry_get_task
	mov	x1, x20
	bl	_PyObject_GetAttrString
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, #0
	bl	_PyObject_CallFunctionObjArgs
	cbnz	x0, LBB0_2
LBB0_7:
	mov	x0, x21
	bl	_Py_XDECREF
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cancel"

.subsections_via_symbols
