	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_get_link_capabilities_82598
_ixgbe_get_link_capabilities_82598:     ## @ixgbe_get_link_capabilities_82598
	.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	%rsi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movl	(%rdi), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_IXGBE_AUTOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IXGBE_READ_REG
LBB0_3:
	movq	_IXGBE_AUTOC_LMS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_9
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_IXGBE_LINK_SPEED_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	movq	_IXGBE_AUTOC_KX4_SUPP@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_7
## %bb.6:
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
LBB0_7:
	movq	_IXGBE_AUTOC_KX_SUPP@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_12
## %bb.8:
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_12
LBB0_9:
	movq	_IXGBE_ERR_LINK_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_10:
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_12:
	movl	$1, (%r14)
	jmp	LBB0_15
LBB0_13:
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$0, (%r14)
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_IXGBE_AUTOC,4,2                ## @IXGBE_AUTOC
	.comm	_IXGBE_AUTOC_LMS_MASK,4,2       ## @IXGBE_AUTOC_LMS_MASK
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_UNKNOWN,4,2   ## @IXGBE_LINK_SPEED_UNKNOWN
	.comm	_IXGBE_AUTOC_KX4_SUPP,4,2       ## @IXGBE_AUTOC_KX4_SUPP
	.comm	_IXGBE_AUTOC_KX_SUPP,4,2        ## @IXGBE_AUTOC_KX_SUPP
	.comm	_IXGBE_ERR_LINK_SETUP,4,2       ## @IXGBE_ERR_LINK_SETUP
	.no_dead_strip	_ixgbe_get_link_capabilities_82598
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_get_link_capabilities_82598
_ixgbe_get_link_capabilities_82598:     ; @ixgbe_get_link_capabilities_82598
	.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	x19, x2
	mov	x20, x1
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _IXGBE_AUTOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_AUTOC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IXGBE_READ_REG
LBB0_3:
Lloh3:
	adrp	x8, _IXGBE_AUTOC_LMS_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_AUTOC_LMS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.4:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh8:
	adrp	x8, _IXGBE_LINK_SPEED_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh11:
	adrp	x9, _IXGBE_AUTOC_KX4_SUPP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IXGBE_AUTOC_KX4_SUPP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_7
; %bb.6:
Lloh14:
	adrp	x9, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_7:
Lloh17:
	adrp	x9, _IXGBE_AUTOC_KX_SUPP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IXGBE_AUTOC_KX_SUPP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_9
; %bb.8:
Lloh20:
	adrp	x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20]
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
Lloh23:
	adrp	x8, _IXGBE_ERR_LINK_SETUP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IXGBE_ERR_LINK_SETUP@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_11:
	mov	w0, #0
Lloh26:
	adrp	x8, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	mov	w0, #0
Lloh28:
	adrp	x8, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_13:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_16
LBB0_14:
	mov	w0, #0
Lloh31:
	adrp	x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	str	w8, [x20]
	str	wzr, [x19]
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
                                        ; -- End function
	.comm	_IXGBE_AUTOC,4,2                ; @IXGBE_AUTOC
	.comm	_IXGBE_AUTOC_LMS_MASK,4,2       ; @IXGBE_AUTOC_LMS_MASK
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ; @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_UNKNOWN,4,2   ; @IXGBE_LINK_SPEED_UNKNOWN
	.comm	_IXGBE_AUTOC_KX4_SUPP,4,2       ; @IXGBE_AUTOC_KX4_SUPP
	.comm	_IXGBE_AUTOC_KX_SUPP,4,2        ; @IXGBE_AUTOC_KX_SUPP
	.comm	_IXGBE_ERR_LINK_SETUP,4,2       ; @IXGBE_ERR_LINK_SETUP
	.no_dead_strip	_ixgbe_get_link_capabilities_82598
.subsections_via_symbols
