	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_82xx_get_link_ksettings
_qlcnic_82xx_get_link_ksettings:        ## @qlcnic_82xx_get_link_ksettings
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movl	$0, -48(%rbp)
	movq	(%r13), %rax
	movq	_QLCNIC_GBE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	orq	(%rax), %rbx
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_SUPPORTED_1000baseT_Half@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	orq	(%rax), %r15
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
	movq	40(%r13), %rax
	movq	%rax, 32(%r14)
	movl	36(%r13), %eax
	movl	%eax, 28(%r14)
	movq	24(%r13), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_QLCNIC_XGBE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.3:
	movl	56(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_QLCNIC_PORT_MODE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_QLCRD32
	movq	_QLCNIC_PORT_MODE_802_3_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rax
	cmoveq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rcx
	cmoveq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	movq	(%rax), %r15
	movq	(%rcx), %rbx
	movl	16(%r12), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	cmpq	$0, 16(%r13)
	je	LBB0_9
## %bb.5:
	cmpq	$0, 48(%r13)
	je	LBB0_6
## %bb.7:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_P3P_LINK_SPEED_REG
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_QLCRD32
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
	callq	_P3P_LINK_SPEED_VAL
	movq	_P3P_LINK_SPEED_MHZ@GOTPCREL(%rip), %rcx
	imulq	(%rcx), %rax
	movq	%rax, 40(%r13)
	jmp	LBB0_8
LBB0_9:
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	movq	%rax, 16(%r14)
LBB0_11:
	movq	(%r12), %rax
	movl	32(%rax), %ecx
	movl	%ecx, 24(%r14)
	movl	8(%rax), %edx
	leal	-128(%rdx), %ecx
	cmpl	$13, %ecx
	ja	LBB0_26
## %bb.12:
	xorl	%esi, %esi
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_15:
	movq	_SUPPORTED_MII@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_ADVERTISED_MII@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
	movq	_PORT_MII@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	jmp	LBB0_32
LBB0_13:
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rbx
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rcx
	orq	(%rcx), %r15
LBB0_14:
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rbx
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rcx
	orq	(%rcx), %r15
	movq	_PORT_TP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%r14)
	movq	24(%rax), %rax
	movq	%rax, 16(%r14)
	jmp	LBB0_32
LBB0_16:
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movl	16(%r12), %edi
	callq	_netif_running
	xorl	%esi, %esi
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	cmpq	$0, 16(%r13)
	setne	%sil
LBB0_18:
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	testl	%esi, %esi
	je	LBB0_32
