	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qed_ll2_prepare_tx_packet_set_bd
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qed_ll2_prepare_tx_packet_set_bd:      ## @qed_ll2_prepare_tx_packet_set_bd
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	leaq	4(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_qed_chain_get_prod_idx
	movq	(%r12), %rdx
	movq	_QED_LL2_ROCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_1
## %bb.2:
	movq	_CORE_ROCE@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_1:
	movq	_CORE_RROCE@GOTPCREL(%rip), %rsi
LBB0_3:
	movl	8(%r12), %ecx
	addl	$-128, %ecx
	cmpl	$2, %ecx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	ja	LBB0_4
## %bb.5:
	movslq	%ecx, %rcx
	leaq	l_switch.table.qed_ll2_prepare_tx_packet_set_bd(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_CORE_TX_DEST_LB@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rsi), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_qed_chain_produce
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_QED_IS_IWARP_PERSONALITY
	testq	%rax, %rax
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.7:
	movq	8(%r13), %rax
	movq	_QED_LL2_TYPE_OOO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_IWARP_LL2_IN_ORDER_TX_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movl	%eax, (%r15)
	jmp	LBB0_12
LBB0_9:
	movq	16(%r12), %rdi
	callq	_cpu_to_le16
	movl	%eax, (%r15)
	movq	_QED_MF_UFP_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	8(%r13), %rax
	movq	_QED_LL2_TYPE_FCOE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movl	$1, 24(%r12)
LBB0_12:
	movq	%r12, %rbx
	movq	8(%r15), %r12
	movq	_CORE_TX_BD_L4_HDR_OFFSET_W@GOTPCREL(%rip), %rax
	movq	%r13, %r14
	movl	(%rax), %r13d
	movq	32(%rbx), %rdi
	callq	_cpu_to_le16
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_SET_FIELD
	movq	8(%r15), %rdi
	movq	_CORE_TX_BD_TX_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_SET_FIELD
	movq	40(%rbx), %r12
	movq	_CORE_TX_BD_DATA_START_BD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_SET_FIELD
	movq	_CORE_TX_BD_DATA_NBDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	48(%rbx), %edx
	movq	%r12, %rdi
	callq	_SET_FIELD
	movq	_CORE_TX_BD_DATA_ROCE_FLAV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_SET_FIELD
	movq	_CORE_TX_BD_DATA_IP_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$0, 76(%rbx)
	setne	%dl
	movq	%r12, %rdi
	callq	_SET_FIELD
	movq	_CORE_TX_BD_DATA_L4_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$0, 72(%rbx)
	setne	%dl
	movq	%r12, %rdi
	callq	_SET_FIELD
	movq	_CORE_TX_BD_DATA_IP_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$0, 68(%rbx)
	setne	%dl
	movq	%r12, %rdi
	callq	_SET_FIELD
	movq	_CORE_TX_BD_DATA_DISABLE_STAG_INSERTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$0, 24(%rbx)
	setne	%dl
	movq	%r12, %rdi
	callq	_SET_FIELD
	movq	%r12, %rdi
	callq	_cpu_to_le16
	movl	%eax, 20(%r15)
	movl	64(%rbx), %esi
	movq	24(%r15), %rdi
	callq	_DMA_REGPAIR_LE
	movq	56(%rbx), %rdi
	callq	_cpu_to_le16
	movl	%eax, 16(%r15)
	movq	_NETIF_MSG_TX_QUEUED@GOTPCREL(%rip), %rax
	movq	_QED_MSG_LL2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	20(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r14), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	56(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	48(%rbx), %r14d
	movl	28(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, %r13d
	movl	24(%r15), %edi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	pushq	%r13
	pushq	%r14
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_DP_VERBOSE
	addq	$48, %rsp
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %r12
	cmpl	48(%rbx), %r12d
	movq	-104(%rbp), %r15                ## 8-byte Reload
	jae	LBB0_15
## %bb.13:
	movq	%rbx, %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	leaq	(,%r12,8), %rax
	leaq	(%rax,%rax,2), %rbx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_qed_chain_produce
	movq	%rax, 16(%r13,%rbx)
	movl	$0, 20(%rax)
	movq	$0, 8(%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	incq	%r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13,%rbx)
	movslq	48(%r14), %rax
	addq	$24, %rbx
	cmpq	%rax, %r12
	jb	LBB0_14
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_LL2_ROCE,8,3               ## @QED_LL2_ROCE
	.comm	_CORE_ROCE,4,2                  ## @CORE_ROCE
	.comm	_CORE_RROCE,4,2                 ## @CORE_RROCE
	.comm	_CORE_TX_DEST_NW,4,2            ## @CORE_TX_DEST_NW
	.comm	_CORE_TX_DEST_LB,4,2            ## @CORE_TX_DEST_LB
	.comm	_CORE_TX_DEST_DROP,4,2          ## @CORE_TX_DEST_DROP
	.comm	_QED_LL2_TYPE_OOO,8,3           ## @QED_LL2_TYPE_OOO
	.comm	_IWARP_LL2_IN_ORDER_TX_QUEUE,8,3 ## @IWARP_LL2_IN_ORDER_TX_QUEUE
	.comm	_QED_MF_UFP_SPECIFIC,4,2        ## @QED_MF_UFP_SPECIFIC
	.comm	_QED_LL2_TYPE_FCOE,8,3          ## @QED_LL2_TYPE_FCOE
	.comm	_CORE_TX_BD_L4_HDR_OFFSET_W,4,2 ## @CORE_TX_BD_L4_HDR_OFFSET_W
	.comm	_CORE_TX_BD_TX_DST,4,2          ## @CORE_TX_BD_TX_DST
	.comm	_CORE_TX_BD_DATA_START_BD,4,2   ## @CORE_TX_BD_DATA_START_BD
	.comm	_CORE_TX_BD_DATA_NBDS,4,2       ## @CORE_TX_BD_DATA_NBDS
	.comm	_CORE_TX_BD_DATA_ROCE_FLAV,4,2  ## @CORE_TX_BD_DATA_ROCE_FLAV
	.comm	_CORE_TX_BD_DATA_IP_CSUM,4,2    ## @CORE_TX_BD_DATA_IP_CSUM
	.comm	_CORE_TX_BD_DATA_L4_CSUM,4,2    ## @CORE_TX_BD_DATA_L4_CSUM
	.comm	_CORE_TX_BD_DATA_IP_LEN,4,2     ## @CORE_TX_BD_DATA_IP_LEN
	.comm	_CORE_TX_BD_DATA_DISABLE_STAG_INSERTION,4,2 ## @CORE_TX_BD_DATA_DISABLE_STAG_INSERTION
	.comm	_NETIF_MSG_TX_QUEUED,4,2        ## @NETIF_MSG_TX_QUEUED
	.comm	_QED_MSG_LL2,4,2                ## @QED_MSG_LL2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LL2 [q 0x%02x cid 0x%08x type 0x%08x] Tx Producer at [0x%04x] - set with a %04x bytes %02x BDs buffer at %08x:%08x\n"

	.no_dead_strip	_qed_ll2_prepare_tx_packet_set_bd
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.qed_ll2_prepare_tx_packet_set_bd
l_switch.table.qed_ll2_prepare_tx_packet_set_bd:
	.quad	_CORE_TX_DEST_NW
	.quad	_CORE_TX_DEST_LB
	.quad	_CORE_TX_DEST_DROP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ll2_prepare_tx_packet_set_bd
_qed_ll2_prepare_tx_packet_set_bd:      ; @qed_ll2_prepare_tx_packet_set_bd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	add	x21, x1, #4
	mov	x0, x21
	bl	_qed_chain_get_prod_idx
Lloh0:
	adrp	x8, _QED_LL2_ROCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_LL2_ROCE@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _CORE_ROCE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CORE_ROCE@GOTPAGEOFF]
Lloh5:
	adrp	x11, _CORE_RROCE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _CORE_RROCE@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	ldr	w26, [x8]
	ldr	w8, [x19, #8]
	sub	w8, w8, #128
	cmp	w8, #2
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	b.hi	LBB0_2
; %bb.1:
Lloh7:
	adrp	x9, l_switch.table.qed_ll2_prepare_tx_packet_set_bd@PAGE
Lloh8:
	add	x9, x9, l_switch.table.qed_ll2_prepare_tx_packet_set_bd@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _CORE_TX_DEST_LB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CORE_TX_DEST_LB@GOTPAGEOFF]
LBB0_3:
	ldr	w27, [x8]
	mov	x0, x21
	bl	_qed_chain_produce
	mov	x25, x0
	mov	x0, x23
	bl	_QED_IS_IWARP_PERSONALITY
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x22, #8]
Lloh11:
	adrp	x9, _QED_LL2_TYPE_OOO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _QED_LL2_TYPE_OOO@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _IWARP_LL2_IN_ORDER_TX_QUEUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IWARP_LL2_IN_ORDER_TX_QUEUE@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	str	w0, [x25]
	b	LBB0_9
LBB0_6:
	ldr	x0, [x19, #16]
	bl	_cpu_to_le16
	str	w0, [x25]
Lloh17:
	adrp	x8, _QED_MF_UFP_SPECIFIC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QED_MF_UFP_SPECIFIC@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x1, [x23]
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x22, #8]
Lloh20:
	adrp	x9, _QED_LL2_TYPE_FCOE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _QED_LL2_TYPE_FCOE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #24]
LBB0_9:
	ldr	x28, [x25, #8]
Lloh23:
	adrp	x8, _CORE_TX_BD_L4_HDR_OFFSET_W@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CORE_TX_BD_L4_HDR_OFFSET_W@GOTPAGEOFF]
Lloh25:
	ldr	w24, [x8]
	ldr	x0, [x19, #32]
	bl	_cpu_to_le16
	mov	x2, x0
	mov	x0, x28
	mov	x1, x24
	bl	_SET_FIELD
	ldr	x0, [x25, #8]
Lloh26:
	adrp	x8, _CORE_TX_BD_TX_DST@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CORE_TX_BD_TX_DST@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x2, x27
	bl	_SET_FIELD
	ldr	x27, [x19, #40]
Lloh29:
	adrp	x8, _CORE_TX_BD_DATA_START_BD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CORE_TX_BD_DATA_START_BD@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x27
	mov	w2, #1
	bl	_SET_FIELD
Lloh32:
	adrp	x8, _CORE_TX_BD_DATA_NBDS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CORE_TX_BD_DATA_NBDS@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w2, [x19, #48]
	mov	x0, x27
	bl	_SET_FIELD
Lloh35:
	adrp	x8, _CORE_TX_BD_DATA_ROCE_FLAV@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CORE_TX_BD_DATA_ROCE_FLAV@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x27
	mov	x2, x26
	bl	_SET_FIELD
Lloh38:
	adrp	x8, _CORE_TX_BD_DATA_IP_CSUM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CORE_TX_BD_DATA_IP_CSUM@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	w8, [x19, #76]
	cmp	w8, #0
	cset	w2, ne
	mov	x0, x27
	bl	_SET_FIELD
Lloh41:
	adrp	x8, _CORE_TX_BD_DATA_L4_CSUM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CORE_TX_BD_DATA_L4_CSUM@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	w8, [x19, #72]
	cmp	w8, #0
	cset	w2, ne
	mov	x0, x27
	bl	_SET_FIELD
Lloh44:
	adrp	x8, _CORE_TX_BD_DATA_IP_LEN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CORE_TX_BD_DATA_IP_LEN@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	ldr	w8, [x19, #68]
	cmp	w8, #0
	cset	w2, ne
	mov	x0, x27
	bl	_SET_FIELD
Lloh47:
	adrp	x8, _CORE_TX_BD_DATA_DISABLE_STAG_INSERTION@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CORE_TX_BD_DATA_DISABLE_STAG_INSERTION@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	ldr	w8, [x19, #24]
	cmp	w8, #0
	cset	w2, ne
	mov	x0, x27
	bl	_SET_FIELD
	mov	x0, x27
	bl	_cpu_to_le16
	str	w0, [x25, #20]
	ldr	w1, [x19, #64]
	ldr	x0, [x25, #24]
	bl	_DMA_REGPAIR_LE
	ldr	x0, [x19, #56]
	bl	_cpu_to_le16
Lloh50:
	adrp	x8, _NETIF_MSG_TX_QUEUED@GOTPAGE
Lloh51:
	ldr	x8, [x8, _NETIF_MSG_TX_QUEUED@GOTPAGEOFF]
	str	w0, [x25, #16]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _QED_MSG_LL2@GOTPAGE
Lloh54:
	ldr	x9, [x9, _QED_MSG_LL2@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w24, w9, w8
	ldp	w27, w8, [x22, #16]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x28, [x22, #8]
	ldr	x8, [x19, #56]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w23, [x19, #48]
	ldr	w0, [x25, #28]
	bl	_le32_to_cpu
	mov	x26, x22
	mov	x22, x0
	ldr	w0, [x25, #24]
	bl	_le32_to_cpu
	stp	w22, w0, [sp, #4]
	str	w23, [sp]
Lloh56:
	adrp	x2, l_.str@PAGE
Lloh57:
	add	x2, x2, l_.str@PAGEOFF
	ldp	x6, x0, [sp, #32]               ; 16-byte Folded Reload
	mov	x1, x24
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
	mov	x4, x27
	mov	x5, x28
	ldr	x7, [sp, #24]                   ; 8-byte Folded Reload
	bl	_DP_VERBOSE
	ldrsw	x22, [x26]
	ldr	w8, [x19, #48]
	cmp	w22, w8
	b.hs	LBB0_12
; %bb.10:
	ldr	x8, [x20]
	add	x9, x22, x22, lsl #1
	lsl	x23, x9, #3
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x24, x8, x23
	mov	x0, x21
	bl	_qed_chain_produce
	str	x0, [x24, #16]
	str	wzr, [x0, #20]
	str	xzr, [x0, #8]
	ldr	x8, [x20]
	add	x22, x22, #1
	add	x9, x8, x23
	stp	xzr, xzr, [x9]
	ldrsw	x9, [x19, #48]
	add	x23, x23, #24
	cmp	x22, x9
	b.lo	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_LL2_ROCE,8,3               ; @QED_LL2_ROCE
	.comm	_CORE_ROCE,4,2                  ; @CORE_ROCE
	.comm	_CORE_RROCE,4,2                 ; @CORE_RROCE
	.comm	_CORE_TX_DEST_NW,4,2            ; @CORE_TX_DEST_NW
	.comm	_CORE_TX_DEST_LB,4,2            ; @CORE_TX_DEST_LB
	.comm	_CORE_TX_DEST_DROP,4,2          ; @CORE_TX_DEST_DROP
	.comm	_QED_LL2_TYPE_OOO,8,3           ; @QED_LL2_TYPE_OOO
	.comm	_IWARP_LL2_IN_ORDER_TX_QUEUE,8,3 ; @IWARP_LL2_IN_ORDER_TX_QUEUE
	.comm	_QED_MF_UFP_SPECIFIC,4,2        ; @QED_MF_UFP_SPECIFIC
	.comm	_QED_LL2_TYPE_FCOE,8,3          ; @QED_LL2_TYPE_FCOE
	.comm	_CORE_TX_BD_L4_HDR_OFFSET_W,4,2 ; @CORE_TX_BD_L4_HDR_OFFSET_W
	.comm	_CORE_TX_BD_TX_DST,4,2          ; @CORE_TX_BD_TX_DST
	.comm	_CORE_TX_BD_DATA_START_BD,4,2   ; @CORE_TX_BD_DATA_START_BD
	.comm	_CORE_TX_BD_DATA_NBDS,4,2       ; @CORE_TX_BD_DATA_NBDS
	.comm	_CORE_TX_BD_DATA_ROCE_FLAV,4,2  ; @CORE_TX_BD_DATA_ROCE_FLAV
	.comm	_CORE_TX_BD_DATA_IP_CSUM,4,2    ; @CORE_TX_BD_DATA_IP_CSUM
	.comm	_CORE_TX_BD_DATA_L4_CSUM,4,2    ; @CORE_TX_BD_DATA_L4_CSUM
	.comm	_CORE_TX_BD_DATA_IP_LEN,4,2     ; @CORE_TX_BD_DATA_IP_LEN
	.comm	_CORE_TX_BD_DATA_DISABLE_STAG_INSERTION,4,2 ; @CORE_TX_BD_DATA_DISABLE_STAG_INSERTION
	.comm	_NETIF_MSG_TX_QUEUED,4,2        ; @NETIF_MSG_TX_QUEUED
	.comm	_QED_MSG_LL2,4,2                ; @QED_MSG_LL2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LL2 [q 0x%02x cid 0x%08x type 0x%08x] Tx Producer at [0x%04x] - set with a %04x bytes %02x BDs buffer at %08x:%08x\n"

	.no_dead_strip	_qed_ll2_prepare_tx_packet_set_bd
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.qed_ll2_prepare_tx_packet_set_bd
l_switch.table.qed_ll2_prepare_tx_packet_set_bd:
	.quad	_CORE_TX_DEST_NW
	.quad	_CORE_TX_DEST_LB
	.quad	_CORE_TX_DEST_DROP

.subsections_via_symbols
