	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_link_val
_store_link_val:                        ## @store_link_val
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SWITCH_LINK_ATTR_MAX@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpq	$0, (%r15)
	jne	LBB0_2
## %bb.1:
	movl	$28, %edi
	callq	_malloc
	movq	%rax, (%r15)
	movl	(%r13), %ebx
LBB0_2:
	movq	_link_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_nla_parse_nested
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movq	_SWITCH_LINK_FLAG_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%r12,%rax,8)
	movq	(%r15), %rbx
	setne	%cl
	movl	%ecx, (%rbx)
	movq	_SWITCH_LINK_FLAG_DUPLEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%r12,%rax,8)
	setne	%cl
	movl	%ecx, 4(%rbx)
	movq	_SWITCH_LINK_FLAG_ANEG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%r12,%rax,8)
	setne	%cl
	movl	%ecx, 8(%rbx)
	movq	_SWITCH_LINK_FLAG_TX_FLOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%r12,%rax,8)
	setne	%cl
	movl	%ecx, 12(%rbx)
	movq	_SWITCH_LINK_FLAG_RX_FLOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%r12,%rax,8)
	setne	%cl
	movl	%ecx, 16(%rbx)
	movq	_SWITCH_LINK_SPEED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	callq	_nla_get_u32
	movl	%eax, 24(%rbx)
	movl	$0, 20(%rbx)
	movq	_SWITCH_LINK_FLAG_EEE_100BASET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r12,%rax,8)
	je	LBB0_4
## %bb.5:
	movq	_SWLIB_LINK_FLAG_EEE_100BASET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movq	_SWITCH_LINK_FLAG_EEE_1000BASET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%r12,%rcx,8)
	je	LBB0_8
## %bb.7:
	movq	_SWLIB_LINK_FLAG_EEE_1000BASET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 20(%rbx)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SWITCH_LINK_ATTR_MAX,4,2       ## @SWITCH_LINK_ATTR_MAX
	.comm	_link_policy,4,2                ## @link_policy
	.comm	_SWITCH_LINK_FLAG_LINK,8,3      ## @SWITCH_LINK_FLAG_LINK
	.comm	_SWITCH_LINK_FLAG_DUPLEX,8,3    ## @SWITCH_LINK_FLAG_DUPLEX
	.comm	_SWITCH_LINK_FLAG_ANEG,8,3      ## @SWITCH_LINK_FLAG_ANEG
	.comm	_SWITCH_LINK_FLAG_TX_FLOW,8,3   ## @SWITCH_LINK_FLAG_TX_FLOW
	.comm	_SWITCH_LINK_FLAG_RX_FLOW,8,3   ## @SWITCH_LINK_FLAG_RX_FLOW
	.comm	_SWITCH_LINK_SPEED,8,3          ## @SWITCH_LINK_SPEED
	.comm	_SWITCH_LINK_FLAG_EEE_100BASET,8,3 ## @SWITCH_LINK_FLAG_EEE_100BASET
	.comm	_SWLIB_LINK_FLAG_EEE_100BASET,4,2 ## @SWLIB_LINK_FLAG_EEE_100BASET
	.comm	_SWITCH_LINK_FLAG_EEE_1000BASET,8,3 ## @SWITCH_LINK_FLAG_EEE_1000BASET
	.comm	_SWLIB_LINK_FLAG_EEE_1000BASET,4,2 ## @SWLIB_LINK_FLAG_EEE_1000BASET
	.no_dead_strip	_store_link_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_link_val
_store_link_val:                        ; @store_link_val
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x22, _SWITCH_LINK_ATTR_MAX@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SWITCH_LINK_ATTR_MAX@GOTPAGEOFF]
	ldr	w1, [x22]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	x8, [x2]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	w0, #28
	bl	_malloc
	str	x0, [x21]
	ldr	w1, [x22]
LBB0_2:
Lloh7:
	adrp	x8, _link_policy@GOTPAGE
