	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_force_clear_connection         ## -- Begin function force_clear_connection
	.p2align	4, 0x90
_force_clear_connection:                ## @force_clear_connection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	32(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_vkprintf
	movq	(%rbx), %rax
	movq	_conn_connecting@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	_total_connect_failures@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_4
LBB0_1:
	movq	_active_connections@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	_C_SPECIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_close_special_connection
LBB0_4:
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_clear_connection_timeout
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	$0, (%rax)
LBB0_6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"socket %d: forced closing\n"

	.comm	_conn_connecting,8,3            ## @conn_connecting
	.comm	_active_connections,4,2         ## @active_connections
	.comm	_C_SPECIAL,4,2                  ## @C_SPECIAL
	.comm	_total_connect_failures,4,2     ## @total_connect_failures
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_force_clear_connection         ; -- Begin function force_clear_connection
	.p2align	2
_force_clear_connection:                ; @force_clear_connection
	.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, x0
	ldr	w2, [x0, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _conn_connecting@GOTPAGE
Lloh3:
	ldr	x9, [x9, _conn_connecting@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _total_connect_failures@GOTPAGE
Lloh6:
	ldr	x8, [x8, _total_connect_failures@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_4
LBB0_2:
Lloh7:
	adrp	x8, _active_connections@GOTPAGE
Lloh8:
	ldr	x8, [x8, _active_connections@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x19, #8]
Lloh9:
	adrp	x9, _C_SPECIAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _C_SPECIAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_close_special_connection
LBB0_4:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x0, x19
	bl	_clear_connection_timeout
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	str	xzr, [x8]
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"socket %d: forced closing\n"

	.comm	_conn_connecting,8,3            ; @conn_connecting
	.comm	_active_connections,4,2         ; @active_connections
	.comm	_C_SPECIAL,4,2                  ; @C_SPECIAL
	.comm	_total_connect_failures,4,2     ; @total_connect_failures
.subsections_via_symbols
