	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_error
_tcp_error:                             ## @tcp_error
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rdi, %r12
	movl	(%rsi), %r13d
	leaq	-64(%rbp), %rcx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	$4, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rax, %rbx
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	subl	%r14d, %r13d
	shll	$2, %eax
	cmpl	%eax, %r13d
	jb	LBB0_7
## %bb.9:
	movq	%r12, %rdi
	cmpq	$0, (%r12)
	je	LBB0_14
## %bb.10:
	movq	_NF_INET_PRE_ROUTING@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_14
## %bb.11:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r14d, %edx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_nf_checksum
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movl	(%r13), %esi
	callq	_LOG_INVALID
	testq	%rax, %rax
	je	LBB0_4
## %bb.13:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LOG_INVALID
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LOG_INVALID
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_3
LBB0_14:
	movq	_TH_ECE@GOTPCREL(%rip), %rax
	movq	_TH_CWR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movq	_TH_PUSH@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	notq	%rcx
	andq	104(%rbx), %rcx
	movq	_tcp_valid_flags@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.17:
	movq	_NF_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_15:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LOG_INVALID
	testq	%rax, %rax
	je	LBB0_4
## %bb.16:
	leaq	L_.str.3(%rip), %rax
LBB0_3:
	movq	%rax, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_nf_log_packet
LBB0_4:
	movq	_NF_ACCEPT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nf_ct_tcp: short packet "

	.comm	_NF_ACCEPT,4,2                  ## @NF_ACCEPT
L_.str.1:                               ## @.str.1
	.asciz	"nf_ct_tcp: truncated/malformed packet "

	.comm	_NF_INET_PRE_ROUTING,4,2        ## @NF_INET_PRE_ROUTING
L_.str.2:                               ## @.str.2
	.asciz	"nf_ct_tcp: bad TCP checksum "

	.comm	_TH_ECE,8,3                     ## @TH_ECE
	.comm	_TH_CWR,8,3                     ## @TH_CWR
	.comm	_TH_PUSH,8,3                    ## @TH_PUSH
	.comm	_tcp_valid_flags,8,3            ## @tcp_valid_flags
L_.str.3:                               ## @.str.3
	.asciz	"nf_ct_tcp: invalid TCP flag combination "

	.no_dead_strip	_tcp_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_error
_tcp_error:                             ; @tcp_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x5
	mov	x20, x4
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w25, [x1]
	add	x3, sp, #8
	mov	x0, x1
	mov	x1, x2
	mov	w2, #4
	bl	_skb_header_pointer
	cbz	x0, LBB0_4
; %bb.1:
	mov	x24, x0
	sub	w8, w25, w23
	ldr	w9, [x0]
	lsl	w10, w9, #2
	cmp	w9, #0
	ccmp	w8, w10, #0, ne
	b.hs	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_LOG_INVALID
	cbz	x0, LBB0_16
; %bb.3:
Lloh3:
	adrp	x6, l_.str.1@PAGE
Lloh4:
	add	x6, x6, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_4:
Lloh5:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_LOG_INVALID
	cbz	x0, LBB0_16
; %bb.5:
Lloh8:
	adrp	x6, l_.str@PAGE
Lloh9:
	add	x6, x6, l_.str@PAGEOFF
	b	LBB0_15
LBB0_6:
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.7:
Lloh10:
	adrp	x8, _NF_INET_PRE_ROUTING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NF_INET_PRE_ROUTING@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_11
; %bb.8:
Lloh13:
	adrp	x25, _IPPROTO_TCP@GOTPAGE
Lloh14:
	ldr	x25, [x25, _IPPROTO_TCP@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x4, x20
	bl	_nf_checksum
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w1, [x25]
	mov	x0, x21
	bl	_LOG_INVALID
	cbz	x0, LBB0_16
; %bb.10:
Lloh15:
	adrp	x6, l_.str.2@PAGE
Lloh16:
	add	x6, x6, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_11:
	ldr	x8, [x24, #104]
Lloh17:
	adrp	x9, _TH_ECE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TH_ECE@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
Lloh20:
	adrp	x10, _TH_CWR@GOTPAGE
Lloh21:
	ldr	x10, [x10, _TH_CWR@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x10]
	orr	x9, x10, x9
Lloh23:
	adrp	x10, _TH_PUSH@GOTPAGE
Lloh24:
	ldr	x10, [x10, _TH_PUSH@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	orr	x9, x9, x10
	bic	x8, x8, x9
Lloh26:
	adrp	x9, _tcp_valid_flags@GOTPAGE
Lloh27:
	ldr	x9, [x9, _tcp_valid_flags@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ldr	w8, [x9, x8, lsl #2]
	cbz	w8, LBB0_13
; %bb.12:
Lloh29:
	adrp	x8, _NF_ACCEPT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NF_ACCEPT@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_13:
Lloh32:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_LOG_INVALID
	cbz	x0, LBB0_16
; %bb.14:
Lloh35:
	adrp	x6, l_.str.3@PAGE
Lloh36:
	add	x6, x6, l_.str.3@PAGEOFF
LBB0_15:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x19
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_nf_log_packet
LBB0_16:
Lloh37:
	adrp	x8, _NF_ACCEPT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NF_ACCEPT@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nf_ct_tcp: short packet "

	.comm	_NF_ACCEPT,4,2                  ; @NF_ACCEPT
l_.str.1:                               ; @.str.1
	.asciz	"nf_ct_tcp: truncated/malformed packet "

	.comm	_NF_INET_PRE_ROUTING,4,2        ; @NF_INET_PRE_ROUTING
l_.str.2:                               ; @.str.2
	.asciz	"nf_ct_tcp: bad TCP checksum "

	.comm	_TH_ECE,8,3                     ; @TH_ECE
	.comm	_TH_CWR,8,3                     ; @TH_CWR
	.comm	_TH_PUSH,8,3                    ; @TH_PUSH
	.comm	_tcp_valid_flags,8,3            ; @tcp_valid_flags
l_.str.3:                               ; @.str.3
	.asciz	"nf_ct_tcp: invalid TCP flag combination "

	.no_dead_strip	_tcp_error
.subsections_via_symbols
