	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_tx_ctxtdesc
_igb_tx_ctxtdesc:                       ## @igb_tx_ctxtdesc
	.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	%ecx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	%rbx, %rsi
	callq	_IGB_TX_CTXTDESC
	movq	%rax, %r13
	incq	%rbx
	xorl	%eax, %eax
	cmpq	8(%r15), %rbx
	cmovlq	%rbx, %rax
	movq	%rax, (%r15)
	movq	_E1000_TXD_CMD_DEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_E1000_ADVTXD_DTYP_CTXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IGB_RING_FLAG_TX_CTX_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%r15), %eax
	shll	$4, %eax
	orl	%eax, %r14d
LBB0_2:
	orl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	%r12d, %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 24(%r13)
	movq	$0, 16(%r13)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r13)
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_TXD_CMD_DEXT,4,2         ## @E1000_TXD_CMD_DEXT
	.comm	_E1000_ADVTXD_DTYP_CTXT,4,2     ## @E1000_ADVTXD_DTYP_CTXT
	.comm	_IGB_RING_FLAG_TX_CTX_IDX,4,2   ## @IGB_RING_FLAG_TX_CTX_IDX
	.no_dead_strip	_igb_tx_ctxtdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_tx_ctxtdesc
_igb_tx_ctxtdesc:                       ; @igb_tx_ctxtdesc
	.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	x22, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x24, [x0]
	mov	x1, x24
	bl	_IGB_TX_CTXTDESC
	mov	x20, x0
	add	x8, x24, #1
	ldr	x9, [x23, #8]
	cmp	x8, x9
	csinc	x8, xzr, x24, ge
	str	x8, [x23]
Lloh0:
	adrp	x8, _E1000_TXD_CMD_DEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_TXD_CMD_DEXT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _E1000_ADVTXD_DTYP_CTXT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _E1000_ADVTXD_DTYP_CTXT@GOTPAGEOFF]
Lloh4:
	ldr	w25, [x8]
Lloh5:
	ldr	w24, [x9]
Lloh6:
	adrp	x8, _IGB_RING_FLAG_TX_CTX_IDX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IGB_RING_FLAG_TX_CTX_IDX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x23, #20
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x23, #16]
	orr	w19, w19, w8, lsl #4
LBB0_2:
	orr	w8, w25, w22
	orr	w22, w8, w24
	mov	x0, x21
	bl	_cpu_to_le32
	stp	xzr, x0, [x20, #16]
	mov	x0, x22
	bl	_cpu_to_le32
	str	x0, [x20, #8]
	mov	x0, x19
	bl	_cpu_to_le32
	str	x0, [x20]
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_TXD_CMD_DEXT,4,2         ; @E1000_TXD_CMD_DEXT
	.comm	_E1000_ADVTXD_DTYP_CTXT,4,2     ; @E1000_ADVTXD_DTYP_CTXT
	.comm	_IGB_RING_FLAG_TX_CTX_IDX,4,2   ; @IGB_RING_FLAG_TX_CTX_IDX
	.no_dead_strip	_igb_tx_ctxtdesc
.subsections_via_symbols
