	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_fill_dev_info              ## -- Begin function qed_fill_dev_info
	.p2align	4, 0x90
_qed_fill_dev_info:                     ## @qed_fill_dev_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_QED_LEADING_HWFN
	movq	%rax, %r14
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$92, %edx
	callq	_memset
	movq	_QED_TUNN_CLSS_MAC_VLAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 96(%rbx)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 104(%rbx)
	je	LBB0_3
## %bb.2:
	movl	$1, (%r15)
LBB0_3:
	cmpq	$0, 88(%rbx)
	je	LBB0_8
## %bb.4:
	cmpq	$0, 72(%rbx)
	je	LBB0_8
## %bb.5:
	cmpq	%rax, 80(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpq	%rax, 64(%rbx)
	jne	LBB0_8
## %bb.7:
	movl	$1, 4(%r15)
LBB0_8:
	cmpq	$0, 56(%rbx)
	je	LBB0_13
## %bb.9:
	cmpq	$0, 40(%rbx)
	je	LBB0_13
## %bb.10:
	cmpq	%rax, 48(%rbx)
	jne	LBB0_13
## %bb.11:
	cmpq	%rax, 32(%rbx)
	jne	LBB0_13
## %bb.12:
	movl	$1, 8(%r15)
LBB0_13:
	movups	16(%rbx), %xmm0
	movups	%xmm0, 76(%r15)
	movq	%r14, %rdi
	callq	_QED_IS_RDMA_PERSONALITY
	movl	%eax, 72(%r15)
	movl	12(%rbx), %eax
	movl	%eax, 68(%r15)
	movl	64(%r15), %edi
	movl	20(%r14), %esi
	callq	_ether_addr_copy
	movq	%rbx, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	_FW_MAJOR_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_FW_MINOR_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	_FW_REVISION_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_FW_ENGINEERING_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	_QED_MF_INTER_PF_SWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	movl	%eax, 60(%r15)
	movl	$1, 12(%r15)
	movq	8(%r14), %rax
	movq	_QED_WOL_SUPPORT_PME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	movl	$1, 16(%r15)
LBB0_16:
	movq	%r14, %rdi
	callq	_qed_mcp_is_smart_an_supported
	movl	%eax, 56(%r15)
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	movl	(%rax), %eax
	movl	%eax, 52(%r15)
	jmp	LBB0_18
LBB0_17:
	movq	(%rbx), %rdi
	leaq	48(%r15), %rsi
	leaq	44(%r15), %rdx
	leaq	40(%r15), %rcx
	leaq	36(%r15), %r8
	callq	_qed_vf_get_fw_version
LBB0_18:
	movq	%rbx, %rdi
	callq	_IS_PF
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	testq	%r12, %r12
	je	LBB0_21
## %bb.19:
	movq	%rax, %rdi
	callq	_qed_ptt_acquire
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	leaq	24(%r15), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_qed_mcp_get_mfw_ver
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	leaq	32(%r15), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_qed_mcp_get_mbi_ver
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	leaq	28(%r15), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_qed_mcp_get_flash_size
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_qed_ptt_release
	jmp	LBB0_22
LBB0_21:
	leaq	24(%r15), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_qed_mcp_get_mfw_ver
LBB0_22:
	movl	16(%r14), %eax
	movl	%eax, 20(%r15)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_TUNN_CLSS_MAC_VLAN,8,3     ## @QED_TUNN_CLSS_MAC_VLAN
	.comm	_FW_MAJOR_VERSION,4,2           ## @FW_MAJOR_VERSION
	.comm	_FW_MINOR_VERSION,4,2           ## @FW_MINOR_VERSION
	.comm	_FW_REVISION_VERSION,4,2        ## @FW_REVISION_VERSION
	.comm	_FW_ENGINEERING_VERSION,4,2     ## @FW_ENGINEERING_VERSION
	.comm	_QED_MF_INTER_PF_SWITCH,4,2     ## @QED_MF_INTER_PF_SWITCH
	.comm	_QED_WOL_SUPPORT_PME,8,3        ## @QED_WOL_SUPPORT_PME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_fill_dev_info              ; -- Begin function qed_fill_dev_info
	.p2align	2
_qed_fill_dev_info:                     ; @qed_fill_dev_info
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_QED_LEADING_HWFN
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #92
	bl	_memset
	ldr	x9, [x21, #96]
Lloh0:
	adrp	x8, _QED_TUNN_CLSS_MAC_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_TUNN_CLSS_MAC_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x21, #104]
	cbz	x9, LBB0_3
; %bb.2:
	mov	w9, #1
	str	w9, [x19]
LBB0_3:
	ldr	x9, [x21, #88]
	cbz	x9, LBB0_8
; %bb.4:
	ldr	x9, [x21, #72]
	cbz	x9, LBB0_8
; %bb.5:
	ldr	x9, [x21, #80]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	ldr	x9, [x21, #64]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w9, #1
	str	w9, [x19, #4]
LBB0_8:
	ldr	x9, [x21, #56]
	cbz	x9, LBB0_13
; %bb.9:
	ldr	x9, [x21, #40]
	cbz	x9, LBB0_13
; %bb.10:
	ldr	x9, [x21, #48]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	ldr	x9, [x21, #32]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_13:
	ldr	q0, [x21, #16]
	stur	q0, [x19, #76]
	mov	x0, x20
	bl	_QED_IS_RDMA_PERSONALITY
	ldr	w8, [x21, #12]
	stp	w8, w0, [x19, #68]
	ldr	w0, [x19, #64]
	ldr	w1, [x20, #20]
	bl	_ether_addr_copy
	mov	x0, x21
	bl	_IS_PF
	cbz	x0, LBB0_17
; %bb.14:
Lloh3:
	adrp	x8, _FW_MAJOR_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_MAJOR_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FW_MINOR_VERSION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_MINOR_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #44]
Lloh9:
	adrp	x8, _FW_REVISION_VERSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_REVISION_VERSION@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _FW_ENGINEERING_VERSION@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FW_ENGINEERING_VERSION@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #36]
Lloh15:
	adrp	x8, _QED_MF_INTER_PF_SWITCH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QED_MF_INTER_PF_SWITCH@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_test_bit
	str	w0, [x19, #60]
	mov	w8, #1
	str	w8, [x19, #12]
	ldr	x9, [x20, #8]
Lloh18:
	adrp	x10, _QED_WOL_SUPPORT_PME@GOTPAGE
Lloh19:
	ldr	x10, [x10, _QED_WOL_SUPPORT_PME@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_16
; %bb.15:
	str	w8, [x19, #16]
LBB0_16:
	mov	x0, x20
	bl	_qed_mcp_is_smart_an_supported
	str	w0, [x19, #56]
	mov	x0, x21
	bl	_QED_LEADING_HWFN
	ldr	w8, [x0]
	str	w8, [x19, #52]
	b	LBB0_18
LBB0_17:
	ldr	x0, [x21]
	add	x1, x19, #48
	add	x2, x19, #44
	add	x3, x19, #40
	add	x4, x19, #36
	bl	_qed_vf_get_fw_version
LBB0_18:
	mov	x0, x21
	bl	_IS_PF
	mov	x22, x0
	mov	x0, x21
	bl	_QED_LEADING_HWFN
	cbz	x22, LBB0_21
; %bb.19:
	bl	_qed_ptt_acquire
	cbz	x0, LBB0_22
; %bb.20:
	mov	x22, x0
	mov	x0, x21
	bl	_QED_LEADING_HWFN
	add	x2, x19, #24
	mov	x1, x22
	mov	x3, #0
	bl	_qed_mcp_get_mfw_ver
	mov	x0, x21
	bl	_QED_LEADING_HWFN
	add	x2, x19, #32
	mov	x1, x22
	bl	_qed_mcp_get_mbi_ver
	mov	x0, x21
	bl	_QED_LEADING_HWFN
	add	x2, x19, #28
	mov	x1, x22
	bl	_qed_mcp_get_flash_size
	mov	x0, x21
	bl	_QED_LEADING_HWFN
	mov	x1, x22
	bl	_qed_ptt_release
	b	LBB0_22
LBB0_21:
	add	x2, x19, #24
	mov	x1, #0
	mov	x3, #0
	bl	_qed_mcp_get_mfw_ver
LBB0_22:
	ldr	w8, [x20, #16]
	str	w8, [x19, #20]
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_TUNN_CLSS_MAC_VLAN,8,3     ; @QED_TUNN_CLSS_MAC_VLAN
	.comm	_FW_MAJOR_VERSION,4,2           ; @FW_MAJOR_VERSION
	.comm	_FW_MINOR_VERSION,4,2           ; @FW_MINOR_VERSION
	.comm	_FW_REVISION_VERSION,4,2        ; @FW_REVISION_VERSION
	.comm	_FW_ENGINEERING_VERSION,4,2     ; @FW_ENGINEERING_VERSION
	.comm	_QED_MF_INTER_PF_SWITCH,4,2     ; @QED_MF_INTER_PF_SWITCH
	.comm	_QED_WOL_SUPPORT_PME,8,3        ; @QED_WOL_SUPPORT_PME
.subsections_via_symbols
