	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_tcp_pcbremove              ## -- Begin function uip_tcp_pcbremove
	.p2align	4, 0x90
_uip_tcp_pcbremove:                     ## @uip_tcp_pcbremove
	.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	%rsi, %rbx
	callq	_UIP_TCP_RMV
	movq	%rbx, %rdi
	callq	_uip_tcp_pcbpurge
	movq	(%rbx), %rax
	movq	_UIP_TIME_WAIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_UIP_LISTEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movl	8(%rbx), %eax
	movq	_UIP_TF_ACK_DELAY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_UIP_TF_ACK_NOW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_uip_tcpoutput
LBB0_4:
	movq	_UIP_CLOSED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UIP_TIME_WAIT,8,3              ## @UIP_TIME_WAIT
	.comm	_UIP_LISTEN,8,3                 ## @UIP_LISTEN
	.comm	_UIP_TF_ACK_DELAY,4,2           ## @UIP_TF_ACK_DELAY
	.comm	_UIP_TF_ACK_NOW,4,2             ## @UIP_TF_ACK_NOW
	.comm	_UIP_CLOSED,8,3                 ## @UIP_CLOSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_tcp_pcbremove              ; -- Begin function uip_tcp_pcbremove
	.p2align	2
_uip_tcp_pcbremove:                     ; @uip_tcp_pcbremove
	.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, x1
	bl	_UIP_TCP_RMV
	mov	x0, x19
	bl	_uip_tcp_pcbpurge
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _UIP_TIME_WAIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UIP_TIME_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _UIP_LISTEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _UIP_LISTEN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x19, #8]
Lloh6:
	adrp	x9, _UIP_TF_ACK_DELAY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UIP_TF_ACK_DELAY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x9, _UIP_TF_ACK_NOW@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UIP_TF_ACK_NOW@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_uip_tcpoutput
LBB0_3:
Lloh12:
	adrp	x8, _UIP_CLOSED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UIP_CLOSED@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_UIP_TIME_WAIT,8,3              ; @UIP_TIME_WAIT
	.comm	_UIP_LISTEN,8,3                 ; @UIP_LISTEN
	.comm	_UIP_TF_ACK_DELAY,4,2           ; @UIP_TF_ACK_DELAY
	.comm	_UIP_TF_ACK_NOW,4,2             ; @UIP_TF_ACK_NOW
	.comm	_UIP_CLOSED,8,3                 ; @UIP_CLOSED
.subsections_via_symbols
