	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function app_tcp_pkt_in
_app_tcp_pkt_in:                        ## @app_tcp_pkt_in
	.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	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_ip_hdrlen
	movl	%eax, %ebx
	leal	4(%rbx), %esi
	movq	%r12, %rdi
	callq	_skb_make_writable
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ebx
	movq	%r12, %rdi
	callq	_skb_network_header
	leaq	(%rax,%rbx), %r13
	movl	(%rax,%rbx), %edi
	callq	_ntohl
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %eax
	movq	_IP_VS_CONN_F_IN_SEQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	leaq	4(%r15), %rdi
	movq	%r13, %rsi
	callq	_vs_fix_seq
	movl	(%r15), %eax
LBB0_3:
	movq	_IP_VS_CONN_F_OUT_SEQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	leaq	8(%r15), %rdi
	movq	%r13, %rsi
	callq	_vs_fix_ack_seq
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	leaq	-48(%rbp), %rcx
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	*%rbx
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	-48(%rbp), %r8d
	testl	%r8d, %r8d
	je	LBB0_9
## %bb.8:
	leaq	4(%r15), %rsi
	movq	_IP_VS_CONN_F_IN_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_vs_seq_update
LBB0_9:
	movl	$1, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_VS_CONN_F_IN_SEQ,4,2        ## @IP_VS_CONN_F_IN_SEQ
	.comm	_IP_VS_CONN_F_OUT_SEQ,4,2       ## @IP_VS_CONN_F_OUT_SEQ
	.no_dead_strip	_app_tcp_pkt_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function app_tcp_pkt_in
_app_tcp_pkt_in:                        ; @app_tcp_pkt_in
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ip_hdrlen
	mov	x22, x0
	add	w1, w0, #4
	mov	x0, x20
	bl	_skb_make_writable
	cbz	w0, LBB0_10
; %bb.1:
	mov	x0, x20
	bl	_skb_network_header
	add	x23, x0, w22, uxtw
	ldr	w0, [x23]
	bl	_ntohl
	mov	x22, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x24, _IP_VS_CONN_F_IN_SEQ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IP_VS_CONN_F_IN_SEQ@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	add	x0, x19, #4
	mov	x1, x23
	bl	_vs_fix_seq
	ldr	w8, [x19]
LBB0_3:
Lloh2:
	adrp	x9, _IP_VS_CONN_F_OUT_SEQ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IP_VS_CONN_F_OUT_SEQ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	add	x0, x19, #8
	mov	x1, x23
	bl	_vs_fix_ack_seq
LBB0_5:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.6:
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	blr	x8
	cbz	w0, LBB0_10
; %bb.7:
	ldr	w4, [sp, #12]
	cbz	w4, LBB0_9
; %bb.8:
	add	x1, x19, #4
	ldr	w2, [x24]
	mov	x0, x19
	mov	x3, x22
	bl	_vs_seq_update
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_VS_CONN_F_IN_SEQ,4,2        ; @IP_VS_CONN_F_IN_SEQ
	.comm	_IP_VS_CONN_F_OUT_SEQ,4,2       ; @IP_VS_CONN_F_OUT_SEQ
	.no_dead_strip	_app_tcp_pkt_in
.subsections_via_symbols
