	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_tcpinput                   ## -- Begin function uip_tcpinput
	.p2align	4, 0x90
_uip_tcpinput:                          ## @uip_tcpinput
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	_uip_iphdr@GOTPCREL(%rip), %r13
	movq	%rbx, (%r13)
	movq	%rbx, %rdi
	callq	_UIP_IPH_HL
	addl	%eax, %eax
	cltq
	leaq	(%rbx,%rax,8), %rax
	movq	_uip_tcphdr@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	(%r13), %rdi
	callq	_UIP_IPH_HL
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %esi
	negl	%esi
	movq	%r15, %rdi
	callq	_uip_pbuf_header
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	cmpl	$39, (%r15)
	ja	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	callq	_UIP_LOG
LBB0_4:
	movq	%r15, %rdi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uip_pbuf_free                  ## TAILCALL
LBB0_6:
	movq	(%r13), %rdi
	addq	$4, %rdi
	movq	%r14, %rsi
	callq	_ip_addr_isbroadcast
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:
	movq	(%r13), %rdi
	addq	$4, %rdi
	callq	_ip_addr_ismulticast
	testq	%rax, %rax
	jne	LBB0_4
## %bb.9:
	movq	(%r13), %rsi
	leaq	4(%rsi), %rdx
	movq	_UIP_PROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	movq	%r15, %rdi
	callq	_uip_chksum_pseudo
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_11:
	movq	(%r12), %rdi
	callq	_UIP_TCPH_HDRLEN
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %esi
	negl	%esi
	movq	%r15, %rdi
	callq	_uip_pbuf_header
	movq	(%r12), %rax
	movq	(%rax), %rdi
	callq	_ntohs
	movq	(%r12), %rcx
	movq	%rax, (%rcx)
	movq	8(%rcx), %rdi
	callq	_ntohs
	movq	(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	32(%rcx), %rdi
	callq	_ntohl
	movq	(%r12), %rcx
	movq	%rax, 32(%rcx)
	movq	_uip_seqno@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	24(%rcx), %rdi
	callq	_ntohl
	movq	(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	_uip_ackno@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	16(%rcx), %rdi
	callq	_ntohs
	movq	(%r12), %rdi
	movq	%rax, 16(%rdi)
	callq	_UIP_TCPH_FLAGS
	movq	_UIP_TCP_FLAGS@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_uip_flags@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r15), %ecx
	movq	_UIP_TCP_FIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_UIP_TCP_SYN@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	andl	%eax, %edx
	cmpl	$1, %edx
	sbbl	$-1, %ecx
	movq	_uip_tcplen@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_uip_tcp_active_pcbs@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_28
## %bb.12:
	xorl	%ebx, %ebx
	movq	_UIP_CLOSED@GOTPCREL(%rip), %rsi
	movq	_UIP_TIME_WAIT@GOTPCREL(%rip), %rdi
	movq	_UIP_LISTEN@GOTPCREL(%rip), %r8
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rcx
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	72(%r14), %r14
	movq	%rcx, %rbx
	testq	%r14, %r14
	je	LBB0_28
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	cmpq	(%rsi), %rax
	je	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	(%rdi), %rax
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	(%r8), %rax
	je	LBB0_13
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r14), %rdx
	movq	(%r12), %rax
	movq	%r14, %rcx
	cmpq	(%rax), %rdx
	jne	LBB0_14
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	16(%r14), %rdx
	movq	%r14, %rcx
	cmpq	8(%rax), %rdx
	jne	LBB0_14
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	68(%r14), %rdi
	movq	(%r13), %rsi
	callq	_ip_addr_cmp
	movq	_UIP_LISTEN@GOTPCREL(%rip), %r8
	movq	_UIP_TIME_WAIT@GOTPCREL(%rip), %rdi
	movq	_UIP_CLOSED@GOTPCREL(%rip), %rsi
	movq	%r14, %rcx
	testq	%rax, %rax
	je	LBB0_14
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	64(%r14), %rdi
	movq	(%r13), %rsi
	addq	$4, %rsi
	callq	_ip_addr_cmp
	movq	_UIP_LISTEN@GOTPCREL(%rip), %r8
	movq	_UIP_TIME_WAIT@GOTPCREL(%rip), %rdi
	movq	_UIP_CLOSED@GOTPCREL(%rip), %rsi
	movq	%r14, %rcx
	testq	%rax, %rax
	je	LBB0_14
