	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_reass_replace
_tcp_reass_replace:                     ## @tcp_reass_replace
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	16(%rsi), %rdi
	callq	_m_freem
	movl	(%r15), %eax
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setge	%dil
	movq	%r15, %rsi
	callq	_KASSERT
	movl	(%rbx), %eax
	subl	%eax, (%r15)
	movl	16(%rbp), %eax
	movl	%eax, (%rbx)
	movq	%r12, 16(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movl	%r13d, 24(%rbx)
	xorl	%eax, %eax
	movl	%r14d, %r12d
	subl	4(%rbx), %r12d
	cmovlel	%eax, %r12d
	incl	4(%r15)
	movq	_tcps_rcvoopack@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TCPSTAT_INC
	movq	_tcps_rcvoobyte@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_TCPSTAT_ADD
	movl	%r14d, 4(%rbx)
	movq	_TH_FIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	24(%rbp), %eax
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rax
	movl	%r14d, (%rax)
	movl	16(%rbp), %eax
	addl	%eax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tcps_rcvoopack,4,2             ## @tcps_rcvoopack
	.comm	_tcps_rcvoobyte,4,2             ## @tcps_rcvoobyte
	.comm	_TH_FIN,4,2                     ## @TH_FIN
	.comm	_TCP_R_LOG_REPLACE,4,2          ## @TCP_R_LOG_REPLACE
	.no_dead_strip	_tcp_reass_replace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_reass_replace
_tcp_reass_replace:                     ; @tcp_reass_replace
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x19, x6
	mov	x23, x5
	mov	x20, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x22, x0
	ldr	x0, [x1, #16]
	bl	_m_freem
	ldr	w8, [x22]
	ldr	w9, [x26]
	cmp	w8, w9
	cset	w0, ge
	mov	x1, x22
	bl	_KASSERT
	movi.2s	v0, #1
	mov	x27, x26
	ld1.s	{ v0 }[0], [x27], #4
	movi.2s	v1, #1
	str	w19, [x26]
	str	x25, [x26, #16]
	str	x23, [x26, #32]
	str	w24, [x26, #24]
	ldr	w8, [x27]
	subs	w8, w20, w8
	csel	w23, w8, wzr, gt
	ldr	d2, [x22]
	sub.2s	v0, v2, v0
	add.2s	v1, v2, v1
	mov.s	v0[1], v1[1]
	str	d0, [x22]
Lloh0:
	adrp	x8, _tcps_rcvoopack@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tcps_rcvoopack@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_TCPSTAT_INC
Lloh3:
	adrp	x8, _tcps_rcvoobyte@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tcps_rcvoobyte@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_TCPSTAT_ADD
	str	w20, [x27]
Lloh6:
	adrp	x8, _TH_FIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TH_FIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w21
	str	w8, [x26, #8]
	ldr	x8, [x26, #16]
	str	w20, [x8]
	ldr	w8, [x22]
	add	w8, w8, w19
	str	w8, [x22]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tcps_rcvoopack,4,2             ; @tcps_rcvoopack
	.comm	_tcps_rcvoobyte,4,2             ; @tcps_rcvoobyte
	.comm	_TH_FIN,4,2                     ; @TH_FIN
	.comm	_TCP_R_LOG_REPLACE,4,2          ; @TCP_R_LOG_REPLACE
	.no_dead_strip	_tcp_reass_replace
.subsections_via_symbols
