	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_input_data
_tcp_input_data:                        ## @tcp_input_data
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	$0, -44(%rbp)
	callq	_HPTS_MTX_ASSERT
	xorl	%eax, %eax
	callq	_NET_EPOCH_ASSERT
	leaq	12(%r13), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	leaq	8(%r13), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_HPTS_MTX_ASSERT
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_hpts_sane_input_remove
	movq	(%rbx), %r12
	movq	%rbx, (%r13)
	movl	36(%rbx), %r14d
	movq	$0, 24(%rbx)
	movq	%r15, %rdi
	callq	_mtx_unlock
	movq	%rbx, %rdi
	callq	_INP_WLOCK
	movq	_INP_DROPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_INP_TIMEWAIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, 8(%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_INP_FREED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%rbx)
	je	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r13)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_in_pcbrele_wlocked
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_INP_WUNLOCK
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_mtx_lock
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TAILQ_FIRST
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_intotcpcb
	testq	%rax, %rax
	je	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rsi
	cmpq	$0, 24(%rax)
	je	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rdi
	movq	%rsi, %r12
	callq	_tcp_drop_in_pkts
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_tcp_drop
	testq	%rax, %rax
	jne	LBB0_5
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_INP_WLOCK
	jmp	LBB0_5
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%rsi, %r14
	callq	_tcp_set_hpts
	movq	%r14, %rsi
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %r14
	leaq	-44(%rbp), %rsi
	callq	_kern_prefetch
	movq	%r14, %rsi
	movl	$1, -44(%rbp)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_INP_SUPPORTS_MBUFQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%rsi), %rax
	testl	%ecx, 12(%rbx)
	je	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_HPTS_REMOVE_INPUT@GOTPCREL(%rip), %rax
	movq	%rsi, %r14
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tcp_hpts_remove
	movq	%r14, %rsi
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi), %rax
	movl	16(%rbx), %edi
	xorl	%edx, %edx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_INP_WLOCK
	jmp	LBB0_27
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rdi
	callq	_tcp_drop_in_pkts
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_in_pcbrele_wlocked
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_INP_WUNLOCK
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_INP_UNLOCK_ASSERT
	movq	%r15, %rdi
	callq	_mtx_lock
	movq	$0, (%r13)
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INP_TIMEWAIT,4,2               ## @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ## @INP_DROPPED
	.comm	_INP_FREED,4,2                  ## @INP_FREED
	.comm	_INP_SUPPORTS_MBUFQ,4,2         ## @INP_SUPPORTS_MBUFQ
	.comm	_HPTS_REMOVE_INPUT,4,2          ## @HPTS_REMOVE_INPUT
	.no_dead_strip	_tcp_input_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_input_data
_tcp_input_data:                        ; @tcp_input_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	str	wzr, [sp, #12]
	bl	_HPTS_MTX_ASSERT
	bl	_NET_EPOCH_ASSERT
	add	x20, x19, #12
	mov	x0, x20
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_29
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x25, _INP_TIMEWAIT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _INP_TIMEWAIT@GOTPAGEOFF]
Lloh2:
	adrp	x26, _INP_DROPPED@GOTPAGE
Lloh3:
	ldr	x26, [x26, _INP_DROPPED@GOTPAGEOFF]
Lloh4:
	adrp	x27, _INP_FREED@GOTPAGE
Lloh5:
	ldr	x27, [x27, _INP_FREED@GOTPAGEOFF]
	add	x21, x19, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_HPTS_MTX_ASSERT
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_hpts_sane_input_remove
	ldr	x28, [x22]
	str	x22, [x19]
	ldr	w24, [x22, #36]
	str	xzr, [x22, #24]
	mov	x0, x21
	bl	_mtx_unlock
	mov	x0, x22
	bl	_INP_WLOCK
	ldr	w8, [x22, #8]
	ldr	w9, [x25]
	ldr	w10, [x26]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22, #12]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_in_pcbrele_wlocked
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_INP_WUNLOCK
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_mtx_lock
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_TAILQ_FIRST
	mov	x22, x0
	cbnz	x0, LBB0_2
	b	LBB0_29
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_intotcpcb
	cbz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	cbz	w24, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_tcp_drop_in_pkts
	mov	x0, x23
	mov	x1, x24
	bl	_tcp_drop
	cbnz	x0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_INP_WLOCK
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x28, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_tcp_set_hpts
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x23, #16]
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	bl	_kern_prefetch
	mov	w8, #1
	str	w8, [sp, #12]
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x22, #12]
Lloh6:
	adrp	x8, _INP_SUPPORTS_MBUFQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INP_SUPPORTS_MBUFQ@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x8]
	ldr	x8, [x23]
	tst	w10, w9
	b.eq	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	cbz	x8, LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh9:
	adrp	x8, _HPTS_REMOVE_INPUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HPTS_REMOVE_INPUT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_tcp_hpts_remove
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	ldr	w0, [x22, #16]
	mov	x1, x23
	mov	w2, #0
	blr	x8
	cbz	w0, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_INP_WLOCK
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_tcp_drop_in_pkts
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_in_pcbrele_wlocked
	cbnz	x0, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_INP_WUNLOCK
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_INP_UNLOCK_ASSERT
	mov	x0, x21
	bl	_mtx_lock
	str	xzr, [x19]
	b	LBB0_8
LBB0_29:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_INP_TIMEWAIT,4,2               ; @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ; @INP_DROPPED
	.comm	_INP_FREED,4,2                  ; @INP_FREED
	.comm	_INP_SUPPORTS_MBUFQ,4,2         ; @INP_SUPPORTS_MBUFQ
	.comm	_HPTS_REMOVE_INPUT,4,2          ; @HPTS_REMOVE_INPUT
	.no_dead_strip	_tcp_input_data
.subsections_via_symbols
