	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_synack_pkt
_handle_synack_pkt:                     ## @handle_synack_pkt
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdx), %r13d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_skb_trim
	movl	8(%rbx), %edi
	callq	_ntohl
	movq	%rax, %r15
	movl	$-130, %eax
	addl	(%r12), %eax
	cmpl	$9, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r12, %rdi
	callq	_cleanup_retrans_entry
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_check_syn
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drop_packet                    ## TAILCALL
LBB0_6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_passive_open_err               ## TAILCALL
LBB0_7:
	movl	4(%rbx), %edi
	callq	_ntohl
	movq	%rax, 8(%r12)
	movq	%r12, %rdi
	callq	_cleanup_retrans_entry
	movl	$139, (%r12)
	jmp	LBB0_8
LBB0_9:
	movl	4(%rbx), %edi
	callq	_ntohl
	movq	%rax, 8(%r12)
	movq	%r12, %rdi
	callq	_cleanup_retrans_entry
	movq	%r12, %rdi
	callq	_add_ref_cm_node
LBB0_8:
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_reset                     ## TAILCALL
LBB0_3:
	leal	-12(,%r13,4), %r13d
	movl	4(%rbx), %edi
	callq	_ntohl
	movq	%rax, 24(%r12)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	callq	_handle_tcp_options
	testl	%eax, %eax
	je	LBB0_4
## %bb.11:
	movq	_NES_DBG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nes_debug                      ## TAILCALL
LBB0_4:
	movq	%r12, %rdi
	callq	_cleanup_retrans_entry
	incl	%r15d
	movl	%r15d, 16(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_send_mpa_request
	movl	$131, (%r12)
	jmp	LBB0_5
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_NES_DBG_CM,4,2                 ## @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cm_node=%p tcp_options failed\n"

	.no_dead_strip	_handle_synack_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_synack_pkt
_handle_synack_pkt:                     ; @handle_synack_pkt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w23, [x2]
	mov	x0, x1
	mov	w1, #0
	bl	_skb_trim
	ldr	w0, [x21, #8]
	bl	_ntohl
	ldr	w8, [x19]
	sub	w8, w8, #130
	cmp	w8, #9
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x22, x0
	mov	x0, x19
	bl	_cleanup_retrans_entry
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_check_syn
	cbz	w0, LBB0_9
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_drop_packet
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_passive_open_err
LBB0_6:
	ldr	w0, [x21, #4]
	bl	_ntohl
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_cleanup_retrans_entry
	mov	w8, #139
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
	ldr	w0, [x21, #4]
	bl	_ntohl
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_cleanup_retrans_entry
	mov	x0, x19
	bl	_add_ref_cm_node
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_send_reset
LBB0_9:
	lsl	w8, w23, #2
	sub	w23, w8, #12
	ldr	w0, [x21, #4]
	bl	_ntohl
	str	x0, [x19, #24]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	mov	w4, #0
	bl	_handle_tcp_options
	cbz	w0, LBB0_11
; %bb.10:
Lloh2:
	adrp	x8, _NES_DBG_CM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NES_DBG_CM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nes_debug
LBB0_11:
	mov	x0, x19
	bl	_cleanup_retrans_entry
	add	w8, w22, #1
	str	w8, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_send_mpa_request
	mov	w8, #131
	str	w8, [x19]
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_NES_DBG_CM,4,2                 ; @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cm_node=%p tcp_options failed\n"

	.no_dead_strip	_handle_synack_pkt
.subsections_via_symbols
