	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt6_pmtu_discovery             ## -- Begin function rt6_pmtu_discovery
	.p2align	4, 0x90
_rt6_pmtu_discovery:                    ## @rt6_pmtu_discovery
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rdx, %rdi
	callq	_dev_net
	movq	%rax, %r15
	movl	(%rbx), %ecx
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_rt6_lookup
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %r15
	movq	%r15, %rdi
	callq	_dst_mtu
	cmpq	%r12, %rax
	jle	LBB0_14
## %bb.2:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	_IPV6_MIN_MTU@GOTPCREL(%rip), %rax
	movq	%r12, %r13
	movq	%r15, %r14
	movq	(%rax), %r15
	cmpq	%r12, %r15
	cmovgq	%r15, %r12
	movq	%r14, %rdi
	callq	_dst_confirm
	movl	(%rbx), %eax
	movq	_RTF_CACHE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	movq	(%r14), %rax
	movq	_RTAX_MTU@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%r12, -8(%rax,%rcx,8)
	cmpq	%r13, %r15
	jle	LBB0_5
## %bb.4:
	movq	_RTAX_FEATURE_ALLFRAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_RTAX_FEATURES@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	orq	%rcx, -8(%rax,%rdx,8)
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rdi, %r15
	callq	_dst_set_expires
	movq	_RTF_MODIFIED@GOTPCREL(%rip), %rax
	movq	_RTF_EXPIRES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	jmp	LBB0_14
LBB0_15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%rbx)
	jne	LBB0_9
## %bb.7:
	movq	_RTF_NONEXTHOP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_9:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_rt6_alloc_clone
LBB0_10:
	movq	%rax, %rbx
	movq	%r14, %r15
	testq	%rax, %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_14
## %bb.11:
	leaq	8(%rbx), %rdi
	movq	8(%rbx), %r8
	movq	_RTAX_MTU@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, -8(%r8,%rcx,8)
	cmpq	%rsi, %rdx
	jle	LBB0_13
## %bb.12:
	movq	_RTAX_FEATURE_ALLFRAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_RTAX_FEATURES@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	orq	%rcx, -8(%r8,%rdx,8)
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_dst_set_expires
	movq	_RTF_DYNAMIC@GOTPCREL(%rip), %rax
	movq	_RTF_EXPIRES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	%rbx, %rdi
	callq	_ip6_ins_rt
LBB0_14:
	movq	%r15, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dst_release                    ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_rt6_alloc_cow
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV6_MIN_MTU,8,3               ## @IPV6_MIN_MTU
	.comm	_RTF_CACHE,4,2                  ## @RTF_CACHE
	.comm	_RTAX_MTU,4,2                   ## @RTAX_MTU
	.comm	_RTAX_FEATURE_ALLFRAG,8,3       ## @RTAX_FEATURE_ALLFRAG
	.comm	_RTAX_FEATURES,4,2              ## @RTAX_FEATURES
	.comm	_RTF_MODIFIED,4,2               ## @RTF_MODIFIED
	.comm	_RTF_EXPIRES,4,2                ## @RTF_EXPIRES
	.comm	_RTF_NONEXTHOP,4,2              ## @RTF_NONEXTHOP
	.comm	_RTF_DYNAMIC,4,2                ## @RTF_DYNAMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt6_pmtu_discovery             ; -- Begin function rt6_pmtu_discovery
	.p2align	2
_rt6_pmtu_discovery:                    ; @rt6_pmtu_discovery
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x24, x1
	mov	x23, x0
	mov	x0, x2
	bl	_dev_net
	mov	x20, x0
	ldr	w3, [x19]
	mov	x1, x23
	mov	x2, x24
	mov	w4, #0
	bl	_rt6_lookup
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_dst_mtu
	cmp	x0, x21
	b.le	LBB0_13