LBB0_23:
	movq	(%r12), %rax
	movl	12(%rax), %eax
	leal	-145(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_24
## %bb.28:
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_24:
	addl	$-142, %eax
	cmpl	$3, %eax
	jb	LBB0_30
## %bb.25:
	movq	_PORT_OTHER@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_26:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_err
LBB0_27:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_33
LBB0_19:
	movq	(%rax), %rax
	movq	_QLCNIC_XGBE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.20:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rcx
	orq	(%rax), %rbx
	orq	(%rcx), %rbx
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rcx
	orq	(%rax), %r15
	orq	(%rcx), %r15
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movl	16(%r12), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_32
## %bb.21:
	xorl	%esi, %esi
	cmpq	$0, 16(%r13)
	setne	%sil
	testl	%esi, %esi
	jne	LBB0_23
	jmp	LBB0_32
LBB0_6:
	movq	40(%r13), %rax
LBB0_8:
	movq	%rax, 32(%r14)
	movq	24(%r13), %rax
	movq	%rax, 16(%r14)
	movl	36(%r13), %eax
	movl	%eax, 28(%r14)
	jmp	LBB0_11
LBB0_29:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	orq	(%rax), %rbx
	orq	(%rcx), %rbx
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rcx
	orq	(%rax), %r15
	orq	(%rcx), %r15
LBB0_30:
	movq	_PORT_TP@GOTPCREL(%rip), %rax
LBB0_31:
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_32:
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	xorl	%eax, %eax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_QLCNIC_GBE,8,3                 ## @QLCNIC_GBE
	.comm	_SUPPORTED_10baseT_Half,8,3     ## @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,8,3     ## @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,8,3    ## @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,8,3    ## @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_1000baseT_Half,8,3   ## @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,8,3   ## @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_100baseT_Half,8,3   ## @ADVERTISED_100baseT_Half
	.comm	_ADVERTISED_100baseT_Full,8,3   ## @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_1000baseT_Half,8,3  ## @ADVERTISED_1000baseT_Half
	.comm	_ADVERTISED_1000baseT_Full,8,3  ## @ADVERTISED_1000baseT_Full
	.comm	_QLCNIC_XGBE,8,3                ## @QLCNIC_XGBE
	.comm	_QLCNIC_PORT_MODE_ADDR,4,2      ## @QLCNIC_PORT_MODE_ADDR
	.comm	_QLCNIC_PORT_MODE_802_3_AP,8,3  ## @QLCNIC_PORT_MODE_802_3_AP
	.comm	_SUPPORTED_10000baseT_Full,8,3  ## @SUPPORTED_10000baseT_Full
	.comm	_ADVERTISED_10000baseT_Full,8,3 ## @ADVERTISED_10000baseT_Full
	.comm	_P3P_LINK_SPEED_MHZ,8,3         ## @P3P_LINK_SPEED_MHZ
	.comm	_SPEED_UNKNOWN,8,3              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ## @DUPLEX_UNKNOWN
	.comm	_AUTONEG_DISABLE,8,3            ## @AUTONEG_DISABLE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_SUPPORTED_Autoneg,8,3          ## @SUPPORTED_Autoneg
	.comm	_ADVERTISED_Autoneg,8,3         ## @ADVERTISED_Autoneg
	.comm	_SUPPORTED_TP,8,3               ## @SUPPORTED_TP
	.comm	_ADVERTISED_TP,8,3              ## @ADVERTISED_TP
	.comm	_PORT_TP,8,3                    ## @PORT_TP
	.comm	_SUPPORTED_MII,8,3              ## @SUPPORTED_MII
	.comm	_ADVERTISED_MII,8,3             ## @ADVERTISED_MII
	.comm	_PORT_MII,8,3                   ## @PORT_MII
	.comm	_SUPPORTED_FIBRE,8,3            ## @SUPPORTED_FIBRE
	.comm	_ADVERTISED_FIBRE,8,3           ## @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,8,3                 ## @PORT_FIBRE
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported board model %d\n"

	.comm	_PORT_OTHER,8,3                 ## @PORT_OTHER
	.no_dead_strip	_qlcnic_82xx_get_link_ksettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_82xx_get_link_ksettings
_qlcnic_82xx_get_link_ksettings:        ; @qlcnic_82xx_get_link_ksettings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0]
	str	wzr, [sp, #12]
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _QLCNIC_GBE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_GBE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
	orr	x8, x9, x8
Lloh11:
	ldr	x9, [x10]
	orr	x8, x8, x9
Lloh12:
	adrp	x9, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh15:
	adrp	x9, _SUPPORTED_1000baseT_Half@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Half@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
	orr	x8, x8, x9
Lloh20:
	ldr	x9, [x10]
	orr	x24, x8, x9
Lloh21:
	adrp	x8, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh27:
	adrp	x9, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh30:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	orr	x22, x8, x9
	ldr	x8, [x23, #40]
	str	x8, [x19, #32]
	ldr	w8, [x23, #36]
	str	w8, [x19, #28]
	ldr	x8, [x23, #24]
	b	LBB0_8
LBB0_2:
Lloh33:
	adrp	x9, _QLCNIC_XGBE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _QLCNIC_XGBE@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.3:
	ldr	w21, [x23, #56]
Lloh36:
	adrp	x8, _QLCNIC_PORT_MODE_ADDR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QLCNIC_PORT_MODE_ADDR@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_QLCRD32
Lloh39:
	adrp	x8, _QLCNIC_PORT_MODE_802_3_AP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _QLCNIC_PORT_MODE_802_3_AP@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh44:
	adrp	x10, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
Lloh46:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh47:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
	ldr	x22, [x8]
Lloh48:
	adrp	x8, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	x24, [x8]
	ldr	w0, [x20, #16]
	bl	_netif_running
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x23, #48]
	cbz	x8, LBB0_28
; %bb.6:
	mov	x0, x21
	bl	_P3P_LINK_SPEED_REG
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x20
	bl	_QLCRD32
	mov	x1, x0
	mov	x0, x21
	bl	_P3P_LINK_SPEED_VAL
Lloh50:
	adrp	x8, _P3P_LINK_SPEED_MHZ@GOTPAGE
Lloh51:
	ldr	x8, [x8, _P3P_LINK_SPEED_MHZ@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	mul	x8, x8, x0
	str	x8, [x23, #40]
	b	LBB0_29
LBB0_7:
Lloh53:
	adrp	x8, _SPEED_UNKNOWN@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh56:
	adrp	x8, _DUPLEX_UNKNOWN@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DUPLEX_UNKNOWN@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	str	w8, [x19, #28]
Lloh59:
	adrp	x8, _AUTONEG_DISABLE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
LBB0_8:
	str	x8, [x19, #16]
LBB0_9:
	ldr	x9, [x20]
	ldr	w8, [x9, #32]
	str	w8, [x19, #24]
	ldr	w2, [x9, #8]
	sub	w10, w2, #128
	cmp	w10, #13
	b.hi	LBB0_23
; %bb.10:
	mov	w8, #0
Lloh62:
	adrp	x11, lJTI0_0@PAGE
Lloh63:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_11
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_11:
Lloh64:
	adrp	x8, _SUPPORTED_MII@GOTPAGE
Lloh65:
	ldr	x8, [x8, _SUPPORTED_MII@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	orr	x21, x8, x24
Lloh67:
	adrp	x8, _ADVERTISED_MII@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ADVERTISED_MII@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
	orr	x22, x8, x22
Lloh70:
	adrp	x8, _PORT_MII@GOTPAGE
Lloh71:
	ldr	x8, [x8, _PORT_MII@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
Lloh73:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh74:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh75:
	ldr	x9, [x9]
	b	LBB0_14
LBB0_12:
Lloh76:
	adrp	x8, _SUPPORTED_Autoneg@GOTPAGE
Lloh77:
	ldr	x8, [x8, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh78:
	ldr	x8, [x8]
	orr	x24, x8, x24
Lloh79:
	adrp	x8, _ADVERTISED_Autoneg@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh81:
	ldr	x8, [x8]
	orr	x22, x8, x22
LBB0_13:
Lloh82:
	adrp	x8, _SUPPORTED_TP@GOTPAGE
Lloh83:
	ldr	x8, [x8, _SUPPORTED_TP@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	orr	x21, x8, x24
Lloh85:
	adrp	x8, _ADVERTISED_TP@GOTPAGE
Lloh86:
	ldr	x8, [x8, _ADVERTISED_TP@GOTPAGEOFF]
Lloh87:
	ldr	x8, [x8]
	orr	x22, x8, x22
Lloh88:
	adrp	x8, _PORT_TP@GOTPAGE
Lloh89:
	ldr	x8, [x8, _PORT_TP@GOTPAGEOFF]
Lloh90:
	ldr	x8, [x8]
	ldr	x9, [x9, #24]
LBB0_14:
	stp	x8, x9, [x19, #8]
	b	LBB0_33
LBB0_15:
Lloh91:
	adrp	x8, _ADVERTISED_TP@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ADVERTISED_TP@GOTPAGEOFF]
Lloh93:
	ldr	x8, [x8]
	orr	x22, x8, x22
Lloh94:
	adrp	x8, _SUPPORTED_TP@GOTPAGE
Lloh95:
	ldr	x8, [x8, _SUPPORTED_TP@GOTPAGEOFF]
Lloh96:
	ldr	x8, [x8]
	orr	x24, x8, x24
	ldr	w0, [x20, #16]
	bl	_netif_running
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w8, ne
	b	LBB0_18
LBB0_17:
	mov	w8, #0
LBB0_18:
Lloh97:
	adrp	x9, _SUPPORTED_FIBRE@GOTPAGE
Lloh98:
	ldr	x9, [x9, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh99:
	ldr	x9, [x9]
	orr	x21, x9, x24
Lloh100:
	adrp	x9, _ADVERTISED_FIBRE@GOTPAGE
Lloh101:
	ldr	x9, [x9, _ADVERTISED_FIBRE@GOTPAGEOFF]
Lloh102:
	ldr	x9, [x9]
	orr	x22, x9, x22
Lloh103:
	adrp	x9, _PORT_FIBRE@GOTPAGE
Lloh104:
	ldr	x9, [x9, _PORT_FIBRE@GOTPAGEOFF]
Lloh105:
	ldr	x9, [x9]
Lloh106:
	adrp	x10, _AUTONEG_DISABLE@GOTPAGE
Lloh107:
	ldr	x10, [x10, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh108:
	ldr	x10, [x10]
	stp	x9, x10, [x19, #8]
	cbz	w8, LBB0_33
LBB0_19:
	ldr	x8, [x20]
	ldr	w8, [x8, #12]
	sub	w9, w8, #145
	cmp	w9, #4
	b.hs	LBB0_21
; %bb.20:
Lloh109:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
	b	LBB0_32
LBB0_21:
	sub	w8, w8, #142
	cmp	w8, #3
	b.hs	LBB0_31
; %bb.22:
Lloh111:
	adrp	x8, _PORT_TP@GOTPAGE
Lloh112:
	ldr	x8, [x8, _PORT_TP@GOTPAGEOFF]
	b	LBB0_32
LBB0_23:
	ldr	x0, [x20, #8]
Lloh113:
	adrp	x1, l_.str@PAGE
Lloh114:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_24:
Lloh115:
	adrp	x8, _EIO@GOTPAGE
Lloh116:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh117:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_34
LBB0_25:
	ldr	x8, [x9]
Lloh118:
	adrp	x9, _QLCNIC_XGBE@GOTPAGE
Lloh119:
	ldr	x9, [x9, _QLCNIC_XGBE@GOTPAGEOFF]
Lloh120:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.26:
Lloh121:
	adrp	x8, _AUTONEG_DISABLE@GOTPAGE
Lloh122:
	ldr	x8, [x8, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh123:
	ldr	x8, [x8]
Lloh124:
	adrp	x9, _SUPPORTED_FIBRE@GOTPAGE
Lloh125:
	ldr	x9, [x9, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh126:
	ldr	x9, [x9]
	orr	x9, x9, x24
Lloh127:
	adrp	x10, _SUPPORTED_TP@GOTPAGE
Lloh128:
	ldr	x10, [x10, _SUPPORTED_TP@GOTPAGEOFF]
Lloh129:
	ldr	x10, [x10]
	orr	x21, x9, x10
Lloh130:
	adrp	x9, _ADVERTISED_FIBRE@GOTPAGE
Lloh131:
	ldr	x9, [x9, _ADVERTISED_FIBRE@GOTPAGEOFF]
Lloh132:
	ldr	x9, [x9]
	orr	x9, x9, x22
Lloh133:
	adrp	x10, _ADVERTISED_TP@GOTPAGE
Lloh134:
	ldr	x10, [x10, _ADVERTISED_TP@GOTPAGEOFF]
Lloh135:
	ldr	x10, [x10]
	orr	x22, x9, x10
Lloh136:
	adrp	x9, _PORT_FIBRE@GOTPAGE
Lloh137:
	ldr	x9, [x9, _PORT_FIBRE@GOTPAGEOFF]
Lloh138:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #8]
	ldr	w0, [x20, #16]
	bl	_netif_running
	cbz	x0, LBB0_33
; %bb.27:
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w8, ne
	cbnz	w8, LBB0_19
	b	LBB0_33
LBB0_28:
	ldr	x8, [x23, #40]
LBB0_29:
	str	x8, [x19, #32]
	ldr	x8, [x23, #24]
	str	x8, [x19, #16]
	ldr	w8, [x23, #36]
	str	w8, [x19, #28]
	b	LBB0_9
LBB0_30:
Lloh139:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh140:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh141:
	adrp	x9, _SUPPORTED_TP@GOTPAGE
Lloh142:
	ldr	x9, [x9, _SUPPORTED_TP@GOTPAGEOFF]
Lloh143:
	ldr	x9, [x9]
	orr	x9, x9, x24
Lloh144:
	adrp	x10, _SUPPORTED_Autoneg@GOTPAGE
Lloh145:
	ldr	x10, [x10, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh146:
	ldr	x10, [x10]
	orr	x21, x9, x10
Lloh147:
	adrp	x9, _ADVERTISED_TP@GOTPAGE
Lloh148:
	ldr	x9, [x9, _ADVERTISED_TP@GOTPAGEOFF]
Lloh149:
	ldr	x8, [x8]
Lloh150:
	ldr	x9, [x9]
	orr	x9, x9, x22
Lloh151:
	adrp	x10, _ADVERTISED_Autoneg@GOTPAGE
Lloh152:
	ldr	x10, [x10, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh153:
	ldr	x10, [x10]
	orr	x22, x9, x10
Lloh154:
	adrp	x9, _PORT_TP@GOTPAGE
Lloh155:
	ldr	x9, [x9, _PORT_TP@GOTPAGEOFF]
Lloh156:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #8]
	b	LBB0_33
LBB0_31:
Lloh157:
	adrp	x8, _PORT_OTHER@GOTPAGE
Lloh158:
	ldr	x8, [x8, _PORT_OTHER@GOTPAGEOFF]
LBB0_32:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_33:
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_ethtool_convert_legacy_u32_to_link_mode
	ldr	w0, [x19]
	mov	x1, x22
	bl	_ethtool_convert_legacy_u32_to_link_mode
	mov	w0, #0
LBB0_34:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh150
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh149
	.loh AdrpLdrGot	Lloh157, Lloh158
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
	.byte	(LBB0_18-LBB0_11)>>2
	.byte	(LBB0_25-LBB0_11)>>2
	.byte	(LBB0_15-LBB0_11)>>2
	.byte	(LBB0_15-LBB0_11)>>2
	.byte	(LBB0_15-LBB0_11)>>2
	.byte	(LBB0_13-LBB0_11)>>2
	.byte	(LBB0_13-LBB0_11)>>2
	.byte	(LBB0_13-LBB0_11)>>2
                                        ; -- End function
	.comm	_QLCNIC_GBE,8,3                 ; @QLCNIC_GBE
	.comm	_SUPPORTED_10baseT_Half,8,3     ; @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,8,3     ; @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,8,3    ; @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,8,3    ; @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_1000baseT_Half,8,3   ; @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,8,3   ; @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_100baseT_Half,8,3   ; @ADVERTISED_100baseT_Half
	.comm	_ADVERTISED_100baseT_Full,8,3   ; @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_1000baseT_Half,8,3  ; @ADVERTISED_1000baseT_Half
	.comm	_ADVERTISED_1000baseT_Full,8,3  ; @ADVERTISED_1000baseT_Full
	.comm	_QLCNIC_XGBE,8,3                ; @QLCNIC_XGBE
	.comm	_QLCNIC_PORT_MODE_ADDR,4,2      ; @QLCNIC_PORT_MODE_ADDR
	.comm	_QLCNIC_PORT_MODE_802_3_AP,8,3  ; @QLCNIC_PORT_MODE_802_3_AP
	.comm	_SUPPORTED_10000baseT_Full,8,3  ; @SUPPORTED_10000baseT_Full
	.comm	_ADVERTISED_10000baseT_Full,8,3 ; @ADVERTISED_10000baseT_Full
	.comm	_P3P_LINK_SPEED_MHZ,8,3         ; @P3P_LINK_SPEED_MHZ
	.comm	_SPEED_UNKNOWN,8,3              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ; @DUPLEX_UNKNOWN
	.comm	_AUTONEG_DISABLE,8,3            ; @AUTONEG_DISABLE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_SUPPORTED_Autoneg,8,3          ; @SUPPORTED_Autoneg
	.comm	_ADVERTISED_Autoneg,8,3         ; @ADVERTISED_Autoneg
	.comm	_SUPPORTED_TP,8,3               ; @SUPPORTED_TP
	.comm	_ADVERTISED_TP,8,3              ; @ADVERTISED_TP
	.comm	_PORT_TP,8,3                    ; @PORT_TP
	.comm	_SUPPORTED_MII,8,3              ; @SUPPORTED_MII
	.comm	_ADVERTISED_MII,8,3             ; @ADVERTISED_MII
	.comm	_PORT_MII,8,3                   ; @PORT_MII
	.comm	_SUPPORTED_FIBRE,8,3            ; @SUPPORTED_FIBRE
	.comm	_ADVERTISED_FIBRE,8,3           ; @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,8,3                 ; @PORT_FIBRE
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported board model %d\n"

	.comm	_PORT_OTHER,8,3                 ; @PORT_OTHER
	.no_dead_strip	_qlcnic_82xx_get_link_ksettings
.subsections_via_symbols
