	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_fifo_txdl_next_completed ## -- Begin function vxge_hw_fifo_txdl_next_completed
	.p2align	4, 0x90
_vxge_hw_fifo_txdl_next_completed:      ## @vxge_hw_fifo_txdl_next_completed
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_vxge_hw_channel_dtr_try_complete
	movq	(%rbx), %r13
	movq	_VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS@GOTPCREL(%rip), %rax
	testq	%r13, %r13
	je	LBB0_5
## %bb.1:
	movq	_VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r13)
	je	LBB0_2
## %bb.4:
	movq	$0, (%rbx)
	jmp	LBB0_5
LBB0_2:
	xorl	%edi, %edi
	cmpq	$0, 8(%r13)
	setne	%dil
	callq	_vxge_assert
	movq	%r12, %rdi
	callq	_vxge_hw_channel_dtr_complete
	movl	(%r13), %edi
	callq	_VXGE_HW_FIFO_TXD_T_CODE_GET
	movl	%eax, (%r14)
	movq	(%r15), %rcx
	movq	(%rcx), %rdx
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	testq	%rdx, %rdx
	jle	LBB0_5
## %bb.3:
	decq	%rdx
	movq	%rdx, (%rcx)
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
	.comm	_VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS,4,2 ## @VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS
	.comm	_VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER,4,2 ## @VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_fifo_txdl_next_completed ; -- Begin function vxge_hw_fifo_txdl_next_completed
	.p2align	2
_vxge_hw_fifo_txdl_next_completed:      ; @vxge_hw_fifo_txdl_next_completed
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
	add	x21, x0, #8
	mov	x0, x21
	bl	_vxge_hw_channel_dtr_try_complete
	ldr	x23, [x22]
	cbz	x23, LBB0_3
; %bb.1:
	ldr	w8, [x23]
Lloh0:
	adrp	x9, _VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	str	xzr, [x22]
LBB0_3:
Lloh3:
	adrp	x8, _VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_vxge_assert
	mov	x0, x21
	bl	_vxge_hw_channel_dtr_complete
	ldr	w0, [x23]
	bl	_VXGE_HW_FIFO_TXD_T_CODE_GET
	str	w0, [x19]
	ldr	x8, [x20]
	ldr	x9, [x8]
	subs	x9, x9, #1
	b.lt	LBB0_6
; %bb.5:
	str	x9, [x8]
LBB0_6:
Lloh5:
	adrp	x8, _VXGE_HW_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VXGE_HW_OK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
	.comm	_VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS,4,2 ; @VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS
	.comm	_VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER,4,2 ; @VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER
.subsections_via_symbols
