	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_tx_desc_fetch_prio
_set_tx_desc_fetch_prio:                ## @set_tx_desc_fetch_prio
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	(%rdi), %rax
	movq	_e1000_i210@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	xorl	%edi, %edi
	cmpl	$5, %r15d
	setae	%dil
	callq	_WARN_ON
	movl	%r15d, %edi
	callq	_E1000_I210_TXDCTL
	movl	%eax, %edi
	callq	_rd32
	movq	_TX_QUEUE_PRIO_HIGH@GOTPCREL(%rip), %rcx
	movq	_E1000_TXDCTL_PRIORITY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movl	%ebx, %edx
	orl	%eax, %edx
	notl	%ebx
	andl	%eax, %ebx
	cmpl	%r14d, (%rcx)
	cmovel	%edx, %ebx
	movl	%r15d, %edi
	callq	_E1000_I210_TXDCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_i210,8,3                 ## @e1000_i210
	.comm	_TX_QUEUE_PRIO_HIGH,4,2         ## @TX_QUEUE_PRIO_HIGH
	.comm	_E1000_TXDCTL_PRIORITY,4,2      ## @E1000_TXDCTL_PRIORITY
	.no_dead_strip	_set_tx_desc_fetch_prio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_tx_desc_fetch_prio
_set_tx_desc_fetch_prio:                ; @set_tx_desc_fetch_prio
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _e1000_i210@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_i210@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	cmp	w20, #4
	cset	w0, hi
	bl	_WARN_ON
	mov	x0, x20
	bl	_E1000_I210_TXDCTL
	bl	_rd32
Lloh3:
	adrp	x8, _TX_QUEUE_PRIO_HIGH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TX_QUEUE_PRIO_HIGH@GOTPAGEOFF]
Lloh5:
	adrp	x9, _E1000_TXDCTL_PRIORITY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _E1000_TXDCTL_PRIORITY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w10, w9, w0
	bic	w9, w0, w9
	cmp	w8, w19
	csel	w19, w10, w9, eq
	mov	x0, x20
	bl	_E1000_I210_TXDCTL
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wr32
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_i210,8,3                 ; @e1000_i210
	.comm	_TX_QUEUE_PRIO_HIGH,4,2         ; @TX_QUEUE_PRIO_HIGH
	.comm	_E1000_TXDCTL_PRIORITY,4,2      ; @E1000_TXDCTL_PRIORITY
	.no_dead_strip	_set_tx_desc_fetch_prio
.subsections_via_symbols
