	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_mtudisc
_tcp_mtudisc:                           ## @tcp_mtudisc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_INP_WLOCK_ASSERT
	movl	(%rbx), %eax
	movq	_INP_TIMEWAIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.1:
	movq	_INP_DROPPED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_intotcpcb
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	%r14, %rdi
	movl	$-1, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_tcp_mss_update
	movq	8(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_SOCKBUF_LOCK
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jge	LBB0_4
## %bb.3:
	movq	%rax, (%r14)
LBB0_4:
	movq	%rbx, %rdi
	callq	_SOCKBUF_UNLOCK
	movq	_tcps_mturesent@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TCPSTAT_INC
	movq	$0, 40(%r14)
	movl	32(%r14), %eax
	movl	%eax, 36(%r14)
	movq	%r14, %rdi
	callq	_tcp_free_sackholes
	movl	8(%r14), %edi
	movl	24(%r14), %eax
	movl	%eax, 28(%r14)
	movq	_TF_SACK_PERMIT@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_6
## %bb.5:
	callq	_EXIT_FASTRECOVERY
LBB0_6:
	movq	16(%r14), %rax
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INP_TIMEWAIT,4,2               ## @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ## @INP_DROPPED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tcp_mtudisc: tp == NULL"

	.comm	_tcps_mturesent,4,2             ## @tcps_mturesent
	.comm	_TF_SACK_PERMIT,4,2             ## @TF_SACK_PERMIT
	.no_dead_strip	_tcp_mtudisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_mtudisc
_tcp_mtudisc:                           ; @tcp_mtudisc
	.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	x21, x1
	mov	x20, x0
	bl	_INP_WLOCK_ASSERT
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _INP_TIMEWAIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INP_TIMEWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _INP_DROPPED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INP_DROPPED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	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_3:
	mov	x0, x20
	bl	_intotcpcb
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x21
	mov	x3, #0
	mov	x4, #0
	bl	_tcp_mss_update
	ldr	x20, [x20, #8]
	mov	x0, x20
	bl	_SOCKBUF_LOCK
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
	str	x8, [x19]
LBB0_5:
	mov	x0, x20
	bl	_SOCKBUF_UNLOCK
Lloh8:
	adrp	x8, _tcps_mturesent@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tcps_mturesent@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_TCPSTAT_INC
	str	xzr, [x19, #40]
	ldr	w8, [x19, #32]
	str	w8, [x19, #36]
	mov	x0, x19
	bl	_tcp_free_sackholes
	ldr	w8, [x19, #24]
	str	w8, [x19, #28]
	ldr	w0, [x19, #8]
Lloh11:
	adrp	x8, _TF_SACK_PERMIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TF_SACK_PERMIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.6:
	bl	_EXIT_FASTRECOVERY
LBB0_7:
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	mov	x0, x19
	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
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_INP_TIMEWAIT,4,2               ; @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ; @INP_DROPPED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tcp_mtudisc: tp == NULL"

	.comm	_tcps_mturesent,4,2             ; @tcps_mturesent
	.comm	_TF_SACK_PERMIT,4,2             ; @TF_SACK_PERMIT
	.no_dead_strip	_tcp_mtudisc
.subsections_via_symbols
