	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Pipeline__task_done
_Pipeline__task_done:                   ## @Pipeline__task_done
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_Py_True@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	16(%rdi), %rax
	movslq	(%rdi), %rcx
	leaq	(%rax,%rcx,4), %r14
	cmpl	4(%rdi), %ecx
	jge	LBB0_19
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_PipelineEntry_is_task
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	callq	_PipelineEntry_get_task
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_PyObject_GetAttrString
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_PyObject_CallFunctionObjArgs
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	movq	_Py_False@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_6
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	movq	8(%r15), %rsi
	callq	*24(%r15)
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	callq	_PipelineEntry_DECREF
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_Py_XDECREF
	movq	%r13, %rdi
	callq	_Py_XDECREF
	xorl	%eax, %eax
	movq	_Py_False@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	sete	%al
	addl	%eax, %eax
	testq	%r12, %r12
	movl	$7, %ecx
	cmovel	%ecx, %eax
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	4(%r14), %rcx
	movq	16(%r15), %rax
	movslq	4(%r15), %rdx
	leaq	(%rax,%rdx,4), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_Py_True@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rcx, %r14
	jmp	LBB0_1
LBB0_15:
	cmpl	$7, %eax
	je	LBB0_21
## %bb.16:
	cmpl	$2, %eax
	jne	LBB0_24
## %bb.17:
	movq	16(%r15), %rax
	jmp	LBB0_19
LBB0_18:
	addq	$4, %r14
LBB0_19:
	subq	%rax, %r14
	shrq	$2, %r14
	movl	%r14d, (%r15)
	movq	%r15, %rdi
	callq	_PIPELINE_EMPTY
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	8(%r15), %rdi
	callq	_Py_DECREF
	jmp	LBB0_22
LBB0_21:
	xorl	%r12d, %r12d
LBB0_22:
	movq	%r12, %rdi
	callq	_Py_XINCREF
LBB0_23:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
                                        ## implicit-def: $r12
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_Py_True,8,3                    ## @Py_True
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"done"

	.comm	_Py_False,8,3                   ## @Py_False
	.no_dead_strip	_Pipeline__task_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Pipeline__task_done
_Pipeline__task_done:                   ; @Pipeline__task_done
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x25, _Py_True@GOTPAGE
Lloh1:
	ldr	x25, [x25, _Py_True@GOTPAGEOFF]
	ldr	x28, [x25]
	ldr	x8, [x0, #16]
	ldp	w9, w10, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x24, x8, x9, lsl #2
	cmp	w9, w10
	b.ge	LBB0_14
; %bb.1:
Lloh2:
	adrp	x26, _Py_False@GOTPAGE
Lloh3:
	ldr	x26, [x26, _Py_False@GOTPAGEOFF]
	mov	w27, #7
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	bl	_PipelineEntry_is_task
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	bl	_PipelineEntry_get_task
	mov	x1, x20
	bl	_PyObject_GetAttrString
	mov	x22, x0
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_PyObject_CallFunctionObjArgs
	mov	x23, x0
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	mov	x21, x23
	cmp	x23, x8
	b.ne	LBB0_7
	b	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, #0
	mov	x23, #0
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x24]
	ldr	x1, [x19, #8]
	blr	x8
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	bl	_PipelineEntry_DECREF
	mov	x21, x28
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, #0
	mov	x23, #0
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_Py_XDECREF
	mov	x0, x22
	bl	_Py_XDECREF
	ldr	x8, [x26]
	cmp	x21, x8
	cset	w8, eq
	lsl	w8, w8, #1
	cmp	x21, #0
	csel	w8, w27, w8, eq
	cbnz	w8, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #4
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #4]
	add	x9, x8, x9, lsl #2
	cmp	x24, x9
	b.hs	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x28, [x25]
	b	LBB0_2
LBB0_14:
	mov	x21, x28
	b	LBB0_18
LBB0_15:
	cmp	w8, #7
	b.eq	LBB0_20
; %bb.16:
	cmp	w8, #2
	b.ne	LBB0_23
; %bb.17:
	ldr	x8, [x19, #16]
LBB0_18:
	sub	x8, x24, x8
	lsr	x8, x8, #2
	str	w8, [x19]
	mov	x0, x19
	bl	_PIPELINE_EMPTY
	cbz	x0, LBB0_21
; %bb.19:
	ldr	x0, [x19, #8]
	bl	_Py_DECREF
	b	LBB0_21
LBB0_20:
	mov	x21, #0
LBB0_21:
	mov	x0, x21
	bl	_Py_XINCREF
LBB0_22:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
                                        ; implicit-def: $x21
	b	LBB0_22
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_Py_True,8,3                    ; @Py_True
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"done"

	.comm	_Py_False,8,3                   ; @Py_False
	.no_dead_strip	_Pipeline__task_done
.subsections_via_symbols
