	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icmp6_mtudisc_update           ## -- Begin function icmp6_mtudisc_update
	.p2align	4, 0x90
_icmp6_mtudisc_update:                  ## @icmp6_mtudisc_update
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	16(%rdi), %r12
	movq	(%rdi), %r15
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_ntohl
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$16, %eax
	jb	LBB0_5
## %bb.2:
	movq	_IPV6_MMTU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-8(%rcx), %r14d
	cmpl	%ecx, %eax
	cmovgel	%eax, %r14d
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_bzero
	movq	%r15, %rdi
	callq	_M_GETFIB
	movl	%eax, -40(%rbp)
	movq	_INC_ISIPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_in6_setscope
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_tcp_maxmtu6
	cmpl	%eax, %r14d
	jge	LBB0_5
## %bb.4:
	leaq	-48(%rbp), %rdi
	movl	%r14d, %esi
	callq	_tcp_hc_updatemtu
	movq	_icp6s_pmtuchg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ICMP6STAT_INC
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV6_MMTU,4,2                  ## @IPV6_MMTU
	.comm	_INC_ISIPV6,4,2                 ## @INC_ISIPV6
	.comm	_icp6s_pmtuchg,4,2              ## @icp6s_pmtuchg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icmp6_mtudisc_update           ; -- Begin function icmp6_mtudisc_update
	.p2align	2
_icmp6_mtudisc_update:                  ; @icmp6_mtudisc_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	ldp	x8, x21, [x0, #8]
	ldr	x20, [x0]
	ldr	w0, [x8]
	bl	_ntohl
	cbz	w19, LBB0_5
; %bb.1:
	cmp	w0, #16
	b.lo	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _IPV6_MMTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPV6_MMTU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, #8
	cmp	w0, w8
	csel	w19, w9, w0, lt
	mov	x0, sp
	mov	w1, #12
	bl	_bzero
	mov	x0, x20
	bl	_M_GETFIB
Lloh3:
	adrp	x8, _INC_ISIPV6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INC_ISIPV6@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [sp, #4]
	orr	w8, w9, w8
	stp	w8, w0, [sp, #4]
	ldr	w8, [x21]
	str	w8, [sp]
	ldr	w1, [x20]
	mov	x0, sp
	mov	x2, #0
	bl	_in6_setscope
	cbnz	x0, LBB0_5
; %bb.3:
	mov	x0, sp
	mov	x1, #0
	bl	_tcp_maxmtu6
	cmp	w19, w0
	b.ge	LBB0_5
; %bb.4:
	mov	x0, sp
	mov	x1, x19
	bl	_tcp_hc_updatemtu
Lloh6:
	adrp	x8, _icp6s_pmtuchg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _icp6s_pmtuchg@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ICMP6STAT_INC
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV6_MMTU,4,2                  ; @IPV6_MMTU
	.comm	_INC_ISIPV6,4,2                 ; @INC_ISIPV6
	.comm	_icp6s_pmtuchg,4,2              ; @icp6s_pmtuchg
.subsections_via_symbols
