	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rsi
	callq	_IGB_TX_CTXTDESC
	incq	%rbx
	xorl	%ecx, %ecx
	cmpq	8(%r14), %rbx
	cmovlq	%rbx, %rcx
	movq	%rcx, (%r14)
	movq	_E1000_TXD_CMD_DEXT@GOTPCREL(%rip), %rcx
	movq	_E1000_ADVTXD_DTYP_CTXT@GOTPCREL(%rip), %rdx
	orl	(%rcx), %r13d
	orl	(%rdx), %r13d
	movq	%rax, %r15
	movq	_IGB_RING_FLAG_TX_CTX_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%r14), %eax
	shll	$4, %eax
	orl	%eax, %r12d
LBB0_2:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 24(%r15)
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r15)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r15)
	cmpq	$0, 24(%r14)
	je	LBB0_3
## %bb.4:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_ktime_to_timespec64
	movl	%eax, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ktime_set
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	leal	31(%rbx), %edi
	testl	%ebx, %ebx
	cmovnsl	%ebx, %edi
	sarl	$5, %edi
	callq	_cpu_to_le32
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	%rax, (%r15)
	addq	$24, %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	x22, x4
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x25, [x0]
	mov	x1, x25
	bl	_IGB_TX_CTXTDESC
	mov	x19, x0
	add	x8, x25, #1
	ldr	x9, [x21, #8]
	cmp	x8, x9
	csinc	x8, xzr, x25, ge
	str	x8, [x21]
Lloh0:
	adrp	x8, _E1000_TXD_CMD_DEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_TXD_CMD_DEXT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _E1000_ADVTXD_DTYP_CTXT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _E1000_ADVTXD_DTYP_CTXT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w24
	orr	w24, w8, w9
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, x21, #32
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x21, #16]
	orr	w22, w22, w8, lsl #4
LBB0_2:
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x19, #24]
	mov	x0, x24
	bl	_cpu_to_le32
	str	x0, [x19, #16]
	mov	x0, x22
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_ktime_to_timespec64
	mov	x21, x0
	mov	w0, #0
	mov	w1, #0
	bl	_ktime_set
	ldr	x8, [x20]
	str	w0, [x8]
	add	w8, w21, #31
	cmp	w21, #0
	csel	w8, w8, w21, lt
	asr	w0, w8, #5
	bl	_cpu_to_le32
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	str	x0, [x19]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
