	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofld_xmit_direct
_ofld_xmit_direct:                      ## @ofld_xmit_direct
	.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	_MAX_IMM_OFLD_TX_DATA_WR_LEN@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jae	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_WARN_ON
	movq	_NET_XMIT_DROP@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_2:
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_spin_trylock
	movq	_NET_XMIT_DROP@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	cmpq	$0, 40(%r14)
	je	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_10:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	cmpq	$0, 32(%r14)
	jne	LBB0_6
## %bb.7:
	movl	%r13d, %edi
	movl	$8, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %edi
	callq	_flits_to_desc
	movl	%eax, %r12d
	leaq	8(%r14), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_txq_avail
	movl	%eax, %ebx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	subl	%r12d, %ebx
	movq	8(%r14), %r12
	shlq	$2, %r12
	addq	16(%r14), %r12
	movq	%r15, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	callq	_inline_tx_header
	movq	_TXQ_STOP_THRES@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ofldtxq_stop
LBB0_9:
	movq	%r15, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_txq_advance
	movl	24(%r14), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_cxgb4_ring_tx_db
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	_NET_XMIT_SUCCESS@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_IMM_OFLD_TX_DATA_WR_LEN,4,2 ## @MAX_IMM_OFLD_TX_DATA_WR_LEN
	.comm	_NET_XMIT_DROP,4,2              ## @NET_XMIT_DROP
	.comm	_TXQ_STOP_THRES,4,2             ## @TXQ_STOP_THRES
	.comm	_NET_XMIT_SUCCESS,4,2           ## @NET_XMIT_SUCCESS
	.no_dead_strip	_ofld_xmit_direct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofld_xmit_direct
_ofld_xmit_direct:                      ; @ofld_xmit_direct
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _MAX_IMM_OFLD_TX_DATA_WR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_IMM_OFLD_TX_DATA_WR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_WARN_ON
	b	LBB0_5
LBB0_2:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_spin_trylock
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock
LBB0_5:
Lloh3:
	adrp	x8, _NET_XMIT_DROP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NET_XMIT_DROP@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	bl	_skb_queue_empty
	cbz	w0, LBB0_4
; %bb.8:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_4
; %bb.9:
	mov	x0, x20
	mov	w1, #8
	bl	_DIV_ROUND_UP
	bl	_flits_to_desc
	mov	x22, x0
	add	x23, x19, #8
	mov	x0, x23
	bl	_txq_avail
	sub	w25, w0, w22
	ldp	x9, x8, [x19, #8]
	add	x24, x8, x9, lsl #2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	bl	_inline_tx_header
Lloh5:
	adrp	x8, _TXQ_STOP_THRES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TXQ_STOP_THRES@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w25, w8
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x24
	bl	_ofldtxq_stop
LBB0_11:
	mov	x0, x23
	mov	x1, x22
	bl	_txq_advance
	ldr	w0, [x19, #24]
	mov	x1, x23
	mov	x2, x22
	bl	_cxgb4_ring_tx_db
	mov	x0, x19
	bl	_spin_unlock
Lloh8:
	adrp	x8, _NET_XMIT_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NET_XMIT_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_IMM_OFLD_TX_DATA_WR_LEN,4,2 ; @MAX_IMM_OFLD_TX_DATA_WR_LEN
	.comm	_NET_XMIT_DROP,4,2              ; @NET_XMIT_DROP
	.comm	_TXQ_STOP_THRES,4,2             ; @TXQ_STOP_THRES
	.comm	_NET_XMIT_SUCCESS,4,2           ; @NET_XMIT_SUCCESS
	.no_dead_strip	_ofld_xmit_direct
.subsections_via_symbols
