	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tx_desc_push
_fm10k_tx_desc_push:                    ## @fm10k_tx_desc_push
	.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
	movl	%r8d, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	incl	%r13d
	movq	_FM10K_TXD_WB_FIFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movq	_FM10K_TXD_FLAG_RS@GOTPCREL(%rip), %rdx
	movq	_FM10K_TXD_FLAG_INT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	xorl	%ebx, %ebx
	testl	%r13d, %eax
	cmovel	%esi, %ebx
	orl	%r9d, %ebx
	movl	%ecx, %edi
	callq	_cpu_to_le64
	movl	%eax, 8(%r15)
	movl	%ebx, (%r15)
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movl	%eax, 4(%r15)
	xorl	%eax, %eax
	cmpl	(%r14), %r13d
	sete	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_TXD_WB_FIFO_SIZE,4,2     ## @FM10K_TXD_WB_FIFO_SIZE
	.comm	_FM10K_TXD_FLAG_RS,4,2          ## @FM10K_TXD_FLAG_RS
	.comm	_FM10K_TXD_FLAG_INT,4,2         ## @FM10K_TXD_FLAG_INT
	.no_dead_strip	_fm10k_tx_desc_push
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_tx_desc_push
_fm10k_tx_desc_push:                    ; @fm10k_tx_desc_push
	.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, x4
	mov	x20, x1
	mov	x21, x0
	add	w22, w2, #1
Lloh0:
	adrp	x8, _FM10K_TXD_WB_FIFO_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_TXD_WB_FIFO_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
Lloh3:
	adrp	x9, _FM10K_TXD_FLAG_RS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FM10K_TXD_FLAG_RS@GOTPAGEOFF]
Lloh5:
	adrp	x10, _FM10K_TXD_FLAG_INT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FM10K_TXD_FLAG_INT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w8, w22
	csel	w8, w9, wzr, eq
	orr	w23, w8, w5
	mov	x0, x3
	bl	_cpu_to_le64
	str	w0, [x20, #8]
	str	w23, [x20]
	mov	x0, x19
	bl	_cpu_to_le16
	str	w0, [x20, #4]
	ldr	w8, [x21]
	cmp	w22, w8
	cset	w0, eq
	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	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_TXD_WB_FIFO_SIZE,4,2     ; @FM10K_TXD_WB_FIFO_SIZE
	.comm	_FM10K_TXD_FLAG_RS,4,2          ; @FM10K_TXD_FLAG_RS
	.comm	_FM10K_TXD_FLAG_INT,4,2         ; @FM10K_TXD_FLAG_INT
	.no_dead_strip	_fm10k_tx_desc_push
.subsections_via_symbols