; %bb.2:
Lloh0:
	adrp	x8, _IPV6_MIN_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPV6_MIN_MTU@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	cmp	x25, x21
	csel	x26, x25, x21, gt
	mov	x0, x19
	bl	_dst_confirm
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _RTF_CACHE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTF_CACHE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _RTAX_MTU@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTAX_MTU@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	add	x9, x8, x9, lsl #3
	stur	x26, [x9, #-8]
	cmp	x25, x21
	b.le	LBB0_5
; %bb.4:
Lloh9:
	adrp	x9, _RTAX_FEATURE_ALLFRAG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTAX_FEATURE_ALLFRAG@GOTPAGEOFF]
Lloh11:
	adrp	x10, _RTAX_FEATURES@GOTPAGE
Lloh12:
	ldr	x10, [x10, _RTAX_FEATURES@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	ldrsw	x10, [x10]
	add	x8, x8, x10, lsl #3
	ldur	x10, [x8, #-8]
	orr	x9, x10, x9
	stur	x9, [x8, #-8]
LBB0_5:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_dst_set_expires
Lloh15:
	adrp	x8, _RTF_MODIFIED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTF_MODIFIED@GOTPAGEOFF]
Lloh17:
	adrp	x9, _RTF_EXPIRES@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RTF_EXPIRES@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
	b	LBB0_13
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w9, [x22, #16]
	cbnz	w9, LBB0_9
; %bb.8:
Lloh21:
	adrp	x9, _RTF_NONEXTHOP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RTF_NONEXTHOP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_9:
	mov	x0, x22
	mov	x1, x23
	bl	_rt6_alloc_clone
	mov	x22, x0
	cbz	x0, LBB0_13
LBB0_10:
	mov	x0, x22
	ldr	x8, [x0, #8]!
Lloh24:
	adrp	x9, _RTAX_MTU@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RTAX_MTU@GOTPAGEOFF]
Lloh26:
	ldrsw	x9, [x9]
	add	x9, x8, x9, lsl #3
	stur	x26, [x9, #-8]
	cmp	x25, x21
	b.le	LBB0_12
; %bb.11:
Lloh27:
	adrp	x9, _RTAX_FEATURE_ALLFRAG@GOTPAGE
Lloh28:
	ldr	x9, [x9, _RTAX_FEATURE_ALLFRAG@GOTPAGEOFF]
Lloh29:
	adrp	x10, _RTAX_FEATURES@GOTPAGE
Lloh30:
	ldr	x10, [x10, _RTAX_FEATURES@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
Lloh32:
	ldrsw	x10, [x10]
	add	x8, x8, x10, lsl #3
	ldur	x10, [x8, #-8]
	orr	x9, x10, x9
	stur	x9, [x8, #-8]
LBB0_12:
	ldr	w1, [x20]
	bl	_dst_set_expires
Lloh33:
	adrp	x8, _RTF_DYNAMIC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RTF_DYNAMIC@GOTPAGEOFF]
Lloh35:
	adrp	x9, _RTF_EXPIRES@GOTPAGE
Lloh36:
	ldr	x9, [x9, _RTF_EXPIRES@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
	mov	x0, x22
	bl	_ip6_ins_rt
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dst_release
LBB0_14:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_rt6_alloc_cow
	mov	x22, x0
	cbnz	x0, LBB0_10
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV6_MIN_MTU,8,3               ; @IPV6_MIN_MTU
	.comm	_RTF_CACHE,4,2                  ; @RTF_CACHE
	.comm	_RTAX_MTU,4,2                   ; @RTAX_MTU
	.comm	_RTAX_FEATURE_ALLFRAG,8,3       ; @RTAX_FEATURE_ALLFRAG
	.comm	_RTAX_FEATURES,4,2              ; @RTAX_FEATURES
	.comm	_RTF_MODIFIED,4,2               ; @RTF_MODIFIED
	.comm	_RTF_EXPIRES,4,2                ; @RTF_EXPIRES
	.comm	_RTF_NONEXTHOP,4,2              ; @RTF_NONEXTHOP
	.comm	_RTF_DYNAMIC,4,2                ; @RTF_DYNAMIC
.subsections_via_symbols
