	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_eth_rxq_start_ramrod       ## -- Begin function qed_eth_rxq_start_ramrod
	.p2align	4, 0x90
_qed_eth_rxq_start_ramrod:              ## @qed_eth_rxq_start_ramrod
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movq	_QED_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	36(%rbx), %rcx
	movl	40(%rbx), %r8d
	movl	16(%rbx), %r9d
	movl	24(%rbx), %r10d
	movl	32(%rbx), %r11d
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r10
	callq	_DP_VERBOSE
	addq	$16, %rsp
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	40(%rbx), %eax
	movl	%eax, -64(%rbp)
	movl	36(%rbx), %eax
	movl	%eax, -68(%rbp)
	movq	_QED_SPQ_MODE_EBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_ETH_RAMROD_RX_QUEUE_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROTOCOLID_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r12, %r8
	callq	_qed_sp_init_request
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	-48(%rbp), %r12
	movl	32(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 72(%r12)
	movl	28(%rbx), %eax
	movl	%eax, 64(%r12)
	movl	24(%rbx), %eax
	movl	%eax, 60(%r12)
	movl	20(%rbx), %eax
	movl	%eax, 56(%r12)
	movl	16(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 48(%r12)
	movq	$0, 40(%r12)
	movl	$1, (%r12)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 32(%r12)
	movl	24(%r12), %edi
	movl	%r13d, %esi
	callq	_DMA_REGPAIR_LE
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le16
	movq	%rax, 16(%r12)
	movl	12(%r12), %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_DMA_REGPAIR_LE
	movq	(%rbx), %rax
	movq	_QED_QUEUE_CID_SELF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_QED_QCID_LEGACY_VF_RX_PROD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	andl	8(%rbx), %eax
	setne	%r15b
	movl	12(%rbx), %r8d
	movl	%r8d, 8(%r12)
	movq	_QED_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmovneq	%rax, %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	movl	%r15d, 4(%r12)
LBB0_3:
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_qed_spq_post
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QED_MSG_SP,4,2                 ## @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"opaque_fid=0x%x, cid=0x%x, rx_qzone=0x%x, vport_id=0x%x, sb_id=0x%x\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ## @QED_SPQ_MODE_EBLOCK
	.comm	_ETH_RAMROD_RX_QUEUE_START,4,2  ## @ETH_RAMROD_RX_QUEUE_START
	.comm	_PROTOCOLID_ETH,4,2             ## @PROTOCOLID_ETH
	.comm	_QED_QUEUE_CID_SELF,8,3         ## @QED_QUEUE_CID_SELF
	.comm	_QED_QCID_LEGACY_VF_RX_PROD,4,2 ## @QED_QCID_LEGACY_VF_RX_PROD
L_.str.1:                               ## @.str.1
	.asciz	"Queue%s is meant for VF rxq[%02x]\n"

L_.str.2:                               ## @.str.2
	.asciz	" [legacy]"

L_.str.3:                               ## @.str.3
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_eth_rxq_start_ramrod       ; -- Begin function qed_eth_rxq_start_ramrod
	.p2align	2
_qed_eth_rxq_start_ramrod:              ; @qed_eth_rxq_start_ramrod
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #40]
Lloh0:
	adrp	x25, _QED_MSG_SP@GOTPAGE
Lloh1:
	ldr	x25, [x25, _QED_MSG_SP@GOTPAGEOFF]
	ldr	w1, [x25]
	ldp	w3, w4, [x20, #36]
                                        ; kill: def $w3 killed $w3 def $x3
	sxtw	x3, w3
	ldr	w8, [x20, #16]
	ldr	w9, [x20, #24]
	ldr	w10, [x20, #32]
	stp	x9, x10, [sp, #8]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	str	x8, [sp]
	bl	_DP_VERBOSE
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldur	d0, [x20, #36]
	stur	d0, [sp, #28]
Lloh4:
	adrp	x8, _QED_SPQ_MODE_EBLOCK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QED_SPQ_MODE_EBLOCK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh7:
	adrp	x8, _ETH_RAMROD_RX_QUEUE_START@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_RAMROD_RX_QUEUE_START@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _PROTOCOLID_ETH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PROTOCOLID_ETH@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	add	x1, sp, #40
	add	x4, sp, #24
	mov	x0, x19
	bl	_qed_sp_init_request
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x26, [sp, #40]
	ldr	w0, [x20, #32]
	bl	_cpu_to_le16
	str	x0, [x26, #72]
	ldr	w8, [x20, #28]
	str	w8, [x26, #64]
	ldur	d0, [x20, #20]
	str	d0, [x26, #56]
	ldr	w0, [x20, #16]
	bl	_cpu_to_le16
	stp	xzr, x0, [x26, #40]
	mov	w8, #1
	str	w8, [x26]
	mov	x0, x24
	bl	_cpu_to_le16
	str	x0, [x26, #32]
	ldr	w0, [x26, #24]
	mov	x1, x23
	bl	_DMA_REGPAIR_LE
	mov	x0, x22
	bl	_cpu_to_le16
	str	x0, [x26, #16]
	ldr	w0, [x26, #12]
	mov	x1, x21
	bl	_DMA_REGPAIR_LE
	ldr	x8, [x20]
Lloh13:
	adrp	x9, _QED_QUEUE_CID_SELF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _QED_QUEUE_CID_SELF@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh16:
	adrp	x8, _QED_QCID_LEGACY_VF_RX_PROD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QED_QCID_LEGACY_VF_RX_PROD@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldp	w9, w4, [x20, #8]
	tst	w8, w9
	cset	w20, ne
	str	w4, [x26, #8]
	ldr	w1, [x25]
Lloh19:
	adrp	x8, l_.str.3@PAGE
Lloh20:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh21:
	adrp	x9, l_.str.2@PAGE
Lloh22:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x3, x9, x8, ne
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
	str	w20, [x26, #4]
LBB0_3:
	ldr	x1, [sp, #40]
	mov	x0, x19
	mov	x2, #0
	bl	_qed_spq_post
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QED_MSG_SP,4,2                 ; @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"opaque_fid=0x%x, cid=0x%x, rx_qzone=0x%x, vport_id=0x%x, sb_id=0x%x\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ; @QED_SPQ_MODE_EBLOCK
	.comm	_ETH_RAMROD_RX_QUEUE_START,4,2  ; @ETH_RAMROD_RX_QUEUE_START
	.comm	_PROTOCOLID_ETH,4,2             ; @PROTOCOLID_ETH
	.comm	_QED_QUEUE_CID_SELF,8,3         ; @QED_QUEUE_CID_SELF
	.comm	_QED_QCID_LEGACY_VF_RX_PROD,4,2 ; @QED_QCID_LEGACY_VF_RX_PROD
l_.str.1:                               ; @.str.1
	.asciz	"Queue%s is meant for VF rxq[%02x]\n"

l_.str.2:                               ; @.str.2
	.asciz	" [legacy]"

l_.str.3:                               ; @.str.3
	.space	1

.subsections_via_symbols
