	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_link_config
_init_link_config:                      ## @init_link_config
	.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	%rdx, %r14
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	movq	%rdx, 32(%rdi)
	movq	$0, 16(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rdi)
	movq	_PAUSE_RX@GOTPCREL(%rip), %rax
	movq	_PAUSE_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%rdi)
	movl	%ecx, 4(%rdi)
	movq	_FEC_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rdi)
	movq	%rdx, %rdi
	callq	_fwcap_to_cc_fec
	movl	%eax, 40(%rbx)
	movl	(%rbx), %eax
	movq	_FW_PORT_CAP32_ANEG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_ADVERT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 12(%rbx)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_PAUSE_AUTONEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	jmp	LBB0_3
LBB0_2:
	movl	$0, 12(%rbx)
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r14, %rdi
	callq	_fwcap_to_fwspeed
	movq	%rax, 16(%rbx)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAUSE_RX,4,2                   ## @PAUSE_RX
	.comm	_PAUSE_TX,4,2                   ## @PAUSE_TX
	.comm	_FEC_AUTO,4,2                   ## @FEC_AUTO
	.comm	_FW_PORT_CAP32_ANEG,4,2         ## @FW_PORT_CAP32_ANEG
	.comm	_ADVERT_MASK,4,2                ## @ADVERT_MASK
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_PAUSE_AUTONEG,4,2              ## @PAUSE_AUTONEG
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.no_dead_strip	_init_link_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_link_config
_init_link_config:                      ; @init_link_config
	.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
	mov	x20, x2
	mov	x19, x0
	str	w1, [x0]
	str	x2, [x0, #32]
	str	xzr, [x0, #16]
Lloh0:
	adrp	x8, _PAUSE_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAUSE_RX@GOTPAGEOFF]
	stp	xzr, xzr, [x0, #48]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PAUSE_TX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAUSE_TX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w8, w8, [x0, #4]
Lloh6:
	adrp	x8, _FEC_AUTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FEC_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #44]
	mov	x0, x2
	bl	_fwcap_to_cc_fec
	str	w0, [x19, #40]
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _FW_PORT_CAP32_ANEG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FW_PORT_CAP32_ANEG@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x9, _ADVERT_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ADVERT_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #12]
Lloh15:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh18:
	adrp	x8, _PAUSE_AUTONEG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAUSE_AUTONEG@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_3
LBB0_2:
	str	wzr, [x19, #12]
Lloh21:
	adrp	x8, _AUTONEG_DISABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	mov	x0, x20
	bl	_fwcap_to_fwspeed
	str	x0, [x19, #16]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PAUSE_RX,4,2                   ; @PAUSE_RX
	.comm	_PAUSE_TX,4,2                   ; @PAUSE_TX
	.comm	_FEC_AUTO,4,2                   ; @FEC_AUTO
	.comm	_FW_PORT_CAP32_ANEG,4,2         ; @FW_PORT_CAP32_ANEG
	.comm	_ADVERT_MASK,4,2                ; @ADVERT_MASK
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_PAUSE_AUTONEG,4,2              ; @PAUSE_AUTONEG
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.no_dead_strip	_init_link_config
.subsections_via_symbols