## %bb.22:
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.23:
	movq	72(%r14), %rax
	movq	%rax, 72(%rbx)
	movq	_uip_tcp_active_pcbs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, 72(%r14)
	movq	%r14, (%rcx)
LBB0_24:
	movq	_uip_inseg@GOTPCREL(%rip), %r13
	movq	$0, 32(%r13)
	movl	(%r15), %eax
	movl	%eax, (%r13)
	movq	8(%r15), %rax
	movq	%rax, 24(%r13)
	movq	%r15, 8(%r13)
	movq	(%r12), %rax
	movq	%rax, 16(%r13)
	movq	_uip_recv_data@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	_uip_recv_flags@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	movq	_uip_tcp_input_pcb@GOTPCREL(%rip), %rbx
	movq	%r14, (%rbx)
	movq	%r14, %rdi
	callq	_uip_tcpprocess
	movq	$0, (%rbx)
	movq	_UIP_ERR_ABRT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_50
## %bb.25:
	movl	(%r12), %eax
	movq	_UIP_TF_RESET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_48
## %bb.26:
	movq	56(%r14), %rax
	testq	%rax, %rax
	je	LBB0_49
## %bb.27:
	movl	48(%r14), %edi
	movq	_UIP_ERR_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	callq	*%rax
	jmp	LBB0_49
LBB0_28:
	movq	_uip_tcp_tw_pcbs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_37