Lloh8:
	ldr	x8, [x8, _link_policy@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_nla_parse_nested
	mov	x20, x0
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x21, [x21]
Lloh10:
	adrp	x8, _SWITCH_LINK_FLAG_LINK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SWITCH_LINK_FLAG_LINK@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _SWITCH_LINK_FLAG_DUPLEX@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SWITCH_LINK_FLAG_DUPLEX@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x9, x19, x9, lsl #3
Lloh16:
	adrp	x10, _SWITCH_LINK_FLAG_ANEG@GOTPAGE
Lloh17:
	ldr	x10, [x10, _SWITCH_LINK_FLAG_ANEG@GOTPAGEOFF]
Lloh18:
	adrp	x11, _SWITCH_LINK_FLAG_TX_FLOW@GOTPAGE
Lloh19:
	ldr	x11, [x11, _SWITCH_LINK_FLAG_TX_FLOW@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	ldr	x11, [x11]
	ldr	d0, [x19, x8, lsl #3]
	ld1.d	{ v0 }[1], [x9]
	add	x8, x19, x11, lsl #3
	ldr	d1, [x19, x10, lsl #3]
	ld1.d	{ v1 }[1], [x8]
	cmtst.2d	v1, v1, v1
	cmtst.2d	v0, v0, v0
	uzp1.4s	v0, v0, v1
	movi.4s	v1, #1
	and.16b	v0, v0, v1
Lloh22:
	adrp	x8, _SWITCH_LINK_FLAG_RX_FLOW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SWITCH_LINK_FLAG_RX_FLOW@GOTPAGEOFF]
	str	q0, [x21]
Lloh24:
	ldr	x8, [x8]
	ldr	x8, [x19, x8, lsl #3]
	cmp	x8, #0
	cset	w8, ne
	str	w8, [x21, #16]
Lloh25:
	adrp	x8, _SWITCH_LINK_SPEED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SWITCH_LINK_SPEED@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x0, [x19, x8, lsl #3]
	bl	_nla_get_u32
	stp	wzr, w0, [x21, #20]
Lloh28:
	adrp	x8, _SWITCH_LINK_FLAG_EEE_100BASET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SWITCH_LINK_FLAG_EEE_100BASET@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x8, [x19, x8, lsl #3]
	cbz	x8, LBB0_5
; %bb.4:
Lloh31:
	adrp	x8, _SWLIB_LINK_FLAG_EEE_100BASET@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SWLIB_LINK_FLAG_EEE_100BASET@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x21, #20]
LBB0_5:
Lloh34:
	adrp	x9, _SWITCH_LINK_FLAG_EEE_1000BASET@GOTPAGE
Lloh35:
	ldr	x9, [x9, _SWITCH_LINK_FLAG_EEE_1000BASET@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	ldr	x9, [x19, x9, lsl #3]
	cbz	x9, LBB0_7
; %bb.6:
Lloh37:
	adrp	x9, _SWLIB_LINK_FLAG_EEE_1000BASET@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SWLIB_LINK_FLAG_EEE_1000BASET@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x21, #20]
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_SWITCH_LINK_ATTR_MAX,4,2       ; @SWITCH_LINK_ATTR_MAX
	.comm	_link_policy,4,2                ; @link_policy
	.comm	_SWITCH_LINK_FLAG_LINK,8,3      ; @SWITCH_LINK_FLAG_LINK
	.comm	_SWITCH_LINK_FLAG_DUPLEX,8,3    ; @SWITCH_LINK_FLAG_DUPLEX
	.comm	_SWITCH_LINK_FLAG_ANEG,8,3      ; @SWITCH_LINK_FLAG_ANEG
	.comm	_SWITCH_LINK_FLAG_TX_FLOW,8,3   ; @SWITCH_LINK_FLAG_TX_FLOW
	.comm	_SWITCH_LINK_FLAG_RX_FLOW,8,3   ; @SWITCH_LINK_FLAG_RX_FLOW
	.comm	_SWITCH_LINK_SPEED,8,3          ; @SWITCH_LINK_SPEED
	.comm	_SWITCH_LINK_FLAG_EEE_100BASET,8,3 ; @SWITCH_LINK_FLAG_EEE_100BASET
	.comm	_SWLIB_LINK_FLAG_EEE_100BASET,4,2 ; @SWLIB_LINK_FLAG_EEE_100BASET
	.comm	_SWITCH_LINK_FLAG_EEE_1000BASET,8,3 ; @SWITCH_LINK_FLAG_EEE_1000BASET
	.comm	_SWLIB_LINK_FLAG_EEE_1000BASET,4,2 ; @SWLIB_LINK_FLAG_EEE_1000BASET
	.no_dead_strip	_store_link_val
.subsections_via_symbols
