	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lro_tcp_ip_check
_lro_tcp_ip_check:                      ## @lro_tcp_ip_check
	.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	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	callq	_ntohs
	movl	$-1, %r14d
	cmpl	%ebx, %eax
	jne	LBB0_19
## %bb.1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_TCP_PAYLOAD_LENGTH
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	(%r13), %rax
	movq	_IPH_LEN_WO_OPTIONS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.3:
	cmpq	$0, 56(%r12)
	jne	LBB0_19
## %bb.4:
	cmpq	$0, 48(%r12)
	jne	LBB0_19
## %bb.5:
	cmpq	$0, 40(%r12)
	je	LBB0_6
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$0, 32(%r12)
	je	LBB0_19
## %bb.7:
	cmpq	$0, 24(%r12)
	jne	LBB0_19
## %bb.8:
	cmpq	$0, 16(%r12)
	jne	LBB0_19
## %bb.9:
	cmpq	$0, 8(%r12)
	jne	LBB0_19
## %bb.10:
	movq	%r13, %rdi
	callq	_ipv4_get_dsfield
	movl	%eax, %edi
	callq	_INET_ECN_is_ce
	testq	%rax, %rax
	jne	LBB0_19
## %bb.11:
	movq	(%r12), %rax
	movq	_TCPH_LEN_WO_OPTIONS@GOTPCREL(%rip), %rdx
	movq	_TCPH_LEN_W_TIMESTAMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rdx), %rax
	je	LBB0_13
## %bb.12:
	cmpq	%rcx, %rax
	jne	LBB0_19
LBB0_13:
	cmpq	%rcx, %rax
	jne	LBB0_18
## %bb.14:
	movq	64(%r12), %rbx
	movq	_TCPOPT_NOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shll	$24, %ecx
	shll	$16, %eax
	orl	%ecx, %eax
	movq	_TCPOPT_TIMESTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	shll	$8, %edi
	orl	%eax, %edi
	movq	_TCPOLEN_TIMESTAMP@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_htonl
	cmpq	%rax, %rbx
	jne	LBB0_19
## %bb.15:
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:
	movq	(%r15), %rdi
	callq	_ntohl
	movl	%eax, %ebx
	movq	72(%r12), %rdi
	callq	_ntohl
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_after
	testq	%rax, %rax
	jne	LBB0_19
LBB0_17:
	cmpq	$0, 80(%r12)
	je	LBB0_19
LBB0_18:
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_IPH_LEN_WO_OPTIONS,8,3         ## @IPH_LEN_WO_OPTIONS
	.comm	_TCPH_LEN_WO_OPTIONS,8,3        ## @TCPH_LEN_WO_OPTIONS
	.comm	_TCPH_LEN_W_TIMESTAMP,8,3       ## @TCPH_LEN_W_TIMESTAMP
	.comm	_TCPOPT_NOP,4,2                 ## @TCPOPT_NOP
	.comm	_TCPOPT_TIMESTAMP,4,2           ## @TCPOPT_TIMESTAMP
	.comm	_TCPOLEN_TIMESTAMP,4,2          ## @TCPOLEN_TIMESTAMP
	.no_dead_strip	_lro_tcp_ip_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lro_tcp_ip_check
_lro_tcp_ip_check:                      ; @lro_tcp_ip_check
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_ntohs
	cmp	w0, w22
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_TCP_PAYLOAD_LENGTH
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _IPH_LEN_WO_OPTIONS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPH_LEN_WO_OPTIONS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_8
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_6
; %bb.9:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_6
; %bb.10:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_6
; %bb.11:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_6
; %bb.12:
	mov	x0, x21
	bl	_ipv4_get_dsfield
	bl	_INET_ECN_is_ce
	cbnz	x0, LBB0_6
; %bb.13:
Lloh3:
	adrp	x9, _TCPH_LEN_WO_OPTIONS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCPH_LEN_WO_OPTIONS@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh5:
	ldr	x10, [x9]
Lloh6:
	adrp	x9, _TCPH_LEN_W_TIMESTAMP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TCPH_LEN_W_TIMESTAMP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x10
	b.eq	LBB0_15
; %bb.14:
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_15:
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.16:
Lloh9:
	adrp	x8, _TCPOPT_NOP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TCPOPT_NOP@GOTPAGEOFF]
	ldr	x21, [x19, #64]
Lloh11:
	ldr	w8, [x8]
	lsl	w9, w8, #24
	orr	w8, w9, w8, lsl #16
Lloh12:
	adrp	x9, _TCPOPT_TIMESTAMP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TCPOPT_TIMESTAMP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9, lsl #8
Lloh15:
	adrp	x9, _TCPOLEN_TIMESTAMP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TCPOLEN_TIMESTAMP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_htonl
	cmp	x21, x0
	b.ne	LBB0_6
; %bb.17:
	cbz	x20, LBB0_19
; %bb.18:
	ldr	x0, [x20]
	bl	_ntohl
	mov	x20, x0
	ldr	x0, [x19, #72]
	bl	_ntohl
	mov	x1, x0
	mov	x0, x20
	bl	_after
	cbnz	x0, LBB0_6
LBB0_19:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_6
LBB0_20:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IPH_LEN_WO_OPTIONS,8,3         ; @IPH_LEN_WO_OPTIONS
	.comm	_TCPH_LEN_WO_OPTIONS,8,3        ; @TCPH_LEN_WO_OPTIONS
	.comm	_TCPH_LEN_W_TIMESTAMP,8,3       ; @TCPH_LEN_W_TIMESTAMP
	.comm	_TCPOPT_NOP,4,2                 ; @TCPOPT_NOP
	.comm	_TCPOPT_TIMESTAMP,4,2           ; @TCPOPT_TIMESTAMP
	.comm	_TCPOLEN_TIMESTAMP,4,2          ; @TCPOLEN_TIMESTAMP
	.no_dead_strip	_lro_tcp_ip_check
.subsections_via_symbols
