	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_mtu
_choose_mtu:                            ## @choose_mtu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_arc_proto_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$65535, %eax                    ## imm = 0xFFFF
	xorl	%edx, %edx
	movq	_arc_proto_null@GOTPCREL(%rip), %rsi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$2, %rdx
	cmpq	$256, %rdx                      ## imm = 0x100
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rdi
	cmpq	%rsi, %rdi
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rdi), %edi
	cmpl	%eax, %edi
	cmovll	%edi, %eax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rcx,%rdx,8), %rdi
	cmpq	%rsi, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rdi), %edi
	cmpl	%eax, %edi
	cmovll	%edi, %eax
	jmp	LBB0_5
LBB0_6:
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_8
## %bb.7:
	movq	_XMTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_arc_proto_map,8,3              ## @arc_proto_map
	.comm	_arc_proto_null,4,2             ## @arc_proto_null
	.comm	_XMTU,4,2                       ## @XMTU
	.no_dead_strip	_choose_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_mtu
_choose_mtu:                            ; @choose_mtu
	.cfi_startproc
; %bb.0:
	mov	x9, #0
Lloh0:
	adrp	x8, _arc_proto_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _arc_proto_map@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	mov	w8, #65535
Lloh3:
	adrp	x11, _arc_proto_null@GOTPAGE
Lloh4:
	ldr	x11, [x11, _arc_proto_null@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	cmp	x9, #2048
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x9]
	cmp	x12, x11
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x12]
	cmp	w12, w8
	csel	w8, w12, w8, lt
	b	LBB0_1
LBB0_4:
Lloh5:
	adrp	x9, _XMTU@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XMTU@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mov	w10, #65535
	cmp	w8, w10
	csel	w0, w9, w8, eq
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_arc_proto_map,8,3              ; @arc_proto_map
	.comm	_arc_proto_null,4,2             ; @arc_proto_null
	.comm	_XMTU,4,2                       ; @XMTU
	.no_dead_strip	_choose_mtu
.subsections_via_symbols
