	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_mcp_get_shmem_proto_legacy
_qed_mcp_get_shmem_proto_legacy:        ## @qed_mcp_get_shmem_proto_legacy
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_QED_DEV_CAP_ROCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_QED_PCI_ETH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_QED_PCI_ETH_ROCE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DP_VERBOSE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_DEV_CAP_ROCE,4,2           ## @QED_DEV_CAP_ROCE
	.comm	_QED_PCI_ETH_ROCE,4,2           ## @QED_PCI_ETH_ROCE
	.comm	_QED_PCI_ETH,4,2                ## @QED_PCI_ETH
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"According to Legacy capabilities, L2 personality is %08x\n"

	.no_dead_strip	_qed_mcp_get_shmem_proto_legacy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_mcp_get_shmem_proto_legacy
_qed_mcp_get_shmem_proto_legacy:        ; @qed_mcp_get_shmem_proto_legacy
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _QED_DEV_CAP_ROCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_DEV_CAP_ROCE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
Lloh3:
	adrp	x8, _QED_PCI_ETH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_PCI_ETH@GOTPAGEOFF]
Lloh5:
	adrp	x9, _QED_PCI_ETH_ROCE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QED_PCI_ETH_ROCE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w3, [x8]
	str	w3, [x19]
Lloh7:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DP_VERBOSE
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_DEV_CAP_ROCE,4,2           ; @QED_DEV_CAP_ROCE
	.comm	_QED_PCI_ETH_ROCE,4,2           ; @QED_PCI_ETH_ROCE
	.comm	_QED_PCI_ETH,4,2                ; @QED_PCI_ETH
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"According to Legacy capabilities, L2 personality is %08x\n"

	.no_dead_strip	_qed_mcp_get_shmem_proto_legacy
.subsections_via_symbols
