	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv6_advmss
_ipv6_advmss:                           ## @ipv6_advmss
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	-8(%rsi), %eax
	movl	(%rdi), %ecx
	cmpl	%ecx, %eax
	cmoval	%eax, %ecx
	movq	_IPV6_MAXPLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, %rdx
	addq	$-4, %rdx
	cmpq	%rcx, %rdx
	cmovael	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV6_MAXPLEN,4,2               ## @IPV6_MAXPLEN
	.no_dead_strip	_ipv6_advmss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv6_advmss
_ipv6_advmss:                           ; @ipv6_advmss
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #8
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _IPV6_MAXPLEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPV6_MAXPLEN@GOTPAGEOFF]
	cmp	w8, w9
	csel	w8, w8, w9, hi
Lloh2:
	ldrsw	x9, [x10]
	sub	x10, x9, #4
	cmp	x10, x8
	csel	w0, w9, w8, lo
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV6_MAXPLEN,4,2               ; @IPV6_MAXPLEN
	.no_dead_strip	_ipv6_advmss
.subsections_via_symbols
