	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_setmtu0                    ## -- Begin function nd6_setmtu0
	.p2align	4, 0x90
_nd6_setmtu0:                           ## @nd6_setmtu0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rdx
	movq	(%rdi), %rax
	movq	%rax, (%rsi)
	movq	_IPV6_MMTU@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rdx
	jl	LBB0_3
## %bb.1:
	cmpq	%rcx, %rax
	jge	LBB0_3
## %bb.2:
	movq	%rsi, %rbx
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_if_name
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_log
	movq	(%rbx), %rax
LBB0_3:
	movq	_V_in6_maxmtu@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_in6_setmaxmtu                  ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV6_MMTU,8,3                  ## @IPV6_MMTU
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nd6_setmtu0: new link MTU on %s (%lu) is too small for IPv6\n"

	.comm	_V_in6_maxmtu,8,3               ## @V_in6_maxmtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_setmtu0                    ; -- Begin function nd6_setmtu0
	.p2align	2
_nd6_setmtu0:                           ; @nd6_setmtu0
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x9, [x1]
	ldr	x8, [x0]
	str	x8, [x1]
Lloh0:
	adrp	x10, _IPV6_MMTU@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPV6_MMTU@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	x8, x10, #0, ge
	b.ge	LBB0_2
; %bb.1:
	mov	x19, x1
Lloh3:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	bl	_if_name
	mov	x2, x0
	ldr	x3, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_log
	ldr	x8, [x19]
LBB0_2:
Lloh8:
	adrp	x9, _V_in6_maxmtu@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V_in6_maxmtu@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_in6_setmaxmtu
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV6_MMTU,8,3                  ; @IPV6_MMTU
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nd6_setmtu0: new link MTU on %s (%lu) is too small for IPv6\n"

	.comm	_V_in6_maxmtu,8,3               ; @V_in6_maxmtu
.subsections_via_symbols
