	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_port_info      ## -- Begin function qlcnic_83xx_get_port_info
	.p2align	4, 0x90
_qlcnic_83xx_get_port_info:             ## @qlcnic_83xx_get_port_info
	.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	%rdi, %rbx
	callq	_qlcnic_83xx_get_port_config
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_7
LBB0_2:
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_QLC_83XX_SFP_10G_CAPABLE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_QLCNIC_GBE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_QLCNIC_XGBE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	4(%rcx), %edi
	callq	_QLC_83XX_AUTONEG
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Get Port Info failed\n"

	.comm	_QLCNIC_XGBE,4,2                ## @QLCNIC_XGBE
	.comm	_QLCNIC_GBE,4,2                 ## @QLCNIC_GBE
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_port_info      ; -- Begin function qlcnic_83xx_get_port_info
	.p2align	2
_qlcnic_83xx_get_port_info:             ; @qlcnic_83xx_get_port_info
	.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, x0
	bl	_qlcnic_83xx_get_port_config
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_4
LBB0_2:
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	bl	_QLC_83XX_SFP_10G_CAPABLE
Lloh2:
	adrp	x8, _QLCNIC_GBE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QLCNIC_GBE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _QLCNIC_XGBE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _QLCNIC_XGBE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldr	x9, [x20]
	str	w8, [x9, #8]
	ldr	w0, [x9, #4]
	bl	_QLC_83XX_AUTONEG
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x20]
	str	w8, [x9]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Get Port Info failed\n"

	.comm	_QLCNIC_XGBE,4,2                ; @QLCNIC_XGBE
	.comm	_QLCNIC_GBE,4,2                 ; @QLCNIC_GBE
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
.subsections_via_symbols
