	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtu2blksize
_mtu2blksize:                           ## @mtu2blksize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmovll	%ecx, %eax
	movq	8(%rdi), %rcx
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %r8
	movq	_ARPHRD_PPP@GOTPCREL(%rip), %r9
	movq	_ARPHRD_IPGRE@GOTPCREL(%rip), %rdi
	movq	_ARPHRD_LOOPBACK@GOTPCREL(%rip), %rdx
	leal	-2(%rax), %esi
	cmpq	(%rdx), %rcx
	cmovel	%esi, %eax
	cmpq	(%rdi), %rcx
	cmovel	%esi, %eax
	cmpq	(%r9), %rcx
	cmovel	%esi, %eax
	cmpq	(%r8), %rcx
	cmovel	%esi, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.comm	_ARPHRD_PPP,8,3                 ## @ARPHRD_PPP
	.comm	_ARPHRD_IPGRE,8,3               ## @ARPHRD_IPGRE
	.comm	_ARPHRD_LOOPBACK,8,3            ## @ARPHRD_LOOPBACK
	.no_dead_strip	_mtu2blksize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtu2blksize
_mtu2blksize:                           ; @mtu2blksize
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mov	w9, #65535
	cmp	w8, w9
	csel	w8, w8, w9, lt
Lloh0:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
	ldr	x10, [x0, #8]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x11, _ARPHRD_PPP@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ARPHRD_PPP@GOTPAGEOFF]
Lloh5:
	adrp	x12, _ARPHRD_IPGRE@GOTPAGE
Lloh6:
	ldr	x12, [x12, _ARPHRD_IPGRE@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
Lloh8:
	ldr	x12, [x12]
Lloh9:
	adrp	x13, _ARPHRD_LOOPBACK@GOTPAGE
Lloh10:
	ldr	x13, [x13, _ARPHRD_LOOPBACK@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x13]
	sub	w14, w8, #2
	cmp	x10, x13
	ccmp	x10, x12, #4, ne
	ccmp	x10, x11, #4, ne
	ccmp	x10, x9, #4, ne
	csel	w0, w14, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.comm	_ARPHRD_PPP,8,3                 ; @ARPHRD_PPP
	.comm	_ARPHRD_IPGRE,8,3               ; @ARPHRD_IPGRE
	.comm	_ARPHRD_LOOPBACK,8,3            ; @ARPHRD_LOOPBACK
	.no_dead_strip	_mtu2blksize
.subsections_via_symbols
