	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InternetTransport_DropConnection ## -- Begin function InternetTransport_DropConnection
	.p2align	4, 0x90
_InternetTransport_DropConnection:      ## @InternetTransport_DropConnection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	_IXP_DISCONNECTED@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_2
## %bb.1:
	movq	_IXP_E_NOT_CONNECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movq	_SD_BOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_shutdown
	movl	16(%rbx), %edi
	callq	_closesocket
	movq	8(%rbx), %rdi
	callq	_DestroyWindow
	movq	$0, 8(%rbx)
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_InternetTransport_ChangeStatus
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXP_DISCONNECTED,8,3           ## @IXP_DISCONNECTED
	.comm	_IXP_E_NOT_CONNECTED,4,2        ## @IXP_E_NOT_CONNECTED
	.comm	_SD_BOTH,4,2                    ## @SD_BOTH
	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InternetTransport_DropConnection ; -- Begin function InternetTransport_DropConnection
	.p2align	2
_InternetTransport_DropConnection:      ; @InternetTransport_DropConnection
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _IXP_DISCONNECTED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IXP_DISCONNECTED@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _IXP_E_NOT_CONNECTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXP_E_NOT_CONNECTED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh4:
	adrp	x8, _SD_BOTH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SD_BOTH@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_shutdown
	ldr	w0, [x19, #16]
	bl	_closesocket
	ldr	x0, [x19, #8]
	bl	_DestroyWindow
	str	xzr, [x19, #8]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_InternetTransport_ChangeStatus
Lloh7:
	adrp	x8, _S_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IXP_DISCONNECTED,8,3           ; @IXP_DISCONNECTED
	.comm	_IXP_E_NOT_CONNECTED,4,2        ; @IXP_E_NOT_CONNECTED
	.comm	_SD_BOTH,4,2                    ; @SD_BOTH
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
