	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_fifo_txdl_buffer_set   ## -- Begin function vxge_hw_fifo_txdl_buffer_set
	.p2align	4, 0x90
_vxge_hw_fifo_txdl_buffer_set:          ## @vxge_hw_fifo_txdl_buffer_set
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	___vxge_hw_fifo_txdl_priv
	movq	%rax, %r13
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %r12
	leaq	(%rbx,%r12,8), %rax
	testq	%r14, %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	$0, 16(%rbx,%r12,8)
	movl	$0, (%rax)
	jmp	LBB0_4
LBB0_2:
	movq	_VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VXGE_HW_FIFO_TXD_GATHER_CODE
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movl	12(%r15), %eax
	orl	%eax, 16(%rbx,%r12,8)
	movl	8(%r15), %edi
	callq	_VXGE_HW_FIFO_TXD_INT_NUMBER
	orl	%eax, 16(%rbx,%r12,8)
	movslq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	(%rax,%rax,2), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_VXGE_HW_FIFO_TXD_GATHER_CODE_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VXGE_HW_FIFO_TXD_GATHER_CODE
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, -24(%rbx,%rcx,8)
LBB0_4:
	xorl	%edi, %edi
	cmpq	%r14, 8(%r13)
	setg	%dil
	callq	_vxge_assert
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx,%r12,8)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_VXGE_HW_FIFO_TXD_BUFFER_SIZE
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movq	(%r15), %rax
	incl	(%rax)
	incl	(%r13)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST,4,2 ## @VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST
	.comm	_VXGE_HW_FIFO_TXD_GATHER_CODE_LAST,4,2 ## @VXGE_HW_FIFO_TXD_GATHER_CODE_LAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_fifo_txdl_buffer_set   ; -- Begin function vxge_hw_fifo_txdl_buffer_set
	.p2align	2
_vxge_hw_fifo_txdl_buffer_set:          ; @vxge_hw_fifo_txdl_buffer_set
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x20, x0
	bl	___vxge_hw_fifo_txdl_priv
	mov	x19, x0
	ldrsw	x26, [x0]
	mov	w8, #24
	madd	x25, x26, x8, x23
	cbz	x24, LBB0_2
; %bb.1:
	mov	w8, #24
	madd	x8, x26, x8, x23
	str	wzr, [x8, #16]
	str	wzr, [x25]
	b	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_VXGE_HW_FIFO_TXD_GATHER_CODE
	ldr	w8, [x25]
	orr	w8, w8, w0
	str	w8, [x25]
	mov	w27, #24
	madd	x28, x26, x27, x23
	ldr	w8, [x28, #16]
	ldp	w0, w9, [x20, #8]
	orr	w8, w8, w9
	str	w8, [x28, #16]
	bl	_VXGE_HW_FIFO_TXD_INT_NUMBER
	ldr	w8, [x28, #16]
	orr	w8, w8, w0
	str	w8, [x28, #16]
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.3:
	sub	w28, w8, #1
Lloh3:
	adrp	x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_LAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_VXGE_HW_FIFO_TXD_GATHER_CODE
	smull	x8, w28, w27
	ldr	w9, [x23, x8]
	orr	w9, w9, w0
	str	w9, [x23, x8]
LBB0_4:
	ldr	x8, [x19, #8]
	cmp	x8, x24
	cset	w0, gt
	bl	_vxge_assert
	mov	w8, #24
	madd	x8, x26, x8, x23
	str	x22, [x8, #8]
	mov	x0, x21
	bl	_VXGE_HW_FIFO_TXD_BUFFER_SIZE
	ldr	w8, [x25]
	orr	w8, w8, w0
	str	w8, [x25]
	ldr	x8, [x20]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST,4,2 ; @VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST
	.comm	_VXGE_HW_FIFO_TXD_GATHER_CODE_LAST,4,2 ; @VXGE_HW_FIFO_TXD_GATHER_CODE_LAST
.subsections_via_symbols
