	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt6_mtu_change_route
_rt6_mtu_change_route:                  ## @rt6_mtu_change_route
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_dev_net
	movq	%rax, %r15
	movq	(%rbx), %rdi
	callq	___in6_dev_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.2:
	addq	$8, %r14
	movq	_RTAX_MTU@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_dst_metric_locked
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	%r14, %rdi
	callq	_dst_mtu
	movq	8(%rbx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_dst_mtu
	cmpq	8(%rbx), %rax
	jge	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	callq	_dst_mtu
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.6:
	movq	8(%rbx), %rcx
LBB0_7:
	movq	(%r14), %rax
	movslq	(%r13), %rdx
	movq	%rcx, -8(%rax,%rdx,8)
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_ipv6_advmss
	movq	(%r14), %rcx
	movq	_RTAX_ADVMSS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movq	%rax, -8(%rcx,%rdx,8)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_MTU,4,2                   ## @RTAX_MTU
	.comm	_RTAX_ADVMSS,4,2                ## @RTAX_ADVMSS
	.no_dead_strip	_rt6_mtu_change_route
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt6_mtu_change_route
_rt6_mtu_change_route:                  ; @rt6_mtu_change_route
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	ldr	x0, [x1]
	bl	_dev_net
	mov	x20, x0
	ldr	x0, [x19]
	bl	___in6_dev_get
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
	mov	x22, x0
	add	x21, x21, #8
Lloh0:
	adrp	x23, _RTAX_MTU@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RTAX_MTU@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_dst_metric_locked
	cbnz	w0, LBB0_8
; %bb.3:
	mov	x0, x21
	bl	_dst_mtu
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.ge	LBB0_7
; %bb.4:
	mov	x0, x21
	bl	_dst_mtu
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.ge	LBB0_8
; %bb.5:
	mov	x0, x21
	bl	_dst_mtu
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
LBB0_7:
	ldr	x9, [x21]
	ldrsw	x10, [x23]
	add	x9, x9, x10, lsl #3
	stur	x8, [x9, #-8]
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_ipv6_advmss
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _RTAX_ADVMSS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RTAX_ADVMSS@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #3
	stur	x0, [x8, #-8]
LBB0_8:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_MTU,4,2                   ; @RTAX_MTU
	.comm	_RTAX_ADVMSS,4,2                ; @RTAX_ADVMSS
	.no_dead_strip	_rt6_mtu_change_route
.subsections_via_symbols
