	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_xmit_bd                   ## -- Begin function bnxt_xmit_bd
	.p2align	4, 0x90
_bnxt_xmit_bd:                          ## @bnxt_xmit_bd
	.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
	movl	%ecx, %ebx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	(%rsi), %r13
	movq	8(%rsi), %r14
	leaq	(,%r13,4), %rax
	addq	16(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_TX_RING
	movq	(%r14,%rax,8), %r14
	movq	%r13, %rdi
	callq	_TX_IDX
	movq	%rax, %r12
	movq	_TX_BD_LEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, %edi
	shll	%cl, %edi
	movq	_TX_BD_FLAGS_BD_CNT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_TX_BD_FLAGS_PACKET_END@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_bnxt_lhint_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	sarl	$9, %ebx
	movslq	%ebx, %rcx
	orl	(%rax,%rcx,4), %edi
	callq	_cpu_to_le32
	shlq	$4, %r12
	movl	%eax, 12(%r14,%r12)
	movq	%r13, (%r14,%r12)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le64
	movl	%eax, 8(%r14,%r12)
	movq	%r13, %rdi
	callq	_NEXT_TX
	movq	%rax, (%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_BD_LEN_SHIFT,4,2            ## @TX_BD_LEN_SHIFT
	.comm	_TX_BD_FLAGS_BD_CNT_SHIFT,4,2   ## @TX_BD_FLAGS_BD_CNT_SHIFT
	.comm	_TX_BD_FLAGS_PACKET_END,4,2     ## @TX_BD_FLAGS_PACKET_END
	.comm	_bnxt_lhint_arr,8,3             ## @bnxt_lhint_arr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_xmit_bd                   ; -- Begin function bnxt_xmit_bd
	.p2align	2
_bnxt_xmit_bd:                          ; @bnxt_xmit_bd
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldp	x24, x8, [x1, #8]
	ldr	x22, [x1]
	add	x23, x8, x22, lsl #2
	mov	x0, x22
	bl	_TX_RING
	ldr	x25, [x24, x0, lsl #3]
	mov	x0, x22
	bl	_TX_IDX
	mov	x24, x0
Lloh0:
	adrp	x8, _TX_BD_LEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_BD_LEN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w19, w8
Lloh3:
	adrp	x9, _TX_BD_FLAGS_BD_CNT_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TX_BD_FLAGS_BD_CNT_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _TX_BD_FLAGS_PACKET_END@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TX_BD_FLAGS_PACKET_END@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _bnxt_lhint_arr@GOTPAGE
Lloh10:
	ldr	x10, [x10, _bnxt_lhint_arr@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	x9, [x10]
	asr	w10, w19, #9
	ldr	w9, [x9, w10, sxtw #2]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	add	x19, x25, x24, lsl #4
	str	w0, [x19, #12]
	str	x22, [x19]
	mov	x0, x20
	bl	_cpu_to_le64
	str	w0, [x19, #8]
	mov	x0, x22
	bl	_NEXT_TX
	str	x0, [x21]
	mov	x0, x23
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_BD_LEN_SHIFT,4,2            ; @TX_BD_LEN_SHIFT
	.comm	_TX_BD_FLAGS_BD_CNT_SHIFT,4,2   ; @TX_BD_FLAGS_BD_CNT_SHIFT
	.comm	_TX_BD_FLAGS_PACKET_END,4,2     ; @TX_BD_FLAGS_PACKET_END
	.comm	_bnxt_lhint_arr,8,3             ; @bnxt_lhint_arr
.subsections_via_symbols
