	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntb_netdev_tx_handler
_ntb_netdev_tx_handler:                 ## @ntb_netdev_tx_handler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	testq	%r14, %r14
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.3:
	incl	12(%rbx)
	movl	(%r14), %eax
	addl	%eax, 8(%rbx)
	jmp	LBB0_5
LBB0_4:
	incl	4(%rbx)
	incl	(%rbx)
LBB0_5:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movl	(%r15), %edi
	callq	_ntb_transport_tx_free_entry
	movq	_tx_start@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%rbx, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_start,8,3                   ## @tx_start
	.no_dead_strip	_ntb_netdev_tx_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ntb_netdev_tx_handler
_ntb_netdev_tx_handler:                 ; @ntb_netdev_tx_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	cbz	x19, LBB0_8
; %bb.1:
	cbz	x20, LBB0_8
; %bb.2:
	mov	x21, x0
	cmp	w22, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x8, x19
	ldr	d0, [x8, #8]!
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x20]
	add.2s	v0, v0, v1
	b	LBB0_5
LBB0_4:
	ldr	d0, [x19]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	mov	x8, x19
LBB0_5:
	str	d0, [x8]
	mov	x0, x20
	bl	_dev_kfree_skb
	ldr	w0, [x21]
	bl	_ntb_transport_tx_free_entry
Lloh0:
	adrp	x8, _tx_start@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tx_start@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_8
; %bb.6:
	bl	_smp_mb
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netif_wake_queue
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_start,8,3                   ; @tx_start
	.no_dead_strip	_ntb_netdev_tx_handler
.subsections_via_symbols
