	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofld_xmit
_ofld_xmit:                             ## @ofld_xmit
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_calc_tx_descs_ofld
	movl	%eax, %r12d
	leaq	16(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_TX_RECLAIM_CHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_reclaim_completed_tx
	movq	_TXQ_OFLD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_check_desc_avail
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, %r13d
	jne	LBB0_1
## %bb.3:
	movl	%r12d, (%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movq	_NET_XMIT_CN@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movl	(%rbx), %r13d
	movl	8(%rbx), %ecx
	addl	%r12d, 4(%rbx)
	movl	%r12d, %eax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	addl	%ecx, %eax
	movl	%eax, 8(%rbx)
	subl	12(%rbx), %eax
	jb	LBB0_6
## %bb.5:
	movl	%eax, 8(%rbx)
	movl	%r13d, %eax
	xorl	$1, %eax
	movl	%eax, (%rbx)
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	callq	_write_ofld_wr
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_check_ring_tx_db
	movq	_NET_XMIT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_RECLAIM_CHUNK,4,2           ## @TX_RECLAIM_CHUNK
	.comm	_TXQ_OFLD,4,2                   ## @TXQ_OFLD
	.comm	_NET_XMIT_CN,4,2                ## @NET_XMIT_CN
	.comm	_NET_XMIT_SUCCESS,4,2           ## @NET_XMIT_SUCCESS
	.no_dead_strip	_ofld_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofld_xmit
_ofld_xmit:                             ; @ofld_xmit
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_calc_tx_descs_ofld
	mov	x22, x0
	add	x23, x19, #16
	mov	x0, x23
	bl	_spin_lock
Lloh0:
	adrp	x25, _TX_RECLAIM_CHUNK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TX_RECLAIM_CHUNK@GOTPAGEOFF]
Lloh2:
	adrp	x26, _TXQ_OFLD@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TXQ_OFLD@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x19
	bl	_reclaim_completed_tx
	ldr	w4, [x26]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_check_desc_avail
	mov	x24, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w24, #1
	b.ne	LBB0_1
; %bb.3:
	str	w22, [x21]
	mov	x0, x23
	bl	_spin_unlock
Lloh4:
	adrp	x8, _NET_XMIT_CN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NET_XMIT_CN@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldp	w24, w8, [x19]
	add	w9, w8, w22
	ldp	w25, w8, [x19, #8]
	add	w10, w25, w22
	subs	w8, w10, w8
	stp	w9, w10, [x19, #4]
	b.lo	LBB0_6
; %bb.5:
	str	w8, [x19, #8]
	eor	w8, w24, #0x1
	str	w8, [x19]
LBB0_6:
	mov	x0, x23
	bl	_spin_unlock
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x25
	mov	x4, x24
	mov	x5, x22
	bl	_write_ofld_wr
	mov	x0, x20
	mov	x1, x19
	bl	_check_ring_tx_db
Lloh6:
	adrp	x8, _NET_XMIT_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NET_XMIT_SUCCESS@GOTPAGEOFF]
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_RECLAIM_CHUNK,4,2           ; @TX_RECLAIM_CHUNK
	.comm	_TXQ_OFLD,4,2                   ; @TXQ_OFLD
	.comm	_NET_XMIT_CN,4,2                ; @NET_XMIT_CN
	.comm	_NET_XMIT_SUCCESS,4,2           ; @NET_XMIT_SUCCESS
	.no_dead_strip	_ofld_xmit
.subsections_via_symbols
