	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Protocol_connection_lost
_Protocol_connection_lost:              ## @Protocol_connection_lost
	.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	%rdi, %rbx
	movl	$1, (%rdi)
	movq	_Py_None@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	addq	$40, %rdi
	callq	_Parser_feed_disconnect
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	36(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PyObject_GetAttrString
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_PySet_Discard
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.3:
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_Pipeline_cancel
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_6
LBB0_5:
	xorl	%r14d, %r14d
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	%r14, %rdi
	callq	_Py_XDECREF
	movq	%r15, %rdi
	callq	_Py_XINCREF
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Py_None,8,3                    ## @Py_None
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_connections"

	.comm	_Py_False,8,3                   ## @Py_False
	.comm	_Py_True,8,3                    ## @Py_True
	.no_dead_strip	_Protocol_connection_lost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Protocol_connection_lost
_Protocol_connection_lost:              ; @Protocol_connection_lost
	.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	x21, x0
	mov	w8, #1
	str	w8, [x0], #40
Lloh0:
	adrp	x8, _Py_None@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Py_None@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	bl	_Parser_feed_disconnect
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w0, [x21, #36]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PyObject_GetAttrString
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_PySet_Discard
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
	add	x0, x21, #32
	bl	_Pipeline_cancel
	cbnz	w0, LBB0_6
	b	LBB0_5
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	x19, #0
LBB0_6:
	mov	x0, x20
	bl	_Py_XDECREF
	mov	x0, x19
	bl	_Py_XINCREF
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Py_None,8,3                    ; @Py_None
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_connections"

	.comm	_Py_False,8,3                   ; @Py_False
	.comm	_Py_True,8,3                    ; @Py_True
	.no_dead_strip	_Protocol_connection_lost
.subsections_via_symbols
