	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_setup_tx_only
_bnx2x_setup_tx_only:                   ## @bnx2x_setup_tx_only
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_BNX2X_Q_CMD_SETUP_TX_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_bnx2x_get_common_flags
	movl	%eax, 4(%rbx)
	movl	%r12d, (%rbx)
	leaq	8(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %ecx
	callq	_bnx2x_pf_q_prep_general
	leaq	12(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %ecx
	callq	_bnx2x_pf_tx_q_prep
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movq	8(%rax), %rsi
	movq	_FIRST_TX_COS_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %ecx
	movslq	%r12d, %rdx
	movl	(%rsi,%rdx,4), %r8d
	movl	(%rax), %r9d
	movl	4(%rbx), %eax
	movl	8(%rbx), %ebx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	pushq	%rax
	pushq	%rbx
	callq	_DP
	addq	$16, %rsp
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_queue_state_change       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_Q_CMD_SETUP_TX_ONLY,4,2  ## @BNX2X_Q_CMD_SETUP_TX_ONLY
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"preparing to send tx-only ramrod for connection: cos %d, primary cid %d, cid %d, client id %d, sp-client id %d, flags %lx\n"

	.comm	_FIRST_TX_COS_INDEX,8,3         ## @FIRST_TX_COS_INDEX
	.no_dead_strip	_bnx2x_setup_tx_only
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_setup_tx_only
_bnx2x_setup_tx_only:                   ; @bnx2x_setup_tx_only
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	mov	x0, x3
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _BNX2X_Q_CMD_SETUP_TX_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_Q_CMD_SETUP_TX_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	bl	_bnx2x_get_common_flags
	stp	w21, w0, [x22]
	add	x2, x22, #8
	mov	x0, x20
	mov	x1, x23
	mov	x3, x21
	bl	_bnx2x_pf_q_prep_general
	add	x2, x22, #12
	mov	x0, x20
	mov	x1, x23
	mov	x3, x21
	bl	_bnx2x_pf_tx_q_prep
Lloh3:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
	ldr	x9, [x19]
	ldr	x10, [x9, #8]
Lloh5:
	adrp	x11, _FIRST_TX_COS_INDEX@GOTPAGE
Lloh6:
	ldr	x11, [x11, _FIRST_TX_COS_INDEX@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	ldr	w3, [x10, x11, lsl #2]
Lloh8:
	ldr	w0, [x8]
	ldr	w4, [x10, w21, sxtw #2]
	ldr	w5, [x9]
	ldp	w7, w6, [x22, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_queue_state_change
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_Q_CMD_SETUP_TX_ONLY,4,2  ; @BNX2X_Q_CMD_SETUP_TX_ONLY
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"preparing to send tx-only ramrod for connection: cos %d, primary cid %d, cid %d, client id %d, sp-client id %d, flags %lx\n"

	.comm	_FIRST_TX_COS_INDEX,8,3         ; @FIRST_TX_COS_INDEX
	.no_dead_strip	_bnx2x_setup_tx_only
.subsections_via_symbols
