	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_pf_tx_q_prep
_bnx2x_pf_tx_q_prep:                    ## @bnx2x_pf_tx_q_prep
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	8(%rsi), %rax
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdx)
	movq	_HC_INDEX_ETH_FIRST_TX_CQ_CONS@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%rcx, 8(%rdx)
	movq	_LLFC_TRAFFIC_TYPE_NW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	(%rsi), %eax
	movl	%eax, 20(%rdx)
	movq	_cl_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_bnx2x_fp
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	callq	_IS_FCOE_FP
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_HC_SP_INDEX_ETH_FCOE_TX_CQ_CONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_LLFC_TRAFFIC_TYPE_FCOE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HC_INDEX_ETH_FIRST_TX_CQ_CONS,8,3 ## @HC_INDEX_ETH_FIRST_TX_CQ_CONS
	.comm	_LLFC_TRAFFIC_TYPE_NW,4,2       ## @LLFC_TRAFFIC_TYPE_NW
	.comm	_cl_id,4,2                      ## @cl_id
	.comm	_HC_SP_INDEX_ETH_FCOE_TX_CQ_CONS,8,3 ## @HC_SP_INDEX_ETH_FCOE_TX_CQ_CONS
	.comm	_LLFC_TRAFFIC_TYPE_FCOE,4,2     ## @LLFC_TRAFFIC_TYPE_FCOE
	.no_dead_strip	_bnx2x_pf_tx_q_prep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_pf_tx_q_prep
_bnx2x_pf_tx_q_prep:                    ; @bnx2x_pf_tx_q_prep
	.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, x2
	mov	x20, x1
	ldr	x8, [x1, #8]
	ldr	x8, [x8, x3, lsl #3]
Lloh0:
	adrp	x9, _HC_INDEX_ETH_FIRST_TX_CQ_CONS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HC_INDEX_ETH_FIRST_TX_CQ_CONS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x9, x9, x3
	ldr	w8, [x8]
	str	x9, [x2, #8]
Lloh3:
	adrp	x9, _LLFC_TRAFFIC_TYPE_NW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LLFC_TRAFFIC_TYPE_NW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x2]
	ldr	w9, [x1]
	stp	w9, w8, [x2, #20]
Lloh6:
	adrp	x8, _cl_id@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cl_id@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_bnx2x_fp
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_IS_FCOE_FP
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _HC_SP_INDEX_ETH_FCOE_TX_CQ_CONS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HC_SP_INDEX_ETH_FCOE_TX_CQ_CONS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh12:
	adrp	x8, _LLFC_TRAFFIC_TYPE_FCOE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LLFC_TRAFFIC_TYPE_FCOE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HC_INDEX_ETH_FIRST_TX_CQ_CONS,8,3 ; @HC_INDEX_ETH_FIRST_TX_CQ_CONS
	.comm	_LLFC_TRAFFIC_TYPE_NW,4,2       ; @LLFC_TRAFFIC_TYPE_NW
	.comm	_cl_id,4,2                      ; @cl_id
	.comm	_HC_SP_INDEX_ETH_FCOE_TX_CQ_CONS,8,3 ; @HC_SP_INDEX_ETH_FCOE_TX_CQ_CONS
	.comm	_LLFC_TRAFFIC_TYPE_FCOE,4,2     ; @LLFC_TRAFFIC_TYPE_FCOE
	.no_dead_strip	_bnx2x_pf_tx_q_prep
.subsections_via_symbols