## %bb.29:
	movq	_UIP_TIME_WAIT@GOTPCREL(%rip), %r14
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	72(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_37
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_30
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	8(%rbx), %rcx
	movq	(%r12), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_30
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	16(%rbx), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_30
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	68(%rbx), %rdi
	movq	(%r13), %rsi
	callq	_ip_addr_cmp
	testq	%rax, %rax
	je	LBB0_30
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	64(%rbx), %rdi
	movq	(%r13), %rsi
	addq	$4, %rsi
	callq	_ip_addr_cmp
	testq	%rax, %rax
	je	LBB0_30
## %bb.36:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uip_tcpinput_timewait          ## TAILCALL
LBB0_37:
	movq	_uip_tcp_listen_pcbs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_43
## %bb.38:
	xorl	%r12d, %r12d
	jmp	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	(%rbx), %rax
	movq	_uip_tcphdr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	8(%rcx), %rax
	je	LBB0_45
LBB0_40:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	%rbx, %r12
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_43
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_ip_addr_isany
	testq	%rax, %rax
	jne	LBB0_39
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	(%r13), %rsi
	addq	$4, %rsi
	movq	%r14, %rdi
	callq	_ip_addr_cmp
	testq	%rax, %rax
	jne	LBB0_39
	jmp	LBB0_40
LBB0_43:
	movq	_uip_tcphdr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_UIP_TCPH_FLAGS
	movq	_UIP_TCP_RST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.44:
	movq	_uip_ackno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_uip_tcplen@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	_uip_seqno@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	(%r13), %rcx
	leaq	4(%rcx), %rdx
	movq	(%rbx), %rax
	movq	(%rax), %r9
	movq	8(%rax), %r8
	callq	_uip_tcp_rst
	jmp	LBB0_4
LBB0_45:
	testq	%r12, %r12
	je	LBB0_47
## %bb.46:
	movq	8(%rbx), %rax
	movq	%rax, 8(%r12)
	movq	_uip_tcp_listen_pcbs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, (%rcx)
LBB0_47:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uip_tcpinput_listen            ## TAILCALL
LBB0_48:
	movq	_UIP_TF_CLOSED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_52
LBB0_49:
	movq	_uip_tcp_active_pcbs@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_uip_tcp_pcbremove
	movq	_uip_tcp_pcbs@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_memb_free
LBB0_50:
	movq	8(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.51:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	movq	_UIP_ERR_OK@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	24(%r14), %rdx
	testq	%rdx, %rdx
	jle	LBB0_55
## %bb.53:
	movq	32(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_55
## %bb.54:
	movl	48(%r14), %edi
	movq	%r14, %rsi
	callq	*%rcx
LBB0_55:
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_58
## %bb.56:
	movq	40(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_58
## %bb.57:
	movl	48(%r14), %edi
	movq	(%r12), %rcx
	movq	%r14, %rsi
	callq	*%rbx
LBB0_58:
	cmpq	(%r12), %rax
	jne	LBB0_50
## %bb.59:
	movq	%r14, %rdi
	callq	_uip_tcpoutput
	jmp	LBB0_50
	.cfi_endproc
                                        ## -- End function
	.comm	_uip_iphdr,8,3                  ## @uip_iphdr
	.comm	_uip_tcphdr,8,3                 ## @uip_tcphdr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uip_tcpinput: short packet discarded."

	.comm	_UIP_PROTO_TCP,4,2              ## @UIP_PROTO_TCP
L_.str.1:                               ## @.str.1
	.asciz	"uip_tcpinput: packet discarded due to failing checksum."

	.comm	_uip_seqno,8,3                  ## @uip_seqno
	.comm	_uip_ackno,8,3                  ## @uip_ackno
	.comm	_UIP_TCP_FLAGS,4,2              ## @UIP_TCP_FLAGS
	.comm	_uip_flags,4,2                  ## @uip_flags
	.comm	_UIP_TCP_FIN,4,2                ## @UIP_TCP_FIN
	.comm	_UIP_TCP_SYN,4,2                ## @UIP_TCP_SYN
	.comm	_uip_tcplen,4,2                 ## @uip_tcplen
	.comm	_uip_tcp_active_pcbs,8,3        ## @uip_tcp_active_pcbs
	.comm	_UIP_CLOSED,8,3                 ## @UIP_CLOSED
	.comm	_UIP_TIME_WAIT,8,3              ## @UIP_TIME_WAIT
	.comm	_UIP_LISTEN,8,3                 ## @UIP_LISTEN
	.comm	_uip_tcp_tw_pcbs,8,3            ## @uip_tcp_tw_pcbs
	.comm	_uip_tcp_listen_pcbs,8,3        ## @uip_tcp_listen_pcbs
	.comm	_uip_inseg,40,3                 ## @uip_inseg
	.comm	_uip_recv_data,8,3              ## @uip_recv_data
	.comm	_uip_recv_flags,4,2             ## @uip_recv_flags
	.comm	_uip_tcp_input_pcb,8,3          ## @uip_tcp_input_pcb
	.comm	_UIP_ERR_ABRT,8,3               ## @UIP_ERR_ABRT
	.comm	_UIP_TF_RESET,4,2               ## @UIP_TF_RESET
	.comm	_UIP_ERR_RST,4,2                ## @UIP_ERR_RST
	.comm	_uip_tcp_pcbs,4,2               ## @uip_tcp_pcbs
	.comm	_UIP_TF_CLOSED,4,2              ## @UIP_TF_CLOSED
	.comm	_UIP_ERR_OK,8,3                 ## @UIP_ERR_OK
	.comm	_UIP_TCP_RST,4,2                ## @UIP_TCP_RST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_tcpinput                   ; -- Begin function uip_tcpinput
	.p2align	2
_uip_tcpinput:                          ; @uip_tcpinput
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x23, _uip_iphdr@GOTPAGE
Lloh1:
	ldr	x23, [x23, _uip_iphdr@GOTPAGEOFF]
	str	x21, [x23]
	mov	x0, x21
	bl	_UIP_IPH_HL
	add	x8, x21, w0, sxtw #4
Lloh2:
	adrp	x22, _uip_tcphdr@GOTPAGE
Lloh3:
	ldr	x22, [x22, _uip_tcphdr@GOTPAGEOFF]
	str	x8, [x22]
	ldr	x0, [x23]
	bl	_UIP_IPH_HL
	neg	w1, w0, lsl #2
	mov	x0, x19
	bl	_uip_pbuf_header
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #39
	b.hi	LBB0_6
LBB0_2:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	_UIP_LOG
LBB0_4:
	mov	x0, x19
LBB0_5:
	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
	b	_uip_pbuf_free
LBB0_6:
	ldr	x8, [x23]
	add	x0, x8, #4
	mov	x1, x20
	bl	_ip_addr_isbroadcast
	cbnz	x0, LBB0_4
; %bb.7:
	ldr	x8, [x23]
	add	x0, x8, #4
	bl	_ip_addr_ismulticast
	cbnz	x0, LBB0_4
; %bb.8:
	ldr	x1, [x23]
	add	x2, x1, #4
Lloh6:
	adrp	x8, _UIP_PROTO_TCP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UIP_PROTO_TCP@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldr	w4, [x19]
	mov	x0, x19
	bl	_uip_chksum_pseudo
	cbz	x0, LBB0_10
; %bb.9:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_10:
	ldr	x0, [x22]
	bl	_UIP_TCPH_HDRLEN
	neg	w1, w0, lsl #2
	mov	x0, x19
	bl	_uip_pbuf_header
	ldr	x8, [x22]
	ldr	x0, [x8]
	bl	_ntohs
	ldr	x8, [x22]
	str	x0, [x8]
	ldr	x0, [x8, #8]
	bl	_ntohs
	ldr	x8, [x22]
	str	x0, [x8, #8]
	ldr	x0, [x8, #32]
	bl	_ntohl
	ldr	x8, [x22]
	str	x0, [x8, #32]
Lloh11:
	adrp	x9, _uip_seqno@GOTPAGE
Lloh12:
	ldr	x9, [x9, _uip_seqno@GOTPAGEOFF]
Lloh13:
	str	x0, [x9]
	ldr	x0, [x8, #24]
	bl	_ntohl
	ldr	x8, [x22]
	str	x0, [x8, #24]
Lloh14:
	adrp	x9, _uip_ackno@GOTPAGE
Lloh15:
	ldr	x9, [x9, _uip_ackno@GOTPAGEOFF]
Lloh16:
	str	x0, [x9]
	ldr	x0, [x8, #16]
	bl	_ntohs
	ldr	x8, [x22]
	str	x0, [x8, #16]
	mov	x0, x8
	bl	_UIP_TCPH_FLAGS
Lloh17:
	adrp	x8, _UIP_TCP_FLAGS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UIP_TCP_FLAGS@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _uip_flags@GOTPAGE
Lloh21:
	ldr	x9, [x9, _uip_flags@GOTPAGEOFF]
	and	w8, w8, w0
Lloh22:
	str	w8, [x9]
	ldr	w9, [x19]
Lloh23:
	adrp	x10, _UIP_TCP_FIN@GOTPAGE
Lloh24:
	ldr	x10, [x10, _UIP_TCP_FIN@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
Lloh26:
	adrp	x11, _UIP_TCP_SYN@GOTPAGE
Lloh27:
	ldr	x11, [x11, _UIP_TCP_SYN@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	orr	w10, w10, w11
	tst	w10, w8
	cinc	w8, w9, ne
Lloh29:
	adrp	x26, _uip_tcplen@GOTPAGE
Lloh30:
	ldr	x26, [x26, _uip_tcplen@GOTPAGEOFF]
	str	w8, [x26]
Lloh31:
	adrp	x21, _uip_tcp_active_pcbs@GOTPAGE
Lloh32:
	ldr	x21, [x21, _uip_tcp_active_pcbs@GOTPAGEOFF]
	ldr	x20, [x21]
	cbz	x20, LBB0_25
; %bb.11:
	mov	x27, #0
Lloh33:
	adrp	x28, _UIP_CLOSED@GOTPAGE
Lloh34:
	ldr	x28, [x28, _UIP_CLOSED@GOTPAGEOFF]
Lloh35:
	adrp	x24, _UIP_TIME_WAIT@GOTPAGE
Lloh36:
	ldr	x24, [x24, _UIP_TIME_WAIT@GOTPAGEOFF]
Lloh37:
	adrp	x25, _UIP_LISTEN@GOTPAGE
Lloh38:
	ldr	x25, [x25, _UIP_LISTEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x1, x27
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x20, [x20, #72]
	mov	x27, x1
	cbz	x20, LBB0_25
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x28]
	ldr	x10, [x24]
	ldr	x11, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x20, #8]
	ldr	x8, [x22]
	ldr	x10, [x8]
	mov	x1, x20
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x20, #16]
	ldr	x8, [x8, #8]
	mov	x1, x20
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, x20, #68
	ldr	x1, [x23]
	bl	_ip_addr_cmp
	mov	x1, x20
	cbz	x0, LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, x20, #64
	ldr	x8, [x23]
	add	x1, x8, #4
	bl	_ip_addr_cmp
	mov	x1, x20
	cbz	x0, LBB0_13
; %bb.19:
	cbz	x27, LBB0_21
; %bb.20:
	ldr	x8, [x20, #72]
	str	x8, [x27, #72]
	ldr	x8, [x21]
	str	x8, [x20, #72]
	str	x20, [x21]
LBB0_21:
Lloh39:
	adrp	x21, _uip_inseg@GOTPAGE
Lloh40:
	ldr	x21, [x21, _uip_inseg@GOTPAGEOFF]
	ldr	w8, [x19]
	str	w8, [x21]
	ldr	x8, [x19, #8]
	stp	x8, xzr, [x21, #24]
	ldr	x8, [x22]
	stp	x19, x8, [x21, #8]
Lloh41:
	adrp	x19, _uip_recv_data@GOTPAGE
Lloh42:
	ldr	x19, [x19, _uip_recv_data@GOTPAGEOFF]
	str	xzr, [x19]
Lloh43:
	adrp	x22, _uip_recv_flags@GOTPAGE
Lloh44:
	ldr	x22, [x22, _uip_recv_flags@GOTPAGEOFF]
	str	wzr, [x22]
Lloh45:
	adrp	x23, _uip_tcp_input_pcb@GOTPAGE
Lloh46:
	ldr	x23, [x23, _uip_tcp_input_pcb@GOTPAGEOFF]
	str	x20, [x23]
	mov	x0, x20
	bl	_uip_tcpprocess
	str	xzr, [x23]
Lloh47:
	adrp	x8, _UIP_ERR_ABRT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _UIP_ERR_ABRT@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_47
; %bb.22:
	ldr	w8, [x22]
Lloh50:
	adrp	x9, _UIP_TF_RESET@GOTPAGE
Lloh51:
	ldr	x9, [x9, _UIP_TF_RESET@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_45
; %bb.23:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_46
; %bb.24:
	ldr	w0, [x20, #48]
Lloh53:
	adrp	x9, _UIP_ERR_RST@GOTPAGE
Lloh54:
	ldr	x9, [x9, _UIP_ERR_RST@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x9]
	blr	x8
	b	LBB0_46
LBB0_25:
Lloh56:
	adrp	x8, _uip_tcp_tw_pcbs@GOTPAGE
Lloh57:
	ldr	x8, [x8, _uip_tcp_tw_pcbs@GOTPAGEOFF]
Lloh58:
	ldr	x20, [x8]
	cbz	x20, LBB0_34
; %bb.26:
Lloh59:
	adrp	x21, _UIP_TIME_WAIT@GOTPAGE
Lloh60:
	ldr	x21, [x21, _UIP_TIME_WAIT@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x20, [x20, #72]
	cbz	x20, LBB0_34
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x9, [x20, #8]
	ldr	x8, [x22]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ne	LBB0_27
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x9, [x20, #16]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	add	x0, x20, #68
	ldr	x1, [x23]
	bl	_ip_addr_cmp
	cbz	x0, LBB0_27
; %bb.32:                               ;   in Loop: Header=BB0_28 Depth=1
	add	x0, x20, #64
	ldr	x8, [x23]
	add	x1, x8, #4
	bl	_ip_addr_cmp
	cbz	x0, LBB0_27
; %bb.33:
	mov	x0, x20
	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
	b	_uip_tcpinput_timewait
LBB0_34:
Lloh61:
	adrp	x24, _uip_tcp_listen_pcbs@GOTPAGE
Lloh62:
	ldr	x24, [x24, _uip_tcp_listen_pcbs@GOTPAGEOFF]
	ldr	x20, [x24]
	cbz	x20, LBB0_40
; %bb.35:
	mov	x25, #0
	b	LBB0_38
LBB0_36:                                ;   in Loop: Header=BB0_38 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x22]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.eq	LBB0_42
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=1
	mov	x25, x20
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_40
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	add	x21, x20, #16
	mov	x0, x21
	bl	_ip_addr_isany
	cbnz	x0, LBB0_36
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	x8, [x23]
	add	x1, x8, #4
	mov	x0, x21
	bl	_ip_addr_cmp
	cbnz	x0, LBB0_36
	b	LBB0_37
LBB0_40:
	ldr	x0, [x22]
	bl	_UIP_TCPH_FLAGS
Lloh63:
	adrp	x8, _UIP_TCP_RST@GOTPAGE
Lloh64:
	ldr	x8, [x8, _UIP_TCP_RST@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.41:
Lloh66:
	adrp	x8, _uip_ackno@GOTPAGE
Lloh67:
	ldr	x8, [x8, _uip_ackno@GOTPAGEOFF]
Lloh68:
	ldr	x0, [x8]
Lloh69:
	adrp	x8, _uip_seqno@GOTPAGE
Lloh70:
	ldr	x8, [x8, _uip_seqno@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
	ldrsw	x9, [x26]
	add	x1, x8, x9
	ldr	x3, [x23]
	add	x2, x3, #4
	ldr	x8, [x22]
	ldp	x5, x4, [x8]
	bl	_uip_tcp_rst
	b	LBB0_4
LBB0_42:
	cbz	x25, LBB0_44
; %bb.43:
	ldr	x8, [x20, #8]
	str	x8, [x25, #8]
	ldr	x8, [x24]
	str	x8, [x20, #8]
	str	x20, [x24]
LBB0_44:
	mov	x0, x20
	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
	b	_uip_tcpinput_listen
LBB0_45:
Lloh72:
	adrp	x9, _UIP_TF_CLOSED@GOTPAGE
Lloh73:
	ldr	x9, [x9, _UIP_TF_CLOSED@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_49
LBB0_46:
Lloh75:
	adrp	x0, _uip_tcp_active_pcbs@GOTPAGE
Lloh76:
	ldr	x0, [x0, _uip_tcp_active_pcbs@GOTPAGEOFF]
	mov	x1, x20
	bl	_uip_tcp_pcbremove
Lloh77:
	adrp	x0, _uip_tcp_pcbs@GOTPAGE
Lloh78:
	ldr	x0, [x0, _uip_tcp_pcbs@GOTPAGEOFF]
	mov	x1, x20
	bl	_memb_free
LBB0_47:
	ldr	x0, [x21, #8]
	cbnz	x0, LBB0_5
; %bb.48:
	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_49:
Lloh79:
	adrp	x22, _UIP_ERR_OK@GOTPAGE
Lloh80:
	ldr	x22, [x22, _UIP_ERR_OK@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	x2, [x20, #24]
	cmp	x2, #1
	b.lt	LBB0_52
; %bb.50:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_52
; %bb.51:
	ldr	w0, [x20, #48]
	mov	x1, x20
	blr	x8
LBB0_52:
	ldr	x2, [x19]
	cbz	x2, LBB0_55
; %bb.53:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_55
; %bb.54:
	ldr	w0, [x20, #48]
	ldr	x3, [x22]
	mov	x1, x20
	blr	x8
LBB0_55:
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_47
; %bb.56:
	mov	x0, x20
	bl	_uip_tcpoutput
	b	LBB0_47
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_uip_iphdr,8,3                  ; @uip_iphdr
	.comm	_uip_tcphdr,8,3                 ; @uip_tcphdr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uip_tcpinput: short packet discarded."

	.comm	_UIP_PROTO_TCP,4,2              ; @UIP_PROTO_TCP
l_.str.1:                               ; @.str.1
	.asciz	"uip_tcpinput: packet discarded due to failing checksum."

	.comm	_uip_seqno,8,3                  ; @uip_seqno
	.comm	_uip_ackno,8,3                  ; @uip_ackno
	.comm	_UIP_TCP_FLAGS,4,2              ; @UIP_TCP_FLAGS
	.comm	_uip_flags,4,2                  ; @uip_flags
	.comm	_UIP_TCP_FIN,4,2                ; @UIP_TCP_FIN
	.comm	_UIP_TCP_SYN,4,2                ; @UIP_TCP_SYN
	.comm	_uip_tcplen,4,2                 ; @uip_tcplen
	.comm	_uip_tcp_active_pcbs,8,3        ; @uip_tcp_active_pcbs
	.comm	_UIP_CLOSED,8,3                 ; @UIP_CLOSED
	.comm	_UIP_TIME_WAIT,8,3              ; @UIP_TIME_WAIT
	.comm	_UIP_LISTEN,8,3                 ; @UIP_LISTEN
	.comm	_uip_tcp_tw_pcbs,8,3            ; @uip_tcp_tw_pcbs
	.comm	_uip_tcp_listen_pcbs,8,3        ; @uip_tcp_listen_pcbs
	.comm	_uip_inseg,40,3                 ; @uip_inseg
	.comm	_uip_recv_data,8,3              ; @uip_recv_data
	.comm	_uip_recv_flags,4,2             ; @uip_recv_flags
	.comm	_uip_tcp_input_pcb,8,3          ; @uip_tcp_input_pcb
	.comm	_UIP_ERR_ABRT,8,3               ; @UIP_ERR_ABRT
	.comm	_UIP_TF_RESET,4,2               ; @UIP_TF_RESET
	.comm	_UIP_ERR_RST,4,2                ; @UIP_ERR_RST
	.comm	_uip_tcp_pcbs,4,2               ; @uip_tcp_pcbs
	.comm	_UIP_TF_CLOSED,4,2              ; @UIP_TF_CLOSED
	.comm	_UIP_ERR_OK,8,3                 ; @UIP_ERR_OK
	.comm	_UIP_TCP_RST,4,2                ; @UIP_TCP_RST
.subsections_via_symbols
