	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_rt_update_pmtu
_ip_rt_update_pmtu:                     ## @ip_rt_update_pmtu
	.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, %ebx
	movq	%rdi, %r14
	callq	_dst_mtu
	cmpl	$68, %ebx
	jl	LBB0_7
## %bb.1:
	cmpl	%ebx, %eax
	jle	LBB0_7
## %bb.2:
	movq	_RTAX_MTU@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_dst_metric_locked
	testl	%eax, %eax
	je	LBB0_3
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ip_rt_min_pmtu@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jle	LBB0_4
## %bb.5:
	movb	(%r15), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%r14), %rcx
	movq	_RTAX_LOCK@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	orl	%edx, -4(%rcx,%rsi,4)
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_4:
	movq	(%r14), %rcx
LBB0_6:
	movslq	(%r15), %rax
	movl	%ebx, -4(%rcx,%rax,4)
	movq	_ip_rt_mtu_expires@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_dst_set_expires
	movq	_NETEVENT_PMTU_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_call_netevent_notifiers        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_MTU,4,2                   ## @RTAX_MTU
	.comm	_ip_rt_min_pmtu,4,2             ## @ip_rt_min_pmtu
	.comm	_RTAX_LOCK,4,2                  ## @RTAX_LOCK
	.comm	_ip_rt_mtu_expires,4,2          ## @ip_rt_mtu_expires
	.comm	_NETEVENT_PMTU_UPDATE,4,2       ## @NETEVENT_PMTU_UPDATE
	.no_dead_strip	_ip_rt_update_pmtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_rt_update_pmtu
_ip_rt_update_pmtu:                     ; @ip_rt_update_pmtu
	.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, x1
	mov	x19, x0
	bl	_dst_mtu
	cmp	w20, #68
	b.lt	LBB0_3
; %bb.1:
	cmp	w0, w20
	b.le	LBB0_3
; %bb.2:
Lloh0:
	adrp	x21, _RTAX_MTU@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RTAX_MTU@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_dst_metric_locked
	cbz	w0, LBB0_4
LBB0_3:
	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_4:
Lloh2:
	adrp	x8, _ip_rt_min_pmtu@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ip_rt_min_pmtu@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_6
; %bb.5:
	ldr	w9, [x21]
	mov	w10, #1
	lsl	w10, w10, w9
	ldr	x9, [x19]
Lloh5:
	adrp	x11, _RTAX_LOCK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _RTAX_LOCK@GOTPAGEOFF]
Lloh7:
	ldrsw	x11, [x11]
	add	x11, x9, x11, lsl #2
	ldur	w12, [x11, #-4]
	orr	w10, w12, w10
	stur	w10, [x11, #-4]
	mov	x20, x8
	b	LBB0_7
LBB0_6:
	ldr	x9, [x19]
LBB0_7:
	ldrsw	x8, [x21]
	add	x8, x9, x8, lsl #2
	stur	w20, [x8, #-4]
Lloh8:
	adrp	x8, _ip_rt_mtu_expires@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ip_rt_mtu_expires@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dst_set_expires
Lloh11:
	adrp	x8, _NETEVENT_PMTU_UPDATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETEVENT_PMTU_UPDATE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, 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
	b	_call_netevent_notifiers
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_MTU,4,2                   ; @RTAX_MTU
	.comm	_ip_rt_min_pmtu,4,2             ; @ip_rt_min_pmtu
	.comm	_RTAX_LOCK,4,2                  ; @RTAX_LOCK
	.comm	_ip_rt_mtu_expires,4,2          ; @ip_rt_mtu_expires
	.comm	_NETEVENT_PMTU_UPDATE,4,2       ; @NETEVENT_PMTU_UPDATE
	.no_dead_strip	_ip_rt_update_pmtu
.subsections_via_symbols
