	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_tx_int                   ## -- Begin function bnx2x_tx_int
	.p2align	4, 0x90
_bnx2x_tx_int:                          ## @bnx2x_tx_int
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	(%rsi), %rbx
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %edi
	movl	16(%rsi), %esi
	callq	_netdev_get_tx_queue
	movq	%rax, %r15
	movq	24(%r12), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movq	%rax, %r13
	movq	8(%r12), %r14
	xorl	%eax, %eax
	callq	_smp_rmb
	xorl	%edx, %edx
	movl	$0, %esi
	cmpq	%r13, %r14
	je	LBB0_4
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_TX_BD
	movq	%rax, %rbx
	movq	_NETIF_MSG_TX_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rcx
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_DP
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_bnx2x_free_tx_pkt
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_4:
	movq	%r15, %rdi
	callq	_netdev_tx_completed_queue
	movq	%r13, 8(%r12)
	movq	%rbx, (%r12)
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r15, %rdi
	callq	_netif_tx_queue_stopped
	movq	%rax, %rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	___netif_tx_lock
	movq	%r15, %rdi
	callq	_netif_tx_queue_stopped
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_9
## %bb.6:
	movq	(%rdi), %rax
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	%r12, %rsi
	callq	_bnx2x_tx_avail
	movq	_MAX_DESC_PER_TX_PKT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_netif_tx_wake_queue
LBB0_9:
	movq	%r15, %rdi
	callq	___netif_tx_unlock
LBB0_10:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_TX_DONE,4,2          ## @NETIF_MSG_TX_DONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue[%d]: hw_cons %u  sw_cons %u  pkt_cons %u\n"

	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
	.comm	_MAX_DESC_PER_TX_PKT,8,3        ## @MAX_DESC_PER_TX_PKT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_tx_int                   ; -- Begin function bnx2x_tx_int
	.p2align	2
_bnx2x_tx_int:                          ; @bnx2x_tx_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x21, x0
	ldr	x23, [x1]
	str	xzr, [sp, #8]
	ldr	w0, [x0, #8]
	ldr	w1, [x1, #16]
	bl	_netdev_get_tx_queue
	mov	x19, x0
	ldr	x8, [x20, #24]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	x24, [x20, #8]
	bl	_smp_rmb
	cmp	x24, x22
	b.ne	LBB0_2
; %bb.1:
	mov	w2, #0
	mov	w1, #0
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x26, _NETIF_MSG_TX_DONE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NETIF_MSG_TX_DONE@GOTPAGEOFF]
Lloh2:
	adrp	x25, l_.str@PAGE
Lloh3:
	add	x25, x25, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_TX_BD
	mov	x23, x0
	ldr	w0, [x26]
	ldr	w2, [x20, #16]
	mov	x1, x25
	mov	x3, x22
	mov	x4, x24
	mov	x5, x23
	bl	_DP
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_bnx2x_free_tx_pkt
	add	x24, x24, #1
	cmp	x22, x24
	b.ne	LBB0_3
; %bb.4:
	mov	x23, x0
	ldp	w2, w1, [sp, #8]
LBB0_5:
	mov	x0, x19
	bl	_netdev_tx_completed_queue
	stp	x23, x22, [x20]
	bl	_smp_mb
	mov	x0, x19
	bl	_netif_tx_queue_stopped
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.6:
	bl	_smp_processor_id
	mov	x1, x0
	mov	x0, x19
	bl	___netif_tx_lock
	mov	x0, x19
	bl	_netif_tx_queue_stopped
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _BNX2X_STATE_OPEN@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BNX2X_STATE_OPEN@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	bl	_bnx2x_tx_avail
Lloh7:
	adrp	x8, _MAX_DESC_PER_TX_PKT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_DESC_PER_TX_PKT@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_netif_tx_wake_queue
LBB0_10:
	mov	x0, x19
	bl	___netif_tx_unlock
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_TX_DONE,4,2          ; @NETIF_MSG_TX_DONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue[%d]: hw_cons %u  sw_cons %u  pkt_cons %u\n"

	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
	.comm	_MAX_DESC_PER_TX_PKT,8,3        ; @MAX_DESC_PER_TX_PKT
.subsections_via_symbols
